Target
annotationin packageklyn.annotations
public annotation Target:
Target

Restricts the kind of declaration an annotation can target.

Fields
Modifier and Type Member Description
public const FIELD
FIELD as String = "FIELD"
Annotation target for fields.
public const METHOD
METHOD as String = "METHOD"
Annotation target for methods and constructors.
public const PARAMETER
PARAMETER as String = "PARAMETER"
Annotation target for parameters.
public const PROPERTY
PROPERTY as String = "PROPERTY"
Annotation target for properties.
public const TYPE
TYPE as String = "TYPE"
Annotation target for classes, interfaces, enums and annotations.
Properties
Modifier and Type Member Description
public readonly property value
value as String
Declaration category accepted by the annotated annotation type.
Constructors
Modifier and Type Member Description
public Target
Target(value as String):
Creates a target restriction.