use of com.intellij.psi.javadoc.JavadocManager in project intellij-community by JetBrains.
the class PsiDocTagValueImpl method getReference.
@Override
public PsiReference getReference() {
PsiDocTag docTag = PsiTreeUtil.getParentOfType(this, PsiDocTag.class);
if (docTag == null) {
return null;
}
final String name = docTag.getName();
final JavadocManager manager = JavadocManager.SERVICE.getInstance(getProject());
final JavadocTagInfo info = manager.getTagInfo(name);
if (info == null)
return null;
return info.getReference(this);
}
Aggregations