Use the Extension SDK

Create or modify a custom extension that builds on an existing CAST analyzer using the Python-based Extension SDK
Updated

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 external link.

Generate a scaffold

The cast-extension-generator external link 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.

Next steps