String (@NotNull PsiElement element) { if (element instanceof YAMLScalarText) { return YAMLBundle.message("find.usages.scalar"); } else if (element instanceof YAMLSequence) { return YAMLBundle.message("find.usages.sequence"); } else if (element instanceof YAMLMapping) { return YAMLBundle.message("find.usages.mapping"); } else if (element instanceof YAMLKeyValue) { return YAMLBundle.message("find.usages.key.value"); } else if (element instanceof YAMLDocument) { return YAMLBundle.message("find.usages.document"); } else { return ""; } }