Class ExpressionWarning

  • All Implemented Interfaces:
    java.lang.Comparable<Warning>

    public final class ExpressionWarning
    extends StatementWarning
    A warning reported by LiSA on an expression.
    • Constructor Detail

      • ExpressionWarning

        public ExpressionWarning​(Expression expression,
                                 java.lang.String message)
        Builds the warning.
        Parameters:
        expression - the expression where this warning was reported on
        message - the message of this warning
    • Method Detail

      • getExpression

        public Expression getExpression()
        Yields the expression where this warning was reported on.
        Returns:
        the expression
      • getTag

        public java.lang.String getTag()
        Description copied from class: Warning
        Yields the tag of this warning.
        Overrides:
        getTag in class StatementWarning
        Returns:
        the tag of this warning