<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>taanatsu</author_name>
  <author_url>https://blog.hatena.ne.jp/taanatsu/</author_url>
  <blog_title>エキサイト TechBlog.</blog_title>
  <blog_url>https://tech.excite.co.jp/</blog_url>
  <categories>
  </categories>
  <description>taanatsuです。 IntelliJ開発環境でJavaでローカル変数を作る際によく利用する「.var」。 これをしたときに変数にfinalを自動付与する設定が……新しいバージョンから消えていました。 それを復活させる方法を共有します。 IngtelliJの設定から、 Editor -&gt; Code Style -&gt; Java -&gt; Code Generation に行き、Make generated local variables finalにチェックを入れます。 IntellJ IDEAでローカル変数にfinalをつける これで完了です！ 試してみましょう。 &quot;test&quot;.varと入力し、…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Ftech.excite.co.jp%2Fentry%2F2022%2F02%2F08%2F124910&quot; title=&quot;【Java】IntelliJ IDEAで、「.var」したときに自動でfinalをつける - エキサイト TechBlog.&quot; class=&quot;embed-card embed-blogcard&quot; scrolling=&quot;no&quot; frameborder=&quot;0&quot; style=&quot;display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;&quot;&gt;&lt;/iframe&gt;</html>
  <image_url>https://cdn-ak.f.st-hatena.com/images/fotolife/t/taanatsu/20220204/20220204192328.png</image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2022-02-08 12:49:10</published>
  <title>【Java】IntelliJ IDEAで、「.var」したときに自動でfinalをつける</title>
  <type>rich</type>
  <url>https://tech.excite.co.jp/entry/2022/02/08/124910</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
