| java.lang.Object sun.reflect.generics.parser.SignatureParser
SignatureParser | public class SignatureParser (Code) | | Parser for type signatures, as defined in the Java Virtual
// Machine Specification (JVMS) chapter 4.
Converts the signatures into an abstract syntax tree (AST) representation.
// See the package sun.reflect.generics.tree for details of the AST.
|
make | public static SignatureParser make()(Code) | | Static factory method. Produces a parser instance.
an instance of SignatureParser |
parseClassSig | public ClassSignature parseClassSig(String s)(Code) | | Parses a class signature (as defined in the JVMS, chapter 4)
and produces an abstract syntax tree representing it.
Parameters: s - a string representing the input class signature An abstract syntax tree for a class signaturecorresponding to the input string throws: GenericSignatureFormatError - if the input is not a validclass signature |
parseMethodSig | public MethodTypeSignature parseMethodSig(String s)(Code) | | Parses a method signature (as defined in the JVMS, chapter 4)
and produces an abstract syntax tree representing it.
Parameters: s - a string representing the input method signature An abstract syntax tree for a method signaturecorresponding to the input string throws: GenericSignatureFormatError - if the input is not a validmethod signature |
parseTypeSig | public TypeSignature parseTypeSig(String s)(Code) | | Parses a type signature
and produces an abstract syntax tree representing it.
Parameters: s - a string representing the input type signature An abstract syntax tree for a type signaturecorresponding to the input string throws: GenericSignatureFormatError - if the input is not a validtype signature |
|
|