<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>dance_school</author_name>
  <author_url>https://blog.hatena.ne.jp/dance_school/</author_url>
  <blog_title>プログラミンGOO</blog_title>
  <blog_url>https://site-study.hatenadiary.jp/</blog_url>
  <categories>
    <anon>Java</anon>
    <anon>テスト</anon>
  </categories>
  <description>JavaのリフレクションAPIにおけるgetDeclaredMethodとgetMethodの違いは、主に取得対象のメソッドのスコープ（可視性）や、継承関係における挙動にあります。以下にその違いを詳しく説明します。 getDeclaredMethod getDeclaredMethodは、クラス内で宣言されている特定のメソッドを取得します。 特徴 対象範囲: 現在のクラスに宣言されているメソッドのみを取得します。 継承されたスーパークラスのメソッドは取得できません。 アクセス修飾子に関係なく取得可能: privateやprotectedなど、あらゆるアクセス修飾子のメソッドを取得できます。 た…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fsite-study.hatenadiary.jp%2Fentry%2F2025%2F01%2F25%2F121636&quot; title=&quot;JavaのJUnitにおける、getDeclaredMethodとgetMethodの違いは？ - プログラミンGOO&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></image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2025-01-25 12:16:36</published>
  <title>JavaのJUnitにおける、getDeclaredMethodとgetMethodの違いは？</title>
  <type>rich</type>
  <url>https://site-study.hatenadiary.jp/entry/2025/01/25/121636</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
