public class GenericsParser
extends java.lang.Object
Constructor and Description |
---|
GenericsParser() |
Modifier and Type | Method and Description |
---|---|
GenericType |
parse(java.lang.String value)
Parses the value and returns a tree of generic types
|
public GenericType parse(java.lang.String value) throws java.lang.ClassNotFoundException, ParseException
value
- generics stringjava.lang.ClassNotFoundException
- if unable to parse the treejava.lang.IllegalArgumentException
- argument null or emptyParseException
- if parentheses are not balanced