1 22 package org.aspectj.tools.ajdoc; 23 24 import com.sun.javadoc.Doc; 25 import com.sun.javadoc.ParamTag; 26 27 import java.util.Locale ; 28 29 34 public class ParamTagImpl extends TagImpl implements ParamTag { 35 36 private String parameterComment; 37 private String parameterName; 38 39 48 public ParamTagImpl(Doc doc, 49 String name, 50 String text, 51 Locale loc, 52 ErrPrinter err) { 53 super(doc, name, null, loc, err); 54 String [] split = split(text); 55 parameterName = split[0]; 56 parameterComment = split[1]; 57 setText(parameterComment); 58 } 59 60 65 public String parameterComment() { 66 return parameterComment; 67 } 68 69 74 public String parameterName() { 75 return parameterName; 76 } 77 78 83 public String kind() { 84 return "@param"; 85 } 86 } 87 | Popular Tags |