}
else {
TCast requiredCast = resolver.cast(inputTClass, targetTClass);
if (requiredCast == null)
throw new OverloadException("can't cast " + inputInstance + " to " + targetTClass);
inputInstance = requiredCast.preferredTarget(inputTpv);
resultInstance = inputInstance;
}
}
// no inputInstance = no type attributes
else {