| java.lang.Object com.yworks.yguard.obf.classfile.AttrInfo
All known Subclasses: com.yworks.yguard.obf.classfile.LocalVariableTypeTableAttrInfo, com.yworks.yguard.obf.classfile.ConstantValueAttrInfo, com.yworks.yguard.obf.classfile.InnerClassesAttrInfo, com.yworks.yguard.obf.classfile.LineNumberTableAttrInfo, com.yworks.yguard.obf.classfile.DeprecatedAttrInfo, com.yworks.yguard.obf.classfile.RuntimeVisibleParameterAnnotationsAttrInfo, com.yworks.yguard.obf.classfile.LocalVariableTableAttrInfo, com.yworks.yguard.obf.classfile.CodeAttrInfo, com.yworks.yguard.obf.classfile.SignatureAttrInfo, com.yworks.yguard.obf.classfile.AnnotationDefaultAttrInfo, com.yworks.yguard.obf.classfile.EnclosingMethodAttrInfo, com.yworks.yguard.obf.classfile.ExceptionsAttrInfo, com.yworks.yguard.obf.classfile.RuntimeVisibleAnnotationsAttrInfo, com.yworks.yguard.obf.classfile.SourceFileAttrInfo, com.yworks.yguard.obf.classfile.SyntheticAttrInfo, com.yworks.yguard.obf.classfile.StackMapTableAttrInfo,
AttrInfo | public class AttrInfo implements ClassConstants(Code) | | Representation of an attribute. Specific attributes have their representations
sub-classed from this.
author: Mark Welsh |
Constructor Summary | |
protected | AttrInfo(ClassFile cf, int attrNameIndex, int attrLength) |
CONSTANT_FIELD_SIZE | final public static int CONSTANT_FIELD_SIZE(Code) | | |
u4attrLength | protected int u4attrLength(Code) | | |
AttrInfo | protected AttrInfo(ClassFile cf, int attrNameIndex, int attrLength)(Code) | | |
getAttrInfoLength | protected int getAttrInfoLength()(Code) | | Return the length in bytes of the attribute; over-ride this in sub-classes.
|
getAttrName | protected String getAttrName()(Code) | | Return the String name of the attribute; over-ride this in sub-classes.
|
getAttrNameIndex | protected int getAttrNameIndex()(Code) | | |
markUtf8Refs | protected void markUtf8Refs(ConstantPool pool)(Code) | | Check for Utf8 references to constant pool and mark them.
|
markUtf8RefsInInfo | protected void markUtf8RefsInInfo(ConstantPool pool)(Code) | | Check for Utf8 references in the 'info' data to the constant pool and
mark them; over-ride this in sub-classes.
|
trimAttrsExcept | protected void trimAttrsExcept(String[] keepAttrs)(Code) | | Trim attributes from the classfile except those in the String[].
|
|
|