@InitMethod
static void initClass(CtClass c) throws CannotCompileException {
CtConstructor cons = JavassistUtils.findConstructor(c, Element.class, Renderer.class,
Parser.class);
cons.insertAfter("setText(\"\");");
}
@PatchMethod
static void setText(ValueBoxBase<?> valueBoxBase, String text) {
DOM.setElementProperty(valueBoxBase.getElement(), "value", text != null ? text : "");