private static JClassType createInstantiableClassType(String typeBinaryName) {
JClassType instantiableType = new JClassType(SourceOrigin.UNKNOWN, typeBinaryName, false, true);
JConstructor defaultConstructor = new JConstructor(SourceOrigin.UNKNOWN, instantiableType);
defaultConstructor.setOriginalTypes(instantiableType, Lists.<JType>newArrayList());
instantiableType.addMethod(defaultConstructor);
return instantiableType;
}
private MockLibraryJavaToJavaScriptCompiler compiler;
private CompilerContext compilerContext;