protected static final boolean classEquals ( Class clz1 , Class clz2 ) { if ( clz1 == null || clz2 == null ) { throw new NullPointerException ( ) ; } return clz1 == clz2 || clz1 . getName ( ) . equals ( clz2 . getName ( ) ) ; }
Compares if two classes are equal or their class names are equal .