01: /*******************************************************************************
02: * Copyright (c) 2000, 2007 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 com.sun.jdi;
11:
12: import java.util.List;
13: import java.util.Map;
14:
15: public interface ObjectReference extends com.sun.jdi.Value {
16: public static final int INVOKE_SINGLE_THREADED = 1;
17: public static final int INVOKE_NONVIRTUAL = 2;
18:
19: public void disableCollection();
20:
21: public void enableCollection();
22:
23: public int entryCount() throws IncompatibleThreadStateException;
24:
25: public boolean equals(Object arg1);
26:
27: public Value getValue(Field arg1);
28:
29: public Map getValues(java.util.List arg1);
30:
31: public int hashCode();
32:
33: public Value invokeMethod(ThreadReference arg1, Method arg2,
34: List arg3, int arg4) throws InvalidTypeException,
35: ClassNotLoadedException, IncompatibleThreadStateException,
36: InvocationException;
37:
38: public boolean isCollected();
39:
40: public ThreadReference owningThread()
41: throws IncompatibleThreadStateException;
42:
43: public com.sun.jdi.ReferenceType referenceType();
44:
45: public void setValue(Field arg1, Value arg2)
46: throws InvalidTypeException, ClassNotLoadedException;
47:
48: public long uniqueID();
49:
50: public List waitingThreads()
51: throws IncompatibleThreadStateException;
52:
53: public List referringObjects(long arg1);
54: }
|