|
ProGuard | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectproguard.classfile.AttrInfo
proguard.classfile.CodeAttrInfo
Representation of a code attribute.
| Field Summary | |
AttrInfo[] |
attributes
|
byte[] |
code
|
ExceptionInfo[] |
exceptionTable
|
int |
u2attributesCount
|
int |
u2exceptionTableLength
|
int |
u2maxLocals
|
int |
u2maxStack
|
int |
u4codeLength
|
| Fields inherited from class proguard.classfile.AttrInfo |
u2attrNameIndex, visitorInfo |
| Constructor Summary | |
protected |
CodeAttrInfo()
|
| Method Summary | |
void |
accept(ClassFile classFile,
AttrInfoVisitor attrInfoVisitor)
Accepts the given visitor. |
void |
accept(ClassFile classFile,
MethodInfo methodInfo,
AttrInfoVisitor attrInfoVisitor)
Accepts the given visitor in the context of a method. |
void |
attributesAccept(ClassFile classFile,
MethodInfo methodInfo,
AttrInfoVisitor attrInfoVisitor)
Applies the given attribute visitor to all attributes. |
void |
exceptionsAccept(ClassFile classFile,
MethodInfo methodInfo,
ExceptionInfoVisitor exceptionInfoVisitor)
Applies the given exception visitor to all exceptions. |
AttrInfo |
getAttribute(ClassFile classFile,
String name)
Returns the (first) attribute with the given name. |
protected int |
getAttrInfoLength()
Returns the length in bytes of the attribute. |
void |
instructionAccept(ClassFile classFile,
MethodInfo methodInfo,
InstructionVisitor instructionVisitor,
int offset)
Applies the given instruction visitor to the given instruction. |
void |
instructionsAccept(ClassFile classFile,
MethodInfo methodInfo,
InstructionVisitor instructionVisitor)
Applies the given instruction visitor to all instructions. |
protected void |
readInfo(DataInput din,
ClassFile cf)
Reads the data following the header. |
protected void |
writeInfo(DataOutput dout)
Exports data following the header to a DataOutput stream. |
| Methods inherited from class proguard.classfile.AttrInfo |
accept, accept, create, getAttributeName, getVisitorInfo, setVisitorInfo, write |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
public int u2maxStack
public int u2maxLocals
public int u4codeLength
public byte[] code
public int u2exceptionTableLength
public ExceptionInfo[] exceptionTable
public int u2attributesCount
public AttrInfo[] attributes
| Constructor Detail |
protected CodeAttrInfo()
| Method Detail |
public AttrInfo getAttribute(ClassFile classFile,
String name)
protected int getAttrInfoLength()
AttrInfo
getAttrInfoLength in class AttrInfo
protected void readInfo(DataInput din,
ClassFile cf)
throws IOException
AttrInfo
readInfo in class AttrInfoIOException
protected void writeInfo(DataOutput dout)
throws IOException
AttrInfo
writeInfo in class AttrInfoIOException
public void accept(ClassFile classFile,
AttrInfoVisitor attrInfoVisitor)
AttrInfo
accept in class AttrInfo
public void accept(ClassFile classFile,
MethodInfo methodInfo,
AttrInfoVisitor attrInfoVisitor)
AttrInfo
accept in class AttrInfo
public void instructionsAccept(ClassFile classFile,
MethodInfo methodInfo,
InstructionVisitor instructionVisitor)
public void instructionAccept(ClassFile classFile,
MethodInfo methodInfo,
InstructionVisitor instructionVisitor,
int offset)
public void exceptionsAccept(ClassFile classFile,
MethodInfo methodInfo,
ExceptionInfoVisitor exceptionInfoVisitor)
public void attributesAccept(ClassFile classFile,
MethodInfo methodInfo,
AttrInfoVisitor attrInfoVisitor)
|
ProGuard | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||