public interface ITargetSelectorRemappable extends ITargetSelectorByName
| Modifier and Type | Method and Description |
|---|---|
MappingField |
asFieldMapping()
Returns this selector as a mapping field
|
IMapping<?> |
asMapping()
Returns this selector as a
MappingField or
MappingMethod |
MappingMethod |
asMethodMapping()
Returns this selector as a mapping method
|
ITargetSelectorRemappable |
move(java.lang.String newOwner)
Create a new version of this member with a different owner
|
ITargetSelectorRemappable |
remapUsing(MappingMethod srgMethod,
boolean setOwner)
Create a remapped version of this member using the supplied method data
|
ITargetSelectorRemappable |
transform(java.lang.String newDesc)
Create a new version of this member with a different descriptor
|
getDesc, getName, getOwner, isClassInitialiser, isConstructor, isField, isFullyQualified, isInitialiser, matches, toDescriptorattach, configure, getMatchCount, match, match, next, validateIMapping<?> asMapping()
MappingField or
MappingMethodMappingMethod asMethodMapping()
MappingField asFieldMapping()
ITargetSelectorRemappable move(java.lang.String newOwner)
newOwner - New owner for this memberITargetSelectorRemappable transform(java.lang.String newDesc)
newDesc - New descriptor for this memberITargetSelectorRemappable remapUsing(MappingMethod srgMethod, boolean setOwner)
srgMethod - SRG method data to usesetOwner - True to set the owner as well as the name