Versions Compared


  • This line was added.
  • This line was removed.
  • Formatting was changed.


Code Block
// Groovy
    @ManagedOperationParameter(name="x", description="The first number"),
    @ManagedOperationParameter(name="y", description="The second number")])

Future Directions

Current work on Groovy annotations has focused on enabling Java annotations to be used with Groovy. Future work may include allowing you to write the annotation definitions themselves in Groovy and also potentially may use annotations within the Groovy language itself or within accompanying tools.

More Examples

Annotations are also used in examples contained within the following pages: