Package | Description |
---|---|
org.codehaus.janino |
The classes in this package pose the core of the Janino JavaTM
compiler.
|
org.codehaus.janino.samples |
Sample applications for the Janino JavaTM compiler.
|
org.codehaus.janino.tools |
Auxiliary command line tools related to JANINO.
|
org.codehaus.janino.util |
Application-independent helper classes.
|
Class and Description |
---|
Access
Return value for
IClass.IMember.getAccess() . |
ClassBodyEvaluator
The
optionalClassLoader serves two purposes:
It is used to look for classes referenced by the class body. |
CodeContext
The context of the compilation of a function (constructor or method).
|
CodeContext.Inserter
A class that implements an insertion point into a "Code"
attribute.
|
CodeContext.Offset
A class that represents an offset within a "Code" attribute.
|
IClass
A simplified equivalent to "java.lang.reflect".
|
IClass.IConstructor |
IClass.IField |
IClass.IInvocable |
IClass.IMember |
IClass.IMethod |
IClassLoader
Loads an
IClass by type name. |
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 Java™ array initializer (JLS 10.6).
|
Java.ArrayInitializerOrRvalue |
Java.ArrayLength |
Java.ArrayType
Representation of a Java™ array type (JLS 10.1).
|
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
Base of all statements that can appear in a block.
|
Java.BooleanRvalue
Base class for
Java.Rvalue s 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.ClassDeclaration |
Java.ClassLiteral |
Java.CompilationUnit
Holds the result of
Parser.parseCompilationUnit() . |
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.EmptyStatement
Represents the "empty statement", i.e.
|
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
Java.ConstructorDeclarator and
Java.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.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.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
|
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.Statement |
Java.SuperclassFieldAccessExpression
Representation of "super.fld" and "Type.super.fld".
|
Java.SuperclassMethodInvocation |
Java.SuperConstructorInvocation |
Java.SwitchStatement
14.10 The "switch" Statement
|
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 |
JavaSourceClassLoader
A
ClassLoader that, unlike usual ClassLoader s,
does not load byte code, but reads Java™ source code and then scans, parses,
compiles and loads it into the virtual machine. |
Parser.ClassDeclarationContext |
Parser.InterfaceDeclarationContext |
Scanner
Splits up a character stream into tokens and returns them as
String objects. |
Scanner.Token |
ScriptEvaluator
A number of "convenience constructors" exist that execute the setup steps instantly.
|
SimpleCompiler
To set up a
SimpleCompiler object, proceed as described for ISimpleCompiler . |
UnitCompiler.ErrorHandler |
Visitor.AtomVisitor |
Visitor.BlockStatementVisitor |
Visitor.ComprehensiveVisitor |
Visitor.ImportVisitor |
Visitor.LvalueVisitor |
Visitor.RvalueVisitor |
Visitor.TypeBodyDeclarationVisitor |
Visitor.TypeDeclarationVisitor |
Visitor.TypeVisitor |
WarningHandler
Interface type for
UnitCompiler.setWarningHandler(WarningHandler) . |
Class and Description |
---|
Java.ClassDeclaration |
Java.FieldDeclaration
This class is derived from "Statement", because it provides for the
initialization of the field.
|
Java.InterfaceDeclaration |
Java.LocalVariableDeclarationStatement |
Class and Description |
---|
IClass.IMethod |
IClassLoader
Loads an
IClass by type name. |
Java.Invocation |
UnitCompiler
This class actually implements the Java™ compiler.
|
Copyright © 2001–2013. All rights reserved.