Klasse StackMapEntry
java.lang.Object
org.aspectj.apache.bcel.classfile.StackMapEntry
- Alle implementierten Schnittstellen:
Cloneable
This class represents a stack map entry recording the types of
local variables and the the of stack items at a given byte code offset.
See CLDC specification 5.3.1.2
- Version:
- $Id: StackMapEntry.java,v 1.5 2008/05/28 23:53:02 aclement Exp $
- Autor:
- M. Dahm
- Siehe auch:
-
Konstruktorübersicht
KonstruktorBeschreibungStackMapEntry
(int byte_code_offset, int number_of_locals, StackMapType[] types_of_locals, int number_of_stack_items, StackMapType[] types_of_stack_items, ConstantPool constant_pool) -
Methodenübersicht
Modifizierer und TypMethodeBeschreibungvoid
Called by objects that are traversing the nodes of the tree implicitely defined by the contents of a Java class.copy()
final void
dump
(DataOutputStream file) Dump stack map entryint
final ConstantPool
int
int
void
setByteCodeOffset
(int b) final void
setConstantPool
(ConstantPool constant_pool) void
setNumberOfLocals
(int n) void
setNumberOfStackItems
(int n) void
void
final String
toString()
-
Konstruktordetails
-
StackMapEntry
public StackMapEntry(int byte_code_offset, int number_of_locals, StackMapType[] types_of_locals, int number_of_stack_items, StackMapType[] types_of_stack_items, ConstantPool constant_pool)
-
-
Methodendetails
-
dump
Dump stack map entry- Parameter:
file
- Output file stream- Löst aus:
IOException
-
toString
-
setByteCodeOffset
public void setByteCodeOffset(int b) -
getByteCodeOffset
public int getByteCodeOffset() -
setNumberOfLocals
public void setNumberOfLocals(int n) -
getNumberOfLocals
public int getNumberOfLocals() -
setTypesOfLocals
-
getTypesOfLocals
-
setNumberOfStackItems
public void setNumberOfStackItems(int n) -
getNumberOfStackItems
public int getNumberOfStackItems() -
setTypesOfStackItems
-
getTypesOfStackItems
-
copy
- Gibt zurück:
- deep copy of this object
-
accept
Called by objects that are traversing the nodes of the tree implicitely defined by the contents of a Java class. I.e., the hierarchy of methods, fields, attributes, etc. spawns a tree of objects.- Parameter:
v
- Visitor object
-
getConstantPool
- Gibt zurück:
- Constant pool used by this object.
-
setConstantPool
- Parameter:
constant_pool
- Constant pool to be used for this object.
-