SDA SE Wiki

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

User Tools

Site Tools


This is an old revision of the document!



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.1525831169.txt · Last modified: 2018/05/09 01:59 by 127.0.0.1

SEWiki, © 2019