Package com.google.gwt.codegen.server
Class LoggingCodeGenContext
java.lang.Object
com.google.gwt.codegen.server.LoggingCodeGenContext
- All Implemented Interfaces:
CodeGenContext
-
Nested Class Summary
Nested classes/interfaces inherited from interface com.google.gwt.codegen.server.CodeGenContext
CodeGenContext.AbortCodeGenException -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedprotectedLoggingCodeGenContext(String loggerName) protectedLoggingCodeGenContext(Logger logger) -
Method Summary
Modifier and TypeMethodDescriptionBegin generating a new class.abstract JavaSourceWriterBuilderBegin generating a new class, possibly using GWT super-source.voidLog a fatal error during code generation.voidLog a fatal error during code generation.voidLog a fatal error during code generation.voidLog a non-fatal warning during code generation.voidLog a non-fatal warning during code generation.voidLog a non-fatal warning during code generation.
-
Constructor Details
-
LoggingCodeGenContext
protected LoggingCodeGenContext() -
LoggingCodeGenContext
-
LoggingCodeGenContext
-
-
Method Details
-
addClass
Description copied from interface:CodeGenContextBegin generating a new class.- Specified by:
addClassin interfaceCodeGenContext- Returns:
- a
JavaSourceWriterBuilderfor the requested class or null if it could not be created, such as if it already exists
-
addClass
Description copied from interface:CodeGenContextBegin generating a new class, possibly using GWT super-source.- Specified by:
addClassin interfaceCodeGenContext- Parameters:
superPkg- super-source prefix, or null if a regular class- Returns:
- a
JavaSourceWriterBuilderfor the requested class or null if it could not be created, such as if it already exists
-
error
Description copied from interface:CodeGenContextLog a fatal error during code generation.- Specified by:
errorin interfaceCodeGenContext
-
error
Description copied from interface:CodeGenContextLog a fatal error during code generation.- Specified by:
errorin interfaceCodeGenContext
-
error
Description copied from interface:CodeGenContextLog a fatal error during code generation.- Specified by:
errorin interfaceCodeGenContext
-
warn
Description copied from interface:CodeGenContextLog a non-fatal warning during code generation.- Specified by:
warnin interfaceCodeGenContext
-
warn
Description copied from interface:CodeGenContextLog a non-fatal warning during code generation.- Specified by:
warnin interfaceCodeGenContext
-
warn
Description copied from interface:CodeGenContextLog a non-fatal warning during code generation.- Specified by:
warnin interfaceCodeGenContext
-