Codota Logo
Prototype.getParameterTypes
Code IndexAdd Codota 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)

  • Common ways to obtain Prototype
private void myMethod () {
Prototype p =
  • Codota IconString descriptor;Prototype.intern(descriptor)
  • Codota IconCstMethodRef ref;ref.getPrototype()
  • Codota IconConcreteMethod method;method.getEffectiveDescriptor()
  • Smart code suggestions by Codota
}
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.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/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
  • runOnUiThread (Activity)
  • requestLocationUpdates (LocationManager)
  • notifyDataSetChanged (ArrayAdapter)
  • GridBagLayout (java.awt)
    The GridBagLayout class is a flexible layout manager that aligns components vertically and horizonta
  • Collection (java.util)
    Collection is the root of the collection hierarchy. It defines operations on data collections and t
  • Vector (java.util)
    The Vector class implements a growable array of objects. Like an array, it contains components that
  • Callable (java.util.concurrent)
    A task that returns a result and may throw an exception. Implementors define a single method with no
  • Handler (java.util.logging)
    A Handler object accepts a logging request and exports the desired messages to a target, for example
  • JButton (javax.swing)
Codota Logo
  • Products

    Search for Java codeSearch for JavaScript codeEnterprise
  • IDE Plugins

    IntelliJ IDEAWebStormAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimAtomGoLandRubyMineEmacsJupyter
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogCodota Academy Plugin user guide Terms of usePrivacy policyJava Code IndexJavascript Code Index
Get Codota for your IDE now