Comment #1 on issue 999 by tu...@tudorgirba.com: VerveineJ: management of the anonymous class http://code.google.com/p/moose-technology/issues/detail?id=999
This heuristic does work for VerveineJ models given that VerveineJ will create anonymous classes inside methods so the container will respond true to isMethod.