| Package | Description |
|---|---|
| edu.umd.cs.findbugs.ba.obl |
Implementation of dataflow analysis for checking whether
obligations to close streams and other resources (e.g. database objects)
are satisfied.
|
| Modifier and Type | Method and Description |
|---|---|
ObligationPolicyDatabaseEntryType |
ObligationPolicyDatabaseEntry.getEntryType()
Get the type of entry (STRONG or WEAK).
|
ObligationPolicyDatabaseEntryType |
MatchMethodEntry.getEntryType() |
static ObligationPolicyDatabaseEntryType |
ObligationPolicyDatabaseEntryType.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ObligationPolicyDatabaseEntryType[] |
ObligationPolicyDatabaseEntryType.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
| Modifier and Type | Method and Description |
|---|---|
ObligationPolicyDatabaseEntry |
ObligationPolicyDatabase.addParameterDeletesObligationDatabaseEntry(XMethod xmethod,
Obligation obligation,
ObligationPolicyDatabaseEntryType entryType)
Add an appropriate policy database entry for parameters marked with the
WillClose annotation.
|
| Constructor and Description |
|---|
MatchMethodEntry(MethodDescriptor method,
ObligationPolicyDatabaseActionType action,
ObligationPolicyDatabaseEntryType entryType,
Obligation... obligations) |
MatchMethodEntry(TypeMatcher receiverType,
StringMatcher methodName,
StringMatcher signature,
boolean isStatic,
ObligationPolicyDatabaseActionType action,
ObligationPolicyDatabaseEntryType entryType,
Obligation... obligations)
Constructor.
|
MatchMethodEntry(XMethod xmethod,
ObligationPolicyDatabaseActionType action,
ObligationPolicyDatabaseEntryType entryType,
Obligation... obligations)
Constructor.
|
Copyright © 2003–2015. All rights reserved.