/** * Get the value for the given bouncer value. * * @param bouncerValue Bouncer pass-through value to get the BouncerAuthorizationStatus for * * @return The matched value * * @throws IllegalArgumentException if this enum type has no constant with the specified bouncer value */ public static BouncerAuthorizationStatus forBouncerValue(int bouncerValue) { return EnumUtils.forKey(bouncerValue, BOUNCER_VALUE_TO_STATUS, BouncerAuthorizationStatus.class); } }