MetaFeature

data class MetaFeature<T>(val description: Translatable, val representation: Any?, val maybeSubject: Option<T>)(source)

Represents an extracted feature of type T defined by the given maybeSubject including a description and a representation

Constructors

Link copied to clipboard
constructor(description: String, representation: Any?, maybeSubject: Option<T>)
constructor(description: String, subject: T)
constructor(description: Translatable, representation: Any?, maybeSubject: Option<T>)

Properties

Link copied to clipboard

Will be used in reporting to describe the feature extraction - e.g. the name of a property, a method call etc.

Link copied to clipboard

The feature as such where it is Some in case the extraction was successful or None if it was not.

Link copied to clipboard

The representation of the feature, in most cases the value behind the feature.