public class ImportsUtil
extends java.lang.Object
Modifier and Type | Method and Description |
---|---|
static java.util.List<PsiJavaCodeReferenceElement> |
collectReferencesThrough(PsiFile file,
PsiJavaCodeReferenceElement refExpr,
PsiImportStaticStatement staticImport) |
static void |
expand(PsiJavaCodeReferenceElement ref,
PsiImportStaticStatement staticImport) |
static boolean |
hasStaticImportOn(PsiElement expr,
PsiMember member,
boolean acceptOnDemand) |
static void |
replaceAllAndDeleteImport(java.util.List<PsiJavaCodeReferenceElement> expressionToExpand,
PsiJavaCodeReferenceElement refExpr,
PsiImportStaticStatement staticImport) |
public static java.util.List<PsiJavaCodeReferenceElement> collectReferencesThrough(PsiFile file, PsiJavaCodeReferenceElement refExpr, PsiImportStaticStatement staticImport)
public static void replaceAllAndDeleteImport(java.util.List<PsiJavaCodeReferenceElement> expressionToExpand, PsiJavaCodeReferenceElement refExpr, PsiImportStaticStatement staticImport)
public static void expand(PsiJavaCodeReferenceElement ref, PsiImportStaticStatement staticImport)
public static boolean hasStaticImportOn(PsiElement expr, PsiMember member, boolean acceptOnDemand)