public abstract class RefJavaElementImpl extends RefElementImpl implements RefJavaElement
IS_REACHABLE_MASK, LOG
myChildren, myFlags, myManager
EMPTY_ELEMENTS_ARRAY
Modifier | Constructor and Description |
---|---|
protected |
RefJavaElementImpl(java.lang.String name,
RefJavaElement owner) |
protected |
RefJavaElementImpl(UDeclaration elem,
PsiElement psi,
RefManager manager) |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getAccessModifier()
Returns the access modifier for the element, as one of the keywords from the
PsiModifier class. |
javax.swing.Icon |
getIcon(boolean expanded) |
static java.lang.String |
getName(UDeclaration declaration) |
java.util.Collection<RefClass> |
getOutTypeReferences()
Returns the collection of references used in this element.
|
boolean |
isFinal()
Checks if the element is
final . |
boolean |
isProtectedAccessForbidden() |
boolean |
isStatic()
Checks if the element is
static . |
boolean |
isSuspiciousRecursive() |
boolean |
isSyntheticJSP()
Checks if the element is, or belongs to, a synthetic class or method created for a JSP page.
|
protected void |
markReferenced(RefElementImpl refFrom,
boolean forWriting,
boolean forReading,
UExpression expressionFrom) |
void |
referenceRemoved() |
void |
setAccessModifier(java.lang.String am) |
addInReference, addOutReference, addSuppression, buildReferences, getContainingEntry, getContainingFile, getExternalName, getInReferences, getModule, getOutReferences, getPointer, getPsiElement, getURL, getVirtualFile, hasSuspiciousCallers, initialize, isDeleted, isEntry, isPermanentEntry, isReachable, isReferenced, isSuppressed, isSuspicious, isValid, setEntry, setPermanentEntry, setReachable
accept, add, checkFlag, getChildren, getName, getOwner, getQualifiedName, getRefManager, removeChild, setFlag, setOwner, toString
changeUserMap, clearUserData, clone, copyCopyableDataTo, copyUserDataTo, getCopyableUserData, getUserData, getUserDataString, getUserMap, isUserDataEmpty, putCopyableUserData, putUserData, putUserDataIfAbsent, replace, setUserMap
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
getElement, getPsiElement, getUastElement
getContainingEntry, getInReferences, getModule, getOutReferences, getPointer, isEntry, isPermanentEntry, isReachable, isReferenced
accept, getChildren, getExternalName, getName, getOwner, getQualifiedName, getRefManager, isValid
getUserData, putUserData
add, removeChild, setOwner
protected RefJavaElementImpl(java.lang.String name, RefJavaElement owner)
protected RefJavaElementImpl(UDeclaration elem, PsiElement psi, RefManager manager)
public java.util.Collection<RefClass> getOutTypeReferences()
RefJavaElement
getOutTypeReferences
in interface RefJavaElement
public static java.lang.String getName(UDeclaration declaration)
public boolean isFinal()
RefJavaElement
final
.isFinal
in interface RefJavaElement
public boolean isStatic()
RefJavaElement
static
.isStatic
in interface RefJavaElement
public boolean isSyntheticJSP()
RefJavaElement
isSyntheticJSP
in interface RefJavaElement
public java.lang.String getAccessModifier()
RefJavaElement
PsiModifier
class.getAccessModifier
in interface RefJavaElement
public void setAccessModifier(java.lang.String am)
public boolean isSuspiciousRecursive()
protected void markReferenced(RefElementImpl refFrom, boolean forWriting, boolean forReading, UExpression expressionFrom)
public boolean isProtectedAccessForbidden()
public void referenceRemoved()
referenceRemoved
in class RefElementImpl
public javax.swing.Icon getIcon(boolean expanded)
getIcon
in interface RefEntity
getIcon
in class RefElementImpl