SE & SDA Wiki

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

User Tools

Site Tools

importT(#id, #parent, #import)

Represents the import declaration.

In case of a Single Static Import Declaration and Static-Import-on-Demand Declaration the created importT(#id, , ) fact is acompanied by an additional modifierT(#id, 'static') fact.


#id: id
the unique ID assigned to this fact.

#parent: compilationUnitT
ID of the compilation unit that contains this import declaration.

#import: packageT, classT, methodT, fieldT
ID of the import.

Sample Java Source


Its PEF Representation

importT(#id, #parentID, #importId).

AST Specification

     ast_arg(id,      mult(1,1,no ), id,  [importT]), 
     ast_arg(parent,  mult(1,1,no ), id,  [compilationUnitT]),
     ast_arg(import,  mult(1,1,no ), id,  [packageT, classT, methodT, fieldT])
research/jtransformer/api/java/pefs/3.0/importt.txt · Last modified: 2018/05/09 01:59 (external edit)

SEWiki, © 2018