presto-main/src/main/java/io/prestosql/operator/WorkProcessor.java/TransformationState/finished
class TransformationState:        @SuppressWarnings("unchecked")
        public static <T> TransformationState<T> finished()
        {
            return (TransformationState<T>) FINISHED_STATE;
        }