edu.umd.cs.findbugs.props

Class AbstractWarningProperty

    • Constructor Detail

      • AbstractWarningProperty

        protected AbstractWarningProperty(String shortName,
                               PriorityAdjustment priorityAdjustment)
        Constructor.
        Parameters:
        shortName - the short name of the property; will be qualified with the full name of the warning property class
        priorityAdjustment - the priority adjustment
    • Method Detail

      • getPriorityAdjustment

        public PriorityAdjustment getPriorityAdjustment()
        Description copied from interface: WarningProperty
        Get the priority adjustment: i.e., the effect that this warning property is expected to have on the likelihood that the warning is real, benign, or a false positive.
        Specified by:
        getPriorityAdjustment in interface WarningProperty
        Returns:
        the priority adjustment
      • getName

        public String getName()
        Description copied from interface: WarningProperty
        Get the fully qualified name of the property. Should be full class name, ".", followed by the descriptive name of the property.
        Specified by:
        getName in interface WarningProperty
        Returns:
        fully qualified name of the property

Copyright © 2003–2015. All rights reserved.