Class: AnnotationRef
AspectJS • Docs
Class: AnnotationRef
An annotation is identified by its name and its group id. An AnnotationRef represents the identity of an annotation.
Methods
toString()
toString():
string
Get the string representation of the annotation in the format: @<groupId>:<name>
Returns
string
The string representation of the annotation.
Defined in
packages/common/src/annotation/annotation-ref.ts:70
of()
staticof(groupId,name):AnnotationRef
Create a new Annotation Reference out of an Annotation, a string, or an AnnotationRef.
Parameters
• groupId: string
• name: string
Returns
Defined in
packages/common/src/annotation/annotation-ref.ts:79
Properties
groupId
readonlygroupId:string
The group id of the referenced annotation.
Defined in
packages/common/src/annotation/annotation-ref.ts:21
name
readonlyname:string
The name of the referenced annotation.
Defined in
packages/common/src/annotation/annotation-ref.ts:17
value
readonlyvalue:string
The value of the annotation reference.
Defined in
packages/common/src/annotation/annotation-ref.ts:13
