toString, constructor

git-svn-id: https://svn.code.sf.net/p/jode/code/trunk@412 379699f6-c40d-0410-875b-85095c16579e
stable
jochen 26 years ago
parent 27f16a986e
commit a58048586a
  1. 7
      jode/jode/jvm/Value.java

@ -28,6 +28,9 @@ public class Value {
Object value;
NewObject newObj;
public Value() {
}
public void setObject(Object obj) {
value = obj;
}
@ -82,5 +85,9 @@ public class Value {
value = val.value;
newObj = val.newObj;
}
public String toString() {
return newObj != null ? newObj.toString() : ""+value;
}
}

Loading…
Cancel
Save