generated classes and interfaces should be public static