SSR: remove unnecessary method

This commit is contained in:
Bas Leijdekkers
2017-06-04 12:32:11 +02:00
parent 109e2ae4aa
commit 01cf093e1f
@@ -163,11 +163,6 @@ public abstract class StructuralSearchProfile {
throw new UnsupportedPatternException(SSRBundle.message("replacement.not.supported.for.filetype", fileType));
}
@NotNull
public Language getLanguage(PsiElement element) {
return element.getLanguage();
}
// only for nodes not filtered by lexical-nodes filter; they can be by default
public boolean canBeVarDelimeter(@NotNull PsiElement element) {
return false;