edu.umd.cs.findbugs.ba
public class AssertionMethods extends Object implements Constants
Constructor Summary | |
---|---|
AssertionMethods(JavaClass jclass)
Constructor.
|
Method Summary | |
---|---|
boolean | isAssertionCall(InvokeInstruction inv) |
boolean | isAssertionInstruction(Instruction ins, ConstantPoolGen cpg)
Does the given InvokeInstruction refer to a likely assertion method?
|
Parameters: jclass the JavaClass containing the methodrefs
Parameters: ins the InvokeInstruction
Returns: true if the instruction likely refers to an assertion, false if not