Package edu.umd.cs.findbugs.visitclass
Class LVTHelper
- java.lang.Object
-
- edu.umd.cs.findbugs.visitclass.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
-
-
-
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 tableindex
- the variable indexpc
- the PC where the variable is used
-
-