Method method, int local, int position1, int position2) {  LocalVariableTable localVariableTable = method.getLocalVariableTable(); String localName = "?"; if (localVariableTable != null) { LocalVariable lv1 = localVariableTable.getLocalVariable(local, position1); if (lv1 == null) { lv1 = localVariableTable.getLocalVariable(local, position2); position1 = position2; } if (lv1 != null) localName = lv1.getName(); } return new LocalVariableAnnotation(localName, local, position1);
Method method, Location location, IndexedInstruction ins) { int local = ins.getIndex(); InstructionHandle handle = location.getHandle(); int position1 = handle.getNext().getPosition(); int position2 = handle.getPosition(); return getLocalVariableAnnotation(method, local, position1, position2);
	public static LocalVariableAnnotation getLocalVariableAnnotation(			Method method, int local, int position1, int position2) {		LocalVariableTable localVariableTable = method.getLocalVariableTable();		String localName = "?";		if (localVariableTable != null) {			LocalVariable lv1 = localVariableTable.getLocalVariable(local, position1);			if (lv1 == null) {				lv1 = localVariableTable.getLocalVariable(local, position2);				position1 = position2;			}			if (lv1 != null) localName = lv1.getName();		}		return new LocalVariableAnnotation(localName, local, position1);	}