public class JavaAnonymousClassTreeElement extends JavaClassTreeElement
| Modifier and Type | Field and Description |
|---|---|
static JavaAnonymousClassTreeElement[] |
EMPTY_ARRAY |
myLocationDEFAULT_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() |
getChildrenBaseequals, getAccessLevel, getLocationPrefix, getLocationSuffix, getSubLevel, getTextAttributesKey, isInheritedcanNavigate, canNavigateToSource, getChildren, getChildrenWithoutCustomRegions, getElement, getKey, getPresentation, getValue, hashCode, isValid, mergeWithExtensions, navigatepublic static final JavaAnonymousClassTreeElement[] EMPTY_ARRAY
public JavaAnonymousClassTreeElement(PsiAnonymousClass aClass)
public boolean isPublic()
isPublic in class JavaClassTreeElementpublic java.lang.String getPresentableText()
ItemPresentationgetPresentableText in interface ItemPresentationgetPresentableText in class JavaClassTreeElementpublic boolean isSearchInLocationString()
isSearchInLocationString in class PsiTreeElementBase<PsiClass>public java.lang.String getLocationString()
ItemPresentationgetLocationString in interface ItemPresentationgetLocationString in class JavaClassTreeElementBase<PsiClass>public java.lang.String toString()
toString in class PsiTreeElementBase<PsiClass>public javax.swing.Icon getIcon(boolean open)
ItemPresentationgetIcon in interface ItemPresentationgetIcon 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.