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.
|
boolean |
equals(Object object) |
int |
hashCode() |
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)
TypePooldescribe 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()
TypePoolclear in interface TypePoolclear in class TypePool.AbstractBasepublic boolean equals(Object object)
equals in class TypePool.AbstractBasepublic int hashCode()
hashCode in class TypePool.AbstractBaseCopyright © 2014–2016. All rights reserved.