All Downloads are FREE. Search and download functionalities are using the official Maven repository.

dagger.internal.codegen.writing.DelegatingFrameworkInstanceCreationExpression_Factory Maven / Gradle / Ivy

There is a newer version: 2.54
Show newest version
package dagger.internal.codegen.writing;

import dagger.internal.DaggerGenerated;
import dagger.internal.codegen.binding.ContributionBinding;
import dagger.internal.codegen.compileroption.CompilerOptions;
import javax.annotation.Generated;
import javax.inject.Provider;

@DaggerGenerated
@Generated(
    value = "dagger.internal.codegen.ComponentProcessor",
    comments = "https://dagger.dev"
)
@SuppressWarnings({
    "unchecked",
    "rawtypes"
})
public final class DelegatingFrameworkInstanceCreationExpression_Factory {
  private final Provider componentImplementationProvider;

  private final Provider componentBindingExpressionsProvider;

  private final Provider compilerOptionsProvider;

  public DelegatingFrameworkInstanceCreationExpression_Factory(
      Provider componentImplementationProvider,
      Provider componentBindingExpressionsProvider,
      Provider compilerOptionsProvider) {
    this.componentImplementationProvider = componentImplementationProvider;
    this.componentBindingExpressionsProvider = componentBindingExpressionsProvider;
    this.compilerOptionsProvider = compilerOptionsProvider;
  }

  public DelegatingFrameworkInstanceCreationExpression get(ContributionBinding binding) {
    return newInstance(binding, componentImplementationProvider.get(), componentBindingExpressionsProvider.get(), compilerOptionsProvider.get());
  }

  public static DelegatingFrameworkInstanceCreationExpression_Factory create(
      Provider componentImplementationProvider,
      Provider componentBindingExpressionsProvider,
      Provider compilerOptionsProvider) {
    return new DelegatingFrameworkInstanceCreationExpression_Factory(componentImplementationProvider, componentBindingExpressionsProvider, compilerOptionsProvider);
  }

  public static DelegatingFrameworkInstanceCreationExpression newInstance(
      ContributionBinding binding, ComponentImplementation componentImplementation,
      ComponentBindingExpressions componentBindingExpressions, CompilerOptions compilerOptions) {
    return new DelegatingFrameworkInstanceCreationExpression(binding, componentImplementation, componentBindingExpressions, compilerOptions);
  }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy