Class UnpickV3Remapper
java.lang.Object
daomephsta.unpick.constantmappers.datadriven.tree.UnpickV3Visitor
daomephsta.unpick.constantmappers.datadriven.parser.v3.UnpickV3Remapper
Remaps all class, field, and method names in a .unpick v3 file. Visitor methods will be called on the downstream
visitor with the remapped names.
-
Constructor Summary
ConstructorsConstructorDescriptionUnpickV3Remapper(UnpickV3Visitor downstream) Warning: class names use "." format, not "/" format. -
Method Summary
Modifier and TypeMethodDescriptionprotected abstract StringgetFieldDesc(String className, String fieldName) protected abstract StringmapClassName(String className) protected abstract StringmapFieldName(String className, String fieldName, String fieldDesc) protected abstract StringmapMethodName(String className, String methodName, String methodDesc) voidvisitGroupDefinition(GroupDefinition groupDefinition) voidvisitTargetField(TargetField targetField) voidvisitTargetMethod(TargetMethod targetMethod)
-
Constructor Details
-
UnpickV3Remapper
Warning: class names use "." format, not "/" format.classesInPackageshould contain all the classes in each package, including unmapped ones. The classes in this map are unqualified by the package name (because the package name is already in the key of the map entry).
-
-
Method Details
-
visitGroupDefinition
- Overrides:
visitGroupDefinitionin classUnpickV3Visitor
-
visitTargetField
- Overrides:
visitTargetFieldin classUnpickV3Visitor
-
visitTargetMethod
- Overrides:
visitTargetMethodin classUnpickV3Visitor
-
mapClassName
-
mapFieldName
-
mapMethodName
-
getClassesInPackage
-
getFieldDesc
-