Note that resolver instances are stateful in that resolvers cache resolved types for efficiency. Since this is internal state and not directly visible to callers, access to state is fully synchronized so that access from multiple threads is safe.
| Modifier and Type | Field and Description |
|---|---|
| protected final transient Map | |
| private static final HashMap | |
| private static final ResolvedType[] | |
| private static final long | |
| private static final ResolvedType |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| private ResolvedType | |
| private ResolvedType | |
| private ResolvedType | |
| private ResolvedType | |
| private ResolvedType | |
| private ResolvedType | |
| private ResolvedType[] | |
| protected Object | |
| public ResolvedType | resolve(TypeBindings typeBindings, Type jdkType)
Factory method for resolving specified Java |
| _cache | back to summary |
|---|---|
| protected final transient Map<ClassKey, ResolvedType> _cache | |
| _primitives | back to summary |
|---|---|
| private static final HashMap<ClassKey, ResolvedType> _primitives | |
| NO_TYPES | back to summary |
|---|---|
| private static final ResolvedType[] NO_TYPES | |
| serialVersionUID | back to summary |
|---|---|
| private static final long serialVersionUID | |
| TYPE_OBJECT | back to summary |
|---|---|
| private static final ResolvedType TYPE_OBJECT | |
| TypeResolver | back to summary |
|---|---|
| public TypeResolver() | |
| _constructType | back to summary |
|---|---|
| private ResolvedType _constructType(ClassStack context, Class<?> rawType, TypeBindings typeBindings) | |
| _fromAny | back to summary |
|---|---|
| private ResolvedType _fromAny(ClassStack context, Type mainType, TypeBindings typeBindings) | |
| _fromClass | back to summary |
|---|---|
| private ResolvedType _fromClass(ClassStack context, Class<?> rawType, TypeBindings typeBindings) | |
| _fromParamType | back to summary |
|---|---|
| private ResolvedType _fromParamType(ClassStack context, ParameterizedType ptype, TypeBindings parentBindings) | |
| _fromVariable | back to summary |
|---|---|
| private ResolvedType _fromVariable(ClassStack context, TypeVariable<?> variable, TypeBindings typeBindings) | |
| _resolveSuperClass | back to summary |
|---|---|
| private ResolvedType _resolveSuperClass(ClassStack context, Class<?> rawType, TypeBindings typeBindings) | |
| _resolveSuperInterfaces | back to summary |
|---|---|
| private ResolvedType[] _resolveSuperInterfaces(ClassStack context, Class<?> rawType, TypeBindings typeBindings) | |
| readResolve | back to summary |
|---|---|
| protected Object readResolve() | |
| resolve | back to summary |
|---|---|
| public ResolvedType resolve(TypeBindings typeBindings, Type jdkType) Factory method for resolving specified Java
Use of this method is discouraged (use if and only if you really know what you
are doing!); but if used, type bindings passed should come from | |