| <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> |
| <!-- NewPage --> |
| <html lang="en"> |
| <head> |
| <title>AnnotationMember</title> |
| <link rel="stylesheet" type="text/css" href="../../../../stylesheet.css" title="Style"> |
| <script type="text/javascript" src="../../../../script.js"></script> |
| |
| <link rel="shortcut icon" href="/img/jakarta-favicon.ico"> |
| </head> |
| <body> |
| <script type="text/javascript"><!-- |
| try { |
| if (location.href.indexOf('is-external=true') == -1) { |
| parent.document.title="AnnotationMember"; |
| } |
| } |
| catch(err) { |
| } |
| //--> |
| var methods = {"i0":6,"i1":6,"i2":6,"i3":6,"i4":6,"i5":6,"i6":6,"i7":6,"i8":6,"i9":6,"i10":6,"i11":6,"i12":6,"i13":6,"i14":6,"i15":18,"i16":18,"i17":18,"i18":18,"i19":18,"i20":18,"i21":18,"i22":18,"i23":18,"i24":18,"i25":18,"i26":18,"i27":18,"i28":6}; |
| var tabs = {65535:["t0","All Methods"],2:["t2","Instance Methods"],4:["t3","Abstract Methods"],16:["t5","Default Methods"]}; |
| var altColor = "altColor"; |
| var rowColor = "rowColor"; |
| var tableTab = "tableTab"; |
| var activeTableTab = "activeTableTab"; |
| </script> |
| <noscript> |
| <div>JavaScript is disabled on your browser.</div> |
| </noscript> |
| <!-- ========= START OF TOP NAVBAR ======= --> |
| <div class="topNav"><a name="navbar.top"> |
| <!-- --> |
| </a> |
| <div class="skipNav"><a href="#skip.navbar.top" title="Skip navigation links">Skip navigation links</a></div> |
| <a name="navbar.top.firstrow"> |
| <!-- --> |
| </a> |
| <ul class="navList" title="Navigation"> |
| <li><a href="../../../../overview-summary.html">Overview</a></li> |
| <li><a href="package-summary.html">Package</a></li> |
| <li class="navBarCell1Rev">Class</li> |
| <li><a href="package-tree.html">Tree</a></li> |
| <li><a href="../../../../deprecated-list.html">Deprecated</a></li> |
| <li><a href="../../../../index-all.html">Index</a></li> |
| <li><a href="../../../../help-doc.html">Help</a></li> |
| </ul> |
| </div> |
| <div class="subNav"> |
| <ul class="navList"> |
| <li><a href="../../../../jakarta/enterprise/lang/model/AnnotationInfo.html" title="interface in jakarta.enterprise.lang.model"><span class="typeNameLink">Prev Class</span></a></li> |
| <li><a href="../../../../jakarta/enterprise/lang/model/AnnotationMember.Kind.html" title="enum in jakarta.enterprise.lang.model"><span class="typeNameLink">Next Class</span></a></li> |
| </ul> |
| <ul class="navList"> |
| <li><a href="../../../../index.html?jakarta/enterprise/lang/model/AnnotationMember.html" target="_top">Frames</a></li> |
| <li><a href="AnnotationMember.html" target="_top">No Frames</a></li> |
| </ul> |
| <ul class="navList" id="allclasses_navbar_top"> |
| <li><a href="../../../../allclasses-noframe.html">All Classes</a></li> |
| </ul> |
| <div> |
| <script type="text/javascript"><!-- |
| allClassesLink = document.getElementById("allclasses_navbar_top"); |
| if(window==top) { |
| allClassesLink.style.display = "block"; |
| } |
| else { |
| allClassesLink.style.display = "none"; |
| } |
| //--> |
| </script> |
| </div> |
| <div> |
| <ul class="subNavList"> |
| <li>Summary: </li> |
| <li><a href="#nested.class.summary">Nested</a> | </li> |
| <li><a href="#field.summary">Field</a> | </li> |
| <li>Constr | </li> |
| <li><a href="#method.summary">Method</a></li> |
| </ul> |
| <ul class="subNavList"> |
| <li>Detail: </li> |
| <li><a href="#field.detail">Field</a> | </li> |
| <li>Constr | </li> |
| <li><a href="#method.detail">Method</a></li> |
| </ul> |
| </div> |
| <a name="skip.navbar.top"> |
| <!-- --> |
| </a></div> |
| <!-- ========= END OF TOP NAVBAR ========= --> |
| <!-- ======== START OF CLASS DATA ======== --> |
| <div class="header"> |
| <div class="subTitle">jakarta.enterprise.lang.model</div> |
| <h2 title="Interface AnnotationMember" class="title">Interface AnnotationMember</h2> |
| </div> |
| <div class="contentContainer"> |
| <div class="description"> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <hr> |
| <br> |
| <pre>public interface <span class="typeNameLabel">AnnotationMember</span></pre> |
| <div class="block">The value of an annotation member. Annotation member values are of several kinds: |
| <ul> |
| <li>primitive constants;</li> |
| <li><code>String</code> constants;</li> |
| <li><code>Enum</code> constants;</li> |
| <li><code>Class</code> literals;</li> |
| <li>nested <code>Annotation</code>s;</li> |
| <li>arrays of previously mentioned types.</li> |
| </ul> |
| The <a href="../../../../jakarta/enterprise/lang/model/AnnotationMember.html#kind--"><code>kind()</code></a> method returns the kind of this annotation member value. The <code>is*</code> methods |
| (such as <a href="../../../../jakarta/enterprise/lang/model/AnnotationMember.html#isBoolean--"><code>isBoolean()</code></a>) allow checking if this annotation member value is of given kind. |
| The <code>as*</code> methods (such as <a href="../../../../jakarta/enterprise/lang/model/AnnotationMember.html#asBoolean--"><code>asBoolean()</code></a>) allow "unwrapping" this annotation member value, |
| if it is of the corresponding kind. |
| <p> |
| Note that the <code>as*</code> methods do not perform type conversion, so if this annotation member value |
| is an <code>int</code>, calling <code>asLong()</code> will throw an exception. |
| <p> |
| Implementations of this interface are required to define the <code>equals</code> and <code>hashCode</code> methods. |
| Implementations of this interface are encouraged to define the <code>toString</code> method such that |
| it returns a text resembling the corresponding Java™ syntax. |
| <p> |
| There is no guarantee that any particular annotation member, represented by an implementation of this interface, |
| will always be represented by the same object. This includes natural singletons such as <code>boolean</code> values. |
| Instances should always be compared using <code>equals</code>.</div> |
| <dl> |
| <dt><span class="simpleTagLabel">Since:</span></dt> |
| <dd>4.0</dd> |
| </dl> |
| </li> |
| </ul> |
| </div> |
| <div class="summary"> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <!-- ======== NESTED CLASS SUMMARY ======== --> |
| <ul class="blockList"> |
| <li class="blockList"><a name="nested.class.summary"> |
| <!-- --> |
| </a> |
| <h3>Nested Class Summary</h3> |
| <table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Nested Class Summary table, listing nested classes, and an explanation"> |
| <caption><span>Nested Classes</span><span class="tabEnd"> </span></caption> |
| <tr> |
| <th class="colFirst" scope="col">Modifier and Type</th> |
| <th class="colLast" scope="col">Interface and Description</th> |
| </tr> |
| <tr class="altColor"> |
| <td class="colFirst"><code>static class </code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../jakarta/enterprise/lang/model/AnnotationMember.Kind.html" title="enum in jakarta.enterprise.lang.model">AnnotationMember.Kind</a></span></code> |
| <div class="block">The kind of the annotation member value.</div> |
| </td> |
| </tr> |
| </table> |
| </li> |
| </ul> |
| <!-- =========== FIELD SUMMARY =========== --> |
| <ul class="blockList"> |
| <li class="blockList"><a name="field.summary"> |
| <!-- --> |
| </a> |
| <h3>Field Summary</h3> |
| <table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Field Summary table, listing fields, and an explanation"> |
| <caption><span>Fields</span><span class="tabEnd"> </span></caption> |
| <tr> |
| <th class="colFirst" scope="col">Modifier and Type</th> |
| <th class="colLast" scope="col">Field and Description</th> |
| </tr> |
| <tr class="altColor"> |
| <td class="colFirst"><code>static java.lang.String</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../jakarta/enterprise/lang/model/AnnotationMember.html#VALUE">VALUE</a></span></code> |
| <div class="block">Name of the commonly used <code>value()</code> annotation member.</div> |
| </td> |
| </tr> |
| </table> |
| </li> |
| </ul> |
| <!-- ========== METHOD SUMMARY =========== --> |
| <ul class="blockList"> |
| <li class="blockList"><a name="method.summary"> |
| <!-- --> |
| </a> |
| <h3>Method Summary</h3> |
| <table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Method Summary table, listing methods, and an explanation"> |
| <caption><span id="t0" class="activeTableTab"><span>All Methods</span><span class="tabEnd"> </span></span><span id="t2" class="tableTab"><span><a href="javascript:show(2);">Instance Methods</a></span><span class="tabEnd"> </span></span><span id="t3" class="tableTab"><span><a href="javascript:show(4);">Abstract Methods</a></span><span class="tabEnd"> </span></span><span id="t5" class="tableTab"><span><a href="javascript:show(16);">Default Methods</a></span><span class="tabEnd"> </span></span></caption> |
| <tr> |
| <th class="colFirst" scope="col">Modifier and Type</th> |
| <th class="colLast" scope="col">Method and Description</th> |
| </tr> |
| <tr id="i0" class="altColor"> |
| <td class="colFirst"><code>java.util.List<<a href="../../../../jakarta/enterprise/lang/model/AnnotationMember.html" title="interface in jakarta.enterprise.lang.model">AnnotationMember</a>></code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../jakarta/enterprise/lang/model/AnnotationMember.html#asArray--">asArray</a></span>()</code> |
| <div class="block">Returns this array value as an immutable <code>List</code> of <a href="../../../../jakarta/enterprise/lang/model/AnnotationMember.html" title="interface in jakarta.enterprise.lang.model"><code>AnnotationMember</code></a>s.</div> |
| </td> |
| </tr> |
| <tr id="i1" class="rowColor"> |
| <td class="colFirst"><code>boolean</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../jakarta/enterprise/lang/model/AnnotationMember.html#asBoolean--">asBoolean</a></span>()</code> |
| <div class="block">Returns this value as a <code>boolean</code>.</div> |
| </td> |
| </tr> |
| <tr id="i2" class="altColor"> |
| <td class="colFirst"><code>byte</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../jakarta/enterprise/lang/model/AnnotationMember.html#asByte--">asByte</a></span>()</code> |
| <div class="block">Returns this value as a <code>byte</code>.</div> |
| </td> |
| </tr> |
| <tr id="i3" class="rowColor"> |
| <td class="colFirst"><code>char</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../jakarta/enterprise/lang/model/AnnotationMember.html#asChar--">asChar</a></span>()</code> |
| <div class="block">Returns this value as a <code>char</code>.</div> |
| </td> |
| </tr> |
| <tr id="i4" class="altColor"> |
| <td class="colFirst"><code>double</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../jakarta/enterprise/lang/model/AnnotationMember.html#asDouble--">asDouble</a></span>()</code> |
| <div class="block">Returns this value as a <code>double</code>.</div> |
| </td> |
| </tr> |
| <tr id="i5" class="rowColor"> |
| <td class="colFirst"><code><E extends java.lang.Enum<E>><br>E</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../jakarta/enterprise/lang/model/AnnotationMember.html#asEnum-java.lang.Class-">asEnum</a></span>(java.lang.Class<E> enumType)</code> |
| <div class="block">Returns this enum value as an instance of the enum type.</div> |
| </td> |
| </tr> |
| <tr id="i6" class="altColor"> |
| <td class="colFirst"><code><a href="../../../../jakarta/enterprise/lang/model/declarations/ClassInfo.html" title="interface in jakarta.enterprise.lang.model.declarations">ClassInfo</a></code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../jakarta/enterprise/lang/model/AnnotationMember.html#asEnumClass--">asEnumClass</a></span>()</code> |
| <div class="block">Returns the type of this enum value.</div> |
| </td> |
| </tr> |
| <tr id="i7" class="rowColor"> |
| <td class="colFirst"><code>java.lang.String</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../jakarta/enterprise/lang/model/AnnotationMember.html#asEnumConstant--">asEnumConstant</a></span>()</code> |
| <div class="block">Returns the name of this enum value.</div> |
| </td> |
| </tr> |
| <tr id="i8" class="altColor"> |
| <td class="colFirst"><code>float</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../jakarta/enterprise/lang/model/AnnotationMember.html#asFloat--">asFloat</a></span>()</code> |
| <div class="block">Returns this value as a <code>float</code>.</div> |
| </td> |
| </tr> |
| <tr id="i9" class="rowColor"> |
| <td class="colFirst"><code>int</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../jakarta/enterprise/lang/model/AnnotationMember.html#asInt--">asInt</a></span>()</code> |
| <div class="block">Returns this value as an <code>int</code>.</div> |
| </td> |
| </tr> |
| <tr id="i10" class="altColor"> |
| <td class="colFirst"><code>long</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../jakarta/enterprise/lang/model/AnnotationMember.html#asLong--">asLong</a></span>()</code> |
| <div class="block">Returns this value as a <code>long</code>.</div> |
| </td> |
| </tr> |
| <tr id="i11" class="rowColor"> |
| <td class="colFirst"><code><a href="../../../../jakarta/enterprise/lang/model/AnnotationInfo.html" title="interface in jakarta.enterprise.lang.model">AnnotationInfo</a></code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../jakarta/enterprise/lang/model/AnnotationMember.html#asNestedAnnotation--">asNestedAnnotation</a></span>()</code> |
| <div class="block">Returns this nested annotation value as an <a href="../../../../jakarta/enterprise/lang/model/AnnotationInfo.html" title="interface in jakarta.enterprise.lang.model"><code>AnnotationInfo</code></a>.</div> |
| </td> |
| </tr> |
| <tr id="i12" class="altColor"> |
| <td class="colFirst"><code>short</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../jakarta/enterprise/lang/model/AnnotationMember.html#asShort--">asShort</a></span>()</code> |
| <div class="block">Returns this value as a <code>short</code>.</div> |
| </td> |
| </tr> |
| <tr id="i13" class="rowColor"> |
| <td class="colFirst"><code>java.lang.String</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../jakarta/enterprise/lang/model/AnnotationMember.html#asString--">asString</a></span>()</code> |
| <div class="block">Returns this value as a <code>String</code>.</div> |
| </td> |
| </tr> |
| <tr id="i14" class="altColor"> |
| <td class="colFirst"><code><a href="../../../../jakarta/enterprise/lang/model/types/Type.html" title="interface in jakarta.enterprise.lang.model.types">Type</a></code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../jakarta/enterprise/lang/model/AnnotationMember.html#asType--">asType</a></span>()</code> |
| <div class="block">Returns this class value as a <a href="../../../../jakarta/enterprise/lang/model/types/Type.html" title="interface in jakarta.enterprise.lang.model.types"><code>Type</code></a>.</div> |
| </td> |
| </tr> |
| <tr id="i15" class="rowColor"> |
| <td class="colFirst"><code>default boolean</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../jakarta/enterprise/lang/model/AnnotationMember.html#isArray--">isArray</a></span>()</code> </td> |
| </tr> |
| <tr id="i16" class="altColor"> |
| <td class="colFirst"><code>default boolean</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../jakarta/enterprise/lang/model/AnnotationMember.html#isBoolean--">isBoolean</a></span>()</code> </td> |
| </tr> |
| <tr id="i17" class="rowColor"> |
| <td class="colFirst"><code>default boolean</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../jakarta/enterprise/lang/model/AnnotationMember.html#isByte--">isByte</a></span>()</code> </td> |
| </tr> |
| <tr id="i18" class="altColor"> |
| <td class="colFirst"><code>default boolean</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../jakarta/enterprise/lang/model/AnnotationMember.html#isChar--">isChar</a></span>()</code> </td> |
| </tr> |
| <tr id="i19" class="rowColor"> |
| <td class="colFirst"><code>default boolean</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../jakarta/enterprise/lang/model/AnnotationMember.html#isClass--">isClass</a></span>()</code> </td> |
| </tr> |
| <tr id="i20" class="altColor"> |
| <td class="colFirst"><code>default boolean</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../jakarta/enterprise/lang/model/AnnotationMember.html#isDouble--">isDouble</a></span>()</code> </td> |
| </tr> |
| <tr id="i21" class="rowColor"> |
| <td class="colFirst"><code>default boolean</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../jakarta/enterprise/lang/model/AnnotationMember.html#isEnum--">isEnum</a></span>()</code> </td> |
| </tr> |
| <tr id="i22" class="altColor"> |
| <td class="colFirst"><code>default boolean</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../jakarta/enterprise/lang/model/AnnotationMember.html#isFloat--">isFloat</a></span>()</code> </td> |
| </tr> |
| <tr id="i23" class="rowColor"> |
| <td class="colFirst"><code>default boolean</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../jakarta/enterprise/lang/model/AnnotationMember.html#isInt--">isInt</a></span>()</code> </td> |
| </tr> |
| <tr id="i24" class="altColor"> |
| <td class="colFirst"><code>default boolean</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../jakarta/enterprise/lang/model/AnnotationMember.html#isLong--">isLong</a></span>()</code> </td> |
| </tr> |
| <tr id="i25" class="rowColor"> |
| <td class="colFirst"><code>default boolean</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../jakarta/enterprise/lang/model/AnnotationMember.html#isNestedAnnotation--">isNestedAnnotation</a></span>()</code> </td> |
| </tr> |
| <tr id="i26" class="altColor"> |
| <td class="colFirst"><code>default boolean</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../jakarta/enterprise/lang/model/AnnotationMember.html#isShort--">isShort</a></span>()</code> </td> |
| </tr> |
| <tr id="i27" class="rowColor"> |
| <td class="colFirst"><code>default boolean</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../jakarta/enterprise/lang/model/AnnotationMember.html#isString--">isString</a></span>()</code> </td> |
| </tr> |
| <tr id="i28" class="altColor"> |
| <td class="colFirst"><code><a href="../../../../jakarta/enterprise/lang/model/AnnotationMember.Kind.html" title="enum in jakarta.enterprise.lang.model">AnnotationMember.Kind</a></code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../jakarta/enterprise/lang/model/AnnotationMember.html#kind--">kind</a></span>()</code> |
| <div class="block">Returns the kind of this annotation member value.</div> |
| </td> |
| </tr> |
| </table> |
| </li> |
| </ul> |
| </li> |
| </ul> |
| </div> |
| <div class="details"> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <!-- ============ FIELD DETAIL =========== --> |
| <ul class="blockList"> |
| <li class="blockList"><a name="field.detail"> |
| <!-- --> |
| </a> |
| <h3>Field Detail</h3> |
| <a name="VALUE"> |
| <!-- --> |
| </a> |
| <ul class="blockListLast"> |
| <li class="blockList"> |
| <h4>VALUE</h4> |
| <pre>static final java.lang.String VALUE</pre> |
| <div class="block">Name of the commonly used <code>value()</code> annotation member.</div> |
| <dl> |
| <dt><span class="seeLabel">See Also:</span></dt> |
| <dd><a href="../../../../constant-values.html#jakarta.enterprise.lang.model.AnnotationMember.VALUE">Constant Field Values</a></dd> |
| </dl> |
| </li> |
| </ul> |
| </li> |
| </ul> |
| <!-- ============ METHOD DETAIL ========== --> |
| <ul class="blockList"> |
| <li class="blockList"><a name="method.detail"> |
| <!-- --> |
| </a> |
| <h3>Method Detail</h3> |
| <a name="kind--"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>kind</h4> |
| <pre><a href="../../../../jakarta/enterprise/lang/model/AnnotationMember.Kind.html" title="enum in jakarta.enterprise.lang.model">AnnotationMember.Kind</a> kind()</pre> |
| <div class="block">Returns the kind of this annotation member value.</div> |
| <dl> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd>the kind of this annotation member value, never <code>null</code></dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="isBoolean--"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>isBoolean</h4> |
| <pre>default boolean isBoolean()</pre> |
| <dl> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd><code>true</code> if the kind is a <code>boolean</code>, <code>false</code> otherwise</dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="isByte--"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>isByte</h4> |
| <pre>default boolean isByte()</pre> |
| <dl> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd><code>true</code> if the kind is a <code>byte</code>, <code>false</code> otherwise</dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="isShort--"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>isShort</h4> |
| <pre>default boolean isShort()</pre> |
| <dl> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd><code>true</code> if the kind is a <code>short</code>, <code>false</code> otherwise</dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="isInt--"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>isInt</h4> |
| <pre>default boolean isInt()</pre> |
| <dl> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd><code>true</code> if the kind is an <code>int</code>, <code>false</code> otherwise</dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="isLong--"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>isLong</h4> |
| <pre>default boolean isLong()</pre> |
| <dl> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd><code>true</code> if the kind is a <code>long</code>, <code>false</code> otherwise</dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="isFloat--"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>isFloat</h4> |
| <pre>default boolean isFloat()</pre> |
| <dl> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd><code>true</code> if the kind is a <code>float</code>, <code>false</code> otherwise</dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="isDouble--"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>isDouble</h4> |
| <pre>default boolean isDouble()</pre> |
| <dl> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd><code>true</code> if the kind is a <code>double</code>, <code>false</code> otherwise</dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="isChar--"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>isChar</h4> |
| <pre>default boolean isChar()</pre> |
| <dl> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd><code>true</code> if the kind is a <code>char</code>, <code>false</code> otherwise</dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="isString--"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>isString</h4> |
| <pre>default boolean isString()</pre> |
| <dl> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd><code>true</code> if the kind is a <code>String</code>, <code>false</code> otherwise</dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="isEnum--"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>isEnum</h4> |
| <pre>default boolean isEnum()</pre> |
| <dl> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd><code>true</code> if the kind is an <code>Enum</code>, <code>false</code> otherwise</dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="isClass--"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>isClass</h4> |
| <pre>default boolean isClass()</pre> |
| <dl> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd><code>true</code> if the kind is a <code>Class</code>, <code>false</code> otherwise</dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="isNestedAnnotation--"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>isNestedAnnotation</h4> |
| <pre>default boolean isNestedAnnotation()</pre> |
| <dl> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd><code>true</code> if the kind is a nested <code>Annotation</code>, <code>false</code> otherwise</dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="isArray--"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>isArray</h4> |
| <pre>default boolean isArray()</pre> |
| <dl> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd><code>true</code> if the kind is an array, <code>false</code> otherwise</dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="asBoolean--"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>asBoolean</h4> |
| <pre>boolean asBoolean()</pre> |
| <div class="block">Returns this value as a <code>boolean</code>.</div> |
| <dl> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd>the boolean value</dd> |
| <dt><span class="throwsLabel">Throws:</span></dt> |
| <dd><code>java.lang.IllegalStateException</code> - if this annotation member value is not a <code>boolean</code></dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="asByte--"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>asByte</h4> |
| <pre>byte asByte()</pre> |
| <div class="block">Returns this value as a <code>byte</code>.</div> |
| <dl> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd>the byte value</dd> |
| <dt><span class="throwsLabel">Throws:</span></dt> |
| <dd><code>java.lang.IllegalStateException</code> - if this annotation member value is not a <code>byte</code></dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="asShort--"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>asShort</h4> |
| <pre>short asShort()</pre> |
| <div class="block">Returns this value as a <code>short</code>.</div> |
| <dl> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd>the short value</dd> |
| <dt><span class="throwsLabel">Throws:</span></dt> |
| <dd><code>java.lang.IllegalStateException</code> - if this annotation member value is not a <code>short</code></dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="asInt--"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>asInt</h4> |
| <pre>int asInt()</pre> |
| <div class="block">Returns this value as an <code>int</code>.</div> |
| <dl> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd>the int value</dd> |
| <dt><span class="throwsLabel">Throws:</span></dt> |
| <dd><code>java.lang.IllegalStateException</code> - if this annotation member value is not an <code>int</code></dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="asLong--"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>asLong</h4> |
| <pre>long asLong()</pre> |
| <div class="block">Returns this value as a <code>long</code>.</div> |
| <dl> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd>the long value</dd> |
| <dt><span class="throwsLabel">Throws:</span></dt> |
| <dd><code>java.lang.IllegalStateException</code> - if this annotation member value is not a <code>long</code></dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="asFloat--"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>asFloat</h4> |
| <pre>float asFloat()</pre> |
| <div class="block">Returns this value as a <code>float</code>.</div> |
| <dl> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd>the float value</dd> |
| <dt><span class="throwsLabel">Throws:</span></dt> |
| <dd><code>java.lang.IllegalStateException</code> - if this annotation member value is not a <code>float</code></dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="asDouble--"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>asDouble</h4> |
| <pre>double asDouble()</pre> |
| <div class="block">Returns this value as a <code>double</code>.</div> |
| <dl> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd>the double value</dd> |
| <dt><span class="throwsLabel">Throws:</span></dt> |
| <dd><code>java.lang.IllegalStateException</code> - if this annotation member value is not a <code>double</code></dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="asChar--"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>asChar</h4> |
| <pre>char asChar()</pre> |
| <div class="block">Returns this value as a <code>char</code>.</div> |
| <dl> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd>the char value</dd> |
| <dt><span class="throwsLabel">Throws:</span></dt> |
| <dd><code>java.lang.IllegalStateException</code> - if this annotation member value is not a <code>char</code></dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="asString--"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>asString</h4> |
| <pre>java.lang.String asString()</pre> |
| <div class="block">Returns this value as a <code>String</code>.</div> |
| <dl> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd>the String value</dd> |
| <dt><span class="throwsLabel">Throws:</span></dt> |
| <dd><code>java.lang.IllegalStateException</code> - if this annotation member value is not a <code>String</code></dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="asEnum-java.lang.Class-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>asEnum</h4> |
| <pre><E extends java.lang.Enum<E>> E asEnum(java.lang.Class<E> enumType)</pre> |
| <div class="block">Returns this enum value as an instance of the enum type.</div> |
| <dl> |
| <dt><span class="paramLabel">Type Parameters:</span></dt> |
| <dd><code>E</code> - the enum generic type</dd> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>enumType</code> - the enum type</dd> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd>the enum instance</dd> |
| <dt><span class="throwsLabel">Throws:</span></dt> |
| <dd><code>java.lang.IllegalArgumentException</code> - if given <code>enumType</code> is not an enum type</dd> |
| <dd><code>java.lang.IllegalStateException</code> - if this annotation member value is not an enum value</dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="asEnumClass--"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>asEnumClass</h4> |
| <pre><a href="../../../../jakarta/enterprise/lang/model/declarations/ClassInfo.html" title="interface in jakarta.enterprise.lang.model.declarations">ClassInfo</a> asEnumClass()</pre> |
| <div class="block">Returns the type of this enum value.</div> |
| <dl> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd>a <a href="../../../../jakarta/enterprise/lang/model/declarations/ClassInfo.html" title="interface in jakarta.enterprise.lang.model.declarations"><code>ClassInfo</code></a> representing the enum type</dd> |
| <dt><span class="throwsLabel">Throws:</span></dt> |
| <dd><code>java.lang.IllegalStateException</code> - if this annotation member value is not an enum value</dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="asEnumConstant--"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>asEnumConstant</h4> |
| <pre>java.lang.String asEnumConstant()</pre> |
| <div class="block">Returns the name of this enum value.</div> |
| <dl> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd>the name of this enum value</dd> |
| <dt><span class="throwsLabel">Throws:</span></dt> |
| <dd><code>java.lang.IllegalStateException</code> - if this annotation member value is not an enum value</dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="asType--"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>asType</h4> |
| <pre><a href="../../../../jakarta/enterprise/lang/model/types/Type.html" title="interface in jakarta.enterprise.lang.model.types">Type</a> asType()</pre> |
| <div class="block">Returns this class value as a <a href="../../../../jakarta/enterprise/lang/model/types/Type.html" title="interface in jakarta.enterprise.lang.model.types"><code>Type</code></a>. It can be: |
| <ul> |
| <li>the <a href="../../../../jakarta/enterprise/lang/model/types/VoidType.html" title="interface in jakarta.enterprise.lang.model.types">void</a> pseudo-type;</li> |
| <li>a <a href="../../../../jakarta/enterprise/lang/model/types/PrimitiveType.html" title="interface in jakarta.enterprise.lang.model.types">primitive</a> type;</li> |
| <li>a <a href="../../../../jakarta/enterprise/lang/model/types/ClassType.html" title="interface in jakarta.enterprise.lang.model.types">class</a> type;</li> |
| <li>an <a href="../../../../jakarta/enterprise/lang/model/types/ArrayType.html" title="interface in jakarta.enterprise.lang.model.types">array</a> type, whose element type |
| is a primitive type or a class type.</li> |
| </ul></div> |
| <dl> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd>the class value, as a <a href="../../../../jakarta/enterprise/lang/model/types/Type.html" title="interface in jakarta.enterprise.lang.model.types"><code>Type</code></a></dd> |
| <dt><span class="throwsLabel">Throws:</span></dt> |
| <dd><code>java.lang.IllegalStateException</code> - if this annotation member value is not a class value</dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="asNestedAnnotation--"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>asNestedAnnotation</h4> |
| <pre><a href="../../../../jakarta/enterprise/lang/model/AnnotationInfo.html" title="interface in jakarta.enterprise.lang.model">AnnotationInfo</a> asNestedAnnotation()</pre> |
| <div class="block">Returns this nested annotation value as an <a href="../../../../jakarta/enterprise/lang/model/AnnotationInfo.html" title="interface in jakarta.enterprise.lang.model"><code>AnnotationInfo</code></a>.</div> |
| <dl> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd>an <a href="../../../../jakarta/enterprise/lang/model/AnnotationInfo.html" title="interface in jakarta.enterprise.lang.model"><code>AnnotationInfo</code></a> instance</dd> |
| <dt><span class="throwsLabel">Throws:</span></dt> |
| <dd><code>java.lang.IllegalStateException</code> - if this annotation member value is not a nested annotation</dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="asArray--"> |
| <!-- --> |
| </a> |
| <ul class="blockListLast"> |
| <li class="blockList"> |
| <h4>asArray</h4> |
| <pre>java.util.List<<a href="../../../../jakarta/enterprise/lang/model/AnnotationMember.html" title="interface in jakarta.enterprise.lang.model">AnnotationMember</a>> asArray()</pre> |
| <div class="block">Returns this array value as an immutable <code>List</code> of <a href="../../../../jakarta/enterprise/lang/model/AnnotationMember.html" title="interface in jakarta.enterprise.lang.model"><code>AnnotationMember</code></a>s. |
| Returns an empty list if the array is empty.</div> |
| <dl> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd>an immutable list of <a href="../../../../jakarta/enterprise/lang/model/AnnotationMember.html" title="interface in jakarta.enterprise.lang.model"><code>AnnotationMember</code></a>s</dd> |
| <dt><span class="throwsLabel">Throws:</span></dt> |
| <dd><code>java.lang.IllegalStateException</code> - if this annotation member value is not an array</dd> |
| </dl> |
| </li> |
| </ul> |
| </li> |
| </ul> |
| </li> |
| </ul> |
| </div> |
| </div> |
| <!-- ========= END OF CLASS DATA ========= --> |
| <!-- ======= START OF BOTTOM NAVBAR ====== --> |
| <div class="bottomNav"><a name="navbar.bottom"> |
| <!-- --> |
| </a> |
| <div class="skipNav"><a href="#skip.navbar.bottom" title="Skip navigation links">Skip navigation links</a></div> |
| <a name="navbar.bottom.firstrow"> |
| <!-- --> |
| </a> |
| <ul class="navList" title="Navigation"> |
| <li><a href="../../../../overview-summary.html">Overview</a></li> |
| <li><a href="package-summary.html">Package</a></li> |
| <li class="navBarCell1Rev">Class</li> |
| <li><a href="package-tree.html">Tree</a></li> |
| <li><a href="../../../../deprecated-list.html">Deprecated</a></li> |
| <li><a href="../../../../index-all.html">Index</a></li> |
| <li><a href="../../../../help-doc.html">Help</a></li> |
| </ul> |
| </div> |
| <div class="subNav"> |
| <ul class="navList"> |
| <li><a href="../../../../jakarta/enterprise/lang/model/AnnotationInfo.html" title="interface in jakarta.enterprise.lang.model"><span class="typeNameLink">Prev Class</span></a></li> |
| <li><a href="../../../../jakarta/enterprise/lang/model/AnnotationMember.Kind.html" title="enum in jakarta.enterprise.lang.model"><span class="typeNameLink">Next Class</span></a></li> |
| </ul> |
| <ul class="navList"> |
| <li><a href="../../../../index.html?jakarta/enterprise/lang/model/AnnotationMember.html" target="_top">Frames</a></li> |
| <li><a href="AnnotationMember.html" target="_top">No Frames</a></li> |
| </ul> |
| <ul class="navList" id="allclasses_navbar_bottom"> |
| <li><a href="../../../../allclasses-noframe.html">All Classes</a></li> |
| </ul> |
| <div> |
| <script type="text/javascript"><!-- |
| allClassesLink = document.getElementById("allclasses_navbar_bottom"); |
| if(window==top) { |
| allClassesLink.style.display = "block"; |
| } |
| else { |
| allClassesLink.style.display = "none"; |
| } |
| //--> |
| </script> |
| </div> |
| <div> |
| <ul class="subNavList"> |
| <li>Summary: </li> |
| <li><a href="#nested.class.summary">Nested</a> | </li> |
| <li><a href="#field.summary">Field</a> | </li> |
| <li>Constr | </li> |
| <li><a href="#method.summary">Method</a></li> |
| </ul> |
| <ul class="subNavList"> |
| <li>Detail: </li> |
| <li><a href="#field.detail">Field</a> | </li> |
| <li>Constr | </li> |
| <li><a href="#method.detail">Method</a></li> |
| </ul> |
| </div> |
| <a name="skip.navbar.bottom"> |
| <!-- --> |
| </a></div> |
| <!-- ======== END OF BOTTOM NAVBAR ======= --> |
| </body> |
| </html> |