Class DubiousListCollection.FieldInfo

  • Enclosing class:
    DubiousListCollection

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

      Fields 
      Modifier and Type Field Description
      private int setCnt  
      private edu.umd.cs.findbugs.SourceLineAnnotation slAnnotation  
    • Constructor Summary

      Constructors 
      Constructor Description
      FieldInfo()  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void addUse​(int pc)
      increments the number of times this field has a set method called on it
      int getSetCount()  
      edu.umd.cs.findbugs.SourceLineAnnotation getSourceLineAnnotation()  
      java.lang.String toString()  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
    • Field Detail

      • setCnt

        private int setCnt
      • slAnnotation

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

      • FieldInfo

        FieldInfo()
    • Method Detail

      • 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 java.lang.String toString()
        Overrides:
        toString in class java.lang.Object