It is more performant to access the class object directly by name.
Example:
Class<?> c = new Sample().getClass();
After the quick-fix is applied:
Class<?> c = Sample.class;