com.intellij.openapi.project.Project



Project JetBrains/intellij-community in file ....intellij.psi.impl.source.JavaFileElementType.java (2009-06-09)
@@ -6,7 +6,6 @@ package com.intellij.psi.impl.source;
 import com.intellij.lang.ASTNode;
 import com.intellij.lang.StdLanguages;
 import com.intellij.lexer.JavaLexer;
-import com.intellij.openapi.project.Project;
 import com.intellij.openapi.vfs.VirtualFile;
 import com.intellij.pom.java.LanguageLevel;
 import com.intellij.psi.PsiManager;
@@ -55,8 +54,6 @@ public class JavaFileElementType extends IStubFileElementType<PsiJavaFileStub> {
     return FileTextParsing.parseFileText(manager, lexer, seq, 0, seq.length(), node.getCharTable());
   }
 
-  public boolean isParsable(CharSequence buffer, final Project project) {return true;}
-
   public String getExternalId() {
     return "java.FILE";
   }
Project JetBrains/intellij-community in file ...tellij.codeInsight.unwrap.JavaBracesUnwrapper.java (2008-03-03)
@@ -2,7 +2,6 @@ package com.intellij.codeInsight.unwrap;
 
 import com.intellij.codeInsight.CodeInsightBundle;
 import com.intellij.openapi.editor.Editor;
-import com.intellij.openapi.project.Project;
 import com.intellij.psi.*;
 import com.intellij.util.IncorrectOperationException;
 
@@ -24,7 +23,7 @@ public class JavaBracesUnwrapper extends JavaUnwrapper {
            || p instanceof PsiCatchSection;
   }
 
-  public void unwrap(Project project, Editor editor, PsiElement element) throws IncorrectOperationException {
+  public void unwrap(Editor editor, PsiElement element) throws IncorrectOperationException {
     extractFromBlockOrSingleStatement((PsiStatement)element, element);
     element.delete();
   }
Project JetBrains/intellij-community in file ....intellij.codeInsight.unwrap.JavaForUnwrapper.java (2008-03-03)
@@ -2,7 +2,6 @@ package com.intellij.codeInsight.unwrap;
 
 import com.intellij.codeInsight.CodeInsightBundle;
 import com.intellij.openapi.editor.Editor;
-import com.intellij.openapi.project.Project;
 import com.intellij.psi.PsiElement;
 import com.intellij.psi.PsiForStatement;
 import com.intellij.psi.PsiStatement;
@@ -17,7 +16,7 @@ public class JavaForUnwrapper extends JavaUnwrapper {
     return e instanceof PsiForStatement;
   }
 
-  public void unwrap(Project project, Editor editor, PsiElement element) throws IncorrectOperationException {
+  public void unwrap(Editor editor, PsiElement element) throws IncorrectOperationException {
     PsiStatement init = ((PsiForStatement)element).getInitialization();
     PsiStatement body = ((PsiForStatement)element).getBody();
 
Project JetBrains/intellij-community in file ...m.intellij.codeInsight.unwrap.JavaIfUnwrapper.java (2008-03-03)
@@ -2,7 +2,6 @@ package com.intellij.codeInsight.unwrap;
 
 import com.intellij.psi.*;
 import com.intellij.util.IncorrectOperationException;
-import com.intellij.openapi.project.Project;
 import com.intellij.openapi.editor.Editor;
 import com.intellij.codeInsight.CodeInsightBundle;
 
@@ -15,7 +14,7 @@ public class JavaIfUnwrapper extends JavaUnwrapper {
     return e instanceof PsiIfStatement && !isElseBlock(e);
   }
 
-  public void unwrap(Project project, Editor editor, PsiElement element) throws IncorrectOperationException {
+  public void unwrap(Editor editor, PsiElement element) throws IncorrectOperationException {
     PsiStatement then = ((PsiIfStatement)element).getThenBranch();
     extractFromBlockOrSingleStatement(then, element);
 
Project JetBrains/intellij-community in file ....intellij.codeInsight.unwrap.JavaTryUnwrapper.java (2008-03-03)
@@ -3,7 +3,6 @@ package com.intellij.codeInsight.unwrap;
 import com.intellij.psi.PsiElement;
 import com.intellij.psi.PsiTryStatement;
 import com.intellij.util.IncorrectOperationException;
-import com.intellij.openapi.project.Project;
 import com.intellij.openapi.editor.Editor;
 import com.intellij.codeInsight.CodeInsightBundle;
 
@@ -16,7 +15,7 @@ public class JavaTryUnwrapper extends JavaUnwrapper {
     return e instanceof PsiTryStatement;
   }
 
-  public void unwrap(Project project, Editor editor, PsiElement element) throws IncorrectOperationException {
+  public void unwrap(Editor editor, PsiElement element) throws IncorrectOperationException {
     PsiTryStatement trySt = (PsiTryStatement)element;
 
     extractFromCodeBlock(trySt.getTryBlock(), trySt);