Package org.cadixdev.lorenz.impl.model
Class MethodParameterMappingImpl
- java.lang.Object
-
- org.cadixdev.lorenz.impl.model.AbstractMappingImpl<M,P>
-
- org.cadixdev.lorenz.impl.model.AbstractMemberMappingImpl<MethodParameterMapping,MethodMapping>
-
- org.cadixdev.lorenz.impl.model.MethodParameterMappingImpl
-
- All Implemented Interfaces:
Mapping<MethodParameterMapping,MethodMapping>,MemberMapping<MethodParameterMapping,MethodMapping>,MethodParameterMapping,Reversible<MethodParameterMapping,MethodMapping>
public class MethodParameterMappingImpl extends AbstractMemberMappingImpl<MethodParameterMapping,MethodMapping> implements MethodParameterMapping
A basic implementation ofMethodParameterMapping.- Since:
- 0.4.0
-
-
Constructor Summary
Constructors Constructor Description MethodParameterMappingImpl(MethodMapping parent, int index, java.lang.String deobfuscatedName)Creates a new method parameter mapping, from the given parameters.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(java.lang.Object obj)java.lang.StringgetFullDeobfuscatedName()Gets the fully-qualified de-obfuscated name of the member.java.lang.StringgetFullObfuscatedName()Gets the fully-qualified obfuscated name of the member.intgetIndex()Gets the index of the method parameter being mapped.-
Methods inherited from class org.cadixdev.lorenz.impl.model.AbstractMemberMappingImpl
getParent, hashCode
-
Methods inherited from class org.cadixdev.lorenz.impl.model.AbstractMappingImpl
buildToString, get, getDeobfuscatedName, getMappings, getObfuscatedName, hasDeobfuscatedName, set, setDeobfuscatedName, toString
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface org.cadixdev.lorenz.model.Mapping
get, getDeobfuscatedName, getMappings, getOrCreate, getSimpleDeobfuscatedName, getSimpleObfuscatedName, hasDeobfuscatedName, set, setDeobfuscatedName
-
Methods inherited from interface org.cadixdev.lorenz.model.MemberMapping
getParent
-
Methods inherited from interface org.cadixdev.lorenz.model.MethodParameterMapping
copy, getObfuscatedName, merge, reverse
-
-
-
-
Constructor Detail
-
MethodParameterMappingImpl
public MethodParameterMappingImpl(MethodMapping parent, int index, java.lang.String deobfuscatedName)
Creates a new method parameter mapping, from the given parameters.- Parameters:
parent- The mapping, this mapping belongs toindex- The index of the parameterdeobfuscatedName- The de-obfuscated name
-
-
Method Detail
-
getIndex
public int getIndex()
Description copied from interface:MethodParameterMappingGets the index of the method parameter being mapped.- Specified by:
getIndexin interfaceMethodParameterMapping- Returns:
- The index
-
getFullObfuscatedName
public java.lang.String getFullObfuscatedName()
Description copied from interface:MappingGets the fully-qualified obfuscated name of the member.- Specified by:
getFullObfuscatedNamein interfaceMapping<MethodParameterMapping,MethodMapping>- Returns:
- The fully-qualified obfuscated name
-
getFullDeobfuscatedName
public java.lang.String getFullDeobfuscatedName()
Description copied from interface:MappingGets the fully-qualified de-obfuscated name of the member.- Specified by:
getFullDeobfuscatedNamein interfaceMapping<MethodParameterMapping,MethodMapping>- Returns:
- The fully-qualified de-obfuscated name
-
equals
public boolean equals(java.lang.Object obj)
- Overrides:
equalsin classAbstractMemberMappingImpl<MethodParameterMapping,MethodMapping>
-
-