*/
public Object methodMissing(Object instance, String methodName, Object argsObject) {
Object[] args = argsObject instanceof Object[] ? (Object[])argsObject : new Object[]{argsObject};
MetaClass mc = InvokerHelper.getMetaClass(instance);
String usednamespace = getNamespace(instance);
TagLibraryLookup lookup = getTagLibraryLookup();
if (lookup != null) {
GroovyObject tagLibrary = lookup.lookupTagLibrary(usednamespace, methodName);
if (tagLibrary == null) {
tagLibrary = lookup.lookupTagLibrary(TagOutput.DEFAULT_NAMESPACE, methodName);
usednamespace = TagOutput.DEFAULT_NAMESPACE;
}
if (tagLibrary != null && !developmentMode) {
TagLibraryMetaUtils.registerMethodMissingForTags(mc, lookup, usednamespace, methodName);