1 11 package org.eclipse.jdt.internal.debug.core.model; 12 13 14 import java.util.Collections ; 15 import java.util.List ; 16 17 import org.eclipse.jdt.debug.core.IJavaType; 18 19 22 public class JDIVoidValue extends JDIValue { 23 24 25 public JDIVoidValue(JDIDebugTarget target) { 26 super(target, target.getVM().mirrorOfVoid()); 27 } 28 29 protected List getVariablesList() { 30 return Collections.EMPTY_LIST; 31 } 32 33 36 public String getReferenceTypeName() { 37 return "void"; } 39 40 43 public String getValueString() { 44 return "null"; } 46 47 50 public String getSignature() { 51 return "V"; } 53 54 57 public int getArrayLength() { 58 return -1; 59 } 60 61 64 public IJavaType getJavaType() { 65 return new JDIVoidType((JDIDebugTarget)getDebugTarget()); 66 } 67 70 public String toString() { 71 return "void"; } 73 } 74 | Popular Tags |