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
break;
			}
			default:
				return;
		}		
		proposals.add(proposal);
		
		String label= CorrectionMessages.getString("JavadocTagsSubProcessor.addjavadoc.allmissing.description"); 
		JavadocRewriteProposal addAllMissing= new JavadocRewriteProposal(label, context.getCompilationUnit(), javadoc, 5, image); 
		List list= methodDecl.parameters();
		for (int i= 0; i < list.size(); i++) {
			SingleVariableDeclaration decl= (SingleVariableDeclaration) list.get(i);
			String name= decl.getName().getIdentifier();
			if (findTag(existingTags, JavaDocTag.PARAM, name) == null) {
				int insertPosition= findParamInsertPosition(existingTags, methodDecl, decl);
				addAllMissing.insertNewTag(insertPosition, new JavaDocTag(JavaDocTag.PARAM, name)); 
			}
		}
		if (!methodDecl.isConstructor()) {
			Type type= methodDecl.getReturnType();
			if (!type.isPrimitiveType() || (((PrimitiveType) type).getPrimitiveTypeCode() != PrimitiveType.VOID)) {
				if (findTag(existingTags, JavaDocTag.RETURN, null) == null) {
					int insertPosition= findReturnInsertPosition(existingTags);
					addAllMissing.insertNewTag(insertPosition, new JavaDocTag(JavaDocTag.RETURN, "")); 
				}
			}
		}
		List throwsExceptions= methodDecl.thrownExceptions();
		for (int i= 0; i < throwsExceptions.size(); i++) {
			Name exception= (Name) throwsExceptions.get(i);