@Test public void getClasses_null() { ServletContainerInitializerRegistrationBean<NoHandlesTypes> bean = new ServletContainerInitializerRegistrationBean<>(NoHandlesTypes.class); assertThat(bean.getClasses(getClass().getClassLoader())).isNull(); }
protected Set<Class<?>> getClasses(ClassLoader classLoader) { return findPreparedScanResult(classLoader).orElseGet(this::performClasspathScan); }
ServletContainerInitializerRegistrationBean implements WebServerFactoryCustomizer<ConfigurableServletWebServerFactory> { protected Set<Class<?>> getClasses(ClassLoader classLoader) { return findPreparedScanResult(classLoader).orElseGet(this::performClasspathScan); } }
ServletContainerInitializerRegistrationBean implements WebServerFactoryCustomizer<ConfigurableServletWebServerFactory> { protected Set<Class<?>> getClasses(ClassLoader classLoader) { return findPreparedScanResult(classLoader).orElseGet(this::performClasspathScan); }  }
ServletContainerInitializerRegistrationBean implements WebServerFactoryCustomizer<ConfigurableServletWebServerFactory> { protected Set<Class<?>> getClasses(ClassLoader classLoader) { return findPreparedScanResult(classLoader).orElseGet(this::performClasspathScan); }  @Override void customize(ConfigurableServletWebServerFactory factory); }
ServletContainerInitializerRegistrationBean implements WebServerFactoryCustomizer<ConfigurableServletWebServerFactory> { protected Set<Class<?>> getClasses(ClassLoader classLoader) { return findPreparedScanResult(classLoader).orElseGet(this::performClasspathScan); }  @Override void customize(ConfigurableServletWebServerFactory factory);  }