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
}
			ArrayList overloadedMethods= new ArrayList();
			for (int i= 0; i < allMethods.size(); i++) {
				IMethod current= (IMethod) allMethods.get(i);
				String currentName= current.getElementName();
				boolean currentAdded= false;
				for (ListIterator iter= allMethods.listIterator(i+1); iter.hasNext(); ) {
					IMethod iterMethod= (IMethod) iter.next();
					if (iterMethod.getElementName().equals(currentName)) {
						
						if (!currentAdded) {
							overloadedMethods.add(current);
							currentAdded= true;
						}
						overloadedMethods.add(iterMethod);
						iter.remove();
					}
				}
			}
			
			/* used when for example both sum and Sum methods are present. Then
			 * sum -> testSum
			 * Sum -> testSum1
			 */
			ArrayList newMethodsNames= new ArrayList();				
			for (int i = 0; i < methods.length; i++) {
				String elementName= methods[i].getElementName();
				StringBuffer methodName= new StringBuffer(NewTestCaseCreationWizardPage2.PREFIX+Character.toUpperCase(elementName.charAt(0))+elementName.substring(1));
				StringBuffer newMethod= new StringBuffer();