public abstract class JavaClassTreeElementBase<Value extends PsiElement> extends PsiTreeElementBase<Value> implements AccessLevelProvider, ColoredItemPresentation, LocationPresentation
| Modifier and Type | Field and Description |
|---|---|
protected java.lang.String |
myLocation |
DEFAULT_LOCATION_PREFIX, DEFAULT_LOCATION_SUFFIXEMPTY_ARRAY| Modifier | Constructor and Description |
|---|---|
protected |
JavaClassTreeElementBase(boolean isInherited,
Value element) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(java.lang.Object o) |
int |
getAccessLevel() |
java.lang.String |
getLocationPrefix() |
java.lang.String |
getLocationString()
Returns the location of the object (for example, the package of a class).
|
java.lang.String |
getLocationSuffix() |
int |
getSubLevel() |
TextAttributesKey |
getTextAttributesKey()
Returns the text attributes for rendering the item text.
|
boolean |
isInherited() |
boolean |
isPublic() |
canNavigate, canNavigateToSource, getChildren, getChildrenBase, getChildrenWithoutCustomRegions, getElement, getIcon, getKey, getPresentation, getValue, hashCode, isSearchInLocationString, isValid, mergeWithExtensions, navigate, toStringclone, finalize, getClass, notify, notifyAll, wait, wait, waitgetIcon, getPresentableTextprotected JavaClassTreeElementBase(boolean isInherited,
Value element)
public boolean isInherited()
public boolean isPublic()
public int getAccessLevel()
getAccessLevel in interface AccessLevelProviderpublic int getSubLevel()
getSubLevel in interface AccessLevelProviderpublic java.lang.String getLocationString()
ItemPresentationgetLocationString in interface ItemPresentationgetLocationString in class PsiTreeElementBase<Value extends PsiElement>public java.lang.String getLocationPrefix()
getLocationPrefix in interface LocationPresentationpublic java.lang.String getLocationSuffix()
getLocationSuffix in interface LocationPresentationpublic boolean equals(java.lang.Object o)
equals in class PsiTreeElementBase<Value extends PsiElement>public TextAttributesKey getTextAttributesKey()
ColoredItemPresentationgetTextAttributesKey in interface ColoredItemPresentation