SDA SE Wiki

Software Engineering for Smart Data Analytics & Smart Data Analytics for Software Engineering

User Tools

Site Tools



implementsT(#class, #interface)

Represents the implementation of an interface by a class.

Arguments

#class: classT
ID of the class.

#interface: classT
ID of an interface implemented by the class.

Sample Java Source

class HelloUniverse implements Hello {
	  ...	
}
public interface Hello {
          ...
}

Its PEF Representation

classT(#id,_,'HelloUniverse',_).
implementsT(#id, #interface).
classT(#interface,_,'Hello',_).

AST Specification

ast_relation('Java',implementsT,[
     ast_arg(sub,   mult(1,1,no ), id,   [classT]),
     ast_arg(super, mult(1,1,no ), id,   [classT]) 
]).
research/jtransformer/api/java/pefs/2.9/implementst.txt · Last modified: 2018/05/09 01:59 (external edit)

SEWiki, © 2025