"Synthetic" attribute recognized

master
Roman Shevchenko 11 years ago
parent 495589a815
commit 0bbab47a73
  1. 4
      src/de/fernflower/struct/attr/StructGeneralAttribute.java

@ -44,7 +44,7 @@ public class StructGeneralAttribute {
public static final String ATTRIBUTE_LOCAL_VARIABLE_TABLE = "LocalVariableTable"; public static final String ATTRIBUTE_LOCAL_VARIABLE_TABLE = "LocalVariableTable";
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";
// ***************************************************************************** // *****************************************************************************
@ -102,6 +102,8 @@ 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)) {
attr = new StructGeneralAttribute();
} else { } else {
// unsupported attribute // unsupported attribute
return null; return null;

Loading…
Cancel
Save