jrapidoc-rest-plugin/src/main/java/org/jboss/resteasy/spi/metadata/ResourceBuilder.java
public static ResourceClass rootResourceFromAnnotations(Class<?> clazz) {
        ResourceClass resourceClass = fromAnnotations(false, clazz);
        return resourceClass;
    }
public static ResourceClass rootResourceFromAnnotations(Class<?> clazz) {
        ResourceClass resourceClass = fromAnnotations(false, clazz);
        return resourceClass;
    }
Build metadata from annotations on classes and methods

@return