if (BuildObligationPolicyDatabase.INFER_CLOSE_METHODS && database != null
&& !xmethod.getClassName().startsWith("java")) {
boolean methodHasCloseInName = false;
String methodName = xmethod.getName();
SplitCamelCaseIdentifier splitter = new SplitCamelCaseIdentifier(methodName);
methodHasCloseInName = splitter.split().contains("close");
Obligation[] paramObligationTypes = database.getFactory().getParameterObligationTypes(xmethod);
for (int i = 0; i < xmethod.getNumParams(); i++) {
Obligation obligationType = paramObligationTypes[i];
if (obligationType == null) {