test_class.declarator: classLoader = Thread.currentThread().getContextClassLoader()
test_class.original_string: ClassLoader classLoader = Thread.currentThread().getContextClassLoader();
test_class.type: ClassLoader
test_class.var_name: classLoader
test_class.declarator: nonConfirming = new BindingCondition<Object>() {
          
          @Override
          public boolean fulfilled(ClassInjector injector, Class<Object> type, Map<String, Class<? extends Object>[]> inheritanceTree, Annotation qualifier,
                  ClassLoader classLoader) {
              return false;
          }
          
      }
test_class.original_string: BindingCondition<Object> nonConfirming = new BindingCondition<Object>() {
          
          @Override
          public boolean fulfilled(ClassInjector injector, Class<Object> type, Map<String, Class<? extends Object>[]> inheritanceTree, Annotation qualifier,
                  ClassLoader classLoader) {
              return false;
          }
          
      };
test_class.type: BindingCondition<Object>
test_class.var_name: nonConfirming
test_class.declarator: confirming = new BindingCondition<Object>() {
          
          @Override
          public boolean fulfilled(ClassInjector injector, Class<Object> type, Map<String, Class<? extends Object>[]> inheritanceTree, Annotation qualifier,
                  ClassLoader classLoader) {
              return true;
          }
          
      }
test_class.original_string: BindingCondition<Object> confirming = new BindingCondition<Object>() {
          
          @Override
          public boolean fulfilled(ClassInjector injector, Class<Object> type, Map<String, Class<? extends Object>[]> inheritanceTree, Annotation qualifier,
                  ClassLoader classLoader) {
              return true;
          }
          
      };
test_class.type: BindingCondition<Object>
test_class.var_name: confirming
test_class.file: config-builder/src/test/java/com/github/jsr330/spi/config/builder/BindingConditionsTest.java
test_class.identifier: BindingConditionsTest
test_case.body: @SuppressWarnings("unchecked")
      @Test
      public void anyAnnotationsIsPresent() {
          assertTrue(BindingConditions.anyAnnotationIsPresent(Seat.class, Singleton.class, Inject.class).fulfilled(null, Seat.class, null, null, classLoader));
          assertTrue(BindingConditions.anyAnnotationIsPresent(Seat.class, Singleton.class, Drivers.class).fulfilled(null, Seat.class, null, null, classLoader));
          assertTrue(BindingConditions.anyAnnotationIsPresent(Seat.class, Singleton.class).fulfilled(null, Seat.class, null, null, classLoader));
      }
