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 40492 - [Override Tool] Override dialog: "Show Abstract Methods Only" lists methods which do not need to be implemented
Summary: [Override Tool] Override dialog: "Show Abstract Methods Only" lists methods w...
Status: RESOLVED FIXED
Alias: None
Product: java
Classification: Unclassified
Component: Unsupported (show other bugs)
Version: 3.x
Hardware: PC Linux
: P4 blocker (vote)
Assignee: Daniel Prusa
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-02-25 20:36 UTC by Jesse Glick
Modified: 2007-09-26 09:14 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 Jesse Glick 2004-02-25 20:36:45 UTC
Write a class which extends
org.openide.nodes.Children.Keys, and press Alt-I
to open the override method dialog. Click Show
Abstract Methods Only. It lists:

add(Node[]) : boolean
createNodes(Object) : Node[]
remove(Node[]) : boolean

Expected just createNodes to be listed, because
that is the only method which needs to be
implemented in order to make the user's class
concrete. add and remove *are* abstract in
Children, but are implemented concretely in
Children.Array (the direct superclass of
Children.Keys), so listing them here is not
appropriate - from the perspective of this
subclass they are not abstract.
Comment 1 Daniel Prusa 2004-08-09 16:18:40 UTC
Checking in codesync/ClassDependencyImpl.java;
/cvs/java/src/org/netbeans/modules/java/codesync/ClassDependencyImpl.java,v
 <--  ClassDependencyImpl.java
new revision: 1.37; previous revision: 1.36
done
Processing log script arguments...
More commits to come...
Checking in tools/InheritanceSupport2.java;
/cvs/java/src/org/netbeans/modules/java/tools/InheritanceSupport2.java,v
 <--  InheritanceSupport2.java
new revision: 1.10; previous revision: 1.9
done
Checking in TypeClassImpl.java;
/cvs/java/javacore/src/org/netbeans/modules/javacore/jmiimpl/javamodel/TypeClassImpl.java,v
 <--  TypeClassImpl.java
new revision: 1.5; previous revision: 1.4
done