MemberSubstitution.WithoutSpecification |
MemberSubstitution.constructor(ElementMatcher<? super MethodDescription> matcher) |
Substitutes any constructor invocation that matches the given matcher.
|
MemberSubstitution.WithoutSpecification |
MemberSubstitution.element(ElementMatcher<? super ByteCodeElement> matcher) |
Substitutes any interaction with a field or method that matches the given matcher.
|
MemberSubstitution.WithoutSpecification |
MemberSubstitution.invokable(ElementMatcher<? super MethodDescription> matcher) |
Substitutes any method or constructor invocation that matches the given matcher.
|
MemberSubstitution.WithoutSpecification |
MemberSubstitution.WithoutSpecification.ForMatchedField.onRead() |
When invoked, only read access of the previously matched field is substituted.
|
MemberSubstitution.WithoutSpecification |
MemberSubstitution.WithoutSpecification.ForMatchedMethod.onSuperCall() |
Limits the substituted method calls to method calls that invoke a method as a super call.
|
MemberSubstitution.WithoutSpecification |
MemberSubstitution.WithoutSpecification.ForMatchedMethod.onVirtualCall() |
Limits the substituted method calls to method calls that invoke a method virtually (as opposed to a super invocation).
|
MemberSubstitution.WithoutSpecification |
MemberSubstitution.WithoutSpecification.ForMatchedField.onWrite() |
When invoked, only write access of the previously matched field is substituted.
|