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

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

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

origin: dodola/RocooFix

private void checkPrototype(Prototype proto) {
 checkDescriptor(proto.getReturnType().getDescriptor());
 StdTypeList args = proto.getParameterTypes();
 for (int i = 0; i < args.size(); i++) {
   checkDescriptor(args.get(i).getDescriptor());
 }
}
private void checkDescriptor(String typeDescriptor) {
origin: dodola/RocooFix

private void addDependencies(ConstantPool pool) {
  for (Constant constant : pool.getEntries()) {
    if (constant instanceof CstType) {
      checkDescriptor(((CstType) constant).getClassType());
    } else if (constant instanceof CstFieldRef) {
      checkDescriptor(((CstFieldRef) constant).getType());
    } else if (constant instanceof CstMethodRef) {
      Prototype proto = ((CstMethodRef) constant).getPrototype();
      checkDescriptor(proto.getReturnType());
      StdTypeList args = proto.getParameterTypes();
      for (int i = 0; i < args.size(); i++) {
        checkDescriptor(args.get(i));
      }
    }
  }
}
origin: nikita36078/J2ME-Loader

/**
 * Gets the register that begins the method's parameter range (including
 * the 'this' parameter for non-static methods). The range continues until
 * {@code regSize}
 *
 * @return register as noted above.
 */
private int getParamBase() {
  return regSize
      - desc.getParameterTypes().getWordCount() - (isStatic? 0 : 1);
}
origin: com.google.android.tools/dx

/**
 * Gets the register that begins the method's parameter range (including
 * the 'this' parameter for non-static methods). The range continues until
 * {@code regSize}
 *
 * @return register as noted above
 */
private int getParamBase() {
  return regSize
      - desc.getParameterTypes().getWordCount() - (isStatic? 0 : 1);
}
origin: com.google.android.tools/dx

/**
 * Gets the register that begins the method's parameter range (including
 * the 'this' parameter for non-static methods). The range continues until
 * {@code regSize}
 *
 * @return register as noted above.
 */
private int getParamBase() {
  return regSize
      - desc.getParameterTypes().getWordCount() - (isStatic? 0 : 1);
}
origin: com.android/dx

/**
 * Gets the register that begins the method's parameter range (including
 * the 'this' parameter for non-static methods). The range continues until
 * {@code regSize}
 *
 * @return register as noted above.
 */
private int getParamBase() {
  return regSize
      - desc.getParameterTypes().getWordCount() - (isStatic? 0 : 1);
}
origin: nikita36078/J2ME-Loader

/**
 * Gets the register that begins the method's parameter range (including
 * the 'this' parameter for non-static methods). The range continues until
 * {@code regSize}
 *
 * @return register as noted above
 */
private int getParamBase() {
  return regSize
      - desc.getParameterTypes().getWordCount() - (isStatic? 0 : 1);
}
origin: dragome/dragome-sdk

/**
 * Gets the register that begins the method's parameter range (including
 * the 'this' parameter for non-static methods). The range continues until
 * {@code regSize}
 *
 * @return register as noted above
 */
private int getParamBase() {
  return regSize
      - desc.getParameterTypes().getWordCount() - (isStatic? 0 : 1);
}
origin: dragome/dragome-sdk

/**
 * Gets the register that begins the method's parameter range (including
 * the 'this' parameter for non-static methods). The range continues until
 * {@code regSize}
 *
 * @return register as noted above.
 */
private int getParamBase() {
  return regSize
      - desc.getParameterTypes().getWordCount() - (isStatic? 0 : 1);
}
origin: com.android.tools.build/builder

/**
 * Gets the register that begins the method's parameter range (including
 * the 'this' parameter for non-static methods). The range continues until
 * {@code regSize}
 *
 * @return register as noted above.
 */
private int getParamBase() {
  return regSize
      - desc.getParameterTypes().getWordCount() - (isStatic? 0 : 1);
}
origin: com.android/dx

/**
 * Gets the register that begins the method's parameter range (including
 * the 'this' parameter for non-static methods). The range continues until
 * {@code regSize}
 *
 * @return register as noted above
 */
private int getParamBase() {
  return regSize
      - desc.getParameterTypes().getWordCount() - (isStatic? 0 : 1);
}
origin: com.google.dexmaker/dexmaker-dx

/**
 * Gets the register that begins the method's parameter range (including
 * the 'this' parameter for non-static methods). The range continues until
 * {@code regSize}
 *
 * @return register as noted above.
 */
private int getParamBase() {
  return regSize
      - desc.getParameterTypes().getWordCount() - (isStatic? 0 : 1);
}
origin: com.android.tools.build/builder

/**
 * Gets the register that begins the method's parameter range (including
 * the 'this' parameter for non-static methods). The range continues until
 * {@code regSize}
 *
 * @return register as noted above
 */
private int getParamBase() {
  return regSize
      - desc.getParameterTypes().getWordCount() - (isStatic? 0 : 1);
}
origin: com.jakewharton.android.repackaged/dalvik-dx

/**
 * Gets the register that begins the method's parameter range (including
 * the 'this' parameter for non-static methods). The range continues until
 * {@code regSize}
 *
 * @return register as noted above
 */
private int getParamBase() {
  return regSize
      - desc.getParameterTypes().getWordCount() - (isStatic? 0 : 1);
}
origin: com.android/dx

/**
 * Computes the total width, in register-units, of the parameters for
 * this method.
 * @param meth method to process
 * @return width in register-units
 */
static int computeParamWidth(ConcreteMethod meth, boolean isStatic) {
  return meth.getEffectiveDescriptor().getParameterTypes().
    getWordCount();
}
origin: com.android.tools.build/builder

/**
 * Computes the total width, in register-units, of the parameters for
 * this method.
 * @param meth method to process
 * @return width in register-units
 */
static int computeParamWidth(ConcreteMethod meth, boolean isStatic) {
  return meth.getEffectiveDescriptor().getParameterTypes().
    getWordCount();
}
origin: com.jakewharton.android.repackaged/dalvik-dx

/**
 * Sets up the first frame to contain all the incoming parameters in
 * locals.
 */
private void setFirstFrame() {
  Prototype desc = method.getEffectiveDescriptor();
  startFrames[0].initializeWithParameters(desc.getParameterTypes());
  startFrames[0].setImmutable();
}
origin: com.android.tools.build/builder

/**
 * Sets up the first frame to contain all the incoming parameters in
 * locals.
 */
private void setFirstFrame() {
  Prototype desc = method.getEffectiveDescriptor();
  startFrames[0].initializeWithParameters(desc.getParameterTypes());
  startFrames[0].setImmutable();
}
origin: nikita36078/J2ME-Loader

/**
 * Sets up the first frame to contain all the incoming parameters in
 * locals.
 */
private void setFirstFrame() {
  Prototype desc = method.getEffectiveDescriptor();
  startFrames[0].initializeWithParameters(desc.getParameterTypes());
  startFrames[0].setImmutable();
}
origin: com.jakewharton.android.repackaged/dalvik-dx

private void checkPrototype(Prototype proto) {
 checkDescriptor(proto.getReturnType().getDescriptor());
 StdTypeList args = proto.getParameterTypes();
 for (int i = 0; i < args.size(); i++) {
   checkDescriptor(args.get(i).getDescriptor());
 }
}
com.android.dx.rop.typePrototypegetParameterTypes

Javadoc

Gets the list of parameter types.

Popular methods of Prototype

  • intern
    Interns an instance, adding to the descriptor as necessary based on the given definer, name, and fla
  • 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
  • getDescriptor
    Gets the descriptor string.
  • 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

  • Start an intent from android
  • requestLocationUpdates (LocationManager)
  • getSharedPreferences (Context)
  • onCreateOptionsMenu (Activity)
  • Table (com.google.common.collect)
    A collection that associates an ordered pair of keys, called a row key and a column key, with a sing
  • HttpURLConnection (java.net)
    An URLConnection for HTTP (RFC 2616 [http://tools.ietf.org/html/rfc2616]) used to send and receive d
  • Collections (java.util)
    This class consists exclusively of static methods that operate on or return collections. It contains
  • Date (java.util)
    A specific moment in time, with millisecond precision. Values typically come from System#currentTime
  • SortedMap (java.util)
    A map that has its keys ordered. The sorting is according to either the natural ordering of its keys
  • Stream (java.util.stream)
    A sequence of elements supporting sequential and parallel aggregate operations. The following exampl
  • Best IntelliJ plugins
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