public static Constructor<?> findInjectedCtor(Class<?> clazz){
  Constructor<?>[] ctors=clazz.getDeclaredConstructors();
  for (  Constructor<?> ctor : ctors) {
    if (isInjected(ctor)) {
      return ctor;
    }
  }
  return null;
}

public static Constructor < ? > findInjectedCtor ( Class < ? > clazz ) { Constructor < ? > [ ] ctors = clazz . getDeclaredConstructors ( ) ; for ( Constructor < ? > ctor : ctors ) { if ( isInjected ( ctor ) ) { return ctor ; } } return null ; }
returns the injected ctor , null if none .
