BaseMethodAnalyzer made threadsafe through usage of java monitor
pattern.