public static boolean classIsOrExtends( Class<?> clazz, Class<?> superClass ) {
    if ( clazz.equals( Object.class ) ) {
      return false;
    }
    return clazz.equals( superClass ) || classIsOrExtends( clazz.getSuperclass(), superClass );
  }
@Test
  public void testClassIsOrExtends() {
    assertFalse( Const.classIsOrExtends( Object.class, Object.class ) );
    assertTrue( Const.classIsOrExtends( String.class, String.class ) );
    assertTrue( Const.classIsOrExtends( ArrayList.class, ArrayList.class ) );
  }