public class GinjectorImplOutputter extends Object
Constructor and Description |
---|
GinjectorImplOutputter(com.google.gwt.inject.rebind.output.GinjectorBindingsOutputter bindingsOutputter,
GeneratorContext ctx,
FragmentPackageName.Factory fragmentPackageNameFactory,
GinjectorNameGenerator ginjectorNameGenerator,
GuiceUtil guiceUtil,
TreeLogger logger,
Provider<MemberCollector> collectorProvider,
com.google.gwt.inject.rebind.output.ReachabilityAnalyzer reachabilityAnalyzer,
SourceWriteUtil.Factory sourceWriteUtilFactory) |
Modifier and Type | Method and Description |
---|---|
void |
write(String packageName,
String implClassName,
PrintWriter printWriter,
GinjectorBindings rootBindings)
Writes the implementation of the
Ginjector interface associated
with the given GinjectorBindings object, if any, along with all the
injector classes and fragment classes required by the implementation. |
@Inject public GinjectorImplOutputter(com.google.gwt.inject.rebind.output.GinjectorBindingsOutputter bindingsOutputter, GeneratorContext ctx, FragmentPackageName.Factory fragmentPackageNameFactory, GinjectorNameGenerator ginjectorNameGenerator, GuiceUtil guiceUtil, TreeLogger logger, Provider<MemberCollector> collectorProvider, com.google.gwt.inject.rebind.output.ReachabilityAnalyzer reachabilityAnalyzer, SourceWriteUtil.Factory sourceWriteUtilFactory)
public void write(String packageName, String implClassName, PrintWriter printWriter, GinjectorBindings rootBindings) throws UnableToCompleteException
Ginjector
interface associated
with the given GinjectorBindings
object, if any, along with all the
injector classes and fragment classes required by the implementation.UnableToCompleteException
Copyright © 2008–2018. All rights reserved.