Package net.bytebuddy.pool
Interface TypePool
-
- All Known Implementing Classes:
TypePool.AbstractBase,TypePool.AbstractBase.Hierarchical,TypePool.ClassLoading,TypePool.Default,TypePool.Default.WithLazyResolution,TypePool.Empty,TypePool.Explicit,TypePool.LazyFacade
public interface TypePoolA type pool allows the retrieval ofTypeDescriptionby its name.
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static classTypePool.AbstractBaseA base implementation of aTypePoolthat is managing a cache provider and that handles the description of array and primitive types.static interfaceTypePool.CacheProviderA cache provider for aTypePool.static classTypePool.ClassLoadingA type pool that attempts to load a class.static classTypePool.DefaultA default implementation of aTypePoolthat models binary data in the Java byte code format into aTypeDescription.static classTypePool.EmptyAn empty type pool that cannot describe any type.static classTypePool.ExplicitA type pool that supplies explicitly known type descriptions.static classTypePool.LazyFacadeA lazy facade of a type pool that delegates any lookups to another type pool only if another value than the type's name is looked up.static interfaceTypePool.ResolutionA resolution of aTypePoolwhich was queried for a description.
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidclear()Clears this type pool's cache.TypePool.Resolutiondescribe(java.lang.String name)Locates and describes the given type by its name.
-
-
-
Method Detail
-
describe
TypePool.Resolution describe(java.lang.String name)
Locates and describes the given type by its name.- Parameters:
name- The name of the type to describe. The name is to be written as when callingClass.getName().- Returns:
- A resolution of the type to describe. If the type to be described was found, the returned
TypePool.Resolutionrepresents this type. Otherwise, an illegal resolution is returned.
-
clear
void clear()
Clears this type pool's cache.
-
-