if (methodName.indexOf("(") != -1 && methodName.endsWith(")")) {
methodSignature = methodName.substring(methodName.indexOf("(") + 1, methodName.length() - 1);
methodName = methodName.substring(0, methodName.indexOf("("));
}
ProviderInstrumentation instrumentation = new ProviderInstrumentation.MessageProviderMethodInterception(declaration, methodName, methodSignature);
if (!instrumentation.isValidInstrumentation()) {
errorHandler.report(Severity.ERROR, name + " : the specified method \"" + instrumentation.getName() + "\" in \"" + ATT_PUSH + "\" is invalid or not found");
}
declaration.getProviderInstrumentation().add(instrumentation);
}