module
Crygen::Helpers::Annotation
Overview
This module provides helper methods for adding annotations to objects easily.
Direct including types
Defined in:
helpers/annotation.crInstance Method Summary
-
#add_link(name : String) : self
Add a
@[Link]annotation on the method with the library name. -
#as_deprecated(message : String) : self
Add a
@[Deprecated]annotation on the method with a custom message. -
#as_deprecated : self
Add a
@[Deprecated]annotation on the method. -
#as_experimental(message : String) : self
Add a
@[Experimental]annotation on the method with a custom message. -
#as_experimental : self
Add a
@[Experimental]annotation on the method. -
#as_flags : self
Add a
@[Flags]annotation on the method.
Instance Method Detail
Add a @[Link] annotation on the method with the library name.
Returns: an object class itself.
Add a @[Deprecated] annotation on the method with a custom message.
Returns: an object class itself.
Add a @[Deprecated] annotation on the method.
Returns: an object class itself.
Add a @[Experimental] annotation on the method with a custom message.
Returns: an object class itself.
Add a @[Experimental] annotation on the method.
Returns: an object class itself.