mirror of
https://github.com/moparisthebest/fernflower
synced 2024-11-27 03:32:14 -05:00
"Deprecated" attribute recognized
This commit is contained in:
parent
0bbab47a73
commit
9e231a7e2e
@ -45,6 +45,7 @@ public class StructGeneralAttribute {
|
|||||||
public static final String ATTRIBUTE_CONSTANT_VALUE = "ConstantValue";
|
public static final String ATTRIBUTE_CONSTANT_VALUE = "ConstantValue";
|
||||||
public static final String ATTRIBUTE_BOOTSTRAP_METHODS = "BootstrapMethods";
|
public static final String ATTRIBUTE_BOOTSTRAP_METHODS = "BootstrapMethods";
|
||||||
public static final String ATTRIBUTE_SYNTHETIC = "Synthetic";
|
public static final String ATTRIBUTE_SYNTHETIC = "Synthetic";
|
||||||
|
public static final String ATTRIBUTE_DEPRECATED = "Deprecated";
|
||||||
|
|
||||||
|
|
||||||
// *****************************************************************************
|
// *****************************************************************************
|
||||||
@ -102,7 +103,7 @@ public class StructGeneralAttribute {
|
|||||||
attr = new StructLocalVariableTableAttribute();
|
attr = new StructLocalVariableTableAttribute();
|
||||||
} else if(ATTRIBUTE_BOOTSTRAP_METHODS.equals(attrname)) {
|
} else if(ATTRIBUTE_BOOTSTRAP_METHODS.equals(attrname)) {
|
||||||
attr = new StructBootstrapMethodsAttribute();
|
attr = new StructBootstrapMethodsAttribute();
|
||||||
} else if(ATTRIBUTE_SYNTHETIC.equals(attrname)) {
|
} else if(ATTRIBUTE_SYNTHETIC.equals(attrname) || ATTRIBUTE_DEPRECATED.equals(attrname)) {
|
||||||
attr = new StructGeneralAttribute();
|
attr = new StructGeneralAttribute();
|
||||||
} else {
|
} else {
|
||||||
// unsupported attribute
|
// unsupported attribute
|
||||||
|
Loading…
Reference in New Issue
Block a user