int end_pc = start_pc + din.readUnsignedShort() + 1;
int name_index = din.readUnsignedShort();
int descriptor_index = din.readUnsignedShort();
final int index = din.readUnsignedShort();
final ConstantUTFInfo varName = (ConstantUTFInfo)cp.getConstant(name_index);
final ConstantUTFInfo varDesc = (ConstantUTFInfo)cp.getConstant(descriptor_index);
if (varDesc == null) {
continue;
}
final Location startLocation = new FixedLocation(start_pc);
final Location endLocation = new FixedLocation(end_pc);
final Set<LocationRange> ranges = Collections
.singleton((LocationRange) new LocationRangeImpl(startLocation, endLocation));
LocalVariable localVar = new LocalVariable() {
private String mName;
private TypeDesc mType;
{
mName = varName == null ? null : varName.getValue();
mType = TypeDesc.forDescriptor(varDesc.getValue());
}
public String getName() {
return mName;
}