static Android3 methodsBot_defaultBot; static Lock lock methodsBot_defaultBotLock; static Android3 methodsBot(S name, final L exposedMethods) { ret makeBot(name, new O { S answer(S s) { ret exposeMethods(s, exposedMethods); } }); } static Android3 methodsBot(S name, final S... exposedMethods) { ret methodsBot(name, asList(exposedMethods)); } static Android3 methodsBot() { lock methodsBot_defaultBotLock; if (methodsBot_defaultBot == null) methodsBot_defaultBot = methodsBot(defaultMethodsBotName(), allMethodNames(mc())); ret methodsBot_defaultBot; }