Class MemberSubstitution.Substitution.ForFieldAccess.FieldResolver.ForElementMatcher

    • Constructor Detail

      • ForElementMatcher

        protected ForElementMatcher​(TypeDescription instrumentedType,
                                    ElementMatcher<? super FieldDescription> matcher)
        Creates a new field resolver that locates a field on the receiver type using a matcher.
        Parameters:
        instrumentedType - The instrumented type.
        matcher - The matcher to use for locating the field to substitute with.