tryToResolve

fun <N : PossiblyNamed> ReferenceByName<N>.tryToResolve(candidates: Iterable<N>, caseInsensitive: Boolean = false): Boolean

Try to resolve the reference by finding a named element with a matching name. The name match is performed in a case sensitive or insensitive way depending on the value of @paramcaseInsensitive.


Try to resolve the reference by assigining @parampossibleValue. The assignment is not performed if

Return

true if the assignment has been performed

Parameters

possibleValue

is null.