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 |
---|---|
Advice.OffsetMapping |
Advice.OffsetMapping.ForAllArguments.Factory.make(ParameterDescription.InDefinedShape target,
AnnotationDescription.Loadable<Advice.AllArguments> annotation,
Advice.OffsetMapping.Factory.AdviceType adviceType)
Creates a new offset mapping for the supplied parameter if possible.
|
Advice.OffsetMapping |
Advice.OffsetMapping.ForArgument.Unresolved.Factory.make(ParameterDescription.InDefinedShape target,
AnnotationDescription.Loadable<Advice.Argument> annotation,
Advice.OffsetMapping.Factory.AdviceType adviceType)
Creates a new offset mapping for the supplied parameter if possible.
|
Advice.OffsetMapping |
Advice.OffsetMapping.ForEnterValue.Factory.make(ParameterDescription.InDefinedShape target,
AnnotationDescription.Loadable<Advice.Enter> annotation,
Advice.OffsetMapping.Factory.AdviceType adviceType)
Creates a new offset mapping for the supplied parameter if possible.
|
Advice.OffsetMapping |
Advice.OffsetMapping.ForExitValue.Factory.make(ParameterDescription.InDefinedShape target,
AnnotationDescription.Loadable<Advice.Exit> annotation,
Advice.OffsetMapping.Factory.AdviceType adviceType)
Creates a new offset mapping for the supplied parameter if possible.
|
Advice.OffsetMapping |
Advice.OffsetMapping.ForField.Unresolved.Factory.make(ParameterDescription.InDefinedShape target,
AnnotationDescription.Loadable<Advice.FieldValue> annotation,
Advice.OffsetMapping.Factory.AdviceType adviceType)
Creates a new offset mapping for the supplied parameter if possible.
|
Advice.OffsetMapping |
Advice.OffsetMapping.ForLocalValue.Factory.make(ParameterDescription.InDefinedShape target,
AnnotationDescription.Loadable<Advice.Local> annotation,
Advice.OffsetMapping.Factory.AdviceType adviceType)
Creates a new offset mapping for the supplied parameter if possible.
|
Advice.OffsetMapping |
Advice.OffsetMapping.ForOrigin.Factory.make(ParameterDescription.InDefinedShape target,
AnnotationDescription.Loadable<Advice.Origin> annotation,
Advice.OffsetMapping.Factory.AdviceType adviceType)
Creates a new offset mapping for the supplied parameter if possible.
|
Advice.OffsetMapping |
Advice.OffsetMapping.ForReturnValue.Factory.make(ParameterDescription.InDefinedShape target,
AnnotationDescription.Loadable<Advice.Return> annotation,
Advice.OffsetMapping.Factory.AdviceType adviceType)
Creates a new offset mapping for the supplied parameter if possible.
|
Advice.OffsetMapping |
Advice.OffsetMapping.ForStubValue.make(ParameterDescription.InDefinedShape target,
AnnotationDescription.Loadable<Advice.StubValue> annotation,
Advice.OffsetMapping.Factory.AdviceType adviceType)
Creates a new offset mapping for the supplied parameter if possible.
|
Advice.OffsetMapping |
Advice.OffsetMapping.ForThisReference.Factory.make(ParameterDescription.InDefinedShape target,
AnnotationDescription.Loadable<Advice.This> annotation,
Advice.OffsetMapping.Factory.AdviceType adviceType)
Creates a new offset mapping for the supplied parameter if possible.
|
Advice.OffsetMapping |
Advice.OffsetMapping.ForThrowable.Factory.make(ParameterDescription.InDefinedShape target,
AnnotationDescription.Loadable<Advice.Thrown> annotation,
Advice.OffsetMapping.Factory.AdviceType adviceType)
Creates a new offset mapping for the supplied parameter if possible.
|
Advice.OffsetMapping |
Advice.OffsetMapping.ForUnusedValue.Factory.make(ParameterDescription.InDefinedShape target,
AnnotationDescription.Loadable<Advice.Unused> annotation,
Advice.OffsetMapping.Factory.AdviceType adviceType)
Creates a new offset mapping for the supplied parameter if possible.
|
Advice.OffsetMapping |
Advice.OffsetMapping.Factory.make(ParameterDescription.InDefinedShape target,
AnnotationDescription.Loadable<T> annotation,
Advice.OffsetMapping.Factory.AdviceType adviceType)
Creates a new offset mapping for the supplied parameter if possible.
|
Advice.OffsetMapping |
Advice.OffsetMapping.Factory.Simple.make(ParameterDescription.InDefinedShape target,
AnnotationDescription.Loadable<T> annotation,
Advice.OffsetMapping.Factory.AdviceType adviceType)
Creates a new offset mapping for the supplied parameter if possible.
|
Advice.OffsetMapping |
Advice.OffsetMapping.Factory.Illegal.make(ParameterDescription.InDefinedShape target,
AnnotationDescription.Loadable<T> annotation,
Advice.OffsetMapping.Factory.AdviceType adviceType)
Creates a new offset mapping for the supplied parameter if possible.
|
Advice.OffsetMapping |
Advice.OffsetMapping.ForArgument.Resolved.Factory.make(ParameterDescription.InDefinedShape target,
AnnotationDescription.Loadable<T> annotation,
Advice.OffsetMapping.Factory.AdviceType adviceType)
Creates a new offset mapping for the supplied parameter if possible.
|
Advice.OffsetMapping |
Advice.OffsetMapping.ForField.Resolved.Factory.make(ParameterDescription.InDefinedShape target,
AnnotationDescription.Loadable<T> annotation,
Advice.OffsetMapping.Factory.AdviceType adviceType)
Creates a new offset mapping for the supplied parameter if possible.
|
Advice.OffsetMapping |
Advice.OffsetMapping.ForStackManipulation.Factory.make(ParameterDescription.InDefinedShape target,
AnnotationDescription.Loadable<T> annotation,
Advice.OffsetMapping.Factory.AdviceType adviceType)
Creates a new offset mapping for the supplied parameter if possible.
|
Advice.OffsetMapping |
Advice.OffsetMapping.ForStackManipulation.OfDefaultValue.make(ParameterDescription.InDefinedShape target,
AnnotationDescription.Loadable<T> annotation,
Advice.OffsetMapping.Factory.AdviceType adviceType)
Creates a new offset mapping for the supplied parameter if possible.
|
Advice.OffsetMapping |
Advice.OffsetMapping.ForStackManipulation.OfAnnotationProperty.make(ParameterDescription.InDefinedShape target,
AnnotationDescription.Loadable<T> annotation,
Advice.OffsetMapping.Factory.AdviceType adviceType)
Creates a new offset mapping for the supplied parameter if possible.
|
Advice.OffsetMapping |
Advice.OffsetMapping.ForSerializedValue.Factory.make(ParameterDescription.InDefinedShape target,
AnnotationDescription.Loadable<T> annotation,
Advice.OffsetMapping.Factory.AdviceType adviceType)
Creates a new offset mapping for the supplied parameter if possible.
|
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()
Returns this type dependant in its defined shape, i.e.
|
ParameterDescription.InDefinedShape |
ParameterDescription.TypeSubstituting.asDefined()
Returns this type dependant in its defined shape, i.e.
|
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()
Returns this list of these parameter descriptions resolved to their defined shape.
|
ParameterList<ParameterDescription.InDefinedShape> |
ParameterList.Empty.asDefined()
Returns this list of these parameter descriptions resolved to their defined shape.
|
ParameterList<ParameterDescription.InDefinedShape> |
ParameterList.ForLoadedExecutable.Dispatcher.describe(Constructor<?> constructor,
ParameterDescription.ForLoadedParameter.ParameterAnnotationSource parameterAnnotationSource)
Describes a
Constructor 's parameters of the given VM. |
ParameterList<ParameterDescription.InDefinedShape> |
ParameterList.ForLoadedExecutable.Dispatcher.ForLegacyVm.describe(Constructor<?> constructor,
ParameterDescription.ForLoadedParameter.ParameterAnnotationSource parameterAnnotationSource)
Describes a
Constructor 's parameters of the given VM. |
ParameterList<ParameterDescription.InDefinedShape> |
ParameterList.ForLoadedExecutable.Dispatcher.ForJava8CapableVm.describe(Constructor<?> constructor,
ParameterDescription.ForLoadedParameter.ParameterAnnotationSource parameterAnnotationSource)
Describes a
Constructor 's parameters of the given VM. |
ParameterList<ParameterDescription.InDefinedShape> |
ParameterList.ForLoadedExecutable.Dispatcher.describe(Method method,
ParameterDescription.ForLoadedParameter.ParameterAnnotationSource parameterAnnotationSource)
Describes a
Method 's parameters of the given VM. |
ParameterList<ParameterDescription.InDefinedShape> |
ParameterList.ForLoadedExecutable.Dispatcher.ForLegacyVm.describe(Method method,
ParameterDescription.ForLoadedParameter.ParameterAnnotationSource parameterAnnotationSource)
Describes a
Method 's parameters of the given VM. |
ParameterList<ParameterDescription.InDefinedShape> |
ParameterList.ForLoadedExecutable.Dispatcher.ForJava8CapableVm.describe(Method method,
ParameterDescription.ForLoadedParameter.ParameterAnnotationSource parameterAnnotationSource)
Describes a
Method 's parameters of the given VM. |
ParameterList<ParameterDescription.InDefinedShape> |
MethodDescription.InDefinedShape.getParameters()
Returns a list of this method's parameters.
|
ParameterList<ParameterDescription.InDefinedShape> |
MethodDescription.ForLoadedConstructor.getParameters()
Returns a list of this method's parameters.
|
ParameterList<ParameterDescription.InDefinedShape> |
MethodDescription.ForLoadedMethod.getParameters()
Returns a list of this method's parameters.
|
ParameterList<ParameterDescription.InDefinedShape> |
MethodDescription.Latent.getParameters()
Returns a list of this method's parameters.
|
ParameterList<ParameterDescription.InDefinedShape> |
MethodDescription.Latent.TypeInitializer.getParameters()
Returns a list of this method's parameters.
|
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(Constructor<?> constructor,
ParameterDescription.ForLoadedParameter.ParameterAnnotationSource parameterAnnotationSource)
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 . |
static ParameterList<ParameterDescription.InDefinedShape> |
ParameterList.ForLoadedExecutable.of(Method method,
ParameterDescription.ForLoadedParameter.ParameterAnnotationSource parameterAnnotationSource)
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()
Returns this type dependant in its defined shape, i.e.
|
Modifier and Type | Method and Description |
---|---|
ParameterList<ParameterDescription.InDefinedShape> |
TypeWriter.MethodPool.Record.ForDefinedMethod.OfVisibilityBridge.VisibilityBridge.getParameters()
Returns a list of this method's parameters.
|
ParameterList<ParameterDescription.InDefinedShape> |
TypeWriter.MethodPool.Record.AccessBridgeWrapper.AccessorBridge.getParameters()
Returns a list of this method's parameters.
|
ParameterList<ParameterDescription.InDefinedShape> |
TypeWriter.MethodPool.Record.AccessBridgeWrapper.BridgeTarget.getParameters()
Returns a list of this method's parameters.
|
Modifier and Type | Method and Description |
---|---|
ParameterList<ParameterDescription.InDefinedShape> |
MethodRebaseResolver.Resolution.ForRebasedMethod.RebasedMethod.getParameters()
Returns a list of this method's parameters.
|
ParameterList<ParameterDescription.InDefinedShape> |
MethodRebaseResolver.Resolution.ForRebasedConstructor.RebasedConstructor.getParameters()
Returns a list of this method's parameters.
|
Modifier and Type | Method and Description |
---|---|
ParameterList<ParameterDescription.InDefinedShape> |
Implementation.Context.Default.AccessorMethod.getParameters()
Returns a list of this method's parameters.
|
ParameterList<ParameterDescription.InDefinedShape> |
Implementation.Context.Default.FieldGetter.getParameters()
Returns a list of this method's parameters.
|
ParameterList<ParameterDescription.InDefinedShape> |
Implementation.Context.Default.FieldSetter.getParameters()
Returns a list of this method's parameters.
|
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–2020. All rights reserved.