public static boolean isInheritedMapped ( Class < ? > classToCheck ) { for ( Class < ? > clazz : getAllsuperClasses ( classToCheck ) ) if ( ! isNull ( clazz . getAnnotation ( JGlobalMap . class ) ) ) return true ; for ( Field field : getListOfFields ( classToCheck ) ) if ( ! isNull ( field . getAnnotation ( JMap . class ) ) ) return true ; return false ; }
Returns true if the class is configured in annotation false otherwise .