Uses of Interface
org.codehaus.commons.compiler.WarningHandler
Packages that use WarningHandler
Package
Description
This package declares interfaces for the implementation of an
IExpressionEvaluator, an IScriptEvaluator, an
IClassBodyEvaluator and an ISimpleCompiler.An implementation of the
org.codehaus.commons.compiler API that uses the "JAVAC" Java compiler that is
part of the "Java Development Kit" (JDK).The core of the Janino Java compiler.
-
Uses of WarningHandler in org.codehaus.commons.compiler
Fields in org.codehaus.commons.compiler declared as WarningHandlerModifier and TypeFieldDescriptionprotected WarningHandlerAbstractCompiler.warningHandlerStores the value configured withAbstractCompiler.setWarningHandler(WarningHandler).Methods in org.codehaus.commons.compiler with parameters of type WarningHandlerModifier and TypeMethodDescriptionvoidAbstractCompiler.setWarningHandler(WarningHandler warningHandler) voidIClassBodyEvaluator.setWarningHandler(WarningHandler warningHandler) By default, warnings are discarded, but an application my install a customWarningHandler.voidICompiler.setWarningHandler(WarningHandler warningHandler) By default, warnings are discarded, but an application my install a customWarningHandler.voidIExpressionEvaluator.setWarningHandler(WarningHandler warningHandler) By default, warnings are discarded, but an application my install a customWarningHandler.voidIScriptEvaluator.setWarningHandler(WarningHandler warningHandler) By default, warnings are discarded, but an application my install a customWarningHandler.voidISimpleCompiler.setWarningHandler(WarningHandler warningHandler) By default, warnings are discarded, but an application my install a customWarningHandlerwhich is invoked for each warning. -
Uses of WarningHandler in org.codehaus.commons.compiler.jdk
Methods in org.codehaus.commons.compiler.jdk with parameters of type WarningHandlerModifier and TypeMethodDescription(package private) static voidCompiler.compile(JavaCompiler compiler, List<String> options, Collection<JavaFileObject> sourceFileObjects, JavaFileManager fileManager, ErrorHandler compileErrorHandler, WarningHandler warningHandler, SortedSet<Location> offsets) Compiles on theJavaFileManager/JavaFileObjectlevel.(package private) static voidCompiler.compile(JavaCompiler compiler, List<String> options, ResourceFinder sourceFinder, Charset sourceFileCharset, ResourceFinder classFileFinder, ResourceCreator classFileCreator, Resource[] sourceFiles, ErrorHandler compileErrorHandler, WarningHandler warningHandler, SortedSet<Location> offsets) voidClassBodyEvaluator.setWarningHandler(WarningHandler warningHandler) voidExpressionEvaluator.setWarningHandler(WarningHandler warningHandler) voidScriptEvaluator.setWarningHandler(WarningHandler warningHandler) voidSimpleCompiler.setWarningHandler(WarningHandler warningHandler) -
Uses of WarningHandler in org.codehaus.janino
Classes in org.codehaus.janino that implement WarningHandlerModifier and TypeClassDescriptionclassInvokes a delegate iff the handle of the warning matches one or more of a set ofStringPatterns.Fields in org.codehaus.janino declared as WarningHandlerModifier and TypeFieldDescriptionprivate final WarningHandlerFilterWarningHandler.delegateprivate WarningHandlerClassBodyEvaluator.warningHandlerprivate WarningHandlerExpressionEvaluator.warningHandlerprivate WarningHandlerJavaSourceIClassLoader.warningHandlerprivate WarningHandlerParser.warningHandlerprivate WarningHandlerScriptEvaluator.warningHandlerprivate WarningHandlerSimpleCompiler.warningHandlerprivate WarningHandlerTokenStreamImpl.warningHandlerprivate WarningHandlerUnitCompiler.warningHandlerMethods in org.codehaus.janino with parameters of type WarningHandlerModifier and TypeMethodDescriptionvoidClassBodyEvaluator.setWarningHandler(WarningHandler warningHandler) voidExpressionEvaluator.setWarningHandler(WarningHandler warningHandler) voidJavaSourceClassLoader.setWarningHandler(WarningHandler warningHandler) voidJavaSourceIClassLoader.setWarningHandler(WarningHandler warningHandler) voidParser.setWarningHandler(WarningHandler warningHandler) By default, warnings are discarded, but an application my install aWarningHandler.voidScriptEvaluator.setWarningHandler(WarningHandler warningHandler) voidSimpleCompiler.setWarningHandler(WarningHandler warningHandler) voidTokenStream.setWarningHandler(WarningHandler warningHandler) By default, warnings are discarded, but an application my install aWarningHandler.voidTokenStreamImpl.setWarningHandler(WarningHandler warningHandler) voidUnitCompiler.setWarningHandler(WarningHandler warningHandler) By default, warnings are discarded, but an application my install a customWarningHandler.Constructors in org.codehaus.janino with parameters of type WarningHandlerModifierConstructorDescriptionFilterWarningHandler(StringPattern[] handlePatterns, WarningHandler delegate) Popular values for thehandlePatternsparameter areStringPattern.PATTERNS_ALLandStringPattern.PATTERNS_NONE.