public static void accept(SARLQuickfixProvider provider, Issue issue, IssueResolutionAcceptor acceptor) {
		final String[] data = issue.getData();
		if (data != null && data.length > 0) {
			final String expectedType = data[0];
			final ReturnTypeReplaceModification modification = new ReturnTypeReplaceModification(expectedType);
			modification.setIssue(issue);
			modification.setTools(provider);
			acceptor.accept(issue,
					MessageFormat.format(Messages.SARLQuickfixProvider_15, expectedType),
					Messages.SARLQuickfixProvider_16,
					JavaPluginImages.IMG_CORRECTION_CHANGE,
					modification,
					IProposalRelevance.CHANGE_RETURN_TYPE);
		}
	}
public static void accept ( SARLQuickfixProvider provider , Issue issue , IssueResolutionAcceptor acceptor ) { final String [ ] data = issue . getData ( ) ; if ( data != null && data . length > 0 ) { final String expectedType = data [ 0 ] ; final ReturnTypeReplaceModification modification = new ReturnTypeReplaceModification ( expectedType ) ; modification . setIssue ( issue ) ; modification . setTools ( provider ) ; acceptor . accept ( issue , MessageFormat . format ( Messages . SARLQuickfixProvider_15 , expectedType ) , Messages . SARLQuickfixProvider_16 , JavaPluginImages . IMG_CORRECTION_CHANGE , modification , IProposalRelevance . CHANGE_RETURN_TYPE ) ; } }
Create the quick fix if needed.

<p>User data contains the name of the expected type.

@param provider the quick fix provider.
@param issue the issue to fix.
@param acceptor the quick fix acceptor.