Interface ITargetSelectorRemappable

All Superinterfaces:
ITargetSelector, ITargetSelectorByName
All Known Implementing Classes:
MemberInfo

public interface ITargetSelectorRemappable
extends ITargetSelectorByName
A target selector which can be remapped at compile time via an obfuscation service
  • Method Details

    • asMapping

      IMapping<?> asMapping()
      Returns this selector as a MappingField or MappingMethod
    • asMethodMapping

      MappingMethod asMethodMapping()
      Returns this selector as a mapping method
    • asFieldMapping

      MappingField asFieldMapping()
      Returns this selector as a mapping field
    • move

      ITargetSelectorRemappable move​(java.lang.String newOwner)
      Create a new version of this member with a different owner
      Parameters:
      newOwner - New owner for this member
    • transform

      ITargetSelectorRemappable transform​(java.lang.String newDesc)
      Create a new version of this member with a different descriptor
      Parameters:
      newDesc - New descriptor for this member
    • remapUsing

      ITargetSelectorRemappable remapUsing​(MappingMethod srgMethod, boolean setOwner)
      Create a remapped version of this member using the supplied method data
      Parameters:
      srgMethod - SRG method data to use
      setOwner - True to set the owner as well as the name
      Returns:
      New MethodInfo with remapped values