Package | Description |
---|---|
net.bytebuddy.implementation |
The implementation package contains any logic for intercepting method calls.
|
Modifier and Type | Method and Description |
---|---|
static MethodDelegation |
MethodDelegation.to(Class<?> type)
Delegates any intercepted method to invoke a
static method that is declared by the supplied type. |
MethodDelegation |
MethodDelegation.WithCustomProperties.to(Class<?> type)
Delegates any intercepted method to invoke a
static method that is declared by the supplied type. |
static MethodDelegation |
MethodDelegation.to(Object target)
Delegates any intercepted method to invoke a non-
static method that is declared by the supplied type's instance or any
of its super types. |
MethodDelegation |
MethodDelegation.WithCustomProperties.to(Object target)
Delegates any intercepted method to invoke a non-
static method that is declared by the supplied type's instance or any
of its super types. |
static MethodDelegation |
MethodDelegation.to(Object target,
MethodGraph.Compiler methodGraphCompiler)
Delegates any intercepted method to invoke a non-
static method that is declared by the supplied type's instance or any
of its super types. |
MethodDelegation |
MethodDelegation.WithCustomProperties.to(Object target,
MethodGraph.Compiler methodGraphCompiler)
Delegates any intercepted method to invoke a non-
static method that is declared by the supplied type's instance or any
of its super types. |
static MethodDelegation |
MethodDelegation.to(Object target,
String fieldName)
Delegates any intercepted method to invoke a non-
static method that is declared by the supplied type's instance or any
of its super types. |
MethodDelegation |
MethodDelegation.WithCustomProperties.to(Object target,
String fieldName)
Delegates any intercepted method to invoke a non-
static method that is declared by the supplied type's instance or any
of its super types. |
static MethodDelegation |
MethodDelegation.to(Object target,
String fieldName,
MethodGraph.Compiler methodGraphCompiler)
Delegates any intercepted method to invoke a non-
static method that is declared by the supplied type's instance or any
of its super types. |
MethodDelegation |
MethodDelegation.WithCustomProperties.to(Object target,
String fieldName,
MethodGraph.Compiler methodGraphCompiler)
Delegates any intercepted method to invoke a non-
static method that is declared by the supplied type's instance or any
of its super types. |
static MethodDelegation |
MethodDelegation.to(Object target,
Type type)
Delegates any intercepted method to invoke a non-
static method that is declared by the supplied type's instance or any
of its super types. |
MethodDelegation |
MethodDelegation.WithCustomProperties.to(Object target,
Type type)
Delegates any intercepted method to invoke a non-
static method that is declared by the supplied type's instance or any
of its super types. |
static MethodDelegation |
MethodDelegation.to(Object target,
TypeDefinition typeDefinition)
Delegates any intercepted method to invoke a non-
static method that is declared by the supplied type's instance or any
of its super types. |
MethodDelegation |
MethodDelegation.WithCustomProperties.to(Object target,
TypeDefinition typeDefinition)
Delegates any intercepted method to invoke a non-
static method that is declared by the supplied type's instance or any
of its super types. |
static MethodDelegation |
MethodDelegation.to(Object target,
TypeDefinition typeDefinition,
MethodGraph.Compiler methodGraphCompiler)
Delegates any intercepted method to invoke a non-
static method that is declared by the supplied type's instance or any
of its super types. |
MethodDelegation |
MethodDelegation.WithCustomProperties.to(Object target,
TypeDefinition typeDefinition,
MethodGraph.Compiler methodGraphCompiler)
Delegates any intercepted method to invoke a non-
static method that is declared by the supplied type's instance or any
of its super types. |
static MethodDelegation |
MethodDelegation.to(Object target,
TypeDefinition typeDefinition,
String fieldName)
Delegates any intercepted method to invoke a non-
static method that is declared by the supplied type's instance or any
of its super types. |
MethodDelegation |
MethodDelegation.WithCustomProperties.to(Object target,
TypeDefinition typeDefinition,
String fieldName)
Delegates any intercepted method to invoke a non-
static method that is declared by the supplied type's instance or any
of its super types. |
static MethodDelegation |
MethodDelegation.to(Object target,
TypeDefinition typeDefinition,
String fieldName,
MethodGraph.Compiler methodGraphCompiler)
Delegates any intercepted method to invoke a non-
static method that is declared by the supplied type's instance or any
of its super types. |
MethodDelegation |
MethodDelegation.WithCustomProperties.to(Object target,
TypeDefinition typeDefinition,
String fieldName,
MethodGraph.Compiler methodGraphCompiler)
Delegates any intercepted method to invoke a non-
static method that is declared by the supplied type's instance or any
of its super types. |
static MethodDelegation |
MethodDelegation.to(Object target,
Type type,
MethodGraph.Compiler methodGraphCompiler)
Delegates any intercepted method to invoke a non-
static method that is declared by the supplied type's instance or any
of its super types. |
MethodDelegation |
MethodDelegation.WithCustomProperties.to(Object target,
Type type,
MethodGraph.Compiler methodGraphCompiler)
Delegates any intercepted method to invoke a non-
static method that is declared by the supplied type's instance or any
of its super types. |
static MethodDelegation |
MethodDelegation.to(Object target,
Type type,
String fieldName)
Delegates any intercepted method to invoke a non-
static method that is declared by the supplied type's instance or any
of its super types. |
MethodDelegation |
MethodDelegation.WithCustomProperties.to(Object target,
Type type,
String fieldName)
Delegates any intercepted method to invoke a non-
static method that is declared by the supplied type's instance or any
of its super types. |
static MethodDelegation |
MethodDelegation.to(Object target,
Type type,
String fieldName,
MethodGraph.Compiler methodGraphCompiler)
Delegates any intercepted method to invoke a non-
static method that is declared by the supplied type's instance or any
of its super types. |
MethodDelegation |
MethodDelegation.WithCustomProperties.to(Object target,
Type type,
String fieldName,
MethodGraph.Compiler methodGraphCompiler)
Delegates any intercepted method to invoke a non-
static method that is declared by the supplied type's instance or any
of its super types. |
static MethodDelegation |
MethodDelegation.to(TypeDescription typeDescription)
Delegates any intercepted method to invoke a
static method that is declared by the supplied type. |
MethodDelegation |
MethodDelegation.WithCustomProperties.to(TypeDescription typeDescription)
Delegates any intercepted method to invoke a
static method that is declared by the supplied type. |
static MethodDelegation |
MethodDelegation.toConstructor(Class<?> type)
Delegates any intercepted method to invoke a constructor of the supplied type.
|
MethodDelegation |
MethodDelegation.WithCustomProperties.toConstructor(Class<?> type)
Delegates any intercepted method to invoke a constructor of the supplied type.
|
static MethodDelegation |
MethodDelegation.toConstructor(TypeDescription typeDescription)
Delegates any intercepted method to invoke a constructor of the supplied type.
|
MethodDelegation |
MethodDelegation.WithCustomProperties.toConstructor(TypeDescription typeDescription)
Delegates any intercepted method to invoke a constructor of the supplied type.
|
static MethodDelegation |
MethodDelegation.toField(String name)
Delegates any intercepted method to invoke a non-
static method on the instance of the supplied field. |
MethodDelegation |
MethodDelegation.WithCustomProperties.toField(String name)
Delegates any intercepted method to invoke a non-
static method on the instance of the supplied field. |
static MethodDelegation |
MethodDelegation.toField(String name,
FieldLocator.Factory fieldLocatorFactory)
Delegates any intercepted method to invoke a non-
static method on the instance of the supplied field. |
MethodDelegation |
MethodDelegation.WithCustomProperties.toField(String name,
FieldLocator.Factory fieldLocatorFactory)
Delegates any intercepted method to invoke a non-
static method on the instance of the supplied field. |
static MethodDelegation |
MethodDelegation.toField(String name,
FieldLocator.Factory fieldLocatorFactory,
MethodGraph.Compiler methodGraphCompiler)
Delegates any intercepted method to invoke a non-
static method on the instance of the supplied field. |
MethodDelegation |
MethodDelegation.WithCustomProperties.toField(String name,
FieldLocator.Factory fieldLocatorFactory,
MethodGraph.Compiler methodGraphCompiler)
Delegates any intercepted method to invoke a non-
static method on the instance of the supplied field. |
static MethodDelegation |
MethodDelegation.toField(String name,
MethodGraph.Compiler methodGraphCompiler)
Delegates any intercepted method to invoke a non-
static method on the instance of the supplied field. |
MethodDelegation |
MethodDelegation.WithCustomProperties.toField(String name,
MethodGraph.Compiler methodGraphCompiler)
Delegates any intercepted method to invoke a non-
static method on the instance of the supplied field. |
static MethodDelegation |
MethodDelegation.toMethodReturnOf(String name)
Delegates any intercepted method to invoke a method on an instance that is returned by a parameterless method of the
given name.
|
MethodDelegation |
MethodDelegation.WithCustomProperties.toMethodReturnOf(String name)
Delegates any intercepted method to invoke a method on an instance that is returned by a parameterless method of the
given name.
|
static MethodDelegation |
MethodDelegation.toMethodReturnOf(String name,
MethodGraph.Compiler methodGraphCompiler)
Delegates any intercepted method to invoke a method on an instance that is returned by a parameterless method of the
given name.
|
MethodDelegation |
MethodDelegation.WithCustomProperties.toMethodReturnOf(String name,
MethodGraph.Compiler methodGraphCompiler)
Delegates any intercepted method to invoke a method on an instance that is returned by a parameterless method of the
given name.
|
Copyright © 2014–2024. All rights reserved.