Bug 76649 New 'Inexact Argument for Varargs' compiler option
* COMPILER / Reporting Inexact Argument for Varargs Method/Constructor Invocation * When enabled, the compiler will issue an error or a warning whenever a varargs method/constructor is invoked with an inexact * argument (e.g. Class.getMethod(String name, Class ... args ) invoked with arguments ("foo", null)) * with inexact type match. * - option id: "org.eclipse.jdt.core.compiler.problem.inexactVarargsArgument" * - possible values: { "error", "warning", "ignore" } * - default: "warning" To be added to the 1.5 tag on the compiler
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/preferences/CompilerConfigurationBlock.java
addComboBox(composite, label, PREF_PB_MISSING_JAVADOC_COMMENTS, errorWarningIgnore, errorWarningIgnoreLabels, 0);
		label = PreferencesMessages.getString("CompilerConfigurationBlock.pb_missing_comments_visibility.label"); 
		addComboBox(composite, label, PREF_PB_MISSING_JAVADOC_COMMENTS_VISIBILITY, visibilities, visibilitiesLabels, indent);
		
		label= PreferencesMessages.getString("CompilerConfigurationBlock.pb_missing_comments_overriding.label"); 
		addCheckBox(composite, label, PREF_PB_MISSING_JAVADOC_COMMENTS_OVERRIDING, enabledDisabled, indent);
		return outer;
	}
	
	private Composite createBuildPathTabContent(TabFolder folder) {
		String[] abortIgnoreValues= new String[] { ABORT, IGNORE };
		String[] cleanIgnoreValues= new String[] { CLEAN, IGNORE };
		String[] enableDisableValues= new String[] { ENABLED, DISABLED };
		
		String[] errorWarning= new String[] { ERROR, WARNING };
		
		String[] errorWarningLabels= new String[] {
			PreferencesMessages.getString("CompilerConfigurationBlock.error"),  
			PreferencesMessages.getString("CompilerConfigurationBlock.warning") 
		};
		
		int nColumns= 3;
		
		GridLayout layout= new GridLayout();
		layout.numColumns= nColumns;
		Composite othersComposite= new Composite(folder, SWT.NULL);
		othersComposite.setLayout(layout);
		
		Label description= new Label(othersComposite, SWT.WRAP);
		description.setText(PreferencesMessages.getString("CompilerConfigurationBlock.build_warnings.description"));