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
doc.replace(currPos, 0, string);
					} else {
						// replace
						String string= getNewTagString(curr.newTag);
						doc.replace(origTag.getOffset() - offset, origTag.getLength(), string); 
					}
				}
				
				Position[] positions= doc.getPositions(cat);
				String str= doc.get();
				System.out.println(str);
				System.out.println("++++++++"); 
				for (int i= 0; i < positions.length; i++) {
					Position pos= positions[i];
					String string= doc.get(pos.getOffset(), pos.getLength());
					System.out.println(string);
				}
				
			} catch (BadLocationException e) {
				
			} catch (BadPositionCategoryException e) {
			}
		}*/
		
		
		private void createEdits(TextBuffer buffer, ICompilationUnit cu, TextEdit root) {
			
			
		
			int currPos= fJavadoc.getStartPosition() + 3;