Skip to content

Commit

Permalink
Feedback on PR
Browse files Browse the repository at this point in the history
  • Loading branch information
matozoid committed Feb 25, 2018
1 parent f643da5 commit 0f4c72a
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 2 deletions.
Expand Up @@ -47,5 +47,7 @@ default String getNameAsString() {
return getName().getIdentifier(); return getName().getIdentifier();
} }


default NameExpr getNameExpr() {return new NameExpr(getName()); } default NameExpr getNameAsExpression() {
return new NameExpr(getName());
}
} }
Expand Up @@ -52,12 +52,17 @@ public Javadoc addBlockTag(JavadocBlockTag blockTag) {
return this; return this;
} }


/**
* For tags like "@return good things" where
* tagName is "return",
* and the rest is content.
*/
public Javadoc addBlockTag(String tagName, String content) { public Javadoc addBlockTag(String tagName, String content) {
return addBlockTag(new JavadocBlockTag(tagName, content)); return addBlockTag(new JavadocBlockTag(tagName, content));
} }


/** /**
* for tags like "@param abc this is a parameter" where * For tags like "@param abc this is a parameter" where
* tagName is "param", * tagName is "param",
* parameter is "abc" * parameter is "abc"
* and the rest is content. * and the rest is content.
Expand Down

0 comments on commit 0f4c72a

Please sign in to comment.