@HashCodeAndEqualsPlugin.Enhance public abstract static class TypePool.AbstractBase.Hierarchical extends TypePool.AbstractBase
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.ResolutioncacheProvider, PRIMITIVE_DESCRIPTORS, PRIMITIVE_TYPES| Modifier | Constructor and Description |
|---|---|
protected |
Hierarchical(TypePool.CacheProvider cacheProvider,
TypePool parent)
Creates a hierarchical type pool.
|
| Modifier and Type | Method and Description |
|---|---|
void |
clear()
Clears this type pool's cache.
|
TypePool.Resolution |
describe(String name)
Locates and describes the given type by its name.
|
doCache, doDescribeprotected Hierarchical(TypePool.CacheProvider cacheProvider, TypePool parent)
cacheProvider - The cache provider to be used.parent - The parent type pool to be used.public TypePool.Resolution describe(String name)
describe in interface TypePooldescribe in class TypePool.AbstractBasename - The name of the type to describe. The name is to be written as when calling Object.toString()
on a loaded Class.TypePool.Resolution represents this type. Otherwise, an illegal resolution is returned.public void clear()
clear in interface TypePoolclear in class TypePool.AbstractBaseCopyright © 2014–2019. All rights reserved.