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 160937 - Provide visual indication for non-public beans
Summary: Provide visual indication for non-public beans
Status: NEW
Alias: None
Product: java
Classification: Unclassified
Component: Beans (show other bugs)
Version: 6.x
Hardware: All All
: P3 blocker (vote)
Assignee: Jan Becicka
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-03-23 19:06 UTC by misterm
Modified: 2010-09-23 08:45 UTC (History)
0 users

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 misterm 2009-03-23 19:06:33 UTC
Bean Patterns displays properties and events for non-public classes, which is correct according to the normative 
section of the JavaBeans Specification but against is intent as expressed in the descriptive section.

Non-public classes' properties, events and methods are only accessible using reflection if called from a class from the 
same package, which is pretty useless most of the time and generally a mistake since NB hints create non-public classes 
for non-existing classes.

Therefore, there should be some sort of visual indication in Bean Patterns and some explanation in a tooltip that makes 
it clear this bean's properties and events are not generally visible.
Comment 1 Jan Pokorsky 2009-03-24 20:17:28 UTC
It is rather an enhancement than a bug.