public interface RefField extends RefJavaElement
Modifier and Type | Field and Description |
---|---|
static Key<java.lang.Boolean> |
ENUM_CONSTANT |
static Key<java.lang.Boolean> |
IMPLICITLY_READ |
static Key<java.lang.Boolean> |
IMPLICITLY_WRITTEN |
EMPTY_ELEMENTS_ARRAY
Modifier and Type | Method and Description |
---|---|
PsiField |
getElement()
Deprecated.
|
RefClass |
getOwnerClass()
Returns the reference graph node for the class to which the field belongs.
|
default UField |
getUastElement() |
boolean |
isOnlyAssignedInInitializer()
Checks if the only write access of the field is its initializer.
|
boolean |
isUsedForReading()
Checks if the field is used for reading.
|
boolean |
isUsedForWriting()
Checks if the field is used for writing.
|
getAccessModifier, getOutTypeReferences, getPsiElement, isFinal, isStatic, isSyntheticJSP
getContainingEntry, getInReferences, getModule, getOutReferences, getPointer, isEntry, isPermanentEntry, isReachable, isReferenced
accept, getChildren, getExternalName, getIcon, getName, getOwner, getQualifiedName, getRefManager, isValid
getUserData, putUserData
static final Key<java.lang.Boolean> ENUM_CONSTANT
static final Key<java.lang.Boolean> IMPLICITLY_WRITTEN
static final Key<java.lang.Boolean> IMPLICITLY_READ
boolean isUsedForReading()
boolean isUsedForWriting()
boolean isOnlyAssignedInInitializer()
RefClass getOwnerClass()
@Deprecated PsiField getElement()
getElement
in interface RefElement
getElement
in interface RefJavaElement
default UField getUastElement()
getUastElement
in interface RefJavaElement