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

Summary: Provide visual indication for non-public beans
Product: java Reporter: misterm <misterm>
Component: BeansAssignee: Jan Becicka <jbecicka>
Status: NEW ---    
Severity: blocker    
Priority: P3    
Version: 6.x   
Hardware: All   
OS: All   
Issue Type: ENHANCEMENT Exception Reporter:

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.