|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.aspectj.org.eclipse.jdt.internal.core.util.ClassFileStruct
org.aspectj.org.eclipse.jdt.internal.core.util.DefaultStackMapFrame
public class DefaultStackMapFrame
Default implementation of IStackMapFrame
| Constructor Summary | |
|---|---|
DefaultStackMapFrame(byte[] classFileBytes,
IConstantPool constantPool,
int offset)
Constructor for StackMapFrame. |
|
| Method Summary | |
|---|---|
int |
getFrameType()
Answer back the frame type for this entry. |
IVerificationTypeInfo[] |
getLocals()
Answer back verification infos for the defined locals. |
int |
getNumberOfLocals()
Answer back the number of locals. |
int |
getNumberOfStackItems()
Answer back the number of stack items |
int |
getOffsetDelta()
Answer back the offset delta. |
IVerificationTypeInfo[] |
getStackItems()
Answer back the verification infos for the stack items. |
| Methods inherited from class org.aspectj.org.eclipse.jdt.internal.core.util.ClassFileStruct |
|---|
doubleAt, floatAt, i1At, i2At, i4At, i8At, u1At, u2At, u4At, utf8At |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public DefaultStackMapFrame(byte[] classFileBytes,
IConstantPool constantPool,
int offset)
throws ClassFormatException
classFileBytes - constantPool - offset -
ClassFormatException| Method Detail |
|---|
public int getFrameType()
IStackMapFrame| Type | Range |
|---|---|
| SAME | 0-63 |
| SAME_LOCALS_1_STACK_ITEM | 64-127 |
| SAME_LOCALS_1_STACK_ITEM_EXTENDED | 247 |
| CHOP | 248-250 |
| SAME_FRAME_EXTENDED | 251 |
| APPEND | 252-254 |
| FULL_FRAME | 255 |
getFrameType in interface IStackMapFramepublic IVerificationTypeInfo[] getLocals()
IStackMapFrameThis is defined only for frame types APPEND and FULL_FRAME.
getLocals in interface IStackMapFramepublic int getNumberOfLocals()
IStackMapFrameThis is defined only for the frame type FULL_FRAME.
getNumberOfLocals in interface IStackMapFramepublic int getNumberOfStackItems()
IStackMapFrameThis is defined only for the frame types SAME_LOCALS_1_STACK_ITEM, SAME_LOCALS_1_STACK_ITEM_EXTENDED and FULL_FRAME. For SAME_LOCALS_1_STACK_ITEM and SAME_LOCALS_1_STACK_ITEM_EXTENDED, the answer is implicitely 1.
getNumberOfStackItems in interface IStackMapFramepublic int getOffsetDelta()
IStackMapFrameThis is not defined only for the frame types SAME and SAME_LOCALS_1_STACK_ITEM.
getOffsetDelta in interface IStackMapFramepublic IVerificationTypeInfo[] getStackItems()
IStackMapFrame
getStackItems in interface IStackMapFrame
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||