All Classes Interface Summary Class Summary Exception Summary
| Class |
Description |
| AbstractCompilerFactory |
|
| AbstractJavaSourceClassLoader |
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.ProtectionDomainFactory |
|
| Access |
|
| AntCompilerAdapter |
A simple org.apache.tools.ant.taskdefs.compilers.CompilerAdapter for the "ant" tool
that silently ignores most of the configuration parameters and attempts to compile all given
source files into class files.
|
| AutoIndentWriter |
A FilterWriter that automatically indents lines by looking at
trailing opening braces ('{') and leading closing braces ('}').
|
| Benchmark |
Implements a scheme for benchmarking, i.e.
|
| Benchmark.Reporter |
Interface used to report messages.
|
| ByteArrayClassLoader |
This ClassLoader allows for the loading of a set of Java™ classes
provided in class file format.
|
| ByteArrayJavaFileManager<M extends javax.tools.JavaFileManager> |
A ForwardingJavaFileManager that stores JavaFileObjects in byte arrays, i.e.
|
| ByteArrayJavaFileManager.ByteArrayJavaFileObject |
Byte array-based implementation of JavaFileObject.
|
| CachingJavaSourceClassLoader |
A JavaSourceClassLoader that uses a resource storage provided by the application to cache
compiled classes and thus saving unnecessary recompilations.
|
| ClassBodyEvaluator |
|
| ClassBodyEvaluator |
The optionalClassLoader serves two purposes:
It is used to look for classes referenced by the class body.
|
| ClassFile |
An object that represents the Java™ "class file" format.
|
| ClassFile.AttributeInfo |
Representation of a class file attribute (see JVMS 4.7).
|
| ClassFile.ConstantClassInfo |
|
| ClassFile.ConstantFieldrefInfo |
|
| ClassFile.ConstantInterfaceMethodrefInfo |
|
| ClassFile.ConstantMethodrefInfo |
|
| ClassFile.ConstantNameAndTypeInfo |
|
| ClassFile.ConstantPoolInfo |
|
| ClassFile.ConstantUtf8Info |
|
| ClassFile.ConstantValueAttribute |
Representation of a "ConstantValue" attribute (see JVMS 4.7.2).
|
| ClassFile.ConstantValuePoolInfo |
|
| ClassFile.DeprecatedAttribute |
Representation of a "Deprecated" attribute (see JVMS 4.7.10).
|
| ClassFile.ExceptionsAttribute |
Representation of an "Exceptions" attribute (see JVMS 4.7.4).
|
| ClassFile.FieldInfo |
|
| ClassFile.InnerClassesAttribute |
Representation of an "InnerClasses" attribute (see JVMS 4.7.5).
|
| ClassFile.InnerClassesAttribute.Entry |
|
| ClassFile.LineNumberTableAttribute |
Representation of a "LineNumberTable" attribute (see JVMS 4.7.8).
|
| ClassFile.LineNumberTableAttribute.Entry |
|
| ClassFile.LocalVariableTableAttribute |
Representation of a "LocalVariableTable" attribute (see JVMS 4.7.9).
|
| ClassFile.LocalVariableTableAttribute.Entry |
|
| ClassFile.SourceFileAttribute |
Representation of a "SourceFile" attribute (see JVMS 4.7.7).
|
| ClassFile.SyntheticAttribute |
Representation of a "Synthetic" attribute (see JVMS 4.7.6).
|
| ClassFileIClass |
|
| ClassLoaderIClassLoader |
|
| CodeContext |
The context of the compilation of a function (constructor or method).
|
| CodeContext.FixUp |
|
| CompileException |
An exception that reflects an error during compilation.
|
| Compiler |
A simplified substitute for the javac tool.
|
| Compiler.SimpleWarningHandler |
|
| CompilerFactory |
|
| CompilerFactory |
|
| CompilerFactoryFactory |
|
| Cookable |
|
| DeclarationCounter |
An example application for the Traverser:
Reads, scans and parses the files named on the command line and counts
several kinds of declarations.
|
| Descriptor |
Helper class that defines useful methods for handling "field descriptors"
(JVMS 4.3.2) and "method descriptors" (JVMS 4.3.3).
|
| DirectoryIterator |
An Iterator that finds the normal Files who's names are
accepted by the
fileNameFilter and
that exist in the given rootDirectory,
and those that exist in all subdirectories of the
rootDirectory who's names are
FilenameFilter.accept(java.io.File, java.lang.String)ed by the
directoryNameFilter
|
| DirectoryResourceCreator |
Creates a resource in a given directory:
|
| DirectoryResourceFinder |
|
| EnumerationIterator |
An Iterator that iterates over the elements of an
Enumeration.
|
| Enumerator |
A class that represents an enumerated value.
|
| EnumeratorFormatException |
Represents a problem related to parsing Enumerators.
|
| ExpressionEvaluator |
This IExpressionEvaluator is implemented by creating and compiling a temporary compilation unit defining one
class with one static method with one RETURN statement.
|
| ExpressionEvaluator |
This IExpressionEvaluator is implemented by creating and compiling a temporary
compilation unit defining one class with one static method with one RETURN statement.
|
| FileResource |
Representation of a resource that is a File.
|
| FileResourceCreator |
Stores a stream of bytes in a named resource.
|
| FileResourceFinder |
This class specializes the ResourceFinder
for finding resources in Files.
|
| FilterIterator |
An Iterator that retrieves its elements from a delegate
Iterator.
|
| FilterListIterator |
An ListIterator that retrieves its elements from a delegate
ListIterator.
|
| FilterWarningHandler |
Invokes a delegate iff the handle of the warning matches one or more of a set of StringPatterns.
|
| HprofScrubber |
Example for object allocation statistics:
java -Xrunhprof:heap=sites,monitor=n,cutoff=0,depth=4 MyClass
|
| IClass |
A simplified equivalent to "java.lang.reflect".
|
| IClass.IMember |
|
| IClassBodyEvaluator |
Parses a class body and returns it as a Class object ready for use with
java.lang.reflect.
|
| IClassLoader |
|
| ICompilerFactory |
|
| ICookable |
"Cooking" means scanning a sequence of characters and turning them into some
JVM-executable artifact.
|
| IExpressionEvaluator |
An engine that evaluates expressions in Java™ bytecode.
|
| IScriptEvaluator |
An engine that executes a script in Java™ bytecode.
|
| ISimpleCompiler |
A simplified Java™ compiler that can compile only a single compilation unit.
|
| IteratorCollection |
A Collection that lazily reads its elements from an
Iterator.
|
| JaninoRuntimeException |
All Janino components that throw RuntimeException throw this subclass
to allow for client libraries to intercept them more easily.
|
| JarDirectoriesResourceFinder |
Finds resources in any of the "*.jar" files that exist in a given set of directories.
|
| Java |
This wrapper class defines classes that represent the elements of the
Java™ programming language.
|
| Java.AbstractTypeBodyDeclaration |
|
| Java.AbstractTypeDeclaration |
|
| Java.AlternateConstructorInvocation |
|
| Java.AmbiguousName |
This class is special: It does not extend/implement the Atom subclasses,
but overrides Atom's "to...()" methods.
|
| Java.Annotation |
|
| Java.AnonymousClassDeclaration |
|
| Java.ArrayAccessExpression |
This class implements an array access.
|
| Java.ArrayInitializer |
Represents a Java™ array initializer (JLS 10.6).
|
| Java.ArrayInitializerOrRvalue |
|
| Java.ArrayLength |
|
| Java.ArrayType |
Representation of a Java™ array type (JLS 10.1).
|
| Java.AssertStatement |
|
| Java.Assignment |
|
| Java.Atom |
|
| Java.BasicType |
Representation of a Java™ "basic type" (obviously
equaivalent to a "primitive type") (JLS 4.2).
|
| Java.BinaryOperation |
Representation of all non-operand-modifying Java™ binary
operations.
|
| Java.Block |
Representation of a Java™ "block" (JLS 14.2).
|
| Java.BlockStatement |
Everything that can be compiled to code, e.g.
|
| Java.BooleanLiteral |
|
| Java.BooleanRvalue |
Base class for Java.Rvalues that compile better as conditional
branches.
|
| Java.BreakableStatement |
Base class for statements that can be terminated abnormally with a
"break" statement.
|
| Java.BreakStatement |
Representation of the Java™ "break" statement (JLS 14.14).
|
| Java.Cast |
|
| Java.CatchClause |
|
| Java.CharacterLiteral |
|
| Java.ClassDeclaration |
|
| Java.ClassLiteral |
|
| Java.CompilationUnit |
|
| Java.CompilationUnit.ImportDeclaration |
|
| Java.CompilationUnit.SingleStaticImportDeclaration |
Represents a single static import declaration like
|
| Java.CompilationUnit.SingleTypeImportDeclaration |
Represents a single type import declaration like
|
| Java.CompilationUnit.StaticImportOnDemandDeclaration |
Represents a static-import-on-demand declaration like
|
| Java.CompilationUnit.TypeImportOnDemandDeclaration |
Represents a type-import-on-demand declaration like
|
| Java.ConditionalExpression |
|
| Java.ConstructorDeclarator |
|
| Java.ConstructorInvocation |
|
| Java.ContinuableStatement |
|
| Java.ContinueStatement |
Representation of the Java™ "continue" statement (JLS
14.15).
|
| Java.Crement |
Objects of this class represent represent one pre- or post-increment
or decrement.
|
| Java.DocCommentable |
|
| Java.DoStatement |
|
| Java.ElementValue |
|
| Java.ElementValueArrayInitializer |
|
| Java.ElementValuePair |
|
| Java.EmptyStatement |
Represents the "empty statement", i.e.
|
| Java.EnclosingScopeOfTypeDeclaration |
|
| Java.ExpressionStatement |
|
| Java.FieldAccess |
Representation of an access to a field of a class or an interface.
|
| Java.FieldAccessExpression |
This class implements class or interface field access, and also the "array length"
expression "xy.length".
|
| Java.FieldDeclaration |
This class is derived from "Statement", because it provides for the
initialization of the field.
|
| Java.FloatingPointLiteral |
|
| Java.ForStatement |
|
| Java.FunctionDeclarator |
|
| Java.FunctionDeclarator.FormalParameter |
|
| Java.IfStatement |
|
| Java.Initializer |
Representation of an instance (JLS2 8.6) or static initializer (JLS2 8.7).
|
| Java.Instanceof |
|
| Java.IntegerLiteral |
|
| Java.InterfaceDeclaration |
|
| Java.Invocation |
|
| Java.LabeledStatement |
|
| Java.Literal |
|
| Java.LocalClassDeclaration |
|
| Java.LocalClassDeclarationStatement |
|
| Java.LocalVariable |
Used during resolution.
|
| Java.LocalVariableAccess |
Representation of a local variable access -- used during compilation.
|
| Java.LocalVariableDeclarationStatement |
|
| Java.LocalVariableSlot |
All local variables have a slot number, local variables that get written into the localvariabletable
also have a start and end offset that defines the variable's extent in the bytecode.
|
| Java.Locatable |
This interface is implemented by objects which are associated with a
location in the source code.
|
| Java.Located |
|
| Java.Lvalue |
Representation of an "lvalue", i.e.
|
| Java.MarkerAnnotation |
|
| Java.MemberClassDeclaration |
|
| Java.MemberInterfaceDeclaration |
|
| Java.MemberTypeDeclaration |
Represents a class or interface declaration where the immediately enclosing scope is
another class or interface declaration.
|
| Java.MethodDeclarator |
|
| Java.MethodInvocation |
|
| Java.ModifiersAndAnnotations |
|
| Java.NamedClassDeclaration |
|
| Java.NamedTypeDeclaration |
Represents the declaration of a class or an interface that has a name.
|
| Java.NewAnonymousClassInstance |
|
| Java.NewArray |
|
| Java.NewClassInstance |
|
| Java.NewInitializedArray |
|
| Java.NormalAnnotation |
|
| Java.NullLiteral |
|
| Java.Package |
|
| Java.PackageDeclaration |
Represents a package declaration like
|
| Java.PackageMemberClassDeclaration |
|
| Java.PackageMemberInterfaceDeclaration |
|
| Java.PackageMemberTypeDeclaration |
Represents a class or interface declaration on compilation unit level.
|
| Java.ParameterAccess |
|
| Java.ParenthesizedExpression |
|
| Java.QualifiedThisReference |
Representation of an access to the current object or an enclosing instance.
|
| Java.ReferenceType |
|
| Java.ReturnStatement |
|
| Java.Rvalue |
Representation of an "rvalue", i.e.
|
| Java.RvalueMemberType |
|
| Java.Scope |
|
| Java.SimpleType |
|
| Java.SingleElementAnnotation |
|
| Java.Statement |
Everything that can occur in the body of a method or in a block.
|
| Java.StringLiteral |
|
| Java.SuperclassFieldAccessExpression |
Representation of "super.fld" and "Type.super.fld".
|
| Java.SuperclassMethodInvocation |
|
| Java.SuperConstructorInvocation |
|
| Java.SwitchStatement |
14.10 The "switch" Statement
|
| Java.SwitchStatement.SwitchBlockStatementGroup |
|
| Java.SynchronizedStatement |
|
| Java.ThisReference |
Representation of an access to the innermost enclosing instance.
|
| Java.ThrowStatement |
|
| Java.TryStatement |
|
| Java.Type |
Representation of a Java™ type.
|
| Java.TypeBodyDeclaration |
Representation of a "ClassBodyDeclaration" or an "InterfaceMemberDeclaration".
|
| Java.TypeDeclaration |
|
| Java.UnaryOperation |
This class implements the unary operators "+", "-", "~" and "!".
|
| Java.VariableDeclarator |
Used by FieldDeclaration and LocalVariableDeclarationStatement.
|
| Java.WhileStatement |
|
| JavaFileManagerClassLoader |
|
| JavaSourceClassLoader |
|
| JavaSourceClassLoader |
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.
|
| JavaSourceClassLoader.DiagnosticException |
|
| JavaSourceIClassLoader |
This IClassLoader finds, scans and parses compilation units.
|
| JGrep |
Reads a set of compilation units from the file system and searches it for specific
Java™ constructs, e.g.
|
| LazyMultiResourceFinder |
|
| LocatedException |
An Exception that is associated with an optional Location in a source file.
|
| Location |
Represents the location of a character in a document, as defined by an optional file name, a
line number and a column number.
|
| MapResourceCreator |
Creates resources as byte arrays in a delegate Map.
|
| MapResourceFinder |
A ResourceFinder that provides access
to resource stored as byte arrays in a Map.
|
| MethodDescriptor |
Representation of a "method descriptor" (JVMS 4.3.3).
|
| Mod |
This class defines constants and convenience methods for the handling of modifiers as defined by the JVM.
|
| MultiDimensionalIterator |
An Iterator that iterates over a delegate, which produces
arrays, Collections, Enumerations or
Iterators.
|
| MultiIterator |
An Iterator that traverses a Collection of
Iterators.
|
| MultiReader |
Similar to FilterReader, but when the first delegate is at end-of-input, it continues
with reading from the next delegate.
|
| MultiResourceFinder |
|
| Parser |
A parser for the Java™ programming language.
|
| Parser.ClassDeclarationContext |
|
| Parser.InterfaceDeclarationContext |
|
| PathResourceFinder |
A ResourceFinder that finds its resources along a "path"
consisting of JAR file names, ZIP file names, and directory names.
|
| PrimitiveWrapper |
A helper class that wraps primitive values in their wrapper classes.
|
| Producer |
|
| ProducerIterator |
An Iterator that iterates over all the objects produced by a delegate
Producer.
|
| Resource |
|
| ResourceCreator |
Opens a resource, characterized by a name, for writing.
|
| ResourceFinder |
Finds a resource by name.
|
| ResourceFinderClassLoader |
|
| ResourceFinderIClassLoader |
|
| ReverseListIterator |
A ListIterator that reverses the direction of all operations
of a delegate ListIterator.
|
| Scanner |
Splits up a character stream into tokens and returns them as
String objects.
|
| ScriptEvaluator |
|
| ScriptEvaluator |
A number of "convenience constructors" exist that execute the setup steps instantly.
|
| SimpleCompiler |
|
| SimpleCompiler |
|
| StringPattern |
Implementation of a UNIX shell-like string pattern algorithm.
|
| TeeReader |
A FilterReader that copies the bytes being passed through
to a given Writer.
|
| TransformingIterator |
An Iterator that transforms its elements on-the-fly.
|
| Traverser |
This class traverses the subnodes of an AST.
|
| TraversingIterator |
An Iterator that iterates over a delegate, and while
it encounters an array, a Collection, an
Enumeration or a Iterator element, it iterates
into it recursively.
|
| UnicodeUnescapeException |
Represents a problem that occurred while unescaping a unicode escape
sequence through a UnicodeUnescapeReader.
|
| UnicodeUnescapeReader |
|
| UnitCompiler |
This class actually implements the Java™ compiler.
|
| UnitCompiler.ErrorHandler |
|
| UnitCompiler.SimpleIField |
Short-hand implementation of IClass.IField that implements a non-constant, non-static,
package-accessible field.
|
| UniterableElementException |
|
| UnparseVisitor |
A visitor that unparses (un-compiles) an AST to a Writer.
|
| Visitor |
Basis for the "visitor" pattern as described in "Gamma, Helm, Johnson,
Vlissides: Design Patterns".
|
| Visitor.AnnotationVisitor |
|
| Visitor.AtomVisitor |
|
| Visitor.BlockStatementVisitor |
The visitor for all kinds of block statements (statements that may appear with a block).
|
| Visitor.ComprehensiveVisitor |
|
| Visitor.ElementValueArrayInitializerVisitor |
|
| Visitor.ElementValueVisitor |
|
| Visitor.ImportVisitor |
The visitor for all kinds of IMPORT declarations.
|
| Visitor.LvalueVisitor |
|
| Visitor.RvalueVisitor |
|
| Visitor.TypeBodyDeclarationVisitor |
The visitor for all kinds of type body declarations (declarations that may appear in the body of a type
declaration).
|
| Visitor.TypeDeclarationVisitor |
The visitor for all kinds of type declarations.
|
| Visitor.TypeVisitor |
|
| WarningHandler |
|
| ZipFileResourceFinder |
|