public class ObligationFactory
extends java.lang.Object
Constructor and Description |
---|
ObligationFactory() |
Modifier and Type | Method and Description |
---|---|
Obligation |
addObligation(java.lang.String className) |
ObligationSet |
createObligationSet() |
int |
getMaxObligationTypes() |
Obligation |
getObligationById(int id) |
Obligation |
getObligationByName(java.lang.String className) |
Obligation |
getObligationByType(ClassDescriptor classDescriptor)
Look up an Obligation by type.
|
Obligation |
getObligationByType(org.apache.bcel.generic.ObjectType type)
Look up an Obligation by type.
|
Obligation[] |
getParameterObligationTypes(XMethod xmethod)
Get array of Obligation types corresponding to the parameters of the
given method.
|
boolean |
isObligationType(ClassDescriptor classDescriptor)
Determine whether class named by given ClassDescriptor is an Obligation
type.
|
java.util.Iterator<Obligation> |
obligationIterator()
Get an Iterator over known Obligation types.
|
boolean |
signatureInvolvesObligations(java.lang.String sig) |
public int getMaxObligationTypes()
public boolean signatureInvolvesObligations(java.lang.String sig)
public boolean isObligationType(ClassDescriptor classDescriptor)
classDescriptor
- a classpublic java.util.Iterator<Obligation> obligationIterator()
@CheckForNull public Obligation getObligationByType(org.apache.bcel.generic.ObjectType type) throws java.lang.ClassNotFoundException
type
- a typejava.lang.ClassNotFoundException
@CheckForNull public Obligation getObligationByType(ClassDescriptor classDescriptor)
classDescriptor
- a ClassDescriptor naming a class typepublic Obligation[] getParameterObligationTypes(XMethod xmethod)
xmethod
- a methodpublic Obligation addObligation(@DottedClassName java.lang.String className)
public Obligation getObligationById(int id)
public Obligation getObligationByName(@DottedClassName java.lang.String className)
public ObligationSet createObligationSet()
FindBugs™ is licenced under the LGPL. Copyright © 2006 University of Maryland.