Target
annotationin packageklyn.annotations
public annotation Target:
Target

Restricts the kind of declaration an annotation can target.

@Target(Target.TYPE)
public annotation Component:
pass
Fields
Modifier and Type Member Description
public static readonly FIELD
FIELD as String = "FIELD"
Annotation target for fields.
public static readonly METHOD
METHOD as String = "METHOD"
Annotation target for methods and constructors.
public static readonly PARAMETER
PARAMETER as String = "PARAMETER"
Annotation target for parameters.
public static readonly PROPERTY
PROPERTY as String = "PROPERTY"
Annotation target for properties.
public static readonly TYPE
TYPE as String = "TYPE"
Annotation target for classes, interfaces, enums and annotations.