inline to work when invoked on definition
authorMaxim Mossienko <Maxim.Mossienko@jetbrains.com>
Tue, 22 Sep 2009 11:59:14 +0000 (15:59 +0400)
committerMaxim Mossienko <Maxim.Mossienko@jetbrains.com>
Tue, 22 Sep 2009 11:59:14 +0000 (15:59 +0400)
plugins/groovy/src/org/jetbrains/plugins/groovy/refactoring/inline/GroovyInlineHandler.java

index 0b23cf628359f44b61adee57a943f839125fa5b9..e6cbb48795057ce493f39c9d7160aeb2522f60a8 100644 (file)
@@ -76,7 +76,7 @@ public class GroovyInlineHandler implements InlineHandler {
   }
 
   @Nullable
-  public Inliner createInliner(PsiElement element) {
+  public Inliner createInliner(PsiElement element, Settings settings) {
     if (element instanceof GrVariable &&
         GroovyRefactoringUtil.isLocalVariable((GrVariable) element)) {
       return GroovyInlineVariableUtil.createInlinerForLocalVariable(((GrVariable) element));