SDA SE Wiki

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

User Tools

Site Tools


Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
research:jtransformer:api:java:migration:4.0 [2017/10/27 12:21]
Günter Kniesel
research:jtransformer:api:java:migration:4.0 [2018/05/09 01:59] (current)
Line 1: Line 1:
 +====== JTransformer 4.0 ======
  
 +
 +===== Changes that Require You To Adapt Your Code=====
 +
 +
 +====   ====
 +
 +  * The predicates for letting the JTransformer GUI know about your [[..:​..:​..:​tutorial:​analysis_cc|analyses]] and [[..:​..:​..:​tutorial:​quickfix|transformations]] have been simplified
 +
 +  * Added [[java7]]
 +
 +  * [[..:​typesinjt4|Type Representation Without typeRefT]] -- Simplified type representation by eliminating the indirections via [[..:​pefs:​3.0:​typereft|typeRefT]]
 +
 +  * [[..:​pefs:​4.0:​statictypereft|New staticTypeRefT PEF]] -- Represents a class name in a static method call or static field access. The acces to a staticTypeRef replaces a previous use case of typeRefT, in which a typeRefT did not refer to the type of an element but to the class in an access to a static member (e.g. ''​MyClass.myStaticField''​ or ''​MyClass.myStaticMethod()''​)
 +
 +  * [[removednamearguments|Removed '​name'​ argument]] -- In [[..:​pefs:​4.0:​callt|callT]],​ [[..:​pefs:​4.0:​fieldAccessT|fieldAccessT]] (former: getFieldT) and [[..:​pefs:​4.0:​identt|identT]]
 +
 +  * [[null constant|The '​null'​ constant]] -- Is no longer represented as an [[..:​pefs:​3.0:​identt|identT]] but as a [[..:​pefs:​3.0:​literalt|literalT]]. ​
 +
 +  * Added type parameter argument in [[..:​pefs:​4.0:​callt|callT]],​ [[..:​pefs:​4.0:​newt|newT]],​ [[..:​pefs:​4.0:​classt|classT]],​ [[..:​pefs:​4.0:​methodt|methodT]],​ [[..:​pefs:​4.0:​constructort|constructorT]]
 +
 +  * **Renamed** PEFs to improve readability and constistency ​
 +    * getFieldT --> [[..:​pefs:​4.0:​fieldaccesst|fieldAccessT]]
 +    * newClassT --> [[..:​pefs:​4.0:​newt|newT]]
 +    * externT --> [[..:​pefs:​4.0:​externalt|externalT]]
 +    * sourceT --> [[..:​pefs:​4.0:​commenttextt|commentTextT]]
 +    * markerT --> [[..:​pefs:​4.0:​jtannotationt|jtAnnotationT]]
 +
 +  * Renamed PEFs whose only purpose is preserving the source code,  e.g.[[..:​pefs:​3.0:​markerannotationt|markerAnnotationT]] --> [[..:​pefs:​4.0:​preserve_markerannotationt|preserve_markerAnnotationT]]
 +
 +  * Added own id to [[..:​pefs:​4.0:​extendst|extendsT]],​ [[..:​pefs:​4.0:​implementst|implementsT]] and [[..:​pefs:​4.0:​modifiert|modifierT]] in order to be able to add source location facts for these program elements.
 +
 +  * Updated [[source locations facts]].
 +
 +  * Removed redundant [[..:​pefs:​3.0:​annotatedt|annotatedT]].
 +
 +  * Removed redundant arguments from [[..:​pefs:​4.0:​enumconstantt|enumConstantT ]].
 +
 +===== Other Changes =====
 +
 +=== API ===
 +  * Added predicates to enable/​disable simple logging of CT execution: ​
 +    * enable_ct_logging/​0
 +    * disable_ct_logging/​0
 +  * Added deepDelete/​1 as action (to enable usage in CTs)
 +  * Fixed subtype/2 predicate
 +
 +=== GUI  ===
 +
 +  * Added perspectives for JTransformer
 +  * Integrated the former Result View to the Control Center
 +  * FBI shows facts deleted by a transformation \\ {{:​research:​jtransformer:​tutorial_old:​fbi_deleted.png?​200px|Screenshot}}
 +  * Fixed stability issues in the Control Center
 +  * Other bugfixes... (Great thanks to the participants of the MDSE lab for their thorough bug reports!)
research/jtransformer/api/java/migration/4.0.txt · Last modified: 2018/05/09 01:59 (external edit)

SEWiki, © 2019