uiResources.addAll(Arrays.asList(moreJava));
CompilationState state = CompilationStateBuilder.buildFrom(createLogger(),
new CompilerContext(), uiResources);
types = state.getTypeOracle();
elemProvider = new XMLElementProviderImpl(new AttributeParsers(types, null,
logger), types, logger, DesignTimeUtilsStub.EMPTY);
fieldManager = new FieldManager(types, logger, false);
JClassType baseType = types.findType("my.Ui.BaseClass");
MessagesWriter messages = new MessagesWriter(types, BINDER_URI, logger,