@Nonnull
  @OverrideOnDemand
  protected JSInvocation getSelect2Invocation ()
  {
    final JSInvocation ret = JQuery.idRef (this).invoke ("select2");
    final JSAssocArray aOptions = getSelect2InvocationOptions ();
    if (aOptions != null && aOptions.isNotEmpty ())
      ret.arg (aOptions);
    return ret;
  }
@ Nonnull @ OverrideOnDemand protected JSInvocation getSelect2Invocation ( ) { final JSInvocation ret = JQuery . idRef ( this ) . invoke ( "select2" ) ; final JSAssocArray aOptions = getSelect2InvocationOptions ( ) ; if ( aOptions != null && aOptions . isNotEmpty ( ) ) ret . arg ( aOptions ) ; return ret ; }
@return The select2 JS invocation to be used. May not be <code>null</code>.
@since 8.0.2