public static void isAssignableTo(Class<?> from, Class<?> to) {
    isAssignableTo(from, to, "[%1$s] is not assignable to [%2$s]", from, to);
  }
public static void isAssignableTo ( Class < ? > from , Class < ? > to ) { isAssignableTo ( from , to , "[%1$s] is not assignable to [%2$s]" , from , to ) ; }
Asserts that the {@link Class 'from' class type} is assignable to the {@link Class 'to' class type}.

The assertion holds if and only if the {@link Class 'from' class type} is the same as or a subclass
of the {@link Class 'to' class type}.

@param from {@link Class class type} being evaluated for assignment compatibility
with the {@link Class 'to' class type}.
@param to {@link Class class type} used to determine if the {@link Class 'from' class type}
is assignment compatible.
@throws java.lang.ClassCastException if the {@link Class 'from' class type} is not assignment compatible
with the {@link Class 'to' class type}.
@see #isAssignableTo(Class, Class, String, Object...)
@see java.lang.Class#isAssignableFrom(Class)