diff options
Diffstat (limited to 'org.eclipse.jdt.debug/jdi interfaces/com/sun/jdi/ObjectReference.java')
-rw-r--r-- | org.eclipse.jdt.debug/jdi interfaces/com/sun/jdi/ObjectReference.java | 17 |
1 files changed, 9 insertions, 8 deletions
diff --git a/org.eclipse.jdt.debug/jdi interfaces/com/sun/jdi/ObjectReference.java b/org.eclipse.jdt.debug/jdi interfaces/com/sun/jdi/ObjectReference.java index 25aa42463..d2b787085 100644 --- a/org.eclipse.jdt.debug/jdi interfaces/com/sun/jdi/ObjectReference.java +++ b/org.eclipse.jdt.debug/jdi interfaces/com/sun/jdi/ObjectReference.java @@ -1,5 +1,5 @@ /******************************************************************************* - * Copyright (c) 2000, 2007 IBM Corporation and others. + * Copyright (c) 2000, 2011 IBM Corporation and others. * All rights reserved. This program and the accompanying materials * are made available under the terms of the Eclipse Public License v1.0 * which accompanies this distribution, and is available at @@ -10,10 +10,11 @@ *******************************************************************************/ package com.sun.jdi; - import java.util.List; import java.util.Map; - +/** + * See http://docs.oracle.com/javase/6/docs/jdk/api/jpda/jdi/com/sun/jdi/ObjectReference.html + */ public interface ObjectReference extends com.sun.jdi.Value { public static final int INVOKE_SINGLE_THREADED = 1; public static final int INVOKE_NONVIRTUAL = 2; @@ -22,14 +23,14 @@ public interface ObjectReference extends com.sun.jdi.Value { public int entryCount() throws IncompatibleThreadStateException; public boolean equals(Object arg1); public Value getValue(Field arg1); - public Map getValues(java.util.List arg1); + public Map<Field, Value> getValues(List<? extends Field> arg1); public int hashCode(); - public Value invokeMethod(ThreadReference arg1, Method arg2, List arg3, int arg4) throws InvalidTypeException, ClassNotLoadedException, IncompatibleThreadStateException, InvocationException; + public Value invokeMethod(ThreadReference arg1, Method arg2, List<? extends Value> arg3, int arg4) throws InvalidTypeException, ClassNotLoadedException, IncompatibleThreadStateException, InvocationException; public boolean isCollected(); public ThreadReference owningThread() throws IncompatibleThreadStateException; - public com.sun.jdi.ReferenceType referenceType(); + public ReferenceType referenceType(); public void setValue(Field arg1, Value arg2) throws InvalidTypeException, ClassNotLoadedException; public long uniqueID(); - public List waitingThreads() throws IncompatibleThreadStateException; - public List referringObjects(long arg1); + public List<ThreadReference> waitingThreads() throws IncompatibleThreadStateException; + public List<Value> referringObjects(long arg1); } |