Package net.bytebuddy.description.method
Contains descriptions of Java methods and constructors as well as their parameters.
-
Interface Summary Interface Description MethodDescription Implementations of this interface describe a Java method, i.e.MethodDescription.InDefinedShape Represents a method in its defined shape, i.e.MethodDescription.InGenericShape Represents a method description in its generic shape, i.e.MethodList<T extends MethodDescription> Implementations represent a list of method descriptions.ParameterDescription Description of the parameter of a Java method or constructor.ParameterDescription.ForLoadedParameter.Dispatcher A dispatcher creating parameter descriptions based on the API that is available for the current JVM.ParameterDescription.ForLoadedParameter.ParameterAnnotationSource A source for querying parameter annotations.ParameterDescription.InDefinedShape Represents a parameter in its defined shape, i.e.ParameterDescription.InGenericShape Represents a parameter description in its generic shape, i.e.ParameterList<T extends ParameterDescription> Represents a list of parameters of a method or a constructor.ParameterList.ForLoadedExecutable.Dispatcher A dispatcher for creating descriptions of parameter lists and for evaluating the size of anjava.lang.reflect.Executable
's parameters. -
Class Summary Class Description MethodDescription.AbstractBase An abstract base implementation of a method description.MethodDescription.ForLoadedConstructor An implementation of a method description for a loaded constructor.MethodDescription.ForLoadedMethod An implementation of a method description for a loaded method.MethodDescription.InDefinedShape.AbstractBase An abstract base implementation of a method description in its defined shape.MethodDescription.Latent A latent method description describes a method that is not attached to a declaringTypeDescription
.MethodDescription.Latent.TypeInitializer A method description that represents the type initializer.MethodDescription.SignatureToken A token representing a method's name and raw return and parameter types.MethodDescription.Token A token representing a method's properties detached from a type.MethodDescription.TypeSubstituting A method description that represents a given method but with substituted method types.MethodDescription.TypeToken A token representing a method's erased return and parameter types.MethodList.AbstractBase<S extends MethodDescription> A base implementation of aMethodList
.MethodList.Empty<S extends MethodDescription> An implementation of an empty method list.MethodList.Explicit<S extends MethodDescription> A method list that is a wrapper for a given list of method descriptions.MethodList.ForLoadedMethods A method list implementation that returns all loaded byte code methods (methods and constructors) that are declared for a given type.MethodList.ForTokens A list of method descriptions for a list of detached tokens.MethodList.TypeSubstituting A list of method descriptions that yieldsMethodDescription.TypeSubstituting
.ParameterDescription.AbstractBase A base implementation of a method parameter description.ParameterDescription.ForLoadedParameter<T extends java.lang.reflect.AccessibleObject> Description of a loaded parameter with support for the information exposed byjava.lang.reflect.Parameter
.ParameterDescription.ForLoadedParameter.Dispatcher.ForJava8CapableVm A dispatcher for VMs that support thejava.lang.reflect.Parameter
API for Java 8+.ParameterDescription.ForLoadedParameter.OfConstructor A description of a loadedConstructor
parameter for a modern VM.ParameterDescription.ForLoadedParameter.OfLegacyVmConstructor Description of a loaded constructor's parameter on a virtual machine wherejava.lang.reflect.Parameter
is not available.ParameterDescription.ForLoadedParameter.OfLegacyVmMethod Description of a loaded method's parameter on a virtual machine wherejava.lang.reflect.Parameter
is not available.ParameterDescription.ForLoadedParameter.OfMethod A description of a loadedMethod
parameter for a modern VM.ParameterDescription.ForLoadedParameter.ParameterAnnotationSource.ForLoadedConstructor A source for a loaded constructor.ParameterDescription.ForLoadedParameter.ParameterAnnotationSource.ForLoadedMethod A source for a loaded method.ParameterDescription.InDefinedShape.AbstractBase An abstract base implementation of a parameter description in its defined shape.ParameterDescription.Latent A latent description of a parameter that is not attached to a method or constructor.ParameterDescription.Token A token representing a parameter's properties detached from a type.ParameterDescription.Token.TypeList A list of types represented as a list of parameter tokens.ParameterDescription.TypeSubstituting A parameter description that represents a given parameter but with a substituted parameter type.ParameterList.AbstractBase<S extends ParameterDescription> An base implementation for aParameterList
.ParameterList.Empty<S extends ParameterDescription> An empty list of parameters.ParameterList.Explicit<S extends ParameterDescription> A list of explicitly provided parameter descriptions.ParameterList.Explicit.ForTypes A parameter list representing parameters without meta data or annotations.ParameterList.ForLoadedExecutable<T> Represents a list of parameters for an executable, i.e.ParameterList.ForLoadedExecutable.Dispatcher.ForJava8CapableVm A dispatcher for a legacy VM that does support thejava.lang.reflect.Parameter
type.ParameterList.ForLoadedExecutable.OfConstructor Describes the list ofConstructor
parameters on a modern VM.ParameterList.ForLoadedExecutable.OfLegacyVmConstructor Represents a list of constructor parameters on virtual machines where thejava.lang.reflect.Parameter
type is not available.ParameterList.ForLoadedExecutable.OfLegacyVmMethod Represents a list of method parameters on virtual machines where thejava.lang.reflect.Parameter
type is not available.ParameterList.ForLoadedExecutable.OfMethod Describes the list ofMethod
parameters on a modern VM.ParameterList.ForTokens A list of parameter descriptions for a list of detached tokens.ParameterList.TypeSubstituting A list of parameter descriptions that yieldsParameterDescription.TypeSubstituting
. -
Enum Summary Enum Description ParameterDescription.ForLoadedParameter.Dispatcher.CreationAction A creation action for a dispatcher.ParameterDescription.ForLoadedParameter.Dispatcher.ForLegacyVm A dispatcher for a legacy VM that does not know thejava.lang.reflect.Parameter
type that only throws exceptions on any property extraction.ParameterList.ForLoadedExecutable.Dispatcher.CreationAction A creation action for a dispatcher.ParameterList.ForLoadedExecutable.Dispatcher.ForLegacyVm A dispatcher for a legacy VM that does not support thejava.lang.reflect.Parameter
type.