public static JMethod findQualifiedMethod(JProgram program, String methodName) {
int pos = methodName.lastIndexOf('.');
assertTrue(pos > 0);
String typeName = methodName.substring(0, pos);
String unqualMethodName = methodName.substring(pos + 1);
JDeclaredType type = findDeclaredType(program, typeName);
return findMethod(type, unqualMethodName);
}