Replaces getClass() calls with the appropriate ClassName.class equivalents