Elements
class Elements : Core<Element> , FilterableByAccessFlag<Element> , CommonOperations<Element, Elements> (source)
Type-erased scope exposing common functionality.
See also
Functions
Link copied to clipboard
open override fun entity(id: Entity.Type, labelFormatter: LabelFormatter, vararg properties: Property<Element>)
register entity
open override fun entity(id: Entity.Type, errorIfExists: Boolean, vararg properties: Property<Element>)
new entity with label inferred from introspected bytecode element
open override fun entity(id: Entity.Type, labelFormatter: LabelFormatter, errorIfExists: Boolean, vararg properties: Property<Element>)
new entity with label from labelFormatter
Link copied to clipboard
Filters elements that belongs to entity.
filter elements by access modifiers
filter elements by access flags
Link copied to clipboard
open override fun property(key: String, extract: Action<Iter<Element>, IterValues>): Property<Element>
open override fun property(entity: Entity.Type, key: String, extract: Action<Iter<Element>, IterValues>)
open override fun property(key: String, strategy: PropertyStrategy, extract: Action<Iter<Element>, IterValues>): Property<Element>
Associates entity property tag with result of extract action.
open override fun property(entity: Entity.Type, key: String, strategy: PropertyStrategy, extract: Action<Iter<Element>, IterValues>)
updates existing entities with property
Link copied to clipboard
Associates value with entity.