question: public Class < ? > lookupEntityClass ( Class < ? > objClass ) { for ( Class < ? > cls = objClass ; cls != null ; cls = cls . getSuperclass ( ) ) { if ( entityBindings . containsKey ( cls ) || cls . isAnnotationPresent ( Entity . class ) ) { return cls ; } } throw new IllegalArgumentException ( "Unknown Entity " + objClass ) ; }
target:  Follow for this class or super-class for Entity annotation.