Javadoc for enum field method

Viewed 140

I have an enum which implements an interface. The method is implemented in its constants with a comment for each method:

public interface MyIF{
    int foo1();
}

public enum SomeTypes implements MyIF{
    TYPE_ONE {
        /**
          * this method ...
          *
          * @return ...
          */
        @Override
        public int foo1() {...}
    }, ...
}

Javadoc ignores the method comment. Everything else is generated fine. Is there a way I can make these comments appear in the generated javadoc ? Thanks

0 Answers
Related