private static boolean isModifierListOfVar(PsiElement element, PsiElement parent) {
        return parent instanceof GrVariable && ((GrVariable)parent).getModifierList() == element;
      }
private static boolean isModifierListOfVar(PsiElement element, PsiElement parent)