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_SUFFIX
EMPTY_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, toString
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
getIcon, getPresentableText
protected JavaClassTreeElementBase(boolean isInherited, Value element)
public boolean isInherited()
public boolean isPublic()
public int getAccessLevel()
getAccessLevel
in interface AccessLevelProvider
public int getSubLevel()
getSubLevel
in interface AccessLevelProvider
public java.lang.String getLocationString()
ItemPresentation
getLocationString
in interface ItemPresentation
getLocationString
in class PsiTreeElementBase<Value extends PsiElement>
public java.lang.String getLocationPrefix()
getLocationPrefix
in interface LocationPresentation
public java.lang.String getLocationSuffix()
getLocationSuffix
in interface LocationPresentation
public boolean equals(java.lang.Object o)
equals
in class PsiTreeElementBase<Value extends PsiElement>
public TextAttributesKey getTextAttributesKey()
ColoredItemPresentation
getTextAttributesKey
in interface ColoredItemPresentation