// Path: configuration/src/main/java/me/chanjar/configuration/service/Foo.java
// public class Foo {
// }


import me.chanjar.configuration.service.Foo;
import org.springframework.context.annotation.*;
import org.springframework.core.type.AnnotatedTypeMetadata;
package me.chanjar.configuration.ex2;


@Configuration
public class FooConfiguration {

  @Bean
  @Conditional(FooCondition.class)
  public Foo foo() {
// Path: configuration/src/main/java/me/chanjar/configuration/service/Foo.java
// public class Foo {
// }


// Path: configuration/src/test/java/me/chanjar/configuration/ex2/FooConfiguration.java
import me.chanjar.configuration.service.Foo;
import org.springframework.context.annotation.*;
import org.springframework.core.type.AnnotatedTypeMetadata;

package me.chanjar.configuration.ex2;


@Configuration
public class FooConfiguration {

  @Bean
  @Conditional(FooCondition.class)
  public Foo foo() {
    return new Foo();