Class Summary |
Access |
Return value for IMember.
|
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. |
AstCompilationUnitGenerator | |
AutoIndentWriter |
A java.io.FilterWriter that automatically indents lines by looking at
trailing opening braces ('{') and leading closing braces ('}'). |
Benchmark |
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.Reporter |
Interface used to report messages. |
ByteArrayClassLoader |
This ClassLoader allows for the loading of a set of JavaTM classes
provided in class file format. |
CachingJavaSourceClassLoader |
A JavaSourceClassLoader that uses a
resource storage provided by the application to cache compiled
classes and thus saving unnecessary recompilations.
|
CausedException |
For compatibility with pre-1.4 JDKs, this class mimics |
ClassBodyDemo | |
ClassBodyEvaluator |
Parses a class body and returns it as a java.lang.Class object
ready for use with java.lang.reflect.
|
ClassFile |
An object that represents the JavaTM "class file" format.
|
ClassFileIClass |
A wrapper object that turns a ClassFile object into a
IClass. |
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.MethodInfo |
This class represents a "method_info" structure, as defined by the
JVM specification. |
ClassFile.SourceFileAttribute |
Representation of a "SourceFile" attribute (see JVMS 4.7.7). |
ClassFile.SyntheticAttribute |
Representation of a "Synthetic" attribute (see JVMS 4.7.6). |
ClassLoaderIClassLoader |
An IClassLoader that loads IClasses through a reflection
ClassLoader. |
CodeContext |
The context of the compilation of a function (constructor or method). |
CodeContext.FixUp |
A throw-in interface that marks Offsets
as "fix-ups": During the execution of
CodeContext, all "fix-ups" are invoked and
can do last touches to the code attribute.
|
CodeContext.Inserter |
A class that implements an insertion point into a "Code"
attribute. |
CodeContext.LineNumberOffset | |
CodeContext.Offset |
A class that represents an offset within a "Code" attribute.
|
CompileException |
An exception that reflects an error during compilation. |
Compiler |
A simplified substitute for the javac tool.
|
Compiler.SimpleWarningHandler | |
Cookable |
"Cooking" means scanning a sequence of JavaTM tokens with a Scanner and turning them into some artifact. |
DebuggingInformation | |
DeclarationCounter |
An example application for the Traverser:
Reads, scans and parses the files named on the command line and counts
several kinds of declarations. |
DemoBase |
Common base class for the "...Demo" classes that demostrate Janino. |
Descriptor |
Helper class that defines useful methods for handling "field descriptors"
(JVMS 4.3.2) and "method descriptors" (JVMS 4.3.3).
Typical descriptors are:
I Integer
[I Array of integer
Lpkg1/pkg2/Cls; Class
Lpkg1/pkg2/Outer$Inner; Member class
|
DirectoryIterator |
An Iterator that finds the normal Files who's names are
FilenameFilter#accept(java.io.File, java.lang.String)ed 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:
destinationDirectory/resourceName |
DirectoryResourceFinder |
A FileResourceFinder that finds file resources in
a directory. |
Disassembler |
A Java bytecode disassembler, comparable to JAVAP, which is part of
Sun's JDK.
|
Disassembler.LineNumberTableAttribute | |
EnumerationIterator |
An java.util.Iterator that iterates over the elements of an
java.util.Enumeration. |
Enumerator |
A class that represents an enumerated value. |
EnumeratorFormatException |
Represents a problem related to parsing Enumerators
and EnumeratorSets, in analogy with
EnumeratorFormatException. |
EnumeratorSet |
A class that represents an immutable set of Enumerators.
|
EnumeratorSetTypeException |
Indicates that an attempt was made to add or remove values of different type to an
EnumeratorSet. |
ExpressionDemo |
A test program that allows you to play around with the
ExpressionEvaluator class. |
ExpressionEvaluator |
An engine that evaluates expressions in JavaTM bytecode.
|
FileResource |
Representation of a resource that is a java.io.File. |
FileResourceCreator |
Stores a stream of bytes in a named resource. |
FileResourceFinder |
This class specializes the ResourceFinder
for finding resources in java.io.Files.
|
FilterIterator |
An java.util.Iterator that retrieves its elements from a delegate
java.util.Iterator. |
FilterListIterator |
An java.util.ListIterator that retrieves its elements from a delegate
java.util.ListIterator. |
FilterWarningHandler | |
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". |
IClassLoader |
Loads an IClass by type name. |
IClass.IConstructor | |
IClass.IField | |
IClass.IInvocable | |
IClass.IMember | |
IClass.IMethod | |
IteratorCollection |
A java.util.Collection that lazily reads its elements from an
java.util.Iterator.
|
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
JavaTM programming language.
|
JavaSourceClassLoader |
A ClassLoader that, unlike usual ClassLoaders,
does not load byte code, but reads JavaTM source code and then scans, parses,
compiles and loads it into the virtual machine.
|
JavaSourceClassLoader.ProtectionDomainFactory | |
JavaSourceIClassLoader |
This IClassLoader finds, scans and parses compilation units.
|
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.AnonymousClassDeclaration | |
Java.ArrayAccessExpression |
This class implements an array access. |
Java.ArrayInitializer |
Represents a JavaTM array initializer (JLS 10.6).
|
Java.ArrayInitializerOrRvalue | |
Java.ArrayLength | |
Java.ArrayType |
Representation of a JavaTM array type (JLS 10.1). |
Java.Assignment | |
Java.Atom |
Abstract base class for Type, Rvalue and
Lvalue. |
Java.BasicType |
Representation of a JavaTM "basic type" (obviously
equaivalent to a "primitive type") (JLS 4.2). |
Java.BinaryOperation |
Representation of all non-operand-modifying JavaTM binary
operations.
|
Java.Block |
Representation of a JavaTM "block" (JLS 14.2).
|
Java.BlockStatement |
Base of all statements that can appear in a block. |
Java.BooleanRvalue |
Base class for 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 JavaTM "break" statement (JLS 14.14). |
Java.Cast | |
Java.CatchClause | |
Java.ClassDeclaration | |
Java.ClassLiteral | |
Java.CompilationUnit |
Holds the result of Parser. |
Java.CompilationUnit.ImportDeclaration | |
Java.CompilationUnit.SingleStaticImportDeclaration |
Represents a single static import declaration like
import java.util.Collections.EMPTY_MAP; |
Java.CompilationUnit.SingleTypeImportDeclaration |
Represents a single type import declaration like
import java.util.Map; |
Java.CompilationUnit.StaticImportOnDemandDeclaration |
Represents a static-import-on-demand declaration like
import java.util.Collections.*; |
Java.CompilationUnit.TypeImportOnDemandDeclaration |
Represents a type-import-on-demand declaration like
import java.util.*; |
Java.ConditionalExpression | |
Java.ConstructorDeclarator | |
Java.ConstructorInvocation | |
Java.ContinuableStatement | |
Java.ContinueStatement |
Representation of the JavaTM "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.EmptyStatement |
Represents the "empty statement", i.e. the blank semicolon. |
Java.EnclosingScopeOfTypeDeclaration |
Lazily determines and returns the enclosing
Scope of the given
TypeDeclaration. |
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.ForStatement | |
Java.FunctionDeclarator |
Abstract base class for ConstructorDeclarator and
MethodDeclarator. |
Java.FunctionDeclarator.FormalParameter | |
Java.IfStatement | |
Java.Initializer |
Representation of an instance (JLS2 8.6) or static initializer (JLS2 8.7). |
Java.Instanceof | |
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.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. an expression that has a type and
a value, and can be assigned to: An expression that can be the
left-hand-side of an assignment. |
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.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.Package | |
Java.PackageDeclaration |
Represents a package declaration like
package com.acme.tools; |
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. an expression that has a type and
a value, but cannot be assigned to: An expression that can be the
right-hand-side of an assignment. |
Java.RvalueMemberType | |
Java.Scope | |
Java.SimpleType | |
Java.Statement | |
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 JavaTM type. |
Java.TypeBodyDeclaration |
Representation of a "ClassBodyDeclaration" or an "InterfaceMemberDeclaration". |
Java.TypeDeclaration | |
Java.UnaryOperation |
This class implements the unary operators "+", "-", "~" and "! |
Java.VariableDeclarator | |
Java.WhileStatement | |
JGrep |
Reads a set of compilation units from the file system and searches it for specific
JavaTM constructs, e.g. invocations of a particular method.
|
JGrep.MethodInvocationAction | |
JGrep.MethodInvocationPredicate | |
LazyMultiResourceFinder |
A ResourceFinder that examines a set
of ResourceFinders lazily as it
searches for resources.
|
LocatedException |
An Exception that is associated with an optional Location in a source file. |
Location |
Represents the location of a character in a file, as defined by
file name, line number and column number. |
MapResourceCreator |
Creates resources as byte arrays in a delegate java.util.Map. |
MapResourceFinder |
A ResourceFinder that provides access
to resource stored as byte arrays in a java.util.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 java.util.Iterator that iterates over a delegate, which produces
arrays, java.util.Collections, java.util.Enumerations or
java.util.Iterators. |
MultiIterator |
An java.util.Iterator that traverses a java.util.Collection of
java.util.Iterators. |
MultiResourceFinder |
A ResourceFinder that finds its resources through a collection of
other ResourceFinders. |
Parser |
A parser for the JavaTM programming language. |
Parser.ClassDeclarationContext | |
Parser.InterfaceDeclarationContext | |
Parser.ParseException |
An exception that reflects an error during parsing.
|
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 |
An object that produces some java.lang.Object each time the
produce method is invoked. |
ProducerIterator |
An java.util.Iterator that iterates over all the objects produced by a delegate
Producer.
|
Resource |
A Resource is "something" that is typically found by a
ResourceFinder, can be opened for
reading, and optionally has a lastModified property.
|
ResourceCreator |
Opens a resource, characterized by a name, for writing.
|
ResourceFinder |
Finds a resource by name.
|
ResourceFinderClassLoader |
A ClassLoader that uses a ResourceFinder
to find ".class" files. |
ResourceFinderIClassLoader |
This IClassLoader loads IClasses through a
a ResourceFinder that designates
ClassFiles. |
ReverseListIterator |
A java.util.ListIterator that reverses the direction of all operations
of a delegate java.util.ListIterator. |
Scanner |
Splits up a character stream into tokens and returns them as
java.lang.String String objects.
|
Scanner.EOFToken | |
Scanner.IdentifierToken | |
Scanner.KeywordToken | |
Scanner.LiteralToken |
The type of the value parameter determines the type of the literal
token:
Type/value returned by getLiteralValue | Literal |
String | STRING literal |
Character | CHAR literal |
Integer | INT literal |
Long | LONG literal |
Float | FLOAT literal |
Double | DOUBLE literal |
Boolean | BOOLEAN literal |
null | NULL literal |
|
Scanner.OperatorToken | |
Scanner.ScanException |
An exception that reflects an error during parsing. |
Scanner.Token | |
ScriptDemo |
A test program that allows you to play around with the
ScriptEvaluator class. |
ScriptEvaluator |
An engine that executes a script in JavaTM bytecode.
|
ShippingCost |
Sample application which demonstrates how to use the
ExpressionEvaluator class. |
SimpleCompiler |
A simplified version of Compiler that can compile only a single
compilation unit. |
StringPattern |
Implementation of a UNIX shell-like string pattern algorithm.
|
TeeReader |
A java.io.FilterReader that copies the bytes being passed through
to a given java.io.Writer. |
TransformingIterator |
An java.util.Iterator that transforms its elements on-the-fly. |
Traverser |
This class traverses the subnodes of an AST. |
TraversingIterator |
An java.util.Iterator that iterates over a delegate, and while
it encounters an array, a java.util.Collection, an
java.util.Enumeration or a java.util.Iterator element, it iterates
into it recursively.
|
UnicodeUnescapeException |
Represents a problem that occurred while unescaping a unicode escape
sequence through a UnicodeUnescapeReader. |
UnicodeUnescapeReader |
A FilterReader that unescapes the "Unicode Escapes"
as described in
the
Java Language Specification, 2nd edition.
|
UnitCompiler |
This class actually implements the JavaTM compiler. |
UnitCompiler.ErrorHandler |
Interface type for UnitCompiler. |
UnitCompiler.SimpleIField |
Short-hand implementation of IField that implements a
non-constant, non-static, package-accessible field. |
UniterableElementException |
Thrown by MultiDimensionalIterator to
indicate that it has encountered an element that cannot be iterated. |
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.AtomVisitor | |
Visitor.BlockStatementVisitor | |
Visitor.ComprehensiveVisitor | |
Visitor.ImportVisitor | |
Visitor.LvalueVisitor | |
Visitor.RvalueVisitor | |
Visitor.TypeBodyDeclarationVisitor | |
Visitor.TypeDeclarationVisitor | |
Visitor.TypeVisitor | |
WarningHandler |
Interface type for setWarningHandler. |
ZipFileResourceFinder |
A ResourceFinder that finds resources in a ZIP file. |