Skip to content

Commit

Permalink
tweaks for IDEA 11.1
Browse files Browse the repository at this point in the history
  • Loading branch information
Ilya Sergey authored and Ilya Sergey committed Mar 28, 2012
1 parent 1a3ab8e commit e51e61c
Show file tree
Hide file tree
Showing 6 changed files with 11 additions and 5 deletions.
2 changes: 1 addition & 1 deletion META-INF/plugin.xml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
Inc.
</vendor>
<!--<idea-version since-build="SINCE_IDEA" until-build="UNTIL_IDEA"/>-->
<idea-version since-build="IC-111.24" until-build="IC-111.9999"/>
<idea-version since-build="IC-117.105" until-build="IC-117.9999"/>

<extensions defaultExtensionNs="com.intellij">
<errorHandler implementation="com.intellij.diagnostic.ITNReporter"/>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
/**
* @author ilyas
*/
public class ClojureCodeFragmentFactory implements CodeFragmentFactory{
public class ClojureCodeFragmentFactory extends CodeFragmentFactory{
public JavaCodeFragment createCodeFragment(TextWithImports item, PsiElement context, Project project) {
final StringBuffer text = new StringBuffer();

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,7 @@ public PsiModifierList getModifierList() {
return null;
}

public boolean hasModifierProperty(@Modifier String name) {
public boolean hasModifierProperty(String name) {
return false;
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -132,7 +132,7 @@ public PsiModifierList getModifierList() {
return null;
}

public boolean hasModifierProperty(@NotNull @Modifier String name) {
public boolean hasModifierProperty(@NotNull String name) {
return false;
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -373,7 +373,7 @@ public PsiModifierList getModifierList() {
return null;
}

public boolean hasModifierProperty(@Modifier String s) {
public boolean hasModifierProperty(String s) {
//todo implement me!
return false;
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@
import com.intellij.psi.PsiMethod;
import com.intellij.psi.PsiField;
import com.intellij.psi.stubs.StubIndex;
import com.intellij.util.Processor;
import com.intellij.util.containers.HashSet;
import com.intellij.util.containers.ContainerUtil;
import com.intellij.util.Function;
Expand Down Expand Up @@ -104,6 +105,11 @@ public PsiMethod[] getMethodsByNameIfNotMoreThan(@NonNls String name, @NotNull G
return new PsiMethod[0];
}

@Override
public boolean processMethodsWithName(@NonNls @NotNull String s, @NotNull GlobalSearchScope globalSearchScope, @NotNull Processor<PsiMethod> psiMethodProcessor) {
return false;
}

@NotNull
public String[] getAllMethodNames() {
return new String[0];
Expand Down

0 comments on commit e51e61c

Please sign in to comment.