Fixed the Extract Method Refactoring mechanics when the variable criterion declaration statement is nested deeper than the extracted method invocation insertion statement.
This fix improves the extraction of variable anchorRect (at block B8) from method drawDomainMarker() in class AbstractXYItemRenderer of project JFreeChart 1.0.14.