Annotations
Annotations scope.
Functions
Link copied to clipboard
open override fun entity(id: Entity.Type, labelFormatter: LabelFormatter, vararg properties: Property<AnnotationNode>)
register entity
open override fun entity(id: Entity.Type, errorIfExists: Boolean, vararg properties: Property<AnnotationNode>)
new entity with label inferred from introspected bytecode element
open override fun entity(id: Entity.Type, labelFormatter: LabelFormatter, errorIfExists: Boolean, vararg properties: Property<AnnotationNode>)
new entity with label from labelFormatter
Link copied to clipboard
Iterates over classes stored within a specified annotation element. If synthesize is set to true
, missing types are stubbed based on those stored within the annotation element.
Link copied to clipboard
open override fun property(key: String, extract: Action<Iter<AnnotationNode>, IterValues>): Property<AnnotationNode>
open override fun property(entity: Entity.Type, key: String, extract: Action<Iter<AnnotationNode>, IterValues>)
open override fun property(key: String, strategy: PropertyStrategy, extract: Action<Iter<AnnotationNode>, IterValues>): Property<AnnotationNode>
Associates entity property tag with result of extract action.
open override fun property(entity: Entity.Type, key: String, strategy: PropertyStrategy, extract: Action<Iter<AnnotationNode>, IterValues>)
updates existing entities with property
Link copied to clipboard
Link copied to clipboard
open override fun scope(label: String, op: ScopeEntityPredicate, entity: Entity.Type, f: Annotations.() -> Unit)
Link copied to clipboard
Associates value with entity.