Interface MemberSubstitution.Substitution.ForFieldAccess.FieldResolver

    • Method Detail

      • resolve

        FieldDescription resolve​(TypeDescription targetType,
                                 ByteCodeElement target,
                                 TypeList.Generic parameters,
                                 TypeDescription.Generic result)
        Resolves the field to substitute with.
        Parameters:
        targetType - The target type on which a member is accessed.
        target - The target field, method or constructor that is substituted,
        parameters - All parameters that serve as input to this access.
        result - The result that is expected from the interaction or void if no result is expected.
        Returns:
        The field to substitute with.