diff options
Diffstat (limited to 'org.eclipse.jdt.debug/jdi interfaces/com/sun/jdi/ThreadReference.java')
-rw-r--r-- | org.eclipse.jdt.debug/jdi interfaces/com/sun/jdi/ThreadReference.java | 15 |
1 files changed, 8 insertions, 7 deletions
diff --git a/org.eclipse.jdt.debug/jdi interfaces/com/sun/jdi/ThreadReference.java b/org.eclipse.jdt.debug/jdi interfaces/com/sun/jdi/ThreadReference.java index e9e6abd6b..2bdee0937 100644 --- a/org.eclipse.jdt.debug/jdi interfaces/com/sun/jdi/ThreadReference.java +++ b/org.eclipse.jdt.debug/jdi interfaces/com/sun/jdi/ThreadReference.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,9 +10,10 @@ *******************************************************************************/ package com.sun.jdi; - import java.util.List; - +/** + * See http://docs.oracle.com/javase/6/docs/jdk/api/jpda/jdi/com/sun/jdi/ThreadReference.html + */ public interface ThreadReference extends ObjectReference { public static final int THREAD_STATUS_UNKNOWN = -1; public static final int THREAD_STATUS_ZOMBIE = 0; @@ -24,13 +25,13 @@ public interface ThreadReference extends ObjectReference { public ObjectReference currentContendedMonitor() throws IncompatibleThreadStateException; public StackFrame frame(int arg1) throws IncompatibleThreadStateException; public int frameCount() throws IncompatibleThreadStateException; - public List frames() throws IncompatibleThreadStateException; - public List frames(int arg1, int arg2) throws IncompatibleThreadStateException; + public List<StackFrame> frames() throws IncompatibleThreadStateException; + public List<StackFrame> frames(int arg1, int arg2) throws IncompatibleThreadStateException; public void interrupt(); public boolean isAtBreakpoint(); public boolean isSuspended(); public String name(); - public List ownedMonitors() throws IncompatibleThreadStateException; + public List<ObjectReference> ownedMonitors() throws IncompatibleThreadStateException; public void popFrames(StackFrame frame) throws IncompatibleThreadStateException; public void resume(); public int status(); @@ -39,5 +40,5 @@ public interface ThreadReference extends ObjectReference { public int suspendCount(); public ThreadGroupReference threadGroup(); public void forceEarlyReturn(Value arg1) throws InvalidTypeException, ClassNotLoadedException, IncompatibleThreadStateException; - public List ownedMonitorsAndFrames()throws IncompatibleThreadStateException; + public List<MonitorInfo> ownedMonitorsAndFrames() throws IncompatibleThreadStateException; } |