Signature
class Signature : EntityRegistrar<SignatureNode> , EntityPropertyRegistrar<SignatureNode> , ElementDebugLogger<SignatureNode> (source)
Signature scope for working with generics.
See also
Functions
Link copied to clipboard
open override fun entity(id: Entity.Type, labelFormatter: LabelFormatter, vararg properties: Property<SignatureNode>)
register entity
open override fun entity(id: Entity.Type, errorIfExists: Boolean, vararg properties: Property<SignatureNode>)
new entity with label inferred from introspected bytecode element
open override fun entity(id: Entity.Type, labelFormatter: LabelFormatter, errorIfExists: Boolean, vararg properties: Property<SignatureNode>)
new entity with label from labelFormatter
Link copied to clipboard
Link copied to clipboard
Iterates over all classes given a generic type signature, e.g. Map<_, List<T>>
. The signature parameter describes the generic type to search for. It must contain a T
token, which will be replaced with each declaration during iteration. The _
symbol can be used to match any class.
Link copied to clipboard
open override fun property(key: String, extract: Action<Iter<SignatureNode>, IterValues>): Property<SignatureNode>
open override fun property(entity: Entity.Type, key: String, extract: Action<Iter<SignatureNode>, IterValues>)
open override fun property(key: String, strategy: PropertyStrategy, extract: Action<Iter<SignatureNode>, IterValues>): Property<SignatureNode>
Associates entity property tag with result of extract action.
open override fun property(entity: Entity.Type, key: String, strategy: PropertyStrategy, extract: Action<Iter<SignatureNode>, IterValues>)
updates existing entities with property
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Associates value with entity.