int (Object object) { return object instanceof Module ? 5 : object instanceof PsiDirectoryContainer ? 4 : object instanceof PsiDirectory ? 4 : object instanceof PsiFile ? 2 : object instanceof PsiNamedElement ? 3 : 0; }