Merge pull request #1828 from rubenporras/ExtendGeneratorLanguage

Add public getter for the language name
This commit is contained in:
Christian Dietrich 2022-02-14 12:11:43 +01:00 committed by GitHub
commit 636e403787
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -138,6 +138,13 @@ public class XtextGeneratorLanguage extends CompositeGeneratorFragment2 implemen
this.name = name;
}
/**
* @since 2.26
*/
public final String getName() {
return this.name;
}
/**
* Either a single file extension or a comma-separated list of extensions
* for which the language shall be registered.