Change visibility of net.sourceforge.phpeclipse.xdebug.php.model.XDebugAbstractValue...
[phpeclipse.git] / net.sourceforge.phpeclipse.xdebug.core / src / net / sourceforge / phpeclipse / xdebug / php / model / XDebugAbstractValue.java
index 9a68c77..32ea3fa 100644 (file)
@@ -24,12 +24,12 @@ import org.w3c.dom.NodeList;
 
 public abstract class XDebugAbstractValue  extends XDebugElement implements IValue {
        private IVariable[] fVariables;
-       protected String fValueString;
-       /*protected*/private String fTypeName;
+       private String fValueString;
+       private String fTypeName;
        private boolean fhasChanged;
 
        public XDebugAbstractValue(XDebugStackFrame frame, Node varNode) throws DebugException  {
-               super((XDebugTarget) frame.getDebugTarget());
+               super(frame == null ? null : (XDebugTarget) frame.getDebugTarget());
 
                fTypeName = PHPDebugUtils.getAttributeValue(varNode,"type");
 
@@ -127,4 +127,8 @@ public abstract class XDebugAbstractValue  extends XDebugElement implements IVal
        public boolean supportsValueModification() {
                return false;
        }
+       
+       public void setValueString(String valueString) {
+               fValueString = valueString;
+       }
 }
\ No newline at end of file