Documentation of 'edu.umd.cs.findbugs.annotations.ExpectWarning' Java class
ExpectWarning
edu.umd.cs.findbugs.annotations

Annotation Type ExpectWarning



  • @Retention(value=CLASS)
    public @interface ExpectWarning
    Annotation indicating that a FindBugs warning is expected. See http://code.google.com/p/findbugs/wiki/FindbugsTestCases
    • Field Summary

      Fields 
      Modifier and Type Fields and Description
      static int VISIBLE_RANK_MAX
      The value indicates the bug code (e.g., NP) or bug pattern (e.g., IL_INFINITE_LOOP) of the expected warning.
    • Required Element Summary

      Required Elements 
      Modifier and Type Required Element and Description
      java.lang.String value 
    • Optional Element Summary

      Optional Elements 
      Modifier and Type Optional Element and Description
      Confidence confidence
      Want a warning at this priority or higher
      int num
      Expect at least this many warnings
      int rank
      Expect a warning at least this scary
    • Field Detail

      • VISIBLE_RANK_MAX

        public static final int VISIBLE_RANK_MAX
        The value indicates the bug code (e.g., NP) or bug pattern (e.g., IL_INFINITE_LOOP) of the expected warning. Can be a comma-separated list.
    • Element Detail

      • value

        public abstract java.lang.String value
      • confidence

        public abstract Confidence confidence
        Want a warning at this priority or higher
        Default:
        edu.umd.cs.findbugs.annotations.Confidence.LOW
      • rank

        public abstract int rank
        Expect a warning at least this scary
        Default:
        20
      • num

        public abstract int num
        Expect at least this many warnings
        Default:
        1

DataMelt 3.0 © DataMelt by jWork.ORG

You see the box below because you did not login.