@HashCodeAndEqualsPlugin.Enhance protected static class MemberSubstitution.WithoutSpecification.ForMatchedByteCodeElement extends MemberSubstitution.WithoutSpecification
MemberSubstitution.WithoutSpecification.ForMatchedByteCodeElement, MemberSubstitution.WithoutSpecification.ForMatchedField, MemberSubstitution.WithoutSpecification.ForMatchedMethodmethodGraphCompiler, replacementFactory, strict, typePoolResolver| Modifier | Constructor and Description | 
|---|---|
| protected  | ForMatchedByteCodeElement(MethodGraph.Compiler methodGraphCompiler,
                         MemberSubstitution.TypePoolResolver typePoolResolver,
                         boolean strict,
                         MemberSubstitution.Replacement.Factory replacementFactory,
                         ElementMatcher<? super ByteCodeElement> matcher)Creates a new member substitution for a matched byte code element that requires a specification for how to perform a substitution. | 
| Modifier and Type | Method and Description | 
|---|---|
| MemberSubstitution | replaceWith(MemberSubstitution.Substitution.Factory substitutionFactory)Replaces any interaction with the supplied substitution. | 
replaceWith, replaceWith, replaceWith, replaceWith, replaceWithChain, replaceWithChain, replaceWithField, replaceWithInstrumentedMethod, replaceWithMethod, replaceWithMethod, stubprotected ForMatchedByteCodeElement(MethodGraph.Compiler methodGraphCompiler, MemberSubstitution.TypePoolResolver typePoolResolver, boolean strict, MemberSubstitution.Replacement.Factory replacementFactory, ElementMatcher<? super ByteCodeElement> matcher)
methodGraphCompiler - The method graph compiler to use.typePoolResolver - The type pool resolver to use.strict - true if the method processing should be strict where an exception is raised if a member cannot be found.replacementFactory - The replacement factory to use.matcher - A matcher for any byte code elements that should be substituted.public MemberSubstitution replaceWith(MemberSubstitution.Substitution.Factory substitutionFactory)
replaceWith in class MemberSubstitution.WithoutSpecificationsubstitutionFactory - The substitution factory to use for creating the applied substitution.Copyright © 2014–2021. All rights reserved.