Tabnine Logo
Prototype.getDescriptor
Code IndexAdd Tabnine to your IDE (free)

How to use
getDescriptor
method
in
com.android.dx.rop.type.Prototype

Best Java code snippets using com.android.dx.rop.type.Prototype.getDescriptor (Showing top 12 results out of 315)

origin: nikita36078/J2ME-Loader

/** {@inheritDoc} */
@Override
public String toHuman() {
  return prototype.getDescriptor();
}
origin: com.jakewharton.android.repackaged/dalvik-dx

/** {@inheritDoc} */
@Override
public String toHuman() {
  return prototype.getDescriptor();
}
origin: nikita36078/J2ME-Loader

@Override
public String toString() {
  return prototype.getDescriptor();
}
origin: com.android.tools.build/builder

  /**
   * Puts the given instance in the intern table if it's not already
   * there. If a conflicting value is already in the table, then leave it.
   * Return the interned value.
   *
   * @param desc {@code non-null;} instance to make interned
   * @return {@code non-null;} the actual interned object
   */
  private static Prototype putIntern(Prototype desc) {
    Prototype result = internTable.putIfAbsent(desc.getDescriptor(), desc);
    return result != null ? result : desc;
  }
}
origin: nikita36078/J2ME-Loader

  /**
   * Puts the given instance in the intern table if it's not already
   * there. If a conflicting value is already in the table, then leave it.
   * Return the interned value.
   *
   * @param desc {@code non-null;} instance to make interned
   * @return {@code non-null;} the actual interned object
   */
  private static Prototype putIntern(Prototype desc) {
    Prototype result = internTable.putIfAbsent(desc.getDescriptor(), desc);
    return result != null ? result : desc;
  }
}
origin: com.jakewharton.android.repackaged/dalvik-dx

  /**
   * Puts the given instance in the intern table if it's not already
   * there. If a conflicting value is already in the table, then leave it.
   * Return the interned value.
   *
   * @param desc {@code non-null;} instance to make interned
   * @return {@code non-null;} the actual interned object
   */
  private static Prototype putIntern(Prototype desc) {
    Prototype result = internTable.putIfAbsent(desc.getDescriptor(), desc);
    return result != null ? result : desc;
  }
}
origin: nikita36078/J2ME-Loader

  @Override
  protected int compareTo0(Constant other) {
    return prototype.getDescriptor().compareTo(
      ((CstMethodType) other).getValue().getDescriptor());
  }
}
origin: com.google.dexmaker/dexmaker-dx

  /**
   * Puts the given instance in the intern table if it's not already
   * there. If a conflicting value is already in the table, then leave it.
   * Return the interned value.
   *
   * @param desc {@code non-null;} instance to make interned
   * @return {@code non-null;} the actual interned object
   */
  private static Prototype putIntern(Prototype desc) {
    synchronized (internTable) {
      String descriptor = desc.getDescriptor();
      Prototype already = internTable.get(descriptor);
      if (already != null) {
        return already;
      }
      internTable.put(descriptor, desc);
      return desc;
    }
  }
}
origin: dragome/dragome-sdk

  /**
   * Puts the given instance in the intern table if it's not already
   * there. If a conflicting value is already in the table, then leave it.
   * Return the interned value.
   * 
   * @param desc {@code non-null;} instance to make interned
   * @return {@code non-null;} the actual interned object
   */
  private static Prototype putIntern(Prototype desc) {
    synchronized (internTable) {
      String descriptor = desc.getDescriptor();
      Prototype already = internTable.get(descriptor);
      if (already != null) {
        return already;
      }
      internTable.put(descriptor, desc);
      return desc;
    }
  }
}
origin: com.google.android.tools/dx

  /**
   * Puts the given instance in the intern table if it's not already
   * there. If a conflicting value is already in the table, then leave it.
   * Return the interned value.
   *
   * @param desc {@code non-null;} instance to make interned
   * @return {@code non-null;} the actual interned object
   */
  private static Prototype putIntern(Prototype desc) {
    synchronized (internTable) {
      String descriptor = desc.getDescriptor();
      Prototype already = internTable.get(descriptor);
      if (already != null) {
        return already;
      }
      internTable.put(descriptor, desc);
      return desc;
    }
  }
}
origin: gdpancheng/LoonAndroid3

  /**
   * Puts the given instance in the intern table if it's not already
   * there. If a conflicting value is already in the table, then leave it.
   * Return the interned value.
   *
   * @param desc {@code non-null;} instance to make interned
   * @return {@code non-null;} the actual interned object
   */
  private static Prototype putIntern(Prototype desc) {
    synchronized (internTable) {
      String descriptor = desc.getDescriptor();
      Prototype already = internTable.get(descriptor);
      if (already != null) {
        return already;
      }
      internTable.put(descriptor, desc);
      return desc;
    }
  }
}
origin: com.android/dx

  /**
   * Puts the given instance in the intern table if it's not already
   * there. If a conflicting value is already in the table, then leave it.
   * Return the interned value.
   *
   * @param desc {@code non-null;} instance to make interned
   * @return {@code non-null;} the actual interned object
   */
  private static Prototype putIntern(Prototype desc) {
    synchronized (internTable) {
      String descriptor = desc.getDescriptor();
      Prototype already = internTable.get(descriptor);
      if (already != null) {
        return already;
      }
      internTable.put(descriptor, desc);
      return desc;
    }
  }
}
com.android.dx.rop.typePrototypegetDescriptor

Javadoc

Gets the descriptor string.

Popular methods of Prototype

  • intern
    Interns an instance, adding to the descriptor as necessary based on the given definer, name, and fla
  • getParameterTypes
    Gets the list of parameter types.
  • getReturnType
    Gets the return type.
  • <init>
    Constructs an instance. This is a private constructor; use one of the public static methods to get i
  • compareTo
  • getParameterFrameTypes
    Gets the list of frame types corresponding to the list of parameter types. The difference between th
  • makeParameterArray
    Helper for #intern which returns an empty array to populate with parsed parameter types, and which a
  • putIntern
    Puts the given instance in the intern table if it's not already there. If a conflicting value is alr
  • withFirstParameter
    Returns a new interned instance, which is the same as this instance, except that it has an additiona
  • internInts
    Interns an instance which consists of the given number of ints along with the given return type
  • clearInternTable
  • equals
  • clearInternTable,
  • equals,
  • fromDescriptor,
  • hashCode,
  • toString

Popular in Java

  • Updating database using SQL prepared statement
  • orElseThrow (Optional)
    Return the contained value, if present, otherwise throw an exception to be created by the provided s
  • getExternalFilesDir (Context)
  • scheduleAtFixedRate (ScheduledExecutorService)
  • MalformedURLException (java.net)
    This exception is thrown when a program attempts to create an URL from an incorrect specification.
  • Connection (java.sql)
    A connection represents a link from a Java application to a database. All SQL statements and results
  • Time (java.sql)
    Java representation of an SQL TIME value. Provides utilities to format and parse the time's represen
  • Dictionary (java.util)
    Note: Do not use this class since it is obsolete. Please use the Map interface for new implementatio
  • Timer (java.util)
    Timers schedule one-shot or recurring TimerTask for execution. Prefer java.util.concurrent.Scheduled
  • JCheckBox (javax.swing)
  • CodeWhisperer alternatives
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