微信公众号搜"智元新知"关注
微信扫一扫可直接关注哦!

org.eclipse.xtext.service.SingletonBinding的实例源码

项目:xtext-core    文件CrossRefTest.java   
@Override
public void setUp() throws Exception {
    super.setUp();
    with(new LangATestLanguageStandalonesetup() {
        @Override
        public Injector createInjector() {
            return Guice.createInjector(new LangATestLanguageRuntimeModule() {
                @Override
                @SingletonBinding
                public Class<? extends ILinkingService> bindILinkingService() {
                    return CrossRefLinkingService.class;
                }
            });
        }
    });
    crossRefSerializer =  get(ICrossReferenceSerializer.class);
    grammar = (LangATestLanguageGrammaraccess) get(IGrammaraccess.class);
}
项目:pokemon-tcgo-deck-generator    文件AbstractPkmntcgoRuntimeModule.java   
@SingletonBinding(eager=true)
public Class<? extends Pkmntcgovalidator> bindPkmntcgovalidator() {
    return Pkmntcgovalidator.class;
}
项目:pokemon-tcgo-deck-generator    文件AbstractPkmntcgoUiModule.java   
@SingletonBinding(eager=true)
public Class<? extends LanguageRegistrar> bindLanguageRegistrar() {
    return LanguageRegistrar.class;
}
项目:n4js    文件N4JsstandaloneTestsModule.java   
/** */
@SingletonBinding
public Class<? extends ResourceHelper> bindResourceHelper() {
    return ResourceHelper.class;
}
项目:n4js    文件AbstractTypesRuntimeModule.java   
@SingletonBinding(eager=true)
public Class<? extends TypesValidator> bindTypesValidator() {
    return TypesValidator.class;
}
项目:n4js    文件AbstractRegularExpressionRuntimeModule.java   
@SingletonBinding(eager=true)
public Class<? extends RegularExpressionValidator> bindRegularExpressionValidator() {
    return RegularExpressionValidator.class;
}
项目:n4js    文件AbstractN4JSUiModule.java   
@SingletonBinding(eager=true)
public Class<? extends LanguageRegistrar> bindLanguageRegistrar() {
    return LanguageRegistrar.class;
}
项目:n4js    文件AbstractRegularExpressionUiModule.java   
@SingletonBinding(eager=true)
public Class<? extends LanguageRegistrar> bindLanguageRegistrar() {
    return LanguageRegistrar.class;
}
项目:n4js    文件AbstractN4JSRuntimeModule.java   
@SingletonBinding(eager=true)
public Class<? extends N4JSValidator> bindN4JSValidator() {
    return N4JSValidator.class;
}
项目:n4js    文件N4JSRuntimeModule.java   
/**
 * Binds to special N4JS version of CancelableDiagnostician supporting pre- and post validation phases.
 */
@Override
@SingletonBinding
public Class<? extends Diagnostician> bindDiagnostician() {
    return PrePostDiagnostician.class;
}
项目:n4js    文件N4JSRuntimeModule.java   
/**
 * Binds a special language-independent validator checking project setups,mainly used for polyfill-clashes.
 */
@SingletonBinding(eager = true)
public Class<? extends org.eclipse.n4js.validation.validators.N4JSProjectSetupValidator> bindN4JSProjectSetupValidator() {
    return org.eclipse.n4js.validation.validators.N4JSProjectSetupValidator.class;
}
项目:n4js    文件N4JSRuntimeModule.java   
/**
 * Bind JavaScriptvariantHelper
 */
