public abstract static class TypePool.AbstractBase.Hierarchical extends TypePool.AbstractBase
TypePool.AbstractBase.ArrayTypeResolution, TypePool.AbstractBase.Hierarchical, TypePool.AbstractBase.RawAnnotationValue, TypePool.AbstractBase.RawEnumerationValue, TypePool.AbstractBase.RawNonPrimitiveArray, TypePool.AbstractBase.RawTypeValue
TypePool.AbstractBase, TypePool.CacheProvider, TypePool.ClassLoading, TypePool.Default, TypePool.Empty, TypePool.Explicit, TypePool.LazyFacade, TypePool.Resolution
cacheProvider, 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, doDescribe
protected 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)
TypePool
describe
in interface TypePool
describe
in class TypePool.AbstractBase
name
- 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()
TypePool
clear
in interface TypePool
clear
in class TypePool.AbstractBase
public boolean equals(Object object)
equals
in class TypePool.AbstractBase
public int hashCode()
hashCode
in class TypePool.AbstractBase
Copyright © 2014–2016. All rights reserved.