Class StackMapFrame
java.lang.Object
org.aspectj.org.eclipse.jdt.internal.core.util.ClassFileStruct
org.aspectj.org.eclipse.jdt.internal.core.util.StackMapFrame
-
Constructor Summary
ConstructorsConstructorDescriptionStackMapFrame(byte[] classFileBytes, IConstantPool constantPool, int offset) Constructor for StackMapFrame. -
Method Summary
Modifier and TypeMethodDescriptionintAnswer back the frame type for this entry.Answer back verification infos for the defined locals.intAnswer back the number of locals.intAnswer back the number of stack itemsintAnswer back the offset delta.Answer back the verification infos for the stack items.
-
Constructor Details
-
StackMapFrame
public StackMapFrame(byte[] classFileBytes, IConstantPool constantPool, int offset) throws ClassFormatException Constructor for StackMapFrame.- Throws:
ClassFormatException
-
-
Method Details
-
getFrameType
public int getFrameType()Description copied from interface:IStackMapFrameAnswer back the frame type for this entry.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 - Specified by:
getFrameTypein interfaceIStackMapFrame- Returns:
- the frame type for this entry
-
getLocals
Description copied from interface:IStackMapFrameAnswer back verification infos for the defined locals.This is defined only for frame types APPEND and FULL_FRAME.
- Specified by:
getLocalsin interfaceIStackMapFrame- Returns:
- verification infos for the defined locals
-
getNumberOfLocals
public int getNumberOfLocals()Description copied from interface:IStackMapFrameAnswer back the number of locals.This is defined only for the frame type FULL_FRAME.
- Specified by:
getNumberOfLocalsin interfaceIStackMapFrame- Returns:
- the number of locals
-
getNumberOfStackItems
public int getNumberOfStackItems()Description copied from interface:IStackMapFrameAnswer back the number of stack itemsThis 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.
- Specified by:
getNumberOfStackItemsin interfaceIStackMapFrame- Returns:
- the number of stack items
-
getOffsetDelta
public int getOffsetDelta()Description copied from interface:IStackMapFrameAnswer back the offset delta.This is not defined only for the frame types SAME and SAME_LOCALS_1_STACK_ITEM.
- Specified by:
getOffsetDeltain interfaceIStackMapFrame- Returns:
- the offset delta
-
getStackItems
Description copied from interface:IStackMapFrameAnswer back the verification infos for the stack items.- Specified by:
getStackItemsin interfaceIStackMapFrame- Returns:
- the verification infos for the stack items
-