final boolean properSetting = mySelectedProfile.isProperSetting(key);
final InspectionConfigTreeNode node = new InspectionConfigTreeNode(descriptor, null, descriptors.isEmpty(), enabled, properSetting, descriptors.isEmpty());
getGroupNode(myRoot, descriptor.getGroup(), properSetting).add(node);
if (!descriptors.isEmpty()) {
for (Descriptor des : descriptors) {
<BUG>node.add(new InspectionConfigTreeNode(des, des.getScope(), des.getState().isEnabled(), properSetting, false));
</BUG>
}
<BUG>node.add(new InspectionConfigTreeNode(descriptor, descriptor.getScope(), true, descriptor.getState().isEnabled(), properSetting, false));
</BUG>
}

final boolean properSetting = mySelectedProfile.isProperSetting(key);
final InspectionConfigTreeNode node = new InspectionConfigTreeNode(descriptor, null, descriptors.isEmpty(), enabled, properSetting, descriptors.isEmpty());
getGroupNode(myRoot, descriptor.getGroup(), properSetting).add(node);
if (!descriptors.isEmpty()) {
for (Descriptor des : descriptors) {
node.add(new InspectionConfigTreeNode(des, des.getState(), false, properSetting, false));
}
node.add(new InspectionConfigTreeNode(descriptor, descriptor.getState(), true, properSetting, false));
}
