From 642394c25b9621af4bcf15e57d7057facb461e0b Mon Sep 17 00:00:00 2001 From: JanUlrich Date: Tue, 15 Nov 2016 21:15:09 +0100 Subject: [PATCH] ObjectClass added --- .../dhbwstuttgart/syntaxtree/ObjectClass.java | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 src/de/dhbwstuttgart/syntaxtree/ObjectClass.java diff --git a/src/de/dhbwstuttgart/syntaxtree/ObjectClass.java b/src/de/dhbwstuttgart/syntaxtree/ObjectClass.java new file mode 100644 index 00000000..c14ca603 --- /dev/null +++ b/src/de/dhbwstuttgart/syntaxtree/ObjectClass.java @@ -0,0 +1,17 @@ +package de.dhbwstuttgart.syntaxtree; + +import de.dhbwstuttgart.syntaxtree.type.RefType; + +public class ObjectClass extends Class{ + + public ObjectClass() { + super("java.lang.Object", 0); + } + + @Override + public RefType getSuperClass() { + return this.getType(); + } + + +}