* @param binding the binding element to use.
*/
public SourceGenerator(final FieldInfoFactory infoFactory, final ExtendedBinding binding) {
super();
_internalContext = new BackwardCompatibilityContext();
setJavaNaming(_internalContext.getJavaNaming());
_dialog = new ConsoleDialog();
_infoFactory = (infoFactory == null) ? new FieldInfoFactory() : infoFactory;