This is loaded by reflection only when Guava is on the classpath. It relies on internal methods in Guava that could change in any release.
This parser is incomplete, but handles common cases. It does not handle union types or multi-dimensional arrays.
| Modifier and Type | Field and Description |
|---|---|
| pack-priv static final Class | |
| pack-priv static final Method |
| Access | Constructor and Description |
|---|---|
| pack-priv |
| Modifier and Type | Method and Description |
|---|---|
| public Object | convertFromString(Class<?>
the class to convert to, not null cls, String the string to convert, not null str)Implements org. String.
|
| public String | convertToString(Object
the object to convert, not null object)Implements org. String.
|
| public Class | getEffectiveType()
Implements org. |
| TYPE_TOKEN_CLASS | back to summary |
|---|---|
| pack-priv static final Class<?> TYPE_TOKEN_CLASS | |
| TYPE_TOKEN_METHOD_OF | back to summary |
|---|---|
| pack-priv static final Method TYPE_TOKEN_METHOD_OF | |
| TypeTokenStringConverter | back to summary |
|---|---|
| pack-priv TypeTokenStringConverter() | |
| convertFromString | back to summary |
|---|---|
| public Object convertFromString(Class<?> cls, String str) Implements org. Doc from org. Converts the specified object from a | |
| convertToString | back to summary |
|---|---|
| public String convertToString(Object object) Implements org. Doc from org. Converts the specified object to a | |
| getEffectiveType | back to summary |
|---|---|
| public Class Implements org. Doc from org. Gets the effective type that the converter works on.
For example, if a class declares the | |