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
private static final int IDX_CODEGEN_TARGET_PLATFORM= 3;
	private static final int IDX_COMPLIANCE= 4;
	private static final int IDX_INLINE_JSR_BYTECODE= 5;
	private IStatus fComplianceStatus, fMaxNumberProblemsStatus, fResourceFilterStatus;
	public CompilerConfigurationBlock(IStatusChangeListener context, IJavaProject project) {
		super(context, project, getKeys());
		
		fComplianceControls= new ArrayList();
			
		fComplianceStatus= new StatusInfo();
		fMaxNumberProblemsStatus= new StatusInfo();
		fResourceFilterStatus= new StatusInfo();
		
		 
		if (ENABLED.equals(fWorkingValues.get(PREF_PB_SIGNAL_PARAMETER_IN_ABSTRACT))) {
			fWorkingValues.put(PREF_PB_SIGNAL_PARAMETER_IN_OVERRIDING, ENABLED);
		}
		fRememberedUserCompliance= new String[] { 
			(String) fWorkingValues.get(PREF_PB_ASSERT_AS_IDENTIFIER),
			(String) fWorkingValues.get(PREF_PB_ENUM_AS_IDENTIFIER),
			(String) fWorkingValues.get(PREF_SOURCE_COMPATIBILITY),
			(String) fWorkingValues.get(PREF_CODEGEN_TARGET_PLATFORM),
			(String) fWorkingValues.get(PREF_COMPLIANCE),
			(String) fWorkingValues.get(PREF_CODEGEN_INLINE_JSR_BYTECODE),
		};
	}
	
	private static String[] getKeys() {
		String[] keys= new String[] {
				PREF_LOCAL_VARIABLE_ATTR, PREF_LINE_NUMBER_ATTR, PREF_SOURCE_FILE_ATTR, PREF_CODEGEN_UNUSED_LOCAL,