Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to 'org.eclipse.debug.examples.memory/src/org/eclipse/debug/examples/internal/memory/core/SampleValue.java')
-rw-r--r--org.eclipse.debug.examples.memory/src/org/eclipse/debug/examples/internal/memory/core/SampleValue.java138
1 files changed, 69 insertions, 69 deletions
diff --git a/org.eclipse.debug.examples.memory/src/org/eclipse/debug/examples/internal/memory/core/SampleValue.java b/org.eclipse.debug.examples.memory/src/org/eclipse/debug/examples/internal/memory/core/SampleValue.java
index b3174937c..2bd079f45 100644
--- a/org.eclipse.debug.examples.memory/src/org/eclipse/debug/examples/internal/memory/core/SampleValue.java
+++ b/org.eclipse.debug.examples.memory/src/org/eclipse/debug/examples/internal/memory/core/SampleValue.java
@@ -1,72 +1,72 @@
-/*******************************************************************************
- * Copyright (c) 2013 IBM Corporation and others.
+/*******************************************************************************
+ * Copyright (c) 2013 IBM Corporation and others.
*
- * This program and the accompanying materials
- * are made available under the terms of the Eclipse Public License 2.0
- * which accompanies this distribution, and is available at
+ * This program and the accompanying materials
+ * are made available under the terms of the Eclipse Public License 2.0
+ * which accompanies this distribution, and is available at
* https://www.eclipse.org/legal/epl-2.0/
*
- * SPDX-License-Identifier: EPL-2.0
- *
- * Contributors:
- * IBM Corporation - initial API and implementation
- *******************************************************************************/
-package org.eclipse.debug.examples.internal.memory.core;
-
-import org.eclipse.debug.core.DebugException;
-import org.eclipse.debug.core.ILaunch;
-import org.eclipse.debug.core.model.DebugElement;
-import org.eclipse.debug.core.model.IDebugTarget;
-import org.eclipse.debug.core.model.IValue;
-import org.eclipse.debug.core.model.IVariable;
-
-public class SampleValue extends DebugElement implements IValue {
-
- private SampleVariable fVariable;
-
- public SampleValue(SampleVariable variable) {
- super(variable.getDebugTarget());
- fVariable = variable;
- }
-
- @Override
- public String getReferenceTypeName() throws DebugException {
- return ""; //$NON-NLS-1$
- }
-
- @Override
- public String getValueString() throws DebugException {
- return String.valueOf(System.currentTimeMillis());
- }
-
- @Override
- public boolean isAllocated() throws DebugException {
- return false;
- }
-
- @Override
- public IVariable[] getVariables() throws DebugException {
- return new IVariable[0];
- }
-
- @Override
- public boolean hasVariables() throws DebugException {
- return false;
- }
-
- @Override
- public String getModelIdentifier() {
- return fVariable.getModelIdentifier();
- }
-
- @Override
- public IDebugTarget getDebugTarget() {
- return fVariable.getDebugTarget();
- }
-
- @Override
- public ILaunch getLaunch() {
- return fVariable.getLaunch();
- }
-
-}
+ * SPDX-License-Identifier: EPL-2.0
+ *
+ * Contributors:
+ * IBM Corporation - initial API and implementation
+ *******************************************************************************/
+package org.eclipse.debug.examples.internal.memory.core;
+
+import org.eclipse.debug.core.DebugException;
+import org.eclipse.debug.core.ILaunch;
+import org.eclipse.debug.core.model.DebugElement;
+import org.eclipse.debug.core.model.IDebugTarget;
+import org.eclipse.debug.core.model.IValue;
+import org.eclipse.debug.core.model.IVariable;
+
+public class SampleValue extends DebugElement implements IValue {
+
+ private SampleVariable fVariable;
+
+ public SampleValue(SampleVariable variable) {
+ super(variable.getDebugTarget());
+ fVariable = variable;
+ }
+
+ @Override
+ public String getReferenceTypeName() throws DebugException {
+ return ""; //$NON-NLS-1$
+ }
+
+ @Override
+ public String getValueString() throws DebugException {
+ return String.valueOf(System.currentTimeMillis());
+ }
+
+ @Override
+ public boolean isAllocated() throws DebugException {
+ return false;
+ }
+
+ @Override
+ public IVariable[] getVariables() throws DebugException {
+ return new IVariable[0];
+ }
+
+ @Override
+ public boolean hasVariables() throws DebugException {
+ return false;
+ }
+
+ @Override
+ public String getModelIdentifier() {
+ return fVariable.getModelIdentifier();
+ }
+
+ @Override
+ public IDebugTarget getDebugTarget() {
+ return fVariable.getDebugTarget();
+ }
+
+ @Override
+ public ILaunch getLaunch() {
+ return fVariable.getLaunch();
+ }
+
+}

Back to the top