Annotation Type Where

    • Optional Element Summary

      Optional Elements 
      Modifier and Type Optional Element Description
      MethodPredicate[] methods  
      String[] value
      This annotation value defines an array of literal conditions like "[$c.type == $cat.id, $c.rating > 30.0]".
    • Element Detail

      • value

        String[] value

        This annotation value defines an array of literal conditions like "[$c.type == $cat.id, $c.rating > 30.0]". The implementation must parse and match every condition with the method signature. So in the example above the annotated method might look like void doSomething(Customer $a, Category $cat)

        Returns:
        array of literal conditions
        Default:
        {}