edu.umd.cs.findbugs.visitclass

Class LVTHelper

public class LVTHelper extends Object

Eases access to a BCEL LocalVariable object
Method Summary
static LocalVariablegetLocalVariableAtPC(LocalVariableTable lvt, int index, int pc)
returns the local variable at an index int the scope of PC

Method Detail

getLocalVariableAtPC

public static LocalVariable getLocalVariableAtPC(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

FindBugs™ is licenced under the LGPL. Copyright © 2006 University of Maryland.