I was having a problem with jde-wiz-override-method such that the method name completion was working fine, but when I actually selected a method to override, I got an error something like:
Error evaluating Lisp result of Java expression evaluation.
Java expression:
jde.wizards.MethodOverrideFactory.getCandidateSignatures
("MyParentClass","methodName ");.
Java evaluation result: (error "Could not find any method named
methodName in MyParentClass or any of its superclasses.")
I noticed that the method name passed to getCandidateSignatures () had a
space tacked onto the end of it. I made a minor change to a search-string
regexp in jde-wiz.el (~line 361) and it seems to be OK now.
The alternative would probably be to change
jde.wizards.MethodOverrideFactory.getCandidateSignatures to trim the method
name that is passed in.
Regards
Jason
(See attached file: jde-wiz.el)
jde-wiz.el
Description: Binary data