@SingletonBinding
public Class<? extends JavaScriptvariantHelper> bindJavaScriptvariantHelper() {
    return N4JSJavaScriptvariantHelper.class;
}
项目:n4js    文件AbstractN4MFUiModule.java   
@SingletonBinding(eager=true)
public Class<? extends LanguageRegistrar> bindLanguageRegistrar() {
    return LanguageRegistrar.class;
}
项目:n4js    文件AbstractN4MFRuntimeModule.java   
@SingletonBinding(eager=true)
public Class<? extends N4MFValidator> bindN4MFValidator() {
    return N4MFValidator.class;
}
项目:n4js    文件AbstractTypesUiModule.java   
@SingletonBinding(eager=true)
public Class<? extends LanguageRegistrar> bindLanguageRegistrar() {
    return LanguageRegistrar.class;
}
项目:Xtext_Xtend_HTML_Generator    文件AbstractMyDslUiModule.java   
@SingletonBinding(eager=true)
public Class<? extends LanguageRegistrar> bindLanguageRegistrar() {
    return LanguageRegistrar.class;
}
项目:Xtext_Xtend_HTML_Generator    文件AbstractMyDslRuntimeModule.java   
@SingletonBinding(eager=true)
public Class<? extends MyDslValidator> bindMyDslValidator() {
    return MyDslValidator.class;
}
项目:bromium    文件AbstractbromiumUiModule.java   
@SingletonBinding(eager=true)
public Class<? extends LanguageRegistrar> bindLanguageRegistrar() {
    return LanguageRegistrar.class;
}
项目:bromium    文件AbstractbromiumRuntimeModule.java   
@SingletonBinding(eager=true)
public Class<? extends bromiumValidator> bindbromiumValidator() {
    return bromiumValidator.class;
}
项目:gw4e.project    文件AbstractDSLPoliciesUiModule.java   
@SingletonBinding(eager=true)
public Class<? extends LanguageRegistrar> bindLanguageRegistrar() {
    return LanguageRegistrar.class;
}
项目:gw4e.project    文件AbstractDSLPoliciesRuntimeModule.java   
@SingletonBinding(eager=true)
public Class<? extends DSLPoliciesValidator> bindDSLPoliciesValidator() {
    return DSLPoliciesValidator.class;
}
项目:lcdsl    文件AbstractLcDslUiModule.java   
@SingletonBinding(eager=true)
public Class<? extends LanguageRegistrar> bindLanguageRegistrar() {
    return LanguageRegistrar.class;
}
项目:lcdsl    文件AbstractLcDslRuntimeModule.java   
@SingletonBinding(eager=true)
public Class<? extends LcDslValidator> bindLcDslValidator() {
    return LcDslValidator.class;
}
项目:gemoc-studio    文件AbstractDslRuntimeModule.java   
@SingletonBinding(eager=true)
public Class<? extends DslValidator> bindDslValidator() {
    return DslValidator.class;
}
项目:gemoc-studio    文件AbstractDslUiModule.java   
@SingletonBinding(eager=true)
public Class<? extends LanguageRegistrar> bindLanguageRegistrar() {
    return LanguageRegistrar.class;
}
项目:org.xtext.dsl.restaurante    文件AbstractRestauranteRuntimeModule.java   
@SingletonBinding(eager=true)
public Class<? extends RestauranteValidator> bindRestauranteValidator() {
    return RestauranteValidator.class;
}
项目:org.xtext.dsl.restaurante    文件AbstractRestauranteUiModule.java   
@SingletonBinding(eager=true)
public Class<? extends LanguageRegistrar> bindLanguageRegistrar() {
    return LanguageRegistrar.class;
}
项目:OCCI-Studio    文件AbstractOCCIRuntimeModule.java   
@SingletonBinding(eager=true)
public Class<? extends OCCIValidator> bindOCCIValidator() {
    return OCCIValidator.class;
}
项目:OCCI-Studio    文件AbstractOCCiuiModule.java   
@SingletonBinding(eager=true)
public Class<? extends LanguageRegistrar> bindLanguageRegistrar() {
    return LanguageRegistrar.class;
}
项目:xtext-extras    文件AbstractPureXbaseRuntimeModule.java   
@SingletonBinding(eager=true)
public Class<? extends PureXbaseValidator> bindPureXbaseValidator() {
    return PureXbaseValidator.class;
}
项目:xtext-extras    文件AbstractXbaseRuntimeModule.java   
@SingletonBinding(eager=true)
public Class<? extends XbaseValidator> bindXbaseValidator() {
    return XbaseValidator.class;
}
项目:xtext-extras    文件AbstractXbaseWithAnnotationsRuntimeModule.java   
@SingletonBinding(eager=true)
public Class<? extends XbaseWithAnnotationsValidator> bindXbaseWithAnnotationsValidator() {
    return XbaseWithAnnotationsValidator.class;
}
项目:xtext-extras    文件DefaultXbaseRuntimeModule.java   
@SingletonBinding(eager = true)
public Class<? extends JvmTypeReferencesValidator> bindJvmTypeReferencesValidator() {
    return JvmTypeReferencesValidator.class;
}
项目:xtext-extras    文件DefaultXbaseRuntimeModule.java   
@SingletonBinding(eager = true)
public Class<? extends UniqueClassNameValidator> bindUniqueClassNameValidator() {
    return UniqueClassNameValidator.class;
}
项目:xtext-extras    文件AbstractBuilderTestLanguageRuntimeModule.java   
@SingletonBinding(eager=true)
public Class<? extends BuilderTestLanguageValidator> bindBuilderTestLanguageValidator() {
    return BuilderTestLanguageValidator.class;
}
项目:xtext-extras    文件AbstractBug462047LangruntimeModule.java   
@SingletonBinding(eager=true)
public Class<? extends Bug462047LangValidator> bindBug462047LangValidator() {
    return Bug462047LangValidator.class;
}
项目:xtext-extras    文件AbstractXImportSectionTestLangruntimeModule.java   
@SingletonBinding(eager=true)
public Class<? extends XImportSectionTestLangValidator> bindXImportSectionTestLangValidator() {
    return XImportSectionTestLangValidator.class;
}
项目:xtext-extras    文件AbstractContentAssistFragmentTestLangruntimeModule.java   
@SingletonBinding(eager=true)
public Class<? extends ContentAssistFragmentTestLangValidator> bindContentAssistFragmentTestLangValidator() {
    return ContentAssistFragmentTestLangValidator.class;
}
项目:M2Doc    文件AbstractMyDslUiModule.java   
@SingletonBinding(eager=true)
public Class<? extends LanguageRegistrar> bindLanguageRegistrar() {
    return LanguageRegistrar.class;
}
项目:M2Doc    文件AbstractMyDslRuntimeModule.java   
@SingletonBinding(eager=true)
public Class<? extends MyDslValidator> bindMyDslValidator() {
    return MyDslValidator.class;
}

版权声明:本文内容由互联网用户自发贡献,该文观点与技术仅代表作者本人。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌侵权/违法违规的内容, 请发送邮件至 dio@foxmail.com 举报,一经查实,本站将立刻删除。