Added --synch flag to support atomicity detection based on java synchronized.
Implemented getExitMonitor() in MonitorAnalysis.
Merge branch 'monitor-analysis' into synchronized-support.
Adapted behaviour analysis to synchronized mode. The rules of the grammar
generation know deal with entermonitor e exitmonitor when this synch mode
is enabled.
Now monitor analysis and synch-ready behaviour analysis is enabled when the
--synch flag is enabled.
First step to generalize the atomicity analysis to deal with atomic scopes that
are not methods.
Atomicity analysis now deals with synchronized methods, but not yet
synchronized blocks.
Reverted some of the stuff of 7a027786e6906b0dff9743ff28b120e923199fbb that was
incorrect.
Now the atomicity analysis does not analyze the call graph.  Instead we just
verify the parsing tree of an WordInstance to determine if the methods are run
atomically.  This is a little bit more expensive but is also more precise and
allows synch blocks to be handled easily.
Now the atomicity analysis deal with synchronized blocks.
Merge branch 'atomicity-analysis-synch' into synchronized-support.
Merge branch 'synchronized-support'.