Codota Logo
GenericSignatureParser.parseClassSignature
Code IndexAdd Codota to your IDE (free)

How to use
parseClassSignature
method
in
libcore.reflect.GenericSignatureParser

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

  • Common ways to obtain GenericSignatureParser
private void myMethod () {
GenericSignatureParser g =
  • Codota IconClass klass;new GenericSignatureParser(klass.getClassLoader())
  • Codota IconMethod method;new GenericSignatureParser(method.getDeclaringClass().getClassLoader())
  • Codota IconConstructor function Object() { [native code] };new GenericSignatureParser(function Object() { [native code] }.getDeclaringClass().getClassLoader())
  • Smart code suggestions by Codota
}
origin: robovm/robovm

/**
 * Parses the generic signature of a class and creates the data structure
 * representing the signature.
 *
 * @param genericDecl the GenericDeclaration calling this method
 * @param signature the generic signature of the class
 */
public void parseForClass(GenericDeclaration genericDecl, String signature) {
  setInput(genericDecl, signature);
  if (!eof) {
    parseClassSignature();
  } else {
    if(genericDecl instanceof Class) {
      Class c = (Class) genericDecl;
      this.formalTypeParameters = EmptyArray.TYPE_VARIABLE;
      this.superclassType = c.getSuperclass();
      Class<?>[] interfaces = c.getInterfaces();
      if (interfaces.length == 0) {
        this.interfaceTypes = ListOfTypes.EMPTY;
      } else {
        this.interfaceTypes = new ListOfTypes(interfaces);
      }
    } else {
      this.formalTypeParameters = EmptyArray.TYPE_VARIABLE;
      this.superclassType = Object.class;
      this.interfaceTypes = ListOfTypes.EMPTY;
    }
  }
}
origin: MobiVM/robovm

/**
 * Parses the generic signature of a class and creates the data structure
 * representing the signature.
 *
 * @param genericDecl the GenericDeclaration calling this method
 * @param signature the generic signature of the class
 */
public void parseForClass(GenericDeclaration genericDecl, String signature) {
  setInput(genericDecl, signature);
  if (!eof) {
    parseClassSignature();
  } else {
    if(genericDecl instanceof Class) {
      Class c = (Class) genericDecl;
      this.formalTypeParameters = EmptyArray.TYPE_VARIABLE;
      this.superclassType = c.getSuperclass();
      Class<?>[] interfaces = c.getInterfaces();
      if (interfaces.length == 0) {
        this.interfaceTypes = ListOfTypes.EMPTY;
      } else {
        this.interfaceTypes = new ListOfTypes(interfaces);
      }
    } else {
      this.formalTypeParameters = EmptyArray.TYPE_VARIABLE;
      this.superclassType = Object.class;
      this.interfaceTypes = ListOfTypes.EMPTY;
    }
  }
}
origin: ibinti/bugvm

/**
 * Parses the generic signature of a class and creates the data structure
 * representing the signature.
 *
 * @param genericDecl the GenericDeclaration calling this method
 * @param signature the generic signature of the class
 */
public void parseForClass(GenericDeclaration genericDecl, String signature) {
  setInput(genericDecl, signature);
  if (!eof) {
    parseClassSignature();
  } else {
    if(genericDecl instanceof Class) {
      Class c = (Class) genericDecl;
      this.formalTypeParameters = EmptyArray.TYPE_VARIABLE;
      this.superclassType = c.getSuperclass();
      Class<?>[] interfaces = c.getInterfaces();
      if (interfaces.length == 0) {
        this.interfaceTypes = ListOfTypes.EMPTY;
      } else {
        this.interfaceTypes = new ListOfTypes(interfaces);
      }
    } else {
      this.formalTypeParameters = EmptyArray.TYPE_VARIABLE;
      this.superclassType = Object.class;
      this.interfaceTypes = ListOfTypes.EMPTY;
    }
  }
}
origin: com.gluonhq/robovm-rt

/**
 * Parses the generic signature of a class and creates the data structure
 * representing the signature.
 *
 * @param genericDecl the GenericDeclaration calling this method
 * @param signature the generic signature of the class
 */
public void parseForClass(GenericDeclaration genericDecl, String signature) {
  setInput(genericDecl, signature);
  if (!eof) {
    parseClassSignature();
  } else {
    if(genericDecl instanceof Class) {
      Class c = (Class) genericDecl;
      this.formalTypeParameters = EmptyArray.TYPE_VARIABLE;
      this.superclassType = c.getSuperclass();
      Class<?>[] interfaces = c.getInterfaces();
      if (interfaces.length == 0) {
        this.interfaceTypes = ListOfTypes.EMPTY;
      } else {
        this.interfaceTypes = new ListOfTypes(interfaces);
      }
    } else {
      this.formalTypeParameters = EmptyArray.TYPE_VARIABLE;
      this.superclassType = Object.class;
      this.interfaceTypes = ListOfTypes.EMPTY;
    }
  }
}
origin: FlexoVM/flexovm

