Light classes: getOwnInnerClasses() filters out inner classes with null names
#KT-13927 Fixed
This commit is contained in:
@@ -0,0 +1,6 @@
|
||||
public class InnerClassWithoutName {
|
||||
public void uses() {
|
||||
Test5 test5 = new Test5();
|
||||
Test5.In1 in1 = test5.new In1();
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,4 @@
|
||||
class Test5 {
|
||||
inner class In1 {}
|
||||
inner class
|
||||
}
|
||||
+6
@@ -148,6 +148,12 @@ public class JavaAgainstKotlinSourceCheckerTestGenerated extends AbstractJavaAga
|
||||
KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("idea/testData/kotlinAndJavaChecker/javaWithKotlin"), Pattern.compile("^(.+)\\.kt$"), true);
|
||||
}
|
||||
|
||||
@TestMetadata("InnerClassWithoutName.kt")
|
||||
public void testInnerClassWithoutName() throws Exception {
|
||||
String fileName = KotlinTestUtils.navigationMetadata("idea/testData/kotlinAndJavaChecker/javaWithKotlin/InnerClassWithoutName.kt");
|
||||
doTest(fileName);
|
||||
}
|
||||
|
||||
@TestMetadata("NoNotNullOnParameterInOverride.kt")
|
||||
public void testNoNotNullOnParameterInOverride() throws Exception {
|
||||
String fileName = KotlinTestUtils.navigationMetadata("idea/testData/kotlinAndJavaChecker/javaWithKotlin/NoNotNullOnParameterInOverride.kt");
|
||||
|
||||
Reference in New Issue
Block a user