Package org.cadixdev.lorenz.model
Interface TopLevelClassMapping
-
- All Superinterfaces:
ClassMapping<TopLevelClassMapping,MappingSet>,org.cadixdev.bombe.analysis.InheritanceCompletable,Mapping<TopLevelClassMapping,MappingSet>,Reversible<TopLevelClassMapping,MappingSet>
- All Known Implementing Classes:
TopLevelClassMappingImpl
public interface TopLevelClassMapping extends ClassMapping<TopLevelClassMapping,MappingSet>
Represents a de-obfuscation mapping for a top-level class.- Since:
- 0.1.0
-
-
Method Summary
All Methods Instance Methods Default Methods Modifier and Type Method Description default TopLevelClassMappingcopy(MappingSet parent)Clones this mapping, to a given parent.default java.lang.StringgetDeobfuscatedPackage()Gets the de-obfuscated package name of this class mapping.default java.lang.StringgetFullDeobfuscatedName()Gets the fully-qualified de-obfuscated name of the member.default java.lang.StringgetFullObfuscatedName()Gets the fully-qualified obfuscated name of the member.default java.lang.StringgetObfuscatedPackage()Gets the obfuscated package name of this class mapping.default java.lang.StringgetSimpleDeobfuscatedName()Gets the unqualified ("simple") de-obfuscated name of the member.default java.lang.StringgetSimpleObfuscatedName()Gets the unqualified ("simple") obfuscated name of the member.default TopLevelClassMappingmerge(TopLevelClassMapping with, MappingSet parent)Merges this mapping with another, to a given parent.default TopLevelClassMappingreverse(MappingSet parent)Produces a new object that is a reverse copy of the original.-
Methods inherited from interface org.cadixdev.lorenz.model.ClassMapping
computeFieldMapping, createFieldMapping, createFieldMapping, createFieldMapping, createFieldMapping, createInnerClassMapping, createInnerClassMapping, createMethodMapping, createMethodMapping, createMethodMapping, createMethodMapping, getFieldMapping, getFieldMapping, getFieldMappings, getFieldsByName, getInnerClassMapping, getInnerClassMappings, getMethodMapping, getMethodMapping, getMethodMappings, getOrCreateFieldMapping, getOrCreateFieldMapping, getOrCreateFieldMapping, getOrCreateFieldMapping, getOrCreateInnerClassMapping, getOrCreateMethodMapping, getOrCreateMethodMapping, getOrCreateMethodMapping, hasFieldMapping, hasFieldMapping, hasInnerClassMapping, hasMappings, hasMethodMapping, provideInheritance
-
Methods inherited from interface org.cadixdev.bombe.analysis.InheritanceCompletable
complete, complete, complete, isComplete
-
Methods inherited from interface org.cadixdev.lorenz.model.Mapping
get, getDeobfuscatedName, getMappings, getObfuscatedName, getOrCreate, hasDeobfuscatedName, set, setDeobfuscatedName
-
-
-
-
Method Detail
-
getSimpleObfuscatedName
default java.lang.String getSimpleObfuscatedName()
Description copied from interface:ClassMappingGets the unqualified ("simple") obfuscated name of the member.- Specified by:
getSimpleObfuscatedNamein interfaceClassMapping<TopLevelClassMapping,MappingSet>- Specified by:
getSimpleObfuscatedNamein interfaceMapping<TopLevelClassMapping,MappingSet>- Returns:
- The simple obfuscated name
- See Also:
Class.getSimpleName(), Specification
-
getSimpleDeobfuscatedName
default java.lang.String getSimpleDeobfuscatedName()
Description copied from interface:ClassMappingGets the unqualified ("simple") de-obfuscated name of the member.- Specified by:
getSimpleDeobfuscatedNamein interfaceClassMapping<TopLevelClassMapping,MappingSet>- Specified by:
getSimpleDeobfuscatedNamein interfaceMapping<TopLevelClassMapping,MappingSet>- Returns:
- The simple de-obfuscated name
- See Also:
Class.getSimpleName(), Specification
-
getFullObfuscatedName
default java.lang.String getFullObfuscatedName()
Description copied from interface:MappingGets the fully-qualified obfuscated name of the member.- Specified by:
getFullObfuscatedNamein interfaceMapping<TopLevelClassMapping,MappingSet>- Returns:
- The fully-qualified obfuscated name
-
getFullDeobfuscatedName
default java.lang.String getFullDeobfuscatedName()
Description copied from interface:MappingGets the fully-qualified de-obfuscated name of the member.- Specified by:
getFullDeobfuscatedNamein interfaceMapping<TopLevelClassMapping,MappingSet>- Returns:
- The fully-qualified de-obfuscated name
-
getObfuscatedPackage
default java.lang.String getObfuscatedPackage()
Description copied from interface:ClassMappingGets the obfuscated package name of this class mapping.Default package is represented using an empty string.
- Specified by:
getObfuscatedPackagein interfaceClassMapping<TopLevelClassMapping,MappingSet>- Returns:
- The obfuscated package name
-
getDeobfuscatedPackage
default java.lang.String getDeobfuscatedPackage()
Description copied from interface:ClassMappingGets the de-obfuscated package name of this class mapping.Default package is represented using an empty string.
- Specified by:
getDeobfuscatedPackagein interfaceClassMapping<TopLevelClassMapping,MappingSet>- Returns:
- The de-obfuscated package name
-
reverse
default TopLevelClassMapping reverse(MappingSet parent)
Description copied from interface:ReversibleProduces a new object that is a reverse copy of the original.- Specified by:
reversein interfaceReversible<TopLevelClassMapping,MappingSet>- Parameters:
parent- The parent object- Returns:
- The reversed object
-
merge
default TopLevelClassMapping merge(TopLevelClassMapping with, MappingSet parent)
Description copied from interface:MappingMerges this mapping with another, to a given parent.- Specified by:
mergein interfaceMapping<TopLevelClassMapping,MappingSet>- Parameters:
with- The mapping to merge withparent- The parent- Returns:
- The new mapping
-
copy
default TopLevelClassMapping copy(MappingSet parent)
Description copied from interface:MappingClones this mapping, to a given parent.- Specified by:
copyin interfaceMapping<TopLevelClassMapping,MappingSet>- Parameters:
parent- The parent- Returns:
- The cloned mapping
-
-