@Override public TypeReference getDelegateScopeProvider() { TypeReference _xifexpression = null; boolean _inheritsXbase = this._xbaseUsageDetector.inheritsXbase(this.getLanguage().getGrammar()); if (_inheritsXbase) { _xifexpression = TypeReference.typeRef("org.eclipse.xtext.xbase.scoping.XImportSectionNamespaceScopeProvider"); } else { _xifexpression = TypeReference.typeRef(SimpleLocalScopeProvider.class); } return _xifexpression; }
@Override protected Class<? extends IScopeProvider> getLocalScopeProvider() { return SimpleLocalScopeProvider.class; }
public Class<? extends IScopeProvider> bindIScopeProvider() { return SimpleLocalScopeProvider.class; }
public void configureIScopeProviderDelegate(Binder binder) { binder.bind(IScopeProvider.class).annotatedWith(Names.named(AbstractDeclarativeScopeProvider.NAMED_DELEGATE)).to(SimpleLocalScopeProvider.class); }
public void configureIScopeProviderDelegate(com.google.inject.Binder binder) { binder.bind(org.eclipse.xtext.scoping.IScopeProvider.class).annotatedWith(com.google.inject.name.Names.named("org.eclipse.xtext.scoping.impl.AbstractDeclarativeScopeProvider.delegate")).to(SimpleLocalScopeProvider.class); }