SDA SE WikiSoftware Engineering for Smart Data Analytics & Smart Data Analytics for Software Engineering
Represents the implementation of an interface by a class.
#id:id
The unique id of this fact.
#parent: classT
ID of the class.
#super: classT, parameterizedTypeT
ID of a classT or a parameterizedTypeT referencing an interface implemented by the class.
class HelloUniverse implements Hello {
...
}
public interface Hello {
...
}
classT(#id,_,'HelloUniverse',[],_). implementsT(#Implements, #id, #interface). classT(#interface,_,'Hello',[],_).
ast_node_type_spec(implementsT,[
ast_arg(id, mult(1,1,no ), id, [implementsT]),
ast_arg(parent,mult(1,1,no ), id, [classT]),
ast_arg(super, mult(1,1,no ), id, [classT, parameterizedTypeT])
]).