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 84881 - No Completion available for anonymous Class Bodies
Summary: No Completion available for anonymous Class Bodies
Status: RESOLVED DUPLICATE of bug 3549
Alias: None
Product: java
Classification: Unclassified
Component: Editor (show other bugs)
Version: 5.x
Hardware: All All
: P3 blocker (vote)
Assignee: issues@java
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-09-14 12:54 UTC by em12345
Modified: 2006-09-14 13:22 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description em12345 2006-09-14 12:54:29 UTC
The Java Editor does not supply a completion list
for anonymous Class Bodies.

Example:

abstract class Test {
    Test someMethod() { return this; }
    abstract void toImplement();

    static Test TEST = new Test() {
        void toImplement() {}
    }.someMethod();  // someMethod not in Completion List
}

here the "}.someMethod()" does not show up in the Completion List.
Comment 1 Jiri Prox 2006-09-14 13:22:52 UTC
It's duplicate of issue 3549. It'll be fixed in upcoming version. Thanks for
your report.

*** This issue has been marked as a duplicate of 3549 ***