public class RefClassImpl extends RefJavaElementImpl implements RefClass
IS_REACHABLE_MASK, LOG
myChildren, myFlags, myManager
EMPTY_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() |
java.util.Set<RefClass> |
getBaseClasses() |
java.util.List<RefJavaElement> |
getClassExporters() |
java.util.List<RefMethod> |
getConstructors() |
RefElement |
getContainingEntry() |
RefMethod |
getDefaultConstructor() |
java.lang.String |
getExternalName()
Returns a user-readable name for the element corresponding to the node.
|
java.util.Set<RefElement> |
getInTypeReferences() |
java.util.List<RefMethod> |
getLibraryMethods() |
RefModule |
getModule()
Returns the reference graph node for the module to which the element belongs.
|
java.lang.String |
getQualifiedName() |
java.util.Set<RefClass> |
getSubClasses() |
UClass |
getUastElement() |
boolean |
hasSuspiciousCallers() |
protected void |
initialize() |
boolean |
isAbstract() |
boolean |
isAnonymous() |
boolean |
isApplet() |
boolean |
isInterface() |
boolean |
isLocalClass() |
boolean |
isReferenced()
Checks if this element is referenced by any other elements.
|
boolean |
isSelfInheritor(UClass uClass) |
boolean |
isServlet() |
boolean |
isSuspicious() |
boolean |
isTestCase() |
boolean |
isUtilityClass() |
void |
referenceRemoved() |
getAccessModifier, getIcon, getName, getOutTypeReferences, isFinal, isProtectedAccessForbidden, isStatic, isSuspiciousRecursive, isSyntheticJSP, markReferenced, setAccessModifier
addInReference, addOutReference, addSuppression, getContainingFile, getInReferences, getOutReferences, getPointer, getPsiElement, getURL, getVirtualFile, isDeleted, isEntry, isPermanentEntry, isReachable, isSuppressed, isValid, setEntry, setPermanentEntry, setReachable
add, checkFlag, getChildren, getName, getOwner, 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, getInstanceReferences
getAccessModifier, getOutTypeReferences, getPsiElement, isFinal, isStatic, isSyntheticJSP
getInReferences, getOutReferences, getPointer, isEntry, isPermanentEntry, isReachable
getChildren, getIcon, getName, getOwner, getRefManager, isValid
getUserData, putUserData
add, removeChild, setOwner
protected void initialize()
initialize
in class RefElementImpl
public boolean isSelfInheritor(UClass uClass)
isSelfInheritor
in interface RefClass
public RefModule getModule()
RefElement
getModule
in interface RefElement
getModule
in class RefElementImpl
public UClass getUastElement()
getUastElement
in interface RefClass
getUastElement
in interface RefJavaElement
public java.lang.String getQualifiedName()
getQualifiedName
in interface RefEntity
getQualifiedName
in class RefEntityImpl
public void buildReferences()
buildReferences
in class RefElementImpl
public void accept(RefVisitor visitor)
RefEntity
accept
in interface RefEntity
accept
in class RefEntityImpl
visitor
- the visitor to accept.public java.util.Set<RefClass> getBaseClasses()
getBaseClasses
in interface RefClass
public java.util.Set<RefClass> getSubClasses()
getSubClasses
in interface RefClass
public java.util.List<RefMethod> getConstructors()
getConstructors
in interface RefClass
public java.util.Set<RefElement> getInTypeReferences()
getInTypeReferences
in interface RefClass
public RefMethod getDefaultConstructor()
getDefaultConstructor
in interface RefClass
public java.util.List<RefMethod> getLibraryMethods()
getLibraryMethods
in interface RefClass
public boolean isAnonymous()
isAnonymous
in interface RefClass
public boolean isInterface()
isInterface
in interface RefClass
public boolean isSuspicious()
isSuspicious
in class RefElementImpl
public boolean isUtilityClass()
isUtilityClass
in interface RefClass
public java.lang.String getExternalName()
RefEntity
getExternalName
in interface RefEntity
getExternalName
in class RefElementImpl
public void referenceRemoved()
referenceRemoved
in class RefJavaElementImpl
public boolean isAbstract()
isAbstract
in interface RefClass
public boolean isTestCase()
isTestCase
in interface RefClass
public boolean isLocalClass()
isLocalClass
in interface RefClass
public boolean isReferenced()
RefElement
isReferenced
in interface RefElement
isReferenced
in class RefElementImpl
public boolean hasSuspiciousCallers()
hasSuspiciousCallers
in class RefElementImpl
public java.util.List<RefJavaElement> getClassExporters()
public RefElement getContainingEntry()
getContainingEntry
in interface RefElement
getContainingEntry
in class RefElementImpl