use of com.googlecode.gwt.test.internal.rewrite.OverlayTypesRewriter in project gwt-test-utils by gwt-test-utils.
the class GwtFactory method createOverlayRewriter.
private OverlayTypesRewriter createOverlayRewriter(CompilationState compilationState) {
TypeOracle typeOracle = compilationState.getTypeOracle();
JClassType jsoType = typeOracle.findType(JsValueGlue.JSO_CLASS);
// If we couldn't find the JSO class, we don't need to do any rewrites.
return jsoType != null ? new OverlayTypesRewriter(compilationState, jsoType) : null;
}
Aggregations