summaryrefslogtreecommitdiff
path: root/plugins/java-decompiler/testData/Enum.txt
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/java-decompiler/testData/Enum.txt')
-rw-r--r--plugins/java-decompiler/testData/Enum.txt33
1 files changed, 33 insertions, 0 deletions
diff --git a/plugins/java-decompiler/testData/Enum.txt b/plugins/java-decompiler/testData/Enum.txt
new file mode 100644
index 000000000000..1156c8214d78
--- /dev/null
+++ b/plugins/java-decompiler/testData/Enum.txt
@@ -0,0 +1,33 @@
+//
+// Source code recreated from a .class file by IntelliJ IDEA
+// (powered by Fernflower decompiler)
+//
+
+
+public enum Enum {
+
+ E1,
+ E2 {
+ public void m() {
+ }
+ },
+ E3("-"),
+ E4("+") {
+ public void m() {
+ }
+ };
+ private String s;
+
+
+ public void m() {
+ }
+
+ private Enum() {
+ this((String)"?");
+ }
+
+ private Enum(@Deprecated String var3) {
+ this.s = var3;
+ }
+
+}