Interface Language
- All Known Implementing Classes:
AbstractLanguage
,GroovyLanguage
,JavaLanguage
,KotlinLanguage
public interface Language
A language in which a generated project can be written.
- Author:
- Andy Wilkinson
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final String
The default JVM version to use if none is specified. -
Method Summary
-
Field Details
-
DEFAULT_JVM_VERSION
The default JVM version to use if none is specified.- See Also:
-
-
Method Details
-
id
String id()Return the language identifier.- Returns:
- the language id
-
jvmVersion
String jvmVersion()Return the JVM version level to use.- Returns:
- the JVM version or "1.8" if not set
-
sourceFileExtension
String sourceFileExtension()Return the file extension to use for source file of this language.- Returns:
- the source file extension
-
forId
-