# Uses of Class
org.codehaus.janino.Java.Rvalue

Packages that use Java.Rvalue
Package
Description
org.codehaus.janino
The core of the Janino Java compiler.
org.codehaus.janino.util
Application-independent helper classes.

## Uses of Java.Rvalue in org.codehaus.janino

Subclasses of Java.Rvalue in org.codehaus.janino
Modifier and Type
Class
Description
`static final class`
`Java.AmbiguousName`
Representation of a JLS7 6.5.2 "ambiguous name".
`static final class`
`Java.ArrayAccessExpression`
Representation of a JLS7 15.13 (JLS8: 15.10.3) "array access expression".
`static final class`
`Java.ArrayCreationReference`
Representation of a "method reference expression", as described in JLS9 15.13, with the form "`<var>arrayType</var>::new`".
`static final class`
`Java.ArrayLength`
Representation of the JLS7 10.7 array type "length" pseudo-member.
`static final class`
`Java.Assignment`
Representation of all JLS7 15.26 assignments.
`static final class`
`Java.BinaryOperation`
Representation of all non-operand-modifying binary operations.
`static final class`
`Java.BooleanLiteral`
Representation of a "boolean literal" (JLS7 3.10.3) (type `boolean`).
`static class`
`Java.BooleanRvalue`
Base class for `Java.Rvalue`s that compile better as conditional branches.
`static final class`
`Java.Cast`
Representation of a JLS7 15.16 "cast expression".
`static final class`
`Java.CharacterLiteral`
Representation of a "character literal" (JLS7 3.10.4) (type `char`).
`static final class`
`Java.ClassInstanceCreationReference`
Representation of a "method reference expression", as described in JLS9 15.13, with the form "`<var>classType</var>::new`".
`static final class`
`Java.ClassLiteral`
Representation of a JLS7 15.8.2 "class literal".
`static final class`
`Java.ConditionalExpression`
Representation of a JLS7 15.25 "conditional operation".
`static final class`
`Java.Crement`
Representation of a JLS7 15.14.2 "postfix increment operation", a JLS7 15.14.3 "postfix decrement operation", a JLS7 15.15.1 "prefix increment operation" or a JLS7 15.15.2 "prefix decrement operation".
`static final class`
`Java.FieldAccess`
Representation of an access to a field of a class or an interface.
`static final class`
`Java.FieldAccessExpression`
Representation of a JLS7 15.11 "field access expression", including the "array length" pseudo field access.
`static final class`
`Java.FloatingPointLiteral`
Representation of a "floating-point literal" (JLS7 3.10.2) (types `float` and `double`).
`static final class`
`Java.Instanceof`
Representation of a JLS7 15.20.2 "type comparison operation".
`static final class`
`Java.IntegerLiteral`
Representation of an "integer literal" (JLS7 3.10.1) (types `int` and `long`).
`static class`
`Java.Invocation`
Abstract base class for `Java.MethodInvocation` and `Java.SuperclassMethodInvocation`.
`static class`
`Java.LambdaExpression`
Representation of a (Java 8+) "lambda expression", see JLS9 15.27.
`static class`
`Java.Literal`
Abstract base class for the various Java literals; see JLS7 3.10.
`static final class`
`Java.LocalVariableAccess`
Representation of a local variable access -- used during compilation.
`static class`
`Java.Lvalue`
Representation of an "lvalue", i.e.
`static final class`
`Java.MethodInvocation`
Representation of a JLS7 15.12 "method invocation expression".
`static final class`
`Java.MethodReference`
Representation of a "method reference expression", as described in JLS9 15.13, with the form "`<var>referenceType</var>::identifier`.
`static final class`
`Java.NewAnonymousClassInstance`
Representation of a JLS7 15.9 "anonymous class instance creation expression".
`static final class`
`Java.NewArray`
Representation of a JLS7 15.10 "array creation expression".
`static final class`
`Java.NewClassInstance`
Representation of a JLS7 "class instance creation expression".
`static final class`
`Java.NewInitializedArray`
Representation of a JLS7 15.10 "array creation expression".
`static final class`
`Java.NullLiteral`
Representation of a "null literal" (JLS7 3.10.7).
`static final class`
`Java.ParameterAccess`
"Artificial" operation for accessing the parameters of the synthetic constructor of an anonymous class.
`static final class`
`Java.ParenthesizedExpression`
Representation of a JLS7 15.8.5 "parenthesized expression".
`static final class`
`Java.QualifiedThisReference`
Representation of an JLS7 15.8.4 access to the current object or an enclosing instance.
`static final class`
`Java.SimpleConstant`
This class is not used when code is parsed; it is intended for "programmatic" literals.
`static final class`
`Java.StringLiteral`
Representation of a "string literal" (JLS7 3.10.5) (type `String`).
`static final class`
`Java.SuperclassFieldAccessExpression`
Representation of an JLS7 "superclass field access expression", e.g.
`static final class`
`Java.SuperclassMethodInvocation`
Representation of a JLS7 15.12.1.1.3 "superclass method invocation".
`static final class`
`Java.TextBlock`
Representation of a "text block" (JLS17 3.10.6 Text Blocks) (type `String`).
`static final class`
`Java.ThisReference`
Representation of an JLS7 15.8.3 access to the innermost enclosing instance.
`static final class`
`Java.UnaryOperation`
Representation of a JLS7 15.15.3 "unary plus operator", a JLS7 15.15.4 "unary minus operator", a JLS7 15.15.5 "bitwise complement operator" or a JLS7 15.15.6 "logical complement operator".
Fields in org.codehaus.janino declared as Java.Rvalue
Modifier and Type
Field
Description
`final Java.Rvalue[]`
Java.ConstructorInvocation.`arguments`
The arguments to pass to the constructor.
`final Java.Rvalue[]`
Java.EnumConstant.`arguments`
The optional arguments that appear after the enum constant name iff the enum declares constructors with one or more parameters.
`final Java.Rvalue[]`
Java.Invocation.`arguments`
Arguments to pass to the method.
`final Java.Rvalue[]`
Java.NewAnonymousClassInstance.`arguments`
The arguments to pass to the constructor.
`final Java.Rvalue[]`
Java.NewClassInstance.`arguments`
The arguments to pass to the constructor.
`final Java.Rvalue`
Java.DoStatement.`condition`
The condition in the WHILE clause of this DO statement.
`final Java.Rvalue`
Java.ForStatement.`condition`
The optional "condition" part of the "basic FOR statement".
`final Java.Rvalue`
Java.IfStatement.`condition`
The condition of the IF statement.
`final Java.Rvalue`
Java.SwitchStatement.`condition`
The rvalue that is evaluated and matched with the CASE clauses.
`final Java.Rvalue`
Java.WhileStatement.`condition`
The "condition" of the WHILE statement.
`final Java.Rvalue[]`
Java.NewArray.`dimExprs`
The sizes of the first dimensions to instantiate.
`final Java.Rvalue`
Java.ExpressionLambdaBody.`expression`
The expression that poses the lambda body.
`final Java.Rvalue`
Java.ForEachStatement.`expression`
The "expression" part of the "enhanced FOR statement".
`final Java.Rvalue`
Java.SynchronizedStatement.`expression`
The object reference on which the statement synchronizes.
`final Java.Rvalue`
Java.ThrowStatement.`expression`
The rvalue (of type `Throwable`) thrown by this THROW statement.
`final Java.Rvalue`
Java.AssertStatement.`expression1`
The left-hand-side expression of this ASSERT statement.
`final Java.Rvalue`
Java.AssertStatement.`expression2`
The optional right-hand-side expression of this ASSERT statement.
`final Java.Rvalue`
Java.ArrayAccessExpression.`index`
The index value to use.
`final Java.Rvalue`
Java.ArrayAccessExpression.`lhs`
The array to access (must be an `Java.Lvalue` if the access is modifying).
`final Java.Rvalue`
Java.ArrayLength.`lhs`
The rvalue identifying the array to determine the length of.
`final Java.Rvalue`
Java.BinaryOperation.`lhs`
The left hand side operand.
`final Java.Rvalue`
Java.ConditionalExpression.`lhs`
Left-hand side of this conditional operation.
`final Java.Rvalue`
Java.Instanceof.`lhs`
The rvalue who's type is to be compared.
`final Java.Rvalue`
Java.ConditionalExpression.`mhs`
Middle-hand side of this conditional operation.
`final Java.Rvalue`
Java.UnaryOperation.`operand`
The rvalue to operate upon.
`final Java.Rvalue`
Java.NewAnonymousClassInstance.`qualification`
The qualification iff this a "qualified anonymous class instance creation expression".
`final Java.Rvalue`
Java.NewClassInstance.`qualification`
The qualification of this "qualified class instance creation expression".
`final Java.Rvalue`
Java.SuperConstructorInvocation.`qualification`
The qualification for this "qualified superclass constructor invocation", or `null` iff this is an "unqualified superclass constructor invocation".
`final Java.Rvalue`
Java.ReturnStatement.`returnValue`
The optional rvalue that is returned.
`final Java.Rvalue`
Java.Assignment.`rhs`
The rvalue that is assigned.
`final Java.Rvalue`
Java.BinaryOperation.`rhs`
The right hand side operand.
`final Java.Rvalue`
Java.ConditionalExpression.`rhs`
Right-hand side of this conditional operation.
`final Java.Rvalue`
Java.ExpressionStatement.`rvalue`
The rvalue that is evaluated when the statement is executed.
`final Java.Rvalue`
Java.RvalueMemberType.`rvalue`
The expression that represents the outer instance required for the instantiation of the inner type.
`final Java.Rvalue[]`
Java.ForStatement.`update`
The optional "update" part of the "basic FOR statement".
`final Java.Rvalue`
Java.Cast.`value`
The rvalue to convert.
`final Java.Rvalue`
Java.ParenthesizedExpression.`value`
The rvalue in parentheses.
`final Java.Rvalue`
Java.TryStatement.VariableAccessResource.`variableAccess`
The rvalue of this resource.
Fields in org.codehaus.janino with type parameters of type Java.Rvalue
Modifier and Type
Field
Description
`final List<Java.Rvalue>`
Java.SwitchStatement.SwitchBlockStatementGroup.`caseLabels`
The CASE labels at the top of the "switch block statement group".
Methods in org.codehaus.janino that return Java.Rvalue
Modifier and Type
Method
Description
`Java.Rvalue[]`
Parser.`parseArgumentList()`
ArgumentList := Expression { ',' Expression }
`Java.Rvalue[]`
Parser.`parseArguments()`
Arguments := '(' [ ArgumentList ] ')'
`Java.Rvalue`
Parser.`parseDimExpr()`
DimExpr := '[' Expression ']'
`Java.Rvalue[]`
Parser.`parseDimExprs()`
DimExprs := DimExpr { DimExpr }
`Java.Rvalue`
Parser.`parseExpression()`
Expression := AssignmentExpression | LambdaExpression
`Java.Rvalue[]`
Parser.`parseExpressionList()`
ExpressionList := Expression { ',' Expression }
`Java.Rvalue`
Parser.`parseLiteral()`
Literal := IntegerLiteral | FloatingPointLiteral | BooleanLiteral | CharacterLiteral | StringLiteral | NullLiteral
`Java.Rvalue`
Java.AmbiguousName.`toRvalue()`
`Java.Rvalue`
Java.Atom.`toRvalue()`
`Java.Rvalue`
Java.Rvalue.`toRvalue()`
`final Java.Rvalue`
Java.Atom.`toRvalueOrCompileException()`
Methods in org.codehaus.janino that return types with arguments of type Java.Rvalue
Modifier and Type
Method
Description
`Iterator<Java.Rvalue>`
Java.BinaryOperation.`unrollLeftAssociation()`
Transforms this binary operation into an `Iterator` over a left-to-right sequence of `Java.Rvalue`s.
Methods in org.codehaus.janino with parameters of type Java.Rvalue
Modifier and Type
Method
Description
`final Object`
UnitCompiler.`getConstantValue(Java.Rvalue rv)`
Attempts to evaluate as a constant expression.
`void`
Unparser.`unparseRvalue(Java.Rvalue rv)`
`R`
Visitor.ArrayInitializerOrRvalueVisitor.`visitRvalue(Java.Rvalue rvalue)`
`R`
Visitor.AtomVisitor.`visitRvalue(Java.Rvalue rv)`
Invoked by `accept(Visitor.AtomVisitor)`.
`R`
Visitor.ElementValueVisitor.`visitRvalue(Java.Rvalue rv)`
Invoked by `accept(Visitor.ElementValueVisitor)`
Constructors in org.codehaus.janino with parameters of type Java.Rvalue
Modifier
Constructor
Description
``
`AlternateConstructorInvocation(Location location, Java.Rvalue[] arguments)`
``
`ArrayAccessExpression(Location location, Java.Rvalue lhs, Java.Rvalue index)`
``
`ArrayLength(Location location, Java.Rvalue lhs)`
``
`AssertStatement(Location location, Java.Rvalue expression1, Java.Rvalue expression2)`
``
`Assignment(Location location, Java.Lvalue lhs, String operator, Java.Rvalue rhs)`
``
`BinaryOperation(Location location, Java.Rvalue lhs, String operator, Java.Rvalue rhs)`
``
`Cast(Location location, Java.Type targetType, Java.Rvalue value)`
``
`ConditionalExpression(Location location, Java.Rvalue lhs, Java.Rvalue mhs, Java.Rvalue rhs)`
`protected`
`ConstructorInvocation(Location location, Java.Rvalue[] arguments)`
``
`DoStatement(Location location, Java.BlockStatement body, Java.Rvalue condition)`
``
`EnumConstant(Location location, String docComment, Java.Modifier[] modifiers, String name, Java.Rvalue[] arguments)`
``
`ExpressionLambdaBody(Java.Rvalue expression)`
``
`ExpressionStatement(Java.Rvalue rvalue)`
``
`ForEachStatement(Location location, Java.FunctionDeclarator.FormalParameter currentElement, Java.Rvalue expression, Java.BlockStatement body)`
``
`ForStatement(Location location, Java.BlockStatement init, Java.Rvalue condition, Java.Rvalue[] update, Java.BlockStatement body)`
``
`IfStatement(Location location, Java.Rvalue condition, Java.BlockStatement thenStatement)`
``
`IfStatement(Location location, Java.Rvalue condition, Java.BlockStatement thenStatement, Java.BlockStatement elseStatement)`
``
`Instanceof(Location location, Java.Rvalue lhs, Java.Type rhs)`
`protected`
`Invocation(Location location, String methodName, Java.Rvalue[] arguments)`
``
`MethodInvocation(Location location, Java.Atom target, String methodName, Java.Rvalue[] arguments)`
``
`NewAnonymousClassInstance(Location location, Java.Rvalue qualification, Java.AnonymousClassDeclaration anonymousClassDeclaration, Java.Rvalue[] arguments)`
``
`NewArray(Location location, Java.Type type, Java.Rvalue[] dimExprs, int dims)`
Creates a new array with dimension dimExprs`.length +` dims.
``
`NewClassInstance(Location location, Java.Rvalue qualification, IType iType, Java.Rvalue[] arguments)`
``
`NewClassInstance(Location location, Java.Rvalue qualification, Java.Type type, Java.Rvalue[] arguments)`
``
`ParenthesizedExpression(Location location, Java.Rvalue value)`
``
`ReturnStatement(Location location, Java.Rvalue returnValue)`
``
`RvalueMemberType(Location location, Java.Rvalue rvalue, String identifier)`
Notice: The rvalue is not a subordinate object!
``
`SuperclassMethodInvocation(Location location, String methodName, Java.Rvalue[] arguments)`
``
`SuperConstructorInvocation(Location location, Java.Rvalue qualification, Java.Rvalue[] arguments)`
``
`SwitchStatement(Location location, Java.Rvalue condition, List<Java.SwitchStatement.SwitchBlockStatementGroup> sbsgs)`
``
`SynchronizedStatement(Location location, Java.Rvalue expression, Java.BlockStatement body)`
``
`ThrowStatement(Location location, Java.Rvalue expression)`
``
`UnaryOperation(Location location, String operator, Java.Rvalue operand)`
``
`VariableAccessResource(Location location, Java.Rvalue variableAccess)`
``
`WhileStatement(Location location, Java.Rvalue condition, Java.BlockStatement body)`
Constructor parameters in org.codehaus.janino with type arguments of type Java.Rvalue
Modifier
Constructor
Description
``
`SwitchBlockStatementGroup(Location location, List<Java.Rvalue> caseLabels, boolean hasDefaultLabel, List<Java.BlockStatement> blockStatements)`

