Top Deprecated
janino 3.1.12

Deprecated API


No API in this release is deprecated for removal.

Deprecated Item Summary

SinceDeprecated Item and Description
org.codehaus.janino.ClassBodyEvaluator.createFastClassBodyEvaluator(Scanner scanner, String className, Class<?> extendedClass, Class<?>[] implementedInterfaces, ClassLoader parentClassLoader)

Use createInstance(Reader) instead

org.codehaus.janino.Compiler.Compiler(ResourceFinder sourceFinder, IClassLoader parentIClassLoader)

Use Compiler() and the various configuration setters instead

org.codehaus.janino.Compiler.Compiler(final File[] sourcePath, final File[] classPath, final File[] extDirs, final File[] bootClassPath, final File destinationDirectory, final String characterEncoding, boolean verbose, boolean debugSource, boolean debugLines, boolean debugVars, StringPattern[] warningHandlePatterns, boolean rebuild)

Use Compiler() and the various configuration setters instead

org.codehaus.janino.ExpressionEvaluator.createFastExpressionEvaluator(Scanner scanner, String className, Class<?> extendedType, Class<?> interfaceToImplement, String[] parameterNames, ClassLoader parentClassLoader)

Use createFastEvaluator(Reader, Class, String[]) instead

org.codehaus.janino.ExpressionEvaluator.createFastExpressionEvaluator(Scanner scanner, String[] defaultImports, String className, Class<?> extendedType, Class<?> interfaceToImplement, String[] parameterNames, ClassLoader parentClassLoader)

Use createFastEvaluator(Reader, Class, String[]) instead

org.codehaus.janino.Java.Modifiers

Many methods that previously accepted a parameter of this type now take a Modifier[] (incompatible API change in JANINO version 3.0.13)

org.codehaus.janino.Opcode.JSR

Only allowed until .class file version 50.0 (Java 6) JVMS 4.10.2.5

org.codehaus.janino.Opcode.RET

Only allowed until .class file version 50.0 (Java 6) JVMS 4.10.2.5

org.codehaus.janino.Scanner.Scanner(String fileName)

This method is deprecated because it leaves the input file open

org.codehaus.janino.Scanner.Scanner(String fileName, String encoding)

This method is deprecated because it leaves the input file open

org.codehaus.janino.Scanner.Scanner(File file)

This method is deprecated because it leaves the input file open

org.codehaus.janino.Scanner.Scanner(File file, String encoding)

This method is deprecated because it leaves the input file open

org.codehaus.janino.Scanner.close()

This method is deprecated, because the concept described above is confusing. An application should close the underlying InputStream or Reader itself

org.codehaus.janino.ScriptEvaluator.createFastScriptEvaluator(Scanner scanner, String className, Class<?> extendedType, Class<?> interfaceToImplement, String[] parameterNames, ClassLoader parentClassLoader)

Use createFastEvaluator(Scanner, Class, String[]) instead

org.codehaus.janino.ScriptEvaluator.createFastScriptEvaluator(Scanner scanner, String[] defaultImports, String className, Class<?> extendedClass, Class<?> interfaceToImplement, String[] parameterNames, ClassLoader parentClassLoader)

Use createFastEvaluator(Scanner, Class, String[]) instead: