Tabnine Logo
GenericSignatureParser.parseClassSignature
Code IndexAdd Tabnine 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)

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

  • Finding current android device location
  • setContentView (Activity)
  • getSupportFragmentManager (FragmentActivity)
  • requestLocationUpdates (LocationManager)
  • InetAddress (java.net)
    An Internet Protocol (IP) address. This can be either an IPv4 address or an IPv6 address, and in pra
  • ServerSocket (java.net)
    This class represents a server-side socket that waits for incoming client connections. A ServerSocke
  • KeyStore (java.security)
    KeyStore is responsible for maintaining cryptographic keys and their owners. The type of the syste
  • Enumeration (java.util)
    A legacy iteration interface.New code should use Iterator instead. Iterator replaces the enumeration
  • 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.
  • From CI to AI: The AI layer in your organization
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