congrats Icon
New! Tabnine Pro 14-day free trial
Start a free trial
Tabnine Logo
GenericSignatureParser.parseForClass
Code IndexAdd Tabnine to your IDE (free)

How to use
parseForClass
method
in
libcore.reflect.GenericSignatureParser

Best Java code snippets using libcore.reflect.GenericSignatureParser.parseForClass (Showing top 20 results out of 315)

origin: robovm/robovm

/**
 * Returns the {@code Type} that represents the superclass of this {@code
 * class}.
 */
public Type getGenericSuperclass() {
  GenericSignatureParser parser = new GenericSignatureParser(getClassLoader());
  parser.parseForClass(this, getSignatureAttribute());
  return Types.getType(parser.superclassType);
}
origin: robovm/robovm

/**
 * Returns an array containing {@code TypeVariable} objects for type
 * variables declared by the generic class represented by this {@code
 * Class}. Returns an empty array if the class is not generic.
 */
@SuppressWarnings("unchecked")
public synchronized TypeVariable<Class<T>>[] getTypeParameters() {
  GenericSignatureParser parser = new GenericSignatureParser(getClassLoader());
  parser.parseForClass(this, getSignatureAttribute());
  return parser.formalTypeParameters.clone();
}
origin: robovm/robovm

/**
 * Returns the {@link Type}s of the interfaces that this {@code Class} directly
 * implements. If the {@code Class} represents a primitive type or {@code
 * void} then an empty array is returned.
 */
public Type[] getGenericInterfaces() {
  GenericSignatureParser parser = new GenericSignatureParser(getClassLoader());
  parser.parseForClass(this, getSignatureAttribute());
  return Types.getTypeArray(parser.interfaceTypes, true);
}
origin: MobiVM/robovm

/**
 * Returns the {@link Type}s of the interfaces that this {@code Class} directly
 * implements. If the {@code Class} represents a primitive type or {@code
 * void} then an empty array is returned.
 */
public Type[] getGenericInterfaces() {
  GenericSignatureParser parser = new GenericSignatureParser(getClassLoader());
  parser.parseForClass(this, getSignatureAttribute());
  return Types.getTypeArray(parser.interfaceTypes, true);
}
origin: ibinti/bugvm

/**
 * Returns an array containing {@code TypeVariable} objects for type
 * variables declared by the generic class represented by this {@code
 * Class}. Returns an empty array if the class is not generic.
 */
@SuppressWarnings("unchecked")
public synchronized TypeVariable<Class<T>>[] getTypeParameters() {
  GenericSignatureParser parser = new GenericSignatureParser(getClassLoader());
  parser.parseForClass(this, getSignatureAttribute());
  return parser.formalTypeParameters.clone();
}
origin: com.mobidevelop.robovm/robovm-rt

/**
 * Returns the {@code Type} that represents the superclass of this {@code
 * class}.
 */
public Type getGenericSuperclass() {
  GenericSignatureParser parser = new GenericSignatureParser(getClassLoader());
  parser.parseForClass(this, getSignatureAttribute());
  return Types.getType(parser.superclassType);
}
origin: ibinti/bugvm

/**
 * Returns the {@code Type} that represents the superclass of this {@code
 * class}.
 */
public Type getGenericSuperclass() {
  GenericSignatureParser parser = new GenericSignatureParser(getClassLoader());
  parser.parseForClass(this, getSignatureAttribute());
  return Types.getType(parser.superclassType);
}
origin: com.bugvm/bugvm-rt

/**
 * Returns an array containing {@code TypeVariable} objects for type
 * variables declared by the generic class represented by this {@code
 * Class}. Returns an empty array if the class is not generic.
 */
@SuppressWarnings("unchecked")
public synchronized TypeVariable<Class<T>>[] getTypeParameters() {
  GenericSignatureParser parser = new GenericSignatureParser(getClassLoader());
  parser.parseForClass(this, getSignatureAttribute());
  return parser.formalTypeParameters.clone();
}
origin: com.bugvm/bugvm-rt

