DELTASPIKE-399 switched to getName, same behavior for concrete non inner classes.