Interface ProblemFinderWarning

    • Method Detail

      • canAutoFix

        boolean canAutoFix()
        Whether this warning can be auto-fixed
        Returns:
        true if can be auto-fixed, otherwise false.
        Since:
        11.0
      • getAutoFixActions

        java.util.List<javax.swing.AbstractAction> getAutoFixActions()
        Returns the Actions which autofix this problem.
        Each Action has a description about what it does. You can get it via Action.getValue(Action.NAME)
        Returns:
        the proposed actions to fix this problem.
        Since:
        11.0
      • getMessage

        java.lang.String getMessage()
        Returns the message which describes this problem.
        Returns:
        the message describing the problem
        Since:
        11.0
      • getSourceMessage

        java.lang.String getSourceMessage()
        Returns the message which describes the problem source.
        Returns:
        the message describing the problem source object.
        Since:
        11.0
      • compareTo

        int compareTo​(ProblemFinderWarning warning)
        Compares this ProblemFinderWarning with the specified ProblemFinderWarning for order. Returns a negative integer, zero, or a positive integer as this object is less than, equal to, or greater than the specified object.
        The Sort carried out in three steps:
        Specified by:
        compareTo in interface java.lang.Comparable<ProblemFinderWarning>
        Parameters:
        warning - the ProblemFinderWarning to be compared.
        Returns:
        a negative integer, zero, or a positive integer as this object is less than, equal to, or greater than the specified object.
        Since:
        11.0