Signed-off-by: Alexis Laferrière <alexis.laf@xymus.net>
redef class Nextends_declaration
redef fun accept_visitor(v)
do
- # TODO
+ v.java_class.extends.add_all n_types.to_a
end
end
redef class Nimplements_declaration
redef fun accept_visitor(v)
do
- # TODO
+ v.java_class.implements.add_all n_types.to_a
end
end
# Importations from this class
var imports = new HashSet[NitModule]
+ # Interfaces implemented by this class
+ var implements = new HashSet[JavaType]
+
+ # Super classes of this class
+ var extends = new HashSet[JavaType]
+
redef fun to_s do return class_type.to_s
# Resolve the types in `other` in the context of this class