void (@NotNull PsiLocalVariable variable) { super.visitLocalVariable(variable); if (variable instanceof PsiField) return; if (!TypeConversionUtil.isPrimitiveWrapper(variable.getType())) return; PsiExpression initializer = variable.getInitializer(); BoxingInfo boxingInfo = new BoxingInfo(variable); if (initializer != null && !boxingInfo.checkExpression(initializer)) return; ArrayList<BoxingInfo> infos = new ArrayList<>(); infos.add(boxingInfo); myBoxingMap.put(variable, infos); }