Exemplo n.º 1
0
  public void visit(AnnotationMemberDeclaration n, Object arg) {
    if (n.getJavaDoc() != null) {
      n.getJavaDoc().accept(this, arg);
    }
    printMemberAnnotations(n.getAnnotations(), arg);
    printModifiers(n.getModifiers());

    n.getType().accept(this, arg);
    if (n.getDefaultValue() != null) {
      n.getDefaultValue().accept(this, arg);
    }
  }
 public void visit(AnnotationMemberDeclaration n, A arg) {
   if (n.getJavaDoc() != null) {
     n.getJavaDoc().accept(this, arg);
   }
   if (n.getAnnotations() != null) {
     for (AnnotationExpr a : n.getAnnotations()) {
       a.accept(this, arg);
     }
   }
   n.getType().accept(this, arg);
   if (n.getDefaultValue() != null) {
     n.getDefaultValue().accept(this, arg);
   }
 }