diff options
author | Roman Shevchenko <roman.shevchenko@jetbrains.com> | 2014-05-24 20:54:37 +0400 |
---|---|---|
committer | Roman Shevchenko <roman.shevchenko@jetbrains.com> | 2014-05-24 20:54:37 +0400 |
commit | 0bbab47a73d80ac32e4887e627be70adc6c555d0 (patch) | |
tree | e74d0e0a63f45c85dee98dc0acca7d5e7124bf1b /src | |
parent | 495589a81532a9a5ee32bea8f1a2a6ac7420d3e2 (diff) | |
download | fernflower-0bbab47a73d80ac32e4887e627be70adc6c555d0.tar fernflower-0bbab47a73d80ac32e4887e627be70adc6c555d0.tar.gz fernflower-0bbab47a73d80ac32e4887e627be70adc6c555d0.tar.lz fernflower-0bbab47a73d80ac32e4887e627be70adc6c555d0.tar.xz fernflower-0bbab47a73d80ac32e4887e627be70adc6c555d0.zip |
"Synthetic" attribute recognized
Diffstat (limited to 'src')
-rw-r--r-- | src/de/fernflower/struct/attr/StructGeneralAttribute.java | 8 |
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; |