copy method body from the core class if it is omitted in @:coreApi class

see #3285