コード例 #1
0
 @Override
 public void visitAnnotations(AnnotatedNode node) {
   boolean oldInAnnotation = inAnnotation;
   inAnnotation = true;
   super.visitAnnotations(node);
   inAnnotation = oldInAnnotation;
 }
コード例 #2
0
 @Override
 protected void visitConstructorOrMethod(MethodNode node, boolean isConstructor) {
   this.currentMethod = node;
   super.visitConstructorOrMethod(node, isConstructor);
   this.currentMethod = null;
 }
コード例 #3
0
 public void visitClass(ClassNode node, SourceUnit source) {
   this.currentClass = node;
   this.source = source;
   super.visitClass(node);
 }