code: public static <VALUETYPE> UICompleter<VALUETYPE> getCompleterFor(InputComponent<?, VALUETYPE> inputComponent)
     {
        final UICompleter<VALUETYPE> result;
        if (inputComponent instanceof HasCompleter)
        {
           result = ((HasCompleter) inputComponent).getCompleter();
        }
        else
        {
           result = null;
        }
        return result;
     }
docs: Returns the completer associated with this {@link InputComponent} or null if it is not available
  
  @param inputComponent
  @return the {@link UICompleter} associated with this {@link InputComponent} or null if not available or the
  {@link InputComponent} does not implement {@link HasCompleter}