io.sarl.lang.extralanguage.compiler
Class ExtraLanguageImportManager
class ExtraLanguageImportManager
extends java.lang.Object
Import manager for SARL extra target languages.
Maven Group Identifier:
io.sarl.lang
Maven Artifact Identifier:
compiler
Since:
0.6
Constructor Summary
Action Summary
Modifier and type Action and description
boolean addImportFor(JvmType)
void appendType(Class<T>,StringBuilder)
void appendType(JvmType,StringBuilder)
protected java.lang.String convertQualifiedName(String)
Convert the given qualified name.
Constructor Details
new(ExtraLanguageTypeConverter)
new(ExtraLanguageTypeConverter)
Constructor.
Parameters:
converter - the type conversion to be used.
new(ExtraLanguageTypeConverter,char)
new(ExtraLanguageTypeConverter,char)
Constructor.
Parameters:
converter - the type conversion to be used.
innerSeparator - the character to be used as inner separator.
new(ExtraLanguageTypeConverter,JvmDeclaredType)
new(ExtraLanguageTypeConverter,JvmDeclaredType)
Constructor.
Parameters:
converter - the type conversion to be used.
thisType - the name of the current type.
new(ExtraLanguageTypeConverter,JvmDeclaredType,char)
new(ExtraLanguageTypeConverter,JvmDeclaredType,char)
Constructor.
Parameters:
converter - the type conversion to be used.
thisType - the name of the current type.
innerSeparator - the character to be used as inner separator.
Action Details
addImportFor(JvmType)
def addImportFor(JvmType) : boolean
appendType(Class<T>,StringBuilder)
def appendType(Class<T>,StringBuilder)
appendType(JvmType,StringBuilder)
def appendType(JvmType,StringBuilder)
convertQualifiedName(String)
protected def convertQualifiedName(String) : java.lang.String
Convert the given qualified name.
Parameters:
name - the given qualified name.
Returns:
the conversion result, or null if no type equivalent exists.