package com.google.common.util.concurrent; import javax.annotation.CheckForNull; @ElementTypesAreNonnullByDefault final class Platform { static boolean isInstanceOfThrowableClass(@CheckForNull Throwable th, Class<? extends Throwable> cls) { return cls.isInstance(th); } private Platform() { } }Download file