@ Nullable public static < E extends AbstractOperator > E findForClass ( @ Nonnull final Class < E > operatorClass ) { for ( final AbstractOperator operator : getAllOperators ( ) ) { if ( operator . getClass ( ) == operatorClass ) { return operatorClass . cast ( operator ) ; } } return null ; }
Find an operator handler for its class