1 /*******************************************************************************
2 * Copyright (c) 2000, 2001, 2002 International Business Machines Corp. and others.
3 * All rights reserved. This program and the accompanying materials
4 * are made available under the terms of the Common Public License v0.5
5 * which accompanies this distribution, and is available at
6 * http://www.eclipse.org/legal/cpl-v05.html
9 * IBM Corporation - initial API and implementation
10 ******************************************************************************/
11 package net.sourceforge.phpdt.internal.compiler.impl;
13 public class NullConstant extends Constant {
14 public static final NullConstant Default = new NullConstant();
16 final static String NullString = new StringBuffer(4).append((String)null).toString();
17 private NullConstant() {
19 public String stringValue() {
23 public String toString(){
25 return "(null)" + null ; } //$NON-NLS-1$