PsiElement docIdentifier = docStatic.getPrevSibling();
if(docIdentifier != null && docIdentifier.getNode().getElementType() == PhpDocTokenTypes.DOC_IDENTIFIER) {
String className = docIdentifier.getText();
PhpClass phpClass = PhpElementsUtil.getClassByContext(psiElement, className);
if(phpClass != null) {
Field field = phpClass.findFieldByName(constName, true);
if(field != null) {
targets.add(field);
}
}
}