public class PsiJavaCodeReferenceCodeFragmentImpl extends PsiCodeFragmentImpl implements PsiJavaCodeReferenceCodeFragment
JavaCodeFragment.ExceptionHandler, JavaCodeFragment.VisibilityChecker
IntentionFilterOwner.IntentionActionsFilter
Queryable.Contributor, Queryable.PrintInfo, Queryable.Util
BUILDING_STUB, myContentElementType, myManager, myOriginalFile
FLAGS_LOCKED, ICON_PLACEHOLDER
EMPTY_ARRAY
EMPTY_NAVIGATABLE_ELEMENT_ARRAY
EMPTY_NAVIGATION_ITEM_ARRAY
BATCH_REFERENCE_PROCESSING
Constructor and Description |
---|
PsiJavaCodeReferenceCodeFragmentImpl(Project project,
boolean isPhysical,
java.lang.String name,
java.lang.CharSequence text,
boolean isClassesAccepted,
PsiElement context) |
Modifier and Type | Method and Description |
---|---|
PsiJavaCodeReferenceElement |
getReferenceElement()
Returns the reference contained in the fragment.
|
boolean |
isClassesAccepted()
Checks if classes are accepted as the target of the reference.
|
accept, addImportsFromString, clone, forceResolveScope, getContext, getExceptionHandler, getFileType, getForcedResolveScope, getIntentionActionsFilter, getLanguage, getResolveScope, getSuperType, getThisType, getViewProvider, getVisibilityChecker, importClass, importsToString, isPhysical, processDeclarations, setExceptionHandler, setIntentionActionsFilter, setSuperType, setThisType, setVisibilityChecker, toString
acceptChildren, add, addAfter, addBefore, addRange, addRangeAfter, addRangeBefore, assertReadAccessAllowed, beforeAstChange, calcStubTree, calcTreeElement, canNavigate, canNavigateToSource, checkAdd, checkDelete, checkSetName, clearCaches, cloneImpl, copy, createContentLeafElement, createFileElement, delete, deleteChildRange, derefStub, findChildByClass, findChildrenByClass, findElementAt, findReferenceAt, getChildren, getContainingDirectory, getContainingFile, getContentElementType, getElementTypeForStubBuilder, getFileElementType, getFirstChild, getGreenStub, getGreenStubTree, getLastChild, getManager, getModificationStamp, getName, getNavigationElement, getNextSibling, getNode, getOriginalElement, getOriginalFile, getParent, getPresentation, getPrevSibling, getProject, getPsiRoots, getReference, getReferences, getStartOffsetInParent, getStub, getStubbedSpine, getStubTree, getText, getTextLength, getTextOffset, getTextRange, getTreeElement, getUseScope, getVirtualFile, init, isContentsLoaded, isDirectory, isEquivalentTo, isTemplateDataFile, isValid, isWritable, markInvalidated, navigate, onContentReload, processChildren, putInfo, putInfo, replace, setContentElementType, setName, setOriginalFile, setTreeElementPointer, subtreeChanged, textContains, textMatches, textMatches, textToCharArray
buildRowIcon, computeBaseIcon, createLayeredIcon, getAdjustedBaseIcon, getBaseIcon, getElementIcon, getIcon, iconWithVisibilityIfNeeded, isNativeFileType, isVisibilitySupported, overlayIcons, registerIconLayer, transformFlags
changeUserMap, clearUserData, copyCopyableDataTo, copyUserDataTo, getCopyableUserData, getUserData, getUserDataString, getUserMap, isUserDataEmpty, putCopyableUserData, putUserData, putUserDataIfAbsent, replace, setUserMap
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
addImportsFromString, getExceptionHandler, getSuperType, getThisType, getVisibilityChecker, importsToString, setExceptionHandler, setSuperType, setThisType, setVisibilityChecker
importClass
forceResolveScope, getForcedResolveScope
clearCaches, getContainingDirectory, getFileElementType, getFileType, getModificationStamp, getNode, getOriginalFile, getParent, getPsiRoots, getViewProvider, getVirtualFile, subtreeChanged
getName, isDirectory, processChildren
checkSetName
setName
getPresentation
canNavigate, canNavigateToSource, navigate
public PsiJavaCodeReferenceCodeFragmentImpl(Project project, boolean isPhysical, java.lang.String name, java.lang.CharSequence text, boolean isClassesAccepted, PsiElement context)
public PsiJavaCodeReferenceElement getReferenceElement()
PsiJavaCodeReferenceCodeFragment
getReferenceElement
in interface PsiJavaCodeReferenceCodeFragment
public boolean isClassesAccepted()
PsiJavaCodeReferenceCodeFragment
isClassesAccepted
in interface PsiJavaCodeReferenceCodeFragment