FIR: dump nested classes in loadJava tests
Because those test are single Java files, many of them use a top-level class as a container for multiple classes to be tested. Such tests do almost nothing if those nested classes aren't handled.
This commit is contained in:
+10
@@ -1,2 +1,12 @@
|
||||
public abstract interface ChangeProjectionKind1 : R|kotlin/Any| {
|
||||
public abstract interface Sub : R|test/ChangeProjectionKind1.Super| {
|
||||
public abstract fun foo(p: R|ft<kotlin/collections/MutableList<ft<kotlin/String, kotlin/String?>>, kotlin/collections/List<ft<kotlin/String, kotlin/String?>>?>|): R|kotlin/Unit|
|
||||
|
||||
}
|
||||
public abstract interface Super : R|kotlin/Any| {
|
||||
public abstract fun foo(p: R|ft<kotlin/collections/MutableList<ft<kotlin/String, kotlin/String?>>, kotlin/collections/List<ft<kotlin/String, kotlin/String?>>?>|): R|kotlin/Unit|
|
||||
|
||||
public abstract fun dummy(): R|kotlin/Unit|
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
+14
@@ -1,2 +1,16 @@
|
||||
public abstract interface DeeplySubstitutedClassParameter : R|kotlin/Any| {
|
||||
public abstract interface Middle<E : R|ft<kotlin/Any, kotlin/Any?>|> : R|test/DeeplySubstitutedClassParameter.Super<ft<E, E?>>| {
|
||||
public abstract fun foo(p: R|ft<E, E?>|): R|kotlin/Unit|
|
||||
|
||||
}
|
||||
public abstract interface Sub : R|test/DeeplySubstitutedClassParameter.Middle<ft<kotlin/String, kotlin/String?>>| {
|
||||
public abstract fun foo(p: R|ft<kotlin/String, kotlin/String?>|): R|kotlin/Unit|
|
||||
|
||||
}
|
||||
public abstract interface Super<T : R|ft<kotlin/Any, kotlin/Any?>|> : R|kotlin/Any| {
|
||||
public abstract fun foo(p: R|ft<T, T?>|): R|kotlin/Unit|
|
||||
|
||||
public abstract fun dummy(): R|kotlin/Unit|
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
+12
@@ -1,2 +1,14 @@
|
||||
public abstract interface DeeplySubstitutedClassParameter2 : R|kotlin/Any| {
|
||||
public abstract interface Middle<E : R|ft<kotlin/Any, kotlin/Any?>|> : R|test/DeeplySubstitutedClassParameter2.Super<ft<E, E?>>| {
|
||||
}
|
||||
public abstract interface Sub : R|test/DeeplySubstitutedClassParameter2.Middle<ft<kotlin/String, kotlin/String?>>| {
|
||||
public abstract fun foo(p: R|ft<kotlin/String, kotlin/String?>|): R|kotlin/Unit|
|
||||
|
||||
}
|
||||
public abstract interface Super<T : R|ft<kotlin/Any, kotlin/Any?>|> : R|kotlin/Any| {
|
||||
public abstract fun foo(p: R|ft<T, T?>|): R|kotlin/Unit|
|
||||
|
||||
public abstract fun dummy(): R|kotlin/Unit|
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
+10
@@ -1,2 +1,12 @@
|
||||
public abstract interface InheritNotVararg : R|kotlin/Any| {
|
||||
public abstract interface Sub : R|test/InheritNotVararg.Super| {
|
||||
public abstract fun foo(vararg p: R|ft<kotlin/Array<ft<kotlin/String, kotlin/String?>>, kotlin/Array<out ft<kotlin/String, kotlin/String?>>?>|): R|kotlin/Unit|
|
||||
|
||||
}
|
||||
public abstract interface Super : R|kotlin/Any| {
|
||||
public abstract fun foo(p: R|ft<kotlin/Array<ft<kotlin/String, kotlin/String?>>, kotlin/Array<out ft<kotlin/String, kotlin/String?>>?>|): R|kotlin/Unit|
|
||||
|
||||
public abstract fun dummy(): R|kotlin/Unit|
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
+10
@@ -1,2 +1,12 @@
|
||||
public abstract interface InheritNotVarargInteger : R|kotlin/Any| {
|
||||
public abstract interface Sub : R|test/InheritNotVarargInteger.Super| {
|
||||
public abstract fun foo(vararg p: R|ft<kotlin/Array<ft<kotlin/Int, kotlin/Int?>>, kotlin/Array<out ft<kotlin/Int, kotlin/Int?>>?>|): R|kotlin/Unit|
|
||||
|
||||
}
|
||||
public abstract interface Super : R|kotlin/Any| {
|
||||
public abstract fun foo(p: R|ft<kotlin/Array<ft<kotlin/Int, kotlin/Int?>>, kotlin/Array<out ft<kotlin/Int, kotlin/Int?>>?>|): R|kotlin/Unit|
|
||||
|
||||
public abstract fun dummy(): R|kotlin/Unit|
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
+10
@@ -1,2 +1,12 @@
|
||||
public abstract interface InheritNotVarargNotNull : R|kotlin/Any| {
|
||||
public abstract interface Sub : R|test/InheritNotVarargNotNull.Super| {
|
||||
public abstract fun foo(vararg p: R|ft<kotlin/Array<ft<kotlin/String, kotlin/String?>>, kotlin/Array<out ft<kotlin/String, kotlin/String?>>?>|): R|kotlin/Unit|
|
||||
|
||||
}
|
||||
public abstract interface Super : R|kotlin/Any| {
|
||||
public abstract fun foo(p: R|ft<kotlin/Array<ft<kotlin/String, kotlin/String?>>, kotlin/Array<out ft<kotlin/String, kotlin/String?>>?>|): R|kotlin/Unit|
|
||||
|
||||
public abstract fun dummy(): R|kotlin/Unit|
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
+10
@@ -1,2 +1,12 @@
|
||||
public abstract interface InheritNotVarargPrimitive : R|kotlin/Any| {
|
||||
public abstract interface Sub : R|test/InheritNotVarargPrimitive.Super| {
|
||||
public abstract fun foo(vararg p: R|ft<kotlin/IntArray, kotlin/IntArray?>|): R|kotlin/Unit|
|
||||
|
||||
}
|
||||
public abstract interface Super : R|kotlin/Any| {
|
||||
public abstract fun foo(p: R|ft<kotlin/IntArray, kotlin/IntArray?>|): R|kotlin/Unit|
|
||||
|
||||
public abstract fun dummy(): R|kotlin/Unit|
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
+10
@@ -1,2 +1,12 @@
|
||||
public abstract interface InheritNullability : R|kotlin/Any| {
|
||||
public abstract interface Sub : R|test/InheritNullability.Super| {
|
||||
public abstract fun foo(p: R|@EnhancedNullability kotlin/String|): R|kotlin/Unit|
|
||||
|
||||
}
|
||||
public abstract interface Super : R|kotlin/Any| {
|
||||
public abstract fun foo(@R|org/jetbrains/annotations/NotNull|() p: R|@EnhancedNullability kotlin/String|): R|kotlin/Unit|
|
||||
|
||||
public abstract fun dummy(): R|kotlin/Unit|
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
Vendored
+10
@@ -1,2 +1,12 @@
|
||||
public abstract interface InheritVararg : R|kotlin/Any| {
|
||||
public abstract interface Sub : R|test/InheritVararg.Super| {
|
||||
public abstract fun foo(p: R|ft<kotlin/Array<ft<kotlin/String, kotlin/String?>>, kotlin/Array<out ft<kotlin/String, kotlin/String?>>?>|): R|kotlin/Unit|
|
||||
|
||||
}
|
||||
public abstract interface Super : R|kotlin/Any| {
|
||||
public abstract fun foo(vararg p: R|ft<kotlin/Array<ft<kotlin/String, kotlin/String?>>, kotlin/Array<out ft<kotlin/String, kotlin/String?>>?>|): R|kotlin/Unit|
|
||||
|
||||
public abstract fun dummy(): R|kotlin/Unit|
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
+10
@@ -1,2 +1,12 @@
|
||||
public abstract interface InheritVarargInteger : R|kotlin/Any| {
|
||||
public abstract interface Sub : R|test/InheritVarargInteger.Super| {
|
||||
public abstract fun foo(p: R|ft<kotlin/Array<ft<kotlin/Int, kotlin/Int?>>, kotlin/Array<out ft<kotlin/Int, kotlin/Int?>>?>|): R|kotlin/Unit|
|
||||
|
||||
}
|
||||
public abstract interface Super : R|kotlin/Any| {
|
||||
public abstract fun foo(vararg p: R|ft<kotlin/Array<ft<kotlin/Int, kotlin/Int?>>, kotlin/Array<out ft<kotlin/Int, kotlin/Int?>>?>|): R|kotlin/Unit|
|
||||
|
||||
public abstract fun dummy(): R|kotlin/Unit|
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
+10
@@ -1,2 +1,12 @@
|
||||
public abstract interface InheritVarargNotNull : R|kotlin/Any| {
|
||||
public abstract interface Sub : R|test/InheritVarargNotNull.Super| {
|
||||
public abstract fun foo(p: R|ft<kotlin/Array<ft<kotlin/String, kotlin/String?>>, kotlin/Array<out ft<kotlin/String, kotlin/String?>>?>|): R|kotlin/Unit|
|
||||
|
||||
}
|
||||
public abstract interface Super : R|kotlin/Any| {
|
||||
public abstract fun foo(vararg p: R|ft<kotlin/Array<ft<kotlin/String, kotlin/String?>>, kotlin/Array<out ft<kotlin/String, kotlin/String?>>?>|): R|kotlin/Unit|
|
||||
|
||||
public abstract fun dummy(): R|kotlin/Unit|
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
+10
@@ -1,2 +1,12 @@
|
||||
public abstract interface InheritVarargPrimitive : R|kotlin/Any| {
|
||||
public abstract interface Sub : R|test/InheritVarargPrimitive.Super| {
|
||||
public abstract fun foo(p: R|ft<kotlin/IntArray, kotlin/IntArray?>|): R|kotlin/Unit|
|
||||
|
||||
}
|
||||
public abstract interface Super : R|kotlin/Any| {
|
||||
public abstract fun foo(vararg p: R|ft<kotlin/IntArray, kotlin/IntArray?>|): R|kotlin/Unit|
|
||||
|
||||
public abstract fun dummy(): R|kotlin/Unit|
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
Vendored
+16
@@ -1,2 +1,18 @@
|
||||
public abstract interface Kt3302 : R|kotlin/Any| {
|
||||
public abstract interface BSONObject : R|kotlin/Any| {
|
||||
public abstract fun put(@R|org/jetbrains/annotations/NotNull|() s: R|@EnhancedNullability kotlin/String|, @R|org/jetbrains/annotations/NotNull|() o: R|@EnhancedNullability kotlin/Any|): R|ft<kotlin/Any, kotlin/Any?>|
|
||||
|
||||
public abstract fun dummy(): R|kotlin/Unit|
|
||||
|
||||
}
|
||||
public abstract interface BasicBSONObject : R|test/Kt3302.LinkedHashMap<ft<kotlin/String, kotlin/String?>, ft<kotlin/Any, kotlin/Any?>>|, R|test/Kt3302.BSONObject| {
|
||||
@R|java/lang/Override|() public abstract fun put(key: R|ft<kotlin/String, kotlin/String?>|, value: R|ft<kotlin/Any, kotlin/Any?>|): R|ft<kotlin/Any, kotlin/Any?>|
|
||||
|
||||
}
|
||||
public abstract interface LinkedHashMap<K : R|ft<kotlin/Any, kotlin/Any?>|, V : R|ft<kotlin/Any, kotlin/Any?>|> : R|kotlin/Any| {
|
||||
public abstract fun put(key: R|ft<K, K?>|, value: R|ft<V, V?>|): R|ft<V, V?>|
|
||||
|
||||
public abstract fun dummy(): R|kotlin/Unit|
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
+10
@@ -1,2 +1,12 @@
|
||||
public abstract interface MutableToReadOnly : R|kotlin/Any| {
|
||||
public abstract interface Sub : R|test/MutableToReadOnly.Super| {
|
||||
public abstract fun foo(p: R|ft<kotlin/collections/MutableList<ft<kotlin/String, kotlin/String?>>, kotlin/collections/List<ft<kotlin/String, kotlin/String?>>?>|): R|kotlin/Unit|
|
||||
|
||||
}
|
||||
public abstract interface Super : R|kotlin/Any| {
|
||||
public abstract fun foo(p: R|ft<kotlin/collections/MutableList<ft<kotlin/String, kotlin/String?>>, kotlin/collections/List<ft<kotlin/String, kotlin/String?>>?>|): R|kotlin/Unit|
|
||||
|
||||
public abstract fun dummy(): R|kotlin/Unit|
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
+10
@@ -1,2 +1,12 @@
|
||||
public abstract interface NotNullToNullable : R|kotlin/Any| {
|
||||
public abstract interface Sub : R|test/NotNullToNullable.Super| {
|
||||
public abstract fun foo(p: R|@EnhancedNullability kotlin/String|): R|kotlin/Unit|
|
||||
|
||||
}
|
||||
public abstract interface Super : R|kotlin/Any| {
|
||||
public abstract fun foo(@R|org/jetbrains/annotations/NotNull|() p: R|@EnhancedNullability kotlin/String|): R|kotlin/Unit|
|
||||
|
||||
public abstract fun dummy(): R|kotlin/Unit|
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
+10
@@ -1,2 +1,12 @@
|
||||
public abstract interface NullableToNotNull : R|kotlin/Any| {
|
||||
public abstract interface Sub : R|test/NullableToNotNull.Super| {
|
||||
public abstract fun foo(@R|org/jetbrains/annotations/NotNull|() p: R|@EnhancedNullability kotlin/String|): R|kotlin/Unit|
|
||||
|
||||
}
|
||||
public abstract interface Super : R|kotlin/Any| {
|
||||
public abstract fun foo(p: R|ft<kotlin/String, kotlin/String?>|): R|kotlin/Unit|
|
||||
|
||||
public abstract fun dummy(): R|kotlin/Unit|
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
+10
@@ -1,2 +1,12 @@
|
||||
public abstract interface NullableToNotNullKotlinSignature : R|kotlin/Any| {
|
||||
public abstract interface Sub : R|test/NullableToNotNullKotlinSignature.Super| {
|
||||
public abstract fun foo(p: R|ft<kotlin/String, kotlin/String?>|): R|kotlin/Unit|
|
||||
|
||||
}
|
||||
public abstract interface Super : R|kotlin/Any| {
|
||||
public abstract fun foo(p: R|ft<kotlin/String, kotlin/String?>|): R|kotlin/Unit|
|
||||
|
||||
public abstract fun dummy(): R|kotlin/Unit|
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
+10
@@ -1,2 +1,12 @@
|
||||
public abstract interface OverrideWithErasedParameter : R|kotlin/Any| {
|
||||
public abstract interface Sub<T : R|ft<kotlin/Any, kotlin/Any?>|> : R|test/OverrideWithErasedParameter.Super<ft<T, T?>>| {
|
||||
public abstract fun foo(o: R|ft<kotlin/Any, kotlin/Any?>|): R|kotlin/Unit|
|
||||
|
||||
}
|
||||
public abstract interface Super<T : R|ft<kotlin/Any, kotlin/Any?>|> : R|kotlin/Any| {
|
||||
public abstract fun foo(t: R|ft<T, T?>|): R|kotlin/Unit|
|
||||
|
||||
public abstract fun dummy(): R|kotlin/Unit|
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
+10
@@ -1,2 +1,12 @@
|
||||
public abstract interface ReadOnlyToMutable : R|kotlin/Any| {
|
||||
public abstract interface Sub : R|test/ReadOnlyToMutable.Super| {
|
||||
public abstract fun foo(p: R|ft<kotlin/collections/MutableList<ft<kotlin/String, kotlin/String?>>, kotlin/collections/List<ft<kotlin/String, kotlin/String?>>?>|): R|kotlin/Unit|
|
||||
|
||||
}
|
||||
public abstract interface Super : R|kotlin/Any| {
|
||||
public abstract fun foo(p: R|ft<kotlin/collections/MutableList<ft<kotlin/String, kotlin/String?>>, kotlin/collections/List<ft<kotlin/String, kotlin/String?>>?>|): R|kotlin/Unit|
|
||||
|
||||
public abstract fun dummy(): R|kotlin/Unit|
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
+16
@@ -1,2 +1,18 @@
|
||||
public abstract interface SubclassFromGenericAndNot : R|kotlin/Any| {
|
||||
public abstract interface Generic<T : R|ft<kotlin/Any, kotlin/Any?>|> : R|kotlin/Any| {
|
||||
public abstract fun foo(key: R|ft<T, T?>|): R|kotlin/Unit|
|
||||
|
||||
public abstract fun dummy(): R|kotlin/Unit|
|
||||
|
||||
}
|
||||
public abstract interface NonGeneric : R|kotlin/Any| {
|
||||
public abstract fun foo(@R|org/jetbrains/annotations/NotNull|() s: R|@EnhancedNullability kotlin/String|): R|kotlin/Unit|
|
||||
|
||||
public abstract fun dummy(): R|kotlin/Unit|
|
||||
|
||||
}
|
||||
public abstract interface Sub : R|test/SubclassFromGenericAndNot.NonGeneric|, R|test/SubclassFromGenericAndNot.Generic<ft<kotlin/String, kotlin/String?>>| {
|
||||
@R|java/lang/Override|() public abstract fun foo(key: R|@EnhancedNullability kotlin/String|): R|kotlin/Unit|
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
+10
@@ -1,2 +1,12 @@
|
||||
public abstract interface SubstitutedClassParameter : R|kotlin/Any| {
|
||||
public abstract interface Sub : R|test/SubstitutedClassParameter.Super<ft<kotlin/String, kotlin/String?>>| {
|
||||
public abstract fun foo(p: R|ft<kotlin/String, kotlin/String?>|): R|kotlin/Unit|
|
||||
|
||||
}
|
||||
public abstract interface Super<T : R|ft<kotlin/Any, kotlin/Any?>|> : R|kotlin/Any| {
|
||||
public abstract fun foo(p: R|ft<T, T?>|): R|kotlin/Unit|
|
||||
|
||||
public abstract fun dummy(): R|kotlin/Unit|
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
+16
@@ -1,2 +1,18 @@
|
||||
public abstract interface SubstitutedClassParameters : R|kotlin/Any| {
|
||||
public abstract interface Sub : R|test/SubstitutedClassParameters.Super1<ft<kotlin/String, kotlin/String?>>|, R|test/SubstitutedClassParameters.Super2<ft<kotlin/String, kotlin/String?>>| {
|
||||
public abstract fun foo(p: R|ft<kotlin/String, kotlin/String?>|): R|kotlin/Unit|
|
||||
|
||||
}
|
||||
public abstract interface Super1<T : R|ft<kotlin/Any, kotlin/Any?>|> : R|kotlin/Any| {
|
||||
public abstract fun foo(p: R|ft<T, T?>|): R|kotlin/Unit|
|
||||
|
||||
public abstract fun dummy(): R|kotlin/Unit|
|
||||
|
||||
}
|
||||
public abstract interface Super2<E : R|ft<kotlin/Any, kotlin/Any?>|> : R|kotlin/Any| {
|
||||
public abstract fun foo(p: R|ft<E, E?>|): R|kotlin/Unit|
|
||||
|
||||
public abstract fun dummy(): R|kotlin/Unit|
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user