Class ObligationSet
java.lang.Object
edu.umd.cs.findbugs.ba.obl.ObligationSet
A multiset of obligations that must be cleaned up by error-handling code.
See Weimer and Necula, Finding and preventing run-time error handling mistakes, OOPSLA 2004.
- Author:
- David Hovemeyer
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidadd(Obligation obligation) voidcopyFrom(ObligationSet other) booleanintgetCount(int id) inthashCode()booleanisEmpty()voidremove(Obligation obligation) toString()
-
Constructor Details
-
ObligationSet
-
-
Method Details
-
isEmpty
public boolean isEmpty() -
add
-
remove
-
getCount
public int getCount(int id) -
equals
-
toString
-
copyFrom
-
duplicate
-
hashCode
-