void (@NotNull PyFunctionBuilder builder, @Nullable PyUtil.MethodFlags flags) { if (flags != null) { if (flags.isClassMethod()) { builder.decorate(PyNames.CLASSMETHOD); } else if (flags.isStaticMethod()) { builder.decorate(PyNames.STATICMETHOD); } } }