Skip navigation links
A B C D E F G H I J L M N O P R S T U W Z 

A

AbstractCompiler - Class in org.codehaus.commons.compiler
A base class and wrapper for Compiler that implements all redundant API methods.
AbstractCompiler() - Constructor for class org.codehaus.commons.compiler.AbstractCompiler
 
AbstractCompilerFactory - Class in org.codehaus.commons.compiler
Base class for a simple ICompilerFactory.
AbstractCompilerFactory() - Constructor for class org.codehaus.commons.compiler.AbstractCompilerFactory
 
AbstractJavaSourceClassLoader - Class in org.codehaus.commons.compiler
A ClassLoader that, unlike usual ClassLoaders, does not load byte code, but reads Java source code and then scans, parses, compiles and loads it into the virtual machine.
AbstractJavaSourceClassLoader() - Constructor for class org.codehaus.commons.compiler.AbstractJavaSourceClassLoader
 
AbstractJavaSourceClassLoader(ClassLoader) - Constructor for class org.codehaus.commons.compiler.AbstractJavaSourceClassLoader
 
AbstractJavaSourceClassLoader.ProtectionDomainFactory - Interface in org.codehaus.commons.compiler
 
accept(T) - Method in interface org.codehaus.commons.compiler.java8.java.util.function.Consumer
 
add(T) - Method in class org.codehaus.commons.compiler.util.iterator.FilterListIterator
addResource(String, byte[]) - Method in class org.codehaus.commons.compiler.util.resource.MapResourceFinder
 
addResource(String, String) - Method in class org.codehaus.commons.compiler.util.resource.MapResourceFinder
 
addResource(Resource) - Method in class org.codehaus.commons.compiler.util.resource.MapResourceFinder
 
ANY_TYPE - Static variable in interface org.codehaus.commons.compiler.IExpressionEvaluator
Deprecated.
Since autoboxing was introduced in JANINO, this feature is no longer necessary because you can use expression type Object.class
ApiLog - Class in org.codehaus.commons.compiler.util.reflect
 

B

begin() - Method in class org.codehaus.commons.compiler.util.Benchmark
 
beginReporting() - Method in class org.codehaus.commons.compiler.util.Benchmark
Begins a benchmark (see Benchmark.begin()) and report the fact.
beginReporting(String) - Method in class org.codehaus.commons.compiler.util.Benchmark
Begins a benchmark (see Benchmark.begin()) and report the fact.
Benchmark - Class in org.codehaus.commons.compiler.util
Implements a scheme for benchmarking, i.e. for determining and/or reporting the time elapsed between the beginning and the end of an activity.
Benchmark(boolean) - Constructor for class org.codehaus.commons.compiler.util.Benchmark
Sets up a Benchmark with a default Benchmark.Reporter that reports to System.out.
Benchmark(boolean, Benchmark.Reporter) - Constructor for class org.codehaus.commons.compiler.util.Benchmark
Sets up a Benchmark with a custom Benchmark.Reporter.
Benchmark.Reporter - Interface in org.codehaus.commons.compiler.util
Interface used to report messages.
BOOT_CLASS_LOADER - Static variable in interface org.codehaus.commons.compiler.ICookable
The ClassLoader that loads this classes on the boot class path, i.e. the JARs in the JRE's "lib" and "lib/ext" directories, but not the JARs and class directories specified through the class path.
bootClassPath - Variable in class org.codehaus.commons.compiler.AbstractCompiler
This is always non-null for JVMs that support BOOTCLASSPATH (1.0-1.8), and this is always null for JVMs that don't (9+).
ByteArrayClassLoader - Class in org.codehaus.commons.compiler.util.reflect
This ClassLoader allows for the loading of a set of Java classes provided in class file format.
ByteArrayClassLoader(Map<String, byte[]>) - Constructor for class org.codehaus.commons.compiler.util.reflect.ByteArrayClassLoader
The given Map of classes must not be modified afterwards.
ByteArrayClassLoader(Map<String, byte[]>, ClassLoader) - Constructor for class org.codehaus.commons.compiler.util.reflect.ByteArrayClassLoader
 

C

CLASS - Static variable in interface org.codehaus.commons.compiler.java8.java.util.function.Consumer
 
ClassBodyDemo - Class in org.codehaus.commons.compiler.samples
A test program that allows you to play with the IClassBodyEvaluator API.
Classes - Class in org.codehaus.commons.compiler.util.reflect
 
classFileCreator - Variable in class org.codehaus.commons.compiler.AbstractCompiler
 
classFileFinder - Variable in class org.codehaus.commons.compiler.AbstractCompiler
 
classPath - Variable in class org.codehaus.commons.compiler.AbstractCompiler
The classpath of the currently executing JRE.
close() - Method in class org.codehaus.commons.compiler.io.TeeReader
 
compile(File[]) - Method in class org.codehaus.commons.compiler.AbstractCompiler
 
