| java.lang.Object | |
| ↳ | sun.reflect.generics.parser.SignatureParser |
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.
| Public Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
Static factory method.
| |||||||||||
Parses a class signature (as defined in the JVMS, chapter 4)
and produces an abstract syntax tree representing it.
| |||||||||||
Parses a method signature (as defined in the JVMS, chapter 4)
and produces an abstract syntax tree representing it.
| |||||||||||
Parses a type signature
and produces an abstract syntax tree representing it.
| |||||||||||
|
[Expand]
Inherited Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
From class
java.lang.Object
| |||||||||||
Static factory method. Produces a parser instance.
Parses a class signature (as defined in the JVMS, chapter 4) and produces an abstract syntax tree representing it.
| s | a string representing the input class signature |
|---|
| GenericSignatureFormatError | if the input is not a valid class signature |
|---|
Parses a method signature (as defined in the JVMS, chapter 4) and produces an abstract syntax tree representing it.
| s | a string representing the input method signature |
|---|
| GenericSignatureFormatError | if the input is not a valid method signature |
|---|
Parses a type signature and produces an abstract syntax tree representing it.
| s | a string representing the input type signature |
|---|
| GenericSignatureFormatError | if the input is not a valid type signature |
|---|