Class LVTHelper

java.lang.Object
edu.umd.cs.findbugs.visitclass.LVTHelper

public class LVTHelper extends Object
Eases access to a BCEL LocalVariable object
  • Constructor Details

    • LVTHelper

      public LVTHelper()
  • Method Details

    • getLocalVariableAtPC

      public static org.apache.bcel.classfile.LocalVariable getLocalVariableAtPC(@Nonnull org.apache.bcel.classfile.LocalVariableTable lvt, int index, int pc)
      returns the local variable at an index int the scope of PC
      Parameters:
      lvt - the local variable table
      index - the variable index
      pc - the PC where the variable is used