FIR Java model: support static members & enum entries
Related to KT-29218
This commit is contained in:
+9
@@ -1,2 +1,11 @@
|
||||
public final enum class AnnotatedEnumEntry : R|java/lang/Enum<test/AnnotatedEnumEntry>| {
|
||||
@R|test/AnnotatedEnumEntry.Anno|(String(a)) public final static property E1(val): R|ft<test/AnnotatedEnumEntry, test/AnnotatedEnumEntry?>|!
|
||||
public get(): R|ft<test/AnnotatedEnumEntry, test/AnnotatedEnumEntry?>|!
|
||||
|
||||
@R|test/AnnotatedEnumEntry.Anno|(String(b)) @R|test/AnnotatedEnumEntry.Anno2|() public final static property E2(val): R|ft<test/AnnotatedEnumEntry, test/AnnotatedEnumEntry?>|!
|
||||
public get(): R|ft<test/AnnotatedEnumEntry, test/AnnotatedEnumEntry?>|!
|
||||
|
||||
public final static property E3(val): R|ft<test/AnnotatedEnumEntry, test/AnnotatedEnumEntry?>|!
|
||||
public get(): R|ft<test/AnnotatedEnumEntry, test/AnnotatedEnumEntry?>|!
|
||||
|
||||
}
|
||||
|
||||
@@ -1,4 +1,7 @@
|
||||
public open class AnnotatedField : R|java/lang/Object| {
|
||||
@R|test/AnnotatedField.Anno|(String(static)) public final static property x(val): R|kotlin/Int|
|
||||
public get(): R|kotlin/Int|
|
||||
|
||||
@R|test/AnnotatedField.Anno|(String(member)) public final property y(val): R|kotlin/Int|
|
||||
public get(): R|kotlin/Int|
|
||||
|
||||
|
||||
+1
-1
@@ -1,4 +1,4 @@
|
||||
public open class EnumArgumentWithCustomToString : R|java/lang/Object| {
|
||||
@R|test/EnumArgumentWithCustomToString.EnumAnno|(<Strange Java enum value: test/EnumArgumentWithCustomToString.E.CAKE>#()) @R|test/EnumArgumentWithCustomToString.EnumArrayAnno|(<implicitArrayOf>(<Strange Java enum value: test/EnumArgumentWithCustomToString.E.CAKE>#(), <Strange Java enum value: test/EnumArgumentWithCustomToString.E.CAKE>#())) public/*package*/ open operator function annotated(): R|kotlin/Unit|
|
||||
@R|test/EnumArgumentWithCustomToString.EnumAnno|(R|test/EnumArgumentWithCustomToString.E.CAKE|()) @R|test/EnumArgumentWithCustomToString.EnumArrayAnno|(<implicitArrayOf>(R|test/EnumArgumentWithCustomToString.E.CAKE|(), R|test/EnumArgumentWithCustomToString.E.CAKE|())) public/*package*/ open operator function annotated(): R|kotlin/Unit|
|
||||
|
||||
}
|
||||
|
||||
+3
@@ -1,4 +1,7 @@
|
||||
public final enum class EnumConstructorParameter : R|java/lang/Enum<test/EnumConstructorParameter>| {
|
||||
public final static property INSTANCE(val): R|ft<test/EnumConstructorParameter, test/EnumConstructorParameter?>|!
|
||||
public get(): R|ft<test/EnumConstructorParameter, test/EnumConstructorParameter?>|!
|
||||
|
||||
private final function EnumConstructorParameter(@R|test/EnumConstructorParameter.Anno|(String(string)) s: R|ft<kotlin/String, kotlin/String?>|!): R|test/EnumConstructorParameter|
|
||||
|
||||
private final function EnumConstructorParameter(x: R|kotlin/Int|): R|test/EnumConstructorParameter|
|
||||
|
||||
+1
-1
@@ -1,4 +1,4 @@
|
||||
public open class NestedEnumArgument : R|java/lang/Object| {
|
||||
@R|test/NestedEnumArgument.Anno|(<Strange Java enum value: test/NestedEnumArgument.E.FIRST>#()) public/*package*/ open operator function foo(): R|kotlin/Unit|
|
||||
@R|test/NestedEnumArgument.Anno|(R|test/NestedEnumArgument.E.FIRST|()) public/*package*/ open operator function foo(): R|kotlin/Unit|
|
||||
|
||||
}
|
||||
|
||||
+3
@@ -1,2 +1,5 @@
|
||||
public abstract interface StringConstantInParam : R|java/lang/Object| {
|
||||
public final static property HEL(val): R|ft<kotlin/String, kotlin/String?>|!
|
||||
public get(): R|ft<kotlin/String, kotlin/String?>|!
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user