JavaType
representations and constructing type instances.
Modifier and Type | Class and Description |
---|---|
protected static class |
Modifier and Type | Field and Description |
---|---|
protected final TypeFactory | |
protected static final int | MAX_TYPE_LENGTH
Maximum length of canonical type definition we will try to parse. |
protected static final int | MAX_TYPE_NESTING
Maximum levels of nesting allowed for parameterized types. |
private static final long |
Access | Constructor and Description |
---|---|
public |
Modifier and Type | Method and Description |
---|---|
protected IllegalArgumentException | |
private static String | |
protected Class | |
public JavaType | |
protected JavaType | |
protected List | |
public TypeParser |
_factory | back to summary |
---|---|
protected final TypeFactory _factory |
MAX_TYPE_LENGTH | back to summary |
---|---|
protected static final int MAX_TYPE_LENGTH Maximum length of canonical type definition we will try to parse. Used as protection for malformed generic type declarations.
|
MAX_TYPE_NESTING | back to summary |
---|---|
protected static final int MAX_TYPE_NESTING Maximum levels of nesting allowed for parameterized types. Used as protection for malformed generic type declarations.
|
serialVersionUID | back to summary |
---|---|
private static final long serialVersionUID |
TypeParser | back to summary |
---|---|
public TypeParser(TypeFactory f) |
_problem | back to summary |
---|---|
protected IllegalArgumentException _problem(TypeParser. |
_quoteTruncated | back to summary |
---|---|
private static String _quoteTruncated(String str) |
findClass | back to summary |
---|---|
protected Class |
parse | back to summary |
---|---|
public JavaType parse(String canonical) throws IllegalArgumentException |
parseType | back to summary |
---|---|
protected JavaType parseType(TypeParser. |
parseTypes | back to summary |
---|---|
protected List |
withFactory | back to summary |
---|---|
public TypeParser withFactory(TypeFactory f)
|
Modifier and Type | Field and Description |
---|---|
protected int | |
protected final String | |
protected String |
Access | Constructor and Description |
---|---|
public |
Modifier and Type | Method and Description |
---|---|
public String | |
public String | |
public boolean | hasMoreTokens()
Overrides java. Tests if there are more tokens available from this tokenizer's string. |
public String | nextToken()
Overrides java. Returns the next token from this string tokenizer. |
public void |
_index | back to summary |
---|---|
protected int _index |
_input | back to summary |
---|---|
protected final String _input |
_pushbackToken | back to summary |
---|---|
protected String _pushbackToken |
MyTokenizer | back to summary |
---|---|
public MyTokenizer(String str) |
getAllInput | back to summary |
---|---|
public String getAllInput() |
getRemainingInput | back to summary |
---|---|
public String getRemainingInput() |
hasMoreTokens | back to summary |
---|---|
public boolean hasMoreTokens() Overrides java. Doc from java. Tests if there are more tokens available from this tokenizer's string.
If this method returns
|
nextToken | back to summary |
---|---|
public String nextToken() Overrides java. Doc from java. Returns the next token from this string tokenizer. |
pushBack | back to summary |
---|---|
public void pushBack(String token) |