public static Set<ClassTemplateSpec> allReferencedTypes(ClassTemplateSpec spec) {
    return findAllReferencedTypes(
        directReferencedTypes(spec),
        Collections.<ClassTemplateSpec>emptySet(),
        Collections.<ClassTemplateSpec>emptySet());
  }
public static Set < ClassTemplateSpec > allReferencedTypes ( ClassTemplateSpec spec ) { return findAllReferencedTypes ( directReferencedTypes ( spec ) , Collections . < ClassTemplateSpec > emptySet ( ) , Collections . < ClassTemplateSpec > emptySet ( ) ) ; }
Return all types directly or transitively referenced by this type.