Class Arguments


  • @Deprecated(forRemoval=true)
    public final class Arguments
    extends Object
    Deprecated, for removal: This API element is subject to removal in a future version.
    • Method Detail

      • checkInstanceOf

        @Deprecated(forRemoval=true)
        public static <T> T checkInstanceOf​(Object value,
                                            Class<T> type)
        Deprecated, for removal: This API element is subject to removal in a future version.
        This utility is not used in this project, please brew your own or use Preconditions.checkArgument().
        Checks if value is instance of provided class.
        Parameters:
        value - Value to check
        type - Type to check
        Returns:
        Reference which was checked