public static <T extends Enum<T>> EnumOperation<T> enumOperation(Class<? extends T> type, Operator operator,
                                                                     Expression<?>... args) {
        return new EnumOperation<T>(type, operator, args);
    }
Create a new Enum operation expression

@param type type of expression
@param operator operator
@param args operation arguments
@param <T> type of expression
@return operation expression
querydsl-core/src/main/java/com/querydsl/core/types/dsl/Expressions.java