de.fub.bytecode.classfile
Class StackMapEntry
java.lang.Object
|
+--de.fub.bytecode.classfile.StackMapEntry
- All Implemented Interfaces:
- java.lang.Cloneable
- public final class StackMapEntry
- extends java.lang.Object
- implements java.lang.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.
- Version:
- $Id: StackMapEntry.java,v 1.2 2001/08/02 12:44:54 dahm Exp $
- Author:
- M. Dahm
- See Also:
StackMap
,
StackMapType
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
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)
dump
public final void dump(java.io.DataOutputStream file)
throws java.io.IOException
- Dump stack map entry
- Parameters:
file
- Output file stream
toString
public final java.lang.String toString()
- Overrides:
toString
in class java.lang.Object
- Returns:
- String representation.
setByteCodeOffset
public void setByteCodeOffset(int b)
getByteCodeOffset
public int getByteCodeOffset()
setNumberOfLocals
public void setNumberOfLocals(int n)
getNumberOfLocals
public int getNumberOfLocals()
setTypesOfLocals
public void setTypesOfLocals(StackMapType[] t)
getTypesOfLocals
public StackMapType[] getTypesOfLocals()
setNumberOfStackItems
public void setNumberOfStackItems(int n)
getNumberOfStackItems
public int getNumberOfStackItems()
setTypesOfStackItems
public void setTypesOfStackItems(StackMapType[] t)
getTypesOfStackItems
public StackMapType[] getTypesOfStackItems()
copy
public StackMapEntry copy()
- Returns:
- deep copy of this object