| java.lang.Object com.yworks.yguard.obf.classfile.AttrInfo com.yworks.yguard.obf.classfile.CodeAttrInfo
CodeAttrInfo | public class CodeAttrInfo extends AttrInfo (Code) | | Representation of an attribute.
author: Mark Welsh |
Method Summary | |
protected int | getAttrInfoLength() Return the length in bytes of the attribute. | protected String | getAttrName() Return the String name of the attribute; over-ride this in sub-classes. | protected void | markUtf8RefsInInfo(ConstantPool pool) Check for references in the 'info' data to the constant pool and mark them. | protected void | readInfo(DataInput din) Read the data following the header. | protected void | trimAttrsExcept(String[] keepAttrs) Trim attributes from the classfile ('Code', 'Exceptions', 'ConstantValue'
are preserved, all others except the list in the String[] are killed). | public void | writeInfo(DataOutput dout) Export data following the header to a DataOutput stream. |
CONSTANT_FIELD_SIZE | final public static int CONSTANT_FIELD_SIZE(Code) | | |
u2attributesCount | protected int u2attributesCount(Code) | | |
CodeAttrInfo | protected CodeAttrInfo(ClassFile cf, int attrNameIndex, int attrLength)(Code) | | |
getAttrInfoLength | protected int getAttrInfoLength()(Code) | | Return the length in bytes of the attribute.
|
getAttrName | protected String getAttrName()(Code) | | Return the String name of the attribute; over-ride this in sub-classes.
|
markUtf8RefsInInfo | protected void markUtf8RefsInInfo(ConstantPool pool)(Code) | | Check for references in the 'info' data to the constant pool and mark them.
|
trimAttrsExcept | protected void trimAttrsExcept(String[] keepAttrs)(Code) | | Trim attributes from the classfile ('Code', 'Exceptions', 'ConstantValue'
are preserved, all others except the list in the String[] are killed).
|
|
|