public class RefFieldImpl extends RefJavaElementImpl implements RefField
IS_REACHABLE_MASK, LOGmyChildren, myFlags, myManagerENUM_CONSTANT, IMPLICITLY_READ, IMPLICITLY_WRITTENEMPTY_ELEMENTS_ARRAY| Modifier and Type | Method and Description |
|---|---|
void |
accept(RefVisitor visitor)
Accepts the specified visitor and passes self to one of its visit methods.
|
void |
buildReferences() |
static PsiField |
findPsiField(PsiManager manager,
java.lang.String externalName) |
PsiField |
getElement()
Deprecated.
|
java.lang.String |
getExternalName()
Returns a user-readable name for the element corresponding to the node.
|
RefClass |
getOwnerClass()
Returns the reference graph node for the class to which the field belongs.
|
UField |
getUastElement() |
protected void |
initialize() |
boolean |
isOnlyAssignedInInitializer()
Checks if the only write access of the field is its initializer.
|
boolean |
isSuspicious() |
boolean |
isUsedForReading()
Checks if the field is used for reading.
|
boolean |
isUsedForWriting()
Checks if the field is used for writing.
|
protected void |
markReferenced(RefElementImpl refFrom,
boolean forWriting,
boolean forReading,
UExpression expressionFrom) |
getAccessModifier, getIcon, getName, getOutTypeReferences, isFinal, isProtectedAccessForbidden, isStatic, isSuspiciousRecursive, isSyntheticJSP, referenceRemoved, setAccessModifieraddInReference, addOutReference, addSuppression, getContainingEntry, getContainingFile, getInReferences, getModule, getOutReferences, getPointer, getPsiElement, getURL, getVirtualFile, hasSuspiciousCallers, isDeleted, isEntry, isPermanentEntry, isReachable, isReferenced, isSuppressed, isValid, setEntry, setPermanentEntry, setReachableadd, checkFlag, getChildren, getName, getOwner, getQualifiedName, getRefManager, removeChild, setFlag, setOwner, toStringchangeUserMap, clearUserData, clone, copyCopyableDataTo, copyUserDataTo, getCopyableUserData, getUserData, getUserDataString, getUserMap, isUserDataEmpty, putCopyableUserData, putUserData, putUserDataIfAbsent, replace, setUserMapequals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitgetAccessModifier, getOutTypeReferences, getPsiElement, isFinal, isStatic, isSyntheticJSPgetContainingEntry, getInReferences, getModule, getOutReferences, getPointer, isEntry, isPermanentEntry, isReachable, isReferencedgetChildren, getIcon, getName, getOwner, getQualifiedName, getRefManager, isValidgetUserData, putUserDataadd, removeChild, setOwnerprotected void initialize()
initialize in class RefElementImpl@Deprecated public PsiField getElement()
getElement in interface RefElementgetElement in interface RefFieldgetElement in interface RefJavaElementpublic UField getUastElement()
getUastElement in interface RefFieldgetUastElement in interface RefJavaElementprotected void markReferenced(RefElementImpl refFrom, boolean forWriting, boolean forReading, UExpression expressionFrom)
markReferenced in class RefJavaElementImplpublic boolean isUsedForReading()
RefFieldisUsedForReading in interface RefFieldpublic boolean isUsedForWriting()
RefFieldisUsedForWriting in interface RefFieldpublic boolean isOnlyAssignedInInitializer()
RefFieldisOnlyAssignedInInitializer in interface RefFieldpublic void accept(RefVisitor visitor)
RefEntityaccept in interface RefEntityaccept in class RefEntityImplvisitor - the visitor to accept.public void buildReferences()
buildReferences in class RefElementImplpublic RefClass getOwnerClass()
RefFieldgetOwnerClass in interface RefFieldpublic java.lang.String getExternalName()
RefEntitygetExternalName in interface RefEntitygetExternalName in class RefElementImplpublic static PsiField findPsiField(PsiManager manager, java.lang.String externalName)
public boolean isSuspicious()
isSuspicious in class RefElementImpl