INNER CODE UNIT · Java

getMethodRefs

KeepSafe/dexcount-gradle-plugin · src/main/java/com/android/dexdeps/DexData.java:434

    public MethodRef[] getMethodRefs() {
        MethodRef[] methodRefs = new MethodRef[mMethodIds.length];
        for (int i = 0; i < mMethodIds.length; i++) {
            MethodIdItem methodId = mMethodIds[i];
            methodRefs[i] = new MethodRef(
                    classNameFromTypeIndex(methodId.classIdx),
                    argArrayFromProtoIndex(methodId.protoIdx),
                    returnTypeFromProtoIndex(methodId.protoIdx),
                    mStrings[methodId.nameIdx]);
        }
        return methodRefs;
    }

    public FieldRef[] getFieldRefs() {
        FieldRef[] fieldRefs = new FieldRef[mFieldIds.length];
        for (int i = 0; i < mFieldIds.length; i++) {
            FieldIdItem fieldId = mFieldIds[i];
            fieldRefs[i] = new FieldRef(

View source record →

📰 Research Paper
Loading…
⏳ Fetching content…