ModuleName

constructor(packageName: String, localName: String, isRename: Boolean = false)

Construct a new ModuleName from the specified canonical module group name and local name.

Parameters

packageName

A canonical package name.

localName

A local module name.

isRename

Whether module resolution followed a renaming rule.

Throws

If the argument was malformed.


constructor(qualifiedName: String, isRename: Boolean = false)

Construct a new ModuleName from the specified fully-qualified module name.

Parameters

qualifiedName

A fully-qualified module name.

isRename

Whether module resolution followed a renaming rule.