Add public getter for the language name

Add public getter for the language name so that sub-classes can access
the
language name.
This commit is contained in:
rubenporras 2022-02-09 06:46:14 +01:00
parent 4ab6f15d20
commit 2c6059f353

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.