Is there an easier way to write this LHS? Class(name == 'com.mycompany.SomeClass') It would be nice to do something like this: Class(name == SomeClass.class.getName()) Suggestions? Thanks all!