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
}
			
		}
		
		private Javadoc fJavadoc;
		private JavaDocTag[] fOriginalTags;
		private List fChangedList;
		
		public JavadocRewriteProposal(String name, ICompilationUnit cu, Javadoc javadoc, int relevance, Image image) throws JavaModelException {
			super(name, cu, relevance, image);
			fJavadoc= javadoc;
			fOriginalTags= JavaDocAccess.getJavaDocTags(cu, javadoc.getStartPosition(), javadoc.getLength());
			fChangedList= new ArrayList();
			for (int i= 0; i < fOriginalTags.length; i++) {
				JavaDocTag curr= fOriginalTags[i];
				fChangedList.add(new Event(curr, curr));
			}
		
		}
		
		public JavaDocTag[] getTags() {
			return fOriginalTags;
		}
		public void insertNewTag(int index, JavaDocTag tag) {
			if (index < 0 || index > fOriginalTags.length) {
				throw new IllegalArgumentException();
			}
			int count= 0;