relevantElementForDoc = ((NamedReference) pickedNode).findTargetDefElement(mr);
} else if(pickedNode instanceof AutoReference) {
AutoReference autoReference = (AutoReference) pickedNode;
return getDDocHTMLViewForAutoLike(mr, autoReference.getParent_());
} else if(pickedNode instanceof AttribBasic) {
AttribBasic attribBasic = (AttribBasic) pickedNode;
if(attribBasic.attribKind == AttributeKinds.AUTO) {
if(attribBasic.getParent() instanceof DeclarationAttrib) {
DeclarationAttrib declAttrib = (DeclarationAttrib) attribBasic.getParent();
return getDDocHTMLViewForAuto(mr, declAttrib);
}
}
} else if(pickedNode instanceof DefinitionEnumVar) {
DefinitionEnumVar definitionEnumVar = (DefinitionEnumVar) pickedNode;