Uses of Interface
org.codehaus.commons.compiler.WarningHandler
-
Packages that use WarningHandler Package Description org.codehaus.commons.compiler This package declares interfaces for the implementation of anIExpressionEvaluator
, anIScriptEvaluator
, anIClassBodyEvaluator
and anISimpleCompiler
.org.codehaus.commons.compiler.jdk Main package of the plugin.org.codehaus.janino The classes in this package pose the core of the Janino JavaTM compiler. -
-
Uses of WarningHandler in org.codehaus.commons.compiler
Methods in org.codehaus.commons.compiler with parameters of type WarningHandler Modifier and Type Method Description void
ICookable. setWarningHandler(WarningHandler optionalWarningHandler)
By default, warnings are discarded, but an application my install a customWarningHandler
. -
Uses of WarningHandler in org.codehaus.commons.compiler.jdk
Fields in org.codehaus.commons.compiler.jdk declared as WarningHandler Modifier and Type Field Description private WarningHandler
SimpleCompiler. optionalWarningHandler
Methods in org.codehaus.commons.compiler.jdk with parameters of type WarningHandler Modifier and Type Method Description void
SimpleCompiler. setWarningHandler(WarningHandler optionalWarningHandler)
-
Uses of WarningHandler in org.codehaus.janino
Classes in org.codehaus.janino that implement WarningHandler Modifier and Type Class Description static class
Compiler.SimpleWarningHandler
Prints warnings to STDERR.class
FilterWarningHandler
Invokes a delegate iff the handle of the warning matches one or more of a set ofStringPattern
s.Fields in org.codehaus.janino declared as WarningHandler Modifier and Type Field Description private WarningHandler
FilterWarningHandler. delegate
private WarningHandler
Compiler. optionalWarningHandler
private WarningHandler
JavaSourceIClassLoader. optionalWarningHandler
private WarningHandler
Parser. optionalWarningHandler
private WarningHandler
Scanner. optionalWarningHandler
private WarningHandler
SimpleCompiler. optionalWarningHandler
private WarningHandler
UnitCompiler. optionalWarningHandler
Methods in org.codehaus.janino with parameters of type WarningHandler Modifier and Type Method Description void
Compiler. setWarningHandler(WarningHandler optionalWarningHandler)
By default, warnings are discarded, but an application my install a customWarningHandler
.void
JavaSourceClassLoader. setWarningHandler(WarningHandler optionalWarningHandler)
void
JavaSourceIClassLoader. setWarningHandler(WarningHandler optionalWarningHandler)
void
Parser. setWarningHandler(WarningHandler optionalWarningHandler)
By default, warnings are discarded, but an application my install aWarningHandler
.void
Scanner. setWarningHandler(WarningHandler optionalWarningHandler)
By default, warnings are discarded, but an application my install aWarningHandler
.void
SimpleCompiler. setWarningHandler(WarningHandler optionalWarningHandler)
void
UnitCompiler. setWarningHandler(WarningHandler optionalWarningHandler)
By default, warnings are discarded, but an application my install a customWarningHandler
.Constructors in org.codehaus.janino with parameters of type WarningHandler Constructor Description Compiler(ResourceFinder sourceFinder, IClassLoader iClassLoader, ResourceFinder classFileFinder, ResourceCreator classFileCreator, java.lang.String optionalCharacterEncoding, boolean verbose, boolean debugSource, boolean debugLines, boolean debugVars, WarningHandler optionalWarningHandler)
To mimic the behavior of JAVAC with a missing "-d" command line option, passCompiler.FIND_NEXT_TO_SOURCE_FILE
as theclassFileResourceFinder
andCompiler.CREATE_NEXT_TO_SOURCE_FILE
as theclassFileResourceCreator
.FilterWarningHandler(StringPattern[] handlePatterns, WarningHandler delegate)
Popular values for thehandlePatterns
parameter areStringPattern.PATTERNS_ALL
andStringPattern.PATTERNS_NONE
.
-