You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This class was generated. Customizations should only happen in a newly introduced subclass.
However, this cannot be done since somewhere in Xpect the name of the actually used ExecutableExtensionFactory is used to create another class name and load it dynamically ExtensionFactoryUtil#parseExtensionFactory(String).
Proposed solution
Make the generated class final and adjust the comment, or
improve the logic of ExtensionFactoryUtil#parseExtensionFactory(String)
The text was updated successfully, but these errors were encountered:
The logic from ExtensionFactoryUtil#parseExtensionFactory(String) is indeed not perfect and probably never can be. It's just a a utility to automagically setup Xpect for Xtext languages that follow standard naming conventions. If your language doesn't follow standard naming conventions, for example by introducing custom named subclasses of ExtensionFactories... you might want to use the extension point org.eclipse.xpect.fileExtensions to provide an explicit configuration for Xpect for your language.
The javadoc comment says:
However, this cannot be done since somewhere in Xpect the name of the actually used ExecutableExtensionFactory is used to create another class name and load it dynamically ExtensionFactoryUtil#parseExtensionFactory(String).
Proposed solution
final
and adjust the comment, orThe text was updated successfully, but these errors were encountered: