Object (int row, int col) { CapturePoint point = myCapturePoints.get(row); return switch (col) { case ENABLED_COLUMN -> point.myEnabled; case CLASS_COLUMN -> point.myClassName; case METHOD_COLUMN -> point.myMethodName; case PARAM_COLUMN -> point.myCaptureKeyExpression; case INSERT_CLASS_COLUMN -> point.myInsertClassName; case INSERT_METHOD_COLUMN -> point.myInsertMethodName; case INSERT_KEY_EXPR -> point.myInsertKeyExpression; default -> null; }; }