<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>jyukutyo</author_name>
  <author_url>https://blog.hatena.ne.jp/jyukutyo/</author_url>
  <blog_title>Fight the Future</blog_title>
  <blog_url>https://www.sakatakoichi.com/</blog_url>
  <categories>
    <anon>programming</anon>
  </categories>
  <description>Javaの話。 アノテーションを自分で定義してるんだけど、 このアノテーションには値としてこれか、あれかだけ、って考えることが多い。 そうすると自然とEnumが選択肢になる。 そもそもアノテーションには値として(ほぼ)プリミティブしか記述できない。 プリミティブ String Class アノテーション 1次元配列 Enum Java5でアノテーションを導入するにあたり、きっとよく考えられたんだろうな。 普通の定数をアノテーションに記述できない以上、Enumがなければほんと困ったことになってた。</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fwww.sakatakoichi.com%2Fentry%2F20080731%2F1217488335&quot; title=&quot;Enumとアノテーションはやっぱり考えて同時に導入したのかな - Fight the Future&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>2008-08-01 08:12:15</published>
  <title>Enumとアノテーションはやっぱり考えて同時に導入したのかな</title>
  <type>rich</type>
  <url>https://www.sakatakoichi.com/entry/20080731/1217488335</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
