@Nullable
  public InspectionConfigTreeNode.Tool getStrictlySelectedToolNode() {
    TreePath[] paths = getTree().getSelectionPaths();
    return paths != null && paths.length == 1 && paths[0].getLastPathComponent() instanceof InspectionConfigTreeNode.Tool
           ? (InspectionConfigTreeNode.Tool)paths[0].getLastPathComponent()
           : null;
  }
@Nullable
  public InspectionConfigTreeNode.Tool getStrictlySelectedToolNode()