congrats Icon
New! Announcing Tabnine Chat Beta
Learn More
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

  • Running tasks concurrently on multiple threads
  • getSystemService (Context)
  • orElseThrow (Optional)
    Return the contained value, if present, otherwise throw an exception to be created by the provided s
  • scheduleAtFixedRate (Timer)
  • Point (java.awt)
    A point representing a location in (x,y) coordinate space, specified in integer precision.
  • OutputStream (java.io)
    A writable sink for bytes.Most clients will use output streams that write data to the file system (
  • Runnable (java.lang)
    Represents a command that can be executed. Often used to run code in a different Thread.
  • URI (java.net)
    A Uniform Resource Identifier that identifies an abstract or physical resource, as specified by RFC
  • UUID (java.util)
    UUID is an immutable representation of a 128-bit universally unique identifier (UUID). There are mul
  • JPanel (javax.swing)
  • 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