Add "const" to the end of the fully qualified name of const methods.

This avoids confusing two separate methods "void foo()" and
"void foo() const".