Modify the type of the variable assignment
modifyAssignedVariable action can be used to modify the type of a variable assignment.
modifyAssignedVariable action is available when using the following targets:
type that the assigned variable will be changed to.
modifyAssignedVariable: type: java.lang.Number
- Integer foo = Integer.valueOf("1"); + Number foo = Integer.valueOf("1");
Specifies the element to apply the
modifyAssignedVariable action to.
target configuration option will default to
self if it is not specified.
Refers to the element found using the search target.
followByElementis only applicable when your search target includes a
followByElementcorresponds to the element that was found using the