sourcePattern:
Id: {
long: formalParameter -> variableDeclaratorId -> sourceNode
short: 77 -> 56
},
name: "Parameter name change",
attributes: {
"parameter_index" : function(sourceTreeCache, targetTreeCache) {Way to compute}
"method_name" : function(...) {Way to compute}
"source_line_no": function(...) {Way to compute}
"target_line_no": function(...) {Way to compute}
"old_name": function(...) {Way to compute}
"new_name": function(...) {Way to compute}
},
viewTemplate: "{{parameter_index}}th parameter's name of method {{method_name}} is changed from {{old_name}} to {{new_name}} (original line {{source_line_no}} and updated line {{target_line_no}}"
Pattern:
======================================================