Annotation Type InfixOperator


  • @Documented
    @Target(TYPE)
    @Retention(RUNTIME)
    public @interface InfixOperator
    The infix operator annotation
    • Required Element Summary

      Required Elements 
      Modifier and Type Required Element Description
      int precedence
      Operator precedence, usually one from the constants in OperatorIfc.
    • Optional Element Summary

      Optional Elements 
      Modifier and Type Optional Element Description
      boolean leftAssociative
      Operator associativity, defaults to true.
      boolean operandsLazy
      Operands are evaluated lazily, defaults to false.
    • Element Detail

      • precedence

        int precedence
        Operator precedence, usually one from the constants in OperatorIfc.
      • leftAssociative

        boolean leftAssociative
        Operator associativity, defaults to true.
        Default:
        true
      • operandsLazy

        boolean operandsLazy
        Operands are evaluated lazily, defaults to false.
        Default:
        false