@Test public void canHandleImports() throws Exception{ OneArgAction<ObjectContainer> callable = toTest.generateWithBody("Class list = Car.class;", Arrays.asList("com.db4odoc.tutorial.demos.firststeps.*")).getResultData(); assertNotNull(callable); }
public OperationResult<OneArgAction<ObjectContainer>> generateWithBody( String methodBody){ return generateWithBody(methodBody, Collections.<String>emptyList()); }
ExecutableClassGenerator { public OperationResult<OneArgAction<ObjectContainer>> generateWithBody( String methodBody){ return generateWithBody(methodBody, Collections.<String>emptyList()); } }
ExecutableClassGenerator { public OperationResult<OneArgAction<ObjectContainer>> generateWithBody( String methodBody){ return generateWithBody(methodBody, Collections.<String>emptyList()); } ExecutableClassGenerator(); }
ExecutableClassGenerator { public OperationResult<OneArgAction<ObjectContainer>> generateWithBody( String methodBody){ return generateWithBody(methodBody, Collections.<String>emptyList()); } ExecutableClassGenerator(); static ExecutableClassGenerator create(); OperationResult<OneArgAction<ObjectContainer>> generateWithBody(
            String methodBody); OperationResult<OneArgAction<ObjectContainer>> generateWithBody(
            String methodBody, Iterable<String> imports); }
ExecutableClassGenerator { public OperationResult<OneArgAction<ObjectContainer>> generateWithBody( String methodBody){ return generateWithBody(methodBody, Collections.<String>emptyList()); } ExecutableClassGenerator(); static ExecutableClassGenerator create(); OperationResult<OneArgAction<ObjectContainer>> generateWithBody(
            String methodBody); OperationResult<OneArgAction<ObjectContainer>> generateWithBody(
            String methodBody, Iterable<String> imports);  }