Package | Description |
---|---|
net.bytebuddy.description.method |
Contains descriptions of Java methods and constructors as well as their parameters.
|
net.bytebuddy.description.type.generic |
Contains descriptions for generic types as defined in the Java programming language.
|
net.bytebuddy.dynamic |
This package contains classes and interfaces that are connected to writing the byte stream that represents a Java
type that is dynamically created and for loading this type into a running JVM process.
|
net.bytebuddy.implementation.bind.annotation |
This package contains annotations, types and classes that are responsible for binding a method to calling another
method by interpreting annotations that indicate how a method should be bound to another method.
|
net.bytebuddy.matcher |
Contains an API for matching Java byte code entities.
|
Modifier and Type | Interface and Description |
---|---|
interface |
ParameterList<T extends ParameterDescription>
Represents a list of parameters of a method or a constructor.
|
static class |
ParameterList.AbstractBase<S extends ParameterDescription>
An base implementation for a
ParameterList . |
static class |
ParameterList.Explicit<S extends ParameterDescription>
A list of explicitly provided parameter descriptions.
|
Modifier and Type | Interface and Description |
---|---|
static interface |
ParameterDescription.InDefinedShape
Represents a parameter in its defined shape, i.e.
|
Modifier and Type | Class and Description |
---|---|
static class |
ParameterDescription.AbstractBase
A base implementation of a method parameter description.
|
static class |
ParameterDescription.ForLoadedParameter
Description of a loaded parameter, represented by a Java 8
java.lang.reflect.Parameter . |
protected static class |
ParameterDescription.ForLoadedParameter.OfLegacyVmConstructor
Description of a loaded constructor's parameter on a virtual machine where
java.lang.reflect.Parameter
is not available. |
protected static class |
ParameterDescription.ForLoadedParameter.OfLegacyVmMethod
Description of a loaded method's parameter on a virtual machine where
java.lang.reflect.Parameter
is not available. |
static class |
ParameterDescription.InDefinedShape.AbstractBase
An abstract base implementation of a parameter description in its defined shape.
|
static class |
ParameterDescription.Latent
A latent description of a parameter that is not attached to a method or constructor.
|
static class |
ParameterDescription.TypeSubstituting
A parameter description that represents a given parameter but with a substituted parameter type.
|
Modifier and Type | Method and Description |
---|---|
ParameterDescription |
ParameterList.TypeSubstituting.get(int index) |
Constructor and Description |
---|
TypeSubstituting(MethodDescription declaringMethod,
ParameterDescription parameterDescription,
GenericTypeDescription.Visitor<? extends GenericTypeDescription> visitor)
Creates a new type substituting parameter.
|
Constructor and Description |
---|
TypeSubstituting(MethodDescription declaringMethod,
List<? extends ParameterDescription> parameterDescriptions,
GenericTypeDescription.Visitor<? extends GenericTypeDescription> visitor)
Creates a new type substituting parameter list.
|
Modifier and Type | Method and Description |
---|---|
static GenericTypeList |
GenericTypeList.ForDetachedTypes.attach(ParameterDescription parameterDescription,
List<? extends GenericTypeDescription> detachedTypes)
Creates a list of types that are attached to the provided parameter.
|
static GenericTypeDescription.Visitor.Substitutor.ForAttachment |
GenericTypeDescription.Visitor.Substitutor.ForAttachment.of(ParameterDescription parameterDescription)
Attaches all types to the given parameter description.
|
Modifier and Type | Class and Description |
---|---|
protected class |
MethodTransformer.Simple.TransformedMethod.TransformedParameter
A transformed method's parameter.
|
Modifier and Type | Method and Description |
---|---|
ParameterDescription |
MethodTransformer.Simple.TransformedMethod.TransformedParameterList.get(int index) |
Modifier and Type | Method and Description |
---|---|
static <T extends ParameterDescription> |
ElementMatchers.definedParameter(ElementMatcher<? super ParameterDescription.InDefinedShape> matcher)
Matches a parameter in its defined shape.
|
static <T extends ParameterDescription> |
ElementMatchers.representedBy(ParameterDescription.Token parameterToken)
Validates if a method is represented by the provided method token.
|
Modifier and Type | Method and Description |
---|---|
static <T extends MethodDescription> |
ElementMatchers.hasParameter(ElementMatcher<? super ParameterDescription> matcher)
Matches a
MethodDescription by validating that at least one
parameter fullfils a given constraint. |
static <T extends MethodDescription> |
ElementMatchers.hasParameters(ElementMatcher<? super Iterable<? extends ParameterDescription>> matcher)
Matches a
MethodDescription by validating that its parameters
fulfill a given constraint. |
Constructor and Description |
---|
MethodParameterMatcher(ElementMatcher<? super ParameterList<? extends ParameterDescription>> parameterMatcher)
Creates a new matcher for a method's parameters.
|
Copyright © 2014–2015. All rights reserved.