KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > eclipse > jdt > internal > compiler > ast > LongLiteralMinValue


1 /*******************************************************************************
2  * Copyright (c) 2000, 2007 IBM Corporation and others.
3  * All rights reserved. This program and the accompanying materials
4  * are made available under the terms of the Eclipse Public License v1.0
5  * which accompanies this distribution, and is available at
6  * http://www.eclipse.org/legal/epl-v10.html
7  *
8  * Contributors:
9  * IBM Corporation - initial API and implementation
10  *******************************************************************************/

11 package org.eclipse.jdt.internal.compiler.ast;
12
13 import org.eclipse.jdt.internal.compiler.impl.*;
14
15 public class LongLiteralMinValue extends LongLiteral {
16
17     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'};
18     final static Constant MIN_VALUE = LongConstant.fromValue(Long.MIN_VALUE) ;
19
20 public LongLiteralMinValue(){
21     super(CharValue,0,0);
22     constant = MIN_VALUE;
23 }
24 public void computeConstant() {
25
26     /*precomputed at creation time*/}
27 }
28
Popular Tags