Please use the Apache issue tracking system for new NetBeans issues ( !!

Bug 205248

Summary: Restrict code completion hints legal types
Product: javaee Reporter: arungupta <arungupta>
Component: EJBAssignee: Martin Fousek <marfous>
Status: RESOLVED WONTFIX QA Contact: issues <>
Priority: P3 CC: pjiricka
Version: 7.1   
Target Milestone: 7.2   
Hardware: PC   
OS: All   
Issue Type: ENHANCEMENT Exception Report:

Description arungupta 2011-11-17 17:04:16 UTC
A Java EE 6 project has a stateless bean CustomerSessionBean. Injecting it in a Servlet as:


and hit Ctrl+Space. This should show only the types can come here instead of the complete list.
Comment 1 Martin Fousek 2011-11-21 06:03:31 UTC
Thanks for reporting. I can take a look on that if it's doable for NB72. There works common java editor CC so actually there would be needed (probably new) API for filtering the CC, I will speak with guys from the editor.

BTW, you can also use action ALT+Insert (Insert code action) and choose 'Call Enterprise Bean' for injecting the bean into the servlet.
Comment 2 Martin Balin 2016-07-07 08:53:36 UTC
This old bug may not be relevant anymore. If you can still reproduce it in 8.2 development builds please reopen this issue.

Thanks for your cooperation,
NetBeans IDE 8.2 Release Boss
By use of this website, you agree to the NetBeans Policies and Terms of Use. © 2014, Oracle Corporation and/or its affiliates. Sponsored by Oracle logo