use of com.google.api.server.spi.MethodHierarchyReader in project endpoints-java by cloudendpoints.
the class ApiConfigAnnotationReader method readEndpointMethods.
private void readEndpointMethods(Class<?> endpointClass, ApiClassConfig.MethodConfigMap methodConfigMap) throws IllegalArgumentException, SecurityException, IllegalAccessException, InvocationTargetException, NoSuchMethodException {
MethodHierarchyReader methodReader = new MethodHierarchyReader(endpointClass);
Iterable<List<EndpointMethod>> methods = methodReader.getEndpointOverrides();
for (List<EndpointMethod> overrides : methods) {
readEndpointMethod(methodConfigMap, overrides);
}
}
Aggregations