On invocation, will pick the best method from the list, and invoke it.
This class is not used directly. It is returned by calls to calls to {@link JavaInstance#get(LuaValue key)} when an overloaded method is named.
4344454647484950515253
*/ return table; } private LuaValue lc() { return new TwoArgFunction() { @Override public LuaValue call(LuaValue code, LuaValue string) { return valueOf(string.checkjstring().toLowerCase(forLanguageTag(code.checkjstring()))); } }; }
5152535455565758596061
} }; } private LuaValue uc() { return new TwoArgFunction() { @Override public LuaValue call(LuaValue code, LuaValue string) { return valueOf(string.checkjstring().toUpperCase(forLanguageTag(code.checkjstring()))); } }; }
5960616263646566676869
} }; } private LuaValue fetchLanguageNames() { return new TwoArgFunction() { /** * Get an array of language names, indexed by code. * * @param inLanguage null|string: Code of language in which to return the names * Use null for autonyms (native names)
7879808182838485868788
} }; } private LuaValue fetchLanguageName() { return new TwoArgFunction() { /** * @param code string: The code of the language for which to get the name * @param inLanguage null|string: Code of language in which to return the name (null for autonyms) * @return string: Language name or empty */
2324252627282930313233
iface.set("check", messageCheck()); return iface; } private LuaValue messageCheck() { return new TwoArgFunction() { @Override public LuaValue call(LuaValue what, LuaValue data) { return FALSE; } };
6566676869707172737475
} }; } private LuaValue newTitle() { return new TwoArgFunction() { /** * Handler for title.new * * @param text_or_id string|int Title or page_id to fetch * @param defaultNamespace string|int Namespace name or number to use if $text_or_id doesn't override
4950515253545556575859
} }; } private LuaValue pagesInCategory() { return new TwoArgFunction() { @Override public LuaValue call(LuaValue category, LuaValue which) { return LuaValue.valueOf(0); } }; }
4546474849505152535455
} }; } private LuaValue canonicalUrl() { return new TwoArgFunction() { @Override public LuaValue call(LuaValue page, LuaValue query) { if (query.isnil()) { return LuaValue.valueOf(wgCanonicalServer + pagePath(page)); } else {
5859606162636465666768
} }; } private LuaValue fullUrl() { return new TwoArgFunction() { @Override public LuaValue call(LuaValue page, LuaValue query) { if (query.isnil()) { return LuaValue.valueOf(wgServer + pagePath(page)); } else {
7172737475767778798081
} }; } private LuaValue localUrl() { return new TwoArgFunction() { @Override public LuaValue call(LuaValue page, LuaValue query) { if (query.isnil()) { return LuaValue.valueOf(pagePath(page)); } else {