boolean (final @NotNull PsiElement element) { if (element instanceof XmlTag) { String forValue = ((XmlTag)element).getAttributeValue(IdReferenceProvider.FOR_ATTR_NAME); if (forValue != null) { result.add(forValue); } } return true; }