Bug 35767 Hook method getTypeComment(ICompilationUnit) is not called [code manipulation]
In org.eclipse.jdt.ui.wizards.NewTypeWizardPage the hook method getTypeComment(ICompilationUnit parentCU) should be called from createType(IProgressMonitor monitor). This is true for inner classes; but otherwise only the new type comment template mechanism is used, without giving getTypeComment (and thus overloading sub-classes) a chance to hook in. (I've written a Wizard subclassing NewTypeWizardPage which provides a type comment containing xDoclet Tags. Now only the temlate type comment is inserted in the generated code) Version 2.1, Build id: 200303211418
org.eclipse.jdt.ui/ui/org/eclipse/jdt/ui/wizards/NewTypeWizardPage.java
* <p>
	 * The source code of the new type will be formtted using the platform's formatter. Needed 
	 * imports are added by the wizard at the end of the type creation process using the given 
	 * import manager.
	 * </p>
	 * 
	 * @param newType the new type created via <code>createType</code>
	 * @param imports an import manager which can be used to add new imports
	 * @param monitor a progress monitor to report progress. Must not be <code>null</code>
	 * 
	 * @see #createType(IProgressMonitor)
	 */		
	protected void createTypeMembers(IType newType, ImportsManager imports, IProgressMonitor monitor) throws CoreException {
		
		createTypeMembers(newType, ((ImportsManager)imports).getImportsStructure(), monitor);
		
		
		
		
		
		
	}	
	
		
	/**
	 * @deprecated Instead of file templates, the new type code template
	 * specifies the stub for a compilation unit.
	 */		
	protected String getFileComment(ICompilationUnit parentCU) {
		return null;