Package net.bytebuddy.description
Classes of this package allow the representation of Java classes, their member and their meta data. Using the
reflection API, it would be required to load classes but by using these descriptions, it is possible to
represent byte code elements without prior loading.
-
Interface Summary Interface Description ByteCodeElement Implementations describe an element represented in byte code, i.e.ByteCodeElement.Token<T extends ByteCodeElement.Token<T>> A token representing a byte code element.ByteCodeElement.TypeDependant<T extends ByteCodeElement.TypeDependant<?,S>,S extends ByteCodeElement.Token<S>> A type dependant describes an element that is an extension of a type definition, i.e.DeclaredByType This interface represents all elements that can be declared within a type, i.e.ModifierReviewable Implementations of this interface can be described in terms of a Java modifier.ModifierReviewable.ForFieldDescription A modifier reviewable for aFieldDescription
.ModifierReviewable.ForMethodDescription A modifier reviewable for aMethodDescription
.ModifierReviewable.ForParameterDescription A modifier reviewable for aParameterDescription
.ModifierReviewable.ForTypeDefinition A modifier reviewable for aTypeDescription
.ModifierReviewable.OfAbstraction A modifier reviewable for a byte code element that can be abstract, i.e.ModifierReviewable.OfByteCodeElement A modifier reviewable for aByteCodeElement
, i.e.ModifierReviewable.OfEnumeration A modifier reviewable for a byte code element that can represent an enumeration, i.e.NamedElement Represents a Java element with a name.NamedElement.WithDescriptor A named element with a class file descriptor and a generic signature.NamedElement.WithGenericName A named element with a generic type name.NamedElement.WithOptionalName Describes a named element where naming the element is optional and an alternative default name is provided if no explicit name is given.NamedElement.WithRuntimeName A named element with a name that has a particular meaning to the Java runtime.TypeVariableSource A type variable source represents a code element that can declare type variables.TypeVariableSource.Visitor<T> A visitor that can be applied to a type variable source. -
Class Summary Class Description ByteCodeElement.Token.TokenList<S extends ByteCodeElement.Token<S>> A list of tokens.ModifierReviewable.AbstractBase An abstract base implementation of aModifierReviewable
class.TypeVariableSource.AbstractBase An abstract base implementation of a type variable source. -
Enum Summary Enum Description TypeVariableSource.Visitor.NoOp A none-operational implementation of a type variable visitor that simply returns the visited source.