jrapidoc-rest-plugin/src/main/java/org/jboss/resteasy/util/Types.java
public static boolean isA(Class clazz, ParameterizedType pType) {
        return clazz.isAssignableFrom((Class) pType.getRawType());
    }
public static boolean isA(Class clazz, ParameterizedType pType) {
        return clazz.isAssignableFrom((Class) pType.getRawType());
    }
Is the genericType of a certain class?