<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>fuji-tak</author_name>
  <author_url>https://blog.hatena.ne.jp/fuji-tak/</author_url>
  <blog_title>fujithuro.log</blog_title>
  <blog_url>https://fuji-tak.hateblo.jp/</blog_url>
  <categories>
    <anon>IntelliJ IDEA</anon>
  </categories>
  <description>今日初めて見たんですが、IntelliJ IDEAでBoolean method 'xxx' is always invertedというメッセージに出会いました。 こんな感じ。メソッドの中身は超適当です。 メッセージの通りですが、呼び出し元が全部!で結果を反転している時に出てくるみたいですね。 これでInvert methodを選ぶと、変更後のメソッド名を何にするかというダイアログが出てきました。 とりあえずNotを入れた名前にしてみて、refactorを押すと、、 実装の中身が反転して、呼び出し元に付いてた!も全部外れてました。 メソッドの中身が複雑でも自動でリファクタリングしてくれるのかは…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Ffuji-tak.hateblo.jp%2Fentry%2F2021%2F02%2F01%2F190757&quot; title=&quot;【IntelliJ IDEA】Boolean method &amp;#39;xxx&amp;#39; is always inverted - fujithuro.log&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/f/fuji-tak/20210201/20210201185516.png</image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2021-02-01 19:07:57</published>
  <title>【IntelliJ IDEA】Boolean method 'xxx' is always inverted</title>
  <type>rich</type>
  <url>https://fuji-tak.hateblo.jp/entry/2021/02/01/190757</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
