Use canonical class name instead of normal class name (uses dot instead
of dollar to denominate inner classes)