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 157636 - reverse engineering forgets some methods
Summary: reverse engineering forgets some methods
Status: RESOLVED INVALID
Alias: None
Product: uml
Classification: Unclassified
Component: Reverse Engineering (show other bugs)
Version: 6.x
Hardware: All All
: P1 blocker (vote)
Assignee: issues@uml
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-01-29 17:28 UTC by ddv36a78
Modified: 2009-01-29 17:35 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 ddv36a78 2009-01-29 17:28:52 UTC
I have just created 2 classes under 'test' package:
public class A {
   public void f() {
   }
}
public class B extends A {
   public void f() {
   }
   public void g() {
   }
}

I select the B class and run 'Reverse Engineer'.
A new project is created for storing UML models. Just fine.

A node called 'B' is created : this node has f() and g() method sub-nodes. OK.
A node called 'A' is created : this node has no method sub-node ! It should have instead a f() method sub-node.
Comment 1 Sergey Petrov 2009-01-29 17:35:18 UTC
since you RE on B, only B is parsed and model is created based on B code only. it do not parse all dependent classes.
may be parsing dependencies may be an option. in most cases it's much better to re entire java project except cases with
RE  big (2000-3000+ classes) projects.