Class LocalVariableTable

java.lang.Object
de.inetsoftware.classparser.LocalVariableTable

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

    • getMaxLocals

      public int getMaxLocals()
      Get the count of variables/slots. This is not the count of declared LocalVariable in this table. There can be unnamed helper variables for the compiler which are not in the table. There can be reused slots for different variables.
      Returns:
      the count
    • getTable

      public LocalVariable[] getTable()
      Get the declared local variables
      Returns:
      the variables