@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.RawTypeValue
TypePool.AbstractBase, TypePool.CacheProvider, TypePool.ClassLoading, TypePool.Default, TypePool.Empty, TypePool.Explicit, TypePool.LazyFacade, TypePool.Resolution
cacheProvider, PRIMITIVE_DESCRIPTORS, PRIMITIVE_TYPES
Constructor and Description |
---|
Explicit(Map<String,TypeDescription> types)
Creates a new explicit type pool without a parent.
|
Explicit(TypePool parent,
Map<String,TypeDescription> types)
Creates a new explicit type pool.
|
Modifier and Type | Method and Description |
---|---|
protected TypePool.Resolution |
doDescribe(String name)
Determines a resolution to a non-primitive, non-array type.
|
clear, describe
doCache
public Explicit(Map<String,TypeDescription> types)
types
- A mapping from type names to type descriptions of that name.public Explicit(TypePool parent, Map<String,TypeDescription> types)
parent
- The parent type pool.types
- A mapping from type names to type descriptions of that name.protected TypePool.Resolution doDescribe(String name)
TypePool.AbstractBase
doDescribe
in class TypePool.AbstractBase
name
- The name of the type to describe.Copyright © 2014–2019. All rights reserved.