content: /**
   * Copyright (C) 2010-2016 eBusiness Information, Excilys Group
   * Copyright (C) 2016-2020 the AndroidAnnotations project
   *
   * Licensed under the Apache License, Version 2.0 (the "License"); you may not
   * use this file except in compliance with the License. You may obtain a copy of
   * the License at
   *
   * http://www.apache.org/licenses/LICENSE-2.0
   *
   * Unless required by applicable law or agreed To in writing, software
   * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
   * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
   * License for the specific language governing permissions and limitations under
   * the License.
   */
  package org.androidannotations.test.ebean;
  
  import org.androidannotations.annotations.Bean;
  import org.androidannotations.annotations.EActivity;
  
  import android.app.Activity;
  
  @EActivity
  public class BeanInjectedActivity extends Activity {
  
  	@Bean
  	public EmptyDependency dependency;
  
  	@Bean(SomeImplementation.class)
  	public SomeInterface interfaceDependency;
  
  	@Bean
  	public SomeSingleton singletonDependency;
  
  	@Bean
  	public ActivityScopedBean activityScopedDependency;
  
  	@Bean
  	public FragmentScopedBean fragmentScopedDependency;
  
  	public EmptyDependency methodInjectedDependency;
  	public SomeInterface methodInjectedInterface;
  	public SomeSingleton methodInjectedSingleton;
  	public ActivityScopedBean methodInjectedActivityScoped;
  	public FragmentScopedBean methodInjectedFragmentScoped;
  
  	public EmptyDependency annotatedParamDependency;
  	public SomeInterface annotatedParamInterface;
  	public SomeSingleton annotatedParamSingleton;
  	public ActivityScopedBean annotatedParamActivityScoped;
  	public FragmentScopedBean annotatedParamFragmentScoped;
  
  	public EmptyDependency multiDependency;
  	public SomeInterface multiDependencyInterface;
  	public SomeSingleton multiDependencySingleton;
  	public ActivityScopedBean multiDependencyActivityScopedBean;
  	public FragmentScopedBean multiDependencyFragmentScopedBean;
  
  	@Bean
  	protected void injectDependency(EmptyDependency methodInjectedDependency) {
  		this.methodInjectedDependency = methodInjectedDependency;
  	}
  
  	@Bean(SomeImplementation.class)
  	protected void injectInterface(SomeInterface methodInjectedInterface) {
  		this.methodInjectedInterface = methodInjectedInterface;
  	}
  
  	@Bean
  	protected void injectSingleton(SomeSingleton methodInjectedSingleton) {
  		this.methodInjectedSingleton = methodInjectedSingleton;
  	}
  
  	@Bean
  	protected void injectActivityScope(ActivityScopedBean methodInjectedActivityScoped) {
  		this.methodInjectedActivityScoped = methodInjectedActivityScoped;
  	}
  
  	@Bean
  	protected void injectFragmentScope(FragmentScopedBean methodInjectedFragmentScoped) {
  		this.methodInjectedFragmentScoped = methodInjectedFragmentScoped;
  	}
  
  	protected void injectDependencyAnnotatedParam(@Bean EmptyDependency annotatedParamDependency) {
  		this.annotatedParamDependency = annotatedParamDependency;
  	}
  
  	protected void injectInterfaceAnnotatedParam(@Bean(SomeImplementation.class) SomeInterface annotatedParamInterface) {
  		this.annotatedParamInterface = annotatedParamInterface;
  	}
  
  	protected void injectSingletonAnnotatedParam(@Bean SomeSingleton annotatedParamSingleton) {
  		this.annotatedParamSingleton = annotatedParamSingleton;
  	}
  
  	protected void injectActivityScopedAnnotatedParam(@Bean ActivityScopedBean annotatedParamActivityScoped) {
  		this.annotatedParamActivityScoped = annotatedParamActivityScoped;
  	}
  
  	protected void injectFragmentScopedAnnotatedParam(@Bean FragmentScopedBean annotatedParamFragmentScoped) {
  		this.annotatedParamFragmentScoped = annotatedParamFragmentScoped;
  	}
  
  	protected void injectMultipleDependencies(@Bean EmptyDependency multiDependency, @Bean(SomeImplementation.class) SomeInterface multiDependencyInterface,
  			@Bean SomeSingleton multiDependencySingleton, @Bean ActivityScopedBean multiDependencyActivityScopedBean, @Bean FragmentScopedBean multiDependecyFragmentScopedBean) {
  		this.multiDependency = multiDependency;
  		this.multiDependencyInterface = multiDependencyInterface;
  		this.multiDependencySingleton = multiDependencySingleton;
  		this.multiDependencyActivityScopedBean = multiDependencyActivityScopedBean;
  		this.multiDependencyFragmentScopedBean = multiDependecyFragmentScopedBean;
  	}
  }
  