Class ASTAssertStatement

    • Method Detail

      • getCondition

        public ASTExpression getCondition()
        Returns the expression tested by this assert statement.
      • hasDetailMessage

        public boolean hasDetailMessage()
        Returns true if this assert statement has a "detail message" expression. In that case, getDetailMessageNode() doesn't return null.
      • getDetailMessageNode

        public ASTExpression getDetailMessageNode()
        Returns the expression that corresponds to the detail message, i.e. the expression after the colon, if it's present.