use of com.iggroup.oss.restdoclet.doclet.type.PathParameter in project RESTdoclet by IG-Group.
the class MethodBuilder method initPathParams.
/**
* Initialises the path-parameters of this method.
*
* @param params the method's path parameters.
* @param tags the parameters' Java documentation tags.
*/
private void initPathParams(Method method, final Parameter[] params, final ParamTag[] tags) {
LOG.debug(method.getName());
ArrayList<PathParameter> pathParams = new ArrayList<PathParameter>();
for (Parameter param : params) {
if (isAnnotated(param, PathVariable.class)) {
pathParams.add(new PathParameterBuilder().build(new PathParameter(), param, tags));
}
}
method.setPathParams(pathParams);
}
Aggregations