If I just mark the method with
static in C++ and try to register it with
register_method(), it won't compile.
I expect that I could call it from GDScript with something like this:
MyClass doesn't have any non-static members if it matters, except it is inherited from
godot::Object (I guess this is the only way).