Class CodeAttribute
java.lang.Object
com.strobel.assembler.ir.attributes.SourceAttribute
com.strobel.assembler.ir.attributes.CodeAttribute
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final List
<SourceAttribute> private final Buffer
private final int
private final int
private final List
<ExceptionTableEntry> private final int
private final int
-
Constructor Summary
ConstructorsConstructorDescriptionCodeAttribute
(int size, int codeOffset, int codeSize, int maxStack, int maxLocals, ExceptionTableEntry[] exceptionTableEntries, SourceAttribute[] attributes) CodeAttribute
(int size, int maxStack, int maxLocals, int codeOffset, int codeSize, Buffer buffer, ExceptionTableEntry[] exceptionTableEntries, SourceAttribute[] attributes) -
Method Summary
Methods inherited from class com.strobel.assembler.ir.attributes.SourceAttribute
create, find, find, getLength, getName, readAttribute, readAttributes
-
Field Details
-
_maxStack
private final int _maxStack -
_maxLocals
private final int _maxLocals -
_codeSize
private final int _codeSize -
_codeOffset
private final int _codeOffset -
_code
-
_exceptionTableEntriesView
-
_attributesView
-
-
Constructor Details
-
CodeAttribute
public CodeAttribute(int size, int maxStack, int maxLocals, int codeOffset, int codeSize, Buffer buffer, ExceptionTableEntry[] exceptionTableEntries, SourceAttribute[] attributes) -
CodeAttribute
public CodeAttribute(int size, int codeOffset, int codeSize, int maxStack, int maxLocals, ExceptionTableEntry[] exceptionTableEntries, SourceAttribute[] attributes)
-
-
Method Details
-
getMaxStack
public int getMaxStack() -
getMaxLocals
public int getMaxLocals() -
getCodeSize
public int getCodeSize() -
hasCode
public boolean hasCode() -
getCode
-
getExceptionTableEntries
-
getAttributes
-
getCodeOffset
public int getCodeOffset()
-