Files
codeql/java/ql/integration-tests/posix-only/kotlin/enhanced-nullability/NotNull.java
Chris Smowton 7889d9cffa Kotlin: ignore enhanced nullability when extracting primitive types
Otherwise we'll mistake `@NotNull Integer` for `int` and similar, causing a mismatch vs. Java signatures.
2022-10-21 10:55:26 +01:00

7 lines
240 B
Java

package org.jetbrains.annotations;
import java.lang.annotation.*;
// Stub of @NotNull:
@Target({ElementType.METHOD, ElementType.FIELD, ElementType.PARAMETER, ElementType.LOCAL_VARIABLE, ElementType.TYPE_USE})
public @interface NotNull { }