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 178989

Summary: code completion in beans.xml could list @Alternative classes
Product: javaee Reporter: David Konecny <dkonecny>
Component: CDIAssignee: Denis Anisimov <ads>
Status: RESOLVED DUPLICATE    
Severity: normal    
Priority: P4    
Version: 7.2   
Hardware: All   
OS: All   
URL: http://www.andygibson.net/blog/index.php/2009/12/22/getting-started-with-cdi-part-2-injection/
Issue Type: ENHANCEMENT Exception Reporter:

Description David Konecny 2009-12-22 14:23:28 UTC
Just an idea for future (P4 for now). Read above mentioned blog post and you will find that it could be useful if code completion listed all classes annotated with @Alternative in following beans.xml file ('|' is editor caret):

    <beans>
        <alternatives>  
            <class>|</class>  
        </alternatives>  
    </beans>
Comment 1 abien 2012-04-24 18:34:16 UTC
Great Idea!

In addition:

Implement code completion of the fully qualified name for all classes in persistence.xml and beans.xml in general. Not only @Alternatives but also @Stereotypes and code completion for interceptors should be supported.

I would support the expansion of FQN in all xml files.
Comment 2 Sergey Petrov 2013-07-09 16:36:30 UTC

*** This bug has been marked as a duplicate of bug 229795 ***