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 78393 - RE: Navigate to Source does not work on methods which have generic parameters
Summary: RE: Navigate to Source does not work on methods which have generic parameters
Alias: None
Product: uml
Classification: Unclassified
Component: Reverse Engineering (show other bugs)
Version: 5.x
Hardware: All All
: P2 blocker (vote)
Assignee: Trey Spiva
Keywords: RELNOTE
Depends on:
Reported: 2006-06-19 22:47 UTC by bugbridge
Modified: 2006-12-04 23:06 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Note You need to log in before you can comment on or make changes to this bug.
Description bugbridge 2006-06-19 22:47:59 UTC
Original status: 1-Dispatched; Suggested Status: NEW

These items should be added to the Keywords: RELNOTE
Original submitter: sunflower

Coke build: 2006.04.26

Steps to reproduce:

- Create a java application
- Add 'list' package into the java application
- Add Generic 'ListHandler' interface under the package:
  public interface ListHandler <Element>{
    void start();
    void finish();
    void handle(Element element);

- Add Generic 'ListClass' class under the package:
  public class ListClass<Element> {
    Node head;
    public boolean isEmpty() {
        return head == null;
    public void addElement(Element element) {
        head = new Node(element, head);

    public Element removeElement() {
        if (! isEmpty()){
            Element element = head.getElement();
            head = head.getNext();
            return element;
        return null;

    public void iterate(ListHandler<Element> handler) {
        Node node = head;
        while( node != null){
            node = node.getNext();
    private class Node{

        Node next;
        Element element;
        Node(Element element, Node next){
            this.element = element;
   = next;
        Element getElement(){
            return element;
        Node getNext(){
            return next;
- Create UML Reverse Engineering project associated with the java application
- Select the 'public void iterate(ListHandler<Element> handler)' operation under
'Model|list|ListClass|Operation' uml project tree

- Invoke 'Navigate To Source'
  Source code does not appear
Comment 1 Yang Su 2006-12-04 20:01:05 UTC
It appears to be fixed in the latest coco_griffin
Comment 2 Peter Lam 2006-12-04 23:06:54 UTC
verified in coco rc2 build.