Class LocalVariable
java.lang.Object
de.inetsoftware.classparser.LocalVariable
- Author:
- Volker Berlin
-
Method Summary
Modifier and TypeMethodDescriptionintgetIndex()Get the index in the local variable table (memory location/slot).intGet the code position length within the local variable has a value.getName()Get the name of the variableGet the type/signature of the variableintGet the code position within the local variable has a value.
-
Method Details
-
getIndex
public int getIndex()Get the index in the local variable table (memory location/slot).- Returns:
- the index.
-
getName
-
getSignature
-
getStartPosition
public int getStartPosition()Get the code position within the local variable has a value. The first set operation to the variable will start before this position.- Returns:
- the position.
-
getLengthPosition
public int getLengthPosition()Get the code position length within the local variable has a value.- Returns:
- the length
-