Merge some java gen fixes from Johan Oskarsson Summary: Making Isset inner classes static because they don't need to reference their owner, and killing some unused variables. Reviewed By: dreiss