Bug 24406 - AST: Resolve on method invocation
Summary: AST: Resolve on method invocation
Status: RESOLVED FIXED
Alias: None
Product: JDT
Classification: Eclipse Project
Component: Core (show other bugs)
Version: 2.0   Edit
Hardware: PC Windows 2000
: P3 normal (vote)
Target Milestone: 2.1 M2   Edit
Assignee: Olivier Thomann CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2002-10-04 13:51 EDT by Martin Aeschlimann CLA
Modified: 2003-01-17 07:35 EST (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Martin Aeschlimann CLA 2002-10-04 13:51:23 EDT
20021001
It's a again a resolving on AST with problems isssue. (I know that the AST is 
not designed for it, but I'm hoping...)

private void foo() {
}
private static void goo() {
  foo();
}
Has the problem that foo() should be static. I have the node of foo: 
Unfortunatly with a null binding.

If the reference is A.foo, the binding is there.
Comment 1 Olivier Thomann CLA 2002-10-04 14:31:34 EDT
In this case I can retrieve the binding for foo, because the declaring class of
the problem binding is known. So I can try to fix this one. I will run all
jdt/ui tests prior to release.
Comment 2 Olivier Thomann CLA 2002-10-04 15:19:04 EDT
Fixed and released in 2.1 stream.