Bug 45517 Add a 'Field comment' code template
20031024 The user should be able to specify a 'field comment' template. See 'CodeTemplateContextType.TYPE_COMMENT' as an example You have to - define a new variable type - specify the variables avaiable in this template - create an API in Codetemplates so it can be used Users are: - AddJavadocCommentAction - JavadocTagsSubProcessor.getMissingJavadocCommentProposals
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/correction/JavadocTagsSubProcessor.java
StringBuffer buf= new StringBuffer();
			if (newTag.getName() != null) {
				buf.append('@');
				buf.append(newTag.getName());
				if (newTag.getContent().length() > 0) {
					buf.append(' ');
				}
			}
			buf.append(newTag.getContent());
			return buf.toString();
		}
		
		
		private String getIndent(TextBuffer buffer) {
			String line= buffer.getLineContentOfOffset(fJavadoc.getStartPosition());
			String indent= Strings.getIndentString(line, CodeFormatterUtil.getTabWidth());
			return indent;
		}
		
		
		
	}
	
	
	
	
		
	
}