static MemberSubstitution |
MemberSubstitution.relaxed() |
Creates a member substitution that skips any unresolvable fields or methods that are referenced within a method body.
|
MemberSubstitution |
MemberSubstitution.WithoutSpecification.ForMatchedByteCodeElement.replaceWith(MemberSubstitution.Substitution.Factory substitutionFactory) |
Replaces any interaction with the supplied substitution.
|
MemberSubstitution |
MemberSubstitution.WithoutSpecification.ForMatchedField.replaceWith(MemberSubstitution.Substitution.Factory substitutionFactory) |
Replaces any interaction with the supplied substitution.
|
MemberSubstitution |
MemberSubstitution.WithoutSpecification.ForMatchedMethod.replaceWith(MemberSubstitution.Substitution.Factory substitutionFactory) |
Replaces any interaction with the supplied substitution.
|
MemberSubstitution |
MemberSubstitution.WithoutSpecification.replaceWith(java.lang.reflect.Field field) |
Replaces any interaction with a matched byte code element by an interaction with the specified field.
|
MemberSubstitution |
MemberSubstitution.WithoutSpecification.replaceWith(java.lang.reflect.Method method) |
Replaces any interaction with a matched byte code element by an invocation of the specified method.
|
abstract MemberSubstitution |
MemberSubstitution.WithoutSpecification.replaceWith(MemberSubstitution.Substitution.Factory factory) |
Replaces any interaction with the supplied substitution.
|
MemberSubstitution |
MemberSubstitution.WithoutSpecification.replaceWith(FieldDescription fieldDescription) |
Replaces any interaction with a matched byte code element by an interaction with the specified field.
|
MemberSubstitution |
MemberSubstitution.WithoutSpecification.replaceWith(MethodDescription methodDescription) |
Replaces any interaction with a matched byte code element by an invocation of the specified method.
|
MemberSubstitution |
MemberSubstitution.WithoutSpecification.replaceWithChain(java.util.List<? extends MemberSubstitution.Substitution.Chain.Step.Factory> steps) |
Replaces the matched byte code elements with a chain of substitutions that can operate on the same values as the substituted element.
|
MemberSubstitution |
MemberSubstitution.WithoutSpecification.replaceWithChain(MemberSubstitution.Substitution.Chain.Step.Factory... step) |
Replaces the matched byte code elements with a chain of substitutions that can operate on the same values as the substituted element.
|
MemberSubstitution |
MemberSubstitution.WithoutSpecification.replaceWithField(ElementMatcher<? super FieldDescription> matcher) |
Replaces any interaction with a matched byte code element with a non-static field access on the first
parameter of the matched element.
|
MemberSubstitution |
MemberSubstitution.WithoutSpecification.replaceWithInstrumentedMethod() |
Replaces any interaction with a matched byte code element with an invocation of the instrumented
method.
|
MemberSubstitution |
MemberSubstitution.WithoutSpecification.replaceWithMethod(ElementMatcher<? super MethodDescription> matcher) |
Replaces any interaction with a matched byte code element with a non-static method access on the first
parameter of the matched element.
|
MemberSubstitution |
MemberSubstitution.WithoutSpecification.replaceWithMethod(ElementMatcher<? super MethodDescription> matcher,
MethodGraph.Compiler methodGraphCompiler) |
Replaces any interaction with a matched byte code element with a non-static method access on the first
parameter of the matched element.
|
static MemberSubstitution |
MemberSubstitution.strict() |
Creates a member substitution that requires the resolution of all fields and methods that are referenced within a method body.
|
MemberSubstitution |
MemberSubstitution.WithoutSpecification.stub() |
Subs any interaction with a matched byte code element.
|
MemberSubstitution |
MemberSubstitution.with(MemberSubstitution.TypePoolResolver typePoolResolver) |
Specifies a type pool resolver to be used for locating members.
|
MemberSubstitution |
MemberSubstitution.with(MethodGraph.Compiler methodGraphCompiler) |
Specifies the use of a specific method graph compiler for the resolution of virtual methods.
|