public interface MethodMapping extends MemberMapping<MethodMapping,ClassMapping>
Modifier and Type | Method and Description |
---|---|
MethodParameterMapping |
createParameterMapping(int index,
String deobfuscatedName)
Creates a
MethodParameterMapping parented by this method, of
the given integer index. |
default String |
getDeobfuscatedDescriptor()
Gets the de-obfuscated descriptor of the method.
|
default me.jamiemansfield.bombe.type.MethodDescriptor |
getDescriptor()
Gets the
MethodDescriptor of the method. |
default String |
getFullDeobfuscatedName()
Gets the fully-qualified de-obfuscated name of the member.
|
default String |
getFullObfuscatedName()
Gets the fully-qualified obfuscated name of the member.
|
default String |
getObfuscatedDescriptor()
Gets the obfuscated descriptor of the method.
|
default MethodParameterMapping |
getOrCreateParameterMapping(int index)
Gets, or creates should it not exist, a parameter mapping of the
given integer index.
|
Optional<MethodParameterMapping> |
getParameterMapping(int index)
Gets a
MethodParameterMapping , if present, of the given
integer index. |
Collection<MethodParameterMapping> |
getParameterMappings()
Gets an immutable view of all the
MethodParameterMapping s
that belong to this method. |
me.jamiemansfield.bombe.type.signature.MethodSignature |
getSignature()
Gets the signature of this method mapping.
|
default boolean |
hasMappings()
Establishes whether the method mapping has a de-obfuscation mapping, or
has some mappings within it.
|
boolean |
hasParameterMapping(int index)
Establishes whether the method mapping contains a parameter mapping
of the integer index.
|
getParent
getDeobfuscatedName, getMappings, getObfuscatedName, getSimpleDeobfuscatedName, getSimpleObfuscatedName, hasDeobfuscatedName, setDeobfuscatedName
me.jamiemansfield.bombe.type.signature.MethodSignature getSignature()
default me.jamiemansfield.bombe.type.MethodDescriptor getDescriptor()
MethodDescriptor
of the method.MethodSignature.getDescriptor()
default String getObfuscatedDescriptor()
MethodSignature.getDescriptor()
,
MethodDescriptor.toString()
default String getDeobfuscatedDescriptor()
MethodSignature.getDescriptor()
,
MappingSet.deobfuscate(MethodDescriptor)
Collection<MethodParameterMapping> getParameterMappings()
MethodParameterMapping
s
that belong to this method.MethodParameterMapping createParameterMapping(int index, String deobfuscatedName)
MethodParameterMapping
parented by this method, of
the given integer index.index
- The index of the parameterdeobfuscatedName
- The de-obfuscated name to give the parameterOptional<MethodParameterMapping> getParameterMapping(int index)
MethodParameterMapping
, if present, of the given
integer index.index
- The index of the parameterOptional
default MethodParameterMapping getOrCreateParameterMapping(int index)
index
- The index of the parameterboolean hasParameterMapping(int index)
index
- The index of the parametertrue
should a parameter mapping of the given
index exists in the method mapping; false
otherwisedefault boolean hasMappings()
true
if the method mappings has mappings;
false
otherwisedefault String getFullObfuscatedName()
Mapping
getFullObfuscatedName
in interface Mapping<MethodMapping>
default String getFullDeobfuscatedName()
Mapping
getFullDeobfuscatedName
in interface Mapping<MethodMapping>