Community
Participate
Working Groups
I'm updating the java debug evaluation engine to support varargs method invocation. I haven't find an easy way to know if a method called is a varargs or not. Having a isVarargs() method on IMethodBinding would help a lot.
Jim, Could you please take care of the API?
We might want to say that modifiers include the AccVargs value. So maybe we simply need a helper method on the Modifier class.
Having a separate method is preferable to suggesting client look at extra modifier bits. Added API to IMethodBinding: public boolean isVarargs();
Fixed and released in HEAD. Regression test added (by updating existing test test51 of ASTConverterTest15).
Verified for 3.1M3 with build I20041102