public interface ITargetSelectorRemappable extends ITargetSelectorByName
ITargetSelector.Configure| 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
|
boolean |
isClassInitialiser()
Get whether this selector represents a class initialiser
|
boolean |
isConstructor()
Get whether this member represents a constructor
|
boolean |
isField()
Get whether this target selector is definitely a field, the output of
this method is undefined if
isFullyQualified() returns false. |
boolean |
isFullyQualified()
Get whether this reference is fully qualified
|
boolean |
isInitialiser()
Get whether this selector represents a constructor or class initialiser
|
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, matches, toDescriptorattach, configure, getMaxMatchCount, getMinMatchCount, match, next, validateboolean isFullyQualified()
boolean isField()
isFullyQualified() returns false.boolean isConstructor()
boolean isClassInitialiser()
boolean isInitialiser()
IMapping<?> 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