本文整理汇总了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);