@Override public Set<Binding> getGuiceBindingsRt(Grammar grammar) { if(isGenerateStub()) return new BindFactory().addTypeToType(IFormatter.class.getName(), getFormatterName(grammar, getNaming())) .getBindings(); else return emptySet(); }
/** {@inheritDoc} */ @Override public Set<Binding> getGuiceBindingsRt(final Grammar grammar) { final BindFactory bindFactory = new BindFactory(); bindFactory.addTypeToType(IFormatter.class.getName(), FormatGeneratorUtil.getFormatterName(grammar, "")); bindFactory.addTypeToType(INodeModelFormatter.class.getName(), RegionNodeModelFormatter.class.getName()); bindFactory.addTypeToType(INodeModelStreamer.class.getName(), DirectNodeModelStreamer.class.getName()); return bindFactory.getBindings(); }
public Class<? extends IFormatter> bindIFormatter() { return org.eclipse.cmf.occi.core.xtext.formatting.OCCIFormatter.class; }
@Deprecated @Override public Class<? extends IFormatter> bindIFormatter() { return XbaseFormatter.class; }
public Class<? extends IFormatter> bindIFormatter() { return MinitlFormatter.class; }
@Inject public Serializer(IParseTreeConstructor ptc, IFormatter fmt, IConcreteSyntaxValidator val) { this.parseTreeReconstructor = ptc; this.formatter = fmt; this.validator = val; }
protected IFormatter getFormatter() { return formatter; }
public Class<? extends IFormatter> bindIFormatter() { return OneWhitespaceFormatter.class; }
@Override public Class<? extends IFormatter> bindIFormatter() { return XtextFormatter.class; }
@Override public Class<? extends IFormatter> bindIFormatter() { return FormatterTestConfig.class; }
/** {@inheritDoc} */ @Override public Class<? extends IFormatter> bindIFormatter() { return FormatterTestConfig.class; }
@Override public Class<? extends IFormatter> bindIFormatter() { return DialogScriptFormatter.class; }
public Class<? extends IFormatter> bindIFormatter() { return InputConstraintFormatter.class; }