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) |
protected static Implementation.SpecialMethodInvocation |
RebaseImplementationTarget.RebasedMethodInvocation.of(MethodDescription resolvedMethod,
TypeDescription instrumentedType,
StackManipulation additionalArguments)
Creates a special method invocation for the given method.
|
Modifier and Type | Method and Description |
---|---|
Implementation.SpecialMethodInvocation |
SubclassImplementationTarget.invokeSuper(MethodDescription.SignatureToken token) |
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(TypeDescription targetType,
MethodDescription.SignatureToken token)
Creates a special method invocation for invoking a default method.
|
Implementation.SpecialMethodInvocation |
Implementation.Target.AbstractBase.invokeDefault(TypeDescription targetType,
MethodDescription.SignatureToken token) |
Implementation.SpecialMethodInvocation |
Implementation.Target.invokeDominant(MethodDescription.SignatureToken token)
Invokes a dominant method, i.e. if the method token can be invoked as a super method invocation, this invocation is considered dominant.
|
Implementation.SpecialMethodInvocation |
Implementation.Target.AbstractBase.invokeDominant(MethodDescription.SignatureToken token) |
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.
|
Modifier and Type | Method and Description |
---|---|
MethodDescription.InDefinedShape |
Implementation.Context.Default.registerAccessorFor(Implementation.SpecialMethodInvocation specialMethodInvocation) |
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.
|
Modifier and Type | Method and Description |
---|---|
MethodDescription.InDefinedShape |
AuxiliaryType.MethodAccessorFactory.registerAccessorFor(Implementation.SpecialMethodInvocation specialMethodInvocation)
Registers an accessor method for a
Implementation.SpecialMethodInvocation which cannot itself be
triggered invoked directly from outside a type. |
MethodDescription.InDefinedShape |
AuxiliaryType.MethodAccessorFactory.Illegal.registerAccessorFor(Implementation.SpecialMethodInvocation specialMethodInvocation) |
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) |
Implementation.SpecialMethodInvocation |
Morph.Binder.DefaultMethodLocator.Explicit.resolve(Implementation.Target implementationTarget,
MethodDescription source) |
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) |
Implementation.SpecialMethodInvocation |
DefaultCall.Binder.DefaultMethodLocator.Explicit.resolve(Implementation.Target implementationTarget,
MethodDescription source) |
Constructor and Description |
---|
RedirectionProxy(TypeDescription morphingType,
TypeDescription instrumentedType,
Implementation.SpecialMethodInvocation specialMethodInvocation,
Assigner assigner,
boolean serializableProxy)
Creates a new redirection proxy.
|
Copyright © 2014–2016. All rights reserved.