I'm trying to derive the class instance of a groovy class from the name of string.
For example, I'd like to do some code along these lines:
def domainName
domainName = "Patient"
// but following line doesn't work, domainName is a String
def domainInstance = domainName.get(1);