T function ( Injector arg0 , java . lang . Class < T > arg1 , String arg2 ) { return arg0 . getInstance ( Key . get ( arg1 , Names . named ( arg2 ) ) ) ; }
returns an instance of the given type with the org.elasticsearch.common.inject.name.named annotation value . this method allows you to switch this code injector.getinstance key.get type , names.named name ; to the more concise injectors.getinstance injector , type , name ; concode_field_sep PlaceHolder placeHolder concode_field_sep Set<Binding<?>> getBindingsOf concode_elem_sep Set<Binding<?>> getBindingsOf concode_elem_sep Class<?> getKeyType concode_elem_sep Set<T> getInstancesOf concode_elem_sep Set<T> getInstancesOf concode_elem_sep Set<Provider<T>> getProvidersOf concode_elem_sep Set<Provider<T>> getProvidersOf concode_elem_sep Binding<?> getBinding concode_elem_sep boolean hasBinding concode_elem_sep boolean hasBinding concode_elem_sep boolean hasBinding concode_elem_sep void cleanCaches concode_elem_sep Throwable getFirstErrorFailure concode_elem_sep void close