|
FindBugs™ 1.3.9 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectedu.umd.cs.findbugs.ba.LockChecker
public class LockChecker
Front-end for LockDataflow that can avoid doing unnecessary work (e.g., actually performing the lock dataflow) if the method analyzed does not contain explicit monitorenter/monitorexit instructions.
Note that because LockSets use value numbers, ValueNumberAnalysis must be performed for all methods that are synchronized or contain explicit monitorenter/monitorexit instructions.
LockSet,
LockDataflow,
LockAnalysis| Constructor Summary | |
|---|---|
LockChecker(MethodDescriptor methodDescriptor)
Constructor. |
|
| Method Summary | |
|---|---|
void |
execute()
Execute dataflow analyses (only if required). |
LockSet |
getFactAtLocation(Location location)
Get LockSet at given Location. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public LockChecker(MethodDescriptor methodDescriptor)
| Method Detail |
|---|
public void execute()
throws CheckedAnalysisException
CheckedAnalysisException
public LockSet getFactAtLocation(Location location)
throws DataflowAnalysisException
location - the Location
DataflowAnalysisException
|
FindBugs™ 1.3.9 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||