support const volatile methods