ModuleNameResolutionResult

class ModuleNameResolutionResult

This class was created so that, upon an UnresolvedDependencyException, the ModuleNameResolver could bundle information about the different paths checked for the missing file into the exception itself.

Constructors

Link copied to clipboard
fun ModuleNameResolutionResult(resolvedModule: ResolvedModuleName)

Construct a new ModuleNameResolutionResult, upon successful resolution, with the resolved module.

Link copied to clipboard

Construct a new ModuleNameResolutionResult, upon an unsuccessful resolution, with an UnresolvedDependencyException containing the paths that did not have the missing module.

Properties

Link copied to clipboard
val isResolved: Boolean

Whether the resolution produced a ResolvedModuleName, rather than an exception.