CommitMessageInspectionDetails (@NotNull MyInspectionTreeNode node) { CommitMessageInspectionDetails details = new CommitMessageInspectionDetails(myProject, myModifiableModel, node.getDefaultDescriptor()); details.addListener(severity -> myInspectionsTable.updateUI()); return details; }