Visualisation of refactorings - JetBrains-Research/RefactorInsight GitHub Wiki
Add / Remove (Method, Attribute, Variable, Parameter, Class) Modifier
Comments:
FIX
Class UMLModifier was introduced that provides LocationInfo
All AddXXXXModifier refactorings have a method UMLModifier getAddedModifier()
All RemoveXXXXModifier refactorings have a method UMLModifier getRemovedModifier()
All ChangeXXXXAccessModifier refactorings have two methods UMLModifier getOldModifier() and UMLModifier getNewModifier()
Note These methods will return null if the modifier is package-private, because for package-private access no keyword is used.
Change Variable/Parameter/Attribute Type
FIX
Instead of highlighting VariableDeclaration getOriginalVariable() and VariableDeclaration getChangedTypeVariable()
getOriginalVariable().getType() and getChangedTypeVariable().getType() should be highlighted.
getType() returns UMLType object which has a LocationInfo
Extract Variable

Comments:
You case use List<LeafMapping> getSubExpressionMappings()
LeafMapping.getFragment1() will give you the expression that was extracted from the left.
LeafMapping.getFragment2() will give you the initializer of the extracted variable to the right.
If the List.size() > 1, then it is a case of multi-mapping, where more than one expression from the left were extracted to the same variable initializer to the right.
Updated visualization:

Inline Method

Comments:
Change Return Type

Comments:
Rename and Change Parameter Type

Comments:
Rename Method

Comments:
Extract Method

Comments:
Add Parameter

Comments:
Inline Variable

Comments:
Change Variable Type

Comments:
Extract Superclass
Comments:
Nothing is highlighted.
Parameterize Attribute

Comments:
Move Method

Comments:
Push Down Attribute

Comments:
Push Down Attribute

Comments:
Extract and move method
