urbanairship-core/src/main/java/com/urbanairship/actions/ActionRegistry.java
public Entry registerAction(@NonNull Class<? extends Action> c, @NonNull String... names) {
        //noinspection ConstantConditions
        if (c == null) {
            throw new IllegalArgumentException("Unable to an register a null action class.");
        }


        //noinspection ConstantConditions
        if (names == null || names.length == 0) {
            throw new IllegalArgumentException("Unable to register an action without a name.");
        }

        return registerEntry(new Entry(c, names));
    }
/**
     * Lazily registers an action.
     *
     * @param c The class to register
     * @param names The names the action will be registered under
     * @return The entry, or null if the action was unable to be registered
     * @throws IllegalArgumentException If the class is null, if names is null or if any of the provided names is empty.
     */
Lazily registers an action.
@param c The class to register
@param names The names the action will be registered under
@return The entry, or null if the action was unable to be registered
@throws IllegalArgumentException If the class is null, if names is null or if any of the provided names is empty.
Lazily registers an action . @param c The class to register @param names The names the action will be registered under @return The entry or null if the action was unable to be registered @throws IllegalArgumentException If the class is null if names is null or if any of the provided names is empty .
public Entry registerAction(@NonNull Class<? extends Action> c, @NonNull String... names) {
        if (c == null) {
            throw new IllegalArgumentException("Unable to an register a null action class.");
        }
        if (names == null || names.length == 0) {
            throw new IllegalArgumentException("Unable to register an action without a name.");
        }
        return registerEntry(new Entry(c, names));
    }
public Entry registerAction ( @ NonNull Class < ? extends Action > c , @ NonNull String ... names ) { if ( c == null ) { throw new IllegalArgumentException ( "Unable to an register a null action class." ) ; } if ( names == null || names . length == 0 ) { throw new IllegalArgumentException ( "Unable to register an action without a name." ) ; } return registerEntry ( new Entry ( c , names ) ) ; }
Lazily registers an action.
Lazily registers an action .
//noinspection ConstantConditions //noinspection ConstantConditions