public abstract class RefJavaElementImpl extends RefElementImpl implements RefJavaElement
IS_REACHABLE_MASK, LOGmyChildren, myFlags, myManagerEMPTY_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, setReachableaccept, add, 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, waitgetElement, getPsiElement, getUastElementgetContainingEntry, getInReferences, getModule, getOutReferences, getPointer, isEntry, isPermanentEntry, isReachable, isReferencedaccept, getChildren, getExternalName, getName, getOwner, getQualifiedName, getRefManager, isValidgetUserData, putUserDataadd, removeChild, setOwnerprotected RefJavaElementImpl(java.lang.String name,
RefJavaElement owner)
protected RefJavaElementImpl(UDeclaration elem,
PsiElement psi,
RefManager manager)
public java.util.Collection<RefClass> getOutTypeReferences()
RefJavaElementgetOutTypeReferences in interface RefJavaElementpublic static java.lang.String getName(UDeclaration declaration)
public boolean isFinal()
RefJavaElementfinal.isFinal in interface RefJavaElementpublic boolean isStatic()
RefJavaElementstatic.isStatic in interface RefJavaElementpublic boolean isSyntheticJSP()
RefJavaElementisSyntheticJSP in interface RefJavaElementpublic java.lang.String getAccessModifier()
RefJavaElementPsiModifier class.getAccessModifier in interface RefJavaElementpublic 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 RefElementImplpublic javax.swing.Icon getIcon(boolean expanded)
getIcon in interface RefEntitygetIcon in class RefElementImpl