本文整理匯總了Java中japa.parser.ast.body.JavadocComment類的典型用法代碼示例。如果您正苦於以下問題:Java JavadocComment類的具體用法?Java JavadocComment怎麽用?Java JavadocComment使用的例子?那麽, 這裏精選的類代碼示例或許可以為您提供幫助。
JavadocComment類屬於japa.parser.ast.body包,在下文中一共展示了JavadocComment類的15個代碼示例,這些例子默認根據受歡迎程度排序。您可以為喜歡或者感覺有用的代碼點讚,您的評價將有助於係統推薦出更棒的Java代碼示例。
示例1: visit
import japa.parser.ast.body.JavadocComment; //導入依賴的package包/類
public Node visit(AnnotationDeclaration n, A arg) {
if (n.getJavaDoc() != null) {
n.setJavaDoc((JavadocComment) n.getJavaDoc().accept(this, arg));
}
List<AnnotationExpr> annotations = n.getAnnotations();
if (annotations != null) {
for (int i = 0; i < annotations.size(); i++) {
annotations.set(i, (AnnotationExpr) annotations.get(i).accept(this, arg));
}
removeNulls(annotations);
}
List<BodyDeclaration> members = n.getMembers();
if (members != null) {
for (int i = 0; i < members.size(); i++) {
members.set(i, (BodyDeclaration) members.get(i).accept(this, arg));
}
removeNulls(members);
}
return n;
}
示例2: visit
import japa.parser.ast.body.JavadocComment; //導入依賴的package包/類
public Boolean visit(JavadocComment n1, Node arg) {
JavadocComment n2 = (JavadocComment) arg;
if (!objEquals(n1.getContent(), n2.getContent())) {
return Boolean.FALSE;
}
return Boolean.TRUE;
}
示例3: visit
import japa.parser.ast.body.JavadocComment; //導入依賴的package包/類
@Override
public void visit(JavadocComment comment, Object arg)
{ // NOTE fonctionne, mais...
// déjà traité dans le parser
}
示例4: visit
import japa.parser.ast.body.JavadocComment; //導入依賴的package包/類
@Override
public void visit(JavadocComment comment, Object arg)
{ // fonctionne, mais...
// déjà traité dans le parser
}
示例5: visit
import japa.parser.ast.body.JavadocComment; //導入依賴的package包/類
@Override
public void visit(JavadocComment n, Generator arg) {
return;
}
示例6: visit
import japa.parser.ast.body.JavadocComment; //導入依賴的package包/類
@Override
public Boolean visit(JavadocComment n, Void arg) {
return false;
}
示例7: visit
import japa.parser.ast.body.JavadocComment; //導入依賴的package包/類
@Override
public void visit(JavadocComment n, Scope arg) {
super.visit(n, arg);
n.setData(arg);
}
示例8: visit
import japa.parser.ast.body.JavadocComment; //導入依賴的package包/類
public R visit(JavadocComment n, A arg) {
return null;
}
示例9: printJavadoc
import japa.parser.ast.body.JavadocComment; //導入依賴的package包/類
private void printJavadoc(JavadocComment javadoc, Object arg) {
if (javadoc != null) {
javadoc.accept(this, arg);
}
}
示例10: visit
import japa.parser.ast.body.JavadocComment; //導入依賴的package包/類
public void visit(JavadocComment n, Object arg) {
printer.print("/**");
printer.print(n.getContent());
printer.printLn("*/");
}
示例11: visit
import japa.parser.ast.body.JavadocComment; //導入依賴的package包/類
public void visit(JavadocComment n, A arg) {
}
示例12: visit
import japa.parser.ast.body.JavadocComment; //導入依賴的package包/類
@Override
public void visit(JavadocComment n, Object arg) {
doTest(source, n);
super.visit(n, arg);
}
示例13: visitPre
import japa.parser.ast.body.JavadocComment; //導入依賴的package包/類
@Override
public void visitPre(JavadocComment n, A arg) {
}
示例14: visitPost
import japa.parser.ast.body.JavadocComment; //導入依賴的package包/類
@Override
public void visitPost(JavadocComment n, A arg) {
}
示例15: visitPre
import japa.parser.ast.body.JavadocComment; //導入依賴的package包/類
void visitPre(JavadocComment n, A arg);