/**
 * Returns the {@link Type}s of the interfaces that this {@code Class} directly
 * implements. If the {@code Class} represents a primitive type or {@code
 * void} then an empty array is returned.
 */
public Type[] getGenericInterfaces() {
  GenericSignatureParser parser = new GenericSignatureParser(getClassLoader());
  parser.parseForClass(this, getSignatureAttribute());
  return Types.getTypeArray(parser.interfaceTypes, true);
}
origin: FlexoVM/flexovm

/**
 * Returns an array containing {@code TypeVariable} objects for type
 * variables declared by the generic class represented by this {@code
 * Class}. Returns an empty array if the class is not generic.
 */
@SuppressWarnings("unchecked")
public synchronized TypeVariable<Class<T>>[] getTypeParameters() {
  GenericSignatureParser parser = new GenericSignatureParser(getClassLoader());
  parser.parseForClass(this, getSignatureAttribute());
  return parser.formalTypeParameters.clone();
}
origin: ibinti/bugvm

/**
 * Returns the {@link Type}s of the interfaces that this {@code Class} directly
 * implements. If the {@code Class} represents a primitive type or {@code
 * void} then an empty array is returned.
 */
public Type[] getGenericInterfaces() {
  GenericSignatureParser parser = new GenericSignatureParser(getClassLoader());
  parser.parseForClass(this, getSignatureAttribute());
  return Types.getTypeArray(parser.interfaceTypes, true);
}
origin: MobiVM/robovm

/**
 * Returns the {@code Type} that represents the superclass of this {@code
 * class}.
 */
public Type getGenericSuperclass() {
  GenericSignatureParser parser = new GenericSignatureParser(getClassLoader());
  parser.parseForClass(this, getSignatureAttribute());
  return Types.getType(parser.superclassType);
}
origin: MobiVM/robovm

/**
 * Returns an array containing {@code TypeVariable} objects for type
 * variables declared by the generic class represented by this {@code
 * Class}. Returns an empty array if the class is not generic.
 */
@SuppressWarnings("unchecked")
public synchronized TypeVariable<Class<T>>[] getTypeParameters() {
  GenericSignatureParser parser = new GenericSignatureParser(getClassLoader());
  parser.parseForClass(this, getSignatureAttribute());
  return parser.formalTypeParameters.clone();
}
origin: com.mobidevelop.robovm/robovm-rt

/**
 * Returns an array containing {@code TypeVariable} objects for type
 * variables declared by the generic class represented by this {@code
 * Class}. Returns an empty array if the class is not generic.
 */
@SuppressWarnings("unchecked")
public synchronized TypeVariable<Class<T>>[] getTypeParameters() {
  GenericSignatureParser parser = new GenericSignatureParser(getClassLoader());
  parser.parseForClass(this, getSignatureAttribute());
  return parser.formalTypeParameters.clone();
}
origin: FlexoVM/flexovm

/**
 * Returns the {@link Type}s of the interfaces that this {@code Class} directly
 * implements. If the {@code Class} represents a primitive type or {@code
 * void} then an empty array is returned.
 */
public Type[] getGenericInterfaces() {
  GenericSignatureParser parser = new GenericSignatureParser(getClassLoader());
  parser.parseForClass(this, getSignatureAttribute());
  return Types.getTypeArray(parser.interfaceTypes, true);
}
origin: com.gluonhq/robovm-rt

/**
 * Returns the {@code Type} that represents the superclass of this {@code
 * class}.
 */
public Type getGenericSuperclass() {
  GenericSignatureParser parser = new GenericSignatureParser(getClassLoader());
  parser.parseForClass(this, getSignatureAttribute());
  return Types.getType(parser.superclassType);
}
origin: com.gluonhq/robovm-rt

