Tabnine Logo
ClassData$Field
Code IndexAdd Tabnine to your IDE (free)

How to use
ClassData$Field
in
com.android.dex

Best Java code snippets using com.android.dex.ClassData$Field (Showing top 10 results out of 315)

origin: com.android/dx

int fieldIndex = field.getFieldIndex();
if (fieldIds.contains(fieldIndex)) {
  out.println(location() + " field declared " + dex.fieldIds().get(fieldIndex));
origin: com.jakewharton.android.repackaged/dalvik-dx

int fieldIndex = field.getFieldIndex();
if (fieldIds.contains(fieldIndex)) {
  out.println(location() + " field declared " + dex.fieldIds().get(fieldIndex));
origin: com.android.tools.build/builder

int fieldIndex = field.getFieldIndex();
if (fieldIds.contains(fieldIndex)) {
  out.println(location() + " field declared " + dex.fieldIds().get(fieldIndex));
origin: com.jakewharton.android.repackaged/dalvik-dx

private ClassData.Field[] readFields(int count) {
  ClassData.Field[] result = new ClassData.Field[count];
  int fieldIndex = 0;
  for (int i = 0; i < count; i++) {
    fieldIndex += readUleb128(); // field index diff
    int accessFlags = readUleb128();
    result[i] = new ClassData.Field(fieldIndex, accessFlags);
  }
  return result;
}
origin: com.android.tools.build/builder

private ClassData.Field[] readFields(int count) {
  ClassData.Field[] result = new ClassData.Field[count];
  int fieldIndex = 0;
  for (int i = 0; i < count; i++) {
    fieldIndex += readUleb128(); // field index diff
    int accessFlags = readUleb128();
    result[i] = new ClassData.Field(fieldIndex, accessFlags);
  }
  return result;
}
origin: com.jakewharton.android.repackaged/dalvik-dx

private void transformFields(IndexMap indexMap, ClassData.Field[] fields) {
  int lastOutFieldIndex = 0;
  for (ClassData.Field field : fields) {
    int outFieldIndex = indexMap.adjustField(field.getFieldIndex());
    classDataOut.writeUleb128(outFieldIndex - lastOutFieldIndex);
    lastOutFieldIndex = outFieldIndex;
    classDataOut.writeUleb128(field.getAccessFlags());
  }
}
origin: nikita36078/J2ME-Loader

private ClassData.Field[] readFields(int count) {
  ClassData.Field[] result = new ClassData.Field[count];
  int fieldIndex = 0;
  for (int i = 0; i < count; i++) {
    fieldIndex += readUleb128(); // field index diff
    int accessFlags = readUleb128();
    result[i] = new ClassData.Field(fieldIndex, accessFlags);
  }
  return result;
}
origin: com.android.tools.build/builder

private void transformFields(IndexMap indexMap, ClassData.Field[] fields) {
  int lastOutFieldIndex = 0;
  for (ClassData.Field field : fields) {
    int outFieldIndex = indexMap.adjustField(field.getFieldIndex());
    classDataOut.writeUleb128(outFieldIndex - lastOutFieldIndex);
    lastOutFieldIndex = outFieldIndex;
    classDataOut.writeUleb128(field.getAccessFlags());
  }
}
origin: com.android/dx

private void transformFields(IndexMap indexMap, ClassData.Field[] fields) {
  int lastOutFieldIndex = 0;
  for (ClassData.Field field : fields) {
    int outFieldIndex = indexMap.adjustField(field.getFieldIndex());
    classDataOut.writeUleb128(outFieldIndex - lastOutFieldIndex);
    lastOutFieldIndex = outFieldIndex;
    classDataOut.writeUleb128(field.getAccessFlags());
  }
}
origin: skylot/jadx

public FieldNode(ClassNode cls, Field field) {
  this(cls, FieldInfo.fromDex(cls.dex(), field.getFieldIndex()),
      field.getAccessFlags());
}
com.android.dexClassData$Field

Most used methods

  • getAccessFlags
  • getFieldIndex
  • <init>

Popular in Java

  • Parsing JSON documents to java classes using gson
  • setContentView (Activity)
  • getSupportFragmentManager (FragmentActivity)
  • getApplicationContext (Context)
  • SocketException (java.net)
    This SocketException may be thrown during socket creation or setting options, and is the superclass
  • URL (java.net)
    A Uniform Resource Locator that identifies the location of an Internet resource as specified by RFC
  • Arrays (java.util)
    This class contains various methods for manipulating arrays (such as sorting and searching). This cl
  • Collection (java.util)
    Collection is the root of the collection hierarchy. It defines operations on data collections and t
  • GregorianCalendar (java.util)
    GregorianCalendar is a concrete subclass of Calendarand provides the standard calendar used by most
  • JFrame (javax.swing)
  • Top plugins for Android Studio
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