Make the PageInfo type public static and use a type reference
Make the PageInfo type public static and use a type reference

Make the PageInfo type public static and use a type reference so that when the schema is traversed, it won't generate a new one.
This means that the PageInfo type should be added by the dev consumer to the schema manually.

This will solve #1441
graphql-java/graphql-java,graphql-java/graphql-java