@Override
 public void setUp() throws Exception {
   super.setUp();
   CompilationState state =
       CompilationStateBuilder.buildFrom(createCompileLogger(), UiJavaResources.getUiResources());
   types = state.getTypeOracle();
 }
 public TypeOracle getTypeOracle() {
   return compilationState.getTypeOracle();
 }