void () { final MyElement element = createElement("<a><psi-type>int[]</psi-type></a>"); final GenericDomValue value = element.getPsiType(); final XmlTagValue tagValue = value.getXmlTag().getValue(); final int i = tagValue.getText().indexOf(value.getStringValue()); assertReference(value, value.getXmlTag(), tagValue.getTextRange().getStartOffset() + i + "int".length()); }