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(java.lang.Class<?> type)
Delegates any intercepted method to invoke a
static method that is declared by the supplied type. |
MethodDelegation |
MethodDelegation.WithCustomProperties.to(java.lang.Class<?> type)
Delegates any intercepted method to invoke a
static method that is declared by the supplied type. |
static MethodDelegation |
MethodDelegation.to(java.lang.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(java.lang.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(java.lang.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(java.lang.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(java.lang.Object target,
java.lang.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(java.lang.Object target,
java.lang.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(java.lang.Object target,
java.lang.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(java.lang.Object target,
java.lang.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(java.lang.Object target,
java.lang.reflect.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(java.lang.Object target,
java.lang.reflect.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(java.lang.Object target,
java.lang.reflect.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(java.lang.Object target,
java.lang.reflect.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(java.lang.Object target,
java.lang.reflect.Type type,
java.lang.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(java.lang.Object target,
java.lang.reflect.Type type,
java.lang.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(java.lang.Object target,
java.lang.reflect.Type type,
java.lang.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(java.lang.Object target,
java.lang.reflect.Type type,
java.lang.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(java.lang.Class<?> type)
Delegates any intercepted method to invoke a constructor of the supplied type.
|
MethodDelegation |
MethodDelegation.WithCustomProperties.toConstructor(java.lang.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(java.lang.String name)
Delegates any intercepted method to invoke a non-
static method on the instance of the supplied field. |
MethodDelegation |
MethodDelegation.WithCustomProperties.toField(java.lang.String name)
Delegates any intercepted method to invoke a non-
static method on the instance of the supplied field. |
static MethodDelegation |
MethodDelegation.toField(java.lang.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(java.lang.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(java.lang.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(java.lang.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(java.lang.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(java.lang.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(java.lang.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(java.lang.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(java.lang.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(java.lang.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.
|