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

dagger.internal.codegen.validation.DiagnosticReporterFactory_Factory Maven / Gradle / Ivy

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

import dagger.internal.DaggerGenerated;
import dagger.internal.Factory;
import javax.annotation.Generated;
import javax.annotation.processing.Messager;
import javax.inject.Provider;

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

  private final Provider diagnosticMessageGeneratorFactoryProvider;

  public DiagnosticReporterFactory_Factory(Provider messagerProvider,
      Provider diagnosticMessageGeneratorFactoryProvider) {
    this.messagerProvider = messagerProvider;
    this.diagnosticMessageGeneratorFactoryProvider = diagnosticMessageGeneratorFactoryProvider;
  }

  @Override
  public DiagnosticReporterFactory get() {
    return newInstance(messagerProvider.get(), diagnosticMessageGeneratorFactoryProvider.get());
  }

  public static DiagnosticReporterFactory_Factory create(Provider messagerProvider,
      Provider diagnosticMessageGeneratorFactoryProvider) {
    return new DiagnosticReporterFactory_Factory(messagerProvider, diagnosticMessageGeneratorFactoryProvider);
  }

  public static DiagnosticReporterFactory newInstance(Messager messager,
      DiagnosticMessageGenerator.Factory diagnosticMessageGeneratorFactory) {
    return new DiagnosticReporterFactory(messager, diagnosticMessageGeneratorFactory);
  }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy