/** * Returns all the methods of this service, including the ones declared in base types. The returned list is a copy * of the one used internally, so it is safe to modify it. */ public List<Method> getMethods() { List<Method> result = new ArrayList<>(methods); if (base != null) { result.addAll(base.getMethods()); } return result; }
for (Method method : service.getMethods()) { if (method.isAction()) { actions.add(method);
for (Method method : service.getMethods()) { if (jaxrsNames.isActionName(method.getName())) { for (Parameter parameter : method.getParameters()) {