Class DubiousListCollection.FieldInfo

java.lang.Object
com.mebigfatguy.fbcontrib.detect.DubiousListCollection.FieldInfo
Enclosing class:
DubiousListCollection

class DubiousListCollection.FieldInfo extends Object
holds information about fields and keeps counts of set methods called on them
  • Field Details

    • setCnt

      private int setCnt
    • slAnnotation

      private edu.umd.cs.findbugs.SourceLineAnnotation slAnnotation
  • Constructor Details

    • FieldInfo

      FieldInfo()
  • Method Details

    • addUse

      public void addUse(int pc)
      increments the number of times this field has a set method called on it
      Parameters:
      pc - the current instruction offset
    • getSourceLineAnnotation

      public edu.umd.cs.findbugs.SourceLineAnnotation getSourceLineAnnotation()
    • getSetCount

      public int getSetCount()
    • toString

      public String toString()
      Overrides:
      toString in class Object