1 package net.sourceforge.phpdt.internal.compiler.ast;
4 * a class instantiation.
5 * @author Matthieu Casanova
7 public final class ClassInstantiation extends PrefixedUnaryExpression {
9 private final boolean reference;
11 public ClassInstantiation(final Expression expression,
12 final boolean reference,
13 final int sourceStart) {
14 super(expression, OperatorIds.NEW, sourceStart);
15 this.reference = reference;
18 public String toStringExpression() {
20 return super.toStringExpression();
22 return '&' + super.toStringExpression();