Class CheckVariableUsage

    • Field Detail

      • m_OutputCounts

        protected boolean m_OutputCounts
        whether to output counts regardless of warnings.
      • m_UsageCount

        protected NamedCounter m_UsageCount
        the usage counter.
      • m_SetCount

        protected NamedCounter m_SetCount
        the set counter.
      • m_Warnings

        protected String m_Warnings
        the warnings that were produced.
      • m_Skip

        protected Set<String> m_Skip
        the variables to skip.
    • Constructor Detail

      • CheckVariableUsage

        public CheckVariableUsage()
    • Method Detail

      • setOutputCounts

        public void setOutputCounts​(boolean value)
        Sets whether to output the counts regardless of warnings.
        Parameters:
        value - true if to output counts
      • getOutputCounts

        public boolean getOutputCounts()
        Returns whether to output the counts regardless of warnings.
        Returns:
        true if to output counts
      • outputCountsTipText

        public String outputCountsTipText()
        Returns the tip text for this property.
        Returns:
        tip text for this property suitable for displaying in the gui
      • getWarningHeader

        public String getWarningHeader()
        Returns the string that explains the warnings.
        Specified by:
        getWarningHeader in interface CheckProcessor
        Returns:
        the heading for the warnings, null if not available
      • getWarnings

        public String getWarnings()
        Returns the warnings, if any, on variables that might never get set.
        Specified by:
        getWarnings in interface CheckProcessor
        Returns:
        the warnings