Class LocalVariable

java.lang.Object
de.inetsoftware.classparser.LocalVariable

public class LocalVariable extends Object
Author:
Volker Berlin
  • Method Details

    • getIndex

      public int getIndex()
      Get the index in the local variable table (memory location/slot).
      Returns:
      the index.
    • getName

      public String getName()
      Get the name of the variable
      Returns:
      the name
    • getSignature

      public String getSignature()
      Get the type/signature of the variable
      Returns:
      the signature
    • 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