Files
kotlin-fork/analysis/low-level-api-fir/testData/getOrBuildFir/wholeDeclaration/notNullJavaAnnotation.kt
T
Dmitrii Gridin 2cac922cd0 [FIR] add tests on external annotations
Tests are excluded in COMPILED_JAVA mode because in this
mode external annotations are not present at all

^KT-62310
2023-10-13 12:16:12 +00:00

16 lines
348 B
Kotlin
Vendored

// SKIP_WHEN_OUT_OF_CONTENT_ROOT
// FILE: usage.kt
<expr>
fun test() = ClassWithExternalAnnotatedMembers().notNullMethod()
</expr>
// FILE: ClassWithExternalAnnotatedMembers.java
import org.jetbrains.annotations.NotNull;
public class ClassWithExternalAnnotatedMembers {
@NotNull
public String notNullMethod() {
return "";
}
}