public class PsiMethodTreeElement extends JavaClassTreeElementBase<PsiMethod> implements SortableTreeElement
myLocation
DEFAULT_LOCATION_PREFIX, DEFAULT_LOCATION_SUFFIX
EMPTY_ARRAY
Constructor and Description |
---|
PsiMethodTreeElement(PsiMethod method,
boolean isInherited) |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getAlphaSortKey() |
java.util.Collection<StructureViewTreeElement> |
getChildrenBase() |
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() |
PsiMethod |
getMethod() |
java.lang.String |
getPresentableText()
Returns the name of the object to be presented in most renderers across the program.
|
TextAttributesKey |
getTextAttributesKey()
Returns the text attributes for rendering the item text.
|
equals, getAccessLevel, getSubLevel, isInherited, isPublic
canNavigate, canNavigateToSource, getChildren, getChildrenWithoutCustomRegions, getElement, getIcon, getKey, getPresentation, getValue, hashCode, isSearchInLocationString, isValid, mergeWithExtensions, navigate, toString
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
getIcon
public PsiMethodTreeElement(PsiMethod method, boolean isInherited)
public java.util.Collection<StructureViewTreeElement> getChildrenBase()
getChildrenBase
in class PsiTreeElementBase<PsiMethod>
public java.lang.String getPresentableText()
ItemPresentation
getPresentableText
in interface ItemPresentation
public java.lang.String getLocationString()
ItemPresentation
getLocationString
in interface ItemPresentation
getLocationString
in class JavaClassTreeElementBase<PsiMethod>
public TextAttributesKey getTextAttributesKey()
ColoredItemPresentation
getTextAttributesKey
in interface ColoredItemPresentation
getTextAttributesKey
in class JavaClassTreeElementBase<PsiMethod>
public PsiMethod getMethod()
public java.lang.String getAlphaSortKey()
getAlphaSortKey
in interface SortableTreeElement
public java.lang.String getLocationPrefix()
getLocationPrefix
in interface LocationPresentation
getLocationPrefix
in class JavaClassTreeElementBase<PsiMethod>
public java.lang.String getLocationSuffix()
getLocationSuffix
in interface LocationPresentation
getLocationSuffix
in class JavaClassTreeElementBase<PsiMethod>