AnnotationSet
data class AnnotationSet(val target: Node.Modifier.AnnotationSet.AnnotationTarget?, val lBracket: Node.Keyword.LBracket?, val annotations: List<Node.Modifier.AnnotationSet.Annotation>, val rBracket: Node.Keyword.RBracket?, val supplement: NodeSupplement = NodeSupplement()) : Node.Modifier
AST node that represents an annotation sets. The node corresponds to KtAnnotation or KtAnnotationEntry not under KtAnnotation.
Constructors
Link copied to clipboard
constructor(target: Node.Modifier.AnnotationSet.AnnotationTarget?, lBracket: Node.Keyword.LBracket?, annotations: List<Node.Modifier.AnnotationSet.Annotation>, rBracket: Node.Keyword.RBracket?, supplement: NodeSupplement = NodeSupplement())
Types
Link copied to clipboard
data class Annotation(val type: Node.Type.SimpleType, val lPar: Node.Keyword.LPar?, val arguments: List<Node.ValueArgument>, val rPar: Node.Keyword.RPar?, val supplement: NodeSupplement = NodeSupplement()) : Node, Node.WithValueArguments
AST node that represents an annotation. The node corresponds to KtAnnotationEntry under KtAnnotation or a part of KtAnnotationEntry not under KtAnnotation.
Link copied to clipboard
Common interface for annotation target keywords.
Properties
Link copied to clipboard
list of annotations.
Link copied to clipboard
left bracket symbol if exists, otherwise null
.
Link copied to clipboard
right bracket symbol if exists, otherwise null
.
Link copied to clipboard
Supplemental data for the node.
Link copied to clipboard
target keyword if exists, otherwise null
.