Annotation for marking an element to be part of the private API as a feature provider.
Any reference to a private API type from the SARL code is forbidden, except if the caller's type is also marked with this annotation.
Maven Group Identifier:
io.sarl.lang
Maven Artifact Identifier:
core
Since:
0.6
Action Summary
Modifier and type
Action and description
abstract boolean
isCallerOnly
Indicate if the annotated element is a caller to the private API.
Modifier and type
Action and description
abstract boolean
isCallerOnly
Indicate if the annotated element is a caller to the private API.
Action Details
isCallerOnly
def isCallerOnly : boolean
Indicate if the annotated element is a caller to the private API.
Returns:
true if the annotated element is a caller to the private API, not a private API itself. false if the annotated element is both a caller to the private API, and a private API itself.