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
import org.eclipse.swt.events.SelectionEvent;
import org.eclipse.swt.events.SelectionListener;
import org.eclipse.swt.widgets.Button;
import org.eclipse.swt.widgets.Composite;
import org.eclipse.swt.widgets.Label;
import org.eclipse.swt.widgets.Text;
import org.eclipse.ui.dialogs.SelectionDialog;
import org.eclipse.ui.help.WorkbenchHelp;
/**
 * The first page of the TestCase creation wizard. 
 */
public class NewTestCaseCreationWizardPage extends NewTypeWizardPage {
	protected final static String PAGE_NAME= "NewTestCaseCreationWizardPage"; 
	protected final static String CLASS_TO_TEST= PAGE_NAME + ".classtotest"; 
	protected final static String TEST_CLASS= PAGE_NAME + ".testclass"; 
	protected final static String TEST_SUFFIX= "Test"; 
	protected final static String SETUP= "setUp"; 
	protected final static String TEARDOWN= "tearDown"; 
	protected final static String STORE_GENERATE_MAIN= PAGE_NAME + ".GENERATE_MAIN"; 
	protected final static String STORE_USE_TESTRUNNER= PAGE_NAME + ".USE_TESTRUNNER";	
	protected final static String STORE_TESTRUNNER_TYPE= PAGE_NAME + ".TESTRUNNER_TYPE"; 
	
	private String fDefaultClassToTest;
	private NewTestCaseCreationWizardPage2 fPage2;
	private MethodStubsSelectionButtonGroup fMethodStubsButtons;
	private IType fClassToTest;
	protected IStatus fClassToTestStatus;
	protected IStatus fTestClassStatus;
	private int fIndexOfFirstTestMethod;
	private Label fClassToTestLabel;