@Override public void evaluate(String currentPath, PathRef parent, Object model, EvaluationContextImpl ctx) { if (!checkArrayModel(currentPath, model, ctx)) return; switch (operation.operation()) { case SLICE_FROM: sliceFrom(currentPath, parent, model, ctx); break; case SLICE_BETWEEN: sliceBetween(currentPath, parent, model, ctx); break; case SLICE_TO: sliceTo(currentPath, parent, model, ctx); break; } }