Package edu.umd.cs.findbugs.ba.obl
Class Obligation
java.lang.Object
edu.umd.cs.findbugs.ba.obl.Obligation
An obligation that must be cleaned up by error handling code. Examples
include open streams and database connections.
See Weimer and Necula, Finding and preventing run-time error handling mistakes, OOPSLA 2004.
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final String
private final int
private final org.apache.bcel.generic.ObjectType
private boolean
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionint
getId()
org.apache.bcel.generic.ObjectType
getType()
boolean
void
setUserObligationType
(boolean userObligationType) toString()
-
Field Details
-
className
-
type
private final org.apache.bcel.generic.ObjectType type -
id
private final int id -
userObligationType
private boolean userObligationType
-
-
Constructor Details
-
Obligation
-
-
Method Details