/**
 * Returns an array containing {@code TypeVariable} objects for type
 * variables declared by the generic class represented by this {@code
 * Class}. Returns an empty array if the class is not generic.
 */
@SuppressWarnings("unchecked")
public synchronized TypeVariable<Class<T>>[] getTypeParameters() {
  GenericSignatureParser parser = new GenericSignatureParser(getClassLoader());
  parser.parseForClass(this, getSignatureAttribute());
  return parser.formalTypeParameters.clone();
}
origin: com.mobidevelop.robovm/robovm-rt

/**
 * Returns the {@link Type}s of the interfaces that this {@code Class} directly
 * implements. If the {@code Class} represents a primitive type or {@code
 * void} then an empty array is returned.
 */
public Type[] getGenericInterfaces() {
  GenericSignatureParser parser = new GenericSignatureParser(getClassLoader());
  parser.parseForClass(this, getSignatureAttribute());
  return Types.getTypeArray(parser.interfaceTypes, true);
}
origin: com.bugvm/bugvm-rt

/**
 * Returns the {@code Type} that represents the superclass of this {@code
 * class}.
 */
public Type getGenericSuperclass() {
  GenericSignatureParser parser = new GenericSignatureParser(getClassLoader());
  parser.parseForClass(this, getSignatureAttribute());
  return Types.getType(parser.superclassType);
}
origin: com.gluonhq/robovm-rt

/**
 * Returns the {@link Type}s of the interfaces that this {@code Class} directly
 * implements. If the {@code Class} represents a primitive type or {@code
 * void} then an empty array is returned.
 */
public Type[] getGenericInterfaces() {
  GenericSignatureParser parser = new GenericSignatureParser(getClassLoader());
  parser.parseForClass(this, getSignatureAttribute());
  return Types.getTypeArray(parser.interfaceTypes, true);
}
libcore.reflectGenericSignatureParserparseForClass

Javadoc

Parses the generic signature of a class and creates the data structure representing the signature.

Popular methods of GenericSignatureParser

  • <init>
  • expect
  • isStopSymbol
  • parseClassSignature
  • parseClassTypeSignature
  • parseFieldTypeSignature
  • parseForConstructor
    Parses the generic signature of a constructor and creates the data structure representing the signat
  • parseForField
    Parses the generic signature of a field and creates the data structure representing the signature.
  • parseForMethod
    Parses the generic signature of a method and creates the data structure representing the signature.
  • parseFormalTypeParameter
  • parseMethodTypeSignature
  • parseOptFormalTypeParameters
  • parseMethodTypeSignature,
  • parseOptFormalTypeParameters,
  • parseOptTypeArguments,
  • parseReturnType,
  • parseTypeArgument,
  • parseTypeSignature,
  • parseTypeVariableSignature,
  • scanIdentifier,
  • scanSymbol

Popular in Java

  • Reactive rest calls using spring rest template
  • onCreateOptionsMenu (Activity)
  • orElseThrow (Optional)
    Return the contained value, if present, otherwise throw an exception to be created by the provided s
  • getResourceAsStream (ClassLoader)
  • Menu (java.awt)
  • FileOutputStream (java.io)
    An output stream that writes bytes to a file. If the output file exists, it can be replaced or appen
  • Runnable (java.lang)
    Represents a command that can be executed. Often used to run code in a different Thread.
  • ResultSet (java.sql)
    An interface for an object which represents a database table entry, returned as the result of the qu
  • Collectors (java.util.stream)
  • JOptionPane (javax.swing)
  • Top 25 Plugins for Webstorm
Tabnine Logo
  • Products

    Search for Java codeSearch for JavaScript code
  • IDE Plugins

    IntelliJ IDEAWebStormVisual StudioAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimAtomGoLandRubyMineEmacsJupyter NotebookJupyter LabRiderDataGripAppCode
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogTabnine AcademyStudentsTerms of usePrivacy policyJava Code IndexJavascript Code Index
Get Tabnine for your IDE now