public interface PsiImportStaticReferenceElement extends PsiJavaCodeReferenceElement
import static
statement.Iconable.IconFlags, Iconable.LastComputedIcon
ARRAY_FACTORY, EMPTY_ARRAY
ICON_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, isQualified
advancedResolve, multiResolve, processVariants
resolveReference
accept, 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, toString
getUserData, putUserData
getQualifier, getReferenceName
bindToElement, getCanonicalText, getElement, getRangeInElement, getVariants, handleElementRename, isReferenceTo, isSoft, resolve, resolvesTo
getAbsoluteRange
PsiJavaCodeReferenceElement 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)