Annotation Interface Context


@Target(FIELD) @Retention(RUNTIME) public @interface Context
This marks a field in a class with Procedure methods as part of the context the procedure is invoked in. Practically, this means that before the procedure is called, fields with this annotation are automatically populated with implementations of the specified APIs. In fact, apart from static fields, only fields with this annotation are allowed in classes that define procedures. Each of the fields must be public and non-final.
See Also: