Reports static inner classes annotated with @Nested.

The @Nested annotation cannot be used on static classes.