Interface ITargetSelectorByName
- All Superinterfaces:
ITargetSelector
- All Known Subinterfaces:
ITargetSelectorConstructor,ITargetSelectorRemappable
- All Known Implementing Classes:
DynamicSelectorDesc,MemberInfo
A target selector which selects elements directly by name.
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.spongepowered.asm.mixin.injection.selectors.ITargetSelector
ITargetSelector.Configure -
Method Summary
Methods inherited from interface org.spongepowered.asm.mixin.injection.selectors.ITargetSelector
attach, configure, getMaxMatchCount, getMinMatchCount, match, next, validate
-
Method Details
-
getOwner
String getOwner()Get the member owner, can be null -
getName
String getName()Get the member name, can be null -
getDesc
String getDesc()Get the member descriptor, can be null -
toDescriptor
String toDescriptor()Get a representation of this selector as a complete descriptor -
matches
Test whether this selector matches the supplied values. Null values are ignored.- Parameters:
owner- Owner to compare with, null to skipname- Name to compare with, null to skipdesc- Signature to compare with, null to skip- Returns:
- true if all non-null values in this reference match non-null arguments supplied to this method
-