module Mirah module JVM module Types class NullType < Type def initialize super(BiteScript::ASM::ClassMirror.load('java.lang.Object')) end def to_s "Type(null)" end def null? true end def compatible?(other) !other.primitive? end def assignable_from?(other) !other.primitive? end end end end end