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 118266 - Override list is missing entries for some annotated classes
Summary: Override list is missing entries for some annotated classes
Status: NEW
Alias: None
Product: java
Classification: Unclassified
Component: Editor (show other bugs)
Version: 6.x
Hardware: All All
: P2 blocker (vote)
Assignee: Dusan Balek
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-10-09 16:54 UTC by Vince Kraemer
Modified: 2013-09-02 14:21 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 Vince Kraemer 2007-10-09 16:54:30 UTC
there are some annotations that imply extension, like @Stateless.  Every now and again, the user may want to override
one of the methods from the extended class.

When the user opens the Insert Code dialog, to generate the method, none of the methods from the EJB space are listed..
just the methods from Object.

This pattern is also used by the annotations defined in JSR289.

It would be nice to see the Insert Code->Method item list the direct and implied methods for classes that have
class-level annotations that imply 'MyClass extends FooClass'
Comment 1 Vitezslav Stejskal 2007-10-10 10:17:30 UTC
May need some help from java infrastructure.
Comment 2 Vince Kraemer 2007-10-10 19:35:10 UTC
NOTE: I was using the @Stateless as an EXAMPLE of a larger family of annotation that cause apt to transform

@FooBar public class RabOof {
  ...
}

TO

public class RabOof extends x.y.z.FooBar {
  ...
}

or something similar.