No documentation is created for methods of enum constants' class bodies

XMLWordPrintable

    • Type: Enhancement
    • Resolution: Unresolved
    • Priority: P4
    • tbd
    • Affects Version/s: 8, 9
    • Component/s: tools
    • None

      package com.example;

      /**
       * An enumeration of characters.
       */
      public enum Character {

          RICK {
              /**
               * Returns {@code true} as Rick is a great scientist!
               *
               * @return {@code true}
               */
              @Override
              public boolean isScientist() { return true; }
          },

          MORTY {
              /**
               * Returns {@code false} as Morty is not a scientist.
               *
               * @return {@code false}
               */
              @Override
              public boolean isScientist() { return false; }
          };

          /**
           * Tells whether the person is a scientist.
           *
           * @return {@code true} is the person is a scientist, {@code false}
           * otherwise
           */
          public abstract boolean isScientist();
      }

            Assignee:
            Unassigned
            Reporter:
            Pavel Rappo
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated: