You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

StackMap.html 26KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672
  1. <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
  2. <!-- NewPage -->
  3. <html lang="en">
  4. <head>
  5. <!-- Generated by javadoc (10.0.1) on Thu Jun 21 01:52:55 JST 2018 -->
  6. <title>StackMap (Javassist API)</title>
  7. <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
  8. <meta name="date" content="2018-06-21">
  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-1.10.2.js"></script>
  18. <script type="text/javascript" src="../../jquery/jquery-ui.js"></script>
  19. </head>
  20. <body>
  21. <script type="text/javascript"><!--
  22. try {
  23. if (location.href.indexOf('is-external=true') == -1) {
  24. parent.document.title="StackMap (Javassist API)";
  25. }
  26. }
  27. catch(err) {
  28. }
  29. //-->
  30. var methods = {"i0":10,"i1":10,"i2":10,"i3":10,"i4":10};
  31. var tabs = {65535:["t0","All Methods"],2:["t2","Instance Methods"],8:["t4","Concrete Methods"]};
  32. var altColor = "altColor";
  33. var rowColor = "rowColor";
  34. var tableTab = "tableTab";
  35. var activeTableTab = "activeTableTab";
  36. var pathtoroot = "../../";loadScripts(document, 'script');</script>
  37. <noscript>
  38. <div>JavaScript is disabled on your browser.</div>
  39. </noscript>
  40. <div class="fixedNav">
  41. <!-- ========= START OF TOP NAVBAR ======= -->
  42. <div class="topNav"><a name="navbar.top">
  43. <!-- -->
  44. </a>
  45. <div class="skipNav"><a href="#skip.navbar.top" title="Skip navigation links">Skip navigation links</a></div>
  46. <a name="navbar.top.firstrow">
  47. <!-- -->
  48. </a>
  49. <ul class="navList" title="Navigation">
  50. <li><a href="../../overview-summary.html">Overview</a></li>
  51. <li><a href="package-summary.html">Package</a></li>
  52. <li class="navBarCell1Rev">Class</li>
  53. <li><a href="class-use/StackMap.html">Use</a></li>
  54. <li><a href="package-tree.html">Tree</a></li>
  55. <li><a href="../../deprecated-list.html">Deprecated</a></li>
  56. <li><a href="../../index-all.html">Index</a></li>
  57. </ul>
  58. </div>
  59. <div class="subNav">
  60. <ul class="navList">
  61. <li><a href="../../javassist/bytecode/SourceFileAttribute.html" title="class in javassist.bytecode"><span class="typeNameLink">Prev&nbsp;Class</span></a></li>
  62. <li><a href="../../javassist/bytecode/StackMap.Walker.html" title="class in javassist.bytecode"><span class="typeNameLink">Next&nbsp;Class</span></a></li>
  63. </ul>
  64. <ul class="navList">
  65. <li><a href="../../index.html?javassist/bytecode/StackMap.html" target="_top">Frames</a></li>
  66. <li><a href="StackMap.html" target="_top">No&nbsp;Frames</a></li>
  67. </ul>
  68. <ul class="navList" id="allclasses_navbar_top">
  69. <li><a href="../../allclasses-noframe.html">All&nbsp;Classes</a></li>
  70. </ul>
  71. <ul class="navListSearch">
  72. <li><label for="search">SEARCH:</label>
  73. <input type="text" id="search" value="search" disabled="disabled">
  74. <input type="reset" id="reset" value="reset" disabled="disabled">
  75. </li>
  76. </ul>
  77. <div>
  78. <script type="text/javascript"><!--
  79. allClassesLink = document.getElementById("allclasses_navbar_top");
  80. if(window==top) {
  81. allClassesLink.style.display = "block";
  82. }
  83. else {
  84. allClassesLink.style.display = "none";
  85. }
  86. //-->
  87. </script>
  88. <noscript>
  89. <div>JavaScript is disabled on your browser.</div>
  90. </noscript>
  91. </div>
  92. <div>
  93. <ul class="subNavList">
  94. <li>Summary:&nbsp;</li>
  95. <li><a href="#nested.class.summary">Nested</a>&nbsp;|&nbsp;</li>
  96. <li><a href="#field.summary">Field</a>&nbsp;|&nbsp;</li>
  97. <li>Constr&nbsp;|&nbsp;</li>
  98. <li><a href="#method.summary">Method</a></li>
  99. </ul>
  100. <ul class="subNavList">
  101. <li>Detail:&nbsp;</li>
  102. <li><a href="#field.detail">Field</a>&nbsp;|&nbsp;</li>
  103. <li>Constr&nbsp;|&nbsp;</li>
  104. <li><a href="#method.detail">Method</a></li>
  105. </ul>
  106. </div>
  107. <a name="skip.navbar.top">
  108. <!-- -->
  109. </a></div>
  110. <!-- ========= END OF TOP NAVBAR ========= -->
  111. </div>
  112. <div class="navPadding">&nbsp;</div>
  113. <script type="text/javascript"><!--
  114. $('.navPadding').css('padding-top', $('.fixedNav').css("height"));
  115. //-->
  116. </script>
  117. <!-- ======== START OF CLASS DATA ======== -->
  118. <div class="header">
  119. <div class="subTitle"><span class="packageLabelInType">Package</span>&nbsp;<a href="../../javassist/bytecode/package-summary.html">javassist.bytecode</a></div>
  120. <h2 title="Class StackMap" class="title">Class StackMap</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="../../javassist/bytecode/AttributeInfo.html" title="class in javassist.bytecode">javassist.bytecode.AttributeInfo</a></li>
  128. <li>
  129. <ul class="inheritance">
  130. <li>javassist.bytecode.StackMap</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 class <span class="typeNameLabel">StackMap</span>
  141. extends <a href="../../javassist/bytecode/AttributeInfo.html" title="class in javassist.bytecode">AttributeInfo</a></pre>
  142. <div class="block">Another <code>stack_map</code> attribute defined in CLDC 1.1 for J2ME.
  143. <p>This is an entry in the attributes table of a Code attribute.
  144. It was introduced by J2ME CLDC 1.1 (JSR 139) for pre-verification.
  145. <p>According to the CLDC specification, the sizes of some fields are not 16bit
  146. but 32bit if the code size is more than 64K or the number of the local variables
  147. is more than 64K. However, for the J2ME CLDC technology, they are always 16bit.
  148. The implementation of the StackMap class assumes they are 16bit.</div>
  149. <dl>
  150. <dt><span class="simpleTagLabel">Since:</span></dt>
  151. <dd>3.12</dd>
  152. <dt><span class="seeLabel">See Also:</span></dt>
  153. <dd><a href="../../javassist/bytecode/MethodInfo.html#doPreverify"><code>MethodInfo.doPreverify</code></a>,
  154. <a href="../../javassist/bytecode/StackMapTable.html" title="class in javassist.bytecode"><code>StackMapTable</code></a></dd>
  155. </dl>
  156. </li>
  157. </ul>
  158. </div>
  159. <div class="summary">
  160. <ul class="blockList">
  161. <li class="blockList">
  162. <!-- ======== NESTED CLASS SUMMARY ======== -->
  163. <ul class="blockList">
  164. <li class="blockList"><a name="nested.class.summary">
  165. <!-- -->
  166. </a>
  167. <h3>Nested Class Summary</h3>
  168. <table class="memberSummary" summary="Nested Class Summary table, listing nested classes, and an explanation">
  169. <caption><span>Nested Classes</span><span class="tabEnd">&nbsp;</span></caption>
  170. <tr>
  171. <th class="colFirst" scope="col">Modifier and Type</th>
  172. <th class="colSecond" scope="col">Class</th>
  173. <th class="colLast" scope="col">Description</th>
  174. </tr>
  175. <tr class="altColor">
  176. <td class="colFirst"><code>static class&nbsp;</code></td>
  177. <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="../../javassist/bytecode/StackMap.Walker.html" title="class in javassist.bytecode">StackMap.Walker</a></span></code></th>
  178. <td class="colLast">
  179. <div class="block">A code walker for a StackMap attribute.</div>
  180. </td>
  181. </tr>
  182. <tr class="rowColor">
  183. <td class="colFirst"><code>static class&nbsp;</code></td>
  184. <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="../../javassist/bytecode/StackMap.Writer.html" title="class in javassist.bytecode">StackMap.Writer</a></span></code></th>
  185. <td class="colLast">
  186. <div class="block">Internal use only.</div>
  187. </td>
  188. </tr>
  189. </table>
  190. </li>
  191. </ul>
  192. <!-- =========== FIELD SUMMARY =========== -->
  193. <ul class="blockList">
  194. <li class="blockList"><a name="field.summary">
  195. <!-- -->
  196. </a>
  197. <h3>Field Summary</h3>
  198. <table class="memberSummary" summary="Field Summary table, listing fields, and an explanation">
  199. <caption><span>Fields</span><span class="tabEnd">&nbsp;</span></caption>
  200. <tr>
  201. <th class="colFirst" scope="col">Modifier and Type</th>
  202. <th class="colSecond" scope="col">Field</th>
  203. <th class="colLast" scope="col">Description</th>
  204. </tr>
  205. <tr class="altColor">
  206. <td class="colFirst"><code>static int</code></td>
  207. <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="../../javassist/bytecode/StackMap.html#DOUBLE">DOUBLE</a></span></code></th>
  208. <td class="colLast">
  209. <div class="block"><code>Double_variable_info.tag</code>.</div>
  210. </td>
  211. </tr>
  212. <tr class="rowColor">
  213. <td class="colFirst"><code>static int</code></td>
  214. <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="../../javassist/bytecode/StackMap.html#FLOAT">FLOAT</a></span></code></th>
  215. <td class="colLast">
  216. <div class="block"><code>Float_variable_info.tag</code>.</div>
  217. </td>
  218. </tr>
  219. <tr class="altColor">
  220. <td class="colFirst"><code>static int</code></td>
  221. <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="../../javassist/bytecode/StackMap.html#INTEGER">INTEGER</a></span></code></th>
  222. <td class="colLast">
  223. <div class="block"><code>Integer_variable_info.tag</code>.</div>
  224. </td>
  225. </tr>
  226. <tr class="rowColor">
  227. <td class="colFirst"><code>static int</code></td>
  228. <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="../../javassist/bytecode/StackMap.html#LONG">LONG</a></span></code></th>
  229. <td class="colLast">
  230. <div class="block"><code>Long_variable_info.tag</code>.</div>
  231. </td>
  232. </tr>
  233. <tr class="altColor">
  234. <td class="colFirst"><code>static int</code></td>
  235. <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="../../javassist/bytecode/StackMap.html#NULL">NULL</a></span></code></th>
  236. <td class="colLast">
  237. <div class="block"><code>Null_variable_info.tag</code>.</div>
  238. </td>
  239. </tr>
  240. <tr class="rowColor">
  241. <td class="colFirst"><code>static int</code></td>
  242. <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="../../javassist/bytecode/StackMap.html#OBJECT">OBJECT</a></span></code></th>
  243. <td class="colLast">
  244. <div class="block"><code>Object_variable_info.tag</code>.</div>
  245. </td>
  246. </tr>
  247. <tr class="altColor">
  248. <td class="colFirst"><code>static java.lang.String</code></td>
  249. <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="../../javassist/bytecode/StackMap.html#tag">tag</a></span></code></th>
  250. <td class="colLast">
  251. <div class="block">The name of this attribute <code>"StackMap"</code>.</div>
  252. </td>
  253. </tr>
  254. <tr class="rowColor">
  255. <td class="colFirst"><code>static int</code></td>
  256. <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="../../javassist/bytecode/StackMap.html#THIS">THIS</a></span></code></th>
  257. <td class="colLast">
  258. <div class="block"><code>UninitializedThis_variable_info.tag</code>.</div>
  259. </td>
  260. </tr>
  261. <tr class="altColor">
  262. <td class="colFirst"><code>static int</code></td>
  263. <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="../../javassist/bytecode/StackMap.html#TOP">TOP</a></span></code></th>
  264. <td class="colLast">
  265. <div class="block"><code>Top_variable_info.tag</code>.</div>
  266. </td>
  267. </tr>
  268. <tr class="rowColor">
  269. <td class="colFirst"><code>static int</code></td>
  270. <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="../../javassist/bytecode/StackMap.html#UNINIT">UNINIT</a></span></code></th>
  271. <td class="colLast">
  272. <div class="block"><code>Uninitialized_variable_info.tag</code>.</div>
  273. </td>
  274. </tr>
  275. </table>
  276. </li>
  277. </ul>
  278. <!-- ========== METHOD SUMMARY =========== -->
  279. <ul class="blockList">
  280. <li class="blockList"><a name="method.summary">
  281. <!-- -->
  282. </a>
  283. <h3>Method Summary</h3>
  284. <table class="memberSummary" summary="Method Summary table, listing methods, and an explanation">
  285. <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>
  286. <tr>
  287. <th class="colFirst" scope="col">Modifier and Type</th>
  288. <th class="colSecond" scope="col">Method</th>
  289. <th class="colLast" scope="col">Description</th>
  290. </tr>
  291. <tr id="i0" class="altColor">
  292. <td class="colFirst"><code><a href="../../javassist/bytecode/AttributeInfo.html" title="class in javassist.bytecode">AttributeInfo</a></code></td>
  293. <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="../../javassist/bytecode/StackMap.html#copy-javassist.bytecode.ConstPool-java.util.Map-">copy</a></span>&#8203;(<a href="../../javassist/bytecode/ConstPool.html" title="class in javassist.bytecode">ConstPool</a>&nbsp;newCp,
  294. java.util.Map&lt;java.lang.String,java.lang.String&gt;&nbsp;classnames)</code></th>
  295. <td class="colLast">
  296. <div class="block">Makes a copy.</div>
  297. </td>
  298. </tr>
  299. <tr id="i1" class="rowColor">
  300. <td class="colFirst"><code>void</code></td>
  301. <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="../../javassist/bytecode/StackMap.html#insertLocal-int-int-int-">insertLocal</a></span>&#8203;(int&nbsp;index,
  302. int&nbsp;tag,
  303. int&nbsp;classInfo)</code></th>
  304. <td class="colLast">
  305. <div class="block">Updates this stack map table when a new local variable is inserted
  306. for a new parameter.</div>
  307. </td>
  308. </tr>
  309. <tr id="i2" class="altColor">
  310. <td class="colFirst"><code>int</code></td>
  311. <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="../../javassist/bytecode/StackMap.html#numOfEntries--">numOfEntries</a></span>()</code></th>
  312. <td class="colLast">
  313. <div class="block">Returns <code>number_of_entries</code>.</div>
  314. </td>
  315. </tr>
  316. <tr id="i3" class="rowColor">
  317. <td class="colFirst"><code>void</code></td>
  318. <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="../../javassist/bytecode/StackMap.html#print-java.io.PrintWriter-">print</a></span>&#8203;(java.io.PrintWriter&nbsp;out)</code></th>
  319. <td class="colLast">
  320. <div class="block">Prints this stack map.</div>
  321. </td>
  322. </tr>
  323. <tr id="i4" class="altColor">
  324. <td class="colFirst"><code>void</code></td>
  325. <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="../../javassist/bytecode/StackMap.html#removeNew-int-">removeNew</a></span>&#8203;(int&nbsp;where)</code></th>
  326. <td class="colLast">
  327. <div class="block">Undocumented method.</div>
  328. </td>
  329. </tr>
  330. </table>
  331. <ul class="blockList">
  332. <li class="blockList"><a name="methods.inherited.from.class.javassist.bytecode.AttributeInfo">
  333. <!-- -->
  334. </a>
  335. <h3>Methods inherited from class&nbsp;javassist.bytecode.<a href="../../javassist/bytecode/AttributeInfo.html" title="class in javassist.bytecode">AttributeInfo</a></h3>
  336. <code><a href="../../javassist/bytecode/AttributeInfo.html#get--">get</a>, <a href="../../javassist/bytecode/AttributeInfo.html#getConstPool--">getConstPool</a>, <a href="../../javassist/bytecode/AttributeInfo.html#getName--">getName</a>, <a href="../../javassist/bytecode/AttributeInfo.html#length--">length</a>, <a href="../../javassist/bytecode/AttributeInfo.html#set-byte:A-">set</a></code></li>
  337. </ul>
  338. <ul class="blockList">
  339. <li class="blockList"><a name="methods.inherited.from.class.java.lang.Object">
  340. <!-- -->
  341. </a>
  342. <h3>Methods inherited from class&nbsp;java.lang.Object</h3>
  343. <code>equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait</code></li>
  344. </ul>
  345. </li>
  346. </ul>
  347. </li>
  348. </ul>
  349. </div>
  350. <div class="details">
  351. <ul class="blockList">
  352. <li class="blockList">
  353. <!-- ============ FIELD DETAIL =========== -->
  354. <ul class="blockList">
  355. <li class="blockList"><a name="field.detail">
  356. <!-- -->
  357. </a>
  358. <h3>Field Detail</h3>
  359. <a name="tag">
  360. <!-- -->
  361. </a>
  362. <ul class="blockList">
  363. <li class="blockList">
  364. <h4>tag</h4>
  365. <pre>public static final&nbsp;java.lang.String tag</pre>
  366. <div class="block">The name of this attribute <code>"StackMap"</code>.</div>
  367. <dl>
  368. <dt><span class="seeLabel">See Also:</span></dt>
  369. <dd><a href="../../constant-values.html#javassist.bytecode.StackMap.tag">Constant Field Values</a></dd>
  370. </dl>
  371. </li>
  372. </ul>
  373. <a name="TOP">
  374. <!-- -->
  375. </a>
  376. <ul class="blockList">
  377. <li class="blockList">
  378. <h4>TOP</h4>
  379. <pre>public static final&nbsp;int TOP</pre>
  380. <div class="block"><code>Top_variable_info.tag</code>.</div>
  381. <dl>
  382. <dt><span class="seeLabel">See Also:</span></dt>
  383. <dd><a href="../../constant-values.html#javassist.bytecode.StackMap.TOP">Constant Field Values</a></dd>
  384. </dl>
  385. </li>
  386. </ul>
  387. <a name="INTEGER">
  388. <!-- -->
  389. </a>
  390. <ul class="blockList">
  391. <li class="blockList">
  392. <h4>INTEGER</h4>
  393. <pre>public static final&nbsp;int INTEGER</pre>
  394. <div class="block"><code>Integer_variable_info.tag</code>.</div>
  395. <dl>
  396. <dt><span class="seeLabel">See Also:</span></dt>
  397. <dd><a href="../../constant-values.html#javassist.bytecode.StackMap.INTEGER">Constant Field Values</a></dd>
  398. </dl>
  399. </li>
  400. </ul>
  401. <a name="FLOAT">
  402. <!-- -->
  403. </a>
  404. <ul class="blockList">
  405. <li class="blockList">
  406. <h4>FLOAT</h4>
  407. <pre>public static final&nbsp;int FLOAT</pre>
  408. <div class="block"><code>Float_variable_info.tag</code>.</div>
  409. <dl>
  410. <dt><span class="seeLabel">See Also:</span></dt>
  411. <dd><a href="../../constant-values.html#javassist.bytecode.StackMap.FLOAT">Constant Field Values</a></dd>
  412. </dl>
  413. </li>
  414. </ul>
  415. <a name="DOUBLE">
  416. <!-- -->
  417. </a>
  418. <ul class="blockList">
  419. <li class="blockList">
  420. <h4>DOUBLE</h4>
  421. <pre>public static final&nbsp;int DOUBLE</pre>
  422. <div class="block"><code>Double_variable_info.tag</code>.</div>
  423. <dl>
  424. <dt><span class="seeLabel">See Also:</span></dt>
  425. <dd><a href="../../constant-values.html#javassist.bytecode.StackMap.DOUBLE">Constant Field Values</a></dd>
  426. </dl>
  427. </li>
  428. </ul>
  429. <a name="LONG">
  430. <!-- -->
  431. </a>
  432. <ul class="blockList">
  433. <li class="blockList">
  434. <h4>LONG</h4>
  435. <pre>public static final&nbsp;int LONG</pre>
  436. <div class="block"><code>Long_variable_info.tag</code>.</div>
  437. <dl>
  438. <dt><span class="seeLabel">See Also:</span></dt>
  439. <dd><a href="../../constant-values.html#javassist.bytecode.StackMap.LONG">Constant Field Values</a></dd>
  440. </dl>
  441. </li>
  442. </ul>
  443. <a name="NULL">
  444. <!-- -->
  445. </a>
  446. <ul class="blockList">
  447. <li class="blockList">
  448. <h4>NULL</h4>
  449. <pre>public static final&nbsp;int NULL</pre>
  450. <div class="block"><code>Null_variable_info.tag</code>.</div>
  451. <dl>
  452. <dt><span class="seeLabel">See Also:</span></dt>
  453. <dd><a href="../../constant-values.html#javassist.bytecode.StackMap.NULL">Constant Field Values</a></dd>
  454. </dl>
  455. </li>
  456. </ul>
  457. <a name="THIS">
  458. <!-- -->
  459. </a>
  460. <ul class="blockList">
  461. <li class="blockList">
  462. <h4>THIS</h4>
  463. <pre>public static final&nbsp;int THIS</pre>
  464. <div class="block"><code>UninitializedThis_variable_info.tag</code>.</div>
  465. <dl>
  466. <dt><span class="seeLabel">See Also:</span></dt>
  467. <dd><a href="../../constant-values.html#javassist.bytecode.StackMap.THIS">Constant Field Values</a></dd>
  468. </dl>
  469. </li>
  470. </ul>
  471. <a name="OBJECT">
  472. <!-- -->
  473. </a>
  474. <ul class="blockList">
  475. <li class="blockList">
  476. <h4>OBJECT</h4>
  477. <pre>public static final&nbsp;int OBJECT</pre>
  478. <div class="block"><code>Object_variable_info.tag</code>.</div>
  479. <dl>
  480. <dt><span class="seeLabel">See Also:</span></dt>
  481. <dd><a href="../../constant-values.html#javassist.bytecode.StackMap.OBJECT">Constant Field Values</a></dd>
  482. </dl>
  483. </li>
  484. </ul>
  485. <a name="UNINIT">
  486. <!-- -->
  487. </a>
  488. <ul class="blockListLast">
  489. <li class="blockList">
  490. <h4>UNINIT</h4>
  491. <pre>public static final&nbsp;int UNINIT</pre>
  492. <div class="block"><code>Uninitialized_variable_info.tag</code>.</div>
  493. <dl>
  494. <dt><span class="seeLabel">See Also:</span></dt>
  495. <dd><a href="../../constant-values.html#javassist.bytecode.StackMap.UNINIT">Constant Field Values</a></dd>
  496. </dl>
  497. </li>
  498. </ul>
  499. </li>
  500. </ul>
  501. <!-- ============ METHOD DETAIL ========== -->
  502. <ul class="blockList">
  503. <li class="blockList"><a name="method.detail">
  504. <!-- -->
  505. </a>
  506. <h3>Method Detail</h3>
  507. <a name="numOfEntries--">
  508. <!-- -->
  509. </a>
  510. <ul class="blockList">
  511. <li class="blockList">
  512. <h4>numOfEntries</h4>
  513. <pre>public&nbsp;int&nbsp;numOfEntries()</pre>
  514. <div class="block">Returns <code>number_of_entries</code>.</div>
  515. </li>
  516. </ul>
  517. <a name="copy-javassist.bytecode.ConstPool-java.util.Map-">
  518. <!-- -->
  519. </a>
  520. <ul class="blockList">
  521. <li class="blockList">
  522. <h4>copy</h4>
  523. <pre>public&nbsp;<a href="../../javassist/bytecode/AttributeInfo.html" title="class in javassist.bytecode">AttributeInfo</a>&nbsp;copy&#8203;(<a href="../../javassist/bytecode/ConstPool.html" title="class in javassist.bytecode">ConstPool</a>&nbsp;newCp,
  524. java.util.Map&lt;java.lang.String,java.lang.String&gt;&nbsp;classnames)</pre>
  525. <div class="block">Makes a copy.</div>
  526. <dl>
  527. <dt><span class="overrideSpecifyLabel">Overrides:</span></dt>
  528. <dd><code><a href="../../javassist/bytecode/AttributeInfo.html#copy-javassist.bytecode.ConstPool-java.util.Map-">copy</a></code>&nbsp;in class&nbsp;<code><a href="../../javassist/bytecode/AttributeInfo.html" title="class in javassist.bytecode">AttributeInfo</a></code></dd>
  529. <dt><span class="paramLabel">Parameters:</span></dt>
  530. <dd><code>newCp</code> - the constant pool table used by the new copy.</dd>
  531. <dd><code>classnames</code> - pairs of replaced and substituted
  532. class names.</dd>
  533. </dl>
  534. </li>
  535. </ul>
  536. <a name="insertLocal-int-int-int-">
  537. <!-- -->
  538. </a>
  539. <ul class="blockList">
  540. <li class="blockList">
  541. <h4>insertLocal</h4>
  542. <pre>public&nbsp;void&nbsp;insertLocal&#8203;(int&nbsp;index,
  543. int&nbsp;tag,
  544. int&nbsp;classInfo)
  545. throws <a href="../../javassist/bytecode/BadBytecode.html" title="class in javassist.bytecode">BadBytecode</a></pre>
  546. <div class="block">Updates this stack map table when a new local variable is inserted
  547. for a new parameter.</div>
  548. <dl>
  549. <dt><span class="paramLabel">Parameters:</span></dt>
  550. <dd><code>index</code> - the index of the added local variable.</dd>
  551. <dd><code>tag</code> - the type tag of that local variable.
  552. It is available by <code>StackMapTable.typeTagOf(char)</code>.</dd>
  553. <dd><code>classInfo</code> - the index of the <code>CONSTANT_Class_info</code> structure
  554. in a constant pool table. This should be zero unless the tag
  555. is <code>ITEM_Object</code>.</dd>
  556. <dt><span class="throwsLabel">Throws:</span></dt>
  557. <dd><code><a href="../../javassist/bytecode/BadBytecode.html" title="class in javassist.bytecode">BadBytecode</a></code></dd>
  558. <dt><span class="seeLabel">See Also:</span></dt>
  559. <dd><a href="../../javassist/CtBehavior.html#addParameter-javassist.CtClass-"><code>CtBehavior.addParameter(javassist.CtClass)</code></a>,
  560. <a href="../../javassist/bytecode/StackMapTable.html#typeTagOf-char-"><code>StackMapTable.typeTagOf(char)</code></a>,
  561. <a href="../../javassist/bytecode/ConstPool.html" title="class in javassist.bytecode"><code>ConstPool</code></a></dd>
  562. </dl>
  563. </li>
  564. </ul>
  565. <a name="removeNew-int-">
  566. <!-- -->
  567. </a>
  568. <ul class="blockList">
  569. <li class="blockList">
  570. <h4>removeNew</h4>
  571. <pre>public&nbsp;void&nbsp;removeNew&#8203;(int&nbsp;where)
  572. throws <a href="../../javassist/CannotCompileException.html" title="class in javassist">CannotCompileException</a></pre>
  573. <div class="block">Undocumented method. Do not use; internal-use only.
  574. <p>This method is for javassist.convert.TransformNew.
  575. It is called to update the stack map when
  576. the NEW opcode (and the following DUP) is removed.</div>
  577. <dl>
  578. <dt><span class="paramLabel">Parameters:</span></dt>
  579. <dd><code>where</code> - the position of the removed NEW opcode.</dd>
  580. <dt><span class="throwsLabel">Throws:</span></dt>
  581. <dd><code><a href="../../javassist/CannotCompileException.html" title="class in javassist">CannotCompileException</a></code></dd>
  582. </dl>
  583. </li>
  584. </ul>
  585. <a name="print-java.io.PrintWriter-">
  586. <!-- -->
  587. </a>
  588. <ul class="blockListLast">
  589. <li class="blockList">
  590. <h4>print</h4>
  591. <pre>public&nbsp;void&nbsp;print&#8203;(java.io.PrintWriter&nbsp;out)</pre>
  592. <div class="block">Prints this stack map.</div>
  593. </li>
  594. </ul>
  595. </li>
  596. </ul>
  597. </li>
  598. </ul>
  599. </div>
  600. </div>
  601. <!-- ========= END OF CLASS DATA ========= -->
  602. <!-- ======= START OF BOTTOM NAVBAR ====== -->
  603. <div class="bottomNav"><a name="navbar.bottom">
  604. <!-- -->
  605. </a>
  606. <div class="skipNav"><a href="#skip.navbar.bottom" title="Skip navigation links">Skip navigation links</a></div>
  607. <a name="navbar.bottom.firstrow">
  608. <!-- -->
  609. </a>
  610. <ul class="navList" title="Navigation">
  611. <li><a href="../../overview-summary.html">Overview</a></li>
  612. <li><a href="package-summary.html">Package</a></li>
  613. <li class="navBarCell1Rev">Class</li>
  614. <li><a href="class-use/StackMap.html">Use</a></li>
  615. <li><a href="package-tree.html">Tree</a></li>
  616. <li><a href="../../deprecated-list.html">Deprecated</a></li>
  617. <li><a href="../../index-all.html">Index</a></li>
  618. </ul>
  619. </div>
  620. <div class="subNav">
  621. <ul class="navList">
  622. <li><a href="../../javassist/bytecode/SourceFileAttribute.html" title="class in javassist.bytecode"><span class="typeNameLink">Prev&nbsp;Class</span></a></li>
  623. <li><a href="../../javassist/bytecode/StackMap.Walker.html" title="class in javassist.bytecode"><span class="typeNameLink">Next&nbsp;Class</span></a></li>
  624. </ul>
  625. <ul class="navList">
  626. <li><a href="../../index.html?javassist/bytecode/StackMap.html" target="_top">Frames</a></li>
  627. <li><a href="StackMap.html" target="_top">No&nbsp;Frames</a></li>
  628. </ul>
  629. <ul class="navList" id="allclasses_navbar_bottom">
  630. <li><a href="../../allclasses-noframe.html">All&nbsp;Classes</a></li>
  631. </ul>
  632. <div>
  633. <script type="text/javascript"><!--
  634. allClassesLink = document.getElementById("allclasses_navbar_bottom");
  635. if(window==top) {
  636. allClassesLink.style.display = "block";
  637. }
  638. else {
  639. allClassesLink.style.display = "none";
  640. }
  641. //-->
  642. </script>
  643. <noscript>
  644. <div>JavaScript is disabled on your browser.</div>
  645. </noscript>
  646. </div>
  647. <div>
  648. <ul class="subNavList">
  649. <li>Summary:&nbsp;</li>
  650. <li><a href="#nested.class.summary">Nested</a>&nbsp;|&nbsp;</li>
  651. <li><a href="#field.summary">Field</a>&nbsp;|&nbsp;</li>
  652. <li>Constr&nbsp;|&nbsp;</li>
  653. <li><a href="#method.summary">Method</a></li>
  654. </ul>
  655. <ul class="subNavList">
  656. <li>Detail:&nbsp;</li>
  657. <li><a href="#field.detail">Field</a>&nbsp;|&nbsp;</li>
  658. <li>Constr&nbsp;|&nbsp;</li>
  659. <li><a href="#method.detail">Method</a></li>
  660. </ul>
  661. </div>
  662. <a name="skip.navbar.bottom">
  663. <!-- -->
  664. </a></div>
  665. <!-- ======== END OF BOTTOM NAVBAR ======= -->
  666. <p class="legalCopy"><small><i>Javassist, a Java-bytecode translator toolkit.<br>
  667. Copyright (C) 1999- Shigeru Chiba. All Rights Reserved.</i></small></p>
  668. </body>
  669. </html>