This module provides helper methods for adding annotations to objects easily.
Instance methods
always_inline
Add a @[AlwaysInline] annotation.
Returns: an object class itself.
Sourcecall_convention(name :
String) : self
Add a @[CallConvention] annotation.
Returns: an object class itself.
Sourcedeprecated(message :
String) : self
Add a @[Deprecated] annotation on the method with a custom message.
Returns: an object class itself.
Sourcedeprecated
Add a @[Deprecated] annotation.
Returns: an object class itself.
Sourceexperimental(message :
String) : self
Add a @[Experimental] annotation on the method with a custom message.
Returns: an object class itself.
Sourceexperimental
Add a @[Experimental] annotation.
Returns: an object class itself.
Sourceextern
Add a @[Extern] annotation.
Returns: an object class itself.
Sourceflags
Add a @[Flags] annotation.
Returns: an object class itself.
SourceAdd a @[Link] annotation on the method with the library name.
Returns: an object class itself.
Sourceno_inline
Add a @[NoInline] annotation.
Returns: an object class itself.
Sourcethread_local
Add a @[ThreadLocal] annotation.
Returns: an object class itself.
Source