How to stop javadoc from creating documentation for superclasses?

Context: NetBeans 8.0.2, Java 8.0.0

I wrote several classes for encapsulating dialogs to help my students write simple visual applications without complicated GUI programming knowledge, such as Tic-Tac-Toe. Unfortunately, I made some of the classes extending the JFrame and now my javadoc is littered with long lists of functions inherited from the class hierarchy, which makes it look like bullying.

I know that I can reformulate my implementation strategy to “use” a JFrame rather than a “be” JFrame, but is there an easier way to tell javadoc to simply not generate documentation based on the class hierarchy?

Thank.

Edit:

I use the NetBeans generator out of the box, with these additional parameters:

-stylesheetfile C:\Users\jack\Documents\NetBeansProjects\CartesianPlane/src/customStylesheet.css -overview "C:\Users\jack\Documents\NetBeansProjects\CartesianPlane/src/Overview.html" -subpackages edu.pcwe.uw.javaintro.cartesian_plane -exclude edu.pcwe.uw.javaintro.cartesian_plane.test
+4
source share
1 answer

This question is already listed in the Javadoc FAQ

A16. How can I exclude or skip some public members or classes from documenting?

[...] There is currently no Javadoc option to hide, exclude or suppress public items from the documentation created by javadoc .

Since it is automatically generated and you have no way to exclude it, you will have to deal with it.

There is a problem planned for version 9 where the tag is requested exclude.

, , , , .

:

yDoc ( yWorks ). doclet, , , y.exclude.

, y.exclude . JFrame JDK, . , , , .

+3

All Articles