Class ExpressionWarning.Builder

  • Enclosing class:
    ExpressionWarning

    public static class ExpressionWarning.Builder
    extends java.lang.Object
    • Method Detail

      • fieldRef

        public ExpressionWarning.Builder fieldRef​(@NonNull
                                                  @NonNull java.lang.String fieldRef)
        The path to the field that refers the expression. For example, the reference to the expression of the first item of validations is "spec.validations[0].expression"
        Returns:
        this.
      • warning

        public ExpressionWarning.Builder warning​(@NonNull
                                                 @NonNull java.lang.String warning)
        The content of type checking information in a human-readable form. Each line of the warning contains the type that the expression is checked against, followed by the type check error from the compiler.
        Returns:
        this.
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object