move nested class to where it's used
don't warn on new expression's of non-static inner classes