<html><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; font: normal normal normal 11px/normal Monaco; "><pre><div class="line" id="LC68"></div><div class="line" id="LC69">Hi

I found a trivial bug.</div><div class="line" id="LC69"><br></div><div class="line" id="LC69">>> MessageConveyor #68
>&nbsp;String resouceBundleName = AnnotationExtractor.getResourceBundleName(key
>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;.getClass());

Enum#getClass() is specific as follows.

----
public&nbsp;enum MSG{
&nbsp; A,
&nbsp; B{
&nbsp;&nbsp; &nbsp;// override method
&nbsp;&nbsp;}
}

public static void main(String[] args){
&nbsp; &nbsp; &nbsp; System.out.println(MSG.A.getClass()); // ->&nbsp;$MSG
&nbsp; &nbsp; &nbsp; System.out.println(MSG.B.getClass()); // ->&nbsp;$MSG$1
&nbsp; &nbsp; &nbsp; System.out.println(MSG.B.getDeclaringClass()); //&nbsp;$MSG
}

----
If we need to get enum class form instance, we have to call Enum#getDeclaringClass().
<br></div><div class="line" id="LC69">Takeshi Kondo</div><div class="line" id="LC69">&nbsp;</div></pre></div></body></html>