public MethodReference[] getExactMethods() { MethodReference[] result = new MethodReference[exactMethods.length]; for (int i = 0; i < result.length; ++i) { result[i] = getExactMethod(i); } return result; }
public MethodReference[] getDirectOverridingMethods(MethodReference methodRef) { Integer methodIndex = getExactMethodIndex(methodRef); if (methodIndex == null) { return new MethodReference[0]; } int start = methodTree.offsets[methodIndex]; int end = methodTree.offsets[methodIndex + 1]; MethodReference[] result = new MethodReference[end - start]; for (int i = 0; i < result.length; ++i) { result[i] = getExactMethod(methodTree.data[i]); } return result; }
public MethodReference[] getDirectOverridingMethods(MethodReference methodRef) { Integer methodIndex = getExactMethodIndex(methodRef); if (methodIndex == null) { return new MethodReference[0]; } int start = methodTree.offsets[methodIndex]; int end = methodTree.offsets[methodIndex + 1]; MethodReference[] result = new MethodReference[end - start]; for (int i = 0; i < result.length; ++i) { result[i] = getExactMethod(methodTree.data[i]); } return result; }
public MethodReference getExactMethod() { int methodId = getExactMethodId(); return methodId >= 0 ? debugInformation.getExactMethod(getExactMethodId()) : null; }
private DebuggerCallSite getCallSite(int index) { RecordArray.Record record = callSiteMapping.get(index); int type = record.get(2); int method = record.get(3); switch (type) { case DebuggerCallSite.NONE: return null; case DebuggerCallSite.STATIC: return new DebuggerStaticCallSite(getExactMethod(method)); case DebuggerCallSite.VIRTUAL: return new DebuggerVirtualCallSite(getExactMethod(method)); default: throw new AssertionError("Unrecognized call site type: " + type); } }
public MethodReference[] getExactMethods() { MethodReference[] result = new MethodReference[exactMethods.length]; for (int i = 0; i < result.length; ++i) { result[i] = getExactMethod(i); } return result; }
public MethodReference getExactMethod() { int methodId = getExactMethodId(); return methodId >= 0 ? debugInformation.getExactMethod(getExactMethodId()) : null; }
private DebuggerCallSite getCallSite(int index) { RecordArray.Record record = callSiteMapping.get(index); int type = record.get(2); int method = record.get(3); switch (type) { case DebuggerCallSite.NONE: return null; case DebuggerCallSite.STATIC: return new DebuggerStaticCallSite(getExactMethod(method)); case DebuggerCallSite.VIRTUAL: return new DebuggerVirtualCallSite(getExactMethod(method)); default: throw new AssertionError("Unrecognized call site type: " + type); } }