Since version 2.6.3 JTransformer creates PEFs even if a project contains Java compilation errors because of unresolved imports. Being able to analyse and transform source code with missing dependencies is especially usefull when only parts of a large project are available to the user or analysis of complete projects would be too time consuming because of their size.
Error-tolerant fact creation is turned on by default. To turn it off for a particular JTransformer project right click on the project, select “Properties” from the context menu and then select “JTransformer”. Here you must first enable project-specific settings and then (de)select “Ignore unresolved dependencies”.
When ignoring of unresolved dependencies is turned on and JTransformer encounters an unresolvable reference it:
name argument is the unresolvable name, as demonstrated by the following example:
Because the com.nothere.* package cannot be resolved, Eclipse adds an error marker at the import command and at each place where the NotHere class from the unresolved package is referenced. Although not illustated in the above screenshot, note that in spite of the error marker attached to the Java project in the Package Explorer the JT icon remains green, signaling that the fact creation has completed succesfully.
The FBI view of the generated facts shows that unresolvable names
com.nothere.* and NotHere have been replaced by the dummy