Test for resolving static members of java enum
Add clarifying note
This commit is contained in:
@@ -0,0 +1,15 @@
|
||||
package test;
|
||||
|
||||
public enum Enum {
|
||||
A,
|
||||
B,
|
||||
C;
|
||||
|
||||
public static class Nested {
|
||||
void foo() {}
|
||||
}
|
||||
|
||||
public class Inner {
|
||||
void bar() {}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,23 @@
|
||||
namespace test
|
||||
|
||||
public final enum class test.Enum : jet.Enum<test.Enum> {
|
||||
private final /*constructor*/ fun <init>(): test.Enum
|
||||
public final override /*1*/ /*fake_override*/ fun name(): jet.String
|
||||
public final override /*1*/ /*fake_override*/ fun ordinal(): jet.Int
|
||||
public open class test.Enum.Inner : java.lang.Object {
|
||||
public final /*constructor*/ fun <init>(): test.Enum.Inner
|
||||
package open fun bar(): jet.Tuple0
|
||||
}
|
||||
public final class object test.Enum.<class-object-for-Enum> {
|
||||
private final /*constructor*/ fun <init>(): test.Enum.<class-object-for-Enum>
|
||||
public final val A: test.Enum
|
||||
public final val B: test.Enum
|
||||
public final val C: test.Enum
|
||||
public open class test.Enum.Nested : java.lang.Object {
|
||||
public final /*constructor*/ fun <init>(): test.Enum.Nested
|
||||
package open fun foo(): jet.Tuple0
|
||||
}
|
||||
public final fun valueOf(/*0*/ value: jet.String): test.Enum
|
||||
public final fun values(): jet.Array<test.Enum>
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user