test_case.class_method_signature: BindingConditionsTest.anyAnnotationsIsPresent()
test_case.full_signature: @SuppressWarnings("unchecked") @Test public void anyAnnotationsIsPresent()
test_case.identifier: anyAnnotationsIsPresent
test_case.invocations: assertTrue fulfilled anyAnnotationIsPresent assertTrue fulfilled anyAnnotationIsPresent assertTrue fulfilled anyAnnotationIsPresent
test_case.modifiers: @SuppressWarnings("unchecked") @Test public
test_case.parameters: ()
test_case.return: void
test_case.signature: void anyAnnotationsIsPresent()
focal_class.file: config-builder/src/main/java/com/github/jsr330/spi/config/builder/BindingConditions.java
focal_class.identifier: BindingConditions
focal_class.class_method_signature: BindingConditions.annotationIsPresent(Class<? extends T> type, Class<? extends Annotation> annotation)
focal_class.full_signature: @SuppressWarnings("unchecked") public static BindingCondition<T> annotationIsPresent(Class<? extends T> type, Class<? extends Annotation> annotation)
focal_class.identifier: annotationIsPresent
focal_class.modifiers: @SuppressWarnings("unchecked") public static
focal_class.parameters: (Class<? extends T> type, Class<? extends Annotation> annotation)
focal_class.return: BindingCondition<T>
focal_class.signature: BindingCondition<T> annotationIsPresent(Class<? extends T> type, Class<? extends Annotation> annotation)
focal_class.class_method_signature: BindingConditions.qualifierIs(Class<? extends T> type, final Class<? extends Annotation> expectedQualifier)
focal_class.full_signature: public static BindingCondition<T> qualifierIs(Class<? extends T> type, final Class<? extends Annotation> expectedQualifier)
focal_class.identifier: qualifierIs
focal_class.modifiers: public static
focal_class.parameters: (Class<? extends T> type, final Class<? extends Annotation> expectedQualifier)
focal_class.return: BindingCondition<T>
focal_class.signature: BindingCondition<T> qualifierIs(Class<? extends T> type, final Class<? extends Annotation> expectedQualifier)
focal_class.class_method_signature: BindingConditions.isNamed(Class<? extends T> type, final CharSequence value)
focal_class.full_signature: public static BindingCondition<T> isNamed(Class<? extends T> type, final CharSequence value)
focal_class.identifier: isNamed
focal_class.modifiers: public static
focal_class.parameters: (Class<? extends T> type, final CharSequence value)
focal_class.return: BindingCondition<T>
focal_class.signature: BindingCondition<T> isNamed(Class<? extends T> type, final CharSequence value)
focal_class.class_method_signature: BindingConditions.isNamedIgnoringCase(Class<? extends T> type, final CharSequence value)
focal_class.full_signature: public static BindingCondition<T> isNamedIgnoringCase(Class<? extends T> type, final CharSequence value)
focal_class.identifier: isNamedIgnoringCase
focal_class.modifiers: public static
focal_class.parameters: (Class<? extends T> type, final CharSequence value)
focal_class.return: BindingCondition<T>
focal_class.signature: BindingCondition<T> isNamedIgnoringCase(Class<? extends T> type, final CharSequence value)
focal_class.class_method_signature: BindingConditions.allAnnotationsArePresent(Class<? extends T> type, final Class<? extends Annotation>... annotations)
focal_class.full_signature: public static BindingCondition<T> allAnnotationsArePresent(Class<? extends T> type, final Class<? extends Annotation>... annotations)
focal_class.identifier: allAnnotationsArePresent
focal_class.modifiers: public static
focal_class.parameters: (Class<? extends T> type, final Class<? extends Annotation>... annotations)
focal_class.return: BindingCondition<T>
focal_class.signature: BindingCondition<T> allAnnotationsArePresent(Class<? extends T> type, final Class<? extends Annotation>... annotations)
focal_class.class_method_signature: BindingConditions.anyAnnotationIsPresent(Class<? extends T> type, final Class<? extends Annotation>... annotations)
focal_class.full_signature: public static BindingCondition<T> anyAnnotationIsPresent(Class<? extends T> type, final Class<? extends Annotation>... annotations)
focal_class.identifier: anyAnnotationIsPresent
focal_class.modifiers: public static
focal_class.parameters: (Class<? extends T> type, final Class<? extends Annotation>... annotations)
focal_class.return: BindingCondition<T>
focal_class.signature: BindingCondition<T> anyAnnotationIsPresent(Class<? extends T> type, final Class<? extends Annotation>... annotations)
focal_class.class_method_signature: BindingConditions.and(final BindingCondition<T>... conditions)
focal_class.full_signature: public static BindingCondition<T> and(final BindingCondition<T>... conditions)
focal_class.identifier: and
focal_class.modifiers: public static
focal_class.parameters: (final BindingCondition<T>... conditions)
focal_class.return: BindingCondition<T>
focal_class.signature: BindingCondition<T> and(final BindingCondition<T>... conditions)
focal_class.class_method_signature: BindingConditions.or(final BindingCondition<T>... conditions)
focal_class.full_signature: public static BindingCondition<T> or(final BindingCondition<T>... conditions)
focal_class.identifier: or
focal_class.modifiers: public static
focal_class.parameters: (final BindingCondition<T>... conditions)
focal_class.return: BindingCondition<T>
focal_class.signature: BindingCondition<T> or(final BindingCondition<T>... conditions)
focal_class.class_method_signature: BindingConditions.xor(final BindingCondition<T> condition1, final BindingCondition<T> condition2)
focal_class.full_signature: public static BindingCondition<T> xor(final BindingCondition<T> condition1, final BindingCondition<T> condition2)
focal_class.identifier: xor
focal_class.modifiers: public static
focal_class.parameters: (final BindingCondition<T> condition1, final BindingCondition<T> condition2)
focal_class.return: BindingCondition<T>
focal_class.signature: BindingCondition<T> xor(final BindingCondition<T> condition1, final BindingCondition<T> condition2)
focal_method.body: public static <T> BindingCondition<T> anyAnnotationIsPresent(Class<? extends T> type, final Class<? extends Annotation>... annotations) {
          return new BindingCondition<T>() {
              
              @Override
              public boolean fulfilled(ClassInjector injector, Class<T> type, Map<String, Class<? extends T>[]> inheritanceTree, Annotation qualifier,
                      ClassLoader classLoader) {
                  boolean exists = false;
                  
                  if (type != null && annotations != null && annotations.length > 0) {
                      for (Annotation annotation : type.getAnnotations()) {
                          exists = false;
                          for (Class<? extends Annotation> cmp : annotations) {
                              if (annotation.annotationType().equals(cmp)) {
                                  exists = true;
                                  break;
                              }
                          }
                          if (!exists) {
                              return exists;
                          }
                          exists = true;
                      }
                  }
                  return exists;
              }
              
          };
      }
focal_method.class_method_signature: BindingConditions.anyAnnotationIsPresent(Class<? extends T> type, final Class<? extends Annotation>... annotations)
focal_method.full_signature: public static BindingCondition<T> anyAnnotationIsPresent(Class<? extends T> type, final Class<? extends Annotation>... annotations)
focal_method.identifier: anyAnnotationIsPresent
focal_method.invocations: getAnnotations equals annotationType
focal_method.modifiers: public static
focal_method.parameters: (Class<? extends T> type, final Class<? extends Annotation>... annotations)
focal_method.return: BindingCondition<T>
focal_method.signature: BindingCondition<T> anyAnnotationIsPresent(Class<? extends T> type, final Class<? extends Annotation>... annotations)