Bug 20768 JUnit New TestCase wizard inserts "[" in method name [JUnit]
For the method (in the class being tested) with the signature "static double[] applyPixelEncoding(double[][] pm, double value[])" and for which another method exists with the same name but different signature, the wizard generates the method in the test class "public void testApplyPixelEncoding[DArrayDArray() {}"
org.eclipse.jdt.junit/src/org/eclipse/jdt/internal/junit/wizards/NewTestCaseCreationWizardPage.java
}
			}
		}
		CodeGenerationSettings settings= JavaPreferencesSettings.getCodeGenerationSettings();
		if (methodTemplate != null) {
			GenStubSettings genStubSettings= new GenStubSettings(settings);
			genStubSettings.fCallSuper= true;				
			genStubSettings.fMethodOverwrites= true;
			constr= JUnitStubUtility.genStub(getTypeName(), methodTemplate, genStubSettings, imports);
		} else {
			constr += "public "+getTypeName()+"(String name) {\nsuper(name);\n}\n\n"; 
		}
		type.createMethod(constr, null, true, null);	
		fIndexOfFirstTestMethod++;
	}
	protected void createMain(IType type) throws JavaModelException {
		type.createMethod(fMethodStubsButtons.getMainMethod(getTypeName()), null, false, null);	
		fIndexOfFirstTestMethod++;		
	}
	protected void createSetUp(IType type, ImportsManager imports) throws JavaModelException {
		ITypeHierarchy typeHierarchy= null;
		IType[] superTypes= null;
		String setUp= ""; 
		IMethod methodTemplate= null;
		if (type.exists()) {
			typeHierarchy= type.newSupertypeHierarchy(null);
			superTypes= typeHierarchy.getAllSuperclasses(type);
			for (int i= 0; i < superTypes.length; i++) {
				if (superTypes[i].exists()) {
					IMethod testMethod= superTypes[i].getMethod(SETUP, new String[] {});