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 |
|---|---|
| private static final String | |
| private static final Map | |
| private static final String |
| Access | Constructor and Description |
|---|---|
| private |
| Modifier and Type | Method and Description |
|---|---|
| private static Type | |
| private static ParameterizedType | |
| pack-priv static Type | |
| private static List | |
| private static Type | |
| private static Type |
| EXTENDS | back to summary |
|---|---|
| private static final String EXTENDS | |
| PRIMITIVES | back to summary |
|---|---|
| private static final Map<String, Class<?>> PRIMITIVES | |
| SUPER | back to summary |
|---|---|
| private static final String SUPER | |
| TypeUtils | back to summary |
|---|---|
| private TypeUtils() | |
| doParse | back to summary |
|---|---|
| private static Type doParse(String str) throws Exception | |
| newParameterizedType | back to summary |
|---|---|
| private static ParameterizedType newParameterizedType(final Class<?> base, Type... args) throws Exception | |
| parse | back to summary |
|---|---|
| pack-priv static Type parse(String str) Parses the TypeToken string format. | |
| split | back to summary |
|---|---|
| private static List | |
| wildExtendsType | back to summary |
|---|---|
| private static Type wildExtendsType(Type bound) throws Exception | |
| wildSuperType | back to summary |
|---|---|
| private static Type wildSuperType(Type bound) throws Exception | |