Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to 'org.eclipse.jdt.debug/jdi/org/eclipse/jdi/internal/ByteTypeImpl.java')
-rw-r--r--org.eclipse.jdt.debug/jdi/org/eclipse/jdi/internal/ByteTypeImpl.java21
1 files changed, 11 insertions, 10 deletions
diff --git a/org.eclipse.jdt.debug/jdi/org/eclipse/jdi/internal/ByteTypeImpl.java b/org.eclipse.jdt.debug/jdi/org/eclipse/jdi/internal/ByteTypeImpl.java
index 2046308da..12d7fa2f1 100644
--- a/org.eclipse.jdt.debug/jdi/org/eclipse/jdi/internal/ByteTypeImpl.java
+++ b/org.eclipse.jdt.debug/jdi/org/eclipse/jdi/internal/ByteTypeImpl.java
@@ -1,5 +1,5 @@
/*******************************************************************************
- * Copyright (c) 2000, 2005 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,35 +10,36 @@
*******************************************************************************/
package org.eclipse.jdi.internal;
-
import com.sun.jdi.ByteType;
import com.sun.jdi.Value;
/**
- * this class implements the corresponding interfaces
- * declared by the JDI specification. See the com.sun.jdi package
- * for more information.
- *
+ * this class implements the corresponding interfaces declared by the JDI
+ * specification. See the com.sun.jdi package for more information.
+ *
*/
public class ByteTypeImpl extends PrimitiveTypeImpl implements ByteType {
/**
* Creates new instance.
+ * @param vmImpl the VM
*/
public ByteTypeImpl(VirtualMachineImpl vmImpl) {
- super("ByteType", vmImpl, "byte" , "B"); //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$
+ super("ByteType", vmImpl, "byte", "B"); //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$
}
-
+
/**
* @returns primitive type tag.
*/
+ @Override
public byte tag() {
return ByteValueImpl.tag;
}
-
+
/**
* @return Create a null value instance of the type.
*/
+ @Override
public Value createNullValue() {
- return virtualMachineImpl().mirrorOf((byte)0);
+ return virtualMachineImpl().mirrorOf((byte) 0);
}
}

Back to the top