Class LVTHelper


  • public class LVTHelper
    extends java.lang.Object
    Eases access to a BCEL LocalVariable object
    • Constructor Summary

      Constructors 
      Constructor Description
      LVTHelper()  
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static org.apache.bcel.classfile.LocalVariable getLocalVariableAtPC​(org.apache.bcel.classfile.LocalVariableTable lvt, int index, int pc)
      returns the local variable at an index int the scope of PC
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • LVTHelper

        public LVTHelper()
    • Method Detail

      • 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