public class SuperTypeGroup extends java.lang.Object implements Group, ItemPresentation, AccessLevelProvider
| Modifier and Type | Class and Description |
|---|---|
static class |
SuperTypeGroup.OwnershipType |
| Constructor and Description |
|---|
SuperTypeGroup(PsiClass superClass,
SuperTypeGroup.OwnershipType type) |
| Modifier and Type | Method and Description |
|---|---|
void |
addMethod(TreeElement superMethod) |
boolean |
equals(java.lang.Object o) |
int |
getAccessLevel() |
java.util.Collection<TreeElement> |
getChildren()
Returns the list of nodes in the group.
|
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.
|
ItemPresentation |
getPresentation()
Returns the presentation information for the group.
|
int |
getSubLevel() |
java.lang.Object |
getValue() |
int |
hashCode() |
java.lang.String |
toString() |
public SuperTypeGroup(PsiClass superClass, SuperTypeGroup.OwnershipType type)
public java.util.Collection<TreeElement> getChildren()
GroupgetChildren in interface Grouppublic ItemPresentation getPresentation()
GroupgetPresentation in interface Grouppublic javax.swing.Icon getIcon(boolean open)
ItemPresentationgetIcon in interface ItemPresentationopen - Used to mean if open/close icons for tree renderer. No longer in use. The parameter is only there for API compatibility reason.public java.lang.String getLocationString()
ItemPresentationgetLocationString in interface ItemPresentationpublic java.lang.String getPresentableText()
ItemPresentationgetPresentableText in interface ItemPresentationpublic java.lang.String toString()
toString in class java.lang.Objectpublic boolean equals(java.lang.Object o)
equals in class java.lang.Objectpublic int hashCode()
hashCode in class java.lang.Objectpublic java.lang.Object getValue()
public int getAccessLevel()
getAccessLevel in interface AccessLevelProviderpublic int getSubLevel()
getSubLevel in interface AccessLevelProviderpublic void addMethod(TreeElement superMethod)