KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > com > sun > jdi > ObjectReference


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 com.sun.jdi;
12
13
14 import java.util.List JavaDoc;
15 import java.util.Map JavaDoc;
16
17 public interface ObjectReference extends com.sun.jdi.Value {
18     public static final int INVOKE_SINGLE_THREADED = 1;
19     public static final int INVOKE_NONVIRTUAL = 2;
20     public void disableCollection();
21     public void enableCollection();
22     public int entryCount() throws IncompatibleThreadStateException;
23     public boolean equals(Object JavaDoc arg1);
24     public Value getValue(Field arg1);
25     public Map JavaDoc getValues(java.util.List JavaDoc arg1);
26     public int hashCode();
27     public Value invokeMethod(ThreadReference arg1, Method arg2, List JavaDoc arg3, int arg4) throws InvalidTypeException, ClassNotLoadedException, IncompatibleThreadStateException, InvocationException;
28     public boolean isCollected();
29     public ThreadReference owningThread() throws IncompatibleThreadStateException;
30     public com.sun.jdi.ReferenceType referenceType();
31     public void setValue(Field arg1, Value arg2) throws InvalidTypeException, ClassNotLoadedException;
32     public long uniqueID();
33     public List JavaDoc waitingThreads() throws IncompatibleThreadStateException;
34     public List JavaDoc referringObjects(long arg1);
35 }
36
Popular Tags