org.codehaus.janino
Class Java.LocalVariableSlot
java.lang.Object
org.codehaus.janino.Java.LocalVariableSlot
- Enclosing class:
- Java
public static class Java.LocalVariableSlot
- extends java.lang.Object
All local variables have a slot number, local variables that get written into the localvariabletable
also have a start and end offset that defines the variable's extent in the bytecode. If the name is null,
or variable debugging is not on, then the variable won't be written into the localvariabletable and the
offsets can be ignored.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Java.LocalVariableSlot
public Java.LocalVariableSlot(java.lang.String name,
short slotNumber,
IClass type)
toString
public java.lang.String toString()
- Overrides:
toString
in class java.lang.Object
getSlotIndex
public short getSlotIndex()
setSlotIndex
public void setSlotIndex(short slotIndex)
getName
public java.lang.String getName()
setName
public void setName(java.lang.String name)
getStart
public CodeContext.Offset getStart()
setStart
public void setStart(CodeContext.Offset start)
getEnd
public CodeContext.Offset getEnd()
setEnd
public void setEnd(CodeContext.Offset end)
getType
public IClass getType()
Copyright © 2001-2012. All Rights Reserved.