dagger.internal.codegen.writing.AnnotationCreatorGenerator_Factory Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of dagger-compiler Show documentation
Show all versions of dagger-compiler Show documentation
A fast dependency injector for Android and Java.
package dagger.internal.codegen.writing;
import dagger.internal.DaggerGenerated;
import dagger.internal.Factory;
import dagger.internal.codegen.langmodel.DaggerElements;
import javax.annotation.Generated;
import javax.annotation.processing.Filer;
import javax.inject.Provider;
import javax.lang.model.SourceVersion;
@DaggerGenerated
@Generated(
value = "dagger.internal.codegen.ComponentProcessor",
comments = "https://dagger.dev"
)
@SuppressWarnings({
"unchecked",
"rawtypes"
})
public final class AnnotationCreatorGenerator_Factory implements Factory {
private final Provider filerProvider;
private final Provider elementsProvider;
private final Provider sourceVersionProvider;
public AnnotationCreatorGenerator_Factory(Provider filerProvider,
Provider elementsProvider, Provider sourceVersionProvider) {
this.filerProvider = filerProvider;
this.elementsProvider = elementsProvider;
this.sourceVersionProvider = sourceVersionProvider;
}
@Override
public AnnotationCreatorGenerator get() {
return newInstance(filerProvider.get(), elementsProvider.get(), sourceVersionProvider.get());
}
public static AnnotationCreatorGenerator_Factory create(Provider filerProvider,
Provider elementsProvider, Provider sourceVersionProvider) {
return new AnnotationCreatorGenerator_Factory(filerProvider, elementsProvider, sourceVersionProvider);
}
public static AnnotationCreatorGenerator newInstance(Filer filer, DaggerElements elements,
SourceVersion sourceVersion) {
return new AnnotationCreatorGenerator(filer, elements, sourceVersion);
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy