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.
Currently finding subclasses/implementors of a given class/interface is too slow. This slows down finding usages, more accurate code completion, etc. Performance of getSubclasses needs to be improved by: 1) storing superclass and implemented interfaces of a given class persistently (lazily) - this will avoid parsing of the potential subclasses if their superclass/interfaces information is already available in the storage 2) improve subclasses finding alorithm (find out using lexical analysis if a given identifier is used in extends or implements clause before actually parsing the file) 3) third possible improvement can be to have a separate superclass/superinterfaces index
Partial fix done. Checking in SubClassesCollection.java; /cvs/java/javacore/src/org/netbeans/modules/javacore/jmiimpl/javamodel/Attic/ SubClassesCollection.java,v <-- SubClassesCollection.java new revision: 1.1.2.2.2.1; previous revision: 1.1.2.2 done Modifiers are now used to reduce number of searched resources.
Moved to new subcomponent java/javacore.
Lowering priority (this issue is not critical for promo-D).
The performance of finding subclasses/implementors was significantly improved by the merge of persistent features (superclasses/interfaces are now persisted).
Reorganization of java component