# Uses of Class
org.codehaus.janino.Scanner

Packages that use Scanner
Package
Description
org.codehaus.janino
The core of the Janino Java compiler.

## Uses of Scanner in org.codehaus.janino

Methods in org.codehaus.janino that return Scanner
Modifier and Type
Method
Description
`Scanner`
Parser.`getScanner()`
Methods in org.codehaus.janino with parameters of type Scanner
Modifier and Type
Method
Description
`void`
ClassBodyEvaluator.`cook(Scanner scanner)`
`final void`
ExpressionEvaluator.`cook(Scanner scanner)`
`final void`
ExpressionEvaluator.`cook(Scanner... scanners)`
Like `ExpressionEvaluator.cook(Scanner)`, but cooks a set of scripts into one class.
`final void`
ScriptEvaluator.`cook(Scanner... scanners)`
Cooks a set of scripts into one class.
`void`
SimpleCompiler.`cook(Scanner scanner)`
Scans, parses and compiles a given compilation unit from the given scanner.
`static Object`
ClassBodyEvaluator.`createFastClassBodyEvaluator(Scanner scanner, Class<?> baseType, ClassLoader parentClassLoader)`
Deprecated.
Use `ClassBodyEvaluator.createInstance(Reader)` instead
`static Object`
ClassBodyEvaluator.`createFastClassBodyEvaluator(Scanner scanner, String className, Class<?> extendedClass, Class<?>[] implementedInterfaces, ClassLoader parentClassLoader)`
Deprecated.
Use `ClassBodyEvaluator.createInstance(Reader)` instead
`<T> T`
ExpressionEvaluator.`createFastEvaluator(Scanner scanner, Class<T> interfaceToImplement, String... parameterNames)`
Notice: This method is not declared in `IScriptEvaluator`, and is hence only available in this implementation of `org.codehaus.commons.compiler`.
`<T> T`
ScriptEvaluator.`createFastEvaluator(Scanner scanner, Class<?> interfaceToImplement, String[] parameterNames)`
Notice: This method is not declared in `IScriptEvaluator`, and is hence only available in this implementation of `org.codehaus.commons.compiler`.
`static Object`
ExpressionEvaluator.`createFastExpressionEvaluator(Scanner scanner, String[] defaultImports, String className, Class<?> extendedType, Class<?> interfaceToImplement, String[] parameterNames, ClassLoader parentClassLoader)`
Deprecated.
Use `ExpressionEvaluator.createFastEvaluator(Reader, Class, String[])` instead
`static Object`
ExpressionEvaluator.`createFastExpressionEvaluator(Scanner scanner, String className, Class<?> extendedType, Class<?> interfaceToImplement, String[] parameterNames, ClassLoader parentClassLoader)`
Deprecated.
Use `ExpressionEvaluator.createFastEvaluator(Reader, Class, String[])` instead
`static Object`
ScriptEvaluator.`createFastScriptEvaluator(Scanner scanner, Class<?> interfaceToImplement, String[] parameterNames, ClassLoader parentClassLoader)`
Deprecated.
Use `ScriptEvaluator.createFastEvaluator(Scanner, Class, String[])` instead
`static Object`
ScriptEvaluator.`createFastScriptEvaluator(Scanner scanner, String[] defaultImports, String className, Class<?> extendedClass, Class<?> interfaceToImplement, String[] parameterNames, ClassLoader parentClassLoader)`
Deprecated.
Use `ScriptEvaluator.createFastEvaluator(Scanner,Class,String[])` instead:
`static Object`
ScriptEvaluator.`createFastScriptEvaluator(Scanner scanner, String className, Class<?> extendedType, Class<?> interfaceToImplement, String[] parameterNames, ClassLoader parentClassLoader)`
Deprecated.
Use `ScriptEvaluator.createFastEvaluator(Scanner, Class, String[])` instead
`static String[]`
ExpressionEvaluator.`guessParameterNames(Scanner scanner)`
Guess the names of the parameters used in the given expression.
`static String[]`
ScriptEvaluator.`guessParameterNames(Scanner scanner)`
Guesses the names of the parameters used in the given expression.
Constructors in org.codehaus.janino with parameters of type Scanner
Modifier
Constructor
Description
``
`ClassBodyEvaluator(Scanner scanner, Class<?> extendedType, Class<?>[] implementedTypes, ClassLoader parentClassLoader)`
Equivalent to
``
`ClassBodyEvaluator(Scanner scanner, ClassLoader parentClassLoader)`
Equivalent to
``
`ClassBodyEvaluator(Scanner scanner, String className, Class<?> extendedType, Class<?>[] implementedTypes, ClassLoader parentClassLoader)`
Equivalent to
``
`ExpressionEvaluator(Scanner scanner, String className, Class<?> extendedType, Class<?>[] implementedTypes, boolean staticMethod, Class<?> expressionType, String methodName, String[] parameterNames, Class<?>[] parameterTypes, Class<?>[] thrownExceptions, ClassLoader parentClassLoader)`
Creates an expression evaluator with the full configurability.
``
`Parser(Scanner scanner)`
``
`Parser(Scanner scanner, TokenStream tokenStream)`
``
`ScriptEvaluator(Scanner scanner, Class<?> extendedType, Class<?>[] implementedTypes, Class<?> returnType, String[] parameterNames, Class<?>[] parameterTypes, Class<?>[] thrownExceptions, ClassLoader parentClassLoader)`
Equivalent to
``
`ScriptEvaluator(Scanner scanner, Class<?> returnType, String[] parameterNames, Class<?>[] parameterTypes, Class<?>[] thrownExceptions, ClassLoader parentClassLoader)`
Equivalent to
``
`ScriptEvaluator(Scanner scanner, String className, Class<?> extendedType, Class<?>[] implementedTypes, boolean staticMethod, Class<?> returnType, String methodName, String[] parameterNames, Class<?>[] parameterTypes, Class<?>[] thrownExceptions, ClassLoader parentClassLoader)`
Equivalent to
``
`SimpleCompiler(Scanner scanner, ClassLoader parentClassLoader)`
Equivalent to
``
`TokenStreamImpl(Scanner scanner)`