Bug 113091 [code manipulation] Generate constructor using should not use code body templates
As the constructor is ready-for-use after creation, TODOs and other additional strings from the code templates should not be inserted. This would also render the source actions more coherent (create delegate method and getter/setter generation do not use templates too).
org.eclipse.jdt.ui.tests/ui/org/eclipse/jdt/ui/tests/core/source/GenerateConstructorUsingFieldsTest.java
private IMethodBinding getObjectConstructor(CompilationUnit compilationUnit) {
		final ITypeBinding binding= compilationUnit.getAST().resolveWellKnownType("java.lang.Object"); 
		return Bindings.findMethodInType(binding, "Object", new ITypeBinding[0]); 
	}
	
	private void runIt(String topLevelTypeName, String[] fieldNames, IMethod superConstructor, String source, String destination) throws Exception {
		
		ICompilationUnit a= fPackageP.createCompilationUnit(topLevelTypeName + ".java", source, true, null);
		IType type= a.getType(topLevelTypeName);
		IField[] fields= new IField[fieldNames.length];
		for (int i= 0; i < fieldNames.length; i++) 
			fields[i]= type.getField(fieldNames[i]);
		
		runOperation(type, fields, superConstructor);
		
		compareSource(destination, a.getSource());
	}
	
	private void runIt(String topLevelTypeName, String[] fieldNames, String source, String destination) throws Exception {
		runIt(topLevelTypeName, fieldNames, null, source, destination);
	}
	
	
	
	
	/**
	 * Tests simple constructor generation with one field
	 * 
	 * @throws Exception