static MemberSubstitution |
MemberSubstitution.relaxed() |
Creates a member substitutor that skips any unresolvable fields or methods that are referenced within a method body.
|
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.
|
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.
|
static MemberSubstitution |
MemberSubstitution.strict() |
Creates a member substitutor 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.
|