public class StaticTypesUnaryExpressionHelper
extends UnaryExpressionHelper
An expression helper which generates optimized bytecode depending on the current type on top of the operand stack.
| Fields inherited from class | Fields |
|---|---|
class UnaryExpressionHelper |
controller |
| Constructor and description |
|---|
StaticTypesUnaryExpressionHelper(WriterController controller)Creates a unary-expression helper that emits primitive-specialized bytecode when possible. |
| Type Params | Return Type | Name and description |
|---|---|---|
|
public void |
writeBitwiseNegate(BitwiseNegationExpression expression)* Generates bytecode for a bitwise negation expression. * *
|
|
public void |
writeNotExpression(NotExpression expression)* Generates bytecode for a logical not expression. * *
|
|
public void |
writeUnaryMinus(UnaryMinusExpression expression)* Generates bytecode for a unary minus expression. * *
|
|
public void |
writeUnaryPlus(UnaryPlusExpression expression)* Generates bytecode for a unary plus expression. * *
|
| Methods inherited from class | Name |
|---|---|
class UnaryExpressionHelper |
writeBitwiseNegate, writeNotExpression, writeUnaryMinus, writeUnaryPlus |
Creates a unary-expression helper that emits primitive-specialized bytecode when possible.
* Generates bytecode for a bitwise negation expression. * *
expression - the bitwise negation expression* Generates bytecode for a logical not expression. * *
expression - the not expression* Generates bytecode for a unary minus expression. * *
expression - the unary minus expression* Generates bytecode for a unary plus expression. * *
expression - the unary plus expressionCopyright © 2003-2026 The Apache Software Foundation. All rights reserved.