Tabnine Logo
TypeList
Code IndexAdd Tabnine to your IDE (free)

How to use
TypeList
in
com.android.dex

Best Java code snippets using com.android.dex.TypeList (Showing top 12 results out of 315)

origin: skylot/jadx

public List<ArgType> readParamList(int parametersOffset) {
  TypeList paramList = dexBuf.readTypeList(parametersOffset);
  List<ArgType> args = new ArrayList<>(paramList.getTypes().length);
  for (short t : paramList.getTypes()) {
    args.add(getType(t));
  }
  return Collections.unmodifiableList(args);
}
origin: com.jakewharton.android.repackaged/dalvik-dx

public TypeList adjustTypeList(TypeList typeList) {
  if (typeList == TypeList.EMPTY) {
    return typeList;
  }
  short[] types = typeList.getTypes().clone();
  for (int i = 0; i < types.length; i++) {
    types[i] = (short) adjustType(types[i]);
  }
  return new TypeList(target, types);
}
origin: com.android.tools.build/builder

public TypeList readTypeList() {
  int size = readInt();
  short[] types = readShortArray(size);
  alignToFourBytes();
  return new TypeList(Dex.this, types);
}
origin: com.android.tools.build/builder

public TypeList adjustTypeList(TypeList typeList) {
  if (typeList == TypeList.EMPTY) {
    return typeList;
  }
  short[] types = typeList.getTypes().clone();
  for (int i = 0; i < types.length; i++) {
    types[i] = (short) adjustType(types[i]);
  }
  return new TypeList(target, types);
}
origin: nikita36078/J2ME-Loader

public TypeList readTypeList() {
  int size = readInt();
  short[] types = readShortArray(size);
  alignToFourBytes();
  return new TypeList(Dex.this, types);
}
origin: com.android/dx

public TypeList adjustTypeList(TypeList typeList) {
  if (typeList == TypeList.EMPTY) {
    return typeList;
  }
  short[] types = typeList.getTypes().clone();
  for (int i = 0; i < types.length; i++) {
    types[i] = (short) adjustType(types[i]);
  }
  return new TypeList(target, types);
}
origin: nikita36078/J2ME-Loader

public short[] getInterfaces() {
  return buffer.readTypeList(interfacesOffset).getTypes();
}
origin: com.jakewharton.android.repackaged/dalvik-dx

public TypeList readTypeList() {
  int size = readInt();
  short[] types = readShortArray(size);
  alignToFourBytes();
  return new TypeList(Dex.this, types);
}
origin: com.android.tools.build/builder

public short[] getInterfaces() {
  return buffer.readTypeList(interfacesOffset).getTypes();
}
origin: com.jakewharton.android.repackaged/dalvik-dx

public short[] getInterfaces() {
  return buffer.readTypeList(interfacesOffset).getTypes();
}
origin: com.android.tools.build/builder

public void writeTypeList(TypeList typeList) {
  short[] types = typeList.getTypes();
  writeInt(types.length);
  for (short type : types) {
    writeShort(type);
  }
  alignToFourBytesWithZeroFill();
}
origin: com.jakewharton.android.repackaged/dalvik-dx

public void writeTypeList(TypeList typeList) {
  short[] types = typeList.getTypes();
  writeInt(types.length);
  for (short type : types) {
    writeShort(type);
  }
  alignToFourBytesWithZeroFill();
}
com.android.dexTypeList

Most used methods

  • getTypes
  • <init>

Popular in Java

  • Parsing JSON documents to java classes using gson
  • notifyDataSetChanged (ArrayAdapter)
  • orElseThrow (Optional)
    Return the contained value, if present, otherwise throw an exception to be created by the provided s
  • getContentResolver (Context)
  • Timestamp (java.sql)
    A Java representation of the SQL TIMESTAMP type. It provides the capability of representing the SQL
  • Calendar (java.util)
    Calendar is an abstract base class for converting between a Date object and a set of integer fields
  • Queue (java.util)
    A collection designed for holding elements prior to processing. Besides basic java.util.Collection o
  • Stack (java.util)
    Stack is a Last-In/First-Out(LIFO) data structure which represents a stack of objects. It enables u
  • BoxLayout (javax.swing)
  • JFileChooser (javax.swing)
  • Top 12 Jupyter Notebook extensions
Tabnine Logo
  • Products

    Search for Java codeSearch for JavaScript code
  • IDE Plugins

    IntelliJ IDEAWebStormVisual StudioAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimGoLandRubyMineEmacsJupyter NotebookJupyter LabRiderDataGripAppCode
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogTabnine AcademyTerms of usePrivacy policyJava Code IndexJavascript Code Index
Get Tabnine for your IDE now