Integrations (PTC products, 3rd party products and code) > Code integration (Ada, ARINC 653, C, C#, C++, IDL, Java, SQL and VB) > Ada Code > Reverse engineering legacy Ada code > Mapping information for Reverse engineering Ada > Summary of mappings for reverse engineering Ada code (Ada code)
  
Summary of mappings for reverse engineering Ada code (Ada code)
The Ada code elements are reverse engineered as follows.
Ada Code
Modeler
Comment
Description Property
Constant
Attribute (read only)
Exception
Exception
Folder
Package (Mapping set to Folder)
Package
Package (Mapping set to Namespace), or Class if match is made
Package - Generic
Package or Class stereotyped by «Ada Generic» stereotype
Package - Generic Instantiation
Package or Class stereotyped by «Ada Generic Instance» stereotype
Pragma
Reverse engineered through «Ada Pragma» and «Ada Configuration Pragma» stereotypes
Protected Object
Class stereotyped by «Ada Protected» and «Ada Anonymous» stereotypes
Renames Declaration
Model item of the type created for the item being renamed, stereotyped by «Ada Renames» stereotype
Representation Clause
Reverse engineered through «Ada Representation» stereotype
Subprogram
Operation
Subprogram - Generic
Operation stereotyped by «Ada Generic» stereotype
Subprogram - Generic Instantiation
Operation stereotyped by «Ada Generic instance» stereotype
Task
Class stereotyped by «Ada Task» stereotype
Type - Access
Type Definition of Alias or Sequence Construction
Type - Array
Type Definition of Array Construction
Type - Derived
Type Definition of Alias or Sequence Construction
Type - Enumeration
Type Definition of Enumeration Construction
Type - Protected
Class stereotyped by «Ada Protected» stereotype
Type - Record
Class stereotyped by «Ada Record» or «Ada Variant Record» stereotype
Type - 'standard'
Basic Type (Integer, Boolean etc.)
Type - Subtype
Type Definition of Alias or Sequence Construction
Type - Task
Class stereotyped by «Ada Task» and «Ada Anonymous» stereotypes
Variable
Attribute (not read only) or Role
With, Use and Use Type clauses
Dependency stereotyped by «Ada Context» stereotype, or tagged value of Ada_Declaration_Dependencies and Ada_Implementation_Dependencies tag definitions.
Note that Annotations are not reverse engineered for SPARK.