If you are using reflection, you should use class.getName instead.