Package com.tonic.renamer.mapping
Class ClassMapping
- java.lang.Object
-
- com.tonic.renamer.mapping.ClassMapping
-
- All Implemented Interfaces:
RenameMapping
public final class ClassMapping extends Object implements RenameMapping
Represents a class rename mapping.
-
-
Constructor Summary
Constructors Constructor Description ClassMapping(String oldName, String newName)Creates a new class mapping.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object o)StringgetNewName()StringgetOldName()inthashCode()StringtoString()
-
-
-
Method Detail
-
getOldName
public String getOldName()
- Specified by:
getOldNamein interfaceRenameMapping- Returns:
- the old (original) name being renamed
-
getNewName
public String getNewName()
- Specified by:
getNewNamein interfaceRenameMapping- Returns:
- the new name to rename to
-
-