public static SampleEvent event(String name, String method, Object... eventObjects) {
   SampleEvent te = new SampleEvent();
   te.setName(name);
   te.setMethod(method);
   te.setEventObjects(eventObjects);
   return te;
 }
 public static SampleEvent event(Class<?> event, String method, Object... eventObjects) {
   SampleEvent te = new SampleEvent();
   te.setEvent(event);
   te.setMethod(method);
   te.setEventObjects(eventObjects);
   return te;
 }
 public static SampleEvent event(Class<?> event, Object... eventObjects) {
   SampleEvent te = new SampleEvent();
   te.setEvent(event);
   te.setEventObjects(eventObjects);
   return te;
 }