summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRoman Shevchenko <roman.shevchenko@jetbrains.com>2014-05-24 20:54:37 +0400
committerRoman Shevchenko <roman.shevchenko@jetbrains.com>2014-05-24 20:54:37 +0400
commit0bbab47a73d80ac32e4887e627be70adc6c555d0 (patch)
treee74d0e0a63f45c85dee98dc0acca7d5e7124bf1b
parent495589a81532a9a5ee32bea8f1a2a6ac7420d3e2 (diff)
downloadfernflower-0bbab47a73d80ac32e4887e627be70adc6c555d0.tar
fernflower-0bbab47a73d80ac32e4887e627be70adc6c555d0.tar.gz
fernflower-0bbab47a73d80ac32e4887e627be70adc6c555d0.tar.lz
fernflower-0bbab47a73d80ac32e4887e627be70adc6c555d0.tar.xz
fernflower-0bbab47a73d80ac32e4887e627be70adc6c555d0.zip
"Synthetic" attribute recognized
-rw-r--r--src/de/fernflower/struct/attr/StructGeneralAttribute.java8
1 files changed, 5 insertions, 3 deletions
diff --git a/src/de/fernflower/struct/attr/StructGeneralAttribute.java b/src/de/fernflower/struct/attr/StructGeneralAttribute.java
index 830721a..d414042 100644
--- a/src/de/fernflower/struct/attr/StructGeneralAttribute.java
+++ b/src/de/fernflower/struct/attr/StructGeneralAttribute.java
@@ -44,9 +44,9 @@ public class StructGeneralAttribute {
public static final String ATTRIBUTE_LOCAL_VARIABLE_TABLE = "LocalVariableTable";
public static final String ATTRIBUTE_CONSTANT_VALUE = "ConstantValue";
public static final String ATTRIBUTE_BOOTSTRAP_METHODS = "BootstrapMethods";
-
-
-
+ public static final String ATTRIBUTE_SYNTHETIC = "Synthetic";
+
+
// *****************************************************************************
// private fields
// *****************************************************************************
@@ -102,6 +102,8 @@ public class StructGeneralAttribute {
attr = new StructLocalVariableTableAttribute();
} else if(ATTRIBUTE_BOOTSTRAP_METHODS.equals(attrname)) {
attr = new StructBootstrapMethodsAttribute();
+ } else if(ATTRIBUTE_SYNTHETIC.equals(attrname)) {
+ attr = new StructGeneralAttribute();
} else {
// unsupported attribute
return null;