Pure (Groovy 4.0.15)

Package: groovy.transform

## [Java] Annotation Type Pure

- groovy.transform.Pure

-     @Documented
      @Target(ElementType.METHOD)
      @Retention(RetentionPolicy.RUNTIME)
      public @interface Pure

  Marks the return value of "pure" method only comes from expressions involving constants or other pure methods.

  Since:
    4.0.0

- - ### Inherited Methods Summary

    Inherited Methods
    Methods inherited from class | Name
    --- | ---
    `class Object` | `wait, wait, wait, equals, toString, hashCode, getClass, notify, notifyAll`