Interface ITargetSelectorByName

All Superinterfaces:
ITargetSelector
All Known Subinterfaces:
ITargetSelectorConstructor, ITargetSelectorRemappable
All Known Implementing Classes:
DynamicSelectorDesc, MemberInfo

public interface ITargetSelectorByName extends ITargetSelector
A target selector which selects elements directly by name.
  • 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

      MatchResult matches(String owner, String name, String desc)
      Test whether this selector matches the supplied values. Null values are ignored.
      Parameters:
      owner - Owner to compare with, null to skip
      name - Name to compare with, null to skip
      desc - 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