code: public boolean callTarget(Object appleEvent) throws InvocationTargetException, IllegalAccessException {
          Object result = targetMethod.invoke(targetObject, (Object[])null);
          if (result == null) {
              return true;
          }
          return Boolean.valueOf(result.toString()).booleanValue();
      }
docs: See setFileHandler above for an example