totally new file layout
[org.ibex.tool.git] / repo / org.ibex.tool / src / org / eclipse / jdt / internal / compiler / ast / LongLiteralMinValue.java
diff --git a/repo/org.ibex.tool/src/org/eclipse/jdt/internal/compiler/ast/LongLiteralMinValue.java b/repo/org.ibex.tool/src/org/eclipse/jdt/internal/compiler/ast/LongLiteralMinValue.java
new file mode 100644 (file)
index 0000000..e24da63
--- /dev/null
@@ -0,0 +1,27 @@
+/*******************************************************************************
+ * Copyright (c) 2000, 2004 IBM Corporation and others.
+ * All rights reserved. This program and the accompanying materials 
+ * are made available under the terms of the Common Public License v1.0
+ * which accompanies this distribution, and is available at
+ * http://www.eclipse.org/legal/cpl-v10.html
+ * 
+ * Contributors:
+ *     IBM Corporation - initial API and implementation
+ *******************************************************************************/
+package org.eclipse.jdt.internal.compiler.ast;
+
+import org.eclipse.jdt.internal.compiler.impl.*;
+
+public class LongLiteralMinValue extends LongLiteral {
+
+       final static char[] CharValue = new char[]{'-', '9','2','2','3','3','7','2','0','3','6','8','5','4','7','7','5','8','0','8','L'};
+       final static Constant MIN_VALUE = Constant.fromValue(Long.MIN_VALUE) ; 
+
+public LongLiteralMinValue(){
+       super(CharValue,0,0,Long.MIN_VALUE);
+       constant = MIN_VALUE;
+}
+public void computeConstant() {
+
+       /*precomputed at creation time*/}
+}