Package org.codehaus.janino
Class Java
- java.lang.Object
-
- org.codehaus.janino.Java
-
public final class Java extends java.lang.Object
This wrapper class defines classes that represent the elements of the Java™ programming language.Notices:
- "JLS1" refers to "The Java™ Language Specification, First Edition".
- "JLS" or "JLS2" refers to "The Java™ Language Specification, Second Edition".
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
Java.AbstractTypeBodyDeclaration
static class
Java.AbstractTypeDeclaration
static class
Java.AlternateConstructorInvocation
static class
Java.AmbiguousName
This class is special: It does not extend/implement the Atom subclasses, but overrides Atom's "to...()" methods.static interface
Java.Annotation
static class
Java.AnonymousClassDeclaration
static class
Java.ArrayAccessExpression
This class implements an array access.static class
Java.ArrayInitializer
Represents a Java™ array initializer (JLS 10.6).static interface
Java.ArrayInitializerOrRvalue
static class
Java.ArrayLength
static class
Java.ArrayType
Representation of a Java™ array type (JLS 10.1).static class
Java.AssertStatement
static class
Java.Assignment
static class
Java.Atom
static class
Java.BasicType
Representation of a Java™ "basic type" (obviously equaivalent to a "primitive type") (JLS 4.2).static class
Java.BinaryOperation
Representation of all non-operand-modifying Java™ binary operations.static class
Java.Block
Representation of a Java™ "block" (JLS 14.2).static interface
Java.BlockStatement
Everything that can be compiled to code, e.g.static class
Java.BooleanLiteral
static class
Java.BooleanRvalue
Base class forJava.Rvalue
s that compile better as conditional branches.static class
Java.BreakableStatement
Base class for statements that can be terminated abnormally with a "break" statement.static class
Java.BreakStatement
Representation of the Java™ "break" statement (JLS 14.14).static class
Java.Cast
static class
Java.CatchClause
static class
Java.CharacterLiteral
static class
Java.ClassDeclaration
static class
Java.ClassLiteral
static class
Java.CompilationUnit
Holds the result ofParser.parseCompilationUnit()
.static class
Java.ConditionalExpression
static class
Java.ConstructorDeclarator
static class
Java.ConstructorInvocation
static class
Java.ContinuableStatement
static class
Java.ContinueStatement
Representation of the Java™ "continue" statement (JLS 14.15).static class
Java.Crement
Objects of this class represent represent one pre- or post-increment or decrement.static interface
Java.DocCommentable
static class
Java.DoStatement
static interface
Java.ElementValue
static class
Java.ElementValueArrayInitializer
static class
Java.ElementValuePair
static class
Java.EmptyStatement
Represents the "empty statement", i.e.static class
Java.EnclosingScopeOfTypeDeclaration
Lazily determines and returns the enclosingJava.Scope
of the givenJava.TypeDeclaration
.static class
Java.ExpressionStatement
static class
Java.FieldAccess
Representation of an access to a field of a class or an interface.static class
Java.FieldAccessExpression
This class implements class or interface field access, and also the "array length" expression "xy.length".static class
Java.FieldDeclaration
This class is derived from "Statement", because it provides for the initialization of the field.static class
Java.FloatingPointLiteral
static class
Java.ForStatement
static class
Java.FunctionDeclarator
Abstract base class forJava.ConstructorDeclarator
andJava.MethodDeclarator
.static class
Java.IfStatement
static class
Java.Initializer
Representation of an instance (JLS2 8.6) or static initializer (JLS2 8.7).static class
Java.Instanceof
static class
Java.IntegerLiteral
static class
Java.InterfaceDeclaration
static class
Java.Invocation
static class
Java.LabeledStatement
static class
Java.Literal
static class
Java.LocalClassDeclaration
static class
Java.LocalClassDeclarationStatement
static class
Java.LocalVariable
Used during resolution.static class
Java.LocalVariableAccess
Representation of a local variable access -- used during compilation.static class
Java.LocalVariableDeclarationStatement
static class
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.static interface
Java.Locatable
This interface is implemented by objects which are associated with a location in the source code.static class
Java.Located
static class
Java.Lvalue
Representation of an "lvalue", i.e.static class
Java.MarkerAnnotation
static class
Java.MemberClassDeclaration
static class
Java.MemberInterfaceDeclaration
static interface
Java.MemberTypeDeclaration
Represents a class or interface declaration where the immediately enclosing scope is another class or interface declaration.static class
Java.MethodDeclarator
static class
Java.MethodInvocation
static class
Java.ModifiersAndAnnotations
static class
Java.NamedClassDeclaration
static interface
Java.NamedTypeDeclaration
Represents the declaration of a class or an interface that has a name.static class
Java.NewAnonymousClassInstance
static class
Java.NewArray
static class
Java.NewClassInstance
static class
Java.NewInitializedArray
static class
Java.NormalAnnotation
static class
Java.NullLiteral
static class
Java.Package
static class
Java.PackageDeclaration
Represents a package declaration likestatic class
Java.PackageMemberClassDeclaration
static class
Java.PackageMemberInterfaceDeclaration
static interface
Java.PackageMemberTypeDeclaration
Represents a class or interface declaration on compilation unit level.static class
Java.ParameterAccess
static class
Java.ParenthesizedExpression
static class
Java.QualifiedThisReference
Representation of an access to the current object or an enclosing instance.static class
Java.ReferenceType
static class
Java.ReturnStatement
static class
Java.Rvalue
Representation of an "rvalue", i.e.static class
Java.RvalueMemberType
static interface
Java.Scope
static class
Java.SimpleType
static class
Java.SingleElementAnnotation
static class
Java.Statement
Everything that can occur in the body of a method or in a block.static class
Java.StringLiteral
static class
Java.SuperclassFieldAccessExpression
Representation of "super.fld" and "Type.super.fld".static class
Java.SuperclassMethodInvocation
static class
Java.SuperConstructorInvocation
static class
Java.SwitchStatement
14.10 The "switch" Statementstatic class
Java.SynchronizedStatement
static class
Java.ThisReference
Representation of an access to the innermost enclosing instance.static class
Java.ThrowStatement
static class
Java.TryStatement
static class
Java.Type
Representation of a Java™ type.static interface
Java.TypeBodyDeclaration
Representation of a "ClassBodyDeclaration" or an "InterfaceMemberDeclaration".static interface
Java.TypeDeclaration
static class
Java.UnaryOperation
This class implements the unary operators "+", "-", "~" and "!".static class
Java.VariableDeclarator
Used by FieldDeclaration and LocalVariableDeclarationStatement.static class
Java.WhileStatement
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static java.lang.String
join(java.lang.Object[] a, java.lang.String separator)
static java.lang.String
join(java.lang.Object[] a, java.lang.String separator, int off, int len)
-