123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479148014811482148314841485148614871488148914901491149214931494149514961497149814991500150115021503150415051506150715081509151015111512151315141515151615171518151915201521152215231524152515261527152815291530153115321533153415351536153715381539154015411542154315441545154615471548154915501551155215531554155515561557155815591560156115621563156415651566156715681569157015711572157315741575157615771578157915801581158215831584158515861587158815891590159115921593159415951596159715981599160016011602160316041605160616071608160916101611161216131614161516161617161816191620162116221623162416251626162716281629163016311632163316341635163616371638163916401641164216431644164516461647164816491650165116521653165416551656165716581659166016611662166316641665166616671668166916701671167216731674167516761677167816791680168116821683168416851686168716881689169016911692169316941695169616971698169917001701170217031704170517061707170817091710171117121713171417151716171717181719172017211722172317241725172617271728172917301731173217331734173517361737173817391740174117421743174417451746174717481749175017511752175317541755175617571758175917601761176217631764176517661767176817691770177117721773177417751776177717781779178017811782178317841785178617871788178917901791179217931794179517961797179817991800180118021803180418051806180718081809181018111812181318141815181618171818181918201821182218231824182518261827182818291830183118321833183418351836183718381839184018411842184318441845184618471848184918501851185218531854185518561857185818591860186118621863186418651866186718681869187018711872187318741875187618771878187918801881188218831884188518861887188818891890189118921893189418951896189718981899190019011902190319041905190619071908190919101911191219131914191519161917191819191920192119221923192419251926192719281929193019311932193319341935193619371938193919401941194219431944194519461947194819491950195119521953195419551956195719581959196019611962196319641965196619671968196919701971197219731974197519761977197819791980198119821983198419851986198719881989199019911992199319941995199619971998199920002001200220032004200520062007200820092010201120122013201420152016201720182019202020212022202320242025202620272028202920302031203220332034203520362037203820392040204120422043204420452046204720482049205020512052205320542055205620572058205920602061206220632064206520662067206820692070207120722073207420752076207720782079208020812082208320842085208620872088208920902091209220932094209520962097209820992100210121022103210421052106210721082109211021112112211321142115211621172118211921202121212221232124212521262127212821292130213121322133213421352136213721382139214021412142214321442145214621472148214921502151215221532154215521562157215821592160216121622163216421652166216721682169217021712172217321742175217621772178217921802181218221832184218521862187218821892190219121922193219421952196219721982199220022012202220322042205220622072208220922102211221222132214221522162217221822192220222122222223222422252226222722282229223022312232223322342235223622372238223922402241224222432244224522462247224822492250225122522253225422552256225722582259226022612262226322642265226622672268226922702271227222732274227522762277227822792280228122822283228422852286228722882289229022912292229322942295229622972298229923002301230223032304230523062307230823092310231123122313231423152316231723182319232023212322232323242325232623272328232923302331233223332334233523362337233823392340234123422343234423452346234723482349235023512352235323542355235623572358235923602361236223632364236523662367236823692370237123722373237423752376237723782379238023812382238323842385238623872388238923902391239223932394239523962397239823992400240124022403240424052406240724082409241024112412241324142415241624172418241924202421242224232424242524262427242824292430243124322433243424352436243724382439244024412442244324442445244624472448244924502451245224532454245524562457245824592460246124622463246424652466246724682469247024712472247324742475247624772478247924802481248224832484248524862487248824892490249124922493249424952496249724982499250025012502250325042505250625072508250925102511251225132514251525162517251825192520252125222523252425252526252725282529253025312532253325342535253625372538253925402541254225432544254525462547254825492550255125522553255425552556255725582559256025612562256325642565256625672568256925702571257225732574257525762577257825792580258125822583258425852586258725882589259025912592259325942595259625972598259926002601260226032604260526062607260826092610261126122613261426152616261726182619262026212622262326242625262626272628262926302631263226332634263526362637263826392640264126422643264426452646264726482649265026512652265326542655265626572658265926602661266226632664266526662667266826692670267126722673267426752676267726782679268026812682268326842685268626872688268926902691269226932694269526962697269826992700 |
- <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
- <!-- NewPage -->
- <html lang="en">
- <head>
- <!-- Generated by javadoc (10.0.1) on Thu Jun 21 01:52:55 JST 2018 -->
- <title>ConstPool (Javassist API)</title>
- <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
- <meta name="date" content="2018-06-21">
- <link rel="stylesheet" type="text/css" href="../../stylesheet.css" title="Style">
- <link rel="stylesheet" type="text/css" href="../../jquery/jquery-ui.css" title="Style">
- <script type="text/javascript" src="../../script.js"></script>
- <script type="text/javascript" src="../../jquery/jszip/dist/jszip.min.js"></script>
- <script type="text/javascript" src="../../jquery/jszip-utils/dist/jszip-utils.min.js"></script>
- <!--[if IE]>
- <script type="text/javascript" src="../../jquery/jszip-utils/dist/jszip-utils-ie.min.js"></script>
- <![endif]-->
- <script type="text/javascript" src="../../jquery/jquery-1.10.2.js"></script>
- <script type="text/javascript" src="../../jquery/jquery-ui.js"></script>
- </head>
- <body>
- <script type="text/javascript"><!--
- try {
- if (location.href.indexOf('is-external=true') == -1) {
- parent.document.title="ConstPool (Javassist API)";
- }
- }
- catch(err) {
- }
- //-->
- 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};
- var tabs = {65535:["t0","All Methods"],2:["t2","Instance Methods"],8:["t4","Concrete Methods"]};
- var altColor = "altColor";
- var rowColor = "rowColor";
- var tableTab = "tableTab";
- var activeTableTab = "activeTableTab";
- var pathtoroot = "../../";loadScripts(document, 'script');</script>
- <noscript>
- <div>JavaScript is disabled on your browser.</div>
- </noscript>
- <div class="fixedNav">
- <!-- ========= START OF TOP NAVBAR ======= -->
- <div class="topNav"><a name="navbar.top">
- <!-- -->
- </a>
- <div class="skipNav"><a href="#skip.navbar.top" title="Skip navigation links">Skip navigation links</a></div>
- <a name="navbar.top.firstrow">
- <!-- -->
- </a>
- <ul class="navList" title="Navigation">
- <li><a href="../../overview-summary.html">Overview</a></li>
- <li><a href="package-summary.html">Package</a></li>
- <li class="navBarCell1Rev">Class</li>
- <li><a href="class-use/ConstPool.html">Use</a></li>
- <li><a href="package-tree.html">Tree</a></li>
- <li><a href="../../deprecated-list.html">Deprecated</a></li>
- <li><a href="../../index-all.html">Index</a></li>
- </ul>
- </div>
- <div class="subNav">
- <ul class="navList">
- <li><a href="../../javassist/bytecode/ConstantAttribute.html" title="class in javassist.bytecode"><span class="typeNameLink">Prev Class</span></a></li>
- <li><a href="../../javassist/bytecode/DeprecatedAttribute.html" title="class in javassist.bytecode"><span class="typeNameLink">Next Class</span></a></li>
- </ul>
- <ul class="navList">
- <li><a href="../../index.html?javassist/bytecode/ConstPool.html" target="_top">Frames</a></li>
- <li><a href="ConstPool.html" target="_top">No Frames</a></li>
- </ul>
- <ul class="navList" id="allclasses_navbar_top">
- <li><a href="../../allclasses-noframe.html">All Classes</a></li>
- </ul>
- <ul class="navListSearch">
- <li><label for="search">SEARCH:</label>
- <input type="text" id="search" value="search" disabled="disabled">
- <input type="reset" id="reset" value="reset" disabled="disabled">
- </li>
- </ul>
- <div>
- <script type="text/javascript"><!--
- allClassesLink = document.getElementById("allclasses_navbar_top");
- if(window==top) {
- allClassesLink.style.display = "block";
- }
- else {
- allClassesLink.style.display = "none";
- }
- //-->
- </script>
- <noscript>
- <div>JavaScript is disabled on your browser.</div>
- </noscript>
- </div>
- <div>
- <ul class="subNavList">
- <li>Summary: </li>
- <li>Nested | </li>
- <li><a href="#field.summary">Field</a> | </li>
- <li><a href="#constructor.summary">Constr</a> | </li>
- <li><a href="#method.summary">Method</a></li>
- </ul>
- <ul class="subNavList">
- <li>Detail: </li>
- <li><a href="#field.detail">Field</a> | </li>
- <li><a href="#constructor.detail">Constr</a> | </li>
- <li><a href="#method.detail">Method</a></li>
- </ul>
- </div>
- <a name="skip.navbar.top">
- <!-- -->
- </a></div>
- <!-- ========= END OF TOP NAVBAR ========= -->
- </div>
- <div class="navPadding"> </div>
- <script type="text/javascript"><!--
- $('.navPadding').css('padding-top', $('.fixedNav').css("height"));
- //-->
- </script>
- <!-- ======== START OF CLASS DATA ======== -->
- <div class="header">
- <div class="subTitle"><span class="packageLabelInType">Package</span> <a href="../../javassist/bytecode/package-summary.html">javassist.bytecode</a></div>
- <h2 title="Class ConstPool" class="title">Class ConstPool</h2>
- </div>
- <div class="contentContainer">
- <ul class="inheritance">
- <li>java.lang.Object</li>
- <li>
- <ul class="inheritance">
- <li>javassist.bytecode.ConstPool</li>
- </ul>
- </li>
- </ul>
- <div class="description">
- <ul class="blockList">
- <li class="blockList">
- <hr>
- <pre>public final class <span class="typeNameLabel">ConstPool</span>
- extends java.lang.Object</pre>
- <div class="block">Constant pool table.</div>
- </li>
- </ul>
- </div>
- <div class="summary">
- <ul class="blockList">
- <li class="blockList">
- <!-- =========== FIELD SUMMARY =========== -->
- <ul class="blockList">
- <li class="blockList"><a name="field.summary">
- <!-- -->
- </a>
- <h3>Field Summary</h3>
- <table class="memberSummary" summary="Field Summary table, listing fields, and an explanation">
- <caption><span>Fields</span><span class="tabEnd"> </span></caption>
- <tr>
- <th class="colFirst" scope="col">Modifier and Type</th>
- <th class="colSecond" scope="col">Field</th>
- <th class="colLast" scope="col">Description</th>
- </tr>
- <tr class="altColor">
- <td class="colFirst"><code>static int</code></td>
- <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="../../javassist/bytecode/ConstPool.html#CONST_Class">CONST_Class</a></span></code></th>
- <td class="colLast">
- <div class="block"><code>CONSTANT_Class</code></div>
- </td>
- </tr>
- <tr class="rowColor">
- <td class="colFirst"><code>static int</code></td>
- <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="../../javassist/bytecode/ConstPool.html#CONST_Double">CONST_Double</a></span></code></th>
- <td class="colLast">
- <div class="block"><code>CONSTANT_Double</code></div>
- </td>
- </tr>
- <tr class="altColor">
- <td class="colFirst"><code>static int</code></td>
- <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="../../javassist/bytecode/ConstPool.html#CONST_Fieldref">CONST_Fieldref</a></span></code></th>
- <td class="colLast">
- <div class="block"><code>CONSTANT_Fieldref</code></div>
- </td>
- </tr>
- <tr class="rowColor">
- <td class="colFirst"><code>static int</code></td>
- <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="../../javassist/bytecode/ConstPool.html#CONST_Float">CONST_Float</a></span></code></th>
- <td class="colLast">
- <div class="block"><code>CONSTANT_Float</code></div>
- </td>
- </tr>
- <tr class="altColor">
- <td class="colFirst"><code>static int</code></td>
- <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="../../javassist/bytecode/ConstPool.html#CONST_Integer">CONST_Integer</a></span></code></th>
- <td class="colLast">
- <div class="block"><code>CONSTANT_Integer</code></div>
- </td>
- </tr>
- <tr class="rowColor">
- <td class="colFirst"><code>static int</code></td>
- <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="../../javassist/bytecode/ConstPool.html#CONST_InterfaceMethodref">CONST_InterfaceMethodref</a></span></code></th>
- <td class="colLast">
- <div class="block"><code>CONSTANT_InterfaceMethodref</code></div>
- </td>
- </tr>
- <tr class="altColor">
- <td class="colFirst"><code>static int</code></td>
- <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="../../javassist/bytecode/ConstPool.html#CONST_InvokeDynamic">CONST_InvokeDynamic</a></span></code></th>
- <td class="colLast">
- <div class="block"><code>CONSTANT_MethodHandle</code></div>
- </td>
- </tr>
- <tr class="rowColor">
- <td class="colFirst"><code>static int</code></td>
- <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="../../javassist/bytecode/ConstPool.html#CONST_Long">CONST_Long</a></span></code></th>
- <td class="colLast">
- <div class="block"><code>CONSTANT_Long</code></div>
- </td>
- </tr>
- <tr class="altColor">
- <td class="colFirst"><code>static int</code></td>
- <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="../../javassist/bytecode/ConstPool.html#CONST_MethodHandle">CONST_MethodHandle</a></span></code></th>
- <td class="colLast">
- <div class="block"><code>CONSTANT_MethodHandle</code></div>
- </td>
- </tr>
- <tr class="rowColor">
- <td class="colFirst"><code>static int</code></td>
- <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="../../javassist/bytecode/ConstPool.html#CONST_Methodref">CONST_Methodref</a></span></code></th>
- <td class="colLast">
- <div class="block"><code>CONSTANT_Methodref</code></div>
- </td>
- </tr>
- <tr class="altColor">
- <td class="colFirst"><code>static int</code></td>
- <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="../../javassist/bytecode/ConstPool.html#CONST_MethodType">CONST_MethodType</a></span></code></th>
- <td class="colLast">
- <div class="block"><code>CONSTANT_MethodHandle</code></div>
- </td>
- </tr>
- <tr class="rowColor">
- <td class="colFirst"><code>static int</code></td>
- <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="../../javassist/bytecode/ConstPool.html#CONST_Module">CONST_Module</a></span></code></th>
- <td class="colLast">
- <div class="block"><code>CONSTANT_Module</code></div>
- </td>
- </tr>
- <tr class="altColor">
- <td class="colFirst"><code>static int</code></td>
- <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="../../javassist/bytecode/ConstPool.html#CONST_NameAndType">CONST_NameAndType</a></span></code></th>
- <td class="colLast">
- <div class="block"><code>CONSTANT_NameAndType</code></div>
- </td>
- </tr>
- <tr class="rowColor">
- <td class="colFirst"><code>static int</code></td>
- <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="../../javassist/bytecode/ConstPool.html#CONST_Package">CONST_Package</a></span></code></th>
- <td class="colLast">
- <div class="block"><code>CONSTANT_Package</code></div>
- </td>
- </tr>
- <tr class="altColor">
- <td class="colFirst"><code>static int</code></td>
- <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="../../javassist/bytecode/ConstPool.html#CONST_String">CONST_String</a></span></code></th>
- <td class="colLast">
- <div class="block"><code>CONSTANT_String</code></div>
- </td>
- </tr>
- <tr class="rowColor">
- <td class="colFirst"><code>static int</code></td>
- <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="../../javassist/bytecode/ConstPool.html#CONST_Utf8">CONST_Utf8</a></span></code></th>
- <td class="colLast">
- <div class="block"><code>CONSTANT_Utf8</code></div>
- </td>
- </tr>
- <tr class="altColor">
- <td class="colFirst"><code>static int</code></td>
- <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="../../javassist/bytecode/ConstPool.html#REF_getField">REF_getField</a></span></code></th>
- <td class="colLast">
- <div class="block"><code>reference_kind</code> of <code>CONSTANT_MethodHandle_info</code>.</div>
- </td>
- </tr>
- <tr class="rowColor">
- <td class="colFirst"><code>static int</code></td>
- <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="../../javassist/bytecode/ConstPool.html#REF_getStatic">REF_getStatic</a></span></code></th>
- <td class="colLast">
- <div class="block"><code>reference_kind</code> of <code>CONSTANT_MethodHandle_info</code>.</div>
- </td>
- </tr>
- <tr class="altColor">
- <td class="colFirst"><code>static int</code></td>
- <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="../../javassist/bytecode/ConstPool.html#REF_invokeInterface">REF_invokeInterface</a></span></code></th>
- <td class="colLast">
- <div class="block"><code>reference_kind</code> of <code>CONSTANT_MethodHandle_info</code>.</div>
- </td>
- </tr>
- <tr class="rowColor">
- <td class="colFirst"><code>static int</code></td>
- <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="../../javassist/bytecode/ConstPool.html#REF_invokeSpecial">REF_invokeSpecial</a></span></code></th>
- <td class="colLast">
- <div class="block"><code>reference_kind</code> of <code>CONSTANT_MethodHandle_info</code>.</div>
- </td>
- </tr>
- <tr class="altColor">
- <td class="colFirst"><code>static int</code></td>
- <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="../../javassist/bytecode/ConstPool.html#REF_invokeStatic">REF_invokeStatic</a></span></code></th>
- <td class="colLast">
- <div class="block"><code>reference_kind</code> of <code>CONSTANT_MethodHandle_info</code>.</div>
- </td>
- </tr>
- <tr class="rowColor">
- <td class="colFirst"><code>static int</code></td>
- <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="../../javassist/bytecode/ConstPool.html#REF_invokeVirtual">REF_invokeVirtual</a></span></code></th>
- <td class="colLast">
- <div class="block"><code>reference_kind</code> of <code>CONSTANT_MethodHandle_info</code>.</div>
- </td>
- </tr>
- <tr class="altColor">
- <td class="colFirst"><code>static int</code></td>
- <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="../../javassist/bytecode/ConstPool.html#REF_newInvokeSpecial">REF_newInvokeSpecial</a></span></code></th>
- <td class="colLast">
- <div class="block"><code>reference_kind</code> of <code>CONSTANT_MethodHandle_info</code>.</div>
- </td>
- </tr>
- <tr class="rowColor">
- <td class="colFirst"><code>static int</code></td>
- <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="../../javassist/bytecode/ConstPool.html#REF_putField">REF_putField</a></span></code></th>
- <td class="colLast">
- <div class="block"><code>reference_kind</code> of <code>CONSTANT_MethodHandle_info</code>.</div>
- </td>
- </tr>
- <tr class="altColor">
- <td class="colFirst"><code>static int</code></td>
- <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="../../javassist/bytecode/ConstPool.html#REF_putStatic">REF_putStatic</a></span></code></th>
- <td class="colLast">
- <div class="block"><code>reference_kind</code> of <code>CONSTANT_MethodHandle_info</code>.</div>
- </td>
- </tr>
- <tr class="rowColor">
- <td class="colFirst"><code>static <a href="../../javassist/CtClass.html" title="class in javassist">CtClass</a></code></td>
- <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="../../javassist/bytecode/ConstPool.html#THIS">THIS</a></span></code></th>
- <td class="colLast">
- <div class="block">Represents the class using this constant pool table.</div>
- </td>
- </tr>
- </table>
- </li>
- </ul>
- <!-- ======== CONSTRUCTOR SUMMARY ======== -->
- <ul class="blockList">
- <li class="blockList"><a name="constructor.summary">
- <!-- -->
- </a>
- <h3>Constructor Summary</h3>
- <table class="memberSummary" summary="Constructor Summary table, listing constructors, and an explanation">
- <caption><span>Constructors</span><span class="tabEnd"> </span></caption>
- <tr>
- <th class="colFirst" scope="col">Constructor</th>
- <th class="colLast" scope="col">Description</th>
- </tr>
- <tr class="altColor">
- <th class="colConstructorName" scope="row"><code><span class="memberNameLink"><a href="../../javassist/bytecode/ConstPool.html#ConstPool-java.io.DataInputStream-">ConstPool</a></span>​(java.io.DataInputStream in)</code></th>
- <td class="colLast">
- <div class="block">Constructs a constant pool table from the given byte stream.</div>
- </td>
- </tr>
- <tr class="rowColor">
- <th class="colConstructorName" scope="row"><code><span class="memberNameLink"><a href="../../javassist/bytecode/ConstPool.html#ConstPool-java.lang.String-">ConstPool</a></span>​(java.lang.String thisclass)</code></th>
- <td class="colLast">
- <div class="block">Constructs a constant pool table.</div>
- </td>
- </tr>
- </table>
- </li>
- </ul>
- <!-- ========== METHOD SUMMARY =========== -->
- <ul class="blockList">
- <li class="blockList"><a name="method.summary">
- <!-- -->
- </a>
- <h3>Method Summary</h3>
- <table class="memberSummary" summary="Method Summary table, listing methods, and an explanation">
- <caption><span id="t0" class="activeTableTab"><span>All Methods</span><span class="tabEnd"> </span></span><span id="t2" class="tableTab"><span><a href="javascript:show(2);">Instance Methods</a></span><span class="tabEnd"> </span></span><span id="t4" class="tableTab"><span><a href="javascript:show(8);">Concrete Methods</a></span><span class="tabEnd"> </span></span></caption>
- <tr>
- <th class="colFirst" scope="col">Modifier and Type</th>
- <th class="colSecond" scope="col">Method</th>
- <th class="colLast" scope="col">Description</th>
- </tr>
- <tr id="i0" class="altColor">
- <td class="colFirst"><code>int</code></td>
- <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="../../javassist/bytecode/ConstPool.html#addClassInfo-java.lang.String-">addClassInfo</a></span>​(java.lang.String qname)</code></th>
- <td class="colLast">
- <div class="block">Adds a new <code>CONSTANT_Class_info</code> structure.</div>
- </td>
- </tr>
- <tr id="i1" class="rowColor">
- <td class="colFirst"><code>int</code></td>
- <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="../../javassist/bytecode/ConstPool.html#addClassInfo-javassist.CtClass-">addClassInfo</a></span>​(<a href="../../javassist/CtClass.html" title="class in javassist">CtClass</a> c)</code></th>
- <td class="colLast">
- <div class="block">Adds a new <code>CONSTANT_Class_info</code> structure.</div>
- </td>
- </tr>
- <tr id="i2" class="altColor">
- <td class="colFirst"><code>int</code></td>
- <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="../../javassist/bytecode/ConstPool.html#addDoubleInfo-double-">addDoubleInfo</a></span>​(double d)</code></th>
- <td class="colLast">
- <div class="block">Adds a new <code>CONSTANT_Double_info</code>
- structure.</div>
- </td>
- </tr>
- <tr id="i3" class="rowColor">
- <td class="colFirst"><code>int</code></td>
- <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="../../javassist/bytecode/ConstPool.html#addFieldrefInfo-int-int-">addFieldrefInfo</a></span>​(int classInfo,
- int nameAndTypeInfo)</code></th>
- <td class="colLast">
- <div class="block">Adds a new <code>CONSTANT_Fieldref_info</code> structure.</div>
- </td>
- </tr>
- <tr id="i4" class="altColor">
- <td class="colFirst"><code>int</code></td>
- <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>​(int classInfo,
- java.lang.String name,
- java.lang.String type)</code></th>
- <td class="colLast">
- <div class="block">Adds a new <code>CONSTANT_Fieldref_info</code> structure.</div>
- </td>
- </tr>
- <tr id="i5" class="rowColor">
- <td class="colFirst"><code>int</code></td>
- <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="../../javassist/bytecode/ConstPool.html#addFloatInfo-float-">addFloatInfo</a></span>​(float f)</code></th>
- <td class="colLast">
- <div class="block">Adds a new <code>CONSTANT_Float_info</code>
- structure.</div>
- </td>
- </tr>
- <tr id="i6" class="altColor">
- <td class="colFirst"><code>int</code></td>
- <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="../../javassist/bytecode/ConstPool.html#addIntegerInfo-int-">addIntegerInfo</a></span>​(int i)</code></th>
- <td class="colLast">
- <div class="block">Adds a new <code>CONSTANT_Integer_info</code>
- structure.</div>
- </td>
- </tr>
- <tr id="i7" class="rowColor">
- <td class="colFirst"><code>int</code></td>
- <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="../../javassist/bytecode/ConstPool.html#addInterfaceMethodrefInfo-int-int-">addInterfaceMethodrefInfo</a></span>​(int classInfo,
- int nameAndTypeInfo)</code></th>
- <td class="colLast">
- <div class="block">Adds a new <code>CONSTANT_InterfaceMethodref_info</code>
- structure.</div>
- </td>
- </tr>
- <tr id="i8" class="altColor">
- <td class="colFirst"><code>int</code></td>
- <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>​(int classInfo,
- java.lang.String name,
- java.lang.String type)</code></th>
- <td class="colLast">
- <div class="block">Adds a new <code>CONSTANT_InterfaceMethodref_info</code>
- structure.</div>
- </td>
- </tr>
- <tr id="i9" class="rowColor">
- <td class="colFirst"><code>int</code></td>
- <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="../../javassist/bytecode/ConstPool.html#addInvokeDynamicInfo-int-int-">addInvokeDynamicInfo</a></span>​(int bootstrap,
- int nameAndType)</code></th>
- <td class="colLast">
- <div class="block">Adds a new <code>CONSTANT_InvokeDynamic_info</code>
- structure.</div>
- </td>
- </tr>
- <tr id="i10" class="altColor">
- <td class="colFirst"><code>int</code></td>
- <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="../../javassist/bytecode/ConstPool.html#addLongInfo-long-">addLongInfo</a></span>​(long l)</code></th>
- <td class="colLast">
- <div class="block">Adds a new <code>CONSTANT_Long_info</code>
- structure.</div>
- </td>
- </tr>
- <tr id="i11" class="rowColor">
- <td class="colFirst"><code>int</code></td>
- <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="../../javassist/bytecode/ConstPool.html#addMethodHandleInfo-int-int-">addMethodHandleInfo</a></span>​(int kind,
- int index)</code></th>
- <td class="colLast">
- <div class="block">Adds a new <code>CONSTANT_MethodHandle_info</code>
- structure.</div>
- </td>
- </tr>
- <tr id="i12" class="altColor">
- <td class="colFirst"><code>int</code></td>
- <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="../../javassist/bytecode/ConstPool.html#addMethodrefInfo-int-int-">addMethodrefInfo</a></span>​(int classInfo,
- int nameAndTypeInfo)</code></th>
- <td class="colLast">
- <div class="block">Adds a new <code>CONSTANT_Methodref_info</code> structure.</div>
- </td>
- </tr>
- <tr id="i13" class="rowColor">
- <td class="colFirst"><code>int</code></td>
- <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>​(int classInfo,
- java.lang.String name,
- java.lang.String type)</code></th>
- <td class="colLast">
- <div class="block">Adds a new <code>CONSTANT_Methodref_info</code> structure.</div>
- </td>
- </tr>
- <tr id="i14" class="altColor">
- <td class="colFirst"><code>int</code></td>
- <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="../../javassist/bytecode/ConstPool.html#addMethodTypeInfo-int-">addMethodTypeInfo</a></span>​(int desc)</code></th>
- <td class="colLast">
- <div class="block">Adds a new <code>CONSTANT_MethodType_info</code>
- structure.</div>
- </td>
- </tr>
- <tr id="i15" class="rowColor">
- <td class="colFirst"><code>int</code></td>
- <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="../../javassist/bytecode/ConstPool.html#addModuleInfo-int-">addModuleInfo</a></span>​(int nameIndex)</code></th>
- <td class="colLast">
- <div class="block">Adds a new <code>CONSTANT_Module_info</code></div>
- </td>
- </tr>
- <tr id="i16" class="altColor">
- <td class="colFirst"><code>int</code></td>
- <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="../../javassist/bytecode/ConstPool.html#addNameAndTypeInfo-int-int-">addNameAndTypeInfo</a></span>​(int name,
- int type)</code></th>
- <td class="colLast">
- <div class="block">Adds a new <code>CONSTANT_NameAndType_info</code> structure.</div>
- </td>
- </tr>
- <tr id="i17" class="rowColor">
- <td class="colFirst"><code>int</code></td>
- <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>​(java.lang.String name,
- java.lang.String type)</code></th>
- <td class="colLast">
- <div class="block">Adds a new <code>CONSTANT_NameAndType_info</code> structure.</div>
- </td>
- </tr>
- <tr id="i18" class="altColor">
- <td class="colFirst"><code>int</code></td>
- <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="../../javassist/bytecode/ConstPool.html#addPackageInfo-int-">addPackageInfo</a></span>​(int nameIndex)</code></th>
- <td class="colLast">
- <div class="block">Adds a new <code>CONSTANT_Package_info</code></div>
- </td>
- </tr>
- <tr id="i19" class="rowColor">
- <td class="colFirst"><code>int</code></td>
- <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="../../javassist/bytecode/ConstPool.html#addStringInfo-java.lang.String-">addStringInfo</a></span>​(java.lang.String str)</code></th>
- <td class="colLast">
- <div class="block">Adds a new <code>CONSTANT_String_info</code>
- structure.</div>
- </td>
- </tr>
- <tr id="i20" class="altColor">
- <td class="colFirst"><code>int</code></td>
- <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="../../javassist/bytecode/ConstPool.html#addUtf8Info-java.lang.String-">addUtf8Info</a></span>​(java.lang.String utf8)</code></th>
- <td class="colLast">
- <div class="block">Adds a new <code>CONSTANT_Utf8_info</code>
- structure.</div>
- </td>
- </tr>
- <tr id="i21" class="rowColor">
- <td class="colFirst"><code>int</code></td>
- <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>​(int n,
- <a href="../../javassist/bytecode/ConstPool.html" title="class in javassist.bytecode">ConstPool</a> dest,
- java.util.Map<java.lang.String,java.lang.String> classnames)</code></th>
- <td class="colLast">
- <div class="block">Copies the n-th item in this ConstPool object into the destination
- ConstPool object.</div>
- </td>
- </tr>
- <tr id="i22" class="altColor">
- <td class="colFirst"><code>java.lang.String</code></td>
- <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>​(java.lang.String membername,
- java.lang.String desc,
- int index)</code></th>
- <td class="colLast">
- <div class="block">Determines whether <code>CONSTANT_Methodref_info</code>,
- <code>CONSTANT_Fieldref_info</code>, or
- <code>CONSTANT_InterfaceMethodref_info</code> structure
- at the given index has the name and the descriptor
- given as the arguments.</div>
- </td>
- </tr>
- <tr id="i23" class="rowColor">
- <td class="colFirst"><code>java.lang.String</code></td>
- <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="../../javassist/bytecode/ConstPool.html#getClassInfo-int-">getClassInfo</a></span>​(int index)</code></th>
- <td class="colLast">
- <div class="block">Reads <code>CONSTANT_Class_info</code> structure
- at the given index.</div>
- </td>
- </tr>
- <tr id="i24" class="altColor">
- <td class="colFirst"><code>java.lang.String</code></td>
- <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="../../javassist/bytecode/ConstPool.html#getClassInfoByDescriptor-int-">getClassInfoByDescriptor</a></span>​(int index)</code></th>
- <td class="colLast">
- <div class="block">Reads <code>CONSTANT_Class_info</code> structure
- at the given index.</div>
- </td>
- </tr>
- <tr id="i25" class="rowColor">
- <td class="colFirst"><code>java.lang.String</code></td>
- <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="../../javassist/bytecode/ConstPool.html#getClassName--">getClassName</a></span>()</code></th>
- <td class="colLast">
- <div class="block">Returns the name of the class using this constant pool table.</div>
- </td>
- </tr>
- <tr id="i26" class="altColor">
- <td class="colFirst"><code>java.util.Set<java.lang.String></code></td>
- <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="../../javassist/bytecode/ConstPool.html#getClassNames--">getClassNames</a></span>()</code></th>
- <td class="colLast">
- <div class="block">Get all the class names.</div>
- </td>
- </tr>
- <tr id="i27" class="rowColor">
- <td class="colFirst"><code>double</code></td>
- <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="../../javassist/bytecode/ConstPool.html#getDoubleInfo-int-">getDoubleInfo</a></span>​(int index)</code></th>
- <td class="colLast">
- <div class="block">Reads <code>CONSTANT_Double_info</code> structure
- at the given index.</div>
- </td>
- </tr>
- <tr id="i28" class="altColor">
- <td class="colFirst"><code>int</code></td>
- <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="../../javassist/bytecode/ConstPool.html#getFieldrefClass-int-">getFieldrefClass</a></span>​(int index)</code></th>
- <td class="colLast">
- <div class="block">Reads the <code>class_index</code> field of the
- <code>CONSTANT_Fieldref_info</code> structure
- at the given index.</div>
- </td>
- </tr>
- <tr id="i29" class="rowColor">
- <td class="colFirst"><code>java.lang.String</code></td>
- <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="../../javassist/bytecode/ConstPool.html#getFieldrefClassName-int-">getFieldrefClassName</a></span>​(int index)</code></th>
- <td class="colLast">
- <div class="block">Reads the <code>class_index</code> field of the
- <code>CONSTANT_Fieldref_info</code> structure
- at the given index.</div>
- </td>
- </tr>
- <tr id="i30" class="altColor">
- <td class="colFirst"><code>java.lang.String</code></td>
- <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="../../javassist/bytecode/ConstPool.html#getFieldrefName-int-">getFieldrefName</a></span>​(int index)</code></th>
- <td class="colLast">
- <div class="block">Reads the <code>name_index</code> field of the
- <code>CONSTANT_NameAndType_info</code> structure
- indirectly specified by the given index.</div>
- </td>
- </tr>
- <tr id="i31" class="rowColor">
- <td class="colFirst"><code>int</code></td>
- <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="../../javassist/bytecode/ConstPool.html#getFieldrefNameAndType-int-">getFieldrefNameAndType</a></span>​(int index)</code></th>
- <td class="colLast">
- <div class="block">Reads the <code>name_and_type_index</code> field of the
- <code>CONSTANT_Fieldref_info</code> structure
- at the given index.</div>
- </td>
- </tr>
- <tr id="i32" class="altColor">
- <td class="colFirst"><code>java.lang.String</code></td>
- <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="../../javassist/bytecode/ConstPool.html#getFieldrefType-int-">getFieldrefType</a></span>​(int index)</code></th>
- <td class="colLast">
- <div class="block">Reads the <code>descriptor_index</code> field of the
- <code>CONSTANT_NameAndType_info</code> structure
- indirectly specified by the given index.</div>
- </td>
- </tr>
- <tr id="i33" class="rowColor">
- <td class="colFirst"><code>float</code></td>
- <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="../../javassist/bytecode/ConstPool.html#getFloatInfo-int-">getFloatInfo</a></span>​(int index)</code></th>
- <td class="colLast">
- <div class="block">Reads <code>CONSTANT_Float_info</code> structure
- at the given index.</div>
- </td>
- </tr>
- <tr id="i34" class="altColor">
- <td class="colFirst"><code>int</code></td>
- <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="../../javassist/bytecode/ConstPool.html#getIntegerInfo-int-">getIntegerInfo</a></span>​(int index)</code></th>
- <td class="colLast">
- <div class="block">Reads <code>CONSTANT_Integer_info</code> structure
- at the given index.</div>
- </td>
- </tr>
- <tr id="i35" class="rowColor">
- <td class="colFirst"><code>int</code></td>
- <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="../../javassist/bytecode/ConstPool.html#getInterfaceMethodrefClass-int-">getInterfaceMethodrefClass</a></span>​(int index)</code></th>
- <td class="colLast">
- <div class="block">Reads the <code>class_index</code> field of the
- <code>CONSTANT_InterfaceMethodref_info</code> structure
- at the given index.</div>
- </td>
- </tr>
- <tr id="i36" class="altColor">
- <td class="colFirst"><code>java.lang.String</code></td>
- <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="../../javassist/bytecode/ConstPool.html#getInterfaceMethodrefClassName-int-">getInterfaceMethodrefClassName</a></span>​(int index)</code></th>
- <td class="colLast">
- <div class="block">Reads the <code>class_index</code> field of the
- <code>CONSTANT_InterfaceMethodref_info</code> structure
- at the given index.</div>
- </td>
- </tr>
- <tr id="i37" class="rowColor">
- <td class="colFirst"><code>java.lang.String</code></td>
- <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="../../javassist/bytecode/ConstPool.html#getInterfaceMethodrefName-int-">getInterfaceMethodrefName</a></span>​(int index)</code></th>
- <td class="colLast">
- <div class="block">Reads the <code>name_index</code> field of the
- <code>CONSTANT_NameAndType_info</code> structure
- indirectly specified by the given index.</div>
- </td>
- </tr>
- <tr id="i38" class="altColor">
- <td class="colFirst"><code>int</code></td>
- <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="../../javassist/bytecode/ConstPool.html#getInterfaceMethodrefNameAndType-int-">getInterfaceMethodrefNameAndType</a></span>​(int index)</code></th>
- <td class="colLast">
- <div class="block">Reads the <code>name_and_type_index</code> field of the
- <code>CONSTANT_InterfaceMethodref_info</code> structure
- at the given index.</div>
- </td>
- </tr>
- <tr id="i39" class="rowColor">
- <td class="colFirst"><code>java.lang.String</code></td>
- <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="../../javassist/bytecode/ConstPool.html#getInterfaceMethodrefType-int-">getInterfaceMethodrefType</a></span>​(int index)</code></th>
- <td class="colLast">
- <div class="block">Reads the <code>descriptor_index</code> field of the
- <code>CONSTANT_NameAndType_info</code> structure
- indirectly specified by the given index.</div>
- </td>
- </tr>
- <tr id="i40" class="altColor">
- <td class="colFirst"><code>int</code></td>
- <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="../../javassist/bytecode/ConstPool.html#getInvokeDynamicBootstrap-int-">getInvokeDynamicBootstrap</a></span>​(int index)</code></th>
- <td class="colLast">
- <div class="block">Reads the <code>bootstrap_method_attr_index</code> field of the
- <code>CONSTANT_InvokeDynamic_info</code> structure
- at the given index.</div>
- </td>
- </tr>
- <tr id="i41" class="rowColor">
- <td class="colFirst"><code>int</code></td>
- <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="../../javassist/bytecode/ConstPool.html#getInvokeDynamicNameAndType-int-">getInvokeDynamicNameAndType</a></span>​(int index)</code></th>
- <td class="colLast">
- <div class="block">Reads the <code>name_and_type_index</code> field of the
- <code>CONSTANT_InvokeDynamic_info</code> structure
- at the given index.</div>
- </td>
- </tr>
- <tr id="i42" class="altColor">
- <td class="colFirst"><code>java.lang.String</code></td>
- <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="../../javassist/bytecode/ConstPool.html#getInvokeDynamicType-int-">getInvokeDynamicType</a></span>​(int index)</code></th>
- <td class="colLast">
- <div class="block">Reads the <code>descriptor_index</code> field of the
- <code>CONSTANT_NameAndType_info</code> structure
- indirectly specified by the given index.</div>
- </td>
- </tr>
- <tr id="i43" class="rowColor">
- <td class="colFirst"><code>java.lang.Object</code></td>
- <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="../../javassist/bytecode/ConstPool.html#getLdcValue-int-">getLdcValue</a></span>​(int index)</code></th>
- <td class="colLast">
- <div class="block">Reads <code>CONSTANT_Integer_info</code>, <code>_Float_info</code>,
- <code>_Long_info</code>, <code>_Double_info</code>, or
- <code>_String_info</code> structure.</div>
- </td>
- </tr>
- <tr id="i44" class="altColor">
- <td class="colFirst"><code>long</code></td>
- <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="../../javassist/bytecode/ConstPool.html#getLongInfo-int-">getLongInfo</a></span>​(int index)</code></th>
- <td class="colLast">
- <div class="block">Reads <code>CONSTANT_Long_info</code> structure
- at the given index.</div>
- </td>
- </tr>
- <tr id="i45" class="rowColor">
- <td class="colFirst"><code>int</code></td>
- <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="../../javassist/bytecode/ConstPool.html#getMemberClass-int-">getMemberClass</a></span>​(int index)</code></th>
- <td class="colLast">
- <div class="block">Reads the <code>class_index</code> field of the
- <code>CONSTANT_Fieldref_info</code>,
- <code>CONSTANT_Methodref_info</code>,
- or <code>CONSTANT_Interfaceref_info</code>,
- structure at the given index.</div>
- </td>
- </tr>
- <tr id="i46" class="altColor">
- <td class="colFirst"><code>int</code></td>
- <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="../../javassist/bytecode/ConstPool.html#getMemberNameAndType-int-">getMemberNameAndType</a></span>​(int index)</code></th>
- <td class="colLast">
- <div class="block">Reads the <code>name_and_type_index</code> field of the
- <code>CONSTANT_Fieldref_info</code>,
- <code>CONSTANT_Methodref_info</code>,
- or <code>CONSTANT_Interfaceref_info</code>,
- structure at the given index.</div>
- </td>
- </tr>
- <tr id="i47" class="rowColor">
- <td class="colFirst"><code>int</code></td>
- <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="../../javassist/bytecode/ConstPool.html#getMethodHandleIndex-int-">getMethodHandleIndex</a></span>​(int index)</code></th>
- <td class="colLast">
- <div class="block">Reads the <code>reference_index</code> field of the
- <code>CONSTANT_MethodHandle_info</code> structure
- at the given index.</div>
- </td>
- </tr>
- <tr id="i48" class="altColor">
- <td class="colFirst"><code>int</code></td>
- <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="../../javassist/bytecode/ConstPool.html#getMethodHandleKind-int-">getMethodHandleKind</a></span>​(int index)</code></th>
- <td class="colLast">
- <div class="block">Reads the <code>reference_kind</code> field of the
- <code>CONSTANT_MethodHandle_info</code> structure
- at the given index.</div>
- </td>
- </tr>
- <tr id="i49" class="rowColor">
- <td class="colFirst"><code>int</code></td>
- <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="../../javassist/bytecode/ConstPool.html#getMethodrefClass-int-">getMethodrefClass</a></span>​(int index)</code></th>
- <td class="colLast">
- <div class="block">Reads the <code>class_index</code> field of the
- <code>CONSTANT_Methodref_info</code> structure
- at the given index.</div>
- </td>
- </tr>
- <tr id="i50" class="altColor">
- <td class="colFirst"><code>java.lang.String</code></td>
- <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="../../javassist/bytecode/ConstPool.html#getMethodrefClassName-int-">getMethodrefClassName</a></span>​(int index)</code></th>
- <td class="colLast">
- <div class="block">Reads the <code>class_index</code> field of the
- <code>CONSTANT_Methodref_info</code> structure
- at the given index.</div>
- </td>
- </tr>
- <tr id="i51" class="rowColor">
- <td class="colFirst"><code>java.lang.String</code></td>
- <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="../../javassist/bytecode/ConstPool.html#getMethodrefName-int-">getMethodrefName</a></span>​(int index)</code></th>
- <td class="colLast">
- <div class="block">Reads the <code>name_index</code> field of the
- <code>CONSTANT_NameAndType_info</code> structure
- indirectly specified by the given index.</div>
- </td>
- </tr>
- <tr id="i52" class="altColor">
- <td class="colFirst"><code>int</code></td>
- <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="../../javassist/bytecode/ConstPool.html#getMethodrefNameAndType-int-">getMethodrefNameAndType</a></span>​(int index)</code></th>
- <td class="colLast">
- <div class="block">Reads the <code>name_and_type_index</code> field of the
- <code>CONSTANT_Methodref_info</code> structure
- at the given index.</div>
- </td>
- </tr>
- <tr id="i53" class="rowColor">
- <td class="colFirst"><code>java.lang.String</code></td>
- <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="../../javassist/bytecode/ConstPool.html#getMethodrefType-int-">getMethodrefType</a></span>​(int index)</code></th>
- <td class="colLast">
- <div class="block">Reads the <code>descriptor_index</code> field of the
- <code>CONSTANT_NameAndType_info</code> structure
- indirectly specified by the given index.</div>
- </td>
- </tr>
- <tr id="i54" class="altColor">
- <td class="colFirst"><code>int</code></td>
- <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="../../javassist/bytecode/ConstPool.html#getMethodTypeInfo-int-">getMethodTypeInfo</a></span>​(int index)</code></th>
- <td class="colLast">
- <div class="block">Reads the <code>descriptor_index</code> field of the
- <code>CONSTANT_MethodType_info</code> structure
- at the given index.</div>
- </td>
- </tr>
- <tr id="i55" class="rowColor">
- <td class="colFirst"><code>java.lang.String</code></td>
- <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="../../javassist/bytecode/ConstPool.html#getModuleInfo-int-">getModuleInfo</a></span>​(int index)</code></th>
- <td class="colLast">
- <div class="block">Reads the <code>name_index</code> field of the
- <code>CONSTANT_Module_info</code> structure at the given index.</div>
- </td>
- </tr>
- <tr id="i56" class="altColor">
- <td class="colFirst"><code>int</code></td>
- <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="../../javassist/bytecode/ConstPool.html#getNameAndTypeDescriptor-int-">getNameAndTypeDescriptor</a></span>​(int index)</code></th>
- <td class="colLast">
- <div class="block">Reads the <code>descriptor_index</code> field of the
- <code>CONSTANT_NameAndType_info</code> structure
- at the given index.</div>
- </td>
- </tr>
- <tr id="i57" class="rowColor">
- <td class="colFirst"><code>int</code></td>
- <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="../../javassist/bytecode/ConstPool.html#getNameAndTypeName-int-">getNameAndTypeName</a></span>​(int index)</code></th>
- <td class="colLast">
- <div class="block">Reads the <code>name_index</code> field of the
- <code>CONSTANT_NameAndType_info</code> structure
- at the given index.</div>
- </td>
- </tr>
- <tr id="i58" class="altColor">
- <td class="colFirst"><code>java.lang.String</code></td>
- <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="../../javassist/bytecode/ConstPool.html#getPackageInfo-int-">getPackageInfo</a></span>​(int index)</code></th>
- <td class="colLast">
- <div class="block">Reads the <code>name_index</code> field of the
- <code>CONSTANT_Package_info</code> structure at the given index.</div>
- </td>
- </tr>
- <tr id="i59" class="rowColor">
- <td class="colFirst"><code>int</code></td>
- <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="../../javassist/bytecode/ConstPool.html#getSize--">getSize</a></span>()</code></th>
- <td class="colLast">
- <div class="block">Returns the number of entries in this table.</div>
- </td>
- </tr>
- <tr id="i60" class="altColor">
- <td class="colFirst"><code>java.lang.String</code></td>
- <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="../../javassist/bytecode/ConstPool.html#getStringInfo-int-">getStringInfo</a></span>​(int index)</code></th>
- <td class="colLast">
- <div class="block">Reads <code>CONSTANT_String_info</code> structure
- at the given index.</div>
- </td>
- </tr>
- <tr id="i61" class="rowColor">
- <td class="colFirst"><code>int</code></td>
- <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="../../javassist/bytecode/ConstPool.html#getTag-int-">getTag</a></span>​(int index)</code></th>
- <td class="colLast">
- <div class="block">Returns the <code>tag</code> field of the constant pool table
- entry at the given index.</div>
- </td>
- </tr>
- <tr id="i62" class="altColor">
- <td class="colFirst"><code>int</code></td>
- <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="../../javassist/bytecode/ConstPool.html#getThisClassInfo--">getThisClassInfo</a></span>()</code></th>
- <td class="colLast">
- <div class="block">Returns the index of <code>CONSTANT_Class_info</code> structure
- specifying the class using this constant pool table.</div>
- </td>
- </tr>
- <tr id="i63" class="rowColor">
- <td class="colFirst"><code>java.lang.String</code></td>
- <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="../../javassist/bytecode/ConstPool.html#getUtf8Info-int-">getUtf8Info</a></span>​(int index)</code></th>
- <td class="colLast">
- <div class="block">Reads <code>CONSTANT_utf8_info</code> structure
- at the given index.</div>
- </td>
- </tr>
- <tr id="i64" class="altColor">
- <td class="colFirst"><code>int</code></td>
- <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="../../javassist/bytecode/ConstPool.html#isConstructor-java.lang.String-int-">isConstructor</a></span>​(java.lang.String classname,
- int index)</code></th>
- <td class="colLast">
- <div class="block">Determines whether <code>CONSTANT_Methodref_info</code>
- structure at the given index represents the constructor
- of the given class.</div>
- </td>
- </tr>
- <tr id="i65" class="rowColor">
- <td class="colFirst"><code>int</code></td>
- <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>​(java.lang.String classname,
- java.lang.String membername,
- int index)</code></th>
- <td class="colLast">
- <div class="block">Determines whether <code>CONSTANT_Methodref_info</code>,
- <code>CONSTANT_Fieldref_info</code>, or
- <code>CONSTANT_InterfaceMethodref_info</code> structure
- at the given index represents the member with the specified
- name and declaring class.</div>
- </td>
- </tr>
- <tr id="i66" class="altColor">
- <td class="colFirst"><code>void</code></td>
- <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="../../javassist/bytecode/ConstPool.html#print--">print</a></span>()</code></th>
- <td class="colLast">
- <div class="block">Prints the contents of the constant pool table.</div>
- </td>
- </tr>
- <tr id="i67" class="rowColor">
- <td class="colFirst"><code>void</code></td>
- <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="../../javassist/bytecode/ConstPool.html#print-java.io.PrintWriter-">print</a></span>​(java.io.PrintWriter out)</code></th>
- <td class="colLast">
- <div class="block">Prints the contents of the constant pool table.</div>
- </td>
- </tr>
- <tr id="i68" class="altColor">
- <td class="colFirst"><code>void</code></td>
- <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>​(java.lang.String oldName,
- java.lang.String newName)</code></th>
- <td class="colLast">
- <div class="block">Replaces all occurrences of a class name.</div>
- </td>
- </tr>
- <tr id="i69" class="rowColor">
- <td class="colFirst"><code>void</code></td>
- <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="../../javassist/bytecode/ConstPool.html#renameClass-java.util.Map-">renameClass</a></span>​(java.util.Map<java.lang.String,java.lang.String> classnames)</code></th>
- <td class="colLast">
- <div class="block">Replaces all occurrences of class names.</div>
- </td>
- </tr>
- <tr id="i70" class="altColor">
- <td class="colFirst"><code>void</code></td>
- <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="../../javassist/bytecode/ConstPool.html#write-java.io.DataOutputStream-">write</a></span>​(java.io.DataOutputStream out)</code></th>
- <td class="colLast">
- <div class="block">Writes the contents of the constant pool table.</div>
- </td>
- </tr>
- </table>
- <ul class="blockList">
- <li class="blockList"><a name="methods.inherited.from.class.java.lang.Object">
- <!-- -->
- </a>
- <h3>Methods inherited from class java.lang.Object</h3>
- <code>equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait</code></li>
- </ul>
- </li>
- </ul>
- </li>
- </ul>
- </div>
- <div class="details">
- <ul class="blockList">
- <li class="blockList">
- <!-- ============ FIELD DETAIL =========== -->
- <ul class="blockList">
- <li class="blockList"><a name="field.detail">
- <!-- -->
- </a>
- <h3>Field Detail</h3>
- <a name="CONST_Class">
- <!-- -->
- </a>
- <ul class="blockList">
- <li class="blockList">
- <h4>CONST_Class</h4>
- <pre>public static final int CONST_Class</pre>
- <div class="block"><code>CONSTANT_Class</code></div>
- <dl>
- <dt><span class="seeLabel">See Also:</span></dt>
- <dd><a href="../../constant-values.html#javassist.bytecode.ConstPool.CONST_Class">Constant Field Values</a></dd>
- </dl>
- </li>
- </ul>
- <a name="CONST_Fieldref">
- <!-- -->
- </a>
- <ul class="blockList">
- <li class="blockList">
- <h4>CONST_Fieldref</h4>
- <pre>public static final int CONST_Fieldref</pre>
- <div class="block"><code>CONSTANT_Fieldref</code></div>
- <dl>
- <dt><span class="seeLabel">See Also:</span></dt>
- <dd><a href="../../constant-values.html#javassist.bytecode.ConstPool.CONST_Fieldref">Constant Field Values</a></dd>
- </dl>
- </li>
- </ul>
- <a name="CONST_Methodref">
- <!-- -->
- </a>
- <ul class="blockList">
- <li class="blockList">
- <h4>CONST_Methodref</h4>
- <pre>public static final int CONST_Methodref</pre>
- <div class="block"><code>CONSTANT_Methodref</code></div>
- <dl>
- <dt><span class="seeLabel">See Also:</span></dt>
- <dd><a href="../../constant-values.html#javassist.bytecode.ConstPool.CONST_Methodref">Constant Field Values</a></dd>
- </dl>
- </li>
- </ul>
- <a name="CONST_InterfaceMethodref">
- <!-- -->
- </a>
- <ul class="blockList">
- <li class="blockList">
- <h4>CONST_InterfaceMethodref</h4>
- <pre>public static final int CONST_InterfaceMethodref</pre>
- <div class="block"><code>CONSTANT_InterfaceMethodref</code></div>
- <dl>
- <dt><span class="seeLabel">See Also:</span></dt>
- <dd><a href="../../constant-values.html#javassist.bytecode.ConstPool.CONST_InterfaceMethodref">Constant Field Values</a></dd>
- </dl>
- </li>
- </ul>
- <a name="CONST_String">
- <!-- -->
- </a>
- <ul class="blockList">
- <li class="blockList">
- <h4>CONST_String</h4>
- <pre>public static final int CONST_String</pre>
- <div class="block"><code>CONSTANT_String</code></div>
- <dl>
- <dt><span class="seeLabel">See Also:</span></dt>
- <dd><a href="../../constant-values.html#javassist.bytecode.ConstPool.CONST_String">Constant Field Values</a></dd>
- </dl>
- </li>
- </ul>
- <a name="CONST_Integer">
- <!-- -->
- </a>
- <ul class="blockList">
- <li class="blockList">
- <h4>CONST_Integer</h4>
- <pre>public static final int CONST_Integer</pre>
- <div class="block"><code>CONSTANT_Integer</code></div>
- <dl>
- <dt><span class="seeLabel">See Also:</span></dt>
- <dd><a href="../../constant-values.html#javassist.bytecode.ConstPool.CONST_Integer">Constant Field Values</a></dd>
- </dl>
- </li>
- </ul>
- <a name="CONST_Float">
- <!-- -->
- </a>
- <ul class="blockList">
- <li class="blockList">
- <h4>CONST_Float</h4>
- <pre>public static final int CONST_Float</pre>
- <div class="block"><code>CONSTANT_Float</code></div>
- <dl>
- <dt><span class="seeLabel">See Also:</span></dt>
- <dd><a href="../../constant-values.html#javassist.bytecode.ConstPool.CONST_Float">Constant Field Values</a></dd>
- </dl>
- </li>
- </ul>
- <a name="CONST_Long">
- <!-- -->
- </a>
- <ul class="blockList">
- <li class="blockList">
- <h4>CONST_Long</h4>
- <pre>public static final int CONST_Long</pre>
- <div class="block"><code>CONSTANT_Long</code></div>
- <dl>
- <dt><span class="seeLabel">See Also:</span></dt>
- <dd><a href="../../constant-values.html#javassist.bytecode.ConstPool.CONST_Long">Constant Field Values</a></dd>
- </dl>
- </li>
- </ul>
- <a name="CONST_Double">
- <!-- -->
- </a>
- <ul class="blockList">
- <li class="blockList">
- <h4>CONST_Double</h4>
- <pre>public static final int CONST_Double</pre>
- <div class="block"><code>CONSTANT_Double</code></div>
- <dl>
- <dt><span class="seeLabel">See Also:</span></dt>
- <dd><a href="../../constant-values.html#javassist.bytecode.ConstPool.CONST_Double">Constant Field Values</a></dd>
- </dl>
- </li>
- </ul>
- <a name="CONST_NameAndType">
- <!-- -->
- </a>
- <ul class="blockList">
- <li class="blockList">
- <h4>CONST_NameAndType</h4>
- <pre>public static final int CONST_NameAndType</pre>
- <div class="block"><code>CONSTANT_NameAndType</code></div>
- <dl>
- <dt><span class="seeLabel">See Also:</span></dt>
- <dd><a href="../../constant-values.html#javassist.bytecode.ConstPool.CONST_NameAndType">Constant Field Values</a></dd>
- </dl>
- </li>
- </ul>
- <a name="CONST_Utf8">
- <!-- -->
- </a>
- <ul class="blockList">
- <li class="blockList">
- <h4>CONST_Utf8</h4>
- <pre>public static final int CONST_Utf8</pre>
- <div class="block"><code>CONSTANT_Utf8</code></div>
- <dl>
- <dt><span class="seeLabel">See Also:</span></dt>
- <dd><a href="../../constant-values.html#javassist.bytecode.ConstPool.CONST_Utf8">Constant Field Values</a></dd>
- </dl>
- </li>
- </ul>
- <a name="CONST_MethodHandle">
- <!-- -->
- </a>
- <ul class="blockList">
- <li class="blockList">
- <h4>CONST_MethodHandle</h4>
- <pre>public static final int CONST_MethodHandle</pre>
- <div class="block"><code>CONSTANT_MethodHandle</code></div>
- <dl>
- <dt><span class="seeLabel">See Also:</span></dt>
- <dd><a href="../../constant-values.html#javassist.bytecode.ConstPool.CONST_MethodHandle">Constant Field Values</a></dd>
- </dl>
- </li>
- </ul>
- <a name="CONST_MethodType">
- <!-- -->
- </a>
- <ul class="blockList">
- <li class="blockList">
- <h4>CONST_MethodType</h4>
- <pre>public static final int CONST_MethodType</pre>
- <div class="block"><code>CONSTANT_MethodHandle</code></div>
- <dl>
- <dt><span class="seeLabel">See Also:</span></dt>
- <dd><a href="../../constant-values.html#javassist.bytecode.ConstPool.CONST_MethodType">Constant Field Values</a></dd>
- </dl>
- </li>
- </ul>
- <a name="CONST_InvokeDynamic">
- <!-- -->
- </a>
- <ul class="blockList">
- <li class="blockList">
- <h4>CONST_InvokeDynamic</h4>
- <pre>public static final int CONST_InvokeDynamic</pre>
- <div class="block"><code>CONSTANT_MethodHandle</code></div>
- <dl>
- <dt><span class="seeLabel">See Also:</span></dt>
- <dd><a href="../../constant-values.html#javassist.bytecode.ConstPool.CONST_InvokeDynamic">Constant Field Values</a></dd>
- </dl>
- </li>
- </ul>
- <a name="CONST_Module">
- <!-- -->
- </a>
- <ul class="blockList">
- <li class="blockList">
- <h4>CONST_Module</h4>
- <pre>public static final int CONST_Module</pre>
- <div class="block"><code>CONSTANT_Module</code></div>
- <dl>
- <dt><span class="seeLabel">See Also:</span></dt>
- <dd><a href="../../constant-values.html#javassist.bytecode.ConstPool.CONST_Module">Constant Field Values</a></dd>
- </dl>
- </li>
- </ul>
- <a name="CONST_Package">
- <!-- -->
- </a>
- <ul class="blockList">
- <li class="blockList">
- <h4>CONST_Package</h4>
- <pre>public static final int CONST_Package</pre>
- <div class="block"><code>CONSTANT_Package</code></div>
- <dl>
- <dt><span class="seeLabel">See Also:</span></dt>
- <dd><a href="../../constant-values.html#javassist.bytecode.ConstPool.CONST_Package">Constant Field Values</a></dd>
- </dl>
- </li>
- </ul>
- <a name="THIS">
- <!-- -->
- </a>
- <ul class="blockList">
- <li class="blockList">
- <h4>THIS</h4>
- <pre>public static final <a href="../../javassist/CtClass.html" title="class in javassist">CtClass</a> THIS</pre>
- <div class="block">Represents the class using this constant pool table.</div>
- </li>
- </ul>
- <a name="REF_getField">
- <!-- -->
- </a>
- <ul class="blockList">
- <li class="blockList">
- <h4>REF_getField</h4>
- <pre>public static final int REF_getField</pre>
- <div class="block"><code>reference_kind</code> of <code>CONSTANT_MethodHandle_info</code>.</div>
- <dl>
- <dt><span class="seeLabel">See Also:</span></dt>
- <dd><a href="../../constant-values.html#javassist.bytecode.ConstPool.REF_getField">Constant Field Values</a></dd>
- </dl>
- </li>
- </ul>
- <a name="REF_getStatic">
- <!-- -->
- </a>
- <ul class="blockList">
- <li class="blockList">
- <h4>REF_getStatic</h4>
- <pre>public static final int REF_getStatic</pre>
- <div class="block"><code>reference_kind</code> of <code>CONSTANT_MethodHandle_info</code>.</div>
- <dl>
- <dt><span class="seeLabel">See Also:</span></dt>
- <dd><a href="../../constant-values.html#javassist.bytecode.ConstPool.REF_getStatic">Constant Field Values</a></dd>
- </dl>
- </li>
- </ul>
- <a name="REF_putField">
- <!-- -->
- </a>
- <ul class="blockList">
- <li class="blockList">
- <h4>REF_putField</h4>
- <pre>public static final int REF_putField</pre>
- <div class="block"><code>reference_kind</code> of <code>CONSTANT_MethodHandle_info</code>.</div>
- <dl>
- <dt><span class="seeLabel">See Also:</span></dt>
- <dd><a href="../../constant-values.html#javassist.bytecode.ConstPool.REF_putField">Constant Field Values</a></dd>
- </dl>
- </li>
- </ul>
- <a name="REF_putStatic">
- <!-- -->
- </a>
- <ul class="blockList">
- <li class="blockList">
- <h4>REF_putStatic</h4>
- <pre>public static final int REF_putStatic</pre>
- <div class="block"><code>reference_kind</code> of <code>CONSTANT_MethodHandle_info</code>.</div>
- <dl>
- <dt><span class="seeLabel">See Also:</span></dt>
- <dd><a href="../../constant-values.html#javassist.bytecode.ConstPool.REF_putStatic">Constant Field Values</a></dd>
- </dl>
- </li>
- </ul>
- <a name="REF_invokeVirtual">
- <!-- -->
- </a>
- <ul class="blockList">
- <li class="blockList">
- <h4>REF_invokeVirtual</h4>
- <pre>public static final int REF_invokeVirtual</pre>
- <div class="block"><code>reference_kind</code> of <code>CONSTANT_MethodHandle_info</code>.</div>
- <dl>
- <dt><span class="seeLabel">See Also:</span></dt>
- <dd><a href="../../constant-values.html#javassist.bytecode.ConstPool.REF_invokeVirtual">Constant Field Values</a></dd>
- </dl>
- </li>
- </ul>
- <a name="REF_invokeStatic">
- <!-- -->
- </a>
- <ul class="blockList">
- <li class="blockList">
- <h4>REF_invokeStatic</h4>
- <pre>public static final int REF_invokeStatic</pre>
- <div class="block"><code>reference_kind</code> of <code>CONSTANT_MethodHandle_info</code>.</div>
- <dl>
- <dt><span class="seeLabel">See Also:</span></dt>
- <dd><a href="../../constant-values.html#javassist.bytecode.ConstPool.REF_invokeStatic">Constant Field Values</a></dd>
- </dl>
- </li>
- </ul>
- <a name="REF_invokeSpecial">
- <!-- -->
- </a>
- <ul class="blockList">
- <li class="blockList">
- <h4>REF_invokeSpecial</h4>
- <pre>public static final int REF_invokeSpecial</pre>
- <div class="block"><code>reference_kind</code> of <code>CONSTANT_MethodHandle_info</code>.</div>
- <dl>
- <dt><span class="seeLabel">See Also:</span></dt>
- <dd><a href="../../constant-values.html#javassist.bytecode.ConstPool.REF_invokeSpecial">Constant Field Values</a></dd>
- </dl>
- </li>
- </ul>
- <a name="REF_newInvokeSpecial">
- <!-- -->
- </a>
- <ul class="blockList">
- <li class="blockList">
- <h4>REF_newInvokeSpecial</h4>
- <pre>public static final int REF_newInvokeSpecial</pre>
- <div class="block"><code>reference_kind</code> of <code>CONSTANT_MethodHandle_info</code>.</div>
- <dl>
- <dt><span class="seeLabel">See Also:</span></dt>
- <dd><a href="../../constant-values.html#javassist.bytecode.ConstPool.REF_newInvokeSpecial">Constant Field Values</a></dd>
- </dl>
- </li>
- </ul>
- <a name="REF_invokeInterface">
- <!-- -->
- </a>
- <ul class="blockListLast">
- <li class="blockList">
- <h4>REF_invokeInterface</h4>
- <pre>public static final int REF_invokeInterface</pre>
- <div class="block"><code>reference_kind</code> of <code>CONSTANT_MethodHandle_info</code>.</div>
- <dl>
- <dt><span class="seeLabel">See Also:</span></dt>
- <dd><a href="../../constant-values.html#javassist.bytecode.ConstPool.REF_invokeInterface">Constant Field Values</a></dd>
- </dl>
- </li>
- </ul>
- </li>
- </ul>
- <!-- ========= CONSTRUCTOR DETAIL ======== -->
- <ul class="blockList">
- <li class="blockList"><a name="constructor.detail">
- <!-- -->
- </a>
- <h3>Constructor Detail</h3>
- <a name="ConstPool-java.lang.String-">
- <!-- -->
- </a>
- <ul class="blockList">
- <li class="blockList">
- <h4>ConstPool</h4>
- <pre>public ConstPool​(java.lang.String thisclass)</pre>
- <div class="block">Constructs a constant pool table.</div>
- <dl>
- <dt><span class="paramLabel">Parameters:</span></dt>
- <dd><code>thisclass</code> - the name of the class using this constant
- pool table</dd>
- </dl>
- </li>
- </ul>
- <a name="ConstPool-java.io.DataInputStream-">
- <!-- -->
- </a>
- <ul class="blockListLast">
- <li class="blockList">
- <h4>ConstPool</h4>
- <pre>public ConstPool​(java.io.DataInputStream in)
- throws java.io.IOException</pre>
- <div class="block">Constructs a constant pool table from the given byte stream.</div>
- <dl>
- <dt><span class="paramLabel">Parameters:</span></dt>
- <dd><code>in</code> - byte stream.</dd>
- <dt><span class="throwsLabel">Throws:</span></dt>
- <dd><code>java.io.IOException</code></dd>
- </dl>
- </li>
- </ul>
- </li>
- </ul>
- <!-- ============ METHOD DETAIL ========== -->
- <ul class="blockList">
- <li class="blockList"><a name="method.detail">
- <!-- -->
- </a>
- <h3>Method Detail</h3>
- <a name="getSize--">
- <!-- -->
- </a>
- <ul class="blockList">
- <li class="blockList">
- <h4>getSize</h4>
- <pre>public int getSize()</pre>
- <div class="block">Returns the number of entries in this table.</div>
- </li>
- </ul>
- <a name="getClassName--">
- <!-- -->
- </a>
- <ul class="blockList">
- <li class="blockList">
- <h4>getClassName</h4>
- <pre>public java.lang.String getClassName()</pre>
- <div class="block">Returns the name of the class using this constant pool table.</div>
- </li>
- </ul>
- <a name="getThisClassInfo--">
- <!-- -->
- </a>
- <ul class="blockList">
- <li class="blockList">
- <h4>getThisClassInfo</h4>
- <pre>public int getThisClassInfo()</pre>
- <div class="block">Returns the index of <code>CONSTANT_Class_info</code> structure
- specifying the class using this constant pool table.</div>
- </li>
- </ul>
- <a name="getTag-int-">
- <!-- -->
- </a>
- <ul class="blockList">
- <li class="blockList">
- <h4>getTag</h4>
- <pre>public int getTag​(int index)</pre>
- <div class="block">Returns the <code>tag</code> field of the constant pool table
- entry at the given index.</div>
- <dl>
- <dt><span class="returnLabel">Returns:</span></dt>
- <dd>either <code>CONST_Class</code>, <code>CONST_Fieldref</code>,
- <code>CONST_Methodref</code>, or ...</dd>
- </dl>
- </li>
- </ul>
- <a name="getClassInfo-int-">
- <!-- -->
- </a>
- <ul class="blockList">
- <li class="blockList">
- <h4>getClassInfo</h4>
- <pre>public java.lang.String getClassInfo​(int index)</pre>
- <div class="block">Reads <code>CONSTANT_Class_info</code> structure
- at the given index.</div>
- <dl>
- <dt><span class="returnLabel">Returns:</span></dt>
- <dd>a fully-qualified class or interface name specified
- by <code>name_index</code>. If the type is an array
- type, this method returns an encoded name like
- <code>[Ljava.lang.Object;</code> (note that the separators
- are not slashes but dots).</dd>
- <dt><span class="seeLabel">See Also:</span></dt>
- <dd><a href="../../javassist/ClassPool.html#getCtClass-java.lang.String-"><code>ClassPool.getCtClass(String)</code></a></dd>
- </dl>
- </li>
- </ul>
- <a name="getClassInfoByDescriptor-int-">
- <!-- -->
- </a>
- <ul class="blockList">
- <li class="blockList">
- <h4>getClassInfoByDescriptor</h4>
- <pre>public java.lang.String getClassInfoByDescriptor​(int index)</pre>
- <div class="block">Reads <code>CONSTANT_Class_info</code> structure
- at the given index.</div>
- <dl>
- <dt><span class="returnLabel">Returns:</span></dt>
- <dd>the descriptor of the type specified
- by <code>name_index</code>.</dd>
- <dt><span class="simpleTagLabel">Since:</span></dt>
- <dd>3.15</dd>
- <dt><span class="seeLabel">See Also:</span></dt>
- <dd><a href="../../javassist/ClassPool.html#getCtClass-java.lang.String-"><code>ClassPool.getCtClass(String)</code></a></dd>
- </dl>
- </li>
- </ul>
- <a name="getNameAndTypeName-int-">
- <!-- -->
- </a>
- <ul class="blockList">
- <li class="blockList">
- <h4>getNameAndTypeName</h4>
- <pre>public int getNameAndTypeName​(int index)</pre>
- <div class="block">Reads the <code>name_index</code> field of the
- <code>CONSTANT_NameAndType_info</code> structure
- at the given index.</div>
- </li>
- </ul>
- <a name="getNameAndTypeDescriptor-int-">
- <!-- -->
- </a>
- <ul class="blockList">
- <li class="blockList">
- <h4>getNameAndTypeDescriptor</h4>
- <pre>public int getNameAndTypeDescriptor​(int index)</pre>
- <div class="block">Reads the <code>descriptor_index</code> field of the
- <code>CONSTANT_NameAndType_info</code> structure
- at the given index.</div>
- </li>
- </ul>
- <a name="getMemberClass-int-">
- <!-- -->
- </a>
- <ul class="blockList">
- <li class="blockList">
- <h4>getMemberClass</h4>
- <pre>public int getMemberClass​(int index)</pre>
- <div class="block">Reads the <code>class_index</code> field of the
- <code>CONSTANT_Fieldref_info</code>,
- <code>CONSTANT_Methodref_info</code>,
- or <code>CONSTANT_Interfaceref_info</code>,
- structure at the given index.</div>
- <dl>
- <dt><span class="simpleTagLabel">Since:</span></dt>
- <dd>3.6</dd>
- </dl>
- </li>
- </ul>
- <a name="getMemberNameAndType-int-">
- <!-- -->
- </a>
- <ul class="blockList">
- <li class="blockList">
- <h4>getMemberNameAndType</h4>
- <pre>public int getMemberNameAndType​(int index)</pre>
- <div class="block">Reads the <code>name_and_type_index</code> field of the
- <code>CONSTANT_Fieldref_info</code>,
- <code>CONSTANT_Methodref_info</code>,
- or <code>CONSTANT_Interfaceref_info</code>,
- structure at the given index.</div>
- <dl>
- <dt><span class="simpleTagLabel">Since:</span></dt>
- <dd>3.6</dd>
- </dl>
- </li>
- </ul>
- <a name="getFieldrefClass-int-">
- <!-- -->
- </a>
- <ul class="blockList">
- <li class="blockList">
- <h4>getFieldrefClass</h4>
- <pre>public int getFieldrefClass​(int index)</pre>
- <div class="block">Reads the <code>class_index</code> field of the
- <code>CONSTANT_Fieldref_info</code> structure
- at the given index.</div>
- </li>
- </ul>
- <a name="getFieldrefClassName-int-">
- <!-- -->
- </a>
- <ul class="blockList">
- <li class="blockList">
- <h4>getFieldrefClassName</h4>
- <pre>public java.lang.String getFieldrefClassName​(int index)</pre>
- <div class="block">Reads the <code>class_index</code> field of the
- <code>CONSTANT_Fieldref_info</code> structure
- at the given index.</div>
- <dl>
- <dt><span class="returnLabel">Returns:</span></dt>
- <dd>the name of the class at that <code>class_index</code>.</dd>
- </dl>
- </li>
- </ul>
- <a name="getFieldrefNameAndType-int-">
- <!-- -->
- </a>
- <ul class="blockList">
- <li class="blockList">
- <h4>getFieldrefNameAndType</h4>
- <pre>public int getFieldrefNameAndType​(int index)</pre>
- <div class="block">Reads the <code>name_and_type_index</code> field of the
- <code>CONSTANT_Fieldref_info</code> structure
- at the given index.</div>
- </li>
- </ul>
- <a name="getFieldrefName-int-">
- <!-- -->
- </a>
- <ul class="blockList">
- <li class="blockList">
- <h4>getFieldrefName</h4>
- <pre>public java.lang.String getFieldrefName​(int index)</pre>
- <div class="block">Reads the <code>name_index</code> field of the
- <code>CONSTANT_NameAndType_info</code> structure
- indirectly specified by the given index.</div>
- <dl>
- <dt><span class="paramLabel">Parameters:</span></dt>
- <dd><code>index</code> - an index to a <code>CONSTANT_Fieldref_info</code>.</dd>
- <dt><span class="returnLabel">Returns:</span></dt>
- <dd>the name of the field.</dd>
- </dl>
- </li>
- </ul>
- <a name="getFieldrefType-int-">
- <!-- -->
- </a>
- <ul class="blockList">
- <li class="blockList">
- <h4>getFieldrefType</h4>
- <pre>public java.lang.String getFieldrefType​(int index)</pre>
- <div class="block">Reads the <code>descriptor_index</code> field of the
- <code>CONSTANT_NameAndType_info</code> structure
- indirectly specified by the given index.</div>
- <dl>
- <dt><span class="paramLabel">Parameters:</span></dt>
- <dd><code>index</code> - an index to a <code>CONSTANT_Fieldref_info</code>.</dd>
- <dt><span class="returnLabel">Returns:</span></dt>
- <dd>the type descriptor of the field.</dd>
- </dl>
- </li>
- </ul>
- <a name="getMethodrefClass-int-">
- <!-- -->
- </a>
- <ul class="blockList">
- <li class="blockList">
- <h4>getMethodrefClass</h4>
- <pre>public int getMethodrefClass​(int index)</pre>
- <div class="block">Reads the <code>class_index</code> field of the
- <code>CONSTANT_Methodref_info</code> structure
- at the given index.</div>
- </li>
- </ul>
- <a name="getMethodrefClassName-int-">
- <!-- -->
- </a>
- <ul class="blockList">
- <li class="blockList">
- <h4>getMethodrefClassName</h4>
- <pre>public java.lang.String getMethodrefClassName​(int index)</pre>
- <div class="block">Reads the <code>class_index</code> field of the
- <code>CONSTANT_Methodref_info</code> structure
- at the given index.</div>
- <dl>
- <dt><span class="returnLabel">Returns:</span></dt>
- <dd>the name of the class at that <code>class_index</code>.</dd>
- </dl>
- </li>
- </ul>
- <a name="getMethodrefNameAndType-int-">
- <!-- -->
- </a>
- <ul class="blockList">
- <li class="blockList">
- <h4>getMethodrefNameAndType</h4>
- <pre>public int getMethodrefNameAndType​(int index)</pre>
- <div class="block">Reads the <code>name_and_type_index</code> field of the
- <code>CONSTANT_Methodref_info</code> structure
- at the given index.</div>
- </li>
- </ul>
- <a name="getMethodrefName-int-">
- <!-- -->
- </a>
- <ul class="blockList">
- <li class="blockList">
- <h4>getMethodrefName</h4>
- <pre>public java.lang.String getMethodrefName​(int index)</pre>
- <div class="block">Reads the <code>name_index</code> field of the
- <code>CONSTANT_NameAndType_info</code> structure
- indirectly specified by the given index.</div>
- <dl>
- <dt><span class="paramLabel">Parameters:</span></dt>
- <dd><code>index</code> - an index to a <code>CONSTANT_Methodref_info</code>.</dd>
- <dt><span class="returnLabel">Returns:</span></dt>
- <dd>the name of the method.</dd>
- </dl>
- </li>
- </ul>
- <a name="getMethodrefType-int-">
- <!-- -->
- </a>
- <ul class="blockList">
- <li class="blockList">
- <h4>getMethodrefType</h4>
- <pre>public java.lang.String getMethodrefType​(int index)</pre>
- <div class="block">Reads the <code>descriptor_index</code> field of the
- <code>CONSTANT_NameAndType_info</code> structure
- indirectly specified by the given index.</div>
- <dl>
- <dt><span class="paramLabel">Parameters:</span></dt>
- <dd><code>index</code> - an index to a <code>CONSTANT_Methodref_info</code>.</dd>
- <dt><span class="returnLabel">Returns:</span></dt>
- <dd>the descriptor of the method.</dd>
- </dl>
- </li>
- </ul>
- <a name="getInterfaceMethodrefClass-int-">
- <!-- -->
- </a>
- <ul class="blockList">
- <li class="blockList">
- <h4>getInterfaceMethodrefClass</h4>
- <pre>public int getInterfaceMethodrefClass​(int index)</pre>
- <div class="block">Reads the <code>class_index</code> field of the
- <code>CONSTANT_InterfaceMethodref_info</code> structure
- at the given index.</div>
- </li>
- </ul>
- <a name="getInterfaceMethodrefClassName-int-">
- <!-- -->
- </a>
- <ul class="blockList">
- <li class="blockList">
- <h4>getInterfaceMethodrefClassName</h4>
- <pre>public java.lang.String getInterfaceMethodrefClassName​(int index)</pre>
- <div class="block">Reads the <code>class_index</code> field of the
- <code>CONSTANT_InterfaceMethodref_info</code> structure
- at the given index.</div>
- <dl>
- <dt><span class="returnLabel">Returns:</span></dt>
- <dd>the name of the class at that <code>class_index</code>.</dd>
- </dl>
- </li>
- </ul>
- <a name="getInterfaceMethodrefNameAndType-int-">
- <!-- -->
- </a>
- <ul class="blockList">
- <li class="blockList">
- <h4>getInterfaceMethodrefNameAndType</h4>
- <pre>public int getInterfaceMethodrefNameAndType​(int index)</pre>
- <div class="block">Reads the <code>name_and_type_index</code> field of the
- <code>CONSTANT_InterfaceMethodref_info</code> structure
- at the given index.</div>
- </li>
- </ul>
- <a name="getInterfaceMethodrefName-int-">
- <!-- -->
- </a>
- <ul class="blockList">
- <li class="blockList">
- <h4>getInterfaceMethodrefName</h4>
- <pre>public java.lang.String getInterfaceMethodrefName​(int index)</pre>
- <div class="block">Reads the <code>name_index</code> field of the
- <code>CONSTANT_NameAndType_info</code> structure
- indirectly specified by the given index.</div>
- <dl>
- <dt><span class="paramLabel">Parameters:</span></dt>
- <dd><code>index</code> - an index to
- a <code>CONSTANT_InterfaceMethodref_info</code>.</dd>
- <dt><span class="returnLabel">Returns:</span></dt>
- <dd>the name of the method.</dd>
- </dl>
- </li>
- </ul>
- <a name="getInterfaceMethodrefType-int-">
- <!-- -->
- </a>
- <ul class="blockList">
- <li class="blockList">
- <h4>getInterfaceMethodrefType</h4>
- <pre>public java.lang.String getInterfaceMethodrefType​(int index)</pre>
- <div class="block">Reads the <code>descriptor_index</code> field of the
- <code>CONSTANT_NameAndType_info</code> structure
- indirectly specified by the given index.</div>
- <dl>
- <dt><span class="paramLabel">Parameters:</span></dt>
- <dd><code>index</code> - an index to
- a <code>CONSTANT_InterfaceMethodref_info</code>.</dd>
- <dt><span class="returnLabel">Returns:</span></dt>
- <dd>the descriptor of the method.</dd>
- </dl>
- </li>
- </ul>
- <a name="getLdcValue-int-">
- <!-- -->
- </a>
- <ul class="blockList">
- <li class="blockList">
- <h4>getLdcValue</h4>
- <pre>public java.lang.Object getLdcValue​(int index)</pre>
- <div class="block">Reads <code>CONSTANT_Integer_info</code>, <code>_Float_info</code>,
- <code>_Long_info</code>, <code>_Double_info</code>, or
- <code>_String_info</code> structure.
- These are used with the LDC instruction.</div>
- <dl>
- <dt><span class="returnLabel">Returns:</span></dt>
- <dd>a <code>String</code> value or a wrapped primitive-type
- value.</dd>
- </dl>
- </li>
- </ul>
- <a name="getIntegerInfo-int-">
- <!-- -->
- </a>
- <ul class="blockList">
- <li class="blockList">
- <h4>getIntegerInfo</h4>
- <pre>public int getIntegerInfo​(int index)</pre>
- <div class="block">Reads <code>CONSTANT_Integer_info</code> structure
- at the given index.</div>
- <dl>
- <dt><span class="returnLabel">Returns:</span></dt>
- <dd>the value specified by this entry.</dd>
- </dl>
- </li>
- </ul>
- <a name="getFloatInfo-int-">
- <!-- -->
- </a>
- <ul class="blockList">
- <li class="blockList">
- <h4>getFloatInfo</h4>
- <pre>public float getFloatInfo​(int index)</pre>
- <div class="block">Reads <code>CONSTANT_Float_info</code> structure
- at the given index.</div>
- <dl>
- <dt><span class="returnLabel">Returns:</span></dt>
- <dd>the value specified by this entry.</dd>
- </dl>
- </li>
- </ul>
- <a name="getLongInfo-int-">
- <!-- -->
- </a>
- <ul class="blockList">
- <li class="blockList">
- <h4>getLongInfo</h4>
- <pre>public long getLongInfo​(int index)</pre>
- <div class="block">Reads <code>CONSTANT_Long_info</code> structure
- at the given index.</div>
- <dl>
- <dt><span class="returnLabel">Returns:</span></dt>
- <dd>the value specified by this entry.</dd>
- </dl>
- </li>
- </ul>
- <a name="getDoubleInfo-int-">
- <!-- -->
- </a>
- <ul class="blockList">
- <li class="blockList">
- <h4>getDoubleInfo</h4>
- <pre>public double getDoubleInfo​(int index)</pre>
- <div class="block">Reads <code>CONSTANT_Double_info</code> structure
- at the given index.</div>
- <dl>
- <dt><span class="returnLabel">Returns:</span></dt>
- <dd>the value specified by this entry.</dd>
- </dl>
- </li>
- </ul>
- <a name="getStringInfo-int-">
- <!-- -->
- </a>
- <ul class="blockList">
- <li class="blockList">
- <h4>getStringInfo</h4>
- <pre>public java.lang.String getStringInfo​(int index)</pre>
- <div class="block">Reads <code>CONSTANT_String_info</code> structure
- at the given index.</div>
- <dl>
- <dt><span class="returnLabel">Returns:</span></dt>
- <dd>the string specified by <code>string_index</code>.</dd>
- </dl>
- </li>
- </ul>
- <a name="getUtf8Info-int-">
- <!-- -->
- </a>
- <ul class="blockList">
- <li class="blockList">
- <h4>getUtf8Info</h4>
- <pre>public java.lang.String getUtf8Info​(int index)</pre>
- <div class="block">Reads <code>CONSTANT_utf8_info</code> structure
- at the given index.</div>
- <dl>
- <dt><span class="returnLabel">Returns:</span></dt>
- <dd>the string specified by this entry.</dd>
- </dl>
- </li>
- </ul>
- <a name="getMethodHandleKind-int-">
- <!-- -->
- </a>
- <ul class="blockList">
- <li class="blockList">
- <h4>getMethodHandleKind</h4>
- <pre>public int getMethodHandleKind​(int index)</pre>
- <div class="block">Reads the <code>reference_kind</code> field of the
- <code>CONSTANT_MethodHandle_info</code> structure
- at the given index.</div>
- <dl>
- <dt><span class="simpleTagLabel">Since:</span></dt>
- <dd>3.17</dd>
- <dt><span class="seeLabel">See Also:</span></dt>
- <dd><a href="../../javassist/bytecode/ConstPool.html#REF_getField"><code>REF_getField</code></a>,
- <a href="../../javassist/bytecode/ConstPool.html#REF_getStatic"><code>REF_getStatic</code></a>,
- <a href="../../javassist/bytecode/ConstPool.html#REF_invokeInterface"><code>REF_invokeInterface</code></a>,
- <a href="../../javassist/bytecode/ConstPool.html#REF_invokeSpecial"><code>REF_invokeSpecial</code></a>,
- <a href="../../javassist/bytecode/ConstPool.html#REF_invokeStatic"><code>REF_invokeStatic</code></a>,
- <a href="../../javassist/bytecode/ConstPool.html#REF_invokeVirtual"><code>REF_invokeVirtual</code></a>,
- <a href="../../javassist/bytecode/ConstPool.html#REF_newInvokeSpecial"><code>REF_newInvokeSpecial</code></a>,
- <a href="../../javassist/bytecode/ConstPool.html#REF_putField"><code>REF_putField</code></a>,
- <a href="../../javassist/bytecode/ConstPool.html#REF_putStatic"><code>REF_putStatic</code></a></dd>
- </dl>
- </li>
- </ul>
- <a name="getMethodHandleIndex-int-">
- <!-- -->
- </a>
- <ul class="blockList">
- <li class="blockList">
- <h4>getMethodHandleIndex</h4>
- <pre>public int getMethodHandleIndex​(int index)</pre>
- <div class="block">Reads the <code>reference_index</code> field of the
- <code>CONSTANT_MethodHandle_info</code> structure
- at the given index.</div>
- <dl>
- <dt><span class="simpleTagLabel">Since:</span></dt>
- <dd>3.17</dd>
- </dl>
- </li>
- </ul>
- <a name="getMethodTypeInfo-int-">
- <!-- -->
- </a>
- <ul class="blockList">
- <li class="blockList">
- <h4>getMethodTypeInfo</h4>
- <pre>public int getMethodTypeInfo​(int index)</pre>
- <div class="block">Reads the <code>descriptor_index</code> field of the
- <code>CONSTANT_MethodType_info</code> structure
- at the given index.</div>
- <dl>
- <dt><span class="simpleTagLabel">Since:</span></dt>
- <dd>3.17</dd>
- </dl>
- </li>
- </ul>
- <a name="getInvokeDynamicBootstrap-int-">
- <!-- -->
- </a>
- <ul class="blockList">
- <li class="blockList">
- <h4>getInvokeDynamicBootstrap</h4>
- <pre>public int getInvokeDynamicBootstrap​(int index)</pre>
- <div class="block">Reads the <code>bootstrap_method_attr_index</code> field of the
- <code>CONSTANT_InvokeDynamic_info</code> structure
- at the given index.</div>
- <dl>
- <dt><span class="simpleTagLabel">Since:</span></dt>
- <dd>3.17</dd>
- </dl>
- </li>
- </ul>
- <a name="getInvokeDynamicNameAndType-int-">
- <!-- -->
- </a>
- <ul class="blockList">
- <li class="blockList">
- <h4>getInvokeDynamicNameAndType</h4>
- <pre>public int getInvokeDynamicNameAndType​(int index)</pre>
- <div class="block">Reads the <code>name_and_type_index</code> field of the
- <code>CONSTANT_InvokeDynamic_info</code> structure
- at the given index.</div>
- <dl>
- <dt><span class="simpleTagLabel">Since:</span></dt>
- <dd>3.17</dd>
- </dl>
- </li>
- </ul>
- <a name="getInvokeDynamicType-int-">
- <!-- -->
- </a>
- <ul class="blockList">
- <li class="blockList">
- <h4>getInvokeDynamicType</h4>
- <pre>public java.lang.String getInvokeDynamicType​(int index)</pre>
- <div class="block">Reads the <code>descriptor_index</code> field of the
- <code>CONSTANT_NameAndType_info</code> structure
- indirectly specified by the given index.</div>
- <dl>
- <dt><span class="paramLabel">Parameters:</span></dt>
- <dd><code>index</code> - an index to a <code>CONSTANT_InvokeDynamic_info</code>.</dd>
- <dt><span class="returnLabel">Returns:</span></dt>
- <dd>the descriptor of the method.</dd>
- <dt><span class="simpleTagLabel">Since:</span></dt>
- <dd>3.17</dd>
- </dl>
- </li>
- </ul>
- <a name="getModuleInfo-int-">
- <!-- -->
- </a>
- <ul class="blockList">
- <li class="blockList">
- <h4>getModuleInfo</h4>
- <pre>public java.lang.String getModuleInfo​(int index)</pre>
- <div class="block">Reads the <code>name_index</code> field of the
- <code>CONSTANT_Module_info</code> structure at the given index.</div>
- <dl>
- <dt><span class="returnLabel">Returns:</span></dt>
- <dd>the module name at <code>name_index</code>.</dd>
- <dt><span class="simpleTagLabel">Since:</span></dt>
- <dd>3.22</dd>
- </dl>
- </li>
- </ul>
- <a name="getPackageInfo-int-">
- <!-- -->
- </a>
- <ul class="blockList">
- <li class="blockList">
- <h4>getPackageInfo</h4>
- <pre>public java.lang.String getPackageInfo​(int index)</pre>
- <div class="block">Reads the <code>name_index</code> field of the
- <code>CONSTANT_Package_info</code> structure at the given index.</div>
- <dl>
- <dt><span class="returnLabel">Returns:</span></dt>
- <dd>the package name at <code>name_index</code>. It is a slash-
- separated name such as com/oracle/net.</dd>
- <dt><span class="simpleTagLabel">Since:</span></dt>
- <dd>3.22</dd>
- </dl>
- </li>
- </ul>
- <a name="isConstructor-java.lang.String-int-">
- <!-- -->
- </a>
- <ul class="blockList">
- <li class="blockList">
- <h4>isConstructor</h4>
- <pre>public int isConstructor​(java.lang.String classname,
- int index)</pre>
- <div class="block">Determines whether <code>CONSTANT_Methodref_info</code>
- structure at the given index represents the constructor
- of the given class.</div>
- <dl>
- <dt><span class="returnLabel">Returns:</span></dt>
- <dd>the <code>descriptor_index</code> specifying
- the type descriptor of the that constructor.
- If it is not that constructor,
- <code>isConstructor()</code> returns 0.</dd>
- </dl>
- </li>
- </ul>
- <a name="isMember-java.lang.String-java.lang.String-int-">
- <!-- -->
- </a>
- <ul class="blockList">
- <li class="blockList">
- <h4>isMember</h4>
- <pre>public int isMember​(java.lang.String classname,
- java.lang.String membername,
- int index)</pre>
- <div class="block">Determines whether <code>CONSTANT_Methodref_info</code>,
- <code>CONSTANT_Fieldref_info</code>, or
- <code>CONSTANT_InterfaceMethodref_info</code> structure
- at the given index represents the member with the specified
- name and declaring class.</div>
- <dl>
- <dt><span class="paramLabel">Parameters:</span></dt>
- <dd><code>classname</code> - the class declaring the member</dd>
- <dd><code>membername</code> - the member name</dd>
- <dd><code>index</code> - the index into the constant pool table</dd>
- <dt><span class="returnLabel">Returns:</span></dt>
- <dd>the <code>descriptor_index</code> specifying
- the type descriptor of that member.
- If it is not that member,
- <code>isMember()</code> returns 0.</dd>
- </dl>
- </li>
- </ul>
- <a name="eqMember-java.lang.String-java.lang.String-int-">
- <!-- -->
- </a>
- <ul class="blockList">
- <li class="blockList">
- <h4>eqMember</h4>
- <pre>public java.lang.String eqMember​(java.lang.String membername,
- java.lang.String desc,
- int index)</pre>
- <div class="block">Determines whether <code>CONSTANT_Methodref_info</code>,
- <code>CONSTANT_Fieldref_info</code>, or
- <code>CONSTANT_InterfaceMethodref_info</code> structure
- at the given index has the name and the descriptor
- given as the arguments.</div>
- <dl>
- <dt><span class="paramLabel">Parameters:</span></dt>
- <dd><code>membername</code> - the member name</dd>
- <dd><code>desc</code> - the descriptor of the member.</dd>
- <dd><code>index</code> - the index into the constant pool table</dd>
- <dt><span class="returnLabel">Returns:</span></dt>
- <dd>the name of the target class specified by
- the <code>..._info</code> structure
- at <code>index</code>.
- Otherwise, null if that structure does not
- match the given member name and descriptor.</dd>
- </dl>
- </li>
- </ul>
- <a name="copy-int-javassist.bytecode.ConstPool-java.util.Map-">
- <!-- -->
- </a>
- <ul class="blockList">
- <li class="blockList">
- <h4>copy</h4>
- <pre>public int copy​(int n,
- <a href="../../javassist/bytecode/ConstPool.html" title="class in javassist.bytecode">ConstPool</a> dest,
- java.util.Map<java.lang.String,java.lang.String> classnames)</pre>
- <div class="block">Copies the n-th item in this ConstPool object into the destination
- ConstPool object.
- The class names that the item refers to are renamed according
- to the given map.</div>
- <dl>
- <dt><span class="paramLabel">Parameters:</span></dt>
- <dd><code>n</code> - the <i>n</i>-th item</dd>
- <dd><code>dest</code> - destination constant pool table</dd>
- <dd><code>classnames</code> - the map or null.</dd>
- <dt><span class="returnLabel">Returns:</span></dt>
- <dd>the index of the copied item into the destination ClassPool.</dd>
- </dl>
- </li>
- </ul>
- <a name="addClassInfo-javassist.CtClass-">
- <!-- -->
- </a>
- <ul class="blockList">
- <li class="blockList">
- <h4>addClassInfo</h4>
- <pre>public int addClassInfo​(<a href="../../javassist/CtClass.html" title="class in javassist">CtClass</a> c)</pre>
- <div class="block">Adds a new <code>CONSTANT_Class_info</code> structure.
-
- <p>This also adds a <code>CONSTANT_Utf8_info</code> structure
- for storing the class name.</div>
- <dl>
- <dt><span class="returnLabel">Returns:</span></dt>
- <dd>the index of the added entry.</dd>
- </dl>
- </li>
- </ul>
- <a name="addClassInfo-java.lang.String-">
- <!-- -->
- </a>
- <ul class="blockList">
- <li class="blockList">
- <h4>addClassInfo</h4>
- <pre>public int addClassInfo​(java.lang.String qname)</pre>
- <div class="block">Adds a new <code>CONSTANT_Class_info</code> structure.
-
- <p>This also adds a <code>CONSTANT_Utf8_info</code> structure
- for storing the class name.</div>
- <dl>
- <dt><span class="paramLabel">Parameters:</span></dt>
- <dd><code>qname</code> - a fully-qualified class name
- (or the JVM-internal representation of that name).</dd>
- <dt><span class="returnLabel">Returns:</span></dt>
- <dd>the index of the added entry.</dd>
- </dl>
- </li>
- </ul>
- <a name="addNameAndTypeInfo-java.lang.String-java.lang.String-">
- <!-- -->
- </a>
- <ul class="blockList">
- <li class="blockList">
- <h4>addNameAndTypeInfo</h4>
- <pre>public int addNameAndTypeInfo​(java.lang.String name,
- java.lang.String type)</pre>
- <div class="block">Adds a new <code>CONSTANT_NameAndType_info</code> structure.
-
- <p>This also adds <code>CONSTANT_Utf8_info</code> structures.</div>
- <dl>
- <dt><span class="paramLabel">Parameters:</span></dt>
- <dd><code>name</code> - <code>name_index</code></dd>
- <dd><code>type</code> - <code>descriptor_index</code></dd>
- <dt><span class="returnLabel">Returns:</span></dt>
- <dd>the index of the added entry.</dd>
- </dl>
- </li>
- </ul>
- <a name="addNameAndTypeInfo-int-int-">
- <!-- -->
- </a>
- <ul class="blockList">
- <li class="blockList">
- <h4>addNameAndTypeInfo</h4>
- <pre>public int addNameAndTypeInfo​(int name,
- int type)</pre>
- <div class="block">Adds a new <code>CONSTANT_NameAndType_info</code> structure.</div>
- <dl>
- <dt><span class="paramLabel">Parameters:</span></dt>
- <dd><code>name</code> - <code>name_index</code></dd>
- <dd><code>type</code> - <code>descriptor_index</code></dd>
- <dt><span class="returnLabel">Returns:</span></dt>
- <dd>the index of the added entry.</dd>
- </dl>
- </li>
- </ul>
- <a name="addFieldrefInfo-int-java.lang.String-java.lang.String-">
- <!-- -->
- </a>
- <ul class="blockList">
- <li class="blockList">
- <h4>addFieldrefInfo</h4>
- <pre>public int addFieldrefInfo​(int classInfo,
- java.lang.String name,
- java.lang.String type)</pre>
- <div class="block">Adds a new <code>CONSTANT_Fieldref_info</code> structure.
-
- <p>This also adds a new <code>CONSTANT_NameAndType_info</code>
- structure.</div>
- <dl>
- <dt><span class="paramLabel">Parameters:</span></dt>
- <dd><code>classInfo</code> - <code>class_index</code></dd>
- <dd><code>name</code> - <code>name_index</code>
- of <code>CONSTANT_NameAndType_info</code>.</dd>
- <dd><code>type</code> - <code>descriptor_index</code>
- of <code>CONSTANT_NameAndType_info</code>.</dd>
- <dt><span class="returnLabel">Returns:</span></dt>
- <dd>the index of the added entry.</dd>
- </dl>
- </li>
- </ul>
- <a name="addFieldrefInfo-int-int-">
- <!-- -->
- </a>
- <ul class="blockList">
- <li class="blockList">
- <h4>addFieldrefInfo</h4>
- <pre>public int addFieldrefInfo​(int classInfo,
- int nameAndTypeInfo)</pre>
- <div class="block">Adds a new <code>CONSTANT_Fieldref_info</code> structure.</div>
- <dl>
- <dt><span class="paramLabel">Parameters:</span></dt>
- <dd><code>classInfo</code> - <code>class_index</code></dd>
- <dd><code>nameAndTypeInfo</code> - <code>name_and_type_index</code>.</dd>
- <dt><span class="returnLabel">Returns:</span></dt>
- <dd>the index of the added entry.</dd>
- </dl>
- </li>
- </ul>
- <a name="addMethodrefInfo-int-java.lang.String-java.lang.String-">
- <!-- -->
- </a>
- <ul class="blockList">
- <li class="blockList">
- <h4>addMethodrefInfo</h4>
- <pre>public int addMethodrefInfo​(int classInfo,
- java.lang.String name,
- java.lang.String type)</pre>
- <div class="block">Adds a new <code>CONSTANT_Methodref_info</code> structure.
-
- <p>This also adds a new <code>CONSTANT_NameAndType_info</code>
- structure.</div>
- <dl>
- <dt><span class="paramLabel">Parameters:</span></dt>
- <dd><code>classInfo</code> - <code>class_index</code></dd>
- <dd><code>name</code> - <code>name_index</code>
- of <code>CONSTANT_NameAndType_info</code>.</dd>
- <dd><code>type</code> - <code>descriptor_index</code>
- of <code>CONSTANT_NameAndType_info</code>.</dd>
- <dt><span class="returnLabel">Returns:</span></dt>
- <dd>the index of the added entry.</dd>
- </dl>
- </li>
- </ul>
- <a name="addMethodrefInfo-int-int-">
- <!-- -->
- </a>
- <ul class="blockList">
- <li class="blockList">
- <h4>addMethodrefInfo</h4>
- <pre>public int addMethodrefInfo​(int classInfo,
- int nameAndTypeInfo)</pre>
- <div class="block">Adds a new <code>CONSTANT_Methodref_info</code> structure.</div>
- <dl>
- <dt><span class="paramLabel">Parameters:</span></dt>
- <dd><code>classInfo</code> - <code>class_index</code></dd>
- <dd><code>nameAndTypeInfo</code> - <code>name_and_type_index</code>.</dd>
- <dt><span class="returnLabel">Returns:</span></dt>
- <dd>the index of the added entry.</dd>
- </dl>
- </li>
- </ul>
- <a name="addInterfaceMethodrefInfo-int-java.lang.String-java.lang.String-">
- <!-- -->
- </a>
- <ul class="blockList">
- <li class="blockList">
- <h4>addInterfaceMethodrefInfo</h4>
- <pre>public int addInterfaceMethodrefInfo​(int classInfo,
- java.lang.String name,
- java.lang.String type)</pre>
- <div class="block">Adds a new <code>CONSTANT_InterfaceMethodref_info</code>
- structure.
-
- <p>This also adds a new <code>CONSTANT_NameAndType_info</code>
- structure.</div>
- <dl>
- <dt><span class="paramLabel">Parameters:</span></dt>
- <dd><code>classInfo</code> - <code>class_index</code></dd>
- <dd><code>name</code> - <code>name_index</code>
- of <code>CONSTANT_NameAndType_info</code>.</dd>
- <dd><code>type</code> - <code>descriptor_index</code>
- of <code>CONSTANT_NameAndType_info</code>.</dd>
- <dt><span class="returnLabel">Returns:</span></dt>
- <dd>the index of the added entry.</dd>
- </dl>
- </li>
- </ul>
- <a name="addInterfaceMethodrefInfo-int-int-">
- <!-- -->
- </a>
- <ul class="blockList">
- <li class="blockList">
- <h4>addInterfaceMethodrefInfo</h4>
- <pre>public int addInterfaceMethodrefInfo​(int classInfo,
- int nameAndTypeInfo)</pre>
- <div class="block">Adds a new <code>CONSTANT_InterfaceMethodref_info</code>
- structure.</div>
- <dl>
- <dt><span class="paramLabel">Parameters:</span></dt>
- <dd><code>classInfo</code> - <code>class_index</code></dd>
- <dd><code>nameAndTypeInfo</code> - <code>name_and_type_index</code>.</dd>
- <dt><span class="returnLabel">Returns:</span></dt>
- <dd>the index of the added entry.</dd>
- </dl>
- </li>
- </ul>
- <a name="addStringInfo-java.lang.String-">
- <!-- -->
- </a>
- <ul class="blockList">
- <li class="blockList">
- <h4>addStringInfo</h4>
- <pre>public int addStringInfo​(java.lang.String str)</pre>
- <div class="block">Adds a new <code>CONSTANT_String_info</code>
- structure.
-
- <p>This also adds a new <code>CONSTANT_Utf8_info</code>
- structure.</div>
- <dl>
- <dt><span class="returnLabel">Returns:</span></dt>
- <dd>the index of the added entry.</dd>
- </dl>
- </li>
- </ul>
- <a name="addIntegerInfo-int-">
- <!-- -->
- </a>
- <ul class="blockList">
- <li class="blockList">
- <h4>addIntegerInfo</h4>
- <pre>public int addIntegerInfo​(int i)</pre>
- <div class="block">Adds a new <code>CONSTANT_Integer_info</code>
- structure.</div>
- <dl>
- <dt><span class="returnLabel">Returns:</span></dt>
- <dd>the index of the added entry.</dd>
- </dl>
- </li>
- </ul>
- <a name="addFloatInfo-float-">
- <!-- -->
- </a>
- <ul class="blockList">
- <li class="blockList">
- <h4>addFloatInfo</h4>
- <pre>public int addFloatInfo​(float f)</pre>
- <div class="block">Adds a new <code>CONSTANT_Float_info</code>
- structure.</div>
- <dl>
- <dt><span class="returnLabel">Returns:</span></dt>
- <dd>the index of the added entry.</dd>
- </dl>
- </li>
- </ul>
- <a name="addLongInfo-long-">
- <!-- -->
- </a>
- <ul class="blockList">
- <li class="blockList">
- <h4>addLongInfo</h4>
- <pre>public int addLongInfo​(long l)</pre>
- <div class="block">Adds a new <code>CONSTANT_Long_info</code>
- structure.</div>
- <dl>
- <dt><span class="returnLabel">Returns:</span></dt>
- <dd>the index of the added entry.</dd>
- </dl>
- </li>
- </ul>
- <a name="addDoubleInfo-double-">
- <!-- -->
- </a>
- <ul class="blockList">
- <li class="blockList">
- <h4>addDoubleInfo</h4>
- <pre>public int addDoubleInfo​(double d)</pre>
- <div class="block">Adds a new <code>CONSTANT_Double_info</code>
- structure.</div>
- <dl>
- <dt><span class="returnLabel">Returns:</span></dt>
- <dd>the index of the added entry.</dd>
- </dl>
- </li>
- </ul>
- <a name="addUtf8Info-java.lang.String-">
- <!-- -->
- </a>
- <ul class="blockList">
- <li class="blockList">
- <h4>addUtf8Info</h4>
- <pre>public int addUtf8Info​(java.lang.String utf8)</pre>
- <div class="block">Adds a new <code>CONSTANT_Utf8_info</code>
- structure.</div>
- <dl>
- <dt><span class="returnLabel">Returns:</span></dt>
- <dd>the index of the added entry.</dd>
- </dl>
- </li>
- </ul>
- <a name="addMethodHandleInfo-int-int-">
- <!-- -->
- </a>
- <ul class="blockList">
- <li class="blockList">
- <h4>addMethodHandleInfo</h4>
- <pre>public int addMethodHandleInfo​(int kind,
- int index)</pre>
- <div class="block">Adds a new <code>CONSTANT_MethodHandle_info</code>
- structure.</div>
- <dl>
- <dt><span class="paramLabel">Parameters:</span></dt>
- <dd><code>kind</code> - <code>reference_kind</code>
- such as <a href="../../javassist/bytecode/ConstPool.html#REF_invokeStatic"><code><code>REF_invokeStatic</code></code></a>.</dd>
- <dd><code>index</code> - <code>reference_index</code>.</dd>
- <dt><span class="returnLabel">Returns:</span></dt>
- <dd>the index of the added entry.</dd>
- <dt><span class="simpleTagLabel">Since:</span></dt>
- <dd>3.17</dd>
- </dl>
- </li>
- </ul>
- <a name="addMethodTypeInfo-int-">
- <!-- -->
- </a>
- <ul class="blockList">
- <li class="blockList">
- <h4>addMethodTypeInfo</h4>
- <pre>public int addMethodTypeInfo​(int desc)</pre>
- <div class="block">Adds a new <code>CONSTANT_MethodType_info</code>
- structure.</div>
- <dl>
- <dt><span class="paramLabel">Parameters:</span></dt>
- <dd><code>desc</code> - <code>descriptor_index</code>.</dd>
- <dt><span class="returnLabel">Returns:</span></dt>
- <dd>the index of the added entry.</dd>
- <dt><span class="simpleTagLabel">Since:</span></dt>
- <dd>3.17</dd>
- </dl>
- </li>
- </ul>
- <a name="addInvokeDynamicInfo-int-int-">
- <!-- -->
- </a>
- <ul class="blockList">
- <li class="blockList">
- <h4>addInvokeDynamicInfo</h4>
- <pre>public int addInvokeDynamicInfo​(int bootstrap,
- int nameAndType)</pre>
- <div class="block">Adds a new <code>CONSTANT_InvokeDynamic_info</code>
- structure.</div>
- <dl>
- <dt><span class="paramLabel">Parameters:</span></dt>
- <dd><code>bootstrap</code> - <code>bootstrap_method_attr_index</code>.</dd>
- <dd><code>nameAndType</code> - <code>name_and_type_index</code>.</dd>
- <dt><span class="returnLabel">Returns:</span></dt>
- <dd>the index of the added entry.</dd>
- <dt><span class="simpleTagLabel">Since:</span></dt>
- <dd>3.17</dd>
- </dl>
- </li>
- </ul>
- <a name="addModuleInfo-int-">
- <!-- -->
- </a>
- <ul class="blockList">
- <li class="blockList">
- <h4>addModuleInfo</h4>
- <pre>public int addModuleInfo​(int nameIndex)</pre>
- <div class="block">Adds a new <code>CONSTANT_Module_info</code></div>
- <dl>
- <dt><span class="paramLabel">Parameters:</span></dt>
- <dd><code>nameIndex</code> - the index of the Utf8 entry.</dd>
- <dt><span class="returnLabel">Returns:</span></dt>
- <dd>the index of the added entry.</dd>
- <dt><span class="simpleTagLabel">Since:</span></dt>
- <dd>3.22</dd>
- </dl>
- </li>
- </ul>
- <a name="addPackageInfo-int-">
- <!-- -->
- </a>
- <ul class="blockList">
- <li class="blockList">
- <h4>addPackageInfo</h4>
- <pre>public int addPackageInfo​(int nameIndex)</pre>
- <div class="block">Adds a new <code>CONSTANT_Package_info</code></div>
- <dl>
- <dt><span class="paramLabel">Parameters:</span></dt>
- <dd><code>nameIndex</code> - the index of the Utf8 entry.</dd>
- <dt><span class="returnLabel">Returns:</span></dt>
- <dd>the index of the added entry.</dd>
- <dt><span class="simpleTagLabel">Since:</span></dt>
- <dd>3.22</dd>
- </dl>
- </li>
- </ul>
- <a name="getClassNames--">
- <!-- -->
- </a>
- <ul class="blockList">
- <li class="blockList">
- <h4>getClassNames</h4>
- <pre>public java.util.Set<java.lang.String> getClassNames()</pre>
- <div class="block">Get all the class names.</div>
- <dl>
- <dt><span class="returnLabel">Returns:</span></dt>
- <dd>a set of class names (<code>String</code> objects).</dd>
- </dl>
- </li>
- </ul>
- <a name="renameClass-java.lang.String-java.lang.String-">
- <!-- -->
- </a>
- <ul class="blockList">
- <li class="blockList">
- <h4>renameClass</h4>
- <pre>public void renameClass​(java.lang.String oldName,
- java.lang.String newName)</pre>
- <div class="block">Replaces all occurrences of a class name.</div>
- <dl>
- <dt><span class="paramLabel">Parameters:</span></dt>
- <dd><code>oldName</code> - the replaced name (JVM-internal representation).</dd>
- <dd><code>newName</code> - the substituted name (JVM-internal representation).</dd>
- </dl>
- </li>
- </ul>
- <a name="renameClass-java.util.Map-">
- <!-- -->
- </a>
- <ul class="blockList">
- <li class="blockList">
- <h4>renameClass</h4>
- <pre>public void renameClass​(java.util.Map<java.lang.String,java.lang.String> classnames)</pre>
- <div class="block">Replaces all occurrences of class names.</div>
- <dl>
- <dt><span class="paramLabel">Parameters:</span></dt>
- <dd><code>classnames</code> - specifies pairs of replaced and substituted
- name.</dd>
- </dl>
- </li>
- </ul>
- <a name="write-java.io.DataOutputStream-">
- <!-- -->
- </a>
- <ul class="blockList">
- <li class="blockList">
- <h4>write</h4>
- <pre>public void write​(java.io.DataOutputStream out)
- throws java.io.IOException</pre>
- <div class="block">Writes the contents of the constant pool table.</div>
- <dl>
- <dt><span class="throwsLabel">Throws:</span></dt>
- <dd><code>java.io.IOException</code></dd>
- </dl>
- </li>
- </ul>
- <a name="print--">
- <!-- -->
- </a>
- <ul class="blockList">
- <li class="blockList">
- <h4>print</h4>
- <pre>public void print()</pre>
- <div class="block">Prints the contents of the constant pool table.</div>
- </li>
- </ul>
- <a name="print-java.io.PrintWriter-">
- <!-- -->
- </a>
- <ul class="blockListLast">
- <li class="blockList">
- <h4>print</h4>
- <pre>public void print​(java.io.PrintWriter out)</pre>
- <div class="block">Prints the contents of the constant pool table.</div>
- </li>
- </ul>
- </li>
- </ul>
- </li>
- </ul>
- </div>
- </div>
- <!-- ========= END OF CLASS DATA ========= -->
- <!-- ======= START OF BOTTOM NAVBAR ====== -->
- <div class="bottomNav"><a name="navbar.bottom">
- <!-- -->
- </a>
- <div class="skipNav"><a href="#skip.navbar.bottom" title="Skip navigation links">Skip navigation links</a></div>
- <a name="navbar.bottom.firstrow">
- <!-- -->
- </a>
- <ul class="navList" title="Navigation">
- <li><a href="../../overview-summary.html">Overview</a></li>
- <li><a href="package-summary.html">Package</a></li>
- <li class="navBarCell1Rev">Class</li>
- <li><a href="class-use/ConstPool.html">Use</a></li>
- <li><a href="package-tree.html">Tree</a></li>
- <li><a href="../../deprecated-list.html">Deprecated</a></li>
- <li><a href="../../index-all.html">Index</a></li>
- </ul>
- </div>
- <div class="subNav">
- <ul class="navList">
- <li><a href="../../javassist/bytecode/ConstantAttribute.html" title="class in javassist.bytecode"><span class="typeNameLink">Prev Class</span></a></li>
- <li><a href="../../javassist/bytecode/DeprecatedAttribute.html" title="class in javassist.bytecode"><span class="typeNameLink">Next Class</span></a></li>
- </ul>
- <ul class="navList">
- <li><a href="../../index.html?javassist/bytecode/ConstPool.html" target="_top">Frames</a></li>
- <li><a href="ConstPool.html" target="_top">No Frames</a></li>
- </ul>
- <ul class="navList" id="allclasses_navbar_bottom">
- <li><a href="../../allclasses-noframe.html">All Classes</a></li>
- </ul>
- <div>
- <script type="text/javascript"><!--
- allClassesLink = document.getElementById("allclasses_navbar_bottom");
- if(window==top) {
- allClassesLink.style.display = "block";
- }
- else {
- allClassesLink.style.display = "none";
- }
- //-->
- </script>
- <noscript>
- <div>JavaScript is disabled on your browser.</div>
- </noscript>
- </div>
- <div>
- <ul class="subNavList">
- <li>Summary: </li>
- <li>Nested | </li>
- <li><a href="#field.summary">Field</a> | </li>
- <li><a href="#constructor.summary">Constr</a> | </li>
- <li><a href="#method.summary">Method</a></li>
- </ul>
- <ul class="subNavList">
- <li>Detail: </li>
- <li><a href="#field.detail">Field</a> | </li>
- <li><a href="#constructor.detail">Constr</a> | </li>
- <li><a href="#method.detail">Method</a></li>
- </ul>
- </div>
- <a name="skip.navbar.bottom">
- <!-- -->
- </a></div>
- <!-- ======== END OF BOTTOM NAVBAR ======= -->
- <p class="legalCopy"><small><i>Javassist, a Java-bytecode translator toolkit.<br>
- Copyright (C) 1999- Shigeru Chiba. All Rights Reserved.</i></small></p>
- </body>
- </html>
|