Fix typo in DexBackedMethodEncodedValue

This commit is contained in:
Ben Gruver 2018-01-31 11:47:47 -08:00
parent 88ece20f9f
commit 2215e031bf

View File

@ -41,14 +41,14 @@ import javax.annotation.Nonnull;
public class DexBackedMethodEncodedValue extends BaseMethodEncodedValue { public class DexBackedMethodEncodedValue extends BaseMethodEncodedValue {
@Nonnull public final DexBackedDexFile dexFile; @Nonnull public final DexBackedDexFile dexFile;
private final int MethodIndex; private final int methodIndex;
public DexBackedMethodEncodedValue(@Nonnull DexReader reader, int valueArg) { public DexBackedMethodEncodedValue(@Nonnull DexReader reader, int valueArg) {
this.dexFile = reader.dexBuf; this.dexFile = reader.dexBuf;
MethodIndex = reader.readSizedSmallUint(valueArg + 1); methodIndex = reader.readSizedSmallUint(valueArg + 1);
} }
@Nonnull @Override public MethodReference getValue() { @Nonnull @Override public MethodReference getValue() {
return new DexBackedMethodReference(dexFile, MethodIndex); return new DexBackedMethodReference(dexFile, methodIndex);
} }
} }