boolean (@NotNull PsiElement property) { Set<PsiElement> data = mySession.getUserData(ANNOTATED_PROPERTIES); if (data == null) { data = new HashSet<>(); mySession.putUserData(ANNOTATED_PROPERTIES, data); } if (data.contains(property)) return true; data.add(property); return false; }