code: @Override
      public final void visitMethod(@Nullable JavaMethodElement oldMethod, @Nullable JavaMethodElement newMethod) {
          depth++;
          doVisitMethod(oldMethod, newMethod);
      }
docs: Please override the
  {@link #doVisitMethod(JavaMethodElement, JavaMethodElement)}
  instead.
  
  @see Check#visitMethod(JavaMethodElement, JavaMethodElement)