@Override
      public void visitMethod(@NotNull PsiMethod method) {
        PsiCodeBlock body = method.getBody();
        if (body == null) return;
        WrapperTypeMayBePrimitiveDetectingVisitor visitor = new WrapperTypeMayBePrimitiveDetectingVisitor();
        body.accept(visitor);
        for (PsiVariable variable : visitor.getVariablesToUnbox()) {
          PsiElement elementToHighlight = variable.getTypeElement() != null ? variable.getTypeElement() : variable;
          holder.registerProblem(elementToHighlight, JavaBundle.message("inspection.wrapper.type.may.be.primitive.name"), new ConvertWrapperTypeToPrimitive());
        }
      }
@Override
      public void visitMethod(@NotNull PsiMethod method)