Search in sources :

Example 1 with TypeList

use of com.android.dex.TypeList in project jadx by skylot.

the class DexNode method readParamList.

public List<ArgType> readParamList(int parametersOffset) {
    TypeList paramList = dexBuf.readTypeList(parametersOffset);
    List<ArgType> args = new ArrayList<ArgType>(paramList.getTypes().length);
    for (short t : paramList.getTypes()) {
        args.add(getType(t));
    }
    return Collections.unmodifiableList(args);
}
Also used : ArgType(jadx.core.dex.instructions.args.ArgType) ArrayList(java.util.ArrayList) TypeList(com.android.dex.TypeList)

Aggregations

TypeList (com.android.dex.TypeList)1 ArgType (jadx.core.dex.instructions.args.ArgType)1 ArrayList (java.util.ArrayList)1