Analysis

open class Analysis(val name: String? = null, val description: String? = null, val issues: List<IssueReference> = emptyList(), val element: Element, val document: DocumentMetadata? = null, val enabled: Boolean? = null, val sources: List<URLReference> = emptyList(), val evaluation: FailureEvaluation? = null, val argument: String? = null) : MetamodelEntity, SafetyAssessment

Analysis of an Element.

Interface-point analyses are typically modeled as properties in concrete subclasses to express ownership via containment.

Constructors

Link copied to clipboard
constructor(name: String? = null, description: String? = null, issues: List<IssueReference> = emptyList(), element: Element, document: DocumentMetadata? = null, enabled: Boolean? = null, sources: List<URLReference> = emptyList(), evaluation: FailureEvaluation? = null, argument: String? = null)

Properties

Link copied to clipboard
open override val argument: String?

Engineering reasoning behind evaluation, including why a QM element needs no interface-point analyses.

Link copied to clipboard
override val asil: ASIL?

This work-product or metadata container has no ASIL of its own.

Link copied to clipboard

Identity of the authored Kotlin declaration, independent of its receiving model instance. Inherited declarations retain this provenance while id distinguishes each owning instance.

Link copied to clipboard

Fully-qualified name of the declaring context. Prefers declaringClassNameOverride (set explicitly by source materializers or canonical-ID binding) over declaringClass's captured name; falls back to null if neither is available.

Link copied to clipboard
open override val description: String?
Link copied to clipboard

Document-level metadata for the analysis report this Analysis stands for (ISO 26262 ยง4-6.5.7 Safety analyses report etc.). Set on the top-level Analysis only.

Link copied to clipboard
Link copied to clipboard

Whether this element has an analysis at this hierarchy level. Null and true enable it. False bypasses this level: child analyses trace to the grandparent, which must have an enabled analysis. Retained InterfacePointAnalysis declarations do not make disabling an error.

Link copied to clipboard
open override val evaluation: FailureEvaluation?

Overall judgment for this element analysis; null means no evaluation has been recorded.

Link copied to clipboard
val id: String

Fully-qualified unique identifier of this model instance. A member follows its actual owning instance, so two instances of the same user class have distinct member IDs. declarationId retains the common source declaration for navigation and naming rules.

Link copied to clipboard
open override val issues: List<IssueReference>
Link copied to clipboard
open override val name: String?
Link copied to clipboard

Kotlin val name that holds this entity, scoped to its declaring context. Populated reflectively by WireModel.wireAll in the compiled path, or set directly via bindToSource in the source-materialized path. null until either runs.

Link copied to clipboard
open override val sources: List<URLReference>

Functions

Link copied to clipboard

Binds an authored field or constructor-owned value without replacing its source declaration provenance.

Link copied to clipboard

Registers a child entity declared inside a source-materialized parent.

Link copied to clipboard

Records source-declared uses without changing the target's declaration or owner.

Link copied to clipboard

Binds an entity to an already computed canonical MetamodelEntity.id.

Link copied to clipboard
fun MetamodelEntity.bindToSource(referenceName: String, declaringClassName: String)

Sets the canonical identifiers for an entity that was materialized from source (as opposed to being instantiated from compiled bytecode). Intended for use by PSI / source materializers such as the IDEA plugin.

Link copied to clipboard

Interface-point analyses in declaration order, including analyses nested beneath ports or service groups.

Link copied to clipboard

Structural children, including explicit metamodel containment. Relation targets retain their own declaration.

Link copied to clipboard
Link copied to clipboard

Reflectively walks declared InterfacePointAnalysis fields on this Analysis's runtime class and stamps each with ownerAnalysis = this and referenceName = field.name. Idempotent. Called via WireModel.wireAll after subclass construction.

Generated with STIG