data class MetaFeature<T>
(source)Represents an extracted feature of type T defined by the given maybeSubject including a description and a representation
MetaFeature(description: String, representation: Any?, maybeSubject: Option<T>) MetaFeature(description: String, subject: T) MetaFeature(description: Translatable, representation: Any?, maybeSubject: Option<T>)
Represents an extracted feature of type T defined by the given maybeSubject including a description and a representation |
val description: Translatable
Will be used in reporting to describe the feature extraction - e.g. the name of a property, a method call etc. |
|
val maybeSubject: Option<T>
The feature as such where it is Some in case the extraction was successful or None if it was not. |
|
val representation: Any?
The representation of the feature, in most cases the value behind the feature. |