* @param classToCheck Class to check for AcrossDepends annotation.
* @return True if dependencies are met or no annotation was found.
* @see com.foreach.across.core.annotations.AcrossDepends
*/
public static boolean applies( AcrossBootstrapConfig config, Class<?> classToCheck ) {
AcrossDepends dependsAnnotation = classToCheck.getAnnotation( AcrossDepends.class );
return dependsAnnotation == null
|| applies( config, dependsAnnotation.required(), dependsAnnotation.optional() );
}