K1/K2: support org.jspecify.annotations.NonNull in Java interop
#KT-62352 Fixed
This commit is contained in:
committed by
Space Team
parent
dcbc1e6a04
commit
1eacd5efc2
+12
@@ -684,6 +684,12 @@ public class ForeignAnnotationsCompiledJavaTestGenerated extends AbstractForeign
|
||||
runTest("compiler/testData/diagnostics/foreignAnnotationsTests/java8Tests/jspecify/strictMode/Defaults.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("DerivedAsNullableOrNotNull.kt")
|
||||
public void testDerivedAsNullableOrNotNull() throws Exception {
|
||||
runTest("compiler/testData/diagnostics/foreignAnnotationsTests/java8Tests/jspecify/strictMode/DerivedAsNullableOrNotNull.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("IgnoreAnnotations.kt")
|
||||
public void testIgnoreAnnotations() throws Exception {
|
||||
@@ -796,6 +802,12 @@ public class ForeignAnnotationsCompiledJavaTestGenerated extends AbstractForeign
|
||||
runTest("compiler/testData/diagnostics/foreignAnnotationsTests/java8Tests/jspecify/warnMode/Defaults.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("DerivedAsNullableOrNotNull.kt")
|
||||
public void testDerivedAsNullableOrNotNull() throws Exception {
|
||||
runTest("compiler/testData/diagnostics/foreignAnnotationsTests/java8Tests/jspecify/warnMode/DerivedAsNullableOrNotNull.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("IgnoreAnnotations.kt")
|
||||
public void testIgnoreAnnotations() throws Exception {
|
||||
|
||||
+12
@@ -742,6 +742,12 @@ public class ForeignAnnotationsCompiledJavaWithPsiClassReadingTestGenerated exte
|
||||
runTest("compiler/testData/diagnostics/foreignAnnotationsTests/java8Tests/jspecify/strictMode/Defaults.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("DerivedAsNullableOrNotNull.kt")
|
||||
public void testDerivedAsNullableOrNotNull() throws Exception {
|
||||
runTest("compiler/testData/diagnostics/foreignAnnotationsTests/java8Tests/jspecify/strictMode/DerivedAsNullableOrNotNull.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("IgnoreAnnotations.kt")
|
||||
public void testIgnoreAnnotations() throws Exception {
|
||||
@@ -854,6 +860,12 @@ public class ForeignAnnotationsCompiledJavaWithPsiClassReadingTestGenerated exte
|
||||
runTest("compiler/testData/diagnostics/foreignAnnotationsTests/java8Tests/jspecify/warnMode/Defaults.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("DerivedAsNullableOrNotNull.kt")
|
||||
public void testDerivedAsNullableOrNotNull() throws Exception {
|
||||
runTest("compiler/testData/diagnostics/foreignAnnotationsTests/java8Tests/jspecify/warnMode/DerivedAsNullableOrNotNull.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("IgnoreAnnotations.kt")
|
||||
public void testIgnoreAnnotations() throws Exception {
|
||||
|
||||
+12
@@ -742,6 +742,12 @@ public class ForeignAnnotationsSourceJavaTestGenerated extends AbstractForeignAn
|
||||
runTest("compiler/testData/diagnostics/foreignAnnotationsTests/java8Tests/jspecify/strictMode/Defaults.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("DerivedAsNullableOrNotNull.kt")
|
||||
public void testDerivedAsNullableOrNotNull() throws Exception {
|
||||
runTest("compiler/testData/diagnostics/foreignAnnotationsTests/java8Tests/jspecify/strictMode/DerivedAsNullableOrNotNull.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("IgnoreAnnotations.kt")
|
||||
public void testIgnoreAnnotations() throws Exception {
|
||||
@@ -854,6 +860,12 @@ public class ForeignAnnotationsSourceJavaTestGenerated extends AbstractForeignAn
|
||||
runTest("compiler/testData/diagnostics/foreignAnnotationsTests/java8Tests/jspecify/warnMode/Defaults.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("DerivedAsNullableOrNotNull.kt")
|
||||
public void testDerivedAsNullableOrNotNull() throws Exception {
|
||||
runTest("compiler/testData/diagnostics/foreignAnnotationsTests/java8Tests/jspecify/warnMode/DerivedAsNullableOrNotNull.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("IgnoreAnnotations.kt")
|
||||
public void testIgnoreAnnotations() throws Exception {
|
||||
|
||||
Reference in New Issue
Block a user