Supported entity types
From Insight-9.0
The following table provides a list of the entity types supported in Klocwork Architect and Source Cross-Reference. It also provides a list of IDs that can be used in customizing Klocwork Review reports.
Entity type | Entity kind ID <entityKids> | Entity name in Architect (C/C++) | Entity name in Architect (Java) | Project Tree icon | Graphic view color in Architect |
| ANNOTATION | 70 | ---- | Annotation | ||
| ANNOTATION-ELEMENT | 71 | ---- | Annotation-element | ||
| ARCHITECTURE-BLOCK | 51 | Architecture block | Directory | ||
| CLASS | 46 | Class | Class | ||
| CLASS-DATA-MEMBER | 47 | Data member | Field | ||
| CLASS-DATA-MEMBER-DECLARATION | 547 | Class template declaration | ---- | ||
| CLASS-DECLARATION | 546 | Class declaration | ---- | ||
| CLASS-INSTANTIATION | 31 | Class instantiation | ---- | ||
| CLASS-METHOD | 48 | Method | Method | ||
| CLASS-METHOD-DECLARATION | 548 | Method declaration | ---- | ||
| CLASS-TEMPLATE | 49 | Class template | ---- | ||
| CLASS-TEMPLATE-DECLARATION | 549 | ---- | |||
| CONSTANT | 4 | Constant | ---- | ||
| DATA-MEMBER-INSTANTIATION | 34 | Data member instantiation | ---- | ||
| DECLARATION | 60 | Declaration | ---- | ||
| DEFAULT_PACKAGE* | 65 | ---- | Default package | ||
| DIRECTORY | 53 | Directory | ---- | ||
| ENUMERATION | 68 | ---- | Enumeration | ||
| ENUMERATION-CONSTANT | 69 | ---- | Enumeration -constant | ||
| FILE | 1 | File | File | ||
| FUNCTION | 5 | Function | ---- | ||
| FUNCTION-DECLARATION | 505 | Function declaration | ---- | ||
| FUNCTION-INSTANTIATION | 32 | Function instantiation | -- | ||
| FUNCTION-POINTER | 6 | Pointer to function | ---- | ||
| FUNCTION-POINTER-DECLARATION | 506 | Function pointer declaration | ---- | ||
| FUNCTION-TEMPLATE | 50 | Function template | ---- | ||
| FUNCTION-TEMPLATE-DECLARATION | 550 | Function template declaration | ---- | ||
| IMPORT | 63 | Import | ---- | ||
| INTERFACE | 7 | ---- | Interface | ||
| JAR-FILE | 66 | ---- | Jar file | ||
| MACRO | 29 | Macro | ---- | ||
| METHOD-INSTANTIATION | 33 | Method instantiation | ---- | ||
| NAMESPACE | 61 | Namespace | ---- | ||
| NAMESPACE-ALIAS | 62 | Namespace alias | ---- | ||
| PACKAGE | 65 | ---- | Package | ||
| SPECIALIZATION | 35 | Specialization | ---- | ||
| TEMPLATE-MEMBER | 30 | Template member | ---- | ||
| TYPE | 2 | Type | ---- | ||
| TYPE-DECLARATION | 502 | Type declaration | ---- | ||
| VARIABLE | 3 | Variable | ---- | ||
| VARIABLE-DECLARATION | 503 | Variable- declaration | ---- |
*If an entity is not from a class file or jar file and has no parent (no prefix in its name), it is placed in a <default_package> block.
See also
