Bug 88765 - IMethodBinding#getJavaElement() is null for constructor in different CU
Summary: IMethodBinding#getJavaElement() is null for constructor in different CU
Status: RESOLVED DUPLICATE of bug 88892
Alias: None
Product: JDT
Classification: Eclipse Project
Component: Core (show other bugs)
Version: 3.1   Edit
Hardware: PC Windows XP
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Jerome Lanneluc CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 88860
  Show dependency tree
 
Reported: 2005-03-22 11:22 EST by Markus Keller CLA
Modified: 2005-04-20 07:04 EDT (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Markus Keller CLA 2005-03-22 11:22:23 EST
v_542

test1/F.java:
package test1;
public class F {
    public class SubF {
        public SubF(int i) {
        }
    }
}

test1/E.java:
package test1;

public class E {
    public class SubE extends F.SubF {
    }
}

- select "F.SubF" in E.java and open AST View
- drill down into type binding test1.F.SubF: expand DECLARED METHODS and expand
the method SubF.SubF(int).
=> The java element is null.

BTW: It doesn't matter that there is a compile error in E.
Comment 1 Jerome Lanneluc CLA 2005-04-20 07:04:53 EDT
Fixed when fixing bug 88892.

*** This bug has been marked as a duplicate of 88892 ***