refactored Method.getMethoKey from MethodTableType