dagger.internal.codegen.ProcessingEnvironmentModule_SourceVersionFactory 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;
import dagger.internal.DaggerGenerated;
import dagger.internal.Factory;
import dagger.internal.Preconditions;
import javax.annotation.Generated;
import javax.annotation.processing.ProcessingEnvironment;
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 ProcessingEnvironmentModule_SourceVersionFactory implements Factory {
private final Provider processingEnvironmentProvider;
public ProcessingEnvironmentModule_SourceVersionFactory(
Provider processingEnvironmentProvider) {
this.processingEnvironmentProvider = processingEnvironmentProvider;
}
@Override
public SourceVersion get() {
return sourceVersion(processingEnvironmentProvider.get());
}
public static ProcessingEnvironmentModule_SourceVersionFactory create(
Provider processingEnvironmentProvider) {
return new ProcessingEnvironmentModule_SourceVersionFactory(processingEnvironmentProvider);
}
public static SourceVersion sourceVersion(ProcessingEnvironment processingEnvironment) {
return Preconditions.checkNotNullFromProvides(ProcessingEnvironmentModule.sourceVersion(processingEnvironment));
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy