@Override
 public void visitMethodDeclaration(MethodDeclarationTree tree) {
   if (tree.equals(root)) {
     super.visitMethodDeclaration(tree);
   }
 }
 @Override
 public void visitMethodDeclaration(MethodDeclarationTree tree) {
   if (tree.body().is(Tree.Kind.BLOCK)) {
     super.visitBlock((BlockTree) tree.body());
   }
 }