createJointStates() used to be private and static, but is now a protected non-static method.  Look for its declaration higher up.