public interface PsiImportStaticReferenceElement extends PsiJavaCodeReferenceElement
import static
statement.Iconable.IconFlags, Iconable.LastComputedIconARRAY_FACTORY, EMPTY_ARRAYICON_FLAG_IGNORE_MASK, ICON_FLAG_OPEN, ICON_FLAG_READ_STATUS, ICON_FLAG_VISIBILITY| Modifier and Type | Method and Description |
|---|---|
PsiImportStaticStatement |
bindToTargetClass(PsiClass aClass)
Binds the reference element to the specified class.
|
PsiJavaCodeReferenceElement |
getClassReference()
Returns the reference element specifying the class from which the member is imported.
|
getParameterList, getQualifiedName, getReferenceNameElement, getTypeParameters, isQualifiedadvancedResolve, multiResolve, processVariantsresolveReferenceaccept, acceptChildren, add, addAfter, addBefore, addRange, addRangeAfter, addRangeBefore, checkAdd, checkDelete, copy, delete, deleteChildRange, findElementAt, findReferenceAt, getChildren, getContainingFile, getContext, getCopyableUserData, getFirstChild, getLanguage, getLastChild, getManager, getNavigationElement, getNextSibling, getNode, getOriginalElement, getOwnReferences, getParent, getPrevSibling, getProject, getReference, getReferences, getResolveScope, getStartOffsetInParent, getText, getTextLength, getTextOffset, getTextRange, getTextRangeInParent, getUseScope, isEquivalentTo, isPhysical, isValid, isWritable, processDeclarations, putCopyableUserData, replace, textContains, textMatches, textMatches, textToCharArray, toStringgetUserData, putUserDatagetQualifier, getReferenceNamebindToElement, getCanonicalText, getElement, getRangeInElement, getVariants, handleElementRename, isReferenceTo, isSoft, resolve, resolvesTogetAbsoluteRangePsiJavaCodeReferenceElement getClassReference()
PsiImportStaticStatement bindToTargetClass(PsiClass aClass) throws IncorrectOperationException
aClass - the class to bind the reference element to.IncorrectOperationException - if the modification fails for some reason (for example,
the containing file is read-only).PsiReference.bindToElement(PsiElement)