toString, getType

git-svn-id: https://svn.code.sf.net/p/jode/code/trunk@411 379699f6-c40d-0410-875b-85095c16579e
stable
jochen 26 years ago
parent 40f583a1f0
commit 27f16a986e
  1. 8
      jode/jode/jvm/NewObject.java

@ -32,6 +32,10 @@ public class NewObject {
this.type = type;
}
public String getType() {
return type;
}
public void setObject(Object obj) {
instance = obj;
}
@ -39,5 +43,9 @@ public class NewObject {
public Object objectValue() {
return instance;
}
public String toString() {
return "new "+type;
}
}

Loading…
Cancel
Save