code: private void addMethodInfo(ExecutableElement method, Content dl) {
          TypeElement enclosing = utils.getEnclosingTypeElement(method);
          List<? extends TypeMirror> intfacs = enclosing.getInterfaces();
          ExecutableElement overriddenMethod = utils.overriddenMethod(method);
          // Check whether there is any implementation or overridden info to be
          // printed. If no overridden or implementation info needs to be
          // printed, do not print this section.
          if ((!intfacs.isEmpty()
                  && new ImplementedMethods(method, this.configuration).build().isEmpty() == false)
                  || overriddenMethod != null) {
              MethodWriterImpl.addImplementsInfo(this, method, dl);
              if (overriddenMethod != null) {
                  MethodWriterImpl.addOverridden(this,
                          utils.overriddenType(method),
                          overriddenMethod,
                          dl);
              }
          }
      }
docs: Add method information.
  
  @param method the method to be documented
  @param dl the content tree to which the method information will be added