private static Class < ? > [ ] getGeneratorInterfaces ( ResourceGenerator generator ) { Set < Class < ? > > interfaces = new HashSet <> ( ) ; addInterfaces ( generator , interfaces ) ; return ( Class [ ] ) interfaces . toArray ( new Class [ ] { } ) ; }
Returns the array of interfaces implemented by the ResourceGenerator