io.sarl.lang.core.annotation
Annotation SarlSourceCode
All Superinterfaces:
java.lang.annotation.Annotation
@java.lang.annotation.Target({METHOD,CONSTRUCTOR,FIELD,TYPE})
@java.lang.annotation.Retention(RUNTIME)
abstract annotation SarlSourceCode
implements java.lang.annotation.Annotation
Annotation for marking a JvmElement with the original SARL code that is the cause of the generation.
Maven Group Identifier:
io.sarl.lang
Maven Artifact Identifier:
core
See:
DefaultValueSource , DefaultValue
Action Summary
Modifier and type Action and description
abstract java.lang.String value
Replies the SARL code that is the cause of the generation.
Action Details
value
def value : java.lang.String
Replies the SARL code that is the cause of the generation.

The value may be an empty string if the SARL code is unknown or too long to be stored in the annotation.
Returns:
the SARL code at the source of the generated code.