## Uses of Java.Rvalue in org.codehaus.janino.util

Methods in org.codehaus.janino.util that return Java.Rvalue
Modifier and Type
Method
Description
`Java.Rvalue`
DeepCopier.`copyArrayCreationReference(Java.ArrayCreationReference subject)`
`Java.Rvalue`
DeepCopier.`copyArrayLength(Java.ArrayLength subject)`
`Java.Rvalue`
DeepCopier.`copyAssignment(Java.Assignment subject)`
`Java.Rvalue`
DeepCopier.`copyBinaryOperation(Java.BinaryOperation subject)`
`Java.Rvalue`
DeepCopier.`copyBooleanLiteral(Java.BooleanLiteral subject)`
`Java.Rvalue`
DeepCopier.`copyCast(Java.Cast subject)`
`Java.Rvalue`
DeepCopier.`copyCharacterLiteral(Java.CharacterLiteral subject)`
`Java.Rvalue`
DeepCopier.`copyClassInstanceCreationReference(Java.ClassInstanceCreationReference subject)`
`Java.Rvalue`
DeepCopier.`copyClassLiteral(Java.ClassLiteral subject)`
`Java.Rvalue`
DeepCopier.`copyConditionalExpression(Java.ConditionalExpression subject)`
`Java.Rvalue`
DeepCopier.`copyCrement(Java.Crement subject)`
`Java.Rvalue`
DeepCopier.`copyFloatingPointLiteral(Java.FloatingPointLiteral subject)`
`Java.Rvalue`
DeepCopier.`copyInstanceof(Java.Instanceof subject)`
`Java.Rvalue`
DeepCopier.`copyIntegerLiteral(Java.IntegerLiteral subject)`
`Java.Rvalue`
DeepCopier.`copyLambdaExpression(Java.LambdaExpression subject)`
`Java.Rvalue`
DeepCopier.`copyMethodInvocation(Java.MethodInvocation subject)`
`Java.Rvalue`
DeepCopier.`copyMethodReference(Java.MethodReference subject)`
`Java.Rvalue`
DeepCopier.`copyNewAnonymousClassInstance(Java.NewAnonymousClassInstance subject)`
`Java.Rvalue`
DeepCopier.`copyNewArray(Java.NewArray subject)`
`Java.Rvalue`
DeepCopier.`copyNewClassInstance(Java.NewClassInstance subject)`
`Java.Rvalue`
DeepCopier.`copyNewInitializedArray(Java.NewInitializedArray subject)`
`Java.Rvalue`
DeepCopier.`copyNullLiteral(Java.NullLiteral subject)`
`Java.Rvalue`
DeepCopier.`copyOptionalRvalue(Java.Rvalue subject)`
`Java.Rvalue[]`
DeepCopier.`copyOptionalRvalues(Java.Rvalue[] subject)`
`Java.Rvalue`
DeepCopier.`copyParameterAccess(Java.ParameterAccess pa)`
`Java.Rvalue`
DeepCopier.`copyQualifiedThisReference(Java.QualifiedThisReference subject)`
`Java.Rvalue`
DeepCopier.`copyRvalue(Java.Rvalue subject)`
`Java.Rvalue[]`
DeepCopier.`copyRvalues(Java.Rvalue[] subject)`
`Java.Rvalue`
DeepCopier.`copySimpleLiteral(Java.SimpleConstant subject)`
`Java.Rvalue`
DeepCopier.`copyStringLiteral(Java.StringLiteral subject)`
`Java.Rvalue`
DeepCopier.`copySuperclassMethodInvocation(Java.SuperclassMethodInvocation subject)`
`Java.Rvalue`
DeepCopier.`copyTextBlock(Java.TextBlock subject)`
`Java.Rvalue`
DeepCopier.`copyThisReference(Java.ThisReference subject)`
`Java.Rvalue`
DeepCopier.`copyUnaryOperation(Java.UnaryOperation subject)`
Methods in org.codehaus.janino.util that return types with arguments of type Java.Rvalue
Modifier and Type
Method
Description
`List<Java.Rvalue>`
DeepCopier.`copyRvalues(Collection<? extends Java.Rvalue> subject)`
Methods in org.codehaus.janino.util with parameters of type Java.Rvalue
Modifier and Type
Method
Description
`Java.Rvalue`
DeepCopier.`copyOptionalRvalue(Java.Rvalue subject)`
`Java.Rvalue[]`
DeepCopier.`copyOptionalRvalues(Java.Rvalue[] subject)`
`Java.Rvalue`
DeepCopier.`copyRvalue(Java.Rvalue subject)`
`Java.Rvalue[]`
DeepCopier.`copyRvalues(Java.Rvalue[] subject)`
`void`
AbstractTraverser.`traverseRvalue(Java.Rvalue rv)`
`void`
Traverser.`traverseRvalue(Java.Rvalue rv)`
Method parameters in org.codehaus.janino.util with type arguments of type Java.Rvalue
Modifier and Type
Method
Description
`List<Java.Rvalue>`
DeepCopier.`copyRvalues(Collection<? extends Java.Rvalue> subject)`