@Override public boolean execute(@NotNull PsiElement pe,@NotNull ResolveState state){
  if (pe instanceof PsiVariable) {
    final PsiVariable pvar=(PsiVariable)pe;
    if (!myStaticSensitiveFlag || !myStaticScopeFlag || pvar.hasModifierProperty(PsiModifier.STATIC)) {
      if (check(pvar,state)) {
        myResultList.add(pvar);
      }
    }
  }
  return true;
}

@ Override public boolean execute ( @ NotNull PsiElement pe , @ NotNull ResolveState state ) { if ( pe instanceof PsiVariable ) { final PsiVariable pvar = ( PsiVariable ) pe ; if ( ! myStaticSensitiveFlag || ! myStaticScopeFlag || pvar . hasModifierProperty ( PsiModifier . STATIC ) ) { if ( check ( pvar , state ) ) { myResultList . add ( pvar ) ; } } } return true ; }
always return true since we wanna get all vars in scope
