public MethodInvocation resolveMethodInvocation(String typeName, String methodName, Map<String, String> parameterMap) throws ProcessingException {
MethodInvocation method = null;
for (MetaModelObject child : getChildren()) {
if (child instanceof MethodInvocationResolver) {
MethodInvocationResolver childResolver = (MethodInvocationResolver)child;
MethodInvocation next = childResolver.resolveMethodInvocation(typeName, methodName, parameterMap);
if (next != null) {
if (method != null) {
throw new UnsupportedOperationException("handle me gracefully");
} else {
method = next;