private List<RestApiCall> processClass(Class c) {
Path a = (Path) c.getAnnotation(Path.class);
String parentUrl = a.value();
List<RestApiCall> classApiCalls = new LinkedList<RestApiCall>();
Matcher<Method> matcher = new HttpMethodMatcher();
for (Method m : c.getMethods()) {
if (Modifier.isPublic(m.getModifiers()) && matcher.matches(m)) {
classApiCalls.add(processMethod(parentUrl, m));
}
}
return classApiCalls;
}