Class DryDescriptor


  • public abstract class DryDescriptor
    extends ParserDescriptor
    A descriptor for duplicate code parsers.
    Author:
    Ullrich Hafner
    • Field Detail

      • HIGH_OPTION_KEY

        public static final String HIGH_OPTION_KEY
        Key to define minimum number of duplicate lines for high priority warnings.
        See Also:
        Constant Field Values
      • NORMAL_OPTION_KEY

        public static final String NORMAL_OPTION_KEY
        Key to define minimum number of duplicate lines for normal priority warnings.
        See Also:
        Constant Field Values
    • Method Detail

      • getDescription

        public String getDescription​(Issue issue)
        Description copied from class: ParserDescriptor
        Returns a detailed description of the specified issue. If there is no additional description is available, then an empty String is returned.
        Overrides:
        getDescription in class ParserDescriptor
        Parameters:
        issue - the issue to get the description for
        Returns:
        the description