Add warnings for discarded doc comments in java source files

XMLWordPrintable

    • Type: Enhancement
    • Resolution: Duplicate
    • Priority: P4
    • 13
    • Affects Version/s: 11
    • Component/s: tools
    • None

      There are several case where javac/javadoc ignores doc comments. We should warn user to prevent mistakes in doc comments.

      example

      class A {
      /** will be ignored */
      /** will be used */
      public void m(){ }
      }

      /** ignored */
      import something;
      class B { }

      class C {
        void m() {
          /** ignored */
        }
      }

            Assignee:
            Jan Lahoda
            Reporter:
            Andrey Nazarov (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: