ExternalConstant

constructor(propertyName: String, implementationModule: ModuleReference, subPackageName: String? = null)

Parameters

propertyName

The name of the property that will be imported.

implementationModule

The module that contains the property that will be imported.

The package name of the class is obtained from this ModuleReference. If the class resides in a sub package within this module, the sub package can be provided through subPackageName. This subPackageName is appended to the package name of the module, with a period in between.

subPackageName

Optional sub package. If not null, this value is appended to the ModuleReference.packageName of the implementationModule property with a period in between.