Sometimes JDE can't find the method definition, when that method is
defined in a parent class. For example:
SomeClass.java:
public class SomeClass {
public void someMethod() {
Foo f = new foo();
f.doFooThing()
f.doParentClassThing();
}
}
ParentClass.java:
public class ParentClass {
public void doParentClassThing() { ... }
}
Foo.java:
public class Foo extends ParentClass {
public void doFooThing() { ... }
}
If I put the cursor over f.dooFooThing(), C-x C-v C-g will find the
method definition just fine. If I put the cursor over
f.doParentClassThing(), the buffer for Foo.java will get displayed, and
I'll get a dialog box for "Which class?" which shows java.lang.Object
and org.omg.CORBA.Object as choices (apparently I have CORBA classes in
my CLASSPATH, and it is just showing all possibilites for an Object
class). Obviously what should happen is that JDE takes me to
ParentClass.java and the definition of doParentClassThing.
Any ideas?
Raul