|dependency injection in Xtext source code [message #1017032]
||Fri, 08 March 2013 12:14
| e r
Registered: March 2013
In the classes org.eclipse.xtext.xtext.ui.wizard.project.XtextProjectCreator and org.eclipse.xtext.ui.wizard.AbstractProjectCreator of the source code of Xtext, the three following fields are instantiated using dependency injection:
private String fileExtension;
private Provider<PluginProjectFactory> projectFactoryProvider;
private Provider<FeatureProjectFactory> featureProjFactoryProvider;
What are the classes in the source code of Xtext that specifies how to instantiate these three fields? I think that these classes should implement "com.google.inject.Module" or inherit from another class that implements "com.google.inject.Module". However, there are so many classes in the source code of XText that I have been unable to locate these classes.
Any help would be appreciated.
Thanks in advance for any answer.
Powered by FUDForum
. Page generated in 0.01538 seconds