blob: 2d596d09c32383277d23db9b245b786346b1cd2d [file] [log] [blame]
package org.eclipse.jdi.internal;
/*
* (c) Copyright IBM Corp. 2000, 2001.
* All Rights Reserved.
*/
import com.sun.jdi.*;
import com.sun.jdi.connect.*;
import com.sun.jdi.event.*;
import com.sun.jdi.request.*;
import org.eclipse.jdi.internal.connect.*;
import org.eclipse.jdi.internal.request.*;
import org.eclipse.jdi.internal.event.*;
import org.eclipse.jdi.internal.jdwp.*;
import org.eclipse.jdi.internal.spy.*;
import java.util.*;
import java.io.*;
/**
* this class implements the corresponding interfaces
* declared by the JDI specification. See the com.sun.jdi package
* for more information.
*
*/
public class LongTypeImpl extends PrimitiveTypeImpl implements LongType {
/**
* Creates new instance.
*/
public LongTypeImpl(VirtualMachineImpl vmImpl) {
super("LongType", vmImpl, "long" , "J");
}
/**
* @returns primitive type tag.
*/
public byte tag() {
return LongValueImpl.tag;
}
/**
* @return Create a null value instance of the type.
*/
public Value createNullValue() {
return virtualMachineImpl().mirrorOf((long)0);
}
}