@Test public void shouldNotFindServletResponseClass() { assertThat(ResponseInvoker.getServletResponseClass(Object.class)).isNull(); }
static @Nullable Class<?> getServletResponseClass(Class<?> clazz) { try { return Class.forName("javax.servlet.ServletResponse", false, clazz.getClassLoader()); } catch (ClassNotFoundException e) { logger.warn(e.getMessage(), e); } return null; }
ResponseInvoker { static @Nullable Class<?> getServletResponseClass(Class<?> clazz) { try { return Class.forName("javax.servlet.ServletResponse", false, clazz.getClassLoader()); } catch (ClassNotFoundException e) { logger.warn(e.getMessage(), e); } return null; } }
ResponseInvoker { static @Nullable Class<?> getServletResponseClass(Class<?> clazz) { try { return Class.forName("javax.servlet.ServletResponse", false, clazz.getClassLoader()); } catch (ClassNotFoundException e) { logger.warn(e.getMessage(), e); } return null; } ResponseInvoker(Class<?> clazz); }
ResponseInvoker { static @Nullable Class<?> getServletResponseClass(Class<?> clazz) { try { return Class.forName("javax.servlet.ServletResponse", false, clazz.getClassLoader()); } catch (ClassNotFoundException e) { logger.warn(e.getMessage(), e); } return null; } ResponseInvoker(Class<?> clazz);  }
ResponseInvoker { static @Nullable Class<?> getServletResponseClass(Class<?> clazz) { try { return Class.forName("javax.servlet.ServletResponse", false, clazz.getClassLoader()); } catch (ClassNotFoundException e) { logger.warn(e.getMessage(), e); } return null; } ResponseInvoker(Class<?> clazz);   }