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 Stringprivate final intprivate final org.apache.bcel.generic.ObjectTypeprivate boolean -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionintgetId()org.apache.bcel.generic.ObjectTypegetType()booleanvoidsetUserObligationType(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