public class JavaAnonymousClassTreeElement extends JavaClassTreeElement
Modifier and Type | Field and Description |
---|---|
static JavaAnonymousClassTreeElement[] |
EMPTY_ARRAY |
myLocation
DEFAULT_LOCATION_PREFIX, DEFAULT_LOCATION_SUFFIX
Constructor and Description |
---|
JavaAnonymousClassTreeElement(PsiAnonymousClass aClass) |
Modifier and Type | Method and Description |
---|---|
javax.swing.Icon |
getIcon(boolean open)
Returns the icon representing the object.
|
java.lang.String |
getLocationString()
Returns the location of the object (for example, the package of a class).
|
java.lang.String |
getPresentableText()
Returns the name of the object to be presented in most renderers across the program.
|
boolean |
isPublic() |
boolean |
isSearchInLocationString() |
java.lang.String |
toString() |
getChildrenBase
equals, getAccessLevel, getLocationPrefix, getLocationSuffix, getSubLevel, getTextAttributesKey, isInherited
canNavigate, canNavigateToSource, getChildren, getChildrenWithoutCustomRegions, getElement, getKey, getPresentation, getValue, hashCode, isValid, mergeWithExtensions, navigate
public static final JavaAnonymousClassTreeElement[] EMPTY_ARRAY
public JavaAnonymousClassTreeElement(PsiAnonymousClass aClass)
public boolean isPublic()
isPublic
in class JavaClassTreeElement
public java.lang.String getPresentableText()
ItemPresentation
getPresentableText
in interface ItemPresentation
getPresentableText
in class JavaClassTreeElement
public boolean isSearchInLocationString()
isSearchInLocationString
in class PsiTreeElementBase<PsiClass>
public java.lang.String getLocationString()
ItemPresentation
getLocationString
in interface ItemPresentation
getLocationString
in class JavaClassTreeElementBase<PsiClass>
public java.lang.String toString()
toString
in class PsiTreeElementBase<PsiClass>
public javax.swing.Icon getIcon(boolean open)
ItemPresentation
getIcon
in interface ItemPresentation
getIcon
in class PsiTreeElementBase<PsiClass>
open
- Used to mean if open/close icons for tree renderer. No longer in use. The parameter is only there for API compatibility reason.