List of usage examples for com.google.gwt.dev.javac StandardGeneratorContext getCompilationState
public CompilationState getCompilationState()
From source file:com.jyavu.jytsu.core.rebind.GinBridgeClassLoader.java
License:Apache License
/** * Retrieves class definitions from a {@link GeneratorContext} by downcasting. *//*from w ww . j av a 2 s . com*/ private Map<String, CompiledClass> extractClassFileMap() { if (context instanceof StandardGeneratorContext) { StandardGeneratorContext standardContext = (StandardGeneratorContext) context; return standardContext.getCompilationState().getClassFileMap(); } else { logger.log(TreeLogger.Type.WARN, String.format("Could not load generated classes from GWT context, " + "encountered unexpected generator type %s.", context.getClass())); return null; } }