FileStatus () { for(BasePsiNode<? extends PsiElement> child: myChildren) { final PsiElement value = child.getValue(); if (value == null || !value.isValid()) continue; final FileStatus fileStatus = NavigationItemFileStatus.get(child); if (fileStatus != FileStatus.NOT_CHANGED) { return fileStatus; } } return FileStatus.NOT_CHANGED; }