Bug 23316 preference to turn off automagic-closing-brackets
there should be a way to turn it off - i'm not used to it and it gets in my way a bit
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/javadoc/JavaDocAutoIndentStrategy.java
*/
	private static ICompilationUnit getCompilationUnit() {
		IWorkbenchWindow window= PlatformUI.getWorkbench().getActiveWorkbenchWindow();
		if (window == null)
			return null;
			
		IWorkbenchPage page= window.getActivePage();
		if (page == null)	
			return null;
		IEditorPart editor= page.getActiveEditor();
		if (editor == null)
			return null;
		IWorkingCopyManager manager= JavaPlugin.getDefault().getWorkingCopyManager();
		ICompilationUnit unit= manager.getWorkingCopy(editor.getEditorInput());
		if (unit == null)
			return null;
		return unit;
	}
	/**
	 * Creates tags for a newly declared or defined method.
	 */
	private static String createJavaDocMethodTags(IMethod method, String preFix, String postFix) throws JavaModelException {
		final StringBuffer buffer= new StringBuffer();
		final String[] parameterNames= method.getParameterNames();
		for (int i= 0; i < parameterNames.length; i++)
			appendJavaDocLine(buffer, preFix, "param", parameterNames[i], postFix); 
		final String returnType= method.getReturnType();
		if (returnType != null && !returnType.equals(Signature.SIG_VOID)) {
			String name= Signature.getSimpleName(Signature.toString(returnType));
			appendJavaDocLine(buffer, preFix, "return", name, postFix);