Class LazyLanguageConfig

java.lang.Object
org.eclipse.xtext.generator.CompositeGeneratorFragment
org.eclipse.xtext.generator.LanguageConfig
org.openhab.core.model.lazygen.LazyLanguageConfig
All Implemented Interfaces:
org.eclipse.xtext.generator.IGeneratorFragment, org.eclipse.xtext.generator.IGeneratorFragmentExtension, org.eclipse.xtext.generator.IGeneratorFragmentExtension2, org.eclipse.xtext.generator.IGeneratorFragmentExtension3, org.eclipse.xtext.generator.IGeneratorFragmentExtension4, org.eclipse.xtext.generator.NamingAware

@NonNullByDefault public class LazyLanguageConfig extends org.eclipse.xtext.generator.LanguageConfig
Author:
Holger Schill, Simon Kaufmann - Initial contribution
  • Field Summary

    Fields inherited from class org.eclipse.xtext.generator.CompositeGeneratorFragment

    fragments
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    generate(org.eclipse.xtext.generator.LanguageConfig config, org.eclipse.xpand2.XpandExecutionContext ctx)
     
    void
    generate(org.eclipse.xtext.Grammar grammar, org.eclipse.xpand2.XpandExecutionContext ctx)
     
    @Nullable org.eclipse.xtext.Grammar
     
    void
    initialize(boolean isUi)
     
    void
     
    void
    setUri(@Nullable String uri)
     
    void
    setUriReally(@Nullable String uri)
     
    protected void
    validateGrammar(org.eclipse.xtext.Grammar grammar)
     

    Methods inherited from class org.eclipse.xtext.generator.LanguageConfig

    addLoadedResource, checkConfiguration, getEncoding, getFileExtensions, getForcedResourceSet, getLoadedResources, isCheckFileExtension, setCheckFileExtension, setEncoding, setFileExtensions, setForcedResourceSet, validateAllImports, validateReferencedMetamodel

    Methods inherited from class org.eclipse.xtext.generator.CompositeGeneratorFragment

    addFragment, addFragments, addLog, addToPluginXmlRt, addToPluginXmlRt, addToPluginXmlTests, addToPluginXmlUi, addToPluginXmlUi, addToStandaloneSetup, addToStandaloneSetup, addWarn, getDefaultRuntimeModuleClassName, getDefaultUiModuleClassName, getExportedPackagesIde, getExportedPackagesRt, getExportedPackagesTests, getExportedPackagesUi, getGuiceBindingsRt, getGuiceBindingsUi, getImportedPackagesIde, getImportedPackagesRt, getImportedPackagesTests, getImportedPackagesUi, getRequiredBundlesIde, getRequiredBundlesRt, getRequiredBundlesTests, getRequiredBundlesUi, registerNaming

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • LazyLanguageConfig

      public LazyLanguageConfig()
  • Method Details

    • setUri

      public void setUri(@Nullable String uri)
      Overrides:
      setUri in class org.eclipse.xtext.generator.LanguageConfig
    • getGrammar

      public @Nullable org.eclipse.xtext.Grammar getGrammar()
      Overrides:
      getGrammar in class org.eclipse.xtext.generator.LanguageConfig
    • initialize

      public void initialize(boolean isUi)
      Overrides:
      initialize in class org.eclipse.xtext.generator.LanguageConfig
    • initializeReally

      public void initializeReally()
    • validateGrammar

      protected void validateGrammar(@NonNullByDefault({}) org.eclipse.xtext.Grammar grammar)
      Overrides:
      validateGrammar in class org.eclipse.xtext.generator.LanguageConfig
    • generate

      public void generate(@NonNullByDefault({}) org.eclipse.xtext.Grammar grammar, @NonNullByDefault({}) org.eclipse.xpand2.XpandExecutionContext ctx)
      Specified by:
      generate in interface org.eclipse.xtext.generator.IGeneratorFragment
      Overrides:
      generate in class org.eclipse.xtext.generator.LanguageConfig
    • generate

      public void generate(@NonNullByDefault({}) org.eclipse.xtext.generator.LanguageConfig config, @NonNullByDefault({}) org.eclipse.xpand2.XpandExecutionContext ctx) throws org.eclipse.xtext.generator.CompositeGeneratorException
      Specified by:
      generate in interface org.eclipse.xtext.generator.IGeneratorFragmentExtension2
      Overrides:
      generate in class org.eclipse.xtext.generator.CompositeGeneratorFragment
      Throws:
      org.eclipse.xtext.generator.CompositeGeneratorException
    • setUriReally

      public void setUriReally(@Nullable String uri)