textclassifier/src/main/java/androidx/textclassifier/TextLinks.java
private static void checkValidApplyStrategy(int applyStrategy) {
        if (applyStrategy != APPLY_STRATEGY_IGNORE && applyStrategy != APPLY_STRATEGY_REPLACE) {
            throw new IllegalArgumentException(
                    "Invalid apply strategy. See TextLinks.ApplyStrategy for options.");
        }
    }
/**
     * @throws IllegalArgumentException if the value is invalid
     */
@throws IllegalArgumentException if the value is invalid
@throws IllegalArgumentException if the value is invalid
private static void checkValidApplyStrategy(int applyStrategy) {
        if (applyStrategy != APPLY_STRATEGY_IGNORE && applyStrategy != APPLY_STRATEGY_REPLACE) {
            throw new IllegalArgumentException(
                    "Invalid apply strategy. See TextLinks.ApplyStrategy for options.");
        }
    }
private static void checkValidApplyStrategy ( int applyStrategy ) { if ( applyStrategy != APPLY_STRATEGY_IGNORE && applyStrategy != APPLY_STRATEGY_REPLACE ) { throw new IllegalArgumentException ( "Invalid apply strategy. See TextLinks.ApplyStrategy for options." ) ; } }
@throws IllegalArgumentException if the value is invalid
@throws IllegalArgumentException if the value is invalid