Top Description Inners Methods
net.bytebuddy.pool

public Interface TypePool

Known Direct Implementers
net.bytebuddy.pool.TypePool.Empty, net.bytebuddy.pool.TypePool.AbstractBase
Imports
edu.umd.cs.findbugs.annotations.SuppressFBWarnings, net.bytebuddy.ClassFileVersion, net.bytebuddy.build.CachedReturnPlugin, .HashCodeAndEqualsPlugin, net.bytebuddy.description.TypeVariableSource, net.bytebuddy.description.annotation.AnnotationDescription, .AnnotationList, .AnnotationValue, net.bytebuddy.description.enumeration.EnumerationDescription, net.bytebuddy.description.field.FieldDescription, .FieldList, net.bytebuddy.description.method.MethodDescription, .MethodList, .ParameterDescription, .ParameterList, net.bytebuddy.description.type.PackageDescription, .RecordComponentDescription, .RecordComponentList, .TypeDefinition, .TypeDescription, .TypeList, net.bytebuddy.dynamic.ClassFileLocator, .DynamicType, net.bytebuddy.dynamic.loading.ClassLoadingStrategy, net.bytebuddy.implementation.bytecode.StackSize, net.bytebuddy.matcher.ElementMatcher, net.bytebuddy.utility.JavaType, .OpenedClassReader, net.bytebuddy.utility.nullability.AlwaysNull, .MaybeNull, .UnknownNull, net.bytebuddy.jar.asm.AnnotationVisitor, .ClassReader, .ClassVisitor, .FieldVisitor, .Label, .MethodVisitor, .Opcodes, .RecordComponentVisitor, .Type, .TypePath, .TypeReference, net.bytebuddy.jar.asm.signature.SignatureReader, .SignatureVisitor, javax.annotation.Nonnull, java.io.IOException, java.lang.annotation.Annotation, java.lang.ref.SoftReference, java.lang.reflect.GenericSignatureFormatError, java.util.ArrayList, .Collections, .HashMap, .List, .ListIterator, .Map, java.util.concurrent.ConcurrentHashMap, .ConcurrentMap, java.util.concurrent.atomic.AtomicReference

A type pool allows the retrieval of TypeDescription by its name.

Nested and Inner Type Summary

Modifier and TypeClass and Description
public abstract static class
TypePool.AbstractBase

A base implementation of a net.bytebuddy.pool.TypePool that is managing a cache provider and that handles the description of array and primitive types.

public static interface
public static class
TypePool.ClassLoading

A type pool that attempts to load a class.

public static class
TypePool.Default

A default implementation of a net.bytebuddy.pool.TypePool that models binary data in the Java byte code format into a TypeDescription.

public static enum
TypePool.Empty

An empty type pool that cannot describe any type.

public static class
TypePool.Explicit

A type pool that supplies explicitly known type descriptions.

public static class
TypePool.LazyFacade

A 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.

public static interface
TypePool.Resolution

A resolution of a net.bytebuddy.pool.TypePool which was queried for a description.

Method Summary

Modifier and TypeMethod and Description
public void
clear()

Clears this type pool's cache.

public TypePool.Resolution

Returns:

A resolution of the type to describe. If the type to be described was found, the returned net.bytebuddy.pool.TypePool.Resolution represents this type. Otherwise, an illegal resolution is returned.
describe
(String
The name of the type to describe. The name is to be written as when calling Class#getName().
name
)

Locates and describes the given type by its name.