java_type: remove hard coded superclass information

this fixes a bug with the experimenter_stats_request type
hierarchy (and removes duplication of code and generally
make things more awesome)