Static
assignmentStatic
binaryCreates a binary expression.
The string representing the operator, can be one of "+", "-", "*", "/", "%", "||", "&&", "|", "^", "&", "==", "!=", "<", ">", "<=", ">=", "<<", ">>", ">>>" or "instanceof".
The left-hand side, must be a join point of type expression.
The right-hand side, must be a join point of type expression.
An expression representing the literal. If the literal is a negative number, it will return a unaryExpression, otherwise returns a literal.
Static
commentStatic
literalCreates a literal node.
The string representing the literal. Can pass negative literals.
The type of the literal. Can be one of int, long, float, double, char, String or boolean.
An expression representing the literal.
Static
nullCreates a null literal node.
Optional
referenceJp: JoinpointOptionally indicate a node as a reference (can be useful for casting the null to a specific type).
A null literal node.
Static
snippetStatic
unaryCreates a unary expression.
The string representing the operator, can be one of "+", "-", "!", "~", "++", "--", "++", "--", "++" or "--".
The operand, must be a join point of type expression.
An expression representing the literal. If the literal is a negative number, it will return a unaryExpression, otherwise returns a literal.
Static
varCreates a reference to a local variable.
The local variable declaration to which we will create a variable reference.
True if the variable will be written, false if it will be read. By default creates variables for reading.
A reference to a variable.
Static
xml
Creates an assignment.