Package org.codehaus.janino
Class Java
- java.lang.Object
-
- org.codehaus.janino.Java
-
public final class Java extends java.lang.ObjectThis 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 classJava.AbstractTypeBodyDeclarationstatic classJava.AbstractTypeDeclarationstatic classJava.AlternateConstructorInvocationstatic classJava.AmbiguousNameThis class is special: It does not extend/implement the Atom subclasses, but overrides Atom's "to...()" methods.static interfaceJava.Annotationstatic classJava.AnonymousClassDeclarationstatic classJava.ArrayAccessExpressionThis class implements an array access.static classJava.ArrayInitializerRepresents a Java™ array initializer (JLS 10.6).static interfaceJava.ArrayInitializerOrRvaluestatic classJava.ArrayLengthstatic classJava.ArrayTypeRepresentation of a Java™ array type (JLS 10.1).static classJava.AssertStatementstatic classJava.Assignmentstatic classJava.Atomstatic classJava.BasicTypeRepresentation of a Java™ "basic type" (obviously equaivalent to a "primitive type") (JLS 4.2).static classJava.BinaryOperationRepresentation of all non-operand-modifying Java™ binary operations.static classJava.BlockRepresentation of a Java™ "block" (JLS 14.2).static interfaceJava.BlockStatementEverything that can be compiled to code, e.g.static classJava.BooleanLiteralstatic classJava.BooleanRvalueBase class forJava.Rvalues that compile better as conditional branches.static classJava.BreakableStatementBase class for statements that can be terminated abnormally with a "break" statement.static classJava.BreakStatementRepresentation of the Java™ "break" statement (JLS 14.14).static classJava.Caststatic classJava.CatchClausestatic classJava.CharacterLiteralstatic classJava.ClassDeclarationstatic classJava.ClassLiteralstatic classJava.CompilationUnitHolds the result ofParser.parseCompilationUnit().static classJava.ConditionalExpressionstatic classJava.ConstructorDeclaratorstatic classJava.ConstructorInvocationstatic classJava.ContinuableStatementstatic classJava.ContinueStatementRepresentation of the Java™ "continue" statement (JLS 14.15).static classJava.CrementObjects of this class represent represent one pre- or post-increment or decrement.static interfaceJava.DocCommentablestatic classJava.DoStatementstatic interfaceJava.ElementValuestatic classJava.ElementValueArrayInitializerstatic classJava.ElementValuePairstatic classJava.EmptyStatementRepresents the "empty statement", i.e.static classJava.EnclosingScopeOfTypeDeclarationLazily determines and returns the enclosingJava.Scopeof the givenJava.TypeDeclaration.static classJava.ExpressionStatementstatic classJava.FieldAccessRepresentation of an access to a field of a class or an interface.static classJava.FieldAccessExpressionThis class implements class or interface field access, and also the "array length" expression "xy.length".static classJava.FieldDeclarationThis class is derived from "Statement", because it provides for the initialization of the field.static classJava.FloatingPointLiteralstatic classJava.ForStatementstatic classJava.FunctionDeclaratorAbstract base class forJava.ConstructorDeclaratorandJava.MethodDeclarator.static classJava.IfStatementstatic classJava.InitializerRepresentation of an instance (JLS2 8.6) or static initializer (JLS2 8.7).static classJava.Instanceofstatic classJava.IntegerLiteralstatic classJava.InterfaceDeclarationstatic classJava.Invocationstatic classJava.LabeledStatementstatic classJava.Literalstatic classJava.LocalClassDeclarationstatic classJava.LocalClassDeclarationStatementstatic classJava.LocalVariableUsed during resolution.static classJava.LocalVariableAccessRepresentation of a local variable access -- used during compilation.static classJava.LocalVariableDeclarationStatementstatic classJava.LocalVariableSlotAll 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 interfaceJava.LocatableThis interface is implemented by objects which are associated with a location in the source code.static classJava.Locatedstatic classJava.LvalueRepresentation of an "lvalue", i.e.static classJava.MarkerAnnotationstatic classJava.MemberClassDeclarationstatic classJava.MemberInterfaceDeclarationstatic interfaceJava.MemberTypeDeclarationRepresents a class or interface declaration where the immediately enclosing scope is another class or interface declaration.static classJava.MethodDeclaratorstatic classJava.MethodInvocationstatic classJava.ModifiersAndAnnotationsstatic classJava.NamedClassDeclarationstatic interfaceJava.NamedTypeDeclarationRepresents the declaration of a class or an interface that has a name.static classJava.NewAnonymousClassInstancestatic classJava.NewArraystatic classJava.NewClassInstancestatic classJava.NewInitializedArraystatic classJava.NormalAnnotationstatic classJava.NullLiteralstatic classJava.Packagestatic classJava.PackageDeclarationRepresents a package declaration likestatic classJava.PackageMemberClassDeclarationstatic classJava.PackageMemberInterfaceDeclarationstatic interfaceJava.PackageMemberTypeDeclarationRepresents a class or interface declaration on compilation unit level.static classJava.ParameterAccessstatic classJava.ParenthesizedExpressionstatic classJava.QualifiedThisReferenceRepresentation of an access to the current object or an enclosing instance.static classJava.ReferenceTypestatic classJava.ReturnStatementstatic classJava.RvalueRepresentation of an "rvalue", i.e.static classJava.RvalueMemberTypestatic interfaceJava.Scopestatic classJava.SimpleTypestatic classJava.SingleElementAnnotationstatic classJava.StatementEverything that can occur in the body of a method or in a block.static classJava.StringLiteralstatic classJava.SuperclassFieldAccessExpressionRepresentation of "super.fld" and "Type.super.fld".static classJava.SuperclassMethodInvocationstatic classJava.SuperConstructorInvocationstatic classJava.SwitchStatement14.10 The "switch" Statementstatic classJava.SynchronizedStatementstatic classJava.ThisReferenceRepresentation of an access to the innermost enclosing instance.static classJava.ThrowStatementstatic classJava.TryStatementstatic classJava.TypeRepresentation of a Java™ type.static interfaceJava.TypeBodyDeclarationRepresentation of a "ClassBodyDeclaration" or an "InterfaceMemberDeclaration".static interfaceJava.TypeDeclarationstatic classJava.UnaryOperationThis class implements the unary operators "+", "-", "~" and "!".static classJava.VariableDeclaratorUsed by FieldDeclaration and LocalVariableDeclarationStatement.static classJava.WhileStatement
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static java.lang.Stringjoin(java.lang.Object[] a, java.lang.String separator)static java.lang.Stringjoin(java.lang.Object[] a, java.lang.String separator, int off, int len)
-