Avoid failure when Monitors.registerMonitor is used with an anon class
Use the enclosingClass name to tag anonymous classes.
Merge pull request #136 from dmuino/anon

Avoid failure when Monitors.registerMonitor is used with an anonymous class