com.go.trove.classfile
Interface LocalVariable
- public interface LocalVariable
- Version:
- 14 , 9/07/00
- Author:
- Brian S O'Neill
- See Also:
CodeBuilder.createLocalVariable(java.lang.String, com.go.trove.classfile.TypeDescriptor)
getName
public java.lang.String getName()
- May return null if this LocalVariable is unnamed.
setName
public void setName(java.lang.String name)
getType
public TypeDescriptor getType()
isDoubleWord
public boolean isDoubleWord()
getNumber
public int getNumber()
- Returns the number used by this LocalVariable, or -1 if not yet
resolved.
getLocationRangeSet
public java.util.SortedSet getLocationRangeSet()
- Returns the ranges for which this variable is used. This is optional
information, and null may be returned.
- Returns:
- an unmodifiable set of
LocationRange objects.