void (PsiExpression expression) { PsiMethod method = PsiTreeUtil.getParentOfType(expression, PsiMethod.class); if (method == null) return; if (!READ_INPUT_STREAM.methodMatches(method)) return; registerProblem(expression); }