/** * Resolves constructor injection point. */ public CtorInjectionPoint resolveCtorInjectionPoint(final Class type) { return ctorResolver.resolve(type, true); }
/** * Resolves constructor injection point from type. Looks for single annotated constructor. * If no annotated constructors found, the total number of constructors will be checked. * If there is only one constructor, that one will be used as injection point. If more * constructors exist, the default one will be used as injection point. Otherwise, exception * is thrown. */ public CtorInjectionPoint resolve(Class type) { return resolve(type, true); }
/** * Resolves constructor injection point. */ public CtorInjectionPoint resolveCtorInjectionPoint(final Class type) { return ctorResolver.resolve(type, true); }
public CtorInjectionPoint resolveDefault(Class type) { return resolve(type, false); }
protected CtorInjectionPoint resolveCtorInjectionPoint(Class type) { return petiteResolvers.getCtorResolver().resolve(type); }