@HashCodeAndEqualsPlugin.Enhance public abstract static class TypePool.AbstractBase.Hierarchical extends TypePool.AbstractBase
TypePool.AbstractBase.ArrayTypeResolution, TypePool.AbstractBase.ComponentTypeReference, TypePool.AbstractBase.Hierarchical
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.
|
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)
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 Class.getName()
.TypePool.Resolution
represents this type. Otherwise, an illegal resolution is returned.public void clear()
clear
in interface TypePool
clear
in class TypePool.AbstractBase
Copyright © 2014–2023. All rights reserved.