/**
 * Parses the generic signature of a class and creates the data structure
 * representing the signature.
 *
 * @param genericDecl the GenericDeclaration calling this method
 * @param signature the generic signature of the class
 */
public void parseForClass(GenericDeclaration genericDecl, String signature) {
  setInput(genericDecl, signature);
  if (!eof) {
    parseClassSignature();
  } else {
    if(genericDecl instanceof Class) {
      Class c = (Class) genericDecl;
      this.formalTypeParameters = EmptyArray.TYPE_VARIABLE;
      this.superclassType = c.getSuperclass();
      Class<?>[] interfaces = c.getInterfaces();
      if (interfaces.length == 0) {
        this.interfaceTypes = ListOfTypes.EMPTY;
      } else {
        this.interfaceTypes = new ListOfTypes(interfaces);
      }
    } else {
      this.formalTypeParameters = EmptyArray.TYPE_VARIABLE;
      this.superclassType = Object.class;
      this.interfaceTypes = ListOfTypes.EMPTY;
    }
  }
}
origin: com.mobidevelop.robovm/robovm-rt

/**
 * Parses the generic signature of a class and creates the data structure
 * representing the signature.
 *
 * @param genericDecl the GenericDeclaration calling this method
 * @param signature the generic signature of the class
 */
public void parseForClass(GenericDeclaration genericDecl, String signature) {
  setInput(genericDecl, signature);
  if (!eof) {
    parseClassSignature();
  } else {
    if(genericDecl instanceof Class) {
      Class c = (Class) genericDecl;
      this.formalTypeParameters = EmptyArray.TYPE_VARIABLE;
      this.superclassType = c.getSuperclass();
      Class<?>[] interfaces = c.getInterfaces();
      if (interfaces.length == 0) {
        this.interfaceTypes = ListOfTypes.EMPTY;
      } else {
        this.interfaceTypes = new ListOfTypes(interfaces);
      }
    } else {
      this.formalTypeParameters = EmptyArray.TYPE_VARIABLE;
      this.superclassType = Object.class;
      this.interfaceTypes = ListOfTypes.EMPTY;
    }
  }
}
origin: com.bugvm/bugvm-rt

/**
 * Parses the generic signature of a class and creates the data structure
 * representing the signature.
 *
 * @param genericDecl the GenericDeclaration calling this method
 * @param signature the generic signature of the class
 */
public void parseForClass(GenericDeclaration genericDecl, String signature) {
  setInput(genericDecl, signature);
  if (!eof) {
    parseClassSignature();
  } else {
    if(genericDecl instanceof Class) {
      Class c = (Class) genericDecl;
      this.formalTypeParameters = EmptyArray.TYPE_VARIABLE;
      this.superclassType = c.getSuperclass();
      Class<?>[] interfaces = c.getInterfaces();
      if (interfaces.length == 0) {
        this.interfaceTypes = ListOfTypes.EMPTY;
      } else {
        this.interfaceTypes = new ListOfTypes(interfaces);
      }
    } else {
      this.formalTypeParameters = EmptyArray.TYPE_VARIABLE;
      this.superclassType = Object.class;
      this.interfaceTypes = ListOfTypes.EMPTY;
    }
  }
}
libcore.reflectGenericSignatureParserparseClassSignature

Popular methods of GenericSignatureParser

  • <init>
  • expect
  • isStopSymbol
  • parseClassTypeSignature
  • parseFieldTypeSignature
  • parseForClass
    Parses the generic signature of a class and creates the data structure representing the signature.
  • 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

  • Making http requests using okhttp
  • getSystemService (Context)
  • setScale (BigDecimal)
  • compareTo (BigDecimal)
    Compares this BigDecimal with the specified BigDecimal. Two BigDecimal objects that are equal in val
  • BufferedReader (java.io)
    Reads text from a character-input stream, buffering characters so as to provide for the efficient re
  • Selector (java.nio.channels)
    A controller for the selection of SelectableChannel objects. Selectable channels can be registered w
  • Charset (java.nio.charset)
    A charset is a named mapping between Unicode characters and byte sequences. Every Charset can decode
  • Stack (java.util)
    The Stack class represents a last-in-first-out (LIFO) stack of objects. It extends class Vector with
  • Filter (javax.servlet)
    A filter is an object that performs filtering tasks on either the request to a resource (a servlet o
  • ServletException (javax.servlet)
    Defines a general exception a servlet can throw when it encounters difficulty.
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