Klasse DefaultStackMapFrame
java.lang.Object
org.aspectj.org.eclipse.jdt.internal.core.util.ClassFileStruct
org.aspectj.org.eclipse.jdt.internal.core.util.DefaultStackMapFrame
- Alle implementierten Schnittstellen:
IStackMapFrame
Default implementation of IStackMapFrame
-
Konstruktorübersicht
KonstruktorBeschreibungDefaultStackMapFrame
(byte[] classFileBytes, IConstantPool constantPool, int offset) Constructor for StackMapFrame. -
Methodenübersicht
Modifizierer und TypMethodeBeschreibungint
Answer back the frame type for this entry.Answer back verification infos for the defined locals.int
Answer back the number of locals.int
Answer back the number of stack itemsint
Answer back the offset delta.Answer back the verification infos for the stack items.
-
Konstruktordetails
-
DefaultStackMapFrame
public DefaultStackMapFrame(byte[] classFileBytes, IConstantPool constantPool, int offset) throws ClassFormatException Constructor for StackMapFrame.- Parameter:
classFileBytes
-constantPool
-offset
-- Löst aus:
ClassFormatException
-
-
Methodendetails
-
getFrameType
public int getFrameType()Beschreibung aus Schnittstelle kopiert:IStackMapFrame
Answer 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 - Angegeben von:
getFrameType
in SchnittstelleIStackMapFrame
- Gibt zurück:
- the frame type for this entry
-
getLocals
Beschreibung aus Schnittstelle kopiert:IStackMapFrame
Answer back verification infos for the defined locals.This is defined only for frame types APPEND and FULL_FRAME.
- Angegeben von:
getLocals
in SchnittstelleIStackMapFrame
- Gibt zurück:
- verification infos for the defined locals
-
getNumberOfLocals
public int getNumberOfLocals()Beschreibung aus Schnittstelle kopiert:IStackMapFrame
Answer back the number of locals.This is defined only for the frame type FULL_FRAME.
- Angegeben von:
getNumberOfLocals
in SchnittstelleIStackMapFrame
- Gibt zurück:
- the number of locals
-
getNumberOfStackItems
public int getNumberOfStackItems()Beschreibung aus Schnittstelle kopiert:IStackMapFrame
Answer 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.
- Angegeben von:
getNumberOfStackItems
in SchnittstelleIStackMapFrame
- Gibt zurück:
- the number of stack items
-
getOffsetDelta
public int getOffsetDelta()Beschreibung aus Schnittstelle kopiert:IStackMapFrame
Answer back the offset delta.This is not defined only for the frame types SAME and SAME_LOCALS_1_STACK_ITEM.
- Angegeben von:
getOffsetDelta
in SchnittstelleIStackMapFrame
- Gibt zurück:
- the offset delta
-
getStackItems
Beschreibung aus Schnittstelle kopiert:IStackMapFrame
Answer back the verification infos for the stack items.- Angegeben von:
getStackItems
in SchnittstelleIStackMapFrame
- Gibt zurück:
- the verification infos for the stack items
-