provideResolverReference

open fun provideResolverReference(qualifiedName: String, withReference: (ResolverReference) -> Unit, failureHandler: (ErrorCode, Throwable?) -> Unit)

Provide the ResolverReference for the given qualified file name for a file in moduleRoot.

Parameters

qualifiedName

The qualified name of the target file.

withReference

The lambda that accepts the retrieved reference.

failureHandler

A function that accepts an ErrorCode and a nullable Throwable to be called in the event of failure.