Methods
class Methods : Core<MethodNode> , Annotatable<MethodNode> , FilterableByAccessFlag<MethodNode> , FilterableByVisibility<MethodNode> , CommonOperations<MethodNode, Methods> , ParentOperations<ClassNode, Classes> (source)
Methods 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<MethodNode>)
register entity
open override fun entity(id: Entity.Type, errorIfExists: Boolean, vararg properties: Property<MethodNode>)
new entity with label inferred from introspected bytecode element
open override fun entity(id: Entity.Type, labelFormatter: LabelFormatter, errorIfExists: Boolean, vararg properties: Property<MethodNode>)
new entity with label from labelFormatter
Link copied to clipboard
iterate fields accessed by current methods
Link copied to clipboard
Filters elements that belongs to entity.
filter elements by access modifiers
filter elements by access flags
filter elements by visibility
filter elements by name and owner
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open override fun property(key: String, extract: Action<Iter<MethodNode>, IterValues>): Property<MethodNode>
open override fun property(entity: Entity.Type, key: String, extract: Action<Iter<MethodNode>, IterValues>)
open override fun property(key: String, strategy: PropertyStrategy, extract: Action<Iter<MethodNode>, IterValues>): Property<MethodNode>
Associates entity property tag with result of extract action.
open override fun property(entity: Entity.Type, key: String, strategy: PropertyStrategy, extract: Action<Iter<MethodNode>, IterValues>)
updates existing entities with property
Link copied to clipboard
open override fun readAnnotation(annotation: SiftType, attribute: String): Action<Iter<MethodNode>, 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.
inline fun <T : Annotation> readAnnotation(field: KProperty1<T, *>): Action<IterMethods, IterValues>
Link copied to clipboard
Associates value with entity.