Package | Description |
---|---|
net.bytebuddy.description.method |
Contains descriptions of Java methods and constructors as well as their parameters.
|
net.bytebuddy.dynamic.scaffold |
This package contains helper types and implementations that are responsible for the actual writing of a byte array
representing a Java class.
|
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 | Class and Description |
---|---|
static class |
ParameterDescription.AbstractParameterDescription
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.Latent
A latent description of a parameter that is not attached to a method or constructor.
|
Modifier and Type | Method and Description |
---|---|
ParameterDescription |
ParameterList.ForLoadedExecutable.get(int index) |
ParameterDescription |
ParameterList.ForLoadedExecutable.OfLegacyVmMethod.get(int index) |
ParameterDescription |
ParameterList.ForLoadedExecutable.OfLegacyVmConstructor.get(int index) |
ParameterDescription |
ParameterList.Explicit.get(int index) |
Modifier and Type | Method and Description |
---|---|
protected ParameterList |
ParameterList.ForLoadedExecutable.wrap(List<ParameterDescription> values) |
protected ParameterList |
ParameterList.ForLoadedExecutable.OfLegacyVmMethod.wrap(List<ParameterDescription> values) |
protected ParameterList |
ParameterList.ForLoadedExecutable.OfLegacyVmConstructor.wrap(List<ParameterDescription> values) |
protected ParameterList |
ParameterList.Explicit.wrap(List<ParameterDescription> values) |
Constructor and Description |
---|
Explicit(List<? extends ParameterDescription> parameterDescriptions)
Creates a new list of explicit parameter descriptions.
|
Modifier and Type | Class and Description |
---|---|
protected class |
InstrumentedType.AbstractBase.MethodToken.ParameterToken
An implementation of a method parameter for a method of an instrumented type.
|
Constructor and Description |
---|
ParameterToken(String typeName,
ParameterDescription parameterDescription)
Creates a new parameter token based on an existing description of a parameter.
|
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. |
Copyright © 2014–2015. All rights reserved.