ClassOrObject
Common interface for ClassDeclaration and ObjectDeclaration.
Inheritors
Types
AST node that represents a class body. The node corresponds to KtClassBody.
Common interface for keyword nodes that are used to declare a class.
AST node that represents a parent of the class. The node corresponds to KtSuperTypeListEntry.
ClassParent node that represents constructor invocation. The node corresponds to KtSuperTypeCallEntry.
ClassParent node that represents explicit delegation. The node corresponds to KtDelegatedSuperTypeEntry.
ClassParent node that represents just a type. The node corresponds to KtSuperTypeEntry.
Properties
list of annotation sets.
body of the class if exists, otherwise null
.
keyword that is used to declare a class, interface or object.
Returns true
if the node has a companion modifier, false
otherwise.
Returns true
if the node is an interface, false
otherwise.
list of modifiers.
name of the declaration if exists, otherwise null
.
list of class parents.
Supplemental data for the node.