01: /*******************************************************************************
02: * Copyright (c) 2000, 2005 IBM Corporation and others.
03: * All rights reserved. This program and the accompanying materials
04: * are made available under the terms of the Eclipse Public License v1.0
05: * which accompanies this distribution, and is available at
06: * http://www.eclipse.org/legal/epl-v10.html
07: *
08: * Contributors:
09: * IBM Corporation - initial API and implementation
10: *******************************************************************************/package org.eclipse.jdi.internal.jdwp;
11:
12: import org.eclipse.jdi.internal.VirtualMachineImpl;
13:
14: /**
15: * This class implements the corresponding Java Debug Wire Protocol (JDWP) ID
16: * declared by the JDWP specification.
17: *
18: */
19: public class JdwpMethodID extends JdwpID {
20: /**
21: * Creates new JdwpID.
22: */
23: public JdwpMethodID(VirtualMachineImpl vmImpl) {
24: super (vmImpl);
25: }
26:
27: /**
28: * @return Returns VM specific size of ID.
29: */
30: public int getSize() {
31: return fVirtualMachine.methodIDSize();
32: }
33:
34: /**
35: * @return Returns true if ID is null.
36: */
37: public boolean isNull() {
38: return false;
39: }
40: }
|