use of com.googlecode.gwt.test.patchers.InitMethod in project gwt-test-utils by gwt-test-utils.
the class PrefixTreePatcher method initClass.
@InitMethod
static void initClass(CtClass c) throws CannotCompileException {
// add field "private Set<?> PREFIXES_SET;"
CtClass pcType = GwtClassPool.getCtClass(Set.class);
CtField field = new CtField(pcType, PREFIXES_SET_PROPERTY, c);
field.setModifiers(Modifier.PRIVATE);
c.addField(field);
}
Aggregations