diff options
Diffstat (limited to 'heat/TypeBundle.java')
-rw-r--r-- | heat/TypeBundle.java | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/heat/TypeBundle.java b/heat/TypeBundle.java index 44e3749..d8bfb4f 100644 --- a/heat/TypeBundle.java +++ b/heat/TypeBundle.java @@ -9,8 +9,8 @@ import st.ClassInstance; */ class TypeBundle { - TypeEnum type; - ClassInstance instance; + private TypeEnum type; + private ClassInstance instance; protected TypeBundle(TypeEnum type, ClassInstance instance) { this.type = type; @@ -49,4 +49,8 @@ class TypeBundle { return this.type == TypeEnum.integer; } + public TypeEnum getType() { + return this.type; + } + } |