- CLASS - Static variable in interface org.codehaus.commons.compiler.java8.java.util.function.Consumer
-
- ClassBodyDemo - Class in org.codehaus.commons.compiler.samples
-
- 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
-
- 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
-
- 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
-
- cook(String[], Reader[]) - Method in interface org.codehaus.commons.compiler.IScriptEvaluator
-
- cook(String[]) - Method in interface org.codehaus.commons.compiler.IScriptEvaluator
-
- cook(String[], String[]) - Method in interface org.codehaus.commons.compiler.IScriptEvaluator
-
- Cookable - Class in org.codehaus.commons.compiler
-
- 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
-
- createFastEvaluator(String, Class<T>, String[]) - Method in interface org.codehaus.commons.compiler.IExpressionEvaluator
-
- 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.
- 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
-
- 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
-
- 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
-
- 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
-
- setCompileErrorHandler(ErrorHandler) - Method in interface org.codehaus.commons.compiler.ICookable
-
- 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
-
- 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
-
- 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
-
- 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
-
- 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
-
- 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
-
- 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
-
- 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
-
- 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
-