public abstract class RefJavaUtil
extends java.lang.Object
Constructor and Description |
---|
RefJavaUtil() |
Modifier and Type | Method and Description |
---|---|
abstract void |
addReferences(PsiModifierListOwner psiFrom,
RefJavaElement ref,
PsiElement findIn)
Deprecated.
|
void |
addReferencesTo(UDeclaration decl,
RefJavaElement ref,
UElement... findIn) |
void |
addTypeReference(UElement uElement,
PsiType psiType,
RefManager refManager) |
void |
addTypeReference(UElement uElement,
PsiType psiType,
RefManager refManager,
RefJavaElement refElement) |
abstract int |
compareAccess(java.lang.String a1,
java.lang.String a2) |
abstract java.lang.String |
getAccessModifier(PsiModifierListOwner modifiersOwner) |
static RefJavaUtil |
getInstance() |
abstract RefClass |
getOwnerClass(RefElement refElement) |
RefClass |
getOwnerClass(RefManager refManager,
UElement uElement) |
static RefPackage |
getPackage(RefEntity refEntity) |
abstract java.lang.String |
getPackageName(RefEntity refEntity) |
abstract RefClass |
getTopLevelClass(RefElement refElement) |
boolean |
isCallToSuperMethod(UExpression expression,
UMethod method) |
abstract boolean |
isInheritor(RefClass subClass,
RefClass superClass) |
boolean |
isMethodOnlyCallsSuper(UMethod derivedMethod) |
abstract void |
setAccessModifier(RefJavaElement refElement,
java.lang.String newAccess) |
abstract void |
setIsFinal(RefJavaElement refElement,
boolean isFinal) |
abstract void |
setIsStatic(RefJavaElement refElement,
boolean isStatic) |
@Deprecated public abstract void addReferences(PsiModifierListOwner psiFrom, RefJavaElement ref, PsiElement findIn)
public void addReferencesTo(UDeclaration decl, RefJavaElement ref, UElement... findIn)
public abstract RefClass getTopLevelClass(RefElement refElement)
public abstract java.lang.String getPackageName(RefEntity refEntity)
public RefClass getOwnerClass(RefManager refManager, UElement uElement)
public abstract RefClass getOwnerClass(RefElement refElement)
public abstract int compareAccess(java.lang.String a1, java.lang.String a2)
public abstract java.lang.String getAccessModifier(PsiModifierListOwner modifiersOwner)
public abstract void setAccessModifier(RefJavaElement refElement, java.lang.String newAccess)
public abstract void setIsStatic(RefJavaElement refElement, boolean isStatic)
public abstract void setIsFinal(RefJavaElement refElement, boolean isFinal)
public boolean isMethodOnlyCallsSuper(UMethod derivedMethod)
public static RefPackage getPackage(RefEntity refEntity)
public static RefJavaUtil getInstance()
public boolean isCallToSuperMethod(UExpression expression, UMethod method)
public void addTypeReference(UElement uElement, PsiType psiType, RefManager refManager)
public void addTypeReference(UElement uElement, PsiType psiType, RefManager refManager, RefJavaElement refElement)