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()
Group
getChildren
in interface Group
public ItemPresentation getPresentation()
Group
getPresentation
in interface Group
public javax.swing.Icon getIcon(boolean open)
ItemPresentation
getIcon
in interface ItemPresentation
open
- 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()
ItemPresentation
getLocationString
in interface ItemPresentation
public java.lang.String getPresentableText()
ItemPresentation
getPresentableText
in interface ItemPresentation
public java.lang.String toString()
toString
in class java.lang.Object
public boolean equals(java.lang.Object o)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public java.lang.Object getValue()
public int getAccessLevel()
getAccessLevel
in interface AccessLevelProvider
public int getSubLevel()
getSubLevel
in interface AccessLevelProvider
public void addMethod(TreeElement superMethod)