| java.lang.Object edu.umd.cs.findbugs.ba.AssertionMethods
AssertionMethods | public class AssertionMethods implements Constants(Code) | | Mark methodref constant pool entries of methods
that are likely to implement assertions.
This is useful for pruning likely false paths.
author: David Hovemeyer |
AssertionMethods | public AssertionMethods(JavaClass jclass)(Code) | | Constructor.
Parameters: jclass - the JavaClass containing the methodrefs |
isAssertionCall | public boolean isAssertionCall(InvokeInstruction inv)(Code) | | |
isAssertionInstruction | public boolean isAssertionInstruction(Instruction ins, ConstantPoolGen cpg)(Code) | | Does the given InvokeInstruction refer to a likely assertion method?
Parameters: ins - the InvokeInstruction true if the instruction likely refers to an assertion, false if not |
|
|