mirror of
https://github.com/moparisthebest/fernflower
synced 2024-11-26 19:22:15 -05:00
"Synthetic" attribute recognized
This commit is contained in:
parent
495589a815
commit
0bbab47a73
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user