class AnnotationUtils {

    public static IOType annotatedIoType(Class<? extends AlgoOperator> cls) {
        IoOpAnnotation annotation = cls.getAnnotation(IoOpAnnotation.class);
        return annotation == null ? null : annotation.ioType();
    }

}