for (int i = 0; i < positions.length; ++i) {
Class type = method.getParameterTypes()[i];
Annotation[] annotations = method.getParameterAnnotations()[i];
for(int j = 0; j < annotations.length; ++j) {
if(annotations[j] instanceof PathParam) {
PathParam param = (PathParam) annotations[j];
if(!paths.contains(param.value())) {
JsrWebSocketLogger.ROOT_LOGGER.pathTemplateNotFound(endpointClass, param, method, paths);
}
}
}
if (positions[i] == null || type == null || type == String.class) {