Use the Extension SDK
Overview
The Extension SDK lets you write a custom extension in Python that hooks into an existing CAST analyzer, such as the .NET, JEE, SAP ABAP or Universal Analyzer. Use it to add support for a framework that the analyzer does not cover, for example to create objects and links for framework-specific calls, or to add quality rules.
The SDK is documented on its own site: see the Extension SDK documentation .
Generate a scaffold
The cast-extension-generator project in the CAST-Extend organization on GitHub generates the scaffold of a Universal Analyzer extension that uses the SDK: the metamodel, the language pattern, the Python code that detects and creates objects, test scaffolding and packaging scripts. You then implement the link detection that is specific to your technology.
The cast-extension-generator is intended for members of the CAST-Extend organization on GitHub. See Prerequisites to request membership.
Next steps
- Reserve the IDs your extension needs: see Reserve ID ranges.
- Write the
plugin.nuspecfile: see Write the extension description file. - Package the extension and deploy it, or publish it on CAST Extend: see Package and publish an extension.