mirror of
https://github.com/github/codeql.git
synced 2025-12-21 19:26:31 +01:00
This usually can't happen, but delegates pointing at Java appear to be synthesised with this normally-hidden annotation
11 lines
300 B
Java
11 lines
300 B
Java
import org.jetbrains.annotations.*;
|
|
import zpkg.A;
|
|
|
|
public class AnnotatedMethods implements AnnotatedInterface {
|
|
|
|
public @A @NotNull String notNullAnnotated(@A @NotNull String param) { return param; }
|
|
|
|
public @A @Nullable String nullableAnnotated(@A @Nullable String param) { return param; }
|
|
|
|
}
|