Package org.cadixdev.lorenz.impl.model
Class FieldMappingImpl
- java.lang.Object
-
- org.cadixdev.lorenz.impl.model.AbstractMappingImpl<M,P>
-
- org.cadixdev.lorenz.impl.model.AbstractMemberMappingImpl<FieldMapping,ClassMapping>
-
- org.cadixdev.lorenz.impl.model.FieldMappingImpl
-
- All Implemented Interfaces:
FieldMapping,Mapping<FieldMapping,ClassMapping>,MemberMapping<FieldMapping,ClassMapping>,Reversible<FieldMapping,ClassMapping>
public class FieldMappingImpl extends AbstractMemberMappingImpl<FieldMapping,ClassMapping> implements FieldMapping
A basic implementation ofFieldMapping.- Since:
- 0.2.0
-
-
Constructor Summary
Constructors Constructor Description FieldMappingImpl(ClassMapping parentClass, org.cadixdev.bombe.type.signature.FieldSignature signature, java.lang.String deobfuscatedName)Creates a new field mapping, from the given parameters.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(java.lang.Object obj)org.cadixdev.bombe.type.signature.FieldSignaturegetSignature()Gets the signature of this field mapping.-
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.FieldMapping
copy, getDeobfuscatedSignature, getFullDeobfuscatedName, getFullObfuscatedName, getObfuscatedName, getType, merge, reverse
-
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
-
-
-
-
Constructor Detail
-
FieldMappingImpl
public FieldMappingImpl(ClassMapping parentClass, org.cadixdev.bombe.type.signature.FieldSignature signature, java.lang.String deobfuscatedName)
Creates a new field mapping, from the given parameters.- Parameters:
parentClass- The class mapping, this mapping belongs tosignature- The obfuscated signaturedeobfuscatedName- The de-obfuscated name
-
-
Method Detail
-
getSignature
public org.cadixdev.bombe.type.signature.FieldSignature getSignature()
Description copied from interface:FieldMappingGets the signature of this field mapping.- Specified by:
getSignaturein interfaceFieldMapping- Returns:
- The signature
-
equals
public boolean equals(java.lang.Object obj)
- Overrides:
equalsin classAbstractMemberMappingImpl<FieldMapping,ClassMapping>
-
-