ObjectClass added
This commit is contained in:
parent
85dc60169a
commit
642394c25b
17
src/de/dhbwstuttgart/syntaxtree/ObjectClass.java
Normal file
17
src/de/dhbwstuttgart/syntaxtree/ObjectClass.java
Normal file
@ -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();
|
||||
}
|
||||
|
||||
|
||||
}
|
Loading…
Reference in New Issue
Block a user