Fields
class Fields : Core<FieldNode> , Annotatable<FieldNode> , FilterableByVisibility<FieldNode> , FilterableByAccessFlag<FieldNode> , FilterableByType<FieldNode> , CommonOperations<FieldNode, Fields> , ParentOperations<ClassNode, Classes> (source)
Fields scope.
See also
Functions
Link copied to clipboard
Filter elements that are decorated by annotation
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open override fun entity(id: Entity.Type, labelFormatter: LabelFormatter, vararg properties: Property<FieldNode>)
register entity
open override fun entity(id: Entity.Type, errorIfExists: Boolean, vararg properties: Property<FieldNode>)
new entity with label inferred from introspected bytecode element
open override fun entity(id: Entity.Type, labelFormatter: LabelFormatter, errorIfExists: Boolean, vararg properties: Property<FieldNode>)
new entity with label from labelFormatter
Link copied to clipboard
Link copied to clipboard
Filters elements that belongs to entity.
filter elements by access modifiers
filter elements by access flags
filter elements by visibility
Link copied to clipboard
Filters elements to include only those representing a matching type.
Link copied to clipboard
Link copied to clipboard
open override fun property(key: String, extract: Action<Iter<FieldNode>, IterValues>): Property<FieldNode>
open override fun property(entity: Entity.Type, key: String, extract: Action<Iter<FieldNode>, IterValues>)
open override fun property(key: String, strategy: PropertyStrategy, extract: Action<Iter<FieldNode>, IterValues>): Property<FieldNode>
Associates entity property tag with result of extract action.
open override fun property(entity: Entity.Type, key: String, strategy: PropertyStrategy, extract: Action<Iter<FieldNode>, IterValues>)
updates existing entities with property
Link copied to clipboard
open override fun readAnnotation(annotation: SiftType, attribute: String): Action<Iter<FieldNode>, IterValues>
Reads the element value of the attribute name belonging to annotation. If the element value is an array, the array is flattened when added to entity properties.
Link copied to clipboard
Associates value with entity.