@Test public void testSameNonAnnotatedConstructor() { CachedConstructorAnalyzer<SameNonAnnotatedConstructor> analyzer = new CachedConstructorAnalyzer<>(SameNonAnnotatedConstructor.class, ANNOTATIONS); assertEquals(1, analyzer.getConstructor().getParameterCount()); }
public Constructor<T> getConstructor() { return constructor.get(); }
CachedConstructorAnalyzer { public Constructor<T> getConstructor() { return constructor.get(); } }
CachedConstructorAnalyzer { public Constructor<T> getConstructor() { return constructor.get(); } CachedConstructorAnalyzer(Class<T> clazz, Collection<Class<? extends Annotation>> annotations); }
CachedConstructorAnalyzer { public Constructor<T> getConstructor() { return constructor.get(); } CachedConstructorAnalyzer(Class<T> clazz, Collection<Class<? extends Annotation>> annotations); Constructor<T> getConstructor(); boolean hasCompatibleConstructor(); }
CachedConstructorAnalyzer { public Constructor<T> getConstructor() { return constructor.get(); } CachedConstructorAnalyzer(Class<T> clazz, Collection<Class<? extends Annotation>> annotations); Constructor<T> getConstructor(); boolean hasCompatibleConstructor();  }