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.

ConstPool.html 103KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479148014811482148314841485148614871488148914901491149214931494149514961497149814991500150115021503150415051506150715081509151015111512151315141515151615171518151915201521152215231524152515261527152815291530153115321533153415351536153715381539154015411542154315441545154615471548154915501551155215531554155515561557155815591560156115621563156415651566156715681569157015711572157315741575157615771578157915801581158215831584158515861587158815891590159115921593159415951596159715981599160016011602160316041605160616071608160916101611161216131614161516161617161816191620162116221623162416251626162716281629163016311632163316341635163616371638163916401641164216431644164516461647164816491650165116521653165416551656165716581659166016611662166316641665166616671668166916701671167216731674167516761677167816791680168116821683168416851686168716881689169016911692169316941695169616971698169917001701170217031704170517061707170817091710171117121713171417151716171717181719172017211722172317241725172617271728172917301731173217331734173517361737173817391740174117421743174417451746174717481749175017511752175317541755175617571758175917601761176217631764176517661767176817691770177117721773177417751776177717781779178017811782178317841785178617871788178917901791179217931794179517961797179817991800180118021803180418051806180718081809181018111812181318141815181618171818181918201821182218231824182518261827182818291830183118321833183418351836183718381839184018411842184318441845184618471848184918501851185218531854185518561857185818591860186118621863186418651866186718681869187018711872187318741875187618771878187918801881188218831884188518861887188818891890189118921893189418951896189718981899190019011902190319041905190619071908190919101911191219131914191519161917191819191920192119221923192419251926192719281929193019311932193319341935193619371938193919401941194219431944194519461947194819491950195119521953195419551956195719581959196019611962196319641965196619671968196919701971197219731974197519761977197819791980198119821983198419851986198719881989199019911992199319941995199619971998199920002001200220032004200520062007200820092010201120122013201420152016201720182019202020212022202320242025202620272028202920302031203220332034203520362037203820392040204120422043204420452046204720482049205020512052205320542055205620572058205920602061206220632064206520662067206820692070207120722073207420752076207720782079208020812082208320842085208620872088208920902091209220932094209520962097209820992100210121022103210421052106210721082109211021112112211321142115211621172118211921202121212221232124212521262127212821292130213121322133213421352136213721382139214021412142214321442145214621472148214921502151215221532154215521562157215821592160216121622163216421652166216721682169217021712172217321742175217621772178217921802181218221832184218521862187218821892190219121922193219421952196219721982199220022012202220322042205220622072208220922102211221222132214221522162217221822192220222122222223222422252226222722282229223022312232223322342235223622372238223922402241224222432244224522462247224822492250225122522253225422552256225722582259226022612262226322642265226622672268226922702271227222732274227522762277227822792280228122822283228422852286228722882289229022912292229322942295229622972298229923002301230223032304230523062307230823092310231123122313231423152316231723182319232023212322232323242325232623272328232923302331233223332334233523362337233823392340234123422343234423452346234723482349235023512352235323542355235623572358235923602361236223632364236523662367236823692370237123722373237423752376237723782379238023812382238323842385238623872388238923902391239223932394239523962397239823992400240124022403240424052406240724082409241024112412241324142415241624172418241924202421242224232424242524262427242824292430243124322433243424352436243724382439244024412442244324442445244624472448244924502451245224532454245524562457245824592460246124622463246424652466246724682469247024712472247324742475247624772478247924802481248224832484248524862487248824892490249124922493249424952496249724982499250025012502250325042505250625072508250925102511251225132514251525162517251825192520252125222523252425252526252725282529253025312532253325342535253625372538253925402541254225432544254525462547254825492550255125522553255425552556255725582559256025612562256325642565256625672568256925702571257225732574257525762577257825792580258125822583258425852586258725882589259025912592259325942595259625972598259926002601260226032604260526062607260826092610261126122613261426152616261726182619262026212622262326242625262626272628262926302631263226332634263526362637263826392640264126422643264426452646264726482649265026512652265326542655265626572658265926602661266226632664266526662667266826692670267126722673267426752676267726782679268026812682268326842685268626872688268926902691269226932694269526962697269826992700
  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>ConstPool (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="ConstPool (Javassist API)";
  25. }
  26. }
  27. catch(err) {
  28. }
  29. //-->
  30. var methods = {"i0":10,"i1":10,"i2":10,"i3":10,"i4":10,"i5":10,"i6":10,"i7":10,"i8":10,"i9":10,"i10":10,"i11":10,"i12":10,"i13":10,"i14":10,"i15":10,"i16":10,"i17":10,"i18":10,"i19":10,"i20":10,"i21":10,"i22":10,"i23":10,"i24":10,"i25":10,"i26":10,"i27":10,"i28":10,"i29":10,"i30":10,"i31":10,"i32":10,"i33":10,"i34":10,"i35":10,"i36":10,"i37":10,"i38":10,"i39":10,"i40":10,"i41":10,"i42":10,"i43":10,"i44":10,"i45":10,"i46":10,"i47":10,"i48":10,"i49":10,"i50":10,"i51":10,"i52":10,"i53":10,"i54":10,"i55":10,"i56":10,"i57":10,"i58":10,"i59":10,"i60":10,"i61":10,"i62":10,"i63":10,"i64":10,"i65":10,"i66":10,"i67":10,"i68":10,"i69":10,"i70":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/ConstPool.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/ConstantAttribute.html" title="class in javassist.bytecode"><span class="typeNameLink">Prev&nbsp;Class</span></a></li>
  62. <li><a href="../../javassist/bytecode/DeprecatedAttribute.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/ConstPool.html" target="_top">Frames</a></li>
  66. <li><a href="ConstPool.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>Nested&nbsp;|&nbsp;</li>
  96. <li><a href="#field.summary">Field</a>&nbsp;|&nbsp;</li>
  97. <li><a href="#constructor.summary">Constr</a>&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><a href="#constructor.detail">Constr</a>&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 ConstPool" class="title">Class ConstPool</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>javassist.bytecode.ConstPool</li>
  128. </ul>
  129. </li>
  130. </ul>
  131. <div class="description">
  132. <ul class="blockList">
  133. <li class="blockList">
  134. <hr>
  135. <pre>public final class <span class="typeNameLabel">ConstPool</span>
  136. extends java.lang.Object</pre>
  137. <div class="block">Constant pool table.</div>
  138. </li>
  139. </ul>
  140. </div>
  141. <div class="summary">
  142. <ul class="blockList">
  143. <li class="blockList">
  144. <!-- =========== FIELD SUMMARY =========== -->
  145. <ul class="blockList">
  146. <li class="blockList"><a name="field.summary">
  147. <!-- -->
  148. </a>
  149. <h3>Field Summary</h3>
  150. <table class="memberSummary" summary="Field Summary table, listing fields, and an explanation">
  151. <caption><span>Fields</span><span class="tabEnd">&nbsp;</span></caption>
  152. <tr>
  153. <th class="colFirst" scope="col">Modifier and Type</th>
  154. <th class="colSecond" scope="col">Field</th>
  155. <th class="colLast" scope="col">Description</th>
  156. </tr>
  157. <tr class="altColor">
  158. <td class="colFirst"><code>static int</code></td>
  159. <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="../../javassist/bytecode/ConstPool.html#CONST_Class">CONST_Class</a></span></code></th>
  160. <td class="colLast">
  161. <div class="block"><code>CONSTANT_Class</code></div>
  162. </td>
  163. </tr>
  164. <tr class="rowColor">
  165. <td class="colFirst"><code>static int</code></td>
  166. <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="../../javassist/bytecode/ConstPool.html#CONST_Double">CONST_Double</a></span></code></th>
  167. <td class="colLast">
  168. <div class="block"><code>CONSTANT_Double</code></div>
  169. </td>
  170. </tr>
  171. <tr class="altColor">
  172. <td class="colFirst"><code>static int</code></td>
  173. <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="../../javassist/bytecode/ConstPool.html#CONST_Fieldref">CONST_Fieldref</a></span></code></th>
  174. <td class="colLast">
  175. <div class="block"><code>CONSTANT_Fieldref</code></div>
  176. </td>
  177. </tr>
  178. <tr class="rowColor">
  179. <td class="colFirst"><code>static int</code></td>
  180. <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="../../javassist/bytecode/ConstPool.html#CONST_Float">CONST_Float</a></span></code></th>
  181. <td class="colLast">
  182. <div class="block"><code>CONSTANT_Float</code></div>
  183. </td>
  184. </tr>
  185. <tr class="altColor">
  186. <td class="colFirst"><code>static int</code></td>
  187. <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="../../javassist/bytecode/ConstPool.html#CONST_Integer">CONST_Integer</a></span></code></th>
  188. <td class="colLast">
  189. <div class="block"><code>CONSTANT_Integer</code></div>
  190. </td>
  191. </tr>
  192. <tr class="rowColor">
  193. <td class="colFirst"><code>static int</code></td>
  194. <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="../../javassist/bytecode/ConstPool.html#CONST_InterfaceMethodref">CONST_InterfaceMethodref</a></span></code></th>
  195. <td class="colLast">
  196. <div class="block"><code>CONSTANT_InterfaceMethodref</code></div>
  197. </td>
  198. </tr>
  199. <tr class="altColor">
  200. <td class="colFirst"><code>static int</code></td>
  201. <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="../../javassist/bytecode/ConstPool.html#CONST_InvokeDynamic">CONST_InvokeDynamic</a></span></code></th>
  202. <td class="colLast">
  203. <div class="block"><code>CONSTANT_MethodHandle</code></div>
  204. </td>
  205. </tr>
  206. <tr class="rowColor">
  207. <td class="colFirst"><code>static int</code></td>
  208. <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="../../javassist/bytecode/ConstPool.html#CONST_Long">CONST_Long</a></span></code></th>
  209. <td class="colLast">
  210. <div class="block"><code>CONSTANT_Long</code></div>
  211. </td>
  212. </tr>
  213. <tr class="altColor">
  214. <td class="colFirst"><code>static int</code></td>
  215. <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="../../javassist/bytecode/ConstPool.html#CONST_MethodHandle">CONST_MethodHandle</a></span></code></th>
  216. <td class="colLast">
  217. <div class="block"><code>CONSTANT_MethodHandle</code></div>
  218. </td>
  219. </tr>
  220. <tr class="rowColor">
  221. <td class="colFirst"><code>static int</code></td>
  222. <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="../../javassist/bytecode/ConstPool.html#CONST_Methodref">CONST_Methodref</a></span></code></th>
  223. <td class="colLast">
  224. <div class="block"><code>CONSTANT_Methodref</code></div>
  225. </td>
  226. </tr>
  227. <tr class="altColor">
  228. <td class="colFirst"><code>static int</code></td>
  229. <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="../../javassist/bytecode/ConstPool.html#CONST_MethodType">CONST_MethodType</a></span></code></th>
  230. <td class="colLast">
  231. <div class="block"><code>CONSTANT_MethodHandle</code></div>
  232. </td>
  233. </tr>
  234. <tr class="rowColor">
  235. <td class="colFirst"><code>static int</code></td>
  236. <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="../../javassist/bytecode/ConstPool.html#CONST_Module">CONST_Module</a></span></code></th>
  237. <td class="colLast">
  238. <div class="block"><code>CONSTANT_Module</code></div>
  239. </td>
  240. </tr>
  241. <tr class="altColor">
  242. <td class="colFirst"><code>static int</code></td>
  243. <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="../../javassist/bytecode/ConstPool.html#CONST_NameAndType">CONST_NameAndType</a></span></code></th>
  244. <td class="colLast">
  245. <div class="block"><code>CONSTANT_NameAndType</code></div>
  246. </td>
  247. </tr>
  248. <tr class="rowColor">
  249. <td class="colFirst"><code>static int</code></td>
  250. <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="../../javassist/bytecode/ConstPool.html#CONST_Package">CONST_Package</a></span></code></th>
  251. <td class="colLast">
  252. <div class="block"><code>CONSTANT_Package</code></div>
  253. </td>
  254. </tr>
  255. <tr class="altColor">
  256. <td class="colFirst"><code>static int</code></td>
  257. <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="../../javassist/bytecode/ConstPool.html#CONST_String">CONST_String</a></span></code></th>
  258. <td class="colLast">
  259. <div class="block"><code>CONSTANT_String</code></div>
  260. </td>
  261. </tr>
  262. <tr class="rowColor">
  263. <td class="colFirst"><code>static int</code></td>
  264. <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="../../javassist/bytecode/ConstPool.html#CONST_Utf8">CONST_Utf8</a></span></code></th>
  265. <td class="colLast">
  266. <div class="block"><code>CONSTANT_Utf8</code></div>
  267. </td>
  268. </tr>
  269. <tr class="altColor">
  270. <td class="colFirst"><code>static int</code></td>
  271. <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="../../javassist/bytecode/ConstPool.html#REF_getField">REF_getField</a></span></code></th>
  272. <td class="colLast">
  273. <div class="block"><code>reference_kind</code> of <code>CONSTANT_MethodHandle_info</code>.</div>
  274. </td>
  275. </tr>
  276. <tr class="rowColor">
  277. <td class="colFirst"><code>static int</code></td>
  278. <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="../../javassist/bytecode/ConstPool.html#REF_getStatic">REF_getStatic</a></span></code></th>
  279. <td class="colLast">
  280. <div class="block"><code>reference_kind</code> of <code>CONSTANT_MethodHandle_info</code>.</div>
  281. </td>
  282. </tr>
  283. <tr class="altColor">
  284. <td class="colFirst"><code>static int</code></td>
  285. <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="../../javassist/bytecode/ConstPool.html#REF_invokeInterface">REF_invokeInterface</a></span></code></th>
  286. <td class="colLast">
  287. <div class="block"><code>reference_kind</code> of <code>CONSTANT_MethodHandle_info</code>.</div>
  288. </td>
  289. </tr>
  290. <tr class="rowColor">
  291. <td class="colFirst"><code>static int</code></td>
  292. <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="../../javassist/bytecode/ConstPool.html#REF_invokeSpecial">REF_invokeSpecial</a></span></code></th>
  293. <td class="colLast">
  294. <div class="block"><code>reference_kind</code> of <code>CONSTANT_MethodHandle_info</code>.</div>
  295. </td>
  296. </tr>
  297. <tr class="altColor">
  298. <td class="colFirst"><code>static int</code></td>
  299. <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="../../javassist/bytecode/ConstPool.html#REF_invokeStatic">REF_invokeStatic</a></span></code></th>
  300. <td class="colLast">
  301. <div class="block"><code>reference_kind</code> of <code>CONSTANT_MethodHandle_info</code>.</div>
  302. </td>
  303. </tr>
  304. <tr class="rowColor">
  305. <td class="colFirst"><code>static int</code></td>
  306. <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="../../javassist/bytecode/ConstPool.html#REF_invokeVirtual">REF_invokeVirtual</a></span></code></th>
  307. <td class="colLast">
  308. <div class="block"><code>reference_kind</code> of <code>CONSTANT_MethodHandle_info</code>.</div>
  309. </td>
  310. </tr>
  311. <tr class="altColor">
  312. <td class="colFirst"><code>static int</code></td>
  313. <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="../../javassist/bytecode/ConstPool.html#REF_newInvokeSpecial">REF_newInvokeSpecial</a></span></code></th>
  314. <td class="colLast">
  315. <div class="block"><code>reference_kind</code> of <code>CONSTANT_MethodHandle_info</code>.</div>
  316. </td>
  317. </tr>
  318. <tr class="rowColor">
  319. <td class="colFirst"><code>static int</code></td>
  320. <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="../../javassist/bytecode/ConstPool.html#REF_putField">REF_putField</a></span></code></th>
  321. <td class="colLast">
  322. <div class="block"><code>reference_kind</code> of <code>CONSTANT_MethodHandle_info</code>.</div>
  323. </td>
  324. </tr>
  325. <tr class="altColor">
  326. <td class="colFirst"><code>static int</code></td>
  327. <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="../../javassist/bytecode/ConstPool.html#REF_putStatic">REF_putStatic</a></span></code></th>
  328. <td class="colLast">
  329. <div class="block"><code>reference_kind</code> of <code>CONSTANT_MethodHandle_info</code>.</div>
  330. </td>
  331. </tr>
  332. <tr class="rowColor">
  333. <td class="colFirst"><code>static <a href="../../javassist/CtClass.html" title="class in javassist">CtClass</a></code></td>
  334. <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="../../javassist/bytecode/ConstPool.html#THIS">THIS</a></span></code></th>
  335. <td class="colLast">
  336. <div class="block">Represents the class using this constant pool table.</div>
  337. </td>
  338. </tr>
  339. </table>
  340. </li>
  341. </ul>
  342. <!-- ======== CONSTRUCTOR SUMMARY ======== -->
  343. <ul class="blockList">
  344. <li class="blockList"><a name="constructor.summary">
  345. <!-- -->
  346. </a>
  347. <h3>Constructor Summary</h3>
  348. <table class="memberSummary" summary="Constructor Summary table, listing constructors, and an explanation">
  349. <caption><span>Constructors</span><span class="tabEnd">&nbsp;</span></caption>
  350. <tr>
  351. <th class="colFirst" scope="col">Constructor</th>
  352. <th class="colLast" scope="col">Description</th>
  353. </tr>
  354. <tr class="altColor">
  355. <th class="colConstructorName" scope="row"><code><span class="memberNameLink"><a href="../../javassist/bytecode/ConstPool.html#ConstPool-java.io.DataInputStream-">ConstPool</a></span>&#8203;(java.io.DataInputStream&nbsp;in)</code></th>
  356. <td class="colLast">
  357. <div class="block">Constructs a constant pool table from the given byte stream.</div>
  358. </td>
  359. </tr>
  360. <tr class="rowColor">
  361. <th class="colConstructorName" scope="row"><code><span class="memberNameLink"><a href="../../javassist/bytecode/ConstPool.html#ConstPool-java.lang.String-">ConstPool</a></span>&#8203;(java.lang.String&nbsp;thisclass)</code></th>
  362. <td class="colLast">
  363. <div class="block">Constructs a constant pool table.</div>
  364. </td>
  365. </tr>
  366. </table>
  367. </li>
  368. </ul>
  369. <!-- ========== METHOD SUMMARY =========== -->
  370. <ul class="blockList">
  371. <li class="blockList"><a name="method.summary">
  372. <!-- -->
  373. </a>
  374. <h3>Method Summary</h3>
  375. <table class="memberSummary" summary="Method Summary table, listing methods, and an explanation">
  376. <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>
  377. <tr>
  378. <th class="colFirst" scope="col">Modifier and Type</th>
  379. <th class="colSecond" scope="col">Method</th>
  380. <th class="colLast" scope="col">Description</th>
  381. </tr>
  382. <tr id="i0" class="altColor">
  383. <td class="colFirst"><code>int</code></td>
  384. <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="../../javassist/bytecode/ConstPool.html#addClassInfo-java.lang.String-">addClassInfo</a></span>&#8203;(java.lang.String&nbsp;qname)</code></th>
  385. <td class="colLast">
  386. <div class="block">Adds a new <code>CONSTANT_Class_info</code> structure.</div>
  387. </td>
  388. </tr>
  389. <tr id="i1" class="rowColor">
  390. <td class="colFirst"><code>int</code></td>
  391. <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="../../javassist/bytecode/ConstPool.html#addClassInfo-javassist.CtClass-">addClassInfo</a></span>&#8203;(<a href="../../javassist/CtClass.html" title="class in javassist">CtClass</a>&nbsp;c)</code></th>
  392. <td class="colLast">
  393. <div class="block">Adds a new <code>CONSTANT_Class_info</code> structure.</div>
  394. </td>
  395. </tr>
  396. <tr id="i2" class="altColor">
  397. <td class="colFirst"><code>int</code></td>
  398. <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="../../javassist/bytecode/ConstPool.html#addDoubleInfo-double-">addDoubleInfo</a></span>&#8203;(double&nbsp;d)</code></th>
  399. <td class="colLast">
  400. <div class="block">Adds a new <code>CONSTANT_Double_info</code>
  401. structure.</div>
  402. </td>
  403. </tr>
  404. <tr id="i3" class="rowColor">
  405. <td class="colFirst"><code>int</code></td>
  406. <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="../../javassist/bytecode/ConstPool.html#addFieldrefInfo-int-int-">addFieldrefInfo</a></span>&#8203;(int&nbsp;classInfo,
  407. int&nbsp;nameAndTypeInfo)</code></th>
  408. <td class="colLast">
  409. <div class="block">Adds a new <code>CONSTANT_Fieldref_info</code> structure.</div>
  410. </td>
  411. </tr>
  412. <tr id="i4" class="altColor">
  413. <td class="colFirst"><code>int</code></td>
  414. <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="../../javassist/bytecode/ConstPool.html#addFieldrefInfo-int-java.lang.String-java.lang.String-">addFieldrefInfo</a></span>&#8203;(int&nbsp;classInfo,
  415. java.lang.String&nbsp;name,
  416. java.lang.String&nbsp;type)</code></th>
  417. <td class="colLast">
  418. <div class="block">Adds a new <code>CONSTANT_Fieldref_info</code> structure.</div>
  419. </td>
  420. </tr>
  421. <tr id="i5" class="rowColor">
  422. <td class="colFirst"><code>int</code></td>
  423. <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="../../javassist/bytecode/ConstPool.html#addFloatInfo-float-">addFloatInfo</a></span>&#8203;(float&nbsp;f)</code></th>
  424. <td class="colLast">
  425. <div class="block">Adds a new <code>CONSTANT_Float_info</code>
  426. structure.</div>
  427. </td>
  428. </tr>
  429. <tr id="i6" class="altColor">
  430. <td class="colFirst"><code>int</code></td>
  431. <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="../../javassist/bytecode/ConstPool.html#addIntegerInfo-int-">addIntegerInfo</a></span>&#8203;(int&nbsp;i)</code></th>
  432. <td class="colLast">
  433. <div class="block">Adds a new <code>CONSTANT_Integer_info</code>
  434. structure.</div>
  435. </td>
  436. </tr>
  437. <tr id="i7" class="rowColor">
  438. <td class="colFirst"><code>int</code></td>
  439. <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="../../javassist/bytecode/ConstPool.html#addInterfaceMethodrefInfo-int-int-">addInterfaceMethodrefInfo</a></span>&#8203;(int&nbsp;classInfo,
  440. int&nbsp;nameAndTypeInfo)</code></th>
  441. <td class="colLast">
  442. <div class="block">Adds a new <code>CONSTANT_InterfaceMethodref_info</code>
  443. structure.</div>
  444. </td>
  445. </tr>
  446. <tr id="i8" class="altColor">
  447. <td class="colFirst"><code>int</code></td>
  448. <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="../../javassist/bytecode/ConstPool.html#addInterfaceMethodrefInfo-int-java.lang.String-java.lang.String-">addInterfaceMethodrefInfo</a></span>&#8203;(int&nbsp;classInfo,
  449. java.lang.String&nbsp;name,
  450. java.lang.String&nbsp;type)</code></th>
  451. <td class="colLast">
  452. <div class="block">Adds a new <code>CONSTANT_InterfaceMethodref_info</code>
  453. structure.</div>
  454. </td>
  455. </tr>
  456. <tr id="i9" class="rowColor">
  457. <td class="colFirst"><code>int</code></td>
  458. <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="../../javassist/bytecode/ConstPool.html#addInvokeDynamicInfo-int-int-">addInvokeDynamicInfo</a></span>&#8203;(int&nbsp;bootstrap,
  459. int&nbsp;nameAndType)</code></th>
  460. <td class="colLast">
  461. <div class="block">Adds a new <code>CONSTANT_InvokeDynamic_info</code>
  462. structure.</div>
  463. </td>
  464. </tr>
  465. <tr id="i10" class="altColor">
  466. <td class="colFirst"><code>int</code></td>
  467. <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="../../javassist/bytecode/ConstPool.html#addLongInfo-long-">addLongInfo</a></span>&#8203;(long&nbsp;l)</code></th>
  468. <td class="colLast">
  469. <div class="block">Adds a new <code>CONSTANT_Long_info</code>
  470. structure.</div>
  471. </td>
  472. </tr>
  473. <tr id="i11" class="rowColor">
  474. <td class="colFirst"><code>int</code></td>
  475. <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="../../javassist/bytecode/ConstPool.html#addMethodHandleInfo-int-int-">addMethodHandleInfo</a></span>&#8203;(int&nbsp;kind,
  476. int&nbsp;index)</code></th>
  477. <td class="colLast">
  478. <div class="block">Adds a new <code>CONSTANT_MethodHandle_info</code>
  479. structure.</div>
  480. </td>
  481. </tr>
  482. <tr id="i12" class="altColor">
  483. <td class="colFirst"><code>int</code></td>
  484. <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="../../javassist/bytecode/ConstPool.html#addMethodrefInfo-int-int-">addMethodrefInfo</a></span>&#8203;(int&nbsp;classInfo,
  485. int&nbsp;nameAndTypeInfo)</code></th>
  486. <td class="colLast">
  487. <div class="block">Adds a new <code>CONSTANT_Methodref_info</code> structure.</div>
  488. </td>
  489. </tr>
  490. <tr id="i13" class="rowColor">
  491. <td class="colFirst"><code>int</code></td>
  492. <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="../../javassist/bytecode/ConstPool.html#addMethodrefInfo-int-java.lang.String-java.lang.String-">addMethodrefInfo</a></span>&#8203;(int&nbsp;classInfo,
  493. java.lang.String&nbsp;name,
  494. java.lang.String&nbsp;type)</code></th>
  495. <td class="colLast">
  496. <div class="block">Adds a new <code>CONSTANT_Methodref_info</code> structure.</div>
  497. </td>
  498. </tr>
  499. <tr id="i14" class="altColor">
  500. <td class="colFirst"><code>int</code></td>
  501. <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="../../javassist/bytecode/ConstPool.html#addMethodTypeInfo-int-">addMethodTypeInfo</a></span>&#8203;(int&nbsp;desc)</code></th>
  502. <td class="colLast">
  503. <div class="block">Adds a new <code>CONSTANT_MethodType_info</code>
  504. structure.</div>
  505. </td>
  506. </tr>
  507. <tr id="i15" class="rowColor">
  508. <td class="colFirst"><code>int</code></td>
  509. <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="../../javassist/bytecode/ConstPool.html#addModuleInfo-int-">addModuleInfo</a></span>&#8203;(int&nbsp;nameIndex)</code></th>
  510. <td class="colLast">
  511. <div class="block">Adds a new <code>CONSTANT_Module_info</code></div>
  512. </td>
  513. </tr>
  514. <tr id="i16" class="altColor">
  515. <td class="colFirst"><code>int</code></td>
  516. <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="../../javassist/bytecode/ConstPool.html#addNameAndTypeInfo-int-int-">addNameAndTypeInfo</a></span>&#8203;(int&nbsp;name,
  517. int&nbsp;type)</code></th>
  518. <td class="colLast">
  519. <div class="block">Adds a new <code>CONSTANT_NameAndType_info</code> structure.</div>
  520. </td>
  521. </tr>
  522. <tr id="i17" class="rowColor">
  523. <td class="colFirst"><code>int</code></td>
  524. <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="../../javassist/bytecode/ConstPool.html#addNameAndTypeInfo-java.lang.String-java.lang.String-">addNameAndTypeInfo</a></span>&#8203;(java.lang.String&nbsp;name,
  525. java.lang.String&nbsp;type)</code></th>
  526. <td class="colLast">
  527. <div class="block">Adds a new <code>CONSTANT_NameAndType_info</code> structure.</div>
  528. </td>
  529. </tr>
  530. <tr id="i18" class="altColor">
  531. <td class="colFirst"><code>int</code></td>
  532. <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="../../javassist/bytecode/ConstPool.html#addPackageInfo-int-">addPackageInfo</a></span>&#8203;(int&nbsp;nameIndex)</code></th>
  533. <td class="colLast">
  534. <div class="block">Adds a new <code>CONSTANT_Package_info</code></div>
  535. </td>
  536. </tr>
  537. <tr id="i19" class="rowColor">
  538. <td class="colFirst"><code>int</code></td>
  539. <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="../../javassist/bytecode/ConstPool.html#addStringInfo-java.lang.String-">addStringInfo</a></span>&#8203;(java.lang.String&nbsp;str)</code></th>
  540. <td class="colLast">
  541. <div class="block">Adds a new <code>CONSTANT_String_info</code>
  542. structure.</div>
  543. </td>
  544. </tr>
  545. <tr id="i20" class="altColor">
  546. <td class="colFirst"><code>int</code></td>
  547. <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="../../javassist/bytecode/ConstPool.html#addUtf8Info-java.lang.String-">addUtf8Info</a></span>&#8203;(java.lang.String&nbsp;utf8)</code></th>
  548. <td class="colLast">
  549. <div class="block">Adds a new <code>CONSTANT_Utf8_info</code>
  550. structure.</div>
  551. </td>
  552. </tr>
  553. <tr id="i21" class="rowColor">
  554. <td class="colFirst"><code>int</code></td>
  555. <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="../../javassist/bytecode/ConstPool.html#copy-int-javassist.bytecode.ConstPool-java.util.Map-">copy</a></span>&#8203;(int&nbsp;n,
  556. <a href="../../javassist/bytecode/ConstPool.html" title="class in javassist.bytecode">ConstPool</a>&nbsp;dest,
  557. java.util.Map&lt;java.lang.String,java.lang.String&gt;&nbsp;classnames)</code></th>
  558. <td class="colLast">
  559. <div class="block">Copies the n-th item in this ConstPool object into the destination
  560. ConstPool object.</div>
  561. </td>
  562. </tr>
  563. <tr id="i22" class="altColor">
  564. <td class="colFirst"><code>java.lang.String</code></td>
  565. <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="../../javassist/bytecode/ConstPool.html#eqMember-java.lang.String-java.lang.String-int-">eqMember</a></span>&#8203;(java.lang.String&nbsp;membername,
  566. java.lang.String&nbsp;desc,
  567. int&nbsp;index)</code></th>
  568. <td class="colLast">
  569. <div class="block">Determines whether <code>CONSTANT_Methodref_info</code>,
  570. <code>CONSTANT_Fieldref_info</code>, or
  571. <code>CONSTANT_InterfaceMethodref_info</code> structure
  572. at the given index has the name and the descriptor
  573. given as the arguments.</div>
  574. </td>
  575. </tr>
  576. <tr id="i23" class="rowColor">
  577. <td class="colFirst"><code>java.lang.String</code></td>
  578. <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="../../javassist/bytecode/ConstPool.html#getClassInfo-int-">getClassInfo</a></span>&#8203;(int&nbsp;index)</code></th>
  579. <td class="colLast">
  580. <div class="block">Reads <code>CONSTANT_Class_info</code> structure
  581. at the given index.</div>
  582. </td>
  583. </tr>
  584. <tr id="i24" class="altColor">
  585. <td class="colFirst"><code>java.lang.String</code></td>
  586. <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="../../javassist/bytecode/ConstPool.html#getClassInfoByDescriptor-int-">getClassInfoByDescriptor</a></span>&#8203;(int&nbsp;index)</code></th>
  587. <td class="colLast">
  588. <div class="block">Reads <code>CONSTANT_Class_info</code> structure
  589. at the given index.</div>
  590. </td>
  591. </tr>
  592. <tr id="i25" class="rowColor">
  593. <td class="colFirst"><code>java.lang.String</code></td>
  594. <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="../../javassist/bytecode/ConstPool.html#getClassName--">getClassName</a></span>()</code></th>
  595. <td class="colLast">
  596. <div class="block">Returns the name of the class using this constant pool table.</div>
  597. </td>
  598. </tr>
  599. <tr id="i26" class="altColor">
  600. <td class="colFirst"><code>java.util.Set&lt;java.lang.String&gt;</code></td>
  601. <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="../../javassist/bytecode/ConstPool.html#getClassNames--">getClassNames</a></span>()</code></th>
  602. <td class="colLast">
  603. <div class="block">Get all the class names.</div>
  604. </td>
  605. </tr>
  606. <tr id="i27" class="rowColor">
  607. <td class="colFirst"><code>double</code></td>
  608. <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="../../javassist/bytecode/ConstPool.html#getDoubleInfo-int-">getDoubleInfo</a></span>&#8203;(int&nbsp;index)</code></th>
  609. <td class="colLast">
  610. <div class="block">Reads <code>CONSTANT_Double_info</code> structure
  611. at the given index.</div>
  612. </td>
  613. </tr>
  614. <tr id="i28" class="altColor">
  615. <td class="colFirst"><code>int</code></td>
  616. <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="../../javassist/bytecode/ConstPool.html#getFieldrefClass-int-">getFieldrefClass</a></span>&#8203;(int&nbsp;index)</code></th>
  617. <td class="colLast">
  618. <div class="block">Reads the <code>class_index</code> field of the
  619. <code>CONSTANT_Fieldref_info</code> structure
  620. at the given index.</div>
  621. </td>
  622. </tr>
  623. <tr id="i29" class="rowColor">
  624. <td class="colFirst"><code>java.lang.String</code></td>
  625. <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="../../javassist/bytecode/ConstPool.html#getFieldrefClassName-int-">getFieldrefClassName</a></span>&#8203;(int&nbsp;index)</code></th>
  626. <td class="colLast">
  627. <div class="block">Reads the <code>class_index</code> field of the
  628. <code>CONSTANT_Fieldref_info</code> structure
  629. at the given index.</div>
  630. </td>
  631. </tr>
  632. <tr id="i30" class="altColor">
  633. <td class="colFirst"><code>java.lang.String</code></td>
  634. <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="../../javassist/bytecode/ConstPool.html#getFieldrefName-int-">getFieldrefName</a></span>&#8203;(int&nbsp;index)</code></th>
  635. <td class="colLast">
  636. <div class="block">Reads the <code>name_index</code> field of the
  637. <code>CONSTANT_NameAndType_info</code> structure
  638. indirectly specified by the given index.</div>
  639. </td>
  640. </tr>
  641. <tr id="i31" class="rowColor">
  642. <td class="colFirst"><code>int</code></td>
  643. <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="../../javassist/bytecode/ConstPool.html#getFieldrefNameAndType-int-">getFieldrefNameAndType</a></span>&#8203;(int&nbsp;index)</code></th>
  644. <td class="colLast">
  645. <div class="block">Reads the <code>name_and_type_index</code> field of the
  646. <code>CONSTANT_Fieldref_info</code> structure
  647. at the given index.</div>
  648. </td>
  649. </tr>
  650. <tr id="i32" class="altColor">
  651. <td class="colFirst"><code>java.lang.String</code></td>
  652. <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="../../javassist/bytecode/ConstPool.html#getFieldrefType-int-">getFieldrefType</a></span>&#8203;(int&nbsp;index)</code></th>
  653. <td class="colLast">
  654. <div class="block">Reads the <code>descriptor_index</code> field of the
  655. <code>CONSTANT_NameAndType_info</code> structure
  656. indirectly specified by the given index.</div>
  657. </td>
  658. </tr>
  659. <tr id="i33" class="rowColor">
  660. <td class="colFirst"><code>float</code></td>
  661. <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="../../javassist/bytecode/ConstPool.html#getFloatInfo-int-">getFloatInfo</a></span>&#8203;(int&nbsp;index)</code></th>
  662. <td class="colLast">
  663. <div class="block">Reads <code>CONSTANT_Float_info</code> structure
  664. at the given index.</div>
  665. </td>
  666. </tr>
  667. <tr id="i34" class="altColor">
  668. <td class="colFirst"><code>int</code></td>
  669. <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="../../javassist/bytecode/ConstPool.html#getIntegerInfo-int-">getIntegerInfo</a></span>&#8203;(int&nbsp;index)</code></th>
  670. <td class="colLast">
  671. <div class="block">Reads <code>CONSTANT_Integer_info</code> structure
  672. at the given index.</div>
  673. </td>
  674. </tr>
  675. <tr id="i35" class="rowColor">
  676. <td class="colFirst"><code>int</code></td>
  677. <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="../../javassist/bytecode/ConstPool.html#getInterfaceMethodrefClass-int-">getInterfaceMethodrefClass</a></span>&#8203;(int&nbsp;index)</code></th>
  678. <td class="colLast">
  679. <div class="block">Reads the <code>class_index</code> field of the
  680. <code>CONSTANT_InterfaceMethodref_info</code> structure
  681. at the given index.</div>
  682. </td>
  683. </tr>
  684. <tr id="i36" class="altColor">
  685. <td class="colFirst"><code>java.lang.String</code></td>
  686. <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="../../javassist/bytecode/ConstPool.html#getInterfaceMethodrefClassName-int-">getInterfaceMethodrefClassName</a></span>&#8203;(int&nbsp;index)</code></th>
  687. <td class="colLast">
  688. <div class="block">Reads the <code>class_index</code> field of the
  689. <code>CONSTANT_InterfaceMethodref_info</code> structure
  690. at the given index.</div>
  691. </td>
  692. </tr>
  693. <tr id="i37" class="rowColor">
  694. <td class="colFirst"><code>java.lang.String</code></td>
  695. <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="../../javassist/bytecode/ConstPool.html#getInterfaceMethodrefName-int-">getInterfaceMethodrefName</a></span>&#8203;(int&nbsp;index)</code></th>
  696. <td class="colLast">
  697. <div class="block">Reads the <code>name_index</code> field of the
  698. <code>CONSTANT_NameAndType_info</code> structure
  699. indirectly specified by the given index.</div>
  700. </td>
  701. </tr>
  702. <tr id="i38" class="altColor">
  703. <td class="colFirst"><code>int</code></td>
  704. <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="../../javassist/bytecode/ConstPool.html#getInterfaceMethodrefNameAndType-int-">getInterfaceMethodrefNameAndType</a></span>&#8203;(int&nbsp;index)</code></th>
  705. <td class="colLast">
  706. <div class="block">Reads the <code>name_and_type_index</code> field of the
  707. <code>CONSTANT_InterfaceMethodref_info</code> structure
  708. at the given index.</div>
  709. </td>
  710. </tr>
  711. <tr id="i39" class="rowColor">
  712. <td class="colFirst"><code>java.lang.String</code></td>
  713. <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="../../javassist/bytecode/ConstPool.html#getInterfaceMethodrefType-int-">getInterfaceMethodrefType</a></span>&#8203;(int&nbsp;index)</code></th>
  714. <td class="colLast">
  715. <div class="block">Reads the <code>descriptor_index</code> field of the
  716. <code>CONSTANT_NameAndType_info</code> structure
  717. indirectly specified by the given index.</div>
  718. </td>
  719. </tr>
  720. <tr id="i40" class="altColor">
  721. <td class="colFirst"><code>int</code></td>
  722. <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="../../javassist/bytecode/ConstPool.html#getInvokeDynamicBootstrap-int-">getInvokeDynamicBootstrap</a></span>&#8203;(int&nbsp;index)</code></th>
  723. <td class="colLast">
  724. <div class="block">Reads the <code>bootstrap_method_attr_index</code> field of the
  725. <code>CONSTANT_InvokeDynamic_info</code> structure
  726. at the given index.</div>
  727. </td>
  728. </tr>
  729. <tr id="i41" class="rowColor">
  730. <td class="colFirst"><code>int</code></td>
  731. <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="../../javassist/bytecode/ConstPool.html#getInvokeDynamicNameAndType-int-">getInvokeDynamicNameAndType</a></span>&#8203;(int&nbsp;index)</code></th>
  732. <td class="colLast">
  733. <div class="block">Reads the <code>name_and_type_index</code> field of the
  734. <code>CONSTANT_InvokeDynamic_info</code> structure
  735. at the given index.</div>
  736. </td>
  737. </tr>
  738. <tr id="i42" class="altColor">
  739. <td class="colFirst"><code>java.lang.String</code></td>
  740. <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="../../javassist/bytecode/ConstPool.html#getInvokeDynamicType-int-">getInvokeDynamicType</a></span>&#8203;(int&nbsp;index)</code></th>
  741. <td class="colLast">
  742. <div class="block">Reads the <code>descriptor_index</code> field of the
  743. <code>CONSTANT_NameAndType_info</code> structure
  744. indirectly specified by the given index.</div>
  745. </td>
  746. </tr>
  747. <tr id="i43" class="rowColor">
  748. <td class="colFirst"><code>java.lang.Object</code></td>
  749. <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="../../javassist/bytecode/ConstPool.html#getLdcValue-int-">getLdcValue</a></span>&#8203;(int&nbsp;index)</code></th>
  750. <td class="colLast">
  751. <div class="block">Reads <code>CONSTANT_Integer_info</code>, <code>_Float_info</code>,
  752. <code>_Long_info</code>, <code>_Double_info</code>, or
  753. <code>_String_info</code> structure.</div>
  754. </td>
  755. </tr>
  756. <tr id="i44" class="altColor">
  757. <td class="colFirst"><code>long</code></td>
  758. <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="../../javassist/bytecode/ConstPool.html#getLongInfo-int-">getLongInfo</a></span>&#8203;(int&nbsp;index)</code></th>
  759. <td class="colLast">
  760. <div class="block">Reads <code>CONSTANT_Long_info</code> structure
  761. at the given index.</div>
  762. </td>
  763. </tr>
  764. <tr id="i45" class="rowColor">
  765. <td class="colFirst"><code>int</code></td>
  766. <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="../../javassist/bytecode/ConstPool.html#getMemberClass-int-">getMemberClass</a></span>&#8203;(int&nbsp;index)</code></th>
  767. <td class="colLast">
  768. <div class="block">Reads the <code>class_index</code> field of the
  769. <code>CONSTANT_Fieldref_info</code>,
  770. <code>CONSTANT_Methodref_info</code>,
  771. or <code>CONSTANT_Interfaceref_info</code>,
  772. structure at the given index.</div>
  773. </td>
  774. </tr>
  775. <tr id="i46" class="altColor">
  776. <td class="colFirst"><code>int</code></td>
  777. <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="../../javassist/bytecode/ConstPool.html#getMemberNameAndType-int-">getMemberNameAndType</a></span>&#8203;(int&nbsp;index)</code></th>
  778. <td class="colLast">
  779. <div class="block">Reads the <code>name_and_type_index</code> field of the
  780. <code>CONSTANT_Fieldref_info</code>,
  781. <code>CONSTANT_Methodref_info</code>,
  782. or <code>CONSTANT_Interfaceref_info</code>,
  783. structure at the given index.</div>
  784. </td>
  785. </tr>
  786. <tr id="i47" class="rowColor">
  787. <td class="colFirst"><code>int</code></td>
  788. <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="../../javassist/bytecode/ConstPool.html#getMethodHandleIndex-int-">getMethodHandleIndex</a></span>&#8203;(int&nbsp;index)</code></th>
  789. <td class="colLast">
  790. <div class="block">Reads the <code>reference_index</code> field of the
  791. <code>CONSTANT_MethodHandle_info</code> structure
  792. at the given index.</div>
  793. </td>
  794. </tr>
  795. <tr id="i48" class="altColor">
  796. <td class="colFirst"><code>int</code></td>
  797. <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="../../javassist/bytecode/ConstPool.html#getMethodHandleKind-int-">getMethodHandleKind</a></span>&#8203;(int&nbsp;index)</code></th>
  798. <td class="colLast">
  799. <div class="block">Reads the <code>reference_kind</code> field of the
  800. <code>CONSTANT_MethodHandle_info</code> structure
  801. at the given index.</div>
  802. </td>
  803. </tr>
  804. <tr id="i49" class="rowColor">
  805. <td class="colFirst"><code>int</code></td>
  806. <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="../../javassist/bytecode/ConstPool.html#getMethodrefClass-int-">getMethodrefClass</a></span>&#8203;(int&nbsp;index)</code></th>
  807. <td class="colLast">
  808. <div class="block">Reads the <code>class_index</code> field of the
  809. <code>CONSTANT_Methodref_info</code> structure
  810. at the given index.</div>
  811. </td>
  812. </tr>
  813. <tr id="i50" class="altColor">
  814. <td class="colFirst"><code>java.lang.String</code></td>
  815. <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="../../javassist/bytecode/ConstPool.html#getMethodrefClassName-int-">getMethodrefClassName</a></span>&#8203;(int&nbsp;index)</code></th>
  816. <td class="colLast">
  817. <div class="block">Reads the <code>class_index</code> field of the
  818. <code>CONSTANT_Methodref_info</code> structure
  819. at the given index.</div>
  820. </td>
  821. </tr>
  822. <tr id="i51" class="rowColor">
  823. <td class="colFirst"><code>java.lang.String</code></td>
  824. <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="../../javassist/bytecode/ConstPool.html#getMethodrefName-int-">getMethodrefName</a></span>&#8203;(int&nbsp;index)</code></th>
  825. <td class="colLast">
  826. <div class="block">Reads the <code>name_index</code> field of the
  827. <code>CONSTANT_NameAndType_info</code> structure
  828. indirectly specified by the given index.</div>
  829. </td>
  830. </tr>
  831. <tr id="i52" class="altColor">
  832. <td class="colFirst"><code>int</code></td>
  833. <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="../../javassist/bytecode/ConstPool.html#getMethodrefNameAndType-int-">getMethodrefNameAndType</a></span>&#8203;(int&nbsp;index)</code></th>
  834. <td class="colLast">
  835. <div class="block">Reads the <code>name_and_type_index</code> field of the
  836. <code>CONSTANT_Methodref_info</code> structure
  837. at the given index.</div>
  838. </td>
  839. </tr>
  840. <tr id="i53" class="rowColor">
  841. <td class="colFirst"><code>java.lang.String</code></td>
  842. <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="../../javassist/bytecode/ConstPool.html#getMethodrefType-int-">getMethodrefType</a></span>&#8203;(int&nbsp;index)</code></th>
  843. <td class="colLast">
  844. <div class="block">Reads the <code>descriptor_index</code> field of the
  845. <code>CONSTANT_NameAndType_info</code> structure
  846. indirectly specified by the given index.</div>
  847. </td>
  848. </tr>
  849. <tr id="i54" class="altColor">
  850. <td class="colFirst"><code>int</code></td>
  851. <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="../../javassist/bytecode/ConstPool.html#getMethodTypeInfo-int-">getMethodTypeInfo</a></span>&#8203;(int&nbsp;index)</code></th>
  852. <td class="colLast">
  853. <div class="block">Reads the <code>descriptor_index</code> field of the
  854. <code>CONSTANT_MethodType_info</code> structure
  855. at the given index.</div>
  856. </td>
  857. </tr>
  858. <tr id="i55" class="rowColor">
  859. <td class="colFirst"><code>java.lang.String</code></td>
  860. <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="../../javassist/bytecode/ConstPool.html#getModuleInfo-int-">getModuleInfo</a></span>&#8203;(int&nbsp;index)</code></th>
  861. <td class="colLast">
  862. <div class="block">Reads the <code>name_index</code> field of the
  863. <code>CONSTANT_Module_info</code> structure at the given index.</div>
  864. </td>
  865. </tr>
  866. <tr id="i56" class="altColor">
  867. <td class="colFirst"><code>int</code></td>
  868. <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="../../javassist/bytecode/ConstPool.html#getNameAndTypeDescriptor-int-">getNameAndTypeDescriptor</a></span>&#8203;(int&nbsp;index)</code></th>
  869. <td class="colLast">
  870. <div class="block">Reads the <code>descriptor_index</code> field of the
  871. <code>CONSTANT_NameAndType_info</code> structure
  872. at the given index.</div>
  873. </td>
  874. </tr>
  875. <tr id="i57" class="rowColor">
  876. <td class="colFirst"><code>int</code></td>
  877. <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="../../javassist/bytecode/ConstPool.html#getNameAndTypeName-int-">getNameAndTypeName</a></span>&#8203;(int&nbsp;index)</code></th>
  878. <td class="colLast">
  879. <div class="block">Reads the <code>name_index</code> field of the
  880. <code>CONSTANT_NameAndType_info</code> structure
  881. at the given index.</div>
  882. </td>
  883. </tr>
  884. <tr id="i58" class="altColor">
  885. <td class="colFirst"><code>java.lang.String</code></td>
  886. <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="../../javassist/bytecode/ConstPool.html#getPackageInfo-int-">getPackageInfo</a></span>&#8203;(int&nbsp;index)</code></th>
  887. <td class="colLast">
  888. <div class="block">Reads the <code>name_index</code> field of the
  889. <code>CONSTANT_Package_info</code> structure at the given index.</div>
  890. </td>
  891. </tr>
  892. <tr id="i59" class="rowColor">
  893. <td class="colFirst"><code>int</code></td>
  894. <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="../../javassist/bytecode/ConstPool.html#getSize--">getSize</a></span>()</code></th>
  895. <td class="colLast">
  896. <div class="block">Returns the number of entries in this table.</div>
  897. </td>
  898. </tr>
  899. <tr id="i60" class="altColor">
  900. <td class="colFirst"><code>java.lang.String</code></td>
  901. <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="../../javassist/bytecode/ConstPool.html#getStringInfo-int-">getStringInfo</a></span>&#8203;(int&nbsp;index)</code></th>
  902. <td class="colLast">
  903. <div class="block">Reads <code>CONSTANT_String_info</code> structure
  904. at the given index.</div>
  905. </td>
  906. </tr>
  907. <tr id="i61" class="rowColor">
  908. <td class="colFirst"><code>int</code></td>
  909. <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="../../javassist/bytecode/ConstPool.html#getTag-int-">getTag</a></span>&#8203;(int&nbsp;index)</code></th>
  910. <td class="colLast">
  911. <div class="block">Returns the <code>tag</code> field of the constant pool table
  912. entry at the given index.</div>
  913. </td>
  914. </tr>
  915. <tr id="i62" class="altColor">
  916. <td class="colFirst"><code>int</code></td>
  917. <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="../../javassist/bytecode/ConstPool.html#getThisClassInfo--">getThisClassInfo</a></span>()</code></th>
  918. <td class="colLast">
  919. <div class="block">Returns the index of <code>CONSTANT_Class_info</code> structure
  920. specifying the class using this constant pool table.</div>
  921. </td>
  922. </tr>
  923. <tr id="i63" class="rowColor">
  924. <td class="colFirst"><code>java.lang.String</code></td>
  925. <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="../../javassist/bytecode/ConstPool.html#getUtf8Info-int-">getUtf8Info</a></span>&#8203;(int&nbsp;index)</code></th>
  926. <td class="colLast">
  927. <div class="block">Reads <code>CONSTANT_utf8_info</code> structure
  928. at the given index.</div>
  929. </td>
  930. </tr>
  931. <tr id="i64" class="altColor">
  932. <td class="colFirst"><code>int</code></td>
  933. <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="../../javassist/bytecode/ConstPool.html#isConstructor-java.lang.String-int-">isConstructor</a></span>&#8203;(java.lang.String&nbsp;classname,
  934. int&nbsp;index)</code></th>
  935. <td class="colLast">
  936. <div class="block">Determines whether <code>CONSTANT_Methodref_info</code>
  937. structure at the given index represents the constructor
  938. of the given class.</div>
  939. </td>
  940. </tr>
  941. <tr id="i65" class="rowColor">
  942. <td class="colFirst"><code>int</code></td>
  943. <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="../../javassist/bytecode/ConstPool.html#isMember-java.lang.String-java.lang.String-int-">isMember</a></span>&#8203;(java.lang.String&nbsp;classname,
  944. java.lang.String&nbsp;membername,
  945. int&nbsp;index)</code></th>
  946. <td class="colLast">
  947. <div class="block">Determines whether <code>CONSTANT_Methodref_info</code>,
  948. <code>CONSTANT_Fieldref_info</code>, or
  949. <code>CONSTANT_InterfaceMethodref_info</code> structure
  950. at the given index represents the member with the specified
  951. name and declaring class.</div>
  952. </td>
  953. </tr>
  954. <tr id="i66" class="altColor">
  955. <td class="colFirst"><code>void</code></td>
  956. <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="../../javassist/bytecode/ConstPool.html#print--">print</a></span>()</code></th>
  957. <td class="colLast">
  958. <div class="block">Prints the contents of the constant pool table.</div>
  959. </td>
  960. </tr>
  961. <tr id="i67" class="rowColor">
  962. <td class="colFirst"><code>void</code></td>
  963. <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="../../javassist/bytecode/ConstPool.html#print-java.io.PrintWriter-">print</a></span>&#8203;(java.io.PrintWriter&nbsp;out)</code></th>
  964. <td class="colLast">
  965. <div class="block">Prints the contents of the constant pool table.</div>
  966. </td>
  967. </tr>
  968. <tr id="i68" class="altColor">
  969. <td class="colFirst"><code>void</code></td>
  970. <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="../../javassist/bytecode/ConstPool.html#renameClass-java.lang.String-java.lang.String-">renameClass</a></span>&#8203;(java.lang.String&nbsp;oldName,
  971. java.lang.String&nbsp;newName)</code></th>
  972. <td class="colLast">
  973. <div class="block">Replaces all occurrences of a class name.</div>
  974. </td>
  975. </tr>
  976. <tr id="i69" class="rowColor">
  977. <td class="colFirst"><code>void</code></td>
  978. <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="../../javassist/bytecode/ConstPool.html#renameClass-java.util.Map-">renameClass</a></span>&#8203;(java.util.Map&lt;java.lang.String,java.lang.String&gt;&nbsp;classnames)</code></th>
  979. <td class="colLast">
  980. <div class="block">Replaces all occurrences of class names.</div>
  981. </td>
  982. </tr>
  983. <tr id="i70" class="altColor">
  984. <td class="colFirst"><code>void</code></td>
  985. <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="../../javassist/bytecode/ConstPool.html#write-java.io.DataOutputStream-">write</a></span>&#8203;(java.io.DataOutputStream&nbsp;out)</code></th>
  986. <td class="colLast">
  987. <div class="block">Writes the contents of the constant pool table.</div>
  988. </td>
  989. </tr>
  990. </table>
  991. <ul class="blockList">
  992. <li class="blockList"><a name="methods.inherited.from.class.java.lang.Object">
  993. <!-- -->
  994. </a>
  995. <h3>Methods inherited from class&nbsp;java.lang.Object</h3>
  996. <code>equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait</code></li>
  997. </ul>
  998. </li>
  999. </ul>
  1000. </li>
  1001. </ul>
  1002. </div>
  1003. <div class="details">
  1004. <ul class="blockList">
  1005. <li class="blockList">
  1006. <!-- ============ FIELD DETAIL =========== -->
  1007. <ul class="blockList">
  1008. <li class="blockList"><a name="field.detail">
  1009. <!-- -->
  1010. </a>
  1011. <h3>Field Detail</h3>
  1012. <a name="CONST_Class">
  1013. <!-- -->
  1014. </a>
  1015. <ul class="blockList">
  1016. <li class="blockList">
  1017. <h4>CONST_Class</h4>
  1018. <pre>public static final&nbsp;int CONST_Class</pre>
  1019. <div class="block"><code>CONSTANT_Class</code></div>
  1020. <dl>
  1021. <dt><span class="seeLabel">See Also:</span></dt>
  1022. <dd><a href="../../constant-values.html#javassist.bytecode.ConstPool.CONST_Class">Constant Field Values</a></dd>
  1023. </dl>
  1024. </li>
  1025. </ul>
  1026. <a name="CONST_Fieldref">
  1027. <!-- -->
  1028. </a>
  1029. <ul class="blockList">
  1030. <li class="blockList">
  1031. <h4>CONST_Fieldref</h4>
  1032. <pre>public static final&nbsp;int CONST_Fieldref</pre>
  1033. <div class="block"><code>CONSTANT_Fieldref</code></div>
  1034. <dl>
  1035. <dt><span class="seeLabel">See Also:</span></dt>
  1036. <dd><a href="../../constant-values.html#javassist.bytecode.ConstPool.CONST_Fieldref">Constant Field Values</a></dd>
  1037. </dl>
  1038. </li>
  1039. </ul>
  1040. <a name="CONST_Methodref">
  1041. <!-- -->
  1042. </a>
  1043. <ul class="blockList">
  1044. <li class="blockList">
  1045. <h4>CONST_Methodref</h4>
  1046. <pre>public static final&nbsp;int CONST_Methodref</pre>
  1047. <div class="block"><code>CONSTANT_Methodref</code></div>
  1048. <dl>
  1049. <dt><span class="seeLabel">See Also:</span></dt>
  1050. <dd><a href="../../constant-values.html#javassist.bytecode.ConstPool.CONST_Methodref">Constant Field Values</a></dd>
  1051. </dl>
  1052. </li>
  1053. </ul>
  1054. <a name="CONST_InterfaceMethodref">
  1055. <!-- -->
  1056. </a>
  1057. <ul class="blockList">
  1058. <li class="blockList">
  1059. <h4>CONST_InterfaceMethodref</h4>
  1060. <pre>public static final&nbsp;int CONST_InterfaceMethodref</pre>
  1061. <div class="block"><code>CONSTANT_InterfaceMethodref</code></div>
  1062. <dl>
  1063. <dt><span class="seeLabel">See Also:</span></dt>
  1064. <dd><a href="../../constant-values.html#javassist.bytecode.ConstPool.CONST_InterfaceMethodref">Constant Field Values</a></dd>
  1065. </dl>
  1066. </li>
  1067. </ul>
  1068. <a name="CONST_String">
  1069. <!-- -->
  1070. </a>
  1071. <ul class="blockList">
  1072. <li class="blockList">
  1073. <h4>CONST_String</h4>
  1074. <pre>public static final&nbsp;int CONST_String</pre>
  1075. <div class="block"><code>CONSTANT_String</code></div>
  1076. <dl>
  1077. <dt><span class="seeLabel">See Also:</span></dt>
  1078. <dd><a href="../../constant-values.html#javassist.bytecode.ConstPool.CONST_String">Constant Field Values</a></dd>
  1079. </dl>
  1080. </li>
  1081. </ul>
  1082. <a name="CONST_Integer">
  1083. <!-- -->
  1084. </a>
  1085. <ul class="blockList">
  1086. <li class="blockList">
  1087. <h4>CONST_Integer</h4>
  1088. <pre>public static final&nbsp;int CONST_Integer</pre>
  1089. <div class="block"><code>CONSTANT_Integer</code></div>
  1090. <dl>
  1091. <dt><span class="seeLabel">See Also:</span></dt>
  1092. <dd><a href="../../constant-values.html#javassist.bytecode.ConstPool.CONST_Integer">Constant Field Values</a></dd>
  1093. </dl>
  1094. </li>
  1095. </ul>
  1096. <a name="CONST_Float">
  1097. <!-- -->
  1098. </a>
  1099. <ul class="blockList">
  1100. <li class="blockList">
  1101. <h4>CONST_Float</h4>
  1102. <pre>public static final&nbsp;int CONST_Float</pre>
  1103. <div class="block"><code>CONSTANT_Float</code></div>
  1104. <dl>
  1105. <dt><span class="seeLabel">See Also:</span></dt>
  1106. <dd><a href="../../constant-values.html#javassist.bytecode.ConstPool.CONST_Float">Constant Field Values</a></dd>
  1107. </dl>
  1108. </li>
  1109. </ul>
  1110. <a name="CONST_Long">
  1111. <!-- -->
  1112. </a>
  1113. <ul class="blockList">
  1114. <li class="blockList">
  1115. <h4>CONST_Long</h4>
  1116. <pre>public static final&nbsp;int CONST_Long</pre>
  1117. <div class="block"><code>CONSTANT_Long</code></div>
  1118. <dl>
  1119. <dt><span class="seeLabel">See Also:</span></dt>
  1120. <dd><a href="../../constant-values.html#javassist.bytecode.ConstPool.CONST_Long">Constant Field Values</a></dd>
  1121. </dl>
  1122. </li>
  1123. </ul>
  1124. <a name="CONST_Double">
  1125. <!-- -->
  1126. </a>
  1127. <ul class="blockList">
  1128. <li class="blockList">
  1129. <h4>CONST_Double</h4>
  1130. <pre>public static final&nbsp;int CONST_Double</pre>
  1131. <div class="block"><code>CONSTANT_Double</code></div>
  1132. <dl>
  1133. <dt><span class="seeLabel">See Also:</span></dt>
  1134. <dd><a href="../../constant-values.html#javassist.bytecode.ConstPool.CONST_Double">Constant Field Values</a></dd>
  1135. </dl>
  1136. </li>
  1137. </ul>
  1138. <a name="CONST_NameAndType">
  1139. <!-- -->
  1140. </a>
  1141. <ul class="blockList">
  1142. <li class="blockList">
  1143. <h4>CONST_NameAndType</h4>
  1144. <pre>public static final&nbsp;int CONST_NameAndType</pre>
  1145. <div class="block"><code>CONSTANT_NameAndType</code></div>
  1146. <dl>
  1147. <dt><span class="seeLabel">See Also:</span></dt>
  1148. <dd><a href="../../constant-values.html#javassist.bytecode.ConstPool.CONST_NameAndType">Constant Field Values</a></dd>
  1149. </dl>
  1150. </li>
  1151. </ul>
  1152. <a name="CONST_Utf8">
  1153. <!-- -->
  1154. </a>
  1155. <ul class="blockList">
  1156. <li class="blockList">
  1157. <h4>CONST_Utf8</h4>
  1158. <pre>public static final&nbsp;int CONST_Utf8</pre>
  1159. <div class="block"><code>CONSTANT_Utf8</code></div>
  1160. <dl>
  1161. <dt><span class="seeLabel">See Also:</span></dt>
  1162. <dd><a href="../../constant-values.html#javassist.bytecode.ConstPool.CONST_Utf8">Constant Field Values</a></dd>
  1163. </dl>
  1164. </li>
  1165. </ul>
  1166. <a name="CONST_MethodHandle">
  1167. <!-- -->
  1168. </a>
  1169. <ul class="blockList">
  1170. <li class="blockList">
  1171. <h4>CONST_MethodHandle</h4>
  1172. <pre>public static final&nbsp;int CONST_MethodHandle</pre>
  1173. <div class="block"><code>CONSTANT_MethodHandle</code></div>
  1174. <dl>
  1175. <dt><span class="seeLabel">See Also:</span></dt>
  1176. <dd><a href="../../constant-values.html#javassist.bytecode.ConstPool.CONST_MethodHandle">Constant Field Values</a></dd>
  1177. </dl>
  1178. </li>
  1179. </ul>
  1180. <a name="CONST_MethodType">
  1181. <!-- -->
  1182. </a>
  1183. <ul class="blockList">
  1184. <li class="blockList">
  1185. <h4>CONST_MethodType</h4>
  1186. <pre>public static final&nbsp;int CONST_MethodType</pre>
  1187. <div class="block"><code>CONSTANT_MethodHandle</code></div>
  1188. <dl>
  1189. <dt><span class="seeLabel">See Also:</span></dt>
  1190. <dd><a href="../../constant-values.html#javassist.bytecode.ConstPool.CONST_MethodType">Constant Field Values</a></dd>
  1191. </dl>
  1192. </li>
  1193. </ul>
  1194. <a name="CONST_InvokeDynamic">
  1195. <!-- -->
  1196. </a>
  1197. <ul class="blockList">
  1198. <li class="blockList">
  1199. <h4>CONST_InvokeDynamic</h4>
  1200. <pre>public static final&nbsp;int CONST_InvokeDynamic</pre>
  1201. <div class="block"><code>CONSTANT_MethodHandle</code></div>
  1202. <dl>
  1203. <dt><span class="seeLabel">See Also:</span></dt>
  1204. <dd><a href="../../constant-values.html#javassist.bytecode.ConstPool.CONST_InvokeDynamic">Constant Field Values</a></dd>
  1205. </dl>
  1206. </li>
  1207. </ul>
  1208. <a name="CONST_Module">
  1209. <!-- -->
  1210. </a>
  1211. <ul class="blockList">
  1212. <li class="blockList">
  1213. <h4>CONST_Module</h4>
  1214. <pre>public static final&nbsp;int CONST_Module</pre>
  1215. <div class="block"><code>CONSTANT_Module</code></div>
  1216. <dl>
  1217. <dt><span class="seeLabel">See Also:</span></dt>
  1218. <dd><a href="../../constant-values.html#javassist.bytecode.ConstPool.CONST_Module">Constant Field Values</a></dd>
  1219. </dl>
  1220. </li>
  1221. </ul>
  1222. <a name="CONST_Package">
  1223. <!-- -->
  1224. </a>
  1225. <ul class="blockList">
  1226. <li class="blockList">
  1227. <h4>CONST_Package</h4>
  1228. <pre>public static final&nbsp;int CONST_Package</pre>
  1229. <div class="block"><code>CONSTANT_Package</code></div>
  1230. <dl>
  1231. <dt><span class="seeLabel">See Also:</span></dt>
  1232. <dd><a href="../../constant-values.html#javassist.bytecode.ConstPool.CONST_Package">Constant Field Values</a></dd>
  1233. </dl>
  1234. </li>
  1235. </ul>
  1236. <a name="THIS">
  1237. <!-- -->
  1238. </a>
  1239. <ul class="blockList">
  1240. <li class="blockList">
  1241. <h4>THIS</h4>
  1242. <pre>public static final&nbsp;<a href="../../javassist/CtClass.html" title="class in javassist">CtClass</a> THIS</pre>
  1243. <div class="block">Represents the class using this constant pool table.</div>
  1244. </li>
  1245. </ul>
  1246. <a name="REF_getField">
  1247. <!-- -->
  1248. </a>
  1249. <ul class="blockList">
  1250. <li class="blockList">
  1251. <h4>REF_getField</h4>
  1252. <pre>public static final&nbsp;int REF_getField</pre>
  1253. <div class="block"><code>reference_kind</code> of <code>CONSTANT_MethodHandle_info</code>.</div>
  1254. <dl>
  1255. <dt><span class="seeLabel">See Also:</span></dt>
  1256. <dd><a href="../../constant-values.html#javassist.bytecode.ConstPool.REF_getField">Constant Field Values</a></dd>
  1257. </dl>
  1258. </li>
  1259. </ul>
  1260. <a name="REF_getStatic">
  1261. <!-- -->
  1262. </a>
  1263. <ul class="blockList">
  1264. <li class="blockList">
  1265. <h4>REF_getStatic</h4>
  1266. <pre>public static final&nbsp;int REF_getStatic</pre>
  1267. <div class="block"><code>reference_kind</code> of <code>CONSTANT_MethodHandle_info</code>.</div>
  1268. <dl>
  1269. <dt><span class="seeLabel">See Also:</span></dt>
  1270. <dd><a href="../../constant-values.html#javassist.bytecode.ConstPool.REF_getStatic">Constant Field Values</a></dd>
  1271. </dl>
  1272. </li>
  1273. </ul>
  1274. <a name="REF_putField">
  1275. <!-- -->
  1276. </a>
  1277. <ul class="blockList">
  1278. <li class="blockList">
  1279. <h4>REF_putField</h4>
  1280. <pre>public static final&nbsp;int REF_putField</pre>
  1281. <div class="block"><code>reference_kind</code> of <code>CONSTANT_MethodHandle_info</code>.</div>
  1282. <dl>
  1283. <dt><span class="seeLabel">See Also:</span></dt>
  1284. <dd><a href="../../constant-values.html#javassist.bytecode.ConstPool.REF_putField">Constant Field Values</a></dd>
  1285. </dl>
  1286. </li>
  1287. </ul>
  1288. <a name="REF_putStatic">
  1289. <!-- -->
  1290. </a>
  1291. <ul class="blockList">
  1292. <li class="blockList">
  1293. <h4>REF_putStatic</h4>
  1294. <pre>public static final&nbsp;int REF_putStatic</pre>
  1295. <div class="block"><code>reference_kind</code> of <code>CONSTANT_MethodHandle_info</code>.</div>
  1296. <dl>
  1297. <dt><span class="seeLabel">See Also:</span></dt>
  1298. <dd><a href="../../constant-values.html#javassist.bytecode.ConstPool.REF_putStatic">Constant Field Values</a></dd>
  1299. </dl>
  1300. </li>
  1301. </ul>
  1302. <a name="REF_invokeVirtual">
  1303. <!-- -->
  1304. </a>
  1305. <ul class="blockList">
  1306. <li class="blockList">
  1307. <h4>REF_invokeVirtual</h4>
  1308. <pre>public static final&nbsp;int REF_invokeVirtual</pre>
  1309. <div class="block"><code>reference_kind</code> of <code>CONSTANT_MethodHandle_info</code>.</div>
  1310. <dl>
  1311. <dt><span class="seeLabel">See Also:</span></dt>
  1312. <dd><a href="../../constant-values.html#javassist.bytecode.ConstPool.REF_invokeVirtual">Constant Field Values</a></dd>
  1313. </dl>
  1314. </li>
  1315. </ul>
  1316. <a name="REF_invokeStatic">
  1317. <!-- -->
  1318. </a>
  1319. <ul class="blockList">
  1320. <li class="blockList">
  1321. <h4>REF_invokeStatic</h4>
  1322. <pre>public static final&nbsp;int REF_invokeStatic</pre>
  1323. <div class="block"><code>reference_kind</code> of <code>CONSTANT_MethodHandle_info</code>.</div>
  1324. <dl>
  1325. <dt><span class="seeLabel">See Also:</span></dt>
  1326. <dd><a href="../../constant-values.html#javassist.bytecode.ConstPool.REF_invokeStatic">Constant Field Values</a></dd>
  1327. </dl>
  1328. </li>
  1329. </ul>
  1330. <a name="REF_invokeSpecial">
  1331. <!-- -->
  1332. </a>
  1333. <ul class="blockList">
  1334. <li class="blockList">
  1335. <h4>REF_invokeSpecial</h4>
  1336. <pre>public static final&nbsp;int REF_invokeSpecial</pre>
  1337. <div class="block"><code>reference_kind</code> of <code>CONSTANT_MethodHandle_info</code>.</div>
  1338. <dl>
  1339. <dt><span class="seeLabel">See Also:</span></dt>
  1340. <dd><a href="../../constant-values.html#javassist.bytecode.ConstPool.REF_invokeSpecial">Constant Field Values</a></dd>
  1341. </dl>
  1342. </li>
  1343. </ul>
  1344. <a name="REF_newInvokeSpecial">
  1345. <!-- -->
  1346. </a>
  1347. <ul class="blockList">
  1348. <li class="blockList">
  1349. <h4>REF_newInvokeSpecial</h4>
  1350. <pre>public static final&nbsp;int REF_newInvokeSpecial</pre>
  1351. <div class="block"><code>reference_kind</code> of <code>CONSTANT_MethodHandle_info</code>.</div>
  1352. <dl>
  1353. <dt><span class="seeLabel">See Also:</span></dt>
  1354. <dd><a href="../../constant-values.html#javassist.bytecode.ConstPool.REF_newInvokeSpecial">Constant Field Values</a></dd>
  1355. </dl>
  1356. </li>
  1357. </ul>
  1358. <a name="REF_invokeInterface">
  1359. <!-- -->
  1360. </a>
  1361. <ul class="blockListLast">
  1362. <li class="blockList">
  1363. <h4>REF_invokeInterface</h4>
  1364. <pre>public static final&nbsp;int REF_invokeInterface</pre>
  1365. <div class="block"><code>reference_kind</code> of <code>CONSTANT_MethodHandle_info</code>.</div>
  1366. <dl>
  1367. <dt><span class="seeLabel">See Also:</span></dt>
  1368. <dd><a href="../../constant-values.html#javassist.bytecode.ConstPool.REF_invokeInterface">Constant Field Values</a></dd>
  1369. </dl>
  1370. </li>
  1371. </ul>
  1372. </li>
  1373. </ul>
  1374. <!-- ========= CONSTRUCTOR DETAIL ======== -->
  1375. <ul class="blockList">
  1376. <li class="blockList"><a name="constructor.detail">
  1377. <!-- -->
  1378. </a>
  1379. <h3>Constructor Detail</h3>
  1380. <a name="ConstPool-java.lang.String-">
  1381. <!-- -->
  1382. </a>
  1383. <ul class="blockList">
  1384. <li class="blockList">
  1385. <h4>ConstPool</h4>
  1386. <pre>public&nbsp;ConstPool&#8203;(java.lang.String&nbsp;thisclass)</pre>
  1387. <div class="block">Constructs a constant pool table.</div>
  1388. <dl>
  1389. <dt><span class="paramLabel">Parameters:</span></dt>
  1390. <dd><code>thisclass</code> - the name of the class using this constant
  1391. pool table</dd>
  1392. </dl>
  1393. </li>
  1394. </ul>
  1395. <a name="ConstPool-java.io.DataInputStream-">
  1396. <!-- -->
  1397. </a>
  1398. <ul class="blockListLast">
  1399. <li class="blockList">
  1400. <h4>ConstPool</h4>
  1401. <pre>public&nbsp;ConstPool&#8203;(java.io.DataInputStream&nbsp;in)
  1402. throws java.io.IOException</pre>
  1403. <div class="block">Constructs a constant pool table from the given byte stream.</div>
  1404. <dl>
  1405. <dt><span class="paramLabel">Parameters:</span></dt>
  1406. <dd><code>in</code> - byte stream.</dd>
  1407. <dt><span class="throwsLabel">Throws:</span></dt>
  1408. <dd><code>java.io.IOException</code></dd>
  1409. </dl>
  1410. </li>
  1411. </ul>
  1412. </li>
  1413. </ul>
  1414. <!-- ============ METHOD DETAIL ========== -->
  1415. <ul class="blockList">
  1416. <li class="blockList"><a name="method.detail">
  1417. <!-- -->
  1418. </a>
  1419. <h3>Method Detail</h3>
  1420. <a name="getSize--">
  1421. <!-- -->
  1422. </a>
  1423. <ul class="blockList">
  1424. <li class="blockList">
  1425. <h4>getSize</h4>
  1426. <pre>public&nbsp;int&nbsp;getSize()</pre>
  1427. <div class="block">Returns the number of entries in this table.</div>
  1428. </li>
  1429. </ul>
  1430. <a name="getClassName--">
  1431. <!-- -->
  1432. </a>
  1433. <ul class="blockList">
  1434. <li class="blockList">
  1435. <h4>getClassName</h4>
  1436. <pre>public&nbsp;java.lang.String&nbsp;getClassName()</pre>
  1437. <div class="block">Returns the name of the class using this constant pool table.</div>
  1438. </li>
  1439. </ul>
  1440. <a name="getThisClassInfo--">
  1441. <!-- -->
  1442. </a>
  1443. <ul class="blockList">
  1444. <li class="blockList">
  1445. <h4>getThisClassInfo</h4>
  1446. <pre>public&nbsp;int&nbsp;getThisClassInfo()</pre>
  1447. <div class="block">Returns the index of <code>CONSTANT_Class_info</code> structure
  1448. specifying the class using this constant pool table.</div>
  1449. </li>
  1450. </ul>
  1451. <a name="getTag-int-">
  1452. <!-- -->
  1453. </a>
  1454. <ul class="blockList">
  1455. <li class="blockList">
  1456. <h4>getTag</h4>
  1457. <pre>public&nbsp;int&nbsp;getTag&#8203;(int&nbsp;index)</pre>
  1458. <div class="block">Returns the <code>tag</code> field of the constant pool table
  1459. entry at the given index.</div>
  1460. <dl>
  1461. <dt><span class="returnLabel">Returns:</span></dt>
  1462. <dd>either <code>CONST_Class</code>, <code>CONST_Fieldref</code>,
  1463. <code>CONST_Methodref</code>, or ...</dd>
  1464. </dl>
  1465. </li>
  1466. </ul>
  1467. <a name="getClassInfo-int-">
  1468. <!-- -->
  1469. </a>
  1470. <ul class="blockList">
  1471. <li class="blockList">
  1472. <h4>getClassInfo</h4>
  1473. <pre>public&nbsp;java.lang.String&nbsp;getClassInfo&#8203;(int&nbsp;index)</pre>
  1474. <div class="block">Reads <code>CONSTANT_Class_info</code> structure
  1475. at the given index.</div>
  1476. <dl>
  1477. <dt><span class="returnLabel">Returns:</span></dt>
  1478. <dd>a fully-qualified class or interface name specified
  1479. by <code>name_index</code>. If the type is an array
  1480. type, this method returns an encoded name like
  1481. <code>[Ljava.lang.Object;</code> (note that the separators
  1482. are not slashes but dots).</dd>
  1483. <dt><span class="seeLabel">See Also:</span></dt>
  1484. <dd><a href="../../javassist/ClassPool.html#getCtClass-java.lang.String-"><code>ClassPool.getCtClass(String)</code></a></dd>
  1485. </dl>
  1486. </li>
  1487. </ul>
  1488. <a name="getClassInfoByDescriptor-int-">
  1489. <!-- -->
  1490. </a>
  1491. <ul class="blockList">
  1492. <li class="blockList">
  1493. <h4>getClassInfoByDescriptor</h4>
  1494. <pre>public&nbsp;java.lang.String&nbsp;getClassInfoByDescriptor&#8203;(int&nbsp;index)</pre>
  1495. <div class="block">Reads <code>CONSTANT_Class_info</code> structure
  1496. at the given index.</div>
  1497. <dl>
  1498. <dt><span class="returnLabel">Returns:</span></dt>
  1499. <dd>the descriptor of the type specified
  1500. by <code>name_index</code>.</dd>
  1501. <dt><span class="simpleTagLabel">Since:</span></dt>
  1502. <dd>3.15</dd>
  1503. <dt><span class="seeLabel">See Also:</span></dt>
  1504. <dd><a href="../../javassist/ClassPool.html#getCtClass-java.lang.String-"><code>ClassPool.getCtClass(String)</code></a></dd>
  1505. </dl>
  1506. </li>
  1507. </ul>
  1508. <a name="getNameAndTypeName-int-">
  1509. <!-- -->
  1510. </a>
  1511. <ul class="blockList">
  1512. <li class="blockList">
  1513. <h4>getNameAndTypeName</h4>
  1514. <pre>public&nbsp;int&nbsp;getNameAndTypeName&#8203;(int&nbsp;index)</pre>
  1515. <div class="block">Reads the <code>name_index</code> field of the
  1516. <code>CONSTANT_NameAndType_info</code> structure
  1517. at the given index.</div>
  1518. </li>
  1519. </ul>
  1520. <a name="getNameAndTypeDescriptor-int-">
  1521. <!-- -->
  1522. </a>
  1523. <ul class="blockList">
  1524. <li class="blockList">
  1525. <h4>getNameAndTypeDescriptor</h4>
  1526. <pre>public&nbsp;int&nbsp;getNameAndTypeDescriptor&#8203;(int&nbsp;index)</pre>
  1527. <div class="block">Reads the <code>descriptor_index</code> field of the
  1528. <code>CONSTANT_NameAndType_info</code> structure
  1529. at the given index.</div>
  1530. </li>
  1531. </ul>
  1532. <a name="getMemberClass-int-">
  1533. <!-- -->
  1534. </a>
  1535. <ul class="blockList">
  1536. <li class="blockList">
  1537. <h4>getMemberClass</h4>
  1538. <pre>public&nbsp;int&nbsp;getMemberClass&#8203;(int&nbsp;index)</pre>
  1539. <div class="block">Reads the <code>class_index</code> field of the
  1540. <code>CONSTANT_Fieldref_info</code>,
  1541. <code>CONSTANT_Methodref_info</code>,
  1542. or <code>CONSTANT_Interfaceref_info</code>,
  1543. structure at the given index.</div>
  1544. <dl>
  1545. <dt><span class="simpleTagLabel">Since:</span></dt>
  1546. <dd>3.6</dd>
  1547. </dl>
  1548. </li>
  1549. </ul>
  1550. <a name="getMemberNameAndType-int-">
  1551. <!-- -->
  1552. </a>
  1553. <ul class="blockList">
  1554. <li class="blockList">
  1555. <h4>getMemberNameAndType</h4>
  1556. <pre>public&nbsp;int&nbsp;getMemberNameAndType&#8203;(int&nbsp;index)</pre>
  1557. <div class="block">Reads the <code>name_and_type_index</code> field of the
  1558. <code>CONSTANT_Fieldref_info</code>,
  1559. <code>CONSTANT_Methodref_info</code>,
  1560. or <code>CONSTANT_Interfaceref_info</code>,
  1561. structure at the given index.</div>
  1562. <dl>
  1563. <dt><span class="simpleTagLabel">Since:</span></dt>
  1564. <dd>3.6</dd>
  1565. </dl>
  1566. </li>
  1567. </ul>
  1568. <a name="getFieldrefClass-int-">
  1569. <!-- -->
  1570. </a>
  1571. <ul class="blockList">
  1572. <li class="blockList">
  1573. <h4>getFieldrefClass</h4>
  1574. <pre>public&nbsp;int&nbsp;getFieldrefClass&#8203;(int&nbsp;index)</pre>
  1575. <div class="block">Reads the <code>class_index</code> field of the
  1576. <code>CONSTANT_Fieldref_info</code> structure
  1577. at the given index.</div>
  1578. </li>
  1579. </ul>
  1580. <a name="getFieldrefClassName-int-">
  1581. <!-- -->
  1582. </a>
  1583. <ul class="blockList">
  1584. <li class="blockList">
  1585. <h4>getFieldrefClassName</h4>
  1586. <pre>public&nbsp;java.lang.String&nbsp;getFieldrefClassName&#8203;(int&nbsp;index)</pre>
  1587. <div class="block">Reads the <code>class_index</code> field of the
  1588. <code>CONSTANT_Fieldref_info</code> structure
  1589. at the given index.</div>
  1590. <dl>
  1591. <dt><span class="returnLabel">Returns:</span></dt>
  1592. <dd>the name of the class at that <code>class_index</code>.</dd>
  1593. </dl>
  1594. </li>
  1595. </ul>
  1596. <a name="getFieldrefNameAndType-int-">
  1597. <!-- -->
  1598. </a>
  1599. <ul class="blockList">
  1600. <li class="blockList">
  1601. <h4>getFieldrefNameAndType</h4>
  1602. <pre>public&nbsp;int&nbsp;getFieldrefNameAndType&#8203;(int&nbsp;index)</pre>
  1603. <div class="block">Reads the <code>name_and_type_index</code> field of the
  1604. <code>CONSTANT_Fieldref_info</code> structure
  1605. at the given index.</div>
  1606. </li>
  1607. </ul>
  1608. <a name="getFieldrefName-int-">
  1609. <!-- -->
  1610. </a>
  1611. <ul class="blockList">
  1612. <li class="blockList">
  1613. <h4>getFieldrefName</h4>
  1614. <pre>public&nbsp;java.lang.String&nbsp;getFieldrefName&#8203;(int&nbsp;index)</pre>
  1615. <div class="block">Reads the <code>name_index</code> field of the
  1616. <code>CONSTANT_NameAndType_info</code> structure
  1617. indirectly specified by the given index.</div>
  1618. <dl>
  1619. <dt><span class="paramLabel">Parameters:</span></dt>
  1620. <dd><code>index</code> - an index to a <code>CONSTANT_Fieldref_info</code>.</dd>
  1621. <dt><span class="returnLabel">Returns:</span></dt>
  1622. <dd>the name of the field.</dd>
  1623. </dl>
  1624. </li>
  1625. </ul>
  1626. <a name="getFieldrefType-int-">
  1627. <!-- -->
  1628. </a>
  1629. <ul class="blockList">
  1630. <li class="blockList">
  1631. <h4>getFieldrefType</h4>
  1632. <pre>public&nbsp;java.lang.String&nbsp;getFieldrefType&#8203;(int&nbsp;index)</pre>
  1633. <div class="block">Reads the <code>descriptor_index</code> field of the
  1634. <code>CONSTANT_NameAndType_info</code> structure
  1635. indirectly specified by the given index.</div>
  1636. <dl>
  1637. <dt><span class="paramLabel">Parameters:</span></dt>
  1638. <dd><code>index</code> - an index to a <code>CONSTANT_Fieldref_info</code>.</dd>
  1639. <dt><span class="returnLabel">Returns:</span></dt>
  1640. <dd>the type descriptor of the field.</dd>
  1641. </dl>
  1642. </li>
  1643. </ul>
  1644. <a name="getMethodrefClass-int-">
  1645. <!-- -->
  1646. </a>
  1647. <ul class="blockList">
  1648. <li class="blockList">
  1649. <h4>getMethodrefClass</h4>
  1650. <pre>public&nbsp;int&nbsp;getMethodrefClass&#8203;(int&nbsp;index)</pre>
  1651. <div class="block">Reads the <code>class_index</code> field of the
  1652. <code>CONSTANT_Methodref_info</code> structure
  1653. at the given index.</div>
  1654. </li>
  1655. </ul>
  1656. <a name="getMethodrefClassName-int-">
  1657. <!-- -->
  1658. </a>
  1659. <ul class="blockList">
  1660. <li class="blockList">
  1661. <h4>getMethodrefClassName</h4>
  1662. <pre>public&nbsp;java.lang.String&nbsp;getMethodrefClassName&#8203;(int&nbsp;index)</pre>
  1663. <div class="block">Reads the <code>class_index</code> field of the
  1664. <code>CONSTANT_Methodref_info</code> structure
  1665. at the given index.</div>
  1666. <dl>
  1667. <dt><span class="returnLabel">Returns:</span></dt>
  1668. <dd>the name of the class at that <code>class_index</code>.</dd>
  1669. </dl>
  1670. </li>
  1671. </ul>
  1672. <a name="getMethodrefNameAndType-int-">
  1673. <!-- -->
  1674. </a>
  1675. <ul class="blockList">
  1676. <li class="blockList">
  1677. <h4>getMethodrefNameAndType</h4>
  1678. <pre>public&nbsp;int&nbsp;getMethodrefNameAndType&#8203;(int&nbsp;index)</pre>
  1679. <div class="block">Reads the <code>name_and_type_index</code> field of the
  1680. <code>CONSTANT_Methodref_info</code> structure
  1681. at the given index.</div>
  1682. </li>
  1683. </ul>
  1684. <a name="getMethodrefName-int-">
  1685. <!-- -->
  1686. </a>
  1687. <ul class="blockList">
  1688. <li class="blockList">
  1689. <h4>getMethodrefName</h4>
  1690. <pre>public&nbsp;java.lang.String&nbsp;getMethodrefName&#8203;(int&nbsp;index)</pre>
  1691. <div class="block">Reads the <code>name_index</code> field of the
  1692. <code>CONSTANT_NameAndType_info</code> structure
  1693. indirectly specified by the given index.</div>
  1694. <dl>
  1695. <dt><span class="paramLabel">Parameters:</span></dt>
  1696. <dd><code>index</code> - an index to a <code>CONSTANT_Methodref_info</code>.</dd>
  1697. <dt><span class="returnLabel">Returns:</span></dt>
  1698. <dd>the name of the method.</dd>
  1699. </dl>
  1700. </li>
  1701. </ul>
  1702. <a name="getMethodrefType-int-">
  1703. <!-- -->
  1704. </a>
  1705. <ul class="blockList">
  1706. <li class="blockList">
  1707. <h4>getMethodrefType</h4>
  1708. <pre>public&nbsp;java.lang.String&nbsp;getMethodrefType&#8203;(int&nbsp;index)</pre>
  1709. <div class="block">Reads the <code>descriptor_index</code> field of the
  1710. <code>CONSTANT_NameAndType_info</code> structure
  1711. indirectly specified by the given index.</div>
  1712. <dl>
  1713. <dt><span class="paramLabel">Parameters:</span></dt>
  1714. <dd><code>index</code> - an index to a <code>CONSTANT_Methodref_info</code>.</dd>
  1715. <dt><span class="returnLabel">Returns:</span></dt>
  1716. <dd>the descriptor of the method.</dd>
  1717. </dl>
  1718. </li>
  1719. </ul>
  1720. <a name="getInterfaceMethodrefClass-int-">
  1721. <!-- -->
  1722. </a>
  1723. <ul class="blockList">
  1724. <li class="blockList">
  1725. <h4>getInterfaceMethodrefClass</h4>
  1726. <pre>public&nbsp;int&nbsp;getInterfaceMethodrefClass&#8203;(int&nbsp;index)</pre>
  1727. <div class="block">Reads the <code>class_index</code> field of the
  1728. <code>CONSTANT_InterfaceMethodref_info</code> structure
  1729. at the given index.</div>
  1730. </li>
  1731. </ul>
  1732. <a name="getInterfaceMethodrefClassName-int-">
  1733. <!-- -->
  1734. </a>
  1735. <ul class="blockList">
  1736. <li class="blockList">
  1737. <h4>getInterfaceMethodrefClassName</h4>
  1738. <pre>public&nbsp;java.lang.String&nbsp;getInterfaceMethodrefClassName&#8203;(int&nbsp;index)</pre>
  1739. <div class="block">Reads the <code>class_index</code> field of the
  1740. <code>CONSTANT_InterfaceMethodref_info</code> structure
  1741. at the given index.</div>
  1742. <dl>
  1743. <dt><span class="returnLabel">Returns:</span></dt>
  1744. <dd>the name of the class at that <code>class_index</code>.</dd>
  1745. </dl>
  1746. </li>
  1747. </ul>
  1748. <a name="getInterfaceMethodrefNameAndType-int-">
  1749. <!-- -->
  1750. </a>
  1751. <ul class="blockList">
  1752. <li class="blockList">
  1753. <h4>getInterfaceMethodrefNameAndType</h4>
  1754. <pre>public&nbsp;int&nbsp;getInterfaceMethodrefNameAndType&#8203;(int&nbsp;index)</pre>
  1755. <div class="block">Reads the <code>name_and_type_index</code> field of the
  1756. <code>CONSTANT_InterfaceMethodref_info</code> structure
  1757. at the given index.</div>
  1758. </li>
  1759. </ul>
  1760. <a name="getInterfaceMethodrefName-int-">
  1761. <!-- -->
  1762. </a>
  1763. <ul class="blockList">
  1764. <li class="blockList">
  1765. <h4>getInterfaceMethodrefName</h4>
  1766. <pre>public&nbsp;java.lang.String&nbsp;getInterfaceMethodrefName&#8203;(int&nbsp;index)</pre>
  1767. <div class="block">Reads the <code>name_index</code> field of the
  1768. <code>CONSTANT_NameAndType_info</code> structure
  1769. indirectly specified by the given index.</div>
  1770. <dl>
  1771. <dt><span class="paramLabel">Parameters:</span></dt>
  1772. <dd><code>index</code> - an index to
  1773. a <code>CONSTANT_InterfaceMethodref_info</code>.</dd>
  1774. <dt><span class="returnLabel">Returns:</span></dt>
  1775. <dd>the name of the method.</dd>
  1776. </dl>
  1777. </li>
  1778. </ul>
  1779. <a name="getInterfaceMethodrefType-int-">
  1780. <!-- -->
  1781. </a>
  1782. <ul class="blockList">
  1783. <li class="blockList">
  1784. <h4>getInterfaceMethodrefType</h4>
  1785. <pre>public&nbsp;java.lang.String&nbsp;getInterfaceMethodrefType&#8203;(int&nbsp;index)</pre>
  1786. <div class="block">Reads the <code>descriptor_index</code> field of the
  1787. <code>CONSTANT_NameAndType_info</code> structure
  1788. indirectly specified by the given index.</div>
  1789. <dl>
  1790. <dt><span class="paramLabel">Parameters:</span></dt>
  1791. <dd><code>index</code> - an index to
  1792. a <code>CONSTANT_InterfaceMethodref_info</code>.</dd>
  1793. <dt><span class="returnLabel">Returns:</span></dt>
  1794. <dd>the descriptor of the method.</dd>
  1795. </dl>
  1796. </li>
  1797. </ul>
  1798. <a name="getLdcValue-int-">
  1799. <!-- -->
  1800. </a>
  1801. <ul class="blockList">
  1802. <li class="blockList">
  1803. <h4>getLdcValue</h4>
  1804. <pre>public&nbsp;java.lang.Object&nbsp;getLdcValue&#8203;(int&nbsp;index)</pre>
  1805. <div class="block">Reads <code>CONSTANT_Integer_info</code>, <code>_Float_info</code>,
  1806. <code>_Long_info</code>, <code>_Double_info</code>, or
  1807. <code>_String_info</code> structure.
  1808. These are used with the LDC instruction.</div>
  1809. <dl>
  1810. <dt><span class="returnLabel">Returns:</span></dt>
  1811. <dd>a <code>String</code> value or a wrapped primitive-type
  1812. value.</dd>
  1813. </dl>
  1814. </li>
  1815. </ul>
  1816. <a name="getIntegerInfo-int-">
  1817. <!-- -->
  1818. </a>
  1819. <ul class="blockList">
  1820. <li class="blockList">
  1821. <h4>getIntegerInfo</h4>
  1822. <pre>public&nbsp;int&nbsp;getIntegerInfo&#8203;(int&nbsp;index)</pre>
  1823. <div class="block">Reads <code>CONSTANT_Integer_info</code> structure
  1824. at the given index.</div>
  1825. <dl>
  1826. <dt><span class="returnLabel">Returns:</span></dt>
  1827. <dd>the value specified by this entry.</dd>
  1828. </dl>
  1829. </li>
  1830. </ul>
  1831. <a name="getFloatInfo-int-">
  1832. <!-- -->
  1833. </a>
  1834. <ul class="blockList">
  1835. <li class="blockList">
  1836. <h4>getFloatInfo</h4>
  1837. <pre>public&nbsp;float&nbsp;getFloatInfo&#8203;(int&nbsp;index)</pre>
  1838. <div class="block">Reads <code>CONSTANT_Float_info</code> structure
  1839. at the given index.</div>
  1840. <dl>
  1841. <dt><span class="returnLabel">Returns:</span></dt>
  1842. <dd>the value specified by this entry.</dd>
  1843. </dl>
  1844. </li>
  1845. </ul>
  1846. <a name="getLongInfo-int-">
  1847. <!-- -->
  1848. </a>
  1849. <ul class="blockList">
  1850. <li class="blockList">
  1851. <h4>getLongInfo</h4>
  1852. <pre>public&nbsp;long&nbsp;getLongInfo&#8203;(int&nbsp;index)</pre>
  1853. <div class="block">Reads <code>CONSTANT_Long_info</code> structure
  1854. at the given index.</div>
  1855. <dl>
  1856. <dt><span class="returnLabel">Returns:</span></dt>
  1857. <dd>the value specified by this entry.</dd>
  1858. </dl>
  1859. </li>
  1860. </ul>
  1861. <a name="getDoubleInfo-int-">
  1862. <!-- -->
  1863. </a>
  1864. <ul class="blockList">
  1865. <li class="blockList">
  1866. <h4>getDoubleInfo</h4>
  1867. <pre>public&nbsp;double&nbsp;getDoubleInfo&#8203;(int&nbsp;index)</pre>
  1868. <div class="block">Reads <code>CONSTANT_Double_info</code> structure
  1869. at the given index.</div>
  1870. <dl>
  1871. <dt><span class="returnLabel">Returns:</span></dt>
  1872. <dd>the value specified by this entry.</dd>
  1873. </dl>
  1874. </li>
  1875. </ul>
  1876. <a name="getStringInfo-int-">
  1877. <!-- -->
  1878. </a>
  1879. <ul class="blockList">
  1880. <li class="blockList">
  1881. <h4>getStringInfo</h4>
  1882. <pre>public&nbsp;java.lang.String&nbsp;getStringInfo&#8203;(int&nbsp;index)</pre>
  1883. <div class="block">Reads <code>CONSTANT_String_info</code> structure
  1884. at the given index.</div>
  1885. <dl>
  1886. <dt><span class="returnLabel">Returns:</span></dt>
  1887. <dd>the string specified by <code>string_index</code>.</dd>
  1888. </dl>
  1889. </li>
  1890. </ul>
  1891. <a name="getUtf8Info-int-">
  1892. <!-- -->
  1893. </a>
  1894. <ul class="blockList">
  1895. <li class="blockList">
  1896. <h4>getUtf8Info</h4>
  1897. <pre>public&nbsp;java.lang.String&nbsp;getUtf8Info&#8203;(int&nbsp;index)</pre>
  1898. <div class="block">Reads <code>CONSTANT_utf8_info</code> structure
  1899. at the given index.</div>
  1900. <dl>
  1901. <dt><span class="returnLabel">Returns:</span></dt>
  1902. <dd>the string specified by this entry.</dd>
  1903. </dl>
  1904. </li>
  1905. </ul>
  1906. <a name="getMethodHandleKind-int-">
  1907. <!-- -->
  1908. </a>
  1909. <ul class="blockList">
  1910. <li class="blockList">
  1911. <h4>getMethodHandleKind</h4>
  1912. <pre>public&nbsp;int&nbsp;getMethodHandleKind&#8203;(int&nbsp;index)</pre>
  1913. <div class="block">Reads the <code>reference_kind</code> field of the
  1914. <code>CONSTANT_MethodHandle_info</code> structure
  1915. at the given index.</div>
  1916. <dl>
  1917. <dt><span class="simpleTagLabel">Since:</span></dt>
  1918. <dd>3.17</dd>
  1919. <dt><span class="seeLabel">See Also:</span></dt>
  1920. <dd><a href="../../javassist/bytecode/ConstPool.html#REF_getField"><code>REF_getField</code></a>,
  1921. <a href="../../javassist/bytecode/ConstPool.html#REF_getStatic"><code>REF_getStatic</code></a>,
  1922. <a href="../../javassist/bytecode/ConstPool.html#REF_invokeInterface"><code>REF_invokeInterface</code></a>,
  1923. <a href="../../javassist/bytecode/ConstPool.html#REF_invokeSpecial"><code>REF_invokeSpecial</code></a>,
  1924. <a href="../../javassist/bytecode/ConstPool.html#REF_invokeStatic"><code>REF_invokeStatic</code></a>,
  1925. <a href="../../javassist/bytecode/ConstPool.html#REF_invokeVirtual"><code>REF_invokeVirtual</code></a>,
  1926. <a href="../../javassist/bytecode/ConstPool.html#REF_newInvokeSpecial"><code>REF_newInvokeSpecial</code></a>,
  1927. <a href="../../javassist/bytecode/ConstPool.html#REF_putField"><code>REF_putField</code></a>,
  1928. <a href="../../javassist/bytecode/ConstPool.html#REF_putStatic"><code>REF_putStatic</code></a></dd>
  1929. </dl>
  1930. </li>
  1931. </ul>
  1932. <a name="getMethodHandleIndex-int-">
  1933. <!-- -->
  1934. </a>
  1935. <ul class="blockList">
  1936. <li class="blockList">
  1937. <h4>getMethodHandleIndex</h4>
  1938. <pre>public&nbsp;int&nbsp;getMethodHandleIndex&#8203;(int&nbsp;index)</pre>
  1939. <div class="block">Reads the <code>reference_index</code> field of the
  1940. <code>CONSTANT_MethodHandle_info</code> structure
  1941. at the given index.</div>
  1942. <dl>
  1943. <dt><span class="simpleTagLabel">Since:</span></dt>
  1944. <dd>3.17</dd>
  1945. </dl>
  1946. </li>
  1947. </ul>
  1948. <a name="getMethodTypeInfo-int-">
  1949. <!-- -->
  1950. </a>
  1951. <ul class="blockList">
  1952. <li class="blockList">
  1953. <h4>getMethodTypeInfo</h4>
  1954. <pre>public&nbsp;int&nbsp;getMethodTypeInfo&#8203;(int&nbsp;index)</pre>
  1955. <div class="block">Reads the <code>descriptor_index</code> field of the
  1956. <code>CONSTANT_MethodType_info</code> structure
  1957. at the given index.</div>
  1958. <dl>
  1959. <dt><span class="simpleTagLabel">Since:</span></dt>
  1960. <dd>3.17</dd>
  1961. </dl>
  1962. </li>
  1963. </ul>
  1964. <a name="getInvokeDynamicBootstrap-int-">
  1965. <!-- -->
  1966. </a>
  1967. <ul class="blockList">
  1968. <li class="blockList">
  1969. <h4>getInvokeDynamicBootstrap</h4>
  1970. <pre>public&nbsp;int&nbsp;getInvokeDynamicBootstrap&#8203;(int&nbsp;index)</pre>
  1971. <div class="block">Reads the <code>bootstrap_method_attr_index</code> field of the
  1972. <code>CONSTANT_InvokeDynamic_info</code> structure
  1973. at the given index.</div>
  1974. <dl>
  1975. <dt><span class="simpleTagLabel">Since:</span></dt>
  1976. <dd>3.17</dd>
  1977. </dl>
  1978. </li>
  1979. </ul>
  1980. <a name="getInvokeDynamicNameAndType-int-">
  1981. <!-- -->
  1982. </a>
  1983. <ul class="blockList">
  1984. <li class="blockList">
  1985. <h4>getInvokeDynamicNameAndType</h4>
  1986. <pre>public&nbsp;int&nbsp;getInvokeDynamicNameAndType&#8203;(int&nbsp;index)</pre>
  1987. <div class="block">Reads the <code>name_and_type_index</code> field of the
  1988. <code>CONSTANT_InvokeDynamic_info</code> structure
  1989. at the given index.</div>
  1990. <dl>
  1991. <dt><span class="simpleTagLabel">Since:</span></dt>
  1992. <dd>3.17</dd>
  1993. </dl>
  1994. </li>
  1995. </ul>
  1996. <a name="getInvokeDynamicType-int-">
  1997. <!-- -->
  1998. </a>
  1999. <ul class="blockList">
  2000. <li class="blockList">
  2001. <h4>getInvokeDynamicType</h4>
  2002. <pre>public&nbsp;java.lang.String&nbsp;getInvokeDynamicType&#8203;(int&nbsp;index)</pre>
  2003. <div class="block">Reads the <code>descriptor_index</code> field of the
  2004. <code>CONSTANT_NameAndType_info</code> structure
  2005. indirectly specified by the given index.</div>
  2006. <dl>
  2007. <dt><span class="paramLabel">Parameters:</span></dt>
  2008. <dd><code>index</code> - an index to a <code>CONSTANT_InvokeDynamic_info</code>.</dd>
  2009. <dt><span class="returnLabel">Returns:</span></dt>
  2010. <dd>the descriptor of the method.</dd>
  2011. <dt><span class="simpleTagLabel">Since:</span></dt>
  2012. <dd>3.17</dd>
  2013. </dl>
  2014. </li>
  2015. </ul>
  2016. <a name="getModuleInfo-int-">
  2017. <!-- -->
  2018. </a>
  2019. <ul class="blockList">
  2020. <li class="blockList">
  2021. <h4>getModuleInfo</h4>
  2022. <pre>public&nbsp;java.lang.String&nbsp;getModuleInfo&#8203;(int&nbsp;index)</pre>
  2023. <div class="block">Reads the <code>name_index</code> field of the
  2024. <code>CONSTANT_Module_info</code> structure at the given index.</div>
  2025. <dl>
  2026. <dt><span class="returnLabel">Returns:</span></dt>
  2027. <dd>the module name at <code>name_index</code>.</dd>
  2028. <dt><span class="simpleTagLabel">Since:</span></dt>
  2029. <dd>3.22</dd>
  2030. </dl>
  2031. </li>
  2032. </ul>
  2033. <a name="getPackageInfo-int-">
  2034. <!-- -->
  2035. </a>
  2036. <ul class="blockList">
  2037. <li class="blockList">
  2038. <h4>getPackageInfo</h4>
  2039. <pre>public&nbsp;java.lang.String&nbsp;getPackageInfo&#8203;(int&nbsp;index)</pre>
  2040. <div class="block">Reads the <code>name_index</code> field of the
  2041. <code>CONSTANT_Package_info</code> structure at the given index.</div>
  2042. <dl>
  2043. <dt><span class="returnLabel">Returns:</span></dt>
  2044. <dd>the package name at <code>name_index</code>. It is a slash-
  2045. separated name such as com/oracle/net.</dd>
  2046. <dt><span class="simpleTagLabel">Since:</span></dt>
  2047. <dd>3.22</dd>
  2048. </dl>
  2049. </li>
  2050. </ul>
  2051. <a name="isConstructor-java.lang.String-int-">
  2052. <!-- -->
  2053. </a>
  2054. <ul class="blockList">
  2055. <li class="blockList">
  2056. <h4>isConstructor</h4>
  2057. <pre>public&nbsp;int&nbsp;isConstructor&#8203;(java.lang.String&nbsp;classname,
  2058. int&nbsp;index)</pre>
  2059. <div class="block">Determines whether <code>CONSTANT_Methodref_info</code>
  2060. structure at the given index represents the constructor
  2061. of the given class.</div>
  2062. <dl>
  2063. <dt><span class="returnLabel">Returns:</span></dt>
  2064. <dd>the <code>descriptor_index</code> specifying
  2065. the type descriptor of the that constructor.
  2066. If it is not that constructor,
  2067. <code>isConstructor()</code> returns 0.</dd>
  2068. </dl>
  2069. </li>
  2070. </ul>
  2071. <a name="isMember-java.lang.String-java.lang.String-int-">
  2072. <!-- -->
  2073. </a>
  2074. <ul class="blockList">
  2075. <li class="blockList">
  2076. <h4>isMember</h4>
  2077. <pre>public&nbsp;int&nbsp;isMember&#8203;(java.lang.String&nbsp;classname,
  2078. java.lang.String&nbsp;membername,
  2079. int&nbsp;index)</pre>
  2080. <div class="block">Determines whether <code>CONSTANT_Methodref_info</code>,
  2081. <code>CONSTANT_Fieldref_info</code>, or
  2082. <code>CONSTANT_InterfaceMethodref_info</code> structure
  2083. at the given index represents the member with the specified
  2084. name and declaring class.</div>
  2085. <dl>
  2086. <dt><span class="paramLabel">Parameters:</span></dt>
  2087. <dd><code>classname</code> - the class declaring the member</dd>
  2088. <dd><code>membername</code> - the member name</dd>
  2089. <dd><code>index</code> - the index into the constant pool table</dd>
  2090. <dt><span class="returnLabel">Returns:</span></dt>
  2091. <dd>the <code>descriptor_index</code> specifying
  2092. the type descriptor of that member.
  2093. If it is not that member,
  2094. <code>isMember()</code> returns 0.</dd>
  2095. </dl>
  2096. </li>
  2097. </ul>
  2098. <a name="eqMember-java.lang.String-java.lang.String-int-">
  2099. <!-- -->
  2100. </a>
  2101. <ul class="blockList">
  2102. <li class="blockList">
  2103. <h4>eqMember</h4>
  2104. <pre>public&nbsp;java.lang.String&nbsp;eqMember&#8203;(java.lang.String&nbsp;membername,
  2105. java.lang.String&nbsp;desc,
  2106. int&nbsp;index)</pre>
  2107. <div class="block">Determines whether <code>CONSTANT_Methodref_info</code>,
  2108. <code>CONSTANT_Fieldref_info</code>, or
  2109. <code>CONSTANT_InterfaceMethodref_info</code> structure
  2110. at the given index has the name and the descriptor
  2111. given as the arguments.</div>
  2112. <dl>
  2113. <dt><span class="paramLabel">Parameters:</span></dt>
  2114. <dd><code>membername</code> - the member name</dd>
  2115. <dd><code>desc</code> - the descriptor of the member.</dd>
  2116. <dd><code>index</code> - the index into the constant pool table</dd>
  2117. <dt><span class="returnLabel">Returns:</span></dt>
  2118. <dd>the name of the target class specified by
  2119. the <code>..._info</code> structure
  2120. at <code>index</code>.
  2121. Otherwise, null if that structure does not
  2122. match the given member name and descriptor.</dd>
  2123. </dl>
  2124. </li>
  2125. </ul>
  2126. <a name="copy-int-javassist.bytecode.ConstPool-java.util.Map-">
  2127. <!-- -->
  2128. </a>
  2129. <ul class="blockList">
  2130. <li class="blockList">
  2131. <h4>copy</h4>
  2132. <pre>public&nbsp;int&nbsp;copy&#8203;(int&nbsp;n,
  2133. <a href="../../javassist/bytecode/ConstPool.html" title="class in javassist.bytecode">ConstPool</a>&nbsp;dest,
  2134. java.util.Map&lt;java.lang.String,java.lang.String&gt;&nbsp;classnames)</pre>
  2135. <div class="block">Copies the n-th item in this ConstPool object into the destination
  2136. ConstPool object.
  2137. The class names that the item refers to are renamed according
  2138. to the given map.</div>
  2139. <dl>
  2140. <dt><span class="paramLabel">Parameters:</span></dt>
  2141. <dd><code>n</code> - the <i>n</i>-th item</dd>
  2142. <dd><code>dest</code> - destination constant pool table</dd>
  2143. <dd><code>classnames</code> - the map or null.</dd>
  2144. <dt><span class="returnLabel">Returns:</span></dt>
  2145. <dd>the index of the copied item into the destination ClassPool.</dd>
  2146. </dl>
  2147. </li>
  2148. </ul>
  2149. <a name="addClassInfo-javassist.CtClass-">
  2150. <!-- -->
  2151. </a>
  2152. <ul class="blockList">
  2153. <li class="blockList">
  2154. <h4>addClassInfo</h4>
  2155. <pre>public&nbsp;int&nbsp;addClassInfo&#8203;(<a href="../../javassist/CtClass.html" title="class in javassist">CtClass</a>&nbsp;c)</pre>
  2156. <div class="block">Adds a new <code>CONSTANT_Class_info</code> structure.
  2157. <p>This also adds a <code>CONSTANT_Utf8_info</code> structure
  2158. for storing the class name.</div>
  2159. <dl>
  2160. <dt><span class="returnLabel">Returns:</span></dt>
  2161. <dd>the index of the added entry.</dd>
  2162. </dl>
  2163. </li>
  2164. </ul>
  2165. <a name="addClassInfo-java.lang.String-">
  2166. <!-- -->
  2167. </a>
  2168. <ul class="blockList">
  2169. <li class="blockList">
  2170. <h4>addClassInfo</h4>
  2171. <pre>public&nbsp;int&nbsp;addClassInfo&#8203;(java.lang.String&nbsp;qname)</pre>
  2172. <div class="block">Adds a new <code>CONSTANT_Class_info</code> structure.
  2173. <p>This also adds a <code>CONSTANT_Utf8_info</code> structure
  2174. for storing the class name.</div>
  2175. <dl>
  2176. <dt><span class="paramLabel">Parameters:</span></dt>
  2177. <dd><code>qname</code> - a fully-qualified class name
  2178. (or the JVM-internal representation of that name).</dd>
  2179. <dt><span class="returnLabel">Returns:</span></dt>
  2180. <dd>the index of the added entry.</dd>
  2181. </dl>
  2182. </li>
  2183. </ul>
  2184. <a name="addNameAndTypeInfo-java.lang.String-java.lang.String-">
  2185. <!-- -->
  2186. </a>
  2187. <ul class="blockList">
  2188. <li class="blockList">
  2189. <h4>addNameAndTypeInfo</h4>
  2190. <pre>public&nbsp;int&nbsp;addNameAndTypeInfo&#8203;(java.lang.String&nbsp;name,
  2191. java.lang.String&nbsp;type)</pre>
  2192. <div class="block">Adds a new <code>CONSTANT_NameAndType_info</code> structure.
  2193. <p>This also adds <code>CONSTANT_Utf8_info</code> structures.</div>
  2194. <dl>
  2195. <dt><span class="paramLabel">Parameters:</span></dt>
  2196. <dd><code>name</code> - <code>name_index</code></dd>
  2197. <dd><code>type</code> - <code>descriptor_index</code></dd>
  2198. <dt><span class="returnLabel">Returns:</span></dt>
  2199. <dd>the index of the added entry.</dd>
  2200. </dl>
  2201. </li>
  2202. </ul>
  2203. <a name="addNameAndTypeInfo-int-int-">
  2204. <!-- -->
  2205. </a>
  2206. <ul class="blockList">
  2207. <li class="blockList">
  2208. <h4>addNameAndTypeInfo</h4>
  2209. <pre>public&nbsp;int&nbsp;addNameAndTypeInfo&#8203;(int&nbsp;name,
  2210. int&nbsp;type)</pre>
  2211. <div class="block">Adds a new <code>CONSTANT_NameAndType_info</code> structure.</div>
  2212. <dl>
  2213. <dt><span class="paramLabel">Parameters:</span></dt>
  2214. <dd><code>name</code> - <code>name_index</code></dd>
  2215. <dd><code>type</code> - <code>descriptor_index</code></dd>
  2216. <dt><span class="returnLabel">Returns:</span></dt>
  2217. <dd>the index of the added entry.</dd>
  2218. </dl>
  2219. </li>
  2220. </ul>
  2221. <a name="addFieldrefInfo-int-java.lang.String-java.lang.String-">
  2222. <!-- -->
  2223. </a>
  2224. <ul class="blockList">
  2225. <li class="blockList">
  2226. <h4>addFieldrefInfo</h4>
  2227. <pre>public&nbsp;int&nbsp;addFieldrefInfo&#8203;(int&nbsp;classInfo,
  2228. java.lang.String&nbsp;name,
  2229. java.lang.String&nbsp;type)</pre>
  2230. <div class="block">Adds a new <code>CONSTANT_Fieldref_info</code> structure.
  2231. <p>This also adds a new <code>CONSTANT_NameAndType_info</code>
  2232. structure.</div>
  2233. <dl>
  2234. <dt><span class="paramLabel">Parameters:</span></dt>
  2235. <dd><code>classInfo</code> - <code>class_index</code></dd>
  2236. <dd><code>name</code> - <code>name_index</code>
  2237. of <code>CONSTANT_NameAndType_info</code>.</dd>
  2238. <dd><code>type</code> - <code>descriptor_index</code>
  2239. of <code>CONSTANT_NameAndType_info</code>.</dd>
  2240. <dt><span class="returnLabel">Returns:</span></dt>
  2241. <dd>the index of the added entry.</dd>
  2242. </dl>
  2243. </li>
  2244. </ul>
  2245. <a name="addFieldrefInfo-int-int-">
  2246. <!-- -->
  2247. </a>
  2248. <ul class="blockList">
  2249. <li class="blockList">
  2250. <h4>addFieldrefInfo</h4>
  2251. <pre>public&nbsp;int&nbsp;addFieldrefInfo&#8203;(int&nbsp;classInfo,
  2252. int&nbsp;nameAndTypeInfo)</pre>
  2253. <div class="block">Adds a new <code>CONSTANT_Fieldref_info</code> structure.</div>
  2254. <dl>
  2255. <dt><span class="paramLabel">Parameters:</span></dt>
  2256. <dd><code>classInfo</code> - <code>class_index</code></dd>
  2257. <dd><code>nameAndTypeInfo</code> - <code>name_and_type_index</code>.</dd>
  2258. <dt><span class="returnLabel">Returns:</span></dt>
  2259. <dd>the index of the added entry.</dd>
  2260. </dl>
  2261. </li>
  2262. </ul>
  2263. <a name="addMethodrefInfo-int-java.lang.String-java.lang.String-">
  2264. <!-- -->
  2265. </a>
  2266. <ul class="blockList">
  2267. <li class="blockList">
  2268. <h4>addMethodrefInfo</h4>
  2269. <pre>public&nbsp;int&nbsp;addMethodrefInfo&#8203;(int&nbsp;classInfo,
  2270. java.lang.String&nbsp;name,
  2271. java.lang.String&nbsp;type)</pre>
  2272. <div class="block">Adds a new <code>CONSTANT_Methodref_info</code> structure.
  2273. <p>This also adds a new <code>CONSTANT_NameAndType_info</code>
  2274. structure.</div>
  2275. <dl>
  2276. <dt><span class="paramLabel">Parameters:</span></dt>
  2277. <dd><code>classInfo</code> - <code>class_index</code></dd>
  2278. <dd><code>name</code> - <code>name_index</code>
  2279. of <code>CONSTANT_NameAndType_info</code>.</dd>
  2280. <dd><code>type</code> - <code>descriptor_index</code>
  2281. of <code>CONSTANT_NameAndType_info</code>.</dd>
  2282. <dt><span class="returnLabel">Returns:</span></dt>
  2283. <dd>the index of the added entry.</dd>
  2284. </dl>
  2285. </li>
  2286. </ul>
  2287. <a name="addMethodrefInfo-int-int-">
  2288. <!-- -->
  2289. </a>
  2290. <ul class="blockList">
  2291. <li class="blockList">
  2292. <h4>addMethodrefInfo</h4>
  2293. <pre>public&nbsp;int&nbsp;addMethodrefInfo&#8203;(int&nbsp;classInfo,
  2294. int&nbsp;nameAndTypeInfo)</pre>
  2295. <div class="block">Adds a new <code>CONSTANT_Methodref_info</code> structure.</div>
  2296. <dl>
  2297. <dt><span class="paramLabel">Parameters:</span></dt>
  2298. <dd><code>classInfo</code> - <code>class_index</code></dd>
  2299. <dd><code>nameAndTypeInfo</code> - <code>name_and_type_index</code>.</dd>
  2300. <dt><span class="returnLabel">Returns:</span></dt>
  2301. <dd>the index of the added entry.</dd>
  2302. </dl>
  2303. </li>
  2304. </ul>
  2305. <a name="addInterfaceMethodrefInfo-int-java.lang.String-java.lang.String-">
  2306. <!-- -->
  2307. </a>
  2308. <ul class="blockList">
  2309. <li class="blockList">
  2310. <h4>addInterfaceMethodrefInfo</h4>
  2311. <pre>public&nbsp;int&nbsp;addInterfaceMethodrefInfo&#8203;(int&nbsp;classInfo,
  2312. java.lang.String&nbsp;name,
  2313. java.lang.String&nbsp;type)</pre>
  2314. <div class="block">Adds a new <code>CONSTANT_InterfaceMethodref_info</code>
  2315. structure.
  2316. <p>This also adds a new <code>CONSTANT_NameAndType_info</code>
  2317. structure.</div>
  2318. <dl>
  2319. <dt><span class="paramLabel">Parameters:</span></dt>
  2320. <dd><code>classInfo</code> - <code>class_index</code></dd>
  2321. <dd><code>name</code> - <code>name_index</code>
  2322. of <code>CONSTANT_NameAndType_info</code>.</dd>
  2323. <dd><code>type</code> - <code>descriptor_index</code>
  2324. of <code>CONSTANT_NameAndType_info</code>.</dd>
  2325. <dt><span class="returnLabel">Returns:</span></dt>
  2326. <dd>the index of the added entry.</dd>
  2327. </dl>
  2328. </li>
  2329. </ul>
  2330. <a name="addInterfaceMethodrefInfo-int-int-">
  2331. <!-- -->
  2332. </a>
  2333. <ul class="blockList">
  2334. <li class="blockList">
  2335. <h4>addInterfaceMethodrefInfo</h4>
  2336. <pre>public&nbsp;int&nbsp;addInterfaceMethodrefInfo&#8203;(int&nbsp;classInfo,
  2337. int&nbsp;nameAndTypeInfo)</pre>
  2338. <div class="block">Adds a new <code>CONSTANT_InterfaceMethodref_info</code>
  2339. structure.</div>
  2340. <dl>
  2341. <dt><span class="paramLabel">Parameters:</span></dt>
  2342. <dd><code>classInfo</code> - <code>class_index</code></dd>
  2343. <dd><code>nameAndTypeInfo</code> - <code>name_and_type_index</code>.</dd>
  2344. <dt><span class="returnLabel">Returns:</span></dt>
  2345. <dd>the index of the added entry.</dd>
  2346. </dl>
  2347. </li>
  2348. </ul>
  2349. <a name="addStringInfo-java.lang.String-">
  2350. <!-- -->
  2351. </a>
  2352. <ul class="blockList">
  2353. <li class="blockList">
  2354. <h4>addStringInfo</h4>
  2355. <pre>public&nbsp;int&nbsp;addStringInfo&#8203;(java.lang.String&nbsp;str)</pre>
  2356. <div class="block">Adds a new <code>CONSTANT_String_info</code>
  2357. structure.
  2358. <p>This also adds a new <code>CONSTANT_Utf8_info</code>
  2359. structure.</div>
  2360. <dl>
  2361. <dt><span class="returnLabel">Returns:</span></dt>
  2362. <dd>the index of the added entry.</dd>
  2363. </dl>
  2364. </li>
  2365. </ul>
  2366. <a name="addIntegerInfo-int-">
  2367. <!-- -->
  2368. </a>
  2369. <ul class="blockList">
  2370. <li class="blockList">
  2371. <h4>addIntegerInfo</h4>
  2372. <pre>public&nbsp;int&nbsp;addIntegerInfo&#8203;(int&nbsp;i)</pre>
  2373. <div class="block">Adds a new <code>CONSTANT_Integer_info</code>
  2374. structure.</div>
  2375. <dl>
  2376. <dt><span class="returnLabel">Returns:</span></dt>
  2377. <dd>the index of the added entry.</dd>
  2378. </dl>
  2379. </li>
  2380. </ul>
  2381. <a name="addFloatInfo-float-">
  2382. <!-- -->
  2383. </a>
  2384. <ul class="blockList">
  2385. <li class="blockList">
  2386. <h4>addFloatInfo</h4>
  2387. <pre>public&nbsp;int&nbsp;addFloatInfo&#8203;(float&nbsp;f)</pre>
  2388. <div class="block">Adds a new <code>CONSTANT_Float_info</code>
  2389. structure.</div>
  2390. <dl>
  2391. <dt><span class="returnLabel">Returns:</span></dt>
  2392. <dd>the index of the added entry.</dd>
  2393. </dl>
  2394. </li>
  2395. </ul>
  2396. <a name="addLongInfo-long-">
  2397. <!-- -->
  2398. </a>
  2399. <ul class="blockList">
  2400. <li class="blockList">
  2401. <h4>addLongInfo</h4>
  2402. <pre>public&nbsp;int&nbsp;addLongInfo&#8203;(long&nbsp;l)</pre>
  2403. <div class="block">Adds a new <code>CONSTANT_Long_info</code>
  2404. structure.</div>
  2405. <dl>
  2406. <dt><span class="returnLabel">Returns:</span></dt>
  2407. <dd>the index of the added entry.</dd>
  2408. </dl>
  2409. </li>
  2410. </ul>
  2411. <a name="addDoubleInfo-double-">
  2412. <!-- -->
  2413. </a>
  2414. <ul class="blockList">
  2415. <li class="blockList">
  2416. <h4>addDoubleInfo</h4>
  2417. <pre>public&nbsp;int&nbsp;addDoubleInfo&#8203;(double&nbsp;d)</pre>
  2418. <div class="block">Adds a new <code>CONSTANT_Double_info</code>
  2419. structure.</div>
  2420. <dl>
  2421. <dt><span class="returnLabel">Returns:</span></dt>
  2422. <dd>the index of the added entry.</dd>
  2423. </dl>
  2424. </li>
  2425. </ul>
  2426. <a name="addUtf8Info-java.lang.String-">
  2427. <!-- -->
  2428. </a>
  2429. <ul class="blockList">
  2430. <li class="blockList">
  2431. <h4>addUtf8Info</h4>
  2432. <pre>public&nbsp;int&nbsp;addUtf8Info&#8203;(java.lang.String&nbsp;utf8)</pre>
  2433. <div class="block">Adds a new <code>CONSTANT_Utf8_info</code>
  2434. structure.</div>
  2435. <dl>
  2436. <dt><span class="returnLabel">Returns:</span></dt>
  2437. <dd>the index of the added entry.</dd>
  2438. </dl>
  2439. </li>
  2440. </ul>
  2441. <a name="addMethodHandleInfo-int-int-">
  2442. <!-- -->
  2443. </a>
  2444. <ul class="blockList">
  2445. <li class="blockList">
  2446. <h4>addMethodHandleInfo</h4>
  2447. <pre>public&nbsp;int&nbsp;addMethodHandleInfo&#8203;(int&nbsp;kind,
  2448. int&nbsp;index)</pre>
  2449. <div class="block">Adds a new <code>CONSTANT_MethodHandle_info</code>
  2450. structure.</div>
  2451. <dl>
  2452. <dt><span class="paramLabel">Parameters:</span></dt>
  2453. <dd><code>kind</code> - <code>reference_kind</code>
  2454. such as <a href="../../javassist/bytecode/ConstPool.html#REF_invokeStatic"><code><code>REF_invokeStatic</code></code></a>.</dd>
  2455. <dd><code>index</code> - <code>reference_index</code>.</dd>
  2456. <dt><span class="returnLabel">Returns:</span></dt>
  2457. <dd>the index of the added entry.</dd>
  2458. <dt><span class="simpleTagLabel">Since:</span></dt>
  2459. <dd>3.17</dd>
  2460. </dl>
  2461. </li>
  2462. </ul>
  2463. <a name="addMethodTypeInfo-int-">
  2464. <!-- -->
  2465. </a>
  2466. <ul class="blockList">
  2467. <li class="blockList">
  2468. <h4>addMethodTypeInfo</h4>
  2469. <pre>public&nbsp;int&nbsp;addMethodTypeInfo&#8203;(int&nbsp;desc)</pre>
  2470. <div class="block">Adds a new <code>CONSTANT_MethodType_info</code>
  2471. structure.</div>
  2472. <dl>
  2473. <dt><span class="paramLabel">Parameters:</span></dt>
  2474. <dd><code>desc</code> - <code>descriptor_index</code>.</dd>
  2475. <dt><span class="returnLabel">Returns:</span></dt>
  2476. <dd>the index of the added entry.</dd>
  2477. <dt><span class="simpleTagLabel">Since:</span></dt>
  2478. <dd>3.17</dd>
  2479. </dl>
  2480. </li>
  2481. </ul>
  2482. <a name="addInvokeDynamicInfo-int-int-">
  2483. <!-- -->
  2484. </a>
  2485. <ul class="blockList">
  2486. <li class="blockList">
  2487. <h4>addInvokeDynamicInfo</h4>
  2488. <pre>public&nbsp;int&nbsp;addInvokeDynamicInfo&#8203;(int&nbsp;bootstrap,
  2489. int&nbsp;nameAndType)</pre>
  2490. <div class="block">Adds a new <code>CONSTANT_InvokeDynamic_info</code>
  2491. structure.</div>
  2492. <dl>
  2493. <dt><span class="paramLabel">Parameters:</span></dt>
  2494. <dd><code>bootstrap</code> - <code>bootstrap_method_attr_index</code>.</dd>
  2495. <dd><code>nameAndType</code> - <code>name_and_type_index</code>.</dd>
  2496. <dt><span class="returnLabel">Returns:</span></dt>
  2497. <dd>the index of the added entry.</dd>
  2498. <dt><span class="simpleTagLabel">Since:</span></dt>
  2499. <dd>3.17</dd>
  2500. </dl>
  2501. </li>
  2502. </ul>
  2503. <a name="addModuleInfo-int-">
  2504. <!-- -->
  2505. </a>
  2506. <ul class="blockList">
  2507. <li class="blockList">
  2508. <h4>addModuleInfo</h4>
  2509. <pre>public&nbsp;int&nbsp;addModuleInfo&#8203;(int&nbsp;nameIndex)</pre>
  2510. <div class="block">Adds a new <code>CONSTANT_Module_info</code></div>
  2511. <dl>
  2512. <dt><span class="paramLabel">Parameters:</span></dt>
  2513. <dd><code>nameIndex</code> - the index of the Utf8 entry.</dd>
  2514. <dt><span class="returnLabel">Returns:</span></dt>
  2515. <dd>the index of the added entry.</dd>
  2516. <dt><span class="simpleTagLabel">Since:</span></dt>
  2517. <dd>3.22</dd>
  2518. </dl>
  2519. </li>
  2520. </ul>
  2521. <a name="addPackageInfo-int-">
  2522. <!-- -->
  2523. </a>
  2524. <ul class="blockList">
  2525. <li class="blockList">
  2526. <h4>addPackageInfo</h4>
  2527. <pre>public&nbsp;int&nbsp;addPackageInfo&#8203;(int&nbsp;nameIndex)</pre>
  2528. <div class="block">Adds a new <code>CONSTANT_Package_info</code></div>
  2529. <dl>
  2530. <dt><span class="paramLabel">Parameters:</span></dt>
  2531. <dd><code>nameIndex</code> - the index of the Utf8 entry.</dd>
  2532. <dt><span class="returnLabel">Returns:</span></dt>
  2533. <dd>the index of the added entry.</dd>
  2534. <dt><span class="simpleTagLabel">Since:</span></dt>
  2535. <dd>3.22</dd>
  2536. </dl>
  2537. </li>
  2538. </ul>
  2539. <a name="getClassNames--">
  2540. <!-- -->
  2541. </a>
  2542. <ul class="blockList">
  2543. <li class="blockList">
  2544. <h4>getClassNames</h4>
  2545. <pre>public&nbsp;java.util.Set&lt;java.lang.String&gt;&nbsp;getClassNames()</pre>
  2546. <div class="block">Get all the class names.</div>
  2547. <dl>
  2548. <dt><span class="returnLabel">Returns:</span></dt>
  2549. <dd>a set of class names (<code>String</code> objects).</dd>
  2550. </dl>
  2551. </li>
  2552. </ul>
  2553. <a name="renameClass-java.lang.String-java.lang.String-">
  2554. <!-- -->
  2555. </a>
  2556. <ul class="blockList">
  2557. <li class="blockList">
  2558. <h4>renameClass</h4>
  2559. <pre>public&nbsp;void&nbsp;renameClass&#8203;(java.lang.String&nbsp;oldName,
  2560. java.lang.String&nbsp;newName)</pre>
  2561. <div class="block">Replaces all occurrences of a class name.</div>
  2562. <dl>
  2563. <dt><span class="paramLabel">Parameters:</span></dt>
  2564. <dd><code>oldName</code> - the replaced name (JVM-internal representation).</dd>
  2565. <dd><code>newName</code> - the substituted name (JVM-internal representation).</dd>
  2566. </dl>
  2567. </li>
  2568. </ul>
  2569. <a name="renameClass-java.util.Map-">
  2570. <!-- -->
  2571. </a>
  2572. <ul class="blockList">
  2573. <li class="blockList">
  2574. <h4>renameClass</h4>
  2575. <pre>public&nbsp;void&nbsp;renameClass&#8203;(java.util.Map&lt;java.lang.String,java.lang.String&gt;&nbsp;classnames)</pre>
  2576. <div class="block">Replaces all occurrences of class names.</div>
  2577. <dl>
  2578. <dt><span class="paramLabel">Parameters:</span></dt>
  2579. <dd><code>classnames</code> - specifies pairs of replaced and substituted
  2580. name.</dd>
  2581. </dl>
  2582. </li>
  2583. </ul>
  2584. <a name="write-java.io.DataOutputStream-">
  2585. <!-- -->
  2586. </a>
  2587. <ul class="blockList">
  2588. <li class="blockList">
  2589. <h4>write</h4>
  2590. <pre>public&nbsp;void&nbsp;write&#8203;(java.io.DataOutputStream&nbsp;out)
  2591. throws java.io.IOException</pre>
  2592. <div class="block">Writes the contents of the constant pool table.</div>
  2593. <dl>
  2594. <dt><span class="throwsLabel">Throws:</span></dt>
  2595. <dd><code>java.io.IOException</code></dd>
  2596. </dl>
  2597. </li>
  2598. </ul>
  2599. <a name="print--">
  2600. <!-- -->
  2601. </a>
  2602. <ul class="blockList">
  2603. <li class="blockList">
  2604. <h4>print</h4>
  2605. <pre>public&nbsp;void&nbsp;print()</pre>
  2606. <div class="block">Prints the contents of the constant pool table.</div>
  2607. </li>
  2608. </ul>
  2609. <a name="print-java.io.PrintWriter-">
  2610. <!-- -->
  2611. </a>
  2612. <ul class="blockListLast">
  2613. <li class="blockList">
  2614. <h4>print</h4>
  2615. <pre>public&nbsp;void&nbsp;print&#8203;(java.io.PrintWriter&nbsp;out)</pre>
  2616. <div class="block">Prints the contents of the constant pool table.</div>
  2617. </li>
  2618. </ul>
  2619. </li>
  2620. </ul>
  2621. </li>
  2622. </ul>
  2623. </div>
  2624. </div>
  2625. <!-- ========= END OF CLASS DATA ========= -->
  2626. <!-- ======= START OF BOTTOM NAVBAR ====== -->
  2627. <div class="bottomNav"><a name="navbar.bottom">
  2628. <!-- -->
  2629. </a>
  2630. <div class="skipNav"><a href="#skip.navbar.bottom" title="Skip navigation links">Skip navigation links</a></div>
  2631. <a name="navbar.bottom.firstrow">
  2632. <!-- -->
  2633. </a>
  2634. <ul class="navList" title="Navigation">
  2635. <li><a href="../../overview-summary.html">Overview</a></li>
  2636. <li><a href="package-summary.html">Package</a></li>
  2637. <li class="navBarCell1Rev">Class</li>
  2638. <li><a href="class-use/ConstPool.html">Use</a></li>
  2639. <li><a href="package-tree.html">Tree</a></li>
  2640. <li><a href="../../deprecated-list.html">Deprecated</a></li>
  2641. <li><a href="../../index-all.html">Index</a></li>
  2642. </ul>
  2643. </div>
  2644. <div class="subNav">
  2645. <ul class="navList">
  2646. <li><a href="../../javassist/bytecode/ConstantAttribute.html" title="class in javassist.bytecode"><span class="typeNameLink">Prev&nbsp;Class</span></a></li>
  2647. <li><a href="../../javassist/bytecode/DeprecatedAttribute.html" title="class in javassist.bytecode"><span class="typeNameLink">Next&nbsp;Class</span></a></li>
  2648. </ul>
  2649. <ul class="navList">
  2650. <li><a href="../../index.html?javassist/bytecode/ConstPool.html" target="_top">Frames</a></li>
  2651. <li><a href="ConstPool.html" target="_top">No&nbsp;Frames</a></li>
  2652. </ul>
  2653. <ul class="navList" id="allclasses_navbar_bottom">
  2654. <li><a href="../../allclasses-noframe.html">All&nbsp;Classes</a></li>
  2655. </ul>
  2656. <div>
  2657. <script type="text/javascript"><!--
  2658. allClassesLink = document.getElementById("allclasses_navbar_bottom");
  2659. if(window==top) {
  2660. allClassesLink.style.display = "block";
  2661. }
  2662. else {
  2663. allClassesLink.style.display = "none";
  2664. }
  2665. //-->
  2666. </script>
  2667. <noscript>
  2668. <div>JavaScript is disabled on your browser.</div>
  2669. </noscript>
  2670. </div>
  2671. <div>
  2672. <ul class="subNavList">
  2673. <li>Summary:&nbsp;</li>
  2674. <li>Nested&nbsp;|&nbsp;</li>
  2675. <li><a href="#field.summary">Field</a>&nbsp;|&nbsp;</li>
  2676. <li><a href="#constructor.summary">Constr</a>&nbsp;|&nbsp;</li>
  2677. <li><a href="#method.summary">Method</a></li>
  2678. </ul>
  2679. <ul class="subNavList">
  2680. <li>Detail:&nbsp;</li>
  2681. <li><a href="#field.detail">Field</a>&nbsp;|&nbsp;</li>
  2682. <li><a href="#constructor.detail">Constr</a>&nbsp;|&nbsp;</li>
  2683. <li><a href="#method.detail">Method</a></li>
  2684. </ul>
  2685. </div>
  2686. <a name="skip.navbar.bottom">
  2687. <!-- -->
  2688. </a></div>
  2689. <!-- ======== END OF BOTTOM NAVBAR ======= -->
  2690. <p class="legalCopy"><small><i>Javassist, a Java-bytecode translator toolkit.<br>
  2691. Copyright (C) 1999- Shigeru Chiba. All Rights Reserved.</i></small></p>
  2692. </body>
  2693. </html>