Class CachedConstructorAnalyzer<T>
- java.lang.Object
-
- org.glassfish.jersey.inject.cdi.se.injector.CachedConstructorAnalyzer<T>
-
public class CachedConstructorAnalyzer<T> extends Object
Processes a provided class and selects the valid constructor with the largest number of parameters. Constructor is cached for a later retrieve.
-
-
Constructor Summary
Constructors Constructor Description CachedConstructorAnalyzer(Class<T> clazz, Collection<Class<? extends Annotation>> annotations)Creates a new constructor analyzer which accepts the class that is analyzed.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Constructor<T>getConstructor()booleanhasCompatibleConstructor()
-
-
-
Constructor Detail
-
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 Detail
-
getConstructor
public Constructor<T> getConstructor()
-
hasCompatibleConstructor
public boolean hasCompatibleConstructor()
-
-