Package | Description |
---|---|
net.bytebuddy.asm |
The ASM package contains classes that are meant for direct interaction with the ASM API.
|
net.bytebuddy.description.method |
Contains descriptions of Java methods and constructors as well as their parameters.
|
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.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.dynamic.scaffold.inline |
All classes and types in this package are related to creating a
DynamicType by
enhancing a given type. |
net.bytebuddy.implementation |
The implementation package contains any logic for intercepting method calls.
|
net.bytebuddy.matcher |
Contains an API for matching Java byte code entities.
|
Modifier and Type | Method and Description |
---|---|
protected Object |
Advice.DynamicValue.ForFixedValue.OfConstant.doResolve(TypeDescription instrumentedType,
MethodDescription instrumentedMethod,
ParameterDescription.InDefinedShape target,
AnnotationDescription.Loadable<Annotation> annotation,
Assigner assigner,
boolean initialized) |
protected Object |
Advice.DynamicValue.ForFixedValue.OfAnnotationProperty.doResolve(TypeDescription instrumentedType,
MethodDescription instrumentedMethod,
ParameterDescription.InDefinedShape target,
AnnotationDescription.Loadable<Annotation> annotation,
Assigner assigner,
boolean initialized) |
protected abstract Object |
Advice.DynamicValue.ForFixedValue.doResolve(TypeDescription instrumentedType,
MethodDescription instrumentedMethod,
ParameterDescription.InDefinedShape target,
AnnotationDescription.Loadable<S> annotation,
Assigner assigner,
boolean initialized)
Resolves a constant value that is mapped to a parameter that is annotated with a custom bound annotation.
|
Advice.Dispatcher.OffsetMapping |
Advice.Dispatcher.OffsetMapping.Factory.make(ParameterDescription.InDefinedShape parameterDescription)
Creates a new offset mapping for the supplied parameter if possible.
|
Advice.Dispatcher.OffsetMapping |
Advice.Dispatcher.OffsetMapping.ForArgument.Factory.make(ParameterDescription.InDefinedShape parameterDescription) |
Advice.Dispatcher.OffsetMapping |
Advice.Dispatcher.OffsetMapping.ForThisReference.Factory.make(ParameterDescription.InDefinedShape parameterDescription) |
Advice.Dispatcher.OffsetMapping |
Advice.Dispatcher.OffsetMapping.ForAllArguments.Factory.make(ParameterDescription.InDefinedShape parameterDescription) |
Advice.Dispatcher.OffsetMapping |
Advice.Dispatcher.OffsetMapping.ForField.Factory.make(ParameterDescription.InDefinedShape parameterDescription) |
Advice.Dispatcher.OffsetMapping |
Advice.Dispatcher.OffsetMapping.ForOrigin.Factory.make(ParameterDescription.InDefinedShape parameterDescription) |
Advice.Dispatcher.OffsetMapping |
Advice.Dispatcher.OffsetMapping.ForStubValue.make(ParameterDescription.InDefinedShape parameterDescription) |
Advice.Dispatcher.OffsetMapping |
Advice.Dispatcher.OffsetMapping.ForEnterValue.Factory.make(ParameterDescription.InDefinedShape parameterDescription) |
Advice.Dispatcher.OffsetMapping |
Advice.Dispatcher.OffsetMapping.ForReturnValue.Factory.make(ParameterDescription.InDefinedShape parameterDescription) |
Advice.Dispatcher.OffsetMapping |
Advice.Dispatcher.OffsetMapping.ForThrowable.Factory.make(ParameterDescription.InDefinedShape parameterDescription) |
Advice.Dispatcher.OffsetMapping |
Advice.Dispatcher.OffsetMapping.ForUserValue.Factory.make(ParameterDescription.InDefinedShape parameterDescription) |
Advice.Dispatcher.OffsetMapping |
Advice.Dispatcher.OffsetMapping.Illegal.make(ParameterDescription.InDefinedShape parameterDescription) |
StackManipulation |
Advice.DynamicValue.ForFieldValue.resolve(TypeDescription instrumentedType,
MethodDescription instrumentedMethod,
ParameterDescription.InDefinedShape target,
AnnotationDescription.Loadable<Annotation> annotation,
Assigner assigner,
boolean initialized) |
StackManipulation |
Advice.DynamicValue.ForParameterValue.resolve(TypeDescription instrumentedType,
MethodDescription instrumentedMethod,
ParameterDescription.InDefinedShape target,
AnnotationDescription.Loadable<Annotation> annotation,
Assigner assigner,
boolean initialized) |
StackManipulation |
Advice.DynamicValue.ForSerializedValue.resolve(TypeDescription instrumentedType,
MethodDescription instrumentedMethod,
ParameterDescription.InDefinedShape target,
AnnotationDescription.Loadable<Annotation> annotation,
Assigner assigner,
boolean initialized) |
StackManipulation |
Advice.DynamicValue.ForFixedValue.resolve(TypeDescription instrumentedType,
MethodDescription instrumentedMethod,
ParameterDescription.InDefinedShape target,
AnnotationDescription.Loadable<S> annotation,
Assigner assigner,
boolean initialized) |
StackManipulation |
Advice.DynamicValue.resolve(TypeDescription instrumentedType,
MethodDescription instrumentedMethod,
ParameterDescription.InDefinedShape target,
AnnotationDescription.Loadable<T> annotation,
Assigner assigner,
boolean initialized)
Resolves a constant value that is mapped to a parameter that is annotated with a custom bound annotation:
A primitive wrapper value allow binding of the primitive which is optionally boxed but never unboxed.
|
Constructor and Description |
---|
ForUserValue(ParameterDescription.InDefinedShape target,
AnnotationDescription.Loadable<T> annotation,
Advice.DynamicValue<T> dynamicValue)
Creates a new offset mapping for a user-defined value.
|
Modifier and Type | Class and Description |
---|---|
static class |
ParameterDescription.ForLoadedParameter<T extends AccessibleObject>
Description of a loaded parameter with support for the information exposed by
java.lang.reflect.Parameter . |
protected static class |
ParameterDescription.ForLoadedParameter.OfConstructor
A description of a loaded
Constructor parameter for a modern VM. |
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. |
protected static class |
ParameterDescription.ForLoadedParameter.OfMethod
A description of a loaded
Method parameter for a modern VM. |
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.
|
Modifier and Type | Method and Description |
---|---|
ParameterDescription.InDefinedShape |
ParameterDescription.InDefinedShape.AbstractBase.asDefined() |
ParameterDescription.InDefinedShape |
ParameterDescription.TypeSubstituting.asDefined() |
ParameterDescription.InDefinedShape |
ParameterList.ForLoadedExecutable.OfConstructor.get(int index) |
ParameterDescription.InDefinedShape |
ParameterList.ForLoadedExecutable.OfMethod.get(int index) |
ParameterDescription.InDefinedShape |
ParameterList.ForLoadedExecutable.OfLegacyVmConstructor.get(int index) |
ParameterDescription.InDefinedShape |
ParameterList.ForLoadedExecutable.OfLegacyVmMethod.get(int index) |
ParameterDescription.InDefinedShape |
ParameterList.Explicit.ForTypes.get(int index) |
ParameterDescription.InDefinedShape |
ParameterList.ForTokens.get(int index) |
Modifier and Type | Method and Description |
---|---|
ParameterList<ParameterDescription.InDefinedShape> |
ParameterList.asDefined()
Returns this list of these parameter descriptions resolved to their defined shape.
|
ParameterList<ParameterDescription.InDefinedShape> |
ParameterList.AbstractBase.asDefined() |
ParameterList<ParameterDescription.InDefinedShape> |
ParameterList.Empty.asDefined() |
ParameterList<ParameterDescription.InDefinedShape> |
ParameterList.ForLoadedExecutable.Dispatcher.describe(Constructor<?> constructor)
Describes a
Constructor 's parameters of the given VM. |
ParameterList<ParameterDescription.InDefinedShape> |
ParameterList.ForLoadedExecutable.Dispatcher.ForLegacyVm.describe(Constructor<?> constructor) |
ParameterList<ParameterDescription.InDefinedShape> |
ParameterList.ForLoadedExecutable.Dispatcher.ForJava8CapableVm.describe(Constructor<?> constructor) |
ParameterList<ParameterDescription.InDefinedShape> |
ParameterList.ForLoadedExecutable.Dispatcher.describe(Method method)
Describes a
Method 's parameters of the given VM. |
ParameterList<ParameterDescription.InDefinedShape> |
ParameterList.ForLoadedExecutable.Dispatcher.ForLegacyVm.describe(Method method) |
ParameterList<ParameterDescription.InDefinedShape> |
ParameterList.ForLoadedExecutable.Dispatcher.ForJava8CapableVm.describe(Method method) |
ParameterList<ParameterDescription.InDefinedShape> |
MethodDescription.InDefinedShape.getParameters() |
ParameterList<ParameterDescription.InDefinedShape> |
MethodDescription.ForLoadedConstructor.getParameters() |
ParameterList<ParameterDescription.InDefinedShape> |
MethodDescription.ForLoadedMethod.getParameters() |
ParameterList<ParameterDescription.InDefinedShape> |
MethodDescription.Latent.getParameters() |
ParameterList<ParameterDescription.InDefinedShape> |
MethodDescription.Latent.TypeInitializer.getParameters() |
static ParameterList<ParameterDescription.InDefinedShape> |
ParameterList.ForLoadedExecutable.of(Constructor<?> constructor)
Creates a new list that describes the parameters of the given
Constructor . |
static ParameterList<ParameterDescription.InDefinedShape> |
ParameterList.ForLoadedExecutable.of(Method method)
Creates a new list that describes the parameters of the given
Method . |
Modifier and Type | Method and Description |
---|---|
ParameterDescription.InDefinedShape |
Transformer.ForMethod.TransformedMethod.TransformedParameter.asDefined() |
Modifier and Type | Method and Description |
---|---|
ParameterList<ParameterDescription.InDefinedShape> |
TypeWriter.MethodPool.Record.ForDefinedMethod.OfVisibilityBridge.VisibilityBridge.getParameters() |
ParameterList<ParameterDescription.InDefinedShape> |
TypeWriter.MethodPool.Record.AccessBridgeWrapper.AccessorBridge.getParameters() |
ParameterList<ParameterDescription.InDefinedShape> |
TypeWriter.MethodPool.Record.AccessBridgeWrapper.BridgeTarget.getParameters() |
Modifier and Type | Method and Description |
---|---|
ParameterList<ParameterDescription.InDefinedShape> |
MethodRebaseResolver.Resolution.ForRebasedMethod.RebasedMethod.getParameters() |
ParameterList<ParameterDescription.InDefinedShape> |
MethodRebaseResolver.Resolution.ForRebasedConstructor.RebasedConstructor.getParameters() |
Modifier and Type | Method and Description |
---|---|
ParameterList<ParameterDescription.InDefinedShape> |
Implementation.Context.Default.AccessorMethod.getParameters() |
ParameterList<ParameterDescription.InDefinedShape> |
Implementation.Context.Default.FieldGetter.getParameters() |
ParameterList<ParameterDescription.InDefinedShape> |
Implementation.Context.Default.FieldSetter.getParameters() |
Modifier and Type | Method and Description |
---|---|
static <T extends ParameterDescription> |
ElementMatchers.is(ParameterDescription.InDefinedShape parameter)
Exactly matches a given parameter as a
ParameterDescription in its defined shape. |
Modifier and Type | Method and Description |
---|---|
static <T extends ParameterDescription> |
ElementMatchers.definedParameter(ElementMatcher<? super ParameterDescription.InDefinedShape> matcher)
Matches a parameter in its defined shape.
|
Copyright © 2014–2017. All rights reserved.