public class JavaDocUtil
extends java.lang.Object
Modifier and Type | Method and Description |
---|---|
static int |
extractReference(java.lang.String text)
Extracts a reference to a source element from the beginning of the text.
|
static PsiElement |
findReferenceTarget(PsiManager manager,
java.lang.String refText,
PsiElement context) |
static PsiElement |
findReferenceTarget(PsiManager manager,
java.lang.String refText,
PsiElement context,
boolean useNavigationElement) |
static PsiClassType[] |
getExtendsList(PsiClass aClass) |
static PsiClassType[] |
getImplementsList(PsiClass aClass) |
static java.lang.String |
getLabelText(Project project,
PsiManager manager,
java.lang.String refText,
PsiElement context) |
static java.lang.String |
getReferenceText(Project project,
PsiElement element) |
static java.lang.String |
getShortestClassName(PsiClass aClass,
PsiElement context) |
static boolean |
isInsidePackageInfo(PsiDocComment containingComment) |
static PsiClass |
resolveClassInTagValue(PsiDocTagValue value) |
public static PsiClass resolveClassInTagValue(PsiDocTagValue value)
public static int extractReference(java.lang.String text)
public static PsiElement findReferenceTarget(PsiManager manager, java.lang.String refText, PsiElement context)
public static PsiElement findReferenceTarget(PsiManager manager, java.lang.String refText, PsiElement context, boolean useNavigationElement)
public static java.lang.String getReferenceText(Project project, PsiElement element)
public static java.lang.String getShortestClassName(PsiClass aClass, PsiElement context)
public static java.lang.String getLabelText(Project project, PsiManager manager, java.lang.String refText, PsiElement context)
public static PsiClassType[] getImplementsList(PsiClass aClass)
public static PsiClassType[] getExtendsList(PsiClass aClass)
public static boolean isInsidePackageInfo(PsiDocComment containingComment)