/**
* @author Matthieu Casanova
*/
-public class PostfixedUnaryExpression extends UnaryExpression {
+public final class PostfixedUnaryExpression extends UnaryExpression {
- public PostfixedUnaryExpression(Expression expression, int operator, int sourceEnd) {
+ public PostfixedUnaryExpression(final Expression expression,
+ final int operator,
+ final int sourceEnd) {
super(expression, operator, expression.sourceStart, sourceEnd);
}
- public String toStringExpressionNoParenthesis() {
- StringBuffer buff = new StringBuffer(expression.toStringExpression());
- buff.append(operatorToString());
- return buff.toString();
+ public String toStringExpression() {
+ return expression.toStringExpression() + operatorToString();
}
}