boolean (ASTNode node) { _init(node); if (myChild1 == null || myChild2 == null) { return true; } PsiElement psi1 = myChild1.getPsi(); PsiElement psi2 = myChild2.getPsi(); if (psi1 == null || psi2 == null) { return true; } if (psi1.getLanguage() != GroovyLanguage.INSTANCE || psi2.getLanguage() != GroovyLanguage.INSTANCE) { return true; } return false; }