summaryrefslogtreecommitdiffstats
path: root/src/de
diff options
context:
space:
mode:
authorRoman Shevchenko <roman.shevchenko@jetbrains.com>2014-05-26 15:48:49 +0400
committerRoman Shevchenko <roman.shevchenko@jetbrains.com>2014-05-26 15:49:53 +0400
commit9e231a7e2e86c7e9030667f22b9fa66af96b7b72 (patch)
tree324966eda4565978b97634470f91f28373fae38b /src/de
parent0bbab47a73d80ac32e4887e627be70adc6c555d0 (diff)
downloadfernflower-9e231a7e2e86c7e9030667f22b9fa66af96b7b72.tar
fernflower-9e231a7e2e86c7e9030667f22b9fa66af96b7b72.tar.gz
fernflower-9e231a7e2e86c7e9030667f22b9fa66af96b7b72.tar.lz
fernflower-9e231a7e2e86c7e9030667f22b9fa66af96b7b72.tar.xz
fernflower-9e231a7e2e86c7e9030667f22b9fa66af96b7b72.zip
"Deprecated" attribute recognized
Diffstat (limited to 'src/de')
-rw-r--r--src/de/fernflower/struct/attr/StructGeneralAttribute.java3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/de/fernflower/struct/attr/StructGeneralAttribute.java b/src/de/fernflower/struct/attr/StructGeneralAttribute.java
index d414042..05a0e8e 100644
--- a/src/de/fernflower/struct/attr/StructGeneralAttribute.java
+++ b/src/de/fernflower/struct/attr/StructGeneralAttribute.java
@@ -45,6 +45,7 @@ public class StructGeneralAttribute {
public static final String ATTRIBUTE_CONSTANT_VALUE = "ConstantValue";
public static final String ATTRIBUTE_BOOTSTRAP_METHODS = "BootstrapMethods";
public static final String ATTRIBUTE_SYNTHETIC = "Synthetic";
+ public static final String ATTRIBUTE_DEPRECATED = "Deprecated";
// *****************************************************************************
@@ -102,7 +103,7 @@ public class StructGeneralAttribute {
attr = new StructLocalVariableTableAttribute();
} else if(ATTRIBUTE_BOOTSTRAP_METHODS.equals(attrname)) {
attr = new StructBootstrapMethodsAttribute();
- } else if(ATTRIBUTE_SYNTHETIC.equals(attrname)) {
+ } else if(ATTRIBUTE_SYNTHETIC.equals(attrname) || ATTRIBUTE_DEPRECATED.equals(attrname)) {
attr = new StructGeneralAttribute();
} else {
// unsupported attribute