Class CachedConstructorAnalyzer<T>
java.lang.Object
org.glassfish.jersey.inject.cdi.se.injector.CachedConstructorAnalyzer<T>
Processes a provided class and selects the valid constructor with the largest number of parameters. Constructor is cached
for a later retrieve.
-
Constructor Summary
ConstructorDescriptionCachedConstructorAnalyzer
(Class<T> clazz, Collection<Class<? extends Annotation>> annotations) Creates a new constructor analyzer which accepts the class that is analyzed. -
Method Summary
Modifier and TypeMethodDescriptionboolean
-
Constructor Details
-
CachedConstructorAnalyzer
public CachedConstructorAnalyzer(Class<T> clazz, Collection<Class<? extends Annotation>> annotations) Creates a new constructor analyzer which accepts the class that is analyzed.- Parameters:
clazz
- analyzed class.annotations
- all annotations used for an injecting.
-
-
Method Details
-
getConstructor
-
hasCompatibleConstructor
public boolean hasCompatibleConstructor()
-