Вы не можете выбрать более 25 тем Темы должны начинаться с буквы или цифры, могут содержать дефисы(-) и должны содержать не более 35 символов.

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470
  1. <!DOCTYPE HTML>
  2. <!-- NewPage -->
  3. <html lang="en">
  4. <head>
  5. <!-- Generated by javadoc (11) on Sat May 08 11:16:00 JST 2021 -->
  6. <title>CtPrimitiveType (Javassist API)</title>
  7. <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
  8. <meta name="dc.created" content="2021-05-08">
  9. <link rel="stylesheet" type="text/css" href="../stylesheet.css" title="Style">
  10. <link rel="stylesheet" type="text/css" href="../jquery/jquery-ui.css" title="Style">
  11. <script type="text/javascript" src="../script.js"></script>
  12. <script type="text/javascript" src="../jquery/jszip/dist/jszip.min.js"></script>
  13. <script type="text/javascript" src="../jquery/jszip-utils/dist/jszip-utils.min.js"></script>
  14. <!--[if IE]>
  15. <script type="text/javascript" src="../jquery/jszip-utils/dist/jszip-utils-ie.min.js"></script>
  16. <![endif]-->
  17. <script type="text/javascript" src="../jquery/jquery-3.3.1.js"></script>
  18. <script type="text/javascript" src="../jquery/jquery-migrate-3.0.1.js"></script>
  19. <script type="text/javascript" src="../jquery/jquery-ui.js"></script>
  20. </head>
  21. <body>
  22. <script type="text/javascript"><!--
  23. try {
  24. if (location.href.indexOf('is-external=true') == -1) {
  25. parent.document.title="CtPrimitiveType (Javassist API)";
  26. }
  27. }
  28. catch(err) {
  29. }
  30. //-->
  31. var data = {"i0":10,"i1":10,"i2":10,"i3":10,"i4":10,"i5":10,"i6":10,"i7":10,"i8":10};
  32. var tabs = {65535:["t0","All Methods"],2:["t2","Instance Methods"],8:["t4","Concrete Methods"]};
  33. var altColor = "altColor";
  34. var rowColor = "rowColor";
  35. var tableTab = "tableTab";
  36. var activeTableTab = "activeTableTab";
  37. var pathtoroot = "../";
  38. var useModuleDirectories = true;
  39. loadScripts(document, 'script');</script>
  40. <noscript>
  41. <div>JavaScript is disabled on your browser.</div>
  42. </noscript>
  43. <header role="banner">
  44. <nav role="navigation">
  45. <div class="fixedNav">
  46. <!-- ========= START OF TOP NAVBAR ======= -->
  47. <div class="topNav"><a id="navbar.top">
  48. <!-- -->
  49. </a>
  50. <div class="skipNav"><a href="#skip.navbar.top" title="Skip navigation links">Skip navigation links</a></div>
  51. <a id="navbar.top.firstrow">
  52. <!-- -->
  53. </a>
  54. <ul class="navList" title="Navigation">
  55. <li><a href="../index.html">Overview</a></li>
  56. <li><a href="package-summary.html">Package</a></li>
  57. <li class="navBarCell1Rev">Class</li>
  58. <li><a href="class-use/CtPrimitiveType.html">Use</a></li>
  59. <li><a href="package-tree.html">Tree</a></li>
  60. <li><a href="../deprecated-list.html">Deprecated</a></li>
  61. <li><a href="../index-all.html">Index</a></li>
  62. </ul>
  63. </div>
  64. <div class="subNav">
  65. <ul class="navList" id="allclasses_navbar_top">
  66. <li><a href="../allclasses.html">All&nbsp;Classes</a></li>
  67. </ul>
  68. <ul class="navListSearch">
  69. <li><label for="search">SEARCH:</label>
  70. <input type="text" id="search" value="search" disabled="disabled">
  71. <input type="reset" id="reset" value="reset" disabled="disabled">
  72. </li>
  73. </ul>
  74. <div>
  75. <script type="text/javascript"><!--
  76. allClassesLink = document.getElementById("allclasses_navbar_top");
  77. if(window==top) {
  78. allClassesLink.style.display = "block";
  79. }
  80. else {
  81. allClassesLink.style.display = "none";
  82. }
  83. //-->
  84. </script>
  85. <noscript>
  86. <div>JavaScript is disabled on your browser.</div>
  87. </noscript>
  88. </div>
  89. <div>
  90. <ul class="subNavList">
  91. <li>Summary:&nbsp;</li>
  92. <li>Nested&nbsp;|&nbsp;</li>
  93. <li><a href="#field.summary">Field</a>&nbsp;|&nbsp;</li>
  94. <li>Constr&nbsp;|&nbsp;</li>
  95. <li><a href="#method.summary">Method</a></li>
  96. </ul>
  97. <ul class="subNavList">
  98. <li>Detail:&nbsp;</li>
  99. <li>Field&nbsp;|&nbsp;</li>
  100. <li>Constr&nbsp;|&nbsp;</li>
  101. <li><a href="#method.detail">Method</a></li>
  102. </ul>
  103. </div>
  104. <a id="skip.navbar.top">
  105. <!-- -->
  106. </a></div>
  107. <!-- ========= END OF TOP NAVBAR ========= -->
  108. </div>
  109. <div class="navPadding">&nbsp;</div>
  110. <script type="text/javascript"><!--
  111. $('.navPadding').css('padding-top', $('.fixedNav').css("height"));
  112. //-->
  113. </script>
  114. </nav>
  115. </header>
  116. <!-- ======== START OF CLASS DATA ======== -->
  117. <main role="main">
  118. <div class="header">
  119. <div class="subTitle"><span class="packageLabelInType">Package</span>&nbsp;<a href="package-summary.html">javassist</a></div>
  120. <h2 title="Class CtPrimitiveType" class="title">Class CtPrimitiveType</h2>
  121. </div>
  122. <div class="contentContainer">
  123. <ul class="inheritance">
  124. <li>java.lang.Object</li>
  125. <li>
  126. <ul class="inheritance">
  127. <li><a href="CtClass.html" title="class in javassist">javassist.CtClass</a></li>
  128. <li>
  129. <ul class="inheritance">
  130. <li>javassist.CtPrimitiveType</li>
  131. </ul>
  132. </li>
  133. </ul>
  134. </li>
  135. </ul>
  136. <div class="description">
  137. <ul class="blockList">
  138. <li class="blockList">
  139. <hr>
  140. <pre>public final class <span class="typeNameLabel">CtPrimitiveType</span>
  141. extends <a href="CtClass.html" title="class in javassist">CtClass</a></pre>
  142. <div class="block">An instance of <code>CtPrimitiveType</code> represents a primitive type.
  143. It is obtained from <code>CtClass</code>.</div>
  144. </li>
  145. </ul>
  146. </div>
  147. <div class="summary">
  148. <ul class="blockList">
  149. <li class="blockList">
  150. <!-- =========== FIELD SUMMARY =========== -->
  151. <section role="region">
  152. <ul class="blockList">
  153. <li class="blockList"><a id="field.summary">
  154. <!-- -->
  155. </a>
  156. <h3>Field Summary</h3>
  157. <ul class="blockList">
  158. <li class="blockList"><a id="fields.inherited.from.class.javassist.CtClass">
  159. <!-- -->
  160. </a>
  161. <h3>Fields inherited from class&nbsp;javassist.<a href="CtClass.html" title="class in javassist">CtClass</a></h3>
  162. <code><a href="CtClass.html#booleanType">booleanType</a>, <a href="CtClass.html#byteType">byteType</a>, <a href="CtClass.html#charType">charType</a>, <a href="CtClass.html#debugDump">debugDump</a>, <a href="CtClass.html#doubleType">doubleType</a>, <a href="CtClass.html#floatType">floatType</a>, <a href="CtClass.html#intType">intType</a>, <a href="CtClass.html#longType">longType</a>, <a href="CtClass.html#shortType">shortType</a>, <a href="CtClass.html#version">version</a>, <a href="CtClass.html#voidType">voidType</a></code></li>
  163. </ul>
  164. </li>
  165. </ul>
  166. </section>
  167. <!-- ========== METHOD SUMMARY =========== -->
  168. <section role="region">
  169. <ul class="blockList">
  170. <li class="blockList"><a id="method.summary">
  171. <!-- -->
  172. </a>
  173. <h3>Method Summary</h3>
  174. <table class="memberSummary">
  175. <caption><span id="t0" class="activeTableTab"><span>All Methods</span><span class="tabEnd">&nbsp;</span></span><span id="t2" class="tableTab"><span><a href="javascript:show(2);">Instance Methods</a></span><span class="tabEnd">&nbsp;</span></span><span id="t4" class="tableTab"><span><a href="javascript:show(8);">Concrete Methods</a></span><span class="tabEnd">&nbsp;</span></span></caption>
  176. <tr>
  177. <th class="colFirst" scope="col">Modifier and Type</th>
  178. <th class="colSecond" scope="col">Method</th>
  179. <th class="colLast" scope="col">Description</th>
  180. </tr>
  181. <tr id="i0" class="altColor">
  182. <td class="colFirst"><code>int</code></td>
  183. <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getArrayType()">getArrayType</a></span>()</code></th>
  184. <td class="colLast">
  185. <div class="block">Returns the array-type code representing the type.</div>
  186. </td>
  187. </tr>
  188. <tr id="i1" class="rowColor">
  189. <td class="colFirst"><code>int</code></td>
  190. <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getDataSize()">getDataSize</a></span>()</code></th>
  191. <td class="colLast">
  192. <div class="block">Returns the data size of the primitive type.</div>
  193. </td>
  194. </tr>
  195. <tr id="i2" class="altColor">
  196. <td class="colFirst"><code>char</code></td>
  197. <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getDescriptor()">getDescriptor</a></span>()</code></th>
  198. <td class="colLast">
  199. <div class="block">Returns the descriptor representing this type.</div>
  200. </td>
  201. </tr>
  202. <tr id="i3" class="rowColor">
  203. <td class="colFirst"><code>java.lang.String</code></td>
  204. <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getGetMethodDescriptor()">getGetMethodDescriptor</a></span>()</code></th>
  205. <td class="colLast">
  206. <div class="block">Returns the descriptor of the method for retrieving the value
  207. from the wrapper object.</div>
  208. </td>
  209. </tr>
  210. <tr id="i4" class="altColor">
  211. <td class="colFirst"><code>java.lang.String</code></td>
  212. <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getGetMethodName()">getGetMethodName</a></span>()</code></th>
  213. <td class="colLast">
  214. <div class="block">Returns the name of the method for retrieving the value
  215. from the wrapper object.</div>
  216. </td>
  217. </tr>
  218. <tr id="i5" class="rowColor">
  219. <td class="colFirst"><code>int</code></td>
  220. <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getModifiers()">getModifiers</a></span>()</code></th>
  221. <td class="colLast">
  222. <div class="block">Returns the modifiers for this type.</div>
  223. </td>
  224. </tr>
  225. <tr id="i6" class="altColor">
  226. <td class="colFirst"><code>int</code></td>
  227. <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getReturnOp()">getReturnOp</a></span>()</code></th>
  228. <td class="colLast">
  229. <div class="block">Returns the opcode for returning a value of the type.</div>
  230. </td>
  231. </tr>
  232. <tr id="i7" class="rowColor">
  233. <td class="colFirst"><code>java.lang.String</code></td>
  234. <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getWrapperName()">getWrapperName</a></span>()</code></th>
  235. <td class="colLast">
  236. <div class="block">Returns the name of the wrapper class.</div>
  237. </td>
  238. </tr>
  239. <tr id="i8" class="altColor">
  240. <td class="colFirst"><code>boolean</code></td>
  241. <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#isPrimitive()">isPrimitive</a></span>()</code></th>
  242. <td class="colLast">
  243. <div class="block">Returns <code>true</code> if this object represents a primitive
  244. Java type: boolean, byte, char, short, int, long, float, double,
  245. or void.</div>
  246. </td>
  247. </tr>
  248. </table>
  249. <ul class="blockList">
  250. <li class="blockList"><a id="methods.inherited.from.class.javassist.CtClass">
  251. <!-- -->
  252. </a>
  253. <h3>Methods inherited from class&nbsp;javassist.<a href="CtClass.html" title="class in javassist">CtClass</a></h3>
  254. <code><a href="CtClass.html#addConstructor(javassist.CtConstructor)">addConstructor</a>, <a href="CtClass.html#addField(javassist.CtField)">addField</a>, <a href="CtClass.html#addField(javassist.CtField,java.lang.String)">addField</a>, <a href="CtClass.html#addField(javassist.CtField,javassist.CtField.Initializer)">addField</a>, <a href="CtClass.html#addInterface(javassist.CtClass)">addInterface</a>, <a href="CtClass.html#addMethod(javassist.CtMethod)">addMethod</a>, <a href="CtClass.html#debugWriteFile()">debugWriteFile</a>, <a href="CtClass.html#debugWriteFile(java.lang.String)">debugWriteFile</a>, <a href="CtClass.html#defrost()">defrost</a>, <a href="CtClass.html#detach()">detach</a>, <a href="CtClass.html#freeze()">freeze</a>, <a href="CtClass.html#getAccessorMaker()">getAccessorMaker</a>, <a href="CtClass.html#getAnnotation(java.lang.Class)">getAnnotation</a>, <a href="CtClass.html#getAnnotations()">getAnnotations</a>, <a href="CtClass.html#getAttribute(java.lang.String)">getAttribute</a>, <a href="CtClass.html#getAvailableAnnotations()">getAvailableAnnotations</a>, <a href="CtClass.html#getClassFile()">getClassFile</a>, <a href="CtClass.html#getClassFile2()">getClassFile2</a>, <a href="CtClass.html#getClassInitializer()">getClassInitializer</a>, <a href="CtClass.html#getClassPool()">getClassPool</a>, <a href="CtClass.html#getComponentType()">getComponentType</a>, <a href="CtClass.html#getConstructor(java.lang.String)">getConstructor</a>, <a href="CtClass.html#getConstructors()">getConstructors</a>, <a href="CtClass.html#getDeclaredBehaviors()">getDeclaredBehaviors</a>, <a href="CtClass.html#getDeclaredClasses()">getDeclaredClasses</a>, <a href="CtClass.html#getDeclaredConstructor(javassist.CtClass%5B%5D)">getDeclaredConstructor</a>, <a href="CtClass.html#getDeclaredConstructors()">getDeclaredConstructors</a>, <a href="CtClass.html#getDeclaredField(java.lang.String)">getDeclaredField</a>, <a href="CtClass.html#getDeclaredField(java.lang.String,java.lang.String)">getDeclaredField</a>, <a href="CtClass.html#getDeclaredFields()">getDeclaredFields</a>, <a href="CtClass.html#getDeclaredMethod(java.lang.String)">getDeclaredMethod</a>, <a href="CtClass.html#getDeclaredMethod(java.lang.String,javassist.CtClass%5B%5D)">getDeclaredMethod</a>, <a href="CtClass.html#getDeclaredMethods()">getDeclaredMethods</a>, <a href="CtClass.html#getDeclaredMethods(java.lang.String)">getDeclaredMethods</a>, <a href="CtClass.html#getDeclaringClass()">getDeclaringClass</a>, <a href="CtClass.html#getEnclosingBehavior()">getEnclosingBehavior</a>, <a href="CtClass.html#getEnclosingMethod()">getEnclosingMethod</a>, <a href="CtClass.html#getField(java.lang.String)">getField</a>, <a href="CtClass.html#getField(java.lang.String,java.lang.String)">getField</a>, <a href="CtClass.html#getFields()">getFields</a>, <a href="CtClass.html#getGenericSignature()">getGenericSignature</a>, <a href="CtClass.html#getInterfaces()">getInterfaces</a>, <a href="CtClass.html#getMethod(java.lang.String,java.lang.String)">getMethod</a>, <a href="CtClass.html#getMethods()">getMethods</a>, <a href="CtClass.html#getName()">getName</a>, <a href="CtClass.html#getNestedClasses()">getNestedClasses</a>, <a href="CtClass.html#getPackageName()">getPackageName</a>, <a href="CtClass.html#getRefClasses()">getRefClasses</a>, <a href="CtClass.html#getSimpleName()">getSimpleName</a>, <a href="CtClass.html#getSuperclass()">getSuperclass</a>, <a href="CtClass.html#getURL()">getURL</a>, <a href="CtClass.html#hasAnnotation(java.lang.Class)">hasAnnotation</a>, <a href="CtClass.html#hasAnnotation(java.lang.String)">hasAnnotation</a>, <a href="CtClass.html#instrument(javassist.CodeConverter)">instrument</a>, <a href="CtClass.html#instrument(javassist.expr.ExprEditor)">instrument</a>, <a href="CtClass.html#isAnnotation()">isAnnotation</a>, <a href="CtClass.html#isArray()">isArray</a>, <a href="CtClass.html#isEnum()">isEnum</a>, <a href="CtClass.html#isFrozen()">isFrozen</a>, <a href="CtClass.html#isInterface()">isInterface</a>, <a href="CtClass.html#isKotlin()">isKotlin</a>, <a href="CtClass.html#isModified()">isModified</a>, <a href="CtClass.html#main(java.lang.String%5B%5D)">main</a>, <a href="CtClass.html#makeClassInitializer()">makeClassInitializer</a>, <a href="CtClass.html#makeNestedClass(java.lang.String,boolean)">makeNestedClass</a>, <a href="CtClass.html#makeUniqueName(java.lang.String)">makeUniqueName</a>, <a href="CtClass.html#prune()">prune</a>, <a href="CtClass.html#rebuildClassFile()">rebuildClassFile</a>, <a href="CtClass.html#removeConstructor(javassist.CtConstructor)">removeConstructor</a>, <a href="CtClass.html#removeField(javassist.CtField)">removeField</a>, <a href="CtClass.html#removeMethod(javassist.CtMethod)">removeMethod</a>, <a href="CtClass.html#replaceClassName(java.lang.String,java.lang.String)">replaceClassName</a>, <a href="CtClass.html#replaceClassName(javassist.ClassMap)">replaceClassName</a>, <a href="CtClass.html#setAttribute(java.lang.String,byte%5B%5D)">setAttribute</a>, <a href="CtClass.html#setGenericSignature(java.lang.String)">setGenericSignature</a>, <a href="CtClass.html#setInterfaces(javassist.CtClass%5B%5D)">setInterfaces</a>, <a href="CtClass.html#setModifiers(int)">setModifiers</a>, <a href="CtClass.html#setName(java.lang.String)">setName</a>, <a href="CtClass.html#setSuperclass(javassist.CtClass)">setSuperclass</a>, <a href="CtClass.html#stopPruning(boolean)">stopPruning</a>, <a href="CtClass.html#subclassOf(javassist.CtClass)">subclassOf</a>, <a href="CtClass.html#subtypeOf(javassist.CtClass)">subtypeOf</a>, <a href="CtClass.html#toBytecode()">toBytecode</a>, <a href="CtClass.html#toBytecode(java.io.DataOutputStream)">toBytecode</a>, <a href="CtClass.html#toClass()">toClass</a>, <a href="CtClass.html#toClass(java.lang.Class)">toClass</a>, <a href="CtClass.html#toClass(java.lang.ClassLoader)">toClass</a>, <a href="CtClass.html#toClass(java.lang.ClassLoader,java.security.ProtectionDomain)">toClass</a>, <a href="CtClass.html#toClass(java.lang.invoke.MethodHandles.Lookup)">toClass</a>, <a href="CtClass.html#toString()">toString</a>, <a href="CtClass.html#writeFile()">writeFile</a>, <a href="CtClass.html#writeFile(java.lang.String)">writeFile</a></code></li>
  255. </ul>
  256. <ul class="blockList">
  257. <li class="blockList"><a id="methods.inherited.from.class.java.lang.Object">
  258. <!-- -->
  259. </a>
  260. <h3>Methods inherited from class&nbsp;java.lang.Object</h3>
  261. <code>equals, getClass, hashCode, notify, notifyAll, wait, wait, wait</code></li>
  262. </ul>
  263. </li>
  264. </ul>
  265. </section>
  266. </li>
  267. </ul>
  268. </div>
  269. <div class="details">
  270. <ul class="blockList">
  271. <li class="blockList">
  272. <!-- ============ METHOD DETAIL ========== -->
  273. <section role="region">
  274. <ul class="blockList">
  275. <li class="blockList"><a id="method.detail">
  276. <!-- -->
  277. </a>
  278. <h3>Method Detail</h3>
  279. <a id="isPrimitive()">
  280. <!-- -->
  281. </a>
  282. <ul class="blockList">
  283. <li class="blockList">
  284. <h4>isPrimitive</h4>
  285. <pre class="methodSignature">public&nbsp;boolean&nbsp;isPrimitive()</pre>
  286. <div class="block">Returns <code>true</code> if this object represents a primitive
  287. Java type: boolean, byte, char, short, int, long, float, double,
  288. or void.</div>
  289. <dl>
  290. <dt><span class="overrideSpecifyLabel">Overrides:</span></dt>
  291. <dd><code><a href="CtClass.html#isPrimitive()">isPrimitive</a></code>&nbsp;in class&nbsp;<code><a href="CtClass.html" title="class in javassist">CtClass</a></code></dd>
  292. </dl>
  293. </li>
  294. </ul>
  295. <a id="getModifiers()">
  296. <!-- -->
  297. </a>
  298. <ul class="blockList">
  299. <li class="blockList">
  300. <h4>getModifiers</h4>
  301. <pre class="methodSignature">public&nbsp;int&nbsp;getModifiers()</pre>
  302. <div class="block">Returns the modifiers for this type.
  303. For decoding, use <code>javassist.Modifier</code>.</div>
  304. <dl>
  305. <dt><span class="overrideSpecifyLabel">Overrides:</span></dt>
  306. <dd><code><a href="CtClass.html#getModifiers()">getModifiers</a></code>&nbsp;in class&nbsp;<code><a href="CtClass.html" title="class in javassist">CtClass</a></code></dd>
  307. <dt><span class="seeLabel">See Also:</span></dt>
  308. <dd><a href="Modifier.html" title="class in javassist"><code>Modifier</code></a></dd>
  309. </dl>
  310. </li>
  311. </ul>
  312. <a id="getDescriptor()">
  313. <!-- -->
  314. </a>
  315. <ul class="blockList">
  316. <li class="blockList">
  317. <h4>getDescriptor</h4>
  318. <pre class="methodSignature">public&nbsp;char&nbsp;getDescriptor()</pre>
  319. <div class="block">Returns the descriptor representing this type.
  320. For example, if the type is int, then the descriptor is I.</div>
  321. </li>
  322. </ul>
  323. <a id="getWrapperName()">
  324. <!-- -->
  325. </a>
  326. <ul class="blockList">
  327. <li class="blockList">
  328. <h4>getWrapperName</h4>
  329. <pre class="methodSignature">public&nbsp;java.lang.String&nbsp;getWrapperName()</pre>
  330. <div class="block">Returns the name of the wrapper class.
  331. For example, if the type is int, then the wrapper class is
  332. <code>java.lang.Integer</code>.</div>
  333. </li>
  334. </ul>
  335. <a id="getGetMethodName()">
  336. <!-- -->
  337. </a>
  338. <ul class="blockList">
  339. <li class="blockList">
  340. <h4>getGetMethodName</h4>
  341. <pre class="methodSignature">public&nbsp;java.lang.String&nbsp;getGetMethodName()</pre>
  342. <div class="block">Returns the name of the method for retrieving the value
  343. from the wrapper object.
  344. For example, if the type is int, then the method name is
  345. <code>intValue</code>.</div>
  346. </li>
  347. </ul>
  348. <a id="getGetMethodDescriptor()">
  349. <!-- -->
  350. </a>
  351. <ul class="blockList">
  352. <li class="blockList">
  353. <h4>getGetMethodDescriptor</h4>
  354. <pre class="methodSignature">public&nbsp;java.lang.String&nbsp;getGetMethodDescriptor()</pre>
  355. <div class="block">Returns the descriptor of the method for retrieving the value
  356. from the wrapper object.
  357. For example, if the type is int, then the method descriptor is
  358. <code>()I</code>.</div>
  359. </li>
  360. </ul>
  361. <a id="getReturnOp()">
  362. <!-- -->
  363. </a>
  364. <ul class="blockList">
  365. <li class="blockList">
  366. <h4>getReturnOp</h4>
  367. <pre class="methodSignature">public&nbsp;int&nbsp;getReturnOp()</pre>
  368. <div class="block">Returns the opcode for returning a value of the type.
  369. For example, if the type is int, then the returned opcode is
  370. <code>javassit.bytecode.Opcode.IRETURN</code>.</div>
  371. </li>
  372. </ul>
  373. <a id="getArrayType()">
  374. <!-- -->
  375. </a>
  376. <ul class="blockList">
  377. <li class="blockList">
  378. <h4>getArrayType</h4>
  379. <pre class="methodSignature">public&nbsp;int&nbsp;getArrayType()</pre>
  380. <div class="block">Returns the array-type code representing the type.
  381. It is used for the newarray instruction.
  382. For example, if the type is int, then this method returns
  383. <code>javassit.bytecode.Opcode.T_INT</code>.</div>
  384. </li>
  385. </ul>
  386. <a id="getDataSize()">
  387. <!-- -->
  388. </a>
  389. <ul class="blockListLast">
  390. <li class="blockList">
  391. <h4>getDataSize</h4>
  392. <pre class="methodSignature">public&nbsp;int&nbsp;getDataSize()</pre>
  393. <div class="block">Returns the data size of the primitive type.
  394. If the type is long or double, this method returns 2.
  395. Otherwise, it returns 1.</div>
  396. </li>
  397. </ul>
  398. </li>
  399. </ul>
  400. </section>
  401. </li>
  402. </ul>
  403. </div>
  404. </div>
  405. </main>
  406. <!-- ========= END OF CLASS DATA ========= -->
  407. <footer role="contentinfo">
  408. <nav role="navigation">
  409. <!-- ======= START OF BOTTOM NAVBAR ====== -->
  410. <div class="bottomNav"><a id="navbar.bottom">
  411. <!-- -->
  412. </a>
  413. <div class="skipNav"><a href="#skip.navbar.bottom" title="Skip navigation links">Skip navigation links</a></div>
  414. <a id="navbar.bottom.firstrow">
  415. <!-- -->
  416. </a>
  417. <ul class="navList" title="Navigation">
  418. <li><a href="../index.html">Overview</a></li>
  419. <li><a href="package-summary.html">Package</a></li>
  420. <li class="navBarCell1Rev">Class</li>
  421. <li><a href="class-use/CtPrimitiveType.html">Use</a></li>
  422. <li><a href="package-tree.html">Tree</a></li>
  423. <li><a href="../deprecated-list.html">Deprecated</a></li>
  424. <li><a href="../index-all.html">Index</a></li>
  425. </ul>
  426. </div>
  427. <div class="subNav">
  428. <ul class="navList" id="allclasses_navbar_bottom">
  429. <li><a href="../allclasses.html">All&nbsp;Classes</a></li>
  430. </ul>
  431. <div>
  432. <script type="text/javascript"><!--
  433. allClassesLink = document.getElementById("allclasses_navbar_bottom");
  434. if(window==top) {
  435. allClassesLink.style.display = "block";
  436. }
  437. else {
  438. allClassesLink.style.display = "none";
  439. }
  440. //-->
  441. </script>
  442. <noscript>
  443. <div>JavaScript is disabled on your browser.</div>
  444. </noscript>
  445. </div>
  446. <div>
  447. <ul class="subNavList">
  448. <li>Summary:&nbsp;</li>
  449. <li>Nested&nbsp;|&nbsp;</li>
  450. <li><a href="#field.summary">Field</a>&nbsp;|&nbsp;</li>
  451. <li>Constr&nbsp;|&nbsp;</li>
  452. <li><a href="#method.summary">Method</a></li>
  453. </ul>
  454. <ul class="subNavList">
  455. <li>Detail:&nbsp;</li>
  456. <li>Field&nbsp;|&nbsp;</li>
  457. <li>Constr&nbsp;|&nbsp;</li>
  458. <li><a href="#method.detail">Method</a></li>
  459. </ul>
  460. </div>
  461. <a id="skip.navbar.bottom">
  462. <!-- -->
  463. </a></div>
  464. <!-- ======== END OF BOTTOM NAVBAR ======= -->
  465. </nav>
  466. <p class="legalCopy"><small><i>Javassist, a Java-bytecode translator toolkit.<br>
  467. Copyright (C) 1999- Shigeru Chiba. All Rights Reserved.</i></small></p>
  468. </footer>
  469. </body>
  470. </html>