Community
Participate
Working Groups
Hi. If I do assertFalse(newMethod()); and use quickfix to create newMethod, the method is created with a return type of String. I suppose this is due to assertFalse being overloaded with assertFalse(boolean) assertFalse(String, boolean) In this case I am calling assertFalse with just one parameter so I think it should be possibile to choose the correct version of assertFalse to get the return type from to use for newMethod. Thanks
Move to JDT/UI for comment.
I'm using methodDeclarion.resolveBinding on 'assertFalse': It returns a guess of a IMethodBinding as the parameters can't be resolved. (ASTResolving.java, line 91) In this case it returns the binidng for 'assertFalse(String, boolean)', but 'assertFalse(boolean)' would make more sense. moving to jdt.core
Deferred post 3.0
As of now 'LATER' and 'REMIND' resolutions are no longer supported. Please reopen this bug if it is still valid for you.