Package | Description |
---|---|
net.bytebuddy.agent.builder |
An agent builder is used to easily implement load-time class-transformations using a Java agent.
|
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.dynamic.scaffold.subclass |
All classes and types in this package are related to creating a
DynamicType by
creating a subclass of a given type. |
net.bytebuddy.implementation |
The implementation package contains any logic for intercepting method calls.
|
net.bytebuddy.implementation.auxiliary |
Auxiliary types describe helper types that aid as a supplementary to a given
InstrumentedType . |
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.
|
Constructor and Description |
---|
Appender(Implementation.SpecialMethodInvocation bridgeTargetInvocation)
Creates a new appender for invoking a lambda expression's bridge method target.
|
Modifier and Type | Class and Description |
---|---|
protected static class |
RebaseImplementationTarget.RebasedMethodInvocation
A
Implementation.SpecialMethodInvocation which invokes a rebased method
as given by a MethodRebaseResolver . |
Modifier and Type | Method and Description |
---|---|
Implementation.SpecialMethodInvocation |
RebaseImplementationTarget.invokeSuper(MethodDescription.SignatureToken token)
Creates a special method invocation for invoking the super method of the given method.
|
protected static Implementation.SpecialMethodInvocation |
RebaseImplementationTarget.RebasedMethodInvocation.of(MethodDescription resolvedMethod,
TypeDescription instrumentedType,
TypeList prependedParameters)
Creates a special method invocation for the given method.
|
Implementation.SpecialMethodInvocation |
RebaseImplementationTarget.RebasedMethodInvocation.withCheckedCompatibilityTo(MethodDescription.TypeToken token)
Checks that this special method invocation is compatible with the supplied type representation.
|
Modifier and Type | Method and Description |
---|---|
Implementation.SpecialMethodInvocation |
SubclassImplementationTarget.invokeSuper(MethodDescription.SignatureToken token)
Creates a special method invocation for invoking the super method of the given method.
|
Modifier and Type | Class and Description |
---|---|
static class |
Implementation.SpecialMethodInvocation.AbstractBase
An abstract base implementation of a valid special method invocation.
|
static class |
Implementation.SpecialMethodInvocation.Illegal
A canonical implementation of an illegal
Implementation.SpecialMethodInvocation . |
static class |
Implementation.SpecialMethodInvocation.Simple
A canonical implementation of a
Implementation.SpecialMethodInvocation . |
Modifier and Type | Method and Description |
---|---|
protected abstract Implementation.SpecialMethodInvocation |
Implementation.Target.AbstractBase.DefaultMethodInvocation.apply(MethodGraph.Node node,
TypeDescription targetType)
Resolves a default method invocation for a given node.
|
Implementation.SpecialMethodInvocation |
Implementation.Target.invokeDefault(MethodDescription.SignatureToken token)
Creates a special method invocation for invoking a default method with the given token.
|
Implementation.SpecialMethodInvocation |
Implementation.Target.AbstractBase.invokeDefault(MethodDescription.SignatureToken token)
Creates a special method invocation for invoking a default method with the given token.
|
Implementation.SpecialMethodInvocation |
Implementation.Target.invokeDefault(MethodDescription.SignatureToken token,
TypeDescription targetType)
Creates a special method invocation for invoking a default method.
|
Implementation.SpecialMethodInvocation |
Implementation.Target.AbstractBase.invokeDefault(MethodDescription.SignatureToken token,
TypeDescription targetType)
Creates a special method invocation for invoking a default method.
|
Implementation.SpecialMethodInvocation |
Implementation.Target.invokeDominant(MethodDescription.SignatureToken token)
Invokes a dominant method, i.e.
|
Implementation.SpecialMethodInvocation |
Implementation.Target.AbstractBase.invokeDominant(MethodDescription.SignatureToken token)
Invokes a dominant method, i.e.
|
Implementation.SpecialMethodInvocation |
Implementation.Target.invokeSuper(MethodDescription.SignatureToken token)
Creates a special method invocation for invoking the super method of the given method.
|
static Implementation.SpecialMethodInvocation |
Implementation.SpecialMethodInvocation.Simple.of(MethodDescription methodDescription,
TypeDescription typeDescription)
Creates a special method invocation for a given invocation target.
|
Implementation.SpecialMethodInvocation |
Implementation.SpecialMethodInvocation.withCheckedCompatibilityTo(MethodDescription.TypeToken token)
Checks that this special method invocation is compatible with the supplied type representation.
|
Implementation.SpecialMethodInvocation |
Implementation.SpecialMethodInvocation.Illegal.withCheckedCompatibilityTo(MethodDescription.TypeToken token)
Checks that this special method invocation is compatible with the supplied type representation.
|
Implementation.SpecialMethodInvocation |
Implementation.SpecialMethodInvocation.Simple.withCheckedCompatibilityTo(MethodDescription.TypeToken token)
Checks that this special method invocation is compatible with the supplied type representation.
|
Modifier and Type | Method and Description |
---|---|
MethodDescription.InDefinedShape |
MethodAccessorFactory.registerAccessorFor(Implementation.SpecialMethodInvocation specialMethodInvocation,
MethodAccessorFactory.AccessType accessType)
Registers an accessor method for a
Implementation.SpecialMethodInvocation which cannot itself be
triggered invoked directly from outside a type. |
MethodDescription.InDefinedShape |
MethodAccessorFactory.Illegal.registerAccessorFor(Implementation.SpecialMethodInvocation specialMethodInvocation,
MethodAccessorFactory.AccessType accessType)
Registers an accessor method for a
Implementation.SpecialMethodInvocation which cannot itself be
triggered invoked directly from outside a type. |
MethodDescription.InDefinedShape |
Implementation.Context.Disabled.registerAccessorFor(Implementation.SpecialMethodInvocation specialMethodInvocation,
MethodAccessorFactory.AccessType accessType)
Registers an accessor method for a
Implementation.SpecialMethodInvocation which cannot itself be
triggered invoked directly from outside a type. |
MethodDescription.InDefinedShape |
Implementation.Context.Default.registerAccessorFor(Implementation.SpecialMethodInvocation specialMethodInvocation,
MethodAccessorFactory.AccessType accessType)
Registers an accessor method for a
Implementation.SpecialMethodInvocation which cannot itself be
triggered invoked directly from outside a type. |
Constructor and Description |
---|
AccessorMethodDelegation(TypeDescription instrumentedType,
String suffix,
MethodAccessorFactory.AccessType accessType,
Implementation.SpecialMethodInvocation specialMethodInvocation)
Creates a delegation to an accessor method.
|
Modifier and Type | Method and Description |
---|---|
Implementation.SpecialMethodInvocation |
TypeProxy.InvocationFactory.invoke(Implementation.Target implementationTarget,
TypeDescription proxiedType,
MethodDescription instrumentedMethod)
Creates a special method invocation to implement for a given method.
|
Constructor and Description |
---|
AccessorMethodInvocation(MethodDescription instrumentedMethod,
Implementation.SpecialMethodInvocation specialMethodInvocation)
Creates a new accessor method invocation.
|
AssignableSignatureCall(Implementation.SpecialMethodInvocation specialMethodInvocation,
boolean serializable)
Creates an operand stack assignment that creates a
MethodCallProxy for the
targetMethod and pushes this proxy object onto the stack. |
MethodCallProxy(Implementation.SpecialMethodInvocation specialMethodInvocation,
boolean serializableProxy)
Creates a new method call proxy for a given method and uses a default assigner for assigning the method's return
value to either the
Callable.call() or Runnable.run() method returns. |
MethodCallProxy(Implementation.SpecialMethodInvocation specialMethodInvocation,
boolean serializableProxy,
Assigner assigner)
Creates a new method call proxy for a given method.
|
Modifier and Type | Method and Description |
---|---|
Implementation.SpecialMethodInvocation |
Morph.Binder.DefaultMethodLocator.resolve(Implementation.Target implementationTarget,
MethodDescription source)
Locates the correct default method to a given source method.
|
Implementation.SpecialMethodInvocation |
Morph.Binder.DefaultMethodLocator.Implicit.resolve(Implementation.Target implementationTarget,
MethodDescription source)
Locates the correct default method to a given source method.
|
Implementation.SpecialMethodInvocation |
Morph.Binder.DefaultMethodLocator.Explicit.resolve(Implementation.Target implementationTarget,
MethodDescription source)
Locates the correct default method to a given source method.
|
Implementation.SpecialMethodInvocation |
DefaultMethod.Binder.MethodLocator.resolve(Implementation.Target implementationTarget,
MethodDescription source)
Resolves the special method invocation to this target.
|
Implementation.SpecialMethodInvocation |
DefaultMethod.Binder.MethodLocator.ForImplicitType.resolve(Implementation.Target implementationTarget,
MethodDescription source)
Resolves the special method invocation to this target.
|
Implementation.SpecialMethodInvocation |
DefaultMethod.Binder.MethodLocator.ForExplicitType.resolve(Implementation.Target implementationTarget,
MethodDescription source)
Resolves the special method invocation to this target.
|
Implementation.SpecialMethodInvocation |
DefaultCall.Binder.DefaultMethodLocator.resolve(Implementation.Target implementationTarget,
MethodDescription source)
Locates the correct default method to a given source method.
|
Implementation.SpecialMethodInvocation |
DefaultCall.Binder.DefaultMethodLocator.Implicit.resolve(Implementation.Target implementationTarget,
MethodDescription source)
Locates the correct default method to a given source method.
|
Implementation.SpecialMethodInvocation |
DefaultCall.Binder.DefaultMethodLocator.Explicit.resolve(Implementation.Target implementationTarget,
MethodDescription source)
Locates the correct default method to a given source method.
|
Constructor and Description |
---|
DelegationMethod(Implementation.SpecialMethodInvocation specialMethodInvocation,
boolean cached,
boolean privileged)
Creates a new delegation method.
|
DelegationMethod(Implementation.SpecialMethodInvocation specialMethodInvocation,
boolean cached,
boolean privileged)
Creates a new delegation method.
|
RedirectionProxy(TypeDescription morphingType,
TypeDescription instrumentedType,
Implementation.SpecialMethodInvocation specialMethodInvocation,
Assigner assigner,
boolean serializableProxy)
Creates a new redirection proxy.
|
Copyright © 2014–2019. All rights reserved.