Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to 'org.eclipse.jdt.debug/eval/org/eclipse/jdt/internal/debug/eval/ast/engine/JavaObjectRuntimeContext.java')
-rw-r--r--org.eclipse.jdt.debug/eval/org/eclipse/jdt/internal/debug/eval/ast/engine/JavaObjectRuntimeContext.java27
1 files changed, 15 insertions, 12 deletions
diff --git a/org.eclipse.jdt.debug/eval/org/eclipse/jdt/internal/debug/eval/ast/engine/JavaObjectRuntimeContext.java b/org.eclipse.jdt.debug/eval/org/eclipse/jdt/internal/debug/eval/ast/engine/JavaObjectRuntimeContext.java
index 93b331d2e..ea99441d3 100644
--- a/org.eclipse.jdt.debug/eval/org/eclipse/jdt/internal/debug/eval/ast/engine/JavaObjectRuntimeContext.java
+++ b/org.eclipse.jdt.debug/eval/org/eclipse/jdt/internal/debug/eval/ast/engine/JavaObjectRuntimeContext.java
@@ -10,7 +10,6 @@
*******************************************************************************/
package org.eclipse.jdt.internal.debug.eval.ast.engine;
-
import org.eclipse.core.runtime.CoreException;
import org.eclipse.jdt.core.IJavaProject;
import org.eclipse.jdt.debug.core.IJavaDebugTarget;
@@ -20,35 +19,39 @@ import org.eclipse.jdt.debug.core.IJavaThread;
import org.eclipse.jdt.debug.core.IJavaVariable;
public class JavaObjectRuntimeContext extends AbstractRuntimeContext {
-
+
/**
* <code>this</code> object or this context.
*/
private IJavaObject fThisObject;
-
+
/**
* The thread for this context.
*/
private IJavaThread fThread;
-
+
/**
* ObjectValueRuntimeContext constructor.
*
- * @param thisObject <code>this</code> object of this context.
- * @param javaProject the project for this context.
- * @param thread the thread for this context.
+ * @param thisObject
+ * <code>this</code> object of this context.
+ * @param javaProject
+ * the project for this context.
+ * @param thread
+ * the thread for this context.
*/
- public JavaObjectRuntimeContext(IJavaObject thisObject, IJavaProject javaProject, IJavaThread thread) {
+ public JavaObjectRuntimeContext(IJavaObject thisObject,
+ IJavaProject javaProject, IJavaThread thread) {
super(javaProject);
- fThisObject= thisObject;
- fThread= thread;
+ fThisObject = thisObject;
+ fThread = thread;
}
/**
* @see IRuntimeContext#getVM()
*/
public IJavaDebugTarget getVM() {
- return (IJavaDebugTarget)fThisObject.getDebugTarget();
+ return (IJavaDebugTarget) fThisObject.getDebugTarget();
}
/**
@@ -62,7 +65,7 @@ public class JavaObjectRuntimeContext extends AbstractRuntimeContext {
* @see IRuntimeContext#getReceivingType()
*/
public IJavaReferenceType getReceivingType() throws CoreException {
- return (IJavaReferenceType)getThis().getJavaType();
+ return (IJavaReferenceType) getThis().getJavaType();
}
/**

Back to the top