fix for anonymous inner class #105

This is the fix related with the issue #105 stated at this link : 
https://github.com/checkstyle/checkstyle/issues/105