mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-10 13:17:09 +07:00
Syntactically correct enum stubs
This commit is contained in:
@@ -4,7 +4,7 @@
|
||||
|
||||
package pkg;
|
||||
|
||||
final enum EmptyEnum {
|
||||
enum EmptyEnum {
|
||||
;
|
||||
|
||||
public static pkg.EmptyEnum[] values() { /* compiled code */ }
|
||||
|
||||
@@ -4,11 +4,11 @@
|
||||
|
||||
package pkg;
|
||||
|
||||
public final enum EnumWithFields {
|
||||
public static final E1, public static final E2;
|
||||
public enum EnumWithFields {
|
||||
E1, E2;
|
||||
|
||||
boolean f1;
|
||||
boolean f2;
|
||||
private boolean f1;
|
||||
static boolean f2;
|
||||
|
||||
public static pkg.EnumWithFields[] values() { /* compiled code */ }
|
||||
|
||||
|
||||
@@ -4,8 +4,8 @@
|
||||
|
||||
package pkg;
|
||||
|
||||
public final enum SimpleEnum {
|
||||
public static final E1, public static final E2;
|
||||
public enum SimpleEnum {
|
||||
E1, E2;
|
||||
|
||||
public static pkg.SimpleEnum[] values() { /* compiled code */ }
|
||||
|
||||
|
||||
Binary file not shown.
@@ -3,6 +3,6 @@ package pkg;
|
||||
public enum EnumWithFields {
|
||||
E1, E2;
|
||||
|
||||
boolean f1;
|
||||
boolean f2;
|
||||
private boolean f1;
|
||||
static boolean f2;
|
||||
}
|
||||
Reference in New Issue
Block a user