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

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

Best Java code snippets using com.android.dx.rop.type.Prototype.getReturnType (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: com.jakewharton.android.repackaged/dalvik-dx

/**
 * {@inheritDoc}
 *
 * In this case, this method returns the <i>return type</i> of this method.
 *
 * @return {@code non-null;} the method's return type
 */
@Override
public final Type getType() {
  return prototype.getReturnType();
}
origin: com.jakewharton.android.repackaged/dalvik-dx

/**
 * Gets the return type.
 *
 * @return {@code non-null;} the return type
 */
public Type getReturnType() {
  return prototype.getReturnType();
}
origin: gdpancheng/LoonAndroid3

/**
 * {@inheritDoc}
 *
 * In this case, this method returns the <i>return type</i> of this method.
 *
 * @return {@code non-null;} the method's return type
 */
public final Type getType() {
  return prototype.getReturnType();
}
origin: com.android.tools.build/builder

/**
 * {@inheritDoc}
 *
 * In this case, this method returns the <i>return type</i> of this method.
 *
 * @return {@code non-null;} the method's return type
 */
public final Type getType() {
  return prototype.getReturnType();
}
origin: com.google.dexmaker/dexmaker-dx

/**
 * {@inheritDoc}
 *
 * In this case, this method returns the <i>return type</i> of this method.
 *
 * @return {@code non-null;} the method's return type
 */
public final Type getType() {
  return prototype.getReturnType();
}
origin: nikita36078/J2ME-Loader

/**
 * {@inheritDoc}
 *
 * In this case, this method returns the <i>return type</i> of this method.
 *
 * @return {@code non-null;} the method's return type
 */
@Override
public final Type getType() {
  return prototype.getReturnType();
}
origin: com.google.android.tools/dx

/**
 * {@inheritDoc}
 *
 * In this case, this method returns the <i>return type</i> of this method.
 *
 * @return {@code non-null;} the method's return type
 */
public final Type getType() {
  return prototype.getReturnType();
}
origin: com.android/dx

/**
 * {@inheritDoc}
 *
 * In this case, this method returns the <i>return type</i> of this method.
 *
 * @return {@code non-null;} the method's return type
 */
public final Type getType() {
  return prototype.getReturnType();
}
origin: dragome/dragome-sdk

/**
 * {@inheritDoc}
 * 
 * In this case, this method returns the <i>return type</i> of this method.
 *
 * @return {@code non-null;} the method's return type
 */
public final Type getType() {
  return prototype.getReturnType();
}
origin: com.jakewharton.android.repackaged/dalvik-dx

/** {@inheritDoc} */
@Override
public void addContents(DexFile file) {
  StringIdsSection stringIds = file.getStringIds();
  TypeIdsSection typeIds = file.getTypeIds();
  MixedItemSection typeLists = file.getTypeLists();
  typeIds.intern(prototype.getReturnType());
  stringIds.intern(shortForm);
  if (parameterTypes != null) {
    parameterTypes = typeLists.intern(parameterTypes);
  }
}
origin: gdpancheng/LoonAndroid3

/** {@inheritDoc} */
@Override
public void addContents(DexFile file) {
  StringIdsSection stringIds = file.getStringIds();
  TypeIdsSection typeIds = file.getTypeIds();
  MixedItemSection typeLists = file.getTypeLists();
  typeIds.intern(prototype.getReturnType());
  stringIds.intern(shortForm);
  if (parameterTypes != null) {
    parameterTypes = typeLists.intern(parameterTypes);
  }
}
origin: com.android/dx

/** {@inheritDoc} */
@Override
public void addContents(DexFile file) {
  StringIdsSection stringIds = file.getStringIds();
  TypeIdsSection typeIds = file.getTypeIds();
  MixedItemSection typeLists = file.getTypeLists();
  typeIds.intern(prototype.getReturnType());
  stringIds.intern(shortForm);
  if (parameterTypes != null) {
    parameterTypes = typeLists.intern(parameterTypes);
  }
}
origin: com.google.dexmaker/dexmaker-dx

/** {@inheritDoc} */
@Override
public void addContents(DexFile file) {
  StringIdsSection stringIds = file.getStringIds();
  TypeIdsSection typeIds = file.getTypeIds();
  MixedItemSection typeLists = file.getTypeLists();
  typeIds.intern(prototype.getReturnType());
  stringIds.intern(shortForm);
  if (parameterTypes != null) {
    parameterTypes = typeLists.intern(parameterTypes);
  }
}
origin: nikita36078/J2ME-Loader

/** {@inheritDoc} */
@Override
public void addContents(DexFile file) {
  StringIdsSection stringIds = file.getStringIds();
  TypeIdsSection typeIds = file.getTypeIds();
  MixedItemSection typeLists = file.getTypeLists();
  typeIds.intern(prototype.getReturnType());
  stringIds.intern(shortForm);
  if (parameterTypes != null) {
    parameterTypes = typeLists.intern(parameterTypes);
  }
}
origin: com.android.tools.build/builder

/** {@inheritDoc} */
@Override
public void addContents(DexFile file) {
  StringIdsSection stringIds = file.getStringIds();
  TypeIdsSection typeIds = file.getTypeIds();
  MixedItemSection typeLists = file.getTypeLists();
  typeIds.intern(prototype.getReturnType());
  stringIds.intern(shortForm);
  if (parameterTypes != null) {
    parameterTypes = typeLists.intern(parameterTypes);
  }
}
origin: com.google.android.tools/dx

/** {@inheritDoc} */
@Override
public void addContents(DexFile file) {
  StringIdsSection stringIds = file.getStringIds();
  TypeIdsSection typeIds = file.getTypeIds();
  MixedItemSection typeLists = file.getTypeLists();
  typeIds.intern(prototype.getReturnType());
  stringIds.intern(shortForm);
  if (parameterTypes != null) {
    parameterTypes = typeLists.intern(parameterTypes);
  }
}
origin: dragome/dragome-sdk

/** {@inheritDoc} */
@Override
public void addContents(DexFile file) {
  StringIdsSection stringIds = file.getStringIds();
  TypeIdsSection typeIds = file.getTypeIds();
  MixedItemSection typeLists = file.getTypeLists();
  typeIds.intern(prototype.getReturnType());
  stringIds.intern(shortForm);
  if (parameterTypes != null) {
    parameterTypes = typeLists.intern(parameterTypes);
  }
}
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.typePrototypegetReturnType

Javadoc

Gets the return type.

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.
  • <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

  • Reactive rest calls using spring rest template
  • scheduleAtFixedRate (Timer)
  • startActivity (Activity)
  • getExternalFilesDir (Context)
  • BufferedInputStream (java.io)
    A BufferedInputStream adds functionality to another input stream-namely, the ability to buffer the i
  • JTable (javax.swing)
  • IOUtils (org.apache.commons.io)
    General IO stream manipulation utilities. This class provides static utility methods for input/outpu
  • LogFactory (org.apache.commons.logging)
    Factory for creating Log instances, with discovery and configuration features similar to that employ
  • Join (org.hibernate.mapping)
  • Option (scala)
  • 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