Add static modifier to inner classes that don't access parent
Merge pull request #2839 from federicobond/static-inner-classes

Add static modifier to inner classes that don't access parent