edu.umd.cs.findbugs.ba.obl

Class Obligation

public class Obligation extends Object

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
Obligation(String className, int id)
Method Summary
StringgetClassName()
intgetId()
ObjectTypegetType()

Constructor Detail

Obligation

public Obligation(String className, int id)

Method Detail

getClassName

public String getClassName()

getId

public int getId()

getType

public ObjectType getType()
FindBugs™ is licenced under the LGPL. Copyright © 2006 University of Maryland.