[core:xpwiki] give keyword "public static" to "static function"