boolean (final Object node, final int column) { return switch (column) { case 0 -> false; case 1 -> { final Object userObject = ((DefaultMutableTreeNode)node).getUserObject(); yield !(userObject instanceof VirtualFile || userObject == null) || myTreeTable.isValueEditableForFile((VirtualFile)userObject); } default -> throw new RuntimeException("invalid column " + column); }; }