Package io.github.sandydunlop.markista.model
Class PackageOrTypeNode
java.lang.Object
io.github.sandydunlop.markista.model.Node
io.github.sandydunlop.markista.model.AbstractMember
io.github.sandydunlop.markista.model.PackageOrTypeNode
public abstract class PackageOrTypeNode
Field Summary
Modifier and Type | Field | Description |
---|---|---|
protected final List<TypeView> | types |
Constructor Summary
Constructor | Description |
---|---|
PackageOrTypeNode() |
Method Summary
Modifier and Type | Method | Description |
---|---|---|
public void | addType(TypeView typeNode) | |
public List<TypeView> | getTypes() | Gets the list of types owned by this instance. |
public List<TypeView> | getClasses() | Gets the list of classes owned by this instance. |
public List<TypeView> | getInterfaces() | Gets the list of interfaces owned by this instance. |
public List<TypeView> | getEnums() | Gets the list of enums owned by this instance. |
public List<TypeView> | getRecords() | Gets the list of records owned by this instance. |
public List<TypeView> | getAnnotations() | Gets the list of annotations owned by this instance. |
public void | sort() | Sorts the nodes owned by this instance into alphabetical order. |
Field Details
types
protected final List<TypeView> types
Method Details
addType
public void addType
getTypes
public List<TypeView> getTypes
Gets the list of types owned by this instance.
getClasses
public List<TypeView> getClasses
Gets the list of classes owned by this instance.
getInterfaces
public List<TypeView> getInterfaces
Gets the list of interfaces owned by this instance.
getEnums
public List<TypeView> getEnums
Gets the list of enums owned by this instance.
getRecords
public List<TypeView> getRecords
Gets the list of records owned by this instance.
getAnnotations
public List<TypeView> getAnnotations
Gets the list of annotations owned by this instance.
sort
public void sort
Sorts the nodes owned by this instance into alphabetical order.