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.
- Author:
- David Hovemeyer
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionintgetId()org.apache.bcel.generic.ObjectTypegetType()booleanvoidsetUserObligationType(boolean userObligationType) toString()
-
Constructor Details
-
Obligation
-
-
Method Details
-
getClassName
-
getType
public org.apache.bcel.generic.ObjectType getType() -
getId
public int getId() -
isUserObligationType
public boolean isUserObligationType() -
setUserObligationType
public void setUserObligationType(boolean userObligationType) -
toString
-