compile(File[]) - Method in interface org.codehaus.commons.compiler.ICompiler
Reads a set of Java compilation units (a.k.a.
compile(Resource[]) - Method in interface org.codehaus.commons.compiler.ICompiler
compileErrorHandler - Variable in class org.codehaus.commons.compiler.AbstractCompiler
 
CompileException - Exception in org.codehaus.commons.compiler
Representation of an error condition during compilation.
CompileException(String, Location) - Constructor for exception org.codehaus.commons.compiler.CompileException
 
CompileException(String, Location, Throwable) - Constructor for exception org.codehaus.commons.compiler.CompileException
 
CompilerDemo - Class in org.codehaus.commons.compiler.samples
 
CompilerFactoryFactory - Class in org.codehaus.commons.compiler
Utility class that finds implementations of ICompilerFactorys.
concat(Reader...) - Static method in class org.codehaus.commons.io.Readers
 
concat(Iterable<Reader>) - Static method in class org.codehaus.commons.io.Readers
 
confine(ClassLoader, AccessControlContext) - Static method in class org.codehaus.commons.compiler.Sandbox
All future actions that are executed through classes that were loaded through the given classLoader will be checked against the given accessControlContext.
confine(ClassLoader, ProtectionDomain) - Static method in class org.codehaus.commons.compiler.Sandbox
All future actions that are executed through classes that were loaded through the given classLoader will be checked against the given protectionDomain.
confine(ClassLoader, PermissionCollection) - Static method in class org.codehaus.commons.compiler.Sandbox
All future actions that are executed through classes that were loaded through the given classLoader will be checked against the given permissions.
consume(char) - Method in class org.codehaus.commons.io.LineAndColumnTracker
 
Consumer<T> - Interface in org.codehaus.commons.compiler.java8.java.util.function
Facade for Java 8's java.util.reflect.Consumer interface.
Consumers - Class in org.codehaus.commons.compiler.java8.java.util.function
Helper methods for the Consumer facade.
cook(Reader) - Method in class org.codehaus.commons.compiler.Cookable
 
cook(InputStream) - Method in class org.codehaus.commons.compiler.Cookable
 
cook(String, InputStream) - Method in class org.codehaus.commons.compiler.Cookable
 
cook(InputStream, String) - Method in class org.codehaus.commons.compiler.Cookable
 
cook(String, InputStream, String) - Method in class org.codehaus.commons.compiler.Cookable
 
cook(String) - Method in class org.codehaus.commons.compiler.Cookable
 
cook(String, String) - Method in class org.codehaus.commons.compiler.Cookable
 
cook(String, Reader) - Method in interface org.codehaus.commons.compiler.ICookable
Reads, scans, parses and compiles Java tokens from the given Reader.
cook(Reader) - Method in interface org.codehaus.commons.compiler.ICookable
Reads, scans, parses and compiles Java tokens from the given Reader.
cook(InputStream) - Method in interface org.codehaus.commons.compiler.ICookable
Reads, scans, parses and compiles Java tokens from the given InputStream, encoded in the "platform default encoding".
cook(String, InputStream) - Method in interface org.codehaus.commons.compiler.ICookable
Reads, scans, parses and compiles Java tokens from the given InputStream, encoded in the "platform default encoding".
cook(InputStream, String) - Method in interface org.codehaus.commons.compiler.ICookable
Reads, scans, parses and compiles Java tokens from the given InputStream with the given encoding.
cook(String, InputStream, String) - Method in interface org.codehaus.commons.compiler.ICookable
Reads, scans, parses and compiles Java tokens from the given InputStream with the given encoding.
cook(String) - Method in interface org.codehaus.commons.compiler.ICookable
Reads, scans, parses and compiles Java tokens from the given String.
cook(String, String) - Method in interface org.codehaus.commons.compiler.ICookable
Reads, scans, parses and compiles Java tokens from the given String.
cook(Reader[]) - Method in interface org.codehaus.commons.compiler.IScriptEvaluator
Same as ICookable.cook(Reader), but for multiple scripts.
cook(String[], Reader[]) - Method in interface org.codehaus.commons.compiler.IScriptEvaluator
Same as ICookable.cook(String, Reader), but cooks a set of scripts into one class.
cook(String[]) - Method in interface org.codehaus.commons.compiler.IScriptEvaluator
Same as ICookable.cook(String), but for multiple scripts.
cook(String[], String[]) - Method in interface org.codehaus.commons.compiler.IScriptEvaluator
Same as ICookable.cook(String, String), but for multiple scripts.
Cookable - Class in org.codehaus.commons.compiler
Base class for a simple ICookable.
Cookable() - Constructor for class org.codehaus.commons.compiler.Cookable
 
cookFile(File) - Method in class org.codehaus.commons.compiler.Cookable
 
cookFile(File, String) - Method in class org.codehaus.commons.compiler.Cookable
 
cookFile(String) - Method in class org.codehaus.commons.compiler.Cookable
 
cookFile(String, String) - Method in class org.codehaus.commons.compiler.Cookable
 
cookFile(File) - Method in interface org.codehaus.commons.compiler.ICookable
Reads, scans, parses and compiles Java tokens from the given File, encoded in the "platform default encoding".
cookFile(File, String) - Method in interface org.codehaus.commons.compiler.ICookable
Reads, scans, parses and compiles Java tokens from the given File with the given encoding.
cookFile(String) - Method in interface org.codehaus.commons.compiler.ICookable
Reads, scans, parses and compiles Java tokens from the named file, encoded in the "platform default encoding".
cookFile(String, String) - Method in interface org.codehaus.commons.compiler.ICookable
Reads, scans, parses and compiles Java tokens from the named file with the given optionalEncoding.
create() - Static method in class org.codehaus.commons.io.LineAndColumnTracker
 
CREATE_NEXT_TO_SOURCE_FILE - Static variable in interface org.codehaus.commons.compiler.ICompiler
Special value for ICompiler.setClassFileCreator(ResourceCreator): Indicates that .class resources are to be created in the directory of the .java resource from which they are generated.
createFastEvaluator(String, Class<T>, String[]) - Method in interface org.codehaus.commons.compiler.IExpressionEvaluator
If the parameter and return types of the expression are known at compile time, then a "fast" expression evaluator can be instantiated through IExpressionEvaluator.createFastEvaluator(String, Class, String[]).
createFastEvaluator(Reader, Class<T>, String[]) - Method in interface org.codehaus.commons.compiler.IExpressionEvaluator
 
createFastEvaluator(String, Class<T>, String[]) - Method in interface org.codehaus.commons.compiler.IScriptEvaluator
 
createFastEvaluator(Reader, Class<T>, String[]) - Method in interface org.codehaus.commons.compiler.IScriptEvaluator
If the parameter and return types of the expression are known at compile time, then a "fast" script evaluator can be instantiated through this method.
createInstance(Reader) - Method in interface org.codehaus.commons.compiler.IClassBodyEvaluator
Scans, parses and compiles a class body from the tokens delivered by the the given Reader, then creates and returns an instance of that class.
createObject(Class<?>, String) - Static method in class org.codehaus.commons.compiler.samples.DemoBase
Creates an instance of the given type, by calling the single-string-parameter constructor, or, if the value equals "", the zero-parameter constructor.
createResource(String) - Method in class org.codehaus.commons.compiler.util.resource.FileResourceCreator
 
createResource(String) - Method in class org.codehaus.commons.compiler.util.resource.MapResourceCreator
 
createResource(String) - Method in interface org.codehaus.commons.compiler.util.resource.ResourceCreator
Creates the designated resource.

D

debugLines - Variable in class org.codehaus.commons.compiler.AbstractCompiler
 
debugSource - Variable in class org.codehaus.commons.compiler.AbstractCompiler
 
debugVars - Variable in class org.codehaus.commons.compiler.AbstractCompiler
 
DEFAULT_CLASS_NAME - Static variable in interface org.codehaus.commons.compiler.IClassBodyEvaluator
Default name for the generated class.
DEFAULT_TAB_WIDTH - Static variable in class org.codehaus.commons.io.LineAndColumnTracker
 
delegate - Variable in class org.codehaus.commons.compiler.util.iterator.FilterListIterator
 
deleteResource(String) - Method in class org.codehaus.commons.compiler.util.resource.FileResourceCreator
 
deleteResource(String) - Method in class org.codehaus.commons.compiler.util.resource.MapResourceCreator
 
deleteResource(String) - Method in interface org.codehaus.commons.compiler.util.resource.ResourceCreator
Deletes the resource with the given name.
DemoBase - Class in org.codehaus.commons.compiler.samples
Common base class for the "...Demo" classes that demostrate Janino.
DemoBase() - Constructor for class org.codehaus.commons.compiler.samples.DemoBase
 
DirectoryIterator - Class in org.codehaus.commons.compiler.util.iterator
An Iterator<File> that finds regular files who's names are accepted by the fileNameFilter and exist in the given rootDirectory, or exist in any subdirectory of the rootDirectory that is accepted by the directoryNameFilter.
DirectoryIterator(File, FilenameFilter, FilenameFilter) - Constructor for class org.codehaus.commons.compiler.util.iterator.DirectoryIterator
 
DirectoryIterator.DirectoryNotListableException - Exception in org.codehaus.commons.compiler.util.iterator
Indicates that File.listFiles() returned null for a particular directory.
DirectoryNotListableException(String) - Constructor for exception org.codehaus.commons.compiler.util.iterator.DirectoryIterator.DirectoryNotListableException
 
DirectoryResourceCreator - Class in org.codehaus.commons.compiler.util.resource
Creates a resource in a given directory: destinationDirectory/resourceName
DirectoryResourceCreator(File) - Constructor for class org.codehaus.commons.compiler.util.resource.DirectoryResourceCreator
 
DirectoryResourceFinder - Class in org.codehaus.commons.compiler.util.resource
A FileResourceFinder that finds file resources in a directory.
DirectoryResourceFinder(File) - Constructor for class org.codehaus.commons.compiler.util.resource.DirectoryResourceFinder
 
Disassembler - Class in org.codehaus.commons.compiler.util
 
disassembleToStdout(byte[]) - Static method in class org.codehaus.commons.compiler.util.Disassembler
Loads a "de.unkrig.jdisasm.Disassembler" through reflection (to avoid a compile-time dependency) and uses it to disassemble the given bytes to System.out.

E

EMPTY_READER - Static variable in class org.codehaus.commons.io.Readers
 
EMPTY_RESOURCE_FINDER - Static variable in class org.codehaus.commons.compiler.util.resource.ResourceFinder
This one's useful when a resource finder is required, but cannot be created for some reason.
encoding - Variable in class org.codehaus.commons.compiler.AbstractCompiler
 
end() - Method in class org.codehaus.commons.compiler.util.Benchmark
 
endReporting() - Method in class org.codehaus.commons.compiler.util.Benchmark
End a benchmark (see Benchmark.end()) and report the fact.
endReporting(String) - Method in class org.codehaus.commons.compiler.util.Benchmark
Ends a benchmark (see Benchmark.begin()) and report the fact.
EnumerationIterator<T> - Class in org.codehaus.commons.compiler.util.iterator
An Iterator that iterates over the elements of an Enumeration.
EnumerationIterator(Enumeration<? extends T>) - Constructor for class org.codehaus.commons.compiler.util.iterator.EnumerationIterator
 
ErrorHandler - Interface in org.codehaus.commons.compiler
Processes an error issued by the compiler.
evaluate(Object[]) - Method in interface org.codehaus.commons.compiler.IExpressionEvaluator
Evaluates the expression with concrete parameter values.
evaluate(Object[]) - Method in interface org.codehaus.commons.compiler.IScriptEvaluator
Calls the script with concrete parameter values.
evaluate(int, Object[]) - Method in interface org.codehaus.commons.compiler.IScriptEvaluator
Same as IScriptEvaluator.evaluate(Object[]), but for multiple scripts.
evaluate(T) - Method in interface org.codehaus.commons.compiler.util.Predicate
 
EXCLUDE - Static variable in class org.codehaus.commons.compiler.util.StringPattern
 
explode(String) - Static method in class org.codehaus.commons.compiler.samples.DemoBase
 
ExpressionDemo - Class in org.codehaus.commons.compiler.samples
A test program that allows you to play around with the IExpressionEvaluator class.
extensionDirectories - Variable in class org.codehaus.commons.compiler.AbstractCompiler
The list of extension directories of the currently executing JRE.

F

FileResource - Class in org.codehaus.commons.compiler.util.resource
Representation of a resource that is a File.
FileResource(File) - Constructor for class org.codehaus.commons.compiler.util.resource.FileResource
 
FileResourceCreator - Class in org.codehaus.commons.compiler.util.resource
Stores a stream of bytes in a named resource.
FileResourceCreator() - Constructor for class org.codehaus.commons.compiler.util.resource.FileResourceCreator
 
FileResourceFinder - Class in org.codehaus.commons.compiler.util.resource
This class specializes the ResourceFinder for finding resources in Files.
FileResourceFinder() - Constructor for class org.codehaus.commons.compiler.util.resource.FileResourceFinder
 
filter(T[], Predicate<? super T>) - Static method in class org.codehaus.commons.compiler.util.iterator.Iterables
 
filter(Iterable<? extends T>, Predicate<? super T>) - Static method in class org.codehaus.commons.compiler.util.iterator.Iterables
 
filter(Iterator<? extends T>, Predicate<? super T>) - Static method in class org.codehaus.commons.compiler.util.iterator.Iterables
 
filterByClass(Object[], Class<T>) - Static method in class org.codehaus.commons.compiler.util.iterator.Iterables
 
filterByClass(Iterable<?>, Class<T>) - Static method in class org.codehaus.commons.compiler.util.iterator.Iterables
 
filterByClass(Iterator<?>, Class<T>) - Static method in class org.codehaus.commons.compiler.util.iterator.Iterables
 
FilterListIterator<T> - Class in org.codehaus.commons.compiler.util.iterator
An ListIterator that retrieves its elements from a delegate ListIterator.
FilterListIterator(ListIterator<T>) - Constructor for class org.codehaus.commons.compiler.util.iterator.FilterListIterator
 
FIND_NEXT_TO_SOURCE_FILE - Static variable in interface org.codehaus.commons.compiler.ICompiler
findAll() - Method in class org.codehaus.commons.compiler.java9.java.lang.module.ModuleFinder
 
findClass(String) - Method in class org.codehaus.commons.compiler.util.reflect.ByteArrayClassLoader
findClass(String) - Method in class org.codehaus.commons.compiler.util.ResourceFinderClassLoader
 
findResource(String) - Method in class org.codehaus.commons.compiler.util.resource.FileResourceFinder
 
findResource(String) - Method in class org.codehaus.commons.compiler.util.resource.MapResourceFinder
 
findResource(String) - Method in class org.codehaus.commons.compiler.util.resource.MultiResourceFinder
 
findResource(String) - Method in class org.codehaus.commons.compiler.util.resource.ResourceFinder
Finds a resource by name and return it as a Resource object.
findResource(String) - Method in class org.codehaus.commons.compiler.util.resource.ZipFileResourceFinder
 
findResourceAsFile(String) - Method in class org.codehaus.commons.compiler.util.resource.DirectoryResourceFinder
 
findResourceAsFile(String) - Method in class org.codehaus.commons.compiler.util.resource.FileResourceFinder
Converts a given resource resource name into a File.
findResourceAsStream(String) - Method in class org.codehaus.commons.compiler.util.resource.ResourceFinder
Finds a resource by name and open it for reading.
forEach(Consumer<? super T>) - Method in class org.codehaus.commons.compiler.java8.java.util.stream.Stream
 
from(Object) - Static method in class org.codehaus.commons.compiler.java8.java.util.function.Consumers
 
from(Consumer<T>) - Static method in class org.codehaus.commons.compiler.java8.java.util.function.Consumers
 

G

get() - Method in class org.codehaus.commons.compiler.java8.java.util.Optional
 
getAllCompilerFactories() - Static method in class org.codehaus.commons.compiler.CompilerFactoryFactory
Finds all implementation of org.codehaus.commons.compiler on the class path, then loads and instantiates their ICompilerFactorys.
getClassLoader() - Method in interface org.codehaus.commons.compiler.ISimpleCompiler
Returns a ClassLoader object through which the previously compiled classes can be accessed.
getClazz() - Method in interface org.codehaus.commons.compiler.IClassBodyEvaluator
Returns the loaded Class.
getColumnNumber() - Method in class org.codehaus.commons.compiler.Location
 
getColumnNumber() - Method in class org.codehaus.commons.io.LineAndColumnTracker
 
getCompilerFactory(String) - Static method in class org.codehaus.commons.compiler.CompilerFactoryFactory
Loads an ICompilerFactory by class name.
getDeclaredMethod(Class<?>, String, Class<?>...) - Static method in class org.codehaus.commons.compiler.util.reflect.Classes
 
getDefaultCompilerFactory() - Static method in class org.codehaus.commons.compiler.CompilerFactoryFactory
Finds the first implementation of org.codehaus.commons.compiler on the class path, then loads and instantiates its ICompilerFactory.
getFile(String) - Method in class org.codehaus.commons.compiler.util.resource.DirectoryResourceCreator
 
getFile() - Method in class org.codehaus.commons.compiler.util.resource.FileResource
 
getFile(String) - Method in class org.codehaus.commons.compiler.util.resource.FileResourceCreator
 
getFileName() - Method in class org.codehaus.commons.compiler.Location
 
getFileName() - Method in class org.codehaus.commons.compiler.util.resource.FileResource
 
getFileName() - Method in interface org.codehaus.commons.compiler.util.resource.Resource
Returns a decorative "file name" that can be used for reporting errors and the like.
getFileName() - Method in class org.codehaus.commons.compiler.util.resource.StringResource
 
getId() - Method in class org.codehaus.commons.compiler.AbstractCompilerFactory
 
getId() - Method in interface org.codehaus.commons.compiler.ICompilerFactory
 
getImplementationVersion() - Method in class org.codehaus.commons.compiler.AbstractCompilerFactory
 
getImplementationVersion() - Method in interface org.codehaus.commons.compiler.ICompilerFactory
 
getLineNumber() - Method in class org.codehaus.commons.compiler.Location
 
getLineNumber() - Method in class org.codehaus.commons.io.LineAndColumnTracker
 
getLocation() - Method in exception org.codehaus.commons.compiler.LocatedException
 
getMap() - Method in class org.codehaus.commons.compiler.util.resource.MapResourceCreator
 
getMessage() - Method in exception org.codehaus.commons.compiler.LocatedException
Returns the message specified at creation time, preceeded with nicely formatted location information (if any).
getMethod() - Method in interface org.codehaus.commons.compiler.IScriptEvaluator
Returns the loaded Method.
getMethod(int) - Method in interface org.codehaus.commons.compiler.IScriptEvaluator
Same as IScriptEvaluator.getMethod(), but for multiple scripts.
getMode() - Method in class org.codehaus.commons.compiler.util.StringPattern
 
getProtectionDomain(String) - Method in interface org.codehaus.commons.compiler.AbstractJavaSourceClassLoader.ProtectionDomainFactory
 
getResourceFinder() - Method in class org.codehaus.commons.compiler.util.ResourceFinderClassLoader
 
getSpecificationVersion() - Static method in class org.codehaus.commons.compiler.CompilerFactoryFactory
 

H

handleError(String, Location) - Method in interface org.codehaus.commons.compiler.ErrorHandler
May or may not choose to throw a CompileException.
handleWarning(String, String, Location) - Method in interface org.codehaus.commons.compiler.WarningHandler
May or may not choose to throw a CompileException.
hasNext() - Method in class org.codehaus.commons.compiler.util.iterator.EnumerationIterator
 
hasNext() - Method in class org.codehaus.commons.compiler.util.iterator.FilterListIterator
hasNext() - Method in class org.codehaus.commons.compiler.util.iterator.MultiDimensionalIterator
 
hasNext() - Method in class org.codehaus.commons.compiler.util.iterator.MultiIterator
 
hasNext() - Method in class org.codehaus.commons.compiler.util.iterator.ProducerIterator
 
hasNext() - Method in class org.codehaus.commons.compiler.util.iterator.ReverseListIterator
hasNext() - Method in class org.codehaus.commons.compiler.util.iterator.TransformingIterator
 
hasNext() - Method in class org.codehaus.commons.compiler.util.iterator.TraversingIterator
 
hasPrevious() - Method in class org.codehaus.commons.compiler.util.iterator.FilterListIterator
hasPrevious() - Method in class org.codehaus.commons.compiler.util.iterator.ReverseListIterator

I

IClassBodyEvaluator - Interface in org.codehaus.commons.compiler
Parses a class body and returns it as a Class object ready for use with java.lang.reflect.
ICompiler - Interface in org.codehaus.commons.compiler
A simplified substitute for the javac tool.
ICompilerFactory - Interface in org.codehaus.commons.compiler
ICookable - Interface in org.codehaus.commons.compiler
"Cooking" means scanning a sequence of characters and turning them into some JVM-executable artifact.
IExpressionEvaluator - Interface in org.codehaus.commons.compiler
An engine that evaluates expressions in JVM bytecode.
INCLUDE - Static variable in class org.codehaus.commons.compiler.util.StringPattern
 
InternalCompilerException - Exception in org.codehaus.commons.compiler
Indicates an event that is probably related to a bug in JANINO.
InternalCompilerException() - Constructor for exception org.codehaus.commons.compiler.InternalCompilerException
 
InternalCompilerException(String) - Constructor for exception org.codehaus.commons.compiler.InternalCompilerException
 
InternalCompilerException(String, Throwable) - Constructor for exception org.codehaus.commons.compiler.InternalCompilerException
 
invoke(Method, Object, Object...) - Static method in class org.codehaus.commons.compiler.util.reflect.Methods
 
IScriptEvaluator - Interface in org.codehaus.commons.compiler
An engine that executes a script in JVM bytecode.
ISimpleCompiler - Interface in org.codehaus.commons.compiler
A simplified Java compiler that can compile only a single compilation unit.
Iterables - Class in org.codehaus.commons.compiler.util.iterator
Utility method around Iterables and Iterators.
iterator() - Method in class org.codehaus.commons.compiler.util.iterator.IteratorCollection
 
IteratorCollection<T> - Class in org.codehaus.commons.compiler.util.iterator
A Collection that lazily reads its elements from an Iterator.
IteratorCollection(Iterator<T>) - Constructor for class org.codehaus.commons.compiler.util.iterator.IteratorCollection
 

J

JarDirectoriesResourceFinder - Class in org.codehaus.commons.compiler.util.resource
Finds resources in any of the "*.jar" files that exist in a given set of directories.
JarDirectoriesResourceFinder(File[]) - Constructor for class org.codehaus.commons.compiler.util.resource.JarDirectoriesResourceFinder
 

L

lastModified() - Method in class org.codehaus.commons.compiler.util.resource.FileResource
 
lastModified() - Method in interface org.codehaus.commons.compiler.util.resource.Resource
Returns the time of the last modification, in milliseconds since 1970, or 0L if the time of the last modification cannot be determined.
lastModified() - Method in class org.codehaus.commons.compiler.util.resource.StringResource
 
LazyMultiResourceFinder - Class in org.codehaus.commons.compiler.util.resource
A ResourceFinder that examines a set of ResourceFinders lazily as it searches for resources.
LazyMultiResourceFinder(Iterator<ResourceFinder>) - Constructor for class org.codehaus.commons.compiler.util.resource.LazyMultiResourceFinder
 
LineAndColumnTracker - Class in org.codehaus.commons.io
Keeps track of "line numbers" and "column numbers" while a char stream is being processed.
LineAndColumnTracker() - Constructor for class org.codehaus.commons.io.LineAndColumnTracker
 
list() - Method in class org.codehaus.commons.compiler.java9.java.lang.module.ModuleReader
 
list(String, boolean) - Method in class org.codehaus.commons.compiler.util.resource.DirectoryResourceFinder
 
list(String, boolean) - Method in class org.codehaus.commons.compiler.util.resource.ListableResourceFinder
 
list(String, boolean) - Method in class org.codehaus.commons.compiler.util.resource.MapResourceFinder
 
list(String, boolean) - Method in class org.codehaus.commons.compiler.util.resource.MultiResourceFinder
 
ListableResourceFinder - Class in org.codehaus.commons.compiler.util.resource
 
ListableResourceFinder() - Constructor for class org.codehaus.commons.compiler.util.resource.ListableResourceFinder
 
load(String) - Static method in class org.codehaus.commons.compiler.util.reflect.Classes
Shorthand for load(ClassLoader.getSystemClassLoader(), className).
load(ClassLoader, String) - Static method in class org.codehaus.commons.compiler.util.reflect.Classes
 
LocatedException - Exception in org.codehaus.commons.compiler
An Exception that is associated with an optional Location in a source file.
LocatedException(String, Location) - Constructor for exception org.codehaus.commons.compiler.LocatedException
 
LocatedException(String, Location, Throwable) - Constructor for exception org.codehaus.commons.compiler.LocatedException
 
location() - Method in class org.codehaus.commons.compiler.java9.java.lang.module.ModuleReference
 
Location - Class in org.codehaus.commons.compiler
Immutable representation of the location of a character in a document, as defined by an (optional) file name, a line number and a column number.
Location(String, int, int) - Constructor for class org.codehaus.commons.compiler.Location
 
logMethodInvocations(Object) - Static method in class org.codehaus.commons.compiler.util.reflect.ApiLog
 

M

main(String[]) - Static method in class org.codehaus.commons.compiler.AbstractJavaSourceClassLoader
Reads Java source code for a given class name, scan, parse, compile and load it into the virtual machine, and invoke its "main()" method with the given arguments.
main(String[]) - Static method in class org.codehaus.commons.compiler.samples.ClassBodyDemo
 
main(String[]) - Static method in class org.codehaus.commons.compiler.samples.CompilerDemo
Command line interface.
main(String[]) - Static method in class org.codehaus.commons.compiler.samples.ExpressionDemo
 
main(String[]) - Static method in class org.codehaus.commons.compiler.samples.ScriptDemo
 
main(String[]) - Static method in class org.codehaus.commons.compiler.samples.ShippingCost
 
MapResourceCreator - Class in org.codehaus.commons.compiler.util.resource
Creates resources as byte arrays in a delegate Map.
MapResourceCreator() - Constructor for class org.codehaus.commons.compiler.util.resource.MapResourceCreator
Auto-create the delegate Map.
MapResourceCreator(Map<String, byte[]>) - Constructor for class org.codehaus.commons.compiler.util.resource.MapResourceCreator
 
MapResourceFinder - Class in org.codehaus.commons.compiler.util.resource
A ResourceFinder that provides access to resource stored as byte arrays in a Map.
MapResourceFinder() - Constructor for class org.codehaus.commons.compiler.util.resource.MapResourceFinder
 
MapResourceFinder(Map<String, byte[]>) - Constructor for class org.codehaus.commons.compiler.util.resource.MapResourceFinder
 
matches(String) - Method in class org.codehaus.commons.compiler.util.StringPattern
Matches the given text against the pattern represented by the current instance, as follows: A * in the pattern matches any sequence of zero or more characters in the text A ?
matches(StringPattern[], String) - Static method in class org.codehaus.commons.compiler.util.StringPattern
Matchs a given text against an array of StringPatterns (which was typically created by StringPattern.parseCombinedPattern(String).
METHOD_accept__T - Static variable in interface org.codehaus.commons.compiler.java8.java.util.function.Consumer
 
Methods - Class in org.codehaus.commons.compiler.util.reflect
 
ModuleFinder - Class in org.codehaus.commons.compiler.java9.java.lang.module
Pre-Java-9-compatible facade for Java 9's java.lang.module.ModuleFinder class.
ModuleReader - Class in org.codehaus.commons.compiler.java9.java.lang.module
Pre-Java-9-compatible facade for Java 9's java.lang.module.ModuleReader class.
ModuleReader(Object) - Constructor for class org.codehaus.commons.compiler.java9.java.lang.module.ModuleReader
 
ModuleReference - Class in org.codehaus.commons.compiler.java9.java.lang.module
Pre-Java-9-compatible facade for Java 9's java.lang.module.ModuleReference interface.
ModuleReference(Object) - Constructor for class org.codehaus.commons.compiler.java9.java.lang.module.ModuleReference
 
MultiDimensionalIterator<T> - Class in org.codehaus.commons.compiler.util.iterator
An Iterator that iterates over a delegate, which produces arrays, Collections, Enumerations or Iterators.
MultiDimensionalIterator(Iterator<?>, int) - Constructor for class org.codehaus.commons.compiler.util.iterator.MultiDimensionalIterator
 
MultiIterator<T> - Class in org.codehaus.commons.compiler.util.iterator
An Iterator that traverses a Collection of Iterators, Collections and/or arrays.
MultiIterator(Iterator<T>[]) - Constructor for class org.codehaus.commons.compiler.util.iterator.MultiIterator
 
MultiIterator(Collection<T>[]) - Constructor for class org.codehaus.commons.compiler.util.iterator.MultiIterator
 
MultiIterator(Object[][]) - Constructor for class org.codehaus.commons.compiler.util.iterator.MultiIterator
 
MultiIterator(Collection<?>) - Constructor for class org.codehaus.commons.compiler.util.iterator.MultiIterator
 
MultiIterator(Iterator<?>) - Constructor for class org.codehaus.commons.compiler.util.iterator.MultiIterator
 
MultiIterator(Object[]) - Constructor for class org.codehaus.commons.compiler.util.iterator.MultiIterator
 
MultiIterator(Object, Collection<T>) - Constructor for class org.codehaus.commons.compiler.util.iterator.MultiIterator
Iterates over the given Collection, prepended with the given Object.
MultiIterator(Collection<T>, Object) - Constructor for class org.codehaus.commons.compiler.util.iterator.MultiIterator
Iterates over the given Collection, appended with the given Object.
MultiIterator(Object, Iterator<T>) - Constructor for class org.codehaus.commons.compiler.util.iterator.MultiIterator
Iterates over the given Iterator, prepended with the given prefix.
MultiIterator(Iterator<T>, Object) - Constructor for class org.codehaus.commons.compiler.util.iterator.MultiIterator
Iterates over the given Iterator, appended with the given suffix.
MultiResourceFinder - Class in org.codehaus.commons.compiler.util.resource
A ResourceFinder that finds its resources through a collection of other ResourceFinders.
MultiResourceFinder(Iterable<? extends ResourceFinder>) - Constructor for class org.codehaus.commons.compiler.util.resource.MultiResourceFinder
 
MultiResourceFinder(ResourceFinder...) - Constructor for class org.codehaus.commons.compiler.util.resource.MultiResourceFinder
 

N

newClassBodyEvaluator() - Method in class org.codehaus.commons.compiler.AbstractCompilerFactory
 
newClassBodyEvaluator() - Method in interface org.codehaus.commons.compiler.ICompilerFactory
 
newCompiler() - Method in interface org.codehaus.commons.compiler.ICompilerFactory
 
newExpressionEvaluator() - Method in class org.codehaus.commons.compiler.AbstractCompilerFactory
 
newExpressionEvaluator() - Method in interface org.codehaus.commons.compiler.ICompilerFactory
 
newInstance(Object, Method...) - Static method in class org.codehaus.commons.compiler.util.reflect.Proxies
 
newJavaSourceClassLoader() - Method in class org.codehaus.commons.compiler.AbstractCompilerFactory
 
newJavaSourceClassLoader(ClassLoader) - Method in class org.codehaus.commons.compiler.AbstractCompilerFactory
 
newJavaSourceClassLoader() - Method in interface org.codehaus.commons.compiler.ICompilerFactory
 
newJavaSourceClassLoader(ClassLoader) - Method in interface org.codehaus.commons.compiler.ICompilerFactory
 
newScriptEvaluator() - Method in class org.codehaus.commons.compiler.AbstractCompilerFactory
 
newScriptEvaluator() - Method in interface org.codehaus.commons.compiler.ICompilerFactory
 
newSimpleCompiler() - Method in class org.codehaus.commons.compiler.AbstractCompilerFactory
 
newSimpleCompiler() - Method in interface org.codehaus.commons.compiler.ICompilerFactory
 
next() - Method in class org.codehaus.commons.compiler.util.iterator.EnumerationIterator
 
next() - Method in class org.codehaus.commons.compiler.util.iterator.FilterListIterator
next() - Method in class org.codehaus.commons.compiler.util.iterator.MultiDimensionalIterator
 
next() - Method in class org.codehaus.commons.compiler.util.iterator.MultiIterator
 
next() - Method in class org.codehaus.commons.compiler.util.iterator.ProducerIterator
 
next() - Method in class org.codehaus.commons.compiler.util.iterator.ReverseListIterator
next() - Method in class org.codehaus.commons.compiler.util.iterator.TransformingIterator
 
next() - Method in class org.codehaus.commons.compiler.util.iterator.TraversingIterator
 
nextIndex() - Method in class org.codehaus.commons.compiler.util.iterator.FilterListIterator
nextIndex() - Method in class org.codehaus.commons.compiler.util.iterator.ReverseListIterator
NO_DESTINATION_DIRECTORY - Static variable in interface org.codehaus.commons.compiler.ICompiler
Special value for ICompiler.setDestinationDirectory(File, boolean)'s first parameter: Indicates that .class files are to be created in the directory of the .java file from which they are generated.
NoException - Exception in org.codehaus.commons.compiler.util.reflect
An exception that is never instantiated, and is useful for declaration of methods that throw a parameterized Throwable.
NotNull - Annotation Type in org.codehaus.commons.nullanalysis
Designates that a field, return value, argument, or variable is guaranteed to be non-null.
NotNullByDefault - Annotation Type in org.codehaus.commons.nullanalysis
By default, types in method signatures that lack a null annotation are regarded as nullable.
NOWHERE - Static variable in class org.codehaus.commons.compiler.Location
Representation of an unspecified location.
Nullable - Annotation Type in org.codehaus.commons.nullanalysis
Designates that a field, return value, argument, or variable may be null.
Numbers - Class in org.codehaus.commons.compiler.util
 

O

Objects - Class in org.codehaus.commons.compiler.util
 
ofSystem() - Static method in class org.codehaus.commons.compiler.java9.java.lang.module.ModuleFinder
 
onFirstChar(Reader, Runnable) - Static method in class org.codehaus.commons.io.Readers
 
open() - Method in class org.codehaus.commons.compiler.java9.java.lang.module.ModuleReference
 
open() - Method in class org.codehaus.commons.compiler.util.resource.FileResource
 
open() - Method in interface org.codehaus.commons.compiler.util.resource.Resource
Opens the resource.
open() - Method in class org.codehaus.commons.compiler.util.resource.StringResource
 
Optional<T> - Class in org.codehaus.commons.compiler.java8.java.util
Pre-Java-9-compatible facade for Java 9's java.util.Optional class.
Optional(Object) - Constructor for class org.codehaus.commons.compiler.java8.java.util.Optional
 
optionalProtectionDomainFactory - Variable in class org.codehaus.commons.compiler.AbstractJavaSourceClassLoader
 
or(T, T) - Static method in class org.codehaus.commons.compiler.util.Objects
 
org.codehaus.commons.compiler - package org.codehaus.commons.compiler
This package declares interfaces for the implementation of an IExpressionEvaluator, an IScriptEvaluator, an IClassBodyEvaluator and an ISimpleCompiler.
org.codehaus.commons.compiler.io - package org.codehaus.commons.compiler.io
 
org.codehaus.commons.compiler.java8.java.util - package org.codehaus.commons.compiler.java8.java.util
A set of (rudimentary) proxies for Java-8+ classes that also compile for Java 6 and 7.
org.codehaus.commons.compiler.java8.java.util.function - package org.codehaus.commons.compiler.java8.java.util.function
A set of (rudimentary) proxies for Java-8+ classes that also compile for Java 6 and 7.
org.codehaus.commons.compiler.java8.java.util.stream - package org.codehaus.commons.compiler.java8.java.util.stream
A set of (rudimentary) proxies for Java-8+ classes that also compile for Java 6 and 7.
org.codehaus.commons.compiler.java9.java.lang.module - package org.codehaus.commons.compiler.java9.java.lang.module
A set of (rudimentary) proxies for Java-9+ classes that also compile for Java 6-8.
org.codehaus.commons.compiler.samples - package org.codehaus.commons.compiler.samples
Sample applications for the Janino JavaTM compiler.
org.codehaus.commons.compiler.util - package org.codehaus.commons.compiler.util
 
org.codehaus.commons.compiler.util.iterator - package org.codehaus.commons.compiler.util.iterator
 
org.codehaus.commons.compiler.util.reflect - package org.codehaus.commons.compiler.util.reflect
 
org.codehaus.commons.compiler.util.resource - package org.codehaus.commons.compiler.util.resource
Classes related to loading "resources" (ResourceFinder) and creating resources (ResourceCreator).
org.codehaus.commons.io - package org.codehaus.commons.io
I/O utilities.
org.codehaus.commons.nullanalysis - package org.codehaus.commons.nullanalysis
Annotations for ECLIPSE's "null analysis" feature.

P

parseCombinedPattern(String) - Static method in class org.codehaus.commons.compiler.util.StringPattern
Parses a "combined pattern" into an array of StringPatterns.
parseOptionalPath(String) - Static method in class org.codehaus.commons.compiler.util.StringUtil
Same as StringUtil.parsePath(String), but returns null iff s == null.
parsePath(String) - Static method in class org.codehaus.commons.compiler.util.StringUtil
Breaks a given string up by the system-dependent path-separator character (on UNIX systems, this character is ":"; on Microsoft Windows systems it is ";").
parseUnsignedInt(String, int) - Static method in class org.codehaus.commons.compiler.util.Numbers
Counterpart of Integer.parseInt(String, int) for parsing unsigned integers.
parseUnsignedLong(String, int) - Static method in class org.codehaus.commons.compiler.util.Numbers
Counterpart of Long.parseLong(String, int) for parsing unsigned integers.
PathResourceFinder - Class in org.codehaus.commons.compiler.util.resource
A ResourceFinder that finds its resources along a "path" consisting of JAR file names, ZIP file names, and directory names.
PathResourceFinder(File[]) - Constructor for class org.codehaus.commons.compiler.util.resource.PathResourceFinder
 
PathResourceFinder(Iterator<ResourceFinder>) - Constructor for class org.codehaus.commons.compiler.util.resource.PathResourceFinder
 
PathResourceFinder(String) - Constructor for class org.codehaus.commons.compiler.util.resource.PathResourceFinder
 
PATTERNS_ALL - Static variable in class org.codehaus.commons.compiler.util.StringPattern
A StringPattern that matches any subject.
PATTERNS_NONE - Static variable in class org.codehaus.commons.compiler.util.StringPattern
A StringPattern that matches no subject whatsoever.
Predicate<T> - Interface in org.codehaus.commons.compiler.util
 
previous() - Method in class org.codehaus.commons.compiler.util.iterator.FilterListIterator
previous() - Method in class org.codehaus.commons.compiler.util.iterator.ReverseListIterator
previousIndex() - Method in class org.codehaus.commons.compiler.util.iterator.FilterListIterator
previousIndex() - Method in class org.codehaus.commons.compiler.util.iterator.ReverseListIterator
produce() - Method in interface org.codehaus.commons.compiler.util.Producer
Produces the next object.
Producer<T> - Interface in org.codehaus.commons.compiler.util
An object that produces some Object each time the Producer.produce() method is invoked.
ProducerIterator<T> - Class in org.codehaus.commons.compiler.util.iterator
An Iterator that iterates over all the objects produced by a delegate Producer.
ProducerIterator(Producer<T>) - Constructor for class org.codehaus.commons.compiler.util.iterator.ProducerIterator
 
Proxies - Class in org.codehaus.commons.compiler.util.reflect
 

R

read() - Method in class org.codehaus.commons.compiler.io.TeeReader
 
read(char[], int, int) - Method in class org.codehaus.commons.compiler.io.TeeReader
 
Readers - Class in org.codehaus.commons.io
 
readString(Reader) - Static method in class org.codehaus.commons.compiler.Cookable
Reads all characters from the given Reader into a String.
remove() - Method in class org.codehaus.commons.compiler.util.iterator.EnumerationIterator
Since Enumerations don't support element removal, this method always throws an UnsupportedOperationException.
remove() - Method in class org.codehaus.commons.compiler.util.iterator.FilterListIterator
remove() - Method in class org.codehaus.commons.compiler.util.iterator.MultiDimensionalIterator
 
remove() - Method in class org.codehaus.commons.compiler.util.iterator.MultiIterator
 
remove() - Method in class org.codehaus.commons.compiler.util.iterator.ProducerIterator
 
remove() - Method in class org.codehaus.commons.compiler.util.iterator.TransformingIterator
 
remove() - Method in class org.codehaus.commons.compiler.util.iterator.TraversingIterator
 
report(String) - Method in class org.codehaus.commons.compiler.util.Benchmark
Reports the given message.
report(String, Object) - Method in class org.codehaus.commons.compiler.util.Benchmark
Reports the title, a colon, a space, and the pretty-printed Object.
report(String) - Method in interface org.codehaus.commons.compiler.util.Benchmark.Reporter
Reports the given message.
reset() - Method in class org.codehaus.commons.io.LineAndColumnTracker
Resets the current line number to 1 and the current column number to one.
Resource - Interface in org.codehaus.commons.compiler.util.resource
A Resource is "something" that is typically found by a ResourceFinder, can be Resource.open()ed for reading, and optionally has a Resource.lastModified() property.
ResourceCreator - Interface in org.codehaus.commons.compiler.util.resource
Opens a resource, characterized by a name, for writing.
ResourceFinder - Class in org.codehaus.commons.compiler.util.resource
Finds a resource by name.
ResourceFinder() - Constructor for class org.codehaus.commons.compiler.util.resource.ResourceFinder
 
ResourceFinderClassLoader - Class in org.codehaus.commons.compiler.util
A ClassLoader that uses a ResourceFinder to find ".class" files.
ResourceFinderClassLoader(ResourceFinder, ClassLoader) - Constructor for class org.codehaus.commons.compiler.util.ResourceFinderClassLoader
 
resources() - Method in class org.codehaus.commons.compiler.util.resource.MapResourceFinder
 
ReverseListIterator<T> - Class in org.codehaus.commons.compiler.util.iterator
A ListIterator that reverses the direction of all operations of a delegate ListIterator.
ReverseListIterator(ListIterator<T>) - Constructor for class org.codehaus.commons.compiler.util.iterator.ReverseListIterator
 

S

Sandbox - Class in org.codehaus.commons.compiler
This class establishes a security manager that confines the permissions for code executed through classes that are loaded through specific class loaders.
ScriptDemo - Class in org.codehaus.commons.compiler.samples
A test program that allows you to play around with the IScriptEvaluator class.
set(T) - Method in class org.codehaus.commons.compiler.util.iterator.FilterListIterator
setBootClassPath(File[]) - Method in class org.codehaus.commons.compiler.AbstractCompiler
 
setBootClassPath(File[]) - Method in interface org.codehaus.commons.compiler.ICompiler
Equivalent of --boot-class-path.
setCharacterEncoding(String) - Method in class org.codehaus.commons.compiler.AbstractCompiler
 
setCharacterEncoding(String) - Method in interface org.codehaus.commons.compiler.ICompiler
Equivalent with setEncoding(Charset.forName(characterEncoding)).
setClassFileCreator(ResourceCreator) - Method in class org.codehaus.commons.compiler.AbstractCompiler
 
setClassFileCreator(ResourceCreator) - Method in interface org.codehaus.commons.compiler.ICompiler
 
setClassFileFinder(ResourceFinder, boolean) - Method in class org.codehaus.commons.compiler.AbstractCompiler
 
setClassFileFinder(ResourceFinder) - Method in class org.codehaus.commons.compiler.AbstractCompiler
 
setClassFileFinder(ResourceFinder, boolean) - Method in interface org.codehaus.commons.compiler.ICompiler
Equivalent with {@code setClassFileFinder(rebuild ?
setClassFileFinder(ResourceFinder) - Method in interface org.codehaus.commons.compiler.ICompiler
This ResourceFinder is used to check whether a .class resource already exists and is younger than the .java resource from which it was generated.
setClassName(String) - Method in interface org.codehaus.commons.compiler.IClassBodyEvaluator
Sets the name of the generated class.
setClassPath(File[]) - Method in class org.codehaus.commons.compiler.AbstractCompiler
 
setClassPath(File[]) - Method in interface org.codehaus.commons.compiler.ICompiler
Equivalent of --class-path.
setColumnNumber(int) - Method in class org.codehaus.commons.io.LineAndColumnTracker
 
setCompileErrorHandler(ErrorHandler) - Method in class org.codehaus.commons.compiler.AbstractCompiler
 
setCompileErrorHandler(ErrorHandler) - Method in interface org.codehaus.commons.compiler.ICompiler
By default, CompileExceptions are thrown on compile errors, but an application my install its own ErrorHandler.
setCompileErrorHandler(ErrorHandler) - Method in interface org.codehaus.commons.compiler.ICookable
By default, CompileExceptions are thrown on compile errors, but an application my install its own ErrorHandler.
setDebuggingInfo(boolean, boolean, boolean) - Method in class org.codehaus.commons.compiler.AbstractJavaSourceClassLoader
 
setDebuggingInformation(boolean, boolean, boolean) - Method in interface org.codehaus.commons.compiler.ICookable
Determines what kind of debugging information is included in the generates classes.
setDebugLines(boolean) - Method in class org.codehaus.commons.compiler.AbstractCompiler
 
setDebugLines(boolean) - Method in interface org.codehaus.commons.compiler.ICompiler
Equivalent of -g:lines.
setDebugSource(boolean) - Method in class org.codehaus.commons.compiler.AbstractCompiler
 
setDebugSource(boolean) - Method in interface org.codehaus.commons.compiler.ICompiler
Equivalent of -g:source.
setDebugVars(boolean) - Method in class org.codehaus.commons.compiler.AbstractCompiler
 
setDebugVars(boolean) - Method in interface org.codehaus.commons.compiler.ICompiler
Equivalent of -g:vars.
setDefaultImports(String...) - Method in interface org.codehaus.commons.compiler.IClassBodyEvaluator
"Default imports" add to the system import "java.lang", i.e. the evaluator may refer to classes imported by default imports without having to explicitly declare IMPORT statements.
setDestinationDirectory(File, boolean) - Method in class org.codehaus.commons.compiler.AbstractCompiler
 
setDestinationDirectory(File, boolean) - Method in interface org.codehaus.commons.compiler.ICompiler
Equivalent of -d and -rebuild.
setEncoding(Charset) - Method in class org.codehaus.commons.compiler.AbstractCompiler
 
setEncoding(Charset) - Method in interface org.codehaus.commons.compiler.ICompiler
Equivalent of -encoding.
setExpressionType(Class<?>) - Method in interface org.codehaus.commons.compiler.IExpressionEvaluator
Defines the type of the expression.
setExpressionTypes(Class<?>[]) - Method in interface org.codehaus.commons.compiler.IExpressionEvaluator
Configures the types of the expressions.
setExtendedClass(Class<?>) - Method in interface org.codehaus.commons.compiler.IClassBodyEvaluator
Sets a particular superclass that the generated class will extend.
setExtendedType(Class<?>) - Method in interface org.codehaus.commons.compiler.IClassBodyEvaluator
setExtensionDirectories(File[]) - Method in class org.codehaus.commons.compiler.AbstractCompiler
 
setExtensionDirectories(File[]) - Method in interface org.codehaus.commons.compiler.ICompiler
Equivalent of -extdirs.
setImplementedInterfaces(Class<?>[]) - Method in interface org.codehaus.commons.compiler.IClassBodyEvaluator
Sets a particular set of interfaces that the generated class will implement.
setImplementedTypes(Class<?>[]) - Method in interface org.codehaus.commons.compiler.IClassBodyEvaluator
setLastModified(long) - Method in class org.codehaus.commons.compiler.util.resource.MapResourceFinder
 
setLineNumber(int) - Method in class org.codehaus.commons.io.LineAndColumnTracker
 
setMethodName(String) - Method in interface org.codehaus.commons.compiler.IScriptEvaluator
Defines the name of the generated method.
setMethodNames(String[]) - Method in interface org.codehaus.commons.compiler.IScriptEvaluator
Same as IScriptEvaluator.setMethodName(String), but for multiple scripts.
setNoPermissions() - Method in interface org.codehaus.commons.compiler.ISimpleCompiler
Installs a security manager in the running JVM such that all generated code, when executed, is not allowed to execute any checked operations.
setOverrideMethod(boolean) - Method in interface org.codehaus.commons.compiler.IScriptEvaluator
Defines whether the generated method overrides a methods declared in a supertype.
setOverrideMethod(boolean[]) - Method in interface org.codehaus.commons.compiler.IScriptEvaluator
Same as IScriptEvaluator.setOverrideMethod(boolean), but for multiple scripts.
setParameters(String[], Class<?>[]) - Method in interface org.codehaus.commons.compiler.IScriptEvaluator
Defines the names and types of the parameters of the generated method.
setParameters(String[][], Class<?>[][]) - Method in interface org.codehaus.commons.compiler.IScriptEvaluator
Same as IScriptEvaluator.setParameters(String[], Class[]), but for multiple scripts.
setParentClassLoader(ClassLoader) - Method in interface org.codehaus.commons.compiler.ICookable
The "parent class loader" is used to load referenced classes.
setPermissions(Permissions) - Method in interface org.codehaus.commons.compiler.ISimpleCompiler
Installs a security manager in the running JVM such that all generated code, when executed, will be checked against the given permissions.
setProtectionDomainFactory(AbstractJavaSourceClassLoader.ProtectionDomainFactory) - Method in class org.codehaus.commons.compiler.AbstractJavaSourceClassLoader
 
setReturnType(Class<?>) - Method in interface org.codehaus.commons.compiler.IExpressionEvaluator
Deprecated.
setReturnType(Class<?>) - Method in interface org.codehaus.commons.compiler.IScriptEvaluator
Defines the return type of the generated method.
setReturnTypes(Class<?>[]) - Method in interface org.codehaus.commons.compiler.IExpressionEvaluator
Deprecated.
setReturnTypes(Class<?>[]) - Method in interface org.codehaus.commons.compiler.IScriptEvaluator
Configures the return types of the generated methods.
setSourceFileCharacterEncoding(String) - Method in class org.codehaus.commons.compiler.AbstractJavaSourceClassLoader
 
setSourceFinder(ResourceFinder) - Method in class org.codehaus.commons.compiler.AbstractCompiler
 
setSourceFinder(ResourceFinder) - Method in interface org.codehaus.commons.compiler.ICompiler
Finds more .java resources that need to be compiled, i.e. implements the "source path".
setSourcePath(File[]) - Method in class org.codehaus.commons.compiler.AbstractCompiler
 
setSourcePath(File[]) - Method in class org.codehaus.commons.compiler.AbstractJavaSourceClassLoader
 
setSourcePath(File[]) - Method in interface org.codehaus.commons.compiler.ICompiler
Equivalent of --source-path.
setStaticMethod(boolean) - Method in interface org.codehaus.commons.compiler.IScriptEvaluator
Defines whether the generated method should be STATIC or not.
setStaticMethod(boolean[]) - Method in interface org.codehaus.commons.compiler.IScriptEvaluator
Same as IScriptEvaluator.setStaticMethod(boolean), but for multiple scripts.
setTabWidth(int) - Method in class org.codehaus.commons.io.LineAndColumnTracker
Reconfigures the TAB width.
setThrownExceptions(Class<?>[]) - Method in interface org.codehaus.commons.compiler.IScriptEvaluator
Defines the exceptions that the generated method may throw.
setThrownExceptions(Class<?>[][]) - Method in interface org.codehaus.commons.compiler.IScriptEvaluator
Same as IScriptEvaluator.setThrownExceptions(Class[]), but for multiple scripts.
setVerbose(boolean) - Method in interface org.codehaus.commons.compiler.ICompiler
Equivalent of -verbose.
setWarningHandler(WarningHandler) - Method in class org.codehaus.commons.compiler.AbstractCompiler
 
setWarningHandler(WarningHandler) - Method in interface org.codehaus.commons.compiler.ICompiler
By default, warnings are discarded, but an application my install a custom WarningHandler.
setWarningHandler(WarningHandler) - Method in interface org.codehaus.commons.compiler.ICookable
By default, warnings are discarded, but an application my install a custom WarningHandler.
ShippingCost - Class in org.codehaus.commons.compiler.samples
Sample application which demonstrates how to use the IExpressionEvaluator class.
size() - Method in class org.codehaus.commons.compiler.util.iterator.IteratorCollection
 
sourceFinder - Variable in class org.codehaus.commons.compiler.AbstractCompiler
 
Stream<T> - Class in org.codehaus.commons.compiler.java8.java.util.stream
Pre-Java-8-compatible facade for Java 8's java.util.stream.Stream class.
Stream(Object) - Constructor for class org.codehaus.commons.compiler.java8.java.util.stream.Stream
 
StringPattern - Class in org.codehaus.commons.compiler.util
Implementation of a UNIX shell-like string pattern algorithm.
StringPattern(int, String) - Constructor for class org.codehaus.commons.compiler.util.StringPattern
 
StringPattern(String) - Constructor for class org.codehaus.commons.compiler.util.StringPattern
 
StringResource - Class in org.codehaus.commons.compiler.util.resource
A resource who's content is a String.
StringResource(String, String) - Constructor for class org.codehaus.commons.compiler.util.resource.StringResource
 
stringToType(String) - Static method in class org.codehaus.commons.compiler.samples.DemoBase
 
stringToTypes(String) - Static method in class org.codehaus.commons.compiler.samples.DemoBase
Converts the given comma-separated list of class names to an array of Classes.
StringUtil - Class in org.codehaus.commons.compiler.util
 

T

TeeReader - Class in org.codehaus.commons.compiler.io
A FilterReader that copies the bytes being passed through to a given Writer.
TeeReader(Reader, Writer, boolean) - Constructor for class org.codehaus.commons.compiler.io.TeeReader
 
toArray(Iterable<T>, Class<T>) - Static method in class org.codehaus.commons.compiler.util.iterator.Iterables
 
toArray(Iterator<T>, Class<T>) - Static method in class org.codehaus.commons.compiler.util.iterator.Iterables
 
toString() - Method in class org.codehaus.commons.compiler.AbstractCompilerFactory
 
toString() - Method in interface org.codehaus.commons.compiler.ICompilerFactory
 
toString() - Method in class org.codehaus.commons.compiler.Location
Converts this Location into an english text, like 'File Main.java, Line 23, Column 79'.
toString() - Method in class org.codehaus.commons.compiler.util.resource.DirectoryResourceFinder
 
toString() - Method in class org.codehaus.commons.compiler.util.resource.FileResource
 
toString() - Method in class org.codehaus.commons.compiler.util.resource.StringResource
 
toString() - Method in class org.codehaus.commons.compiler.util.resource.ZipFileResourceFinder
 
toString() - Method in class org.codehaus.commons.compiler.util.StringPattern
 
trackLineAndColumn(Reader, LineAndColumnTracker) - Static method in class org.codehaus.commons.io.Readers
 
transform(T1) - Method in class org.codehaus.commons.compiler.util.iterator.TransformingIterator
Derived classes must implement this method such that it does the desired transformation.
TransformingIterator<T1,T2> - Class in org.codehaus.commons.compiler.util.iterator
An Iterator that transforms its elements on-the-fly.
TransformingIterator(Iterator<? extends T1>) - Constructor for class org.codehaus.commons.compiler.util.iterator.TransformingIterator
 
traverseDirectories(File[], FilenameFilter, FilenameFilter) - Static method in class org.codehaus.commons.compiler.util.iterator.DirectoryIterator
Creates an Iterator that returns all matching Files locatable in a set of root directories.
TraversingIterator - Class in org.codehaus.commons.compiler.util.iterator
An Iterator that iterates over a delegate, and while it encounters an array, a Collection, an Enumeration or a Iterator element, it iterates over it recursively.
TraversingIterator(Iterator<?>) - Constructor for class org.codehaus.commons.compiler.util.iterator.TraversingIterator
 
truncate(String) - Static method in class org.codehaus.commons.compiler.util.reflect.ApiLog
 

U

UniterableElementException - Exception in org.codehaus.commons.compiler.util.iterator
Thrown by MultiDimensionalIterator to indicate that it has encountered an element that cannot be iterated.
UniterableElementException() - Constructor for exception org.codehaus.commons.compiler.util.iterator.UniterableElementException
 

W

warningHandler - Variable in class org.codehaus.commons.compiler.AbstractCompiler
 
WarningHandler - Interface in org.codehaus.commons.compiler
Processes a warning issued by the compiler.

Z

ZipFileResourceFinder - Class in org.codehaus.commons.compiler.util.resource
A ResourceFinder that finds resources in a ZIP file.
ZipFileResourceFinder(ZipFile) - Constructor for class org.codehaus.commons.compiler.util.resource.ZipFileResourceFinder
 
A B C D E F G H I J L M N O P R S T U W Z 
Skip navigation links

Copyright © 2019. All rights reserved.