Package com.mebigfatguy.fbcontrib.detect
Class DubiousListCollection.FieldInfo
- java.lang.Object
-
- com.mebigfatguy.fbcontrib.detect.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 itint
getSetCount()
edu.umd.cs.findbugs.SourceLineAnnotation
getSourceLineAnnotation()
java.lang.String
toString()
-
-
-
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 classjava.lang.Object
-
-