Package com.foreach.across.core.annotations

Examples of com.foreach.across.core.annotations.AcrossDepends.optional()


   */
  public static boolean applies( AcrossBootstrapConfig config, Class<?> classToCheck ) {
    AcrossDepends dependsAnnotation = classToCheck.getAnnotation( AcrossDepends.class );

    return dependsAnnotation == null
        || applies( config, dependsAnnotation.required(), dependsAnnotation.optional() );
  }

  /**
   * Checks if the required and optional dependencies apply against a given bootstrap configuration.
   *
 
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.