Class GlobalWarning

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

    public class GlobalWarning
    extends WarningWithLocation
    A warning reported by LiSA on one of the Globals under analysis.
    • Constructor Detail

      • GlobalWarning

        public GlobalWarning​(Unit unit,
                             Global global,
                             java.lang.String message)
        Builds the warning.
        Parameters:
        unit - the unit containing the global where this warning was reported on
        global - the global where this warning was reported on
        message - the message of this warning
    • Method Detail

      • getUnit

        public Unit getUnit()
        Yields the unit containing the global where this warning was reported on.
        Returns:
        the global
      • getGlobal

        public Global getGlobal()
        Yields the global where this warning was reported on.
        Returns:
        the global
      • getTag

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