Community
Participate
Working Groups
String[] getParameterTypes() -> throws nothing String[] getParameterNames() throws JavaModelException String getReturnType() throws JavaModelException It looks like the first method uses cached representation, which may change. If it isn't too late to break the API, it maybe worth it.
These API cannot be changed. The rationale for the 1st one not throwing any exception is that this information is part of the handle to the method, where the rest requires to reach the method, and thus it may not be accessible (exception case).