SDA SE Wiki

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

User Tools

Site Tools



importOnDemandT(#id)

This fact marks an import as an import on demand (see JLS 7.5.2 and JLS 7.5.4). Supported since JTransformer 4.1.

Arguments

#id: importT
ID of the import declaration.

Sample Java Source

import java.io.*;

Its PEF Representation

packageT(#JavaIO, 'java.io').
importT(#ImportId, #ParentId, #JavaIO).
importOnDemandT(#ImportId).

AST Specification

ast_relation_type_spec(importOnDemandT,[
     ast_arg(id,     mult(1,1,no ), id,   [importT]) 
]).
research/jtransformer/api/java/pefs/4.2/importondemandt.txt · Last modified: 2018/10/11 18:16 by Daniel Speicher

SEWiki, © 2019