boolean (PsiParameter t, ProcessingContext context, PairProcessor<? super PsiMethod, ? super ProcessingContext> processor) { PsiElement scope = t.getDeclarationScope(); if (!(scope instanceof PsiMethod)) return true; return processor.process((PsiMethod)scope, context); }