for(PhpClass phpClass: PhpIndexUtil.getPhpClassInsideNamespace(psiElement.getProject(), namespace)) {
String fqnName = phpClass.getPresentableFQN();
if(fqnName != null && annotationMap.containsKey(fqnName)) {
PhpAnnotation phpAnnotation = annotationMap.get(fqnName);
if(phpAnnotation != null && phpAnnotation.matchOneOf(AnnotationTarget.ALL, AnnotationTarget.UNDEFINED, AnnotationTarget.UNKNOWN, annotationTarget)) {
String subNamespace = fqnName.substring(namespace.length());
String lookupString = name + "\\" + subNamespace;
completionResultSet.addElement(LookupElementBuilder.create(lookupString).withTypeText(phpClass.getPresentableFQN(), true).withIcon(phpClass.getIcon()).withInsertHandler(AnnotationTagInsertHandler.getInstance()));
}
}