@HashCodeAndEqualsPlugin.Enhance public static class TypePool.Explicit extends TypePool.AbstractBase.Hierarchical
TypePool.AbstractBase.ArrayTypeResolution, TypePool.AbstractBase.Hierarchical, TypePool.AbstractBase.RawAnnotationValue, TypePool.AbstractBase.RawDescriptionArray, TypePool.AbstractBase.RawEnumerationValue, TypePool.AbstractBase.RawTypeValueTypePool.AbstractBase, TypePool.CacheProvider, TypePool.ClassLoading, TypePool.Default, TypePool.Empty, TypePool.Explicit, TypePool.LazyFacade, TypePool.Resolution| Modifier and Type | Field and Description |
|---|---|
private java.util.Map<java.lang.String,TypeDescription> |
types
A mapping from type names to type descriptions of that name.
|
cacheProvider, PRIMITIVE_DESCRIPTORS, PRIMITIVE_TYPES| Constructor and Description |
|---|
Explicit(java.util.Map<java.lang.String,TypeDescription> types)
Creates a new explicit type pool without a parent.
|
Explicit(TypePool parent,
java.util.Map<java.lang.String,TypeDescription> types)
Creates a new explicit type pool.
|
| Modifier and Type | Method and Description |
|---|---|
protected TypePool.Resolution |
doDescribe(java.lang.String name)
Determines a resolution to a non-primitive, non-array type.
|
clear, describedoCacheprivate final java.util.Map<java.lang.String,TypeDescription> types
public Explicit(java.util.Map<java.lang.String,TypeDescription> types)
types - A mapping from type names to type descriptions of that name.public Explicit(TypePool parent, java.util.Map<java.lang.String,TypeDescription> types)
parent - The parent type pool.types - A mapping from type names to type descriptions of that name.protected TypePool.Resolution doDescribe(java.lang.String name)
TypePool.AbstractBasedoDescribe in class TypePool.AbstractBasename - The name of the type to describe.