Class FullyQualifiedKotlinType
java.lang.Object
org.mybatis.generator.api.dom.kotlin.FullyQualifiedKotlinType
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate booleanprivate Stringprivate Stringprivate final List<FullyQualifiedKotlinType> -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidaddTypeArgument(FullyQualifiedKotlinType typeArgument) private voidgenericParse(String genericSpecification) Returns a list of Strings that are the fully qualified names of this type, and any generic type argument associated with this type.private static StringgetPackage(String baseQualifiedName) Returns the package name of a fully qualified type.private voidprivate voidsimpleParse(String typeSpecification)
-
Field Details
-
AUTOMATIC_KOTLIN_PACKAGES
-
packageName
-
typeArguments
-
shortNameWithoutTypeArguments
-
isExplicitlyImported
private boolean isExplicitlyImported
-
-
Constructor Details
-
FullyQualifiedKotlinType
-
-
Method Details
-
getPackageName
-
getShortNameWithoutTypeArguments
-
getShortNameWithTypeArguments
-
getTypeArguments
-
addTypeArgument
-
getImportList
Returns a list of Strings that are the fully qualified names of this type, and any generic type argument associated with this type.- Returns:
- the import list
-
parse
-
simpleParse
-
genericParse
-
getPackage
Returns the package name of a fully qualified type.This method calculates the package as the part of the fully qualified name up to, but not including, the last element. Therefore, it does not support fully qualified inner classes. Not totally fool proof, but correct in most instances.
- Parameters:
baseQualifiedName- the base qualified name- Returns:
- the package
-