This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 183836 - [69cat] Inability to generate certain Javadoc member scenarios
Summary: [69cat] Inability to generate certain Javadoc member scenarios
Status: NEW
Alias: None
Product: java
Classification: Unclassified
Component: Project (show other bugs)
Version: 6.x
Hardware: PC Other
: P3 normal with 1 vote (vote)
Assignee: Tomas Zezula
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-04-10 22:04 UTC by gliesian
Modified: 2011-11-14 20:08 UTC (History)
1 user (show)

See Also:
Issue Type: ENHANCEMENT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description gliesian 2010-04-10 22:04:53 UTC
In the Project Properties window, the panel associated with the Build/Documenting node restricts the configuration of members to be displayed or not displayed in the generated Javadoc.

There are four options from the command line:

  javadoc -public Test.java  // public classes and members
  javadoc -protected Test.java  // protected classes and members
  javadoc -package Test.java // package-private, protected and public
  javadoc -private Test.java // all classes and members

The panel provides a checkbox, "Include Private and Package Private Members".

This implies, that if it not selected, the following will be used:

  javadoc -public -protected Test.java

If it is selected, then the following will be used, which implies all classes and members:
  
  javadoc -private

What the panel does not provide:

  javadoc -public Test.java  // public classes and members
  javadoc -protected Test.java  // protected classes and members
  javadoc -package Test.java // package-private, protected and public

This is a tricky fix as the settings are not intuitive... but a combo box with the following items would do the trick:

COMBO BOX:
  -- public, protected (default)
  -- public 
  -- protected
  -- public, protected, package-private
  -- public, protected, private, package-private

Thanks.
Comment 1 Peter Pis 2010-04-11 15:50:22 UTC
Reassigning.