Class GeneratorOption<T>
- java.lang.Object
-
- org.eclipse.xtext.xtext.generator.util.GeneratorOption<T>
-
public class GeneratorOption<T> extends java.lang.Object
An object-valued option with default value for use in generator fragments.
-
-
Constructor Summary
Constructors Constructor Description GeneratorOption()
Create an option with no default value.GeneratorOption(T defaultValue)
Create an option with a default value.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description T
get()
boolean
isSet()
void
set(T value)
-