123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026 |
- <!DOCTYPE HTML>
- <!-- NewPage -->
- <html lang="en">
- <head>
- <!-- Generated by javadoc (11) on Sat May 08 11:16:00 JST 2021 -->
- <title>Modifier (Javassist API)</title>
- <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
- <meta name="dc.created" content="2021-05-08">
- <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-3.3.1.js"></script>
- <script type="text/javascript" src="../jquery/jquery-migrate-3.0.1.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="Modifier (Javassist API)";
- }
- }
- catch(err) {
- }
- //-->
- var data = {"i0":9,"i1":9,"i2":9,"i3":9,"i4":9,"i5":9,"i6":9,"i7":9,"i8":9,"i9":9,"i10":9,"i11":9,"i12":9,"i13":9,"i14":9,"i15":9,"i16":9,"i17":9,"i18":9,"i19":9,"i20":9,"i21":9};
- var tabs = {65535:["t0","All Methods"],1:["t1","Static Methods"],8:["t4","Concrete Methods"]};
- var altColor = "altColor";
- var rowColor = "rowColor";
- var tableTab = "tableTab";
- var activeTableTab = "activeTableTab";
- var pathtoroot = "../";
- var useModuleDirectories = true;
- loadScripts(document, 'script');</script>
- <noscript>
- <div>JavaScript is disabled on your browser.</div>
- </noscript>
- <header role="banner">
- <nav role="navigation">
- <div class="fixedNav">
- <!-- ========= START OF TOP NAVBAR ======= -->
- <div class="topNav"><a id="navbar.top">
- <!-- -->
- </a>
- <div class="skipNav"><a href="#skip.navbar.top" title="Skip navigation links">Skip navigation links</a></div>
- <a id="navbar.top.firstrow">
- <!-- -->
- </a>
- <ul class="navList" title="Navigation">
- <li><a href="../index.html">Overview</a></li>
- <li><a href="package-summary.html">Package</a></li>
- <li class="navBarCell1Rev">Class</li>
- <li><a href="class-use/Modifier.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" id="allclasses_navbar_top">
- <li><a href="../allclasses.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 id="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>
- </nav>
- </header>
- <!-- ======== START OF CLASS DATA ======== -->
- <main role="main">
- <div class="header">
- <div class="subTitle"><span class="packageLabelInType">Package</span> <a href="package-summary.html">javassist</a></div>
- <h2 title="Class Modifier" class="title">Class Modifier</h2>
- </div>
- <div class="contentContainer">
- <ul class="inheritance">
- <li>java.lang.Object</li>
- <li>
- <ul class="inheritance">
- <li>javassist.Modifier</li>
- </ul>
- </li>
- </ul>
- <div class="description">
- <ul class="blockList">
- <li class="blockList">
- <hr>
- <pre>public class <span class="typeNameLabel">Modifier</span>
- extends java.lang.Object</pre>
- <div class="block">The Modifier class provides static methods and constants to decode
- class and member access modifiers. The constant values are equivalent
- to the corresponding values in <code>javassist.bytecode.AccessFlag</code>.
-
- <p>All the methods/constants in this class are compatible with
- ones in <code>java.lang.reflect.Modifier</code>.</div>
- <dl>
- <dt><span class="seeLabel">See Also:</span></dt>
- <dd><a href="CtClass.html#getModifiers()"><code>CtClass.getModifiers()</code></a></dd>
- </dl>
- </li>
- </ul>
- </div>
- <div class="summary">
- <ul class="blockList">
- <li class="blockList">
- <!-- =========== FIELD SUMMARY =========== -->
- <section role="region">
- <ul class="blockList">
- <li class="blockList"><a id="field.summary">
- <!-- -->
- </a>
- <h3>Field Summary</h3>
- <table class="memberSummary">
- <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="#ABSTRACT">ABSTRACT</a></span></code></th>
- <td class="colLast"> </td>
- </tr>
- <tr class="rowColor">
- <td class="colFirst"><code>static int</code></td>
- <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#ANNOTATION">ANNOTATION</a></span></code></th>
- <td class="colLast"> </td>
- </tr>
- <tr class="altColor">
- <td class="colFirst"><code>static int</code></td>
- <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#ENUM">ENUM</a></span></code></th>
- <td class="colLast"> </td>
- </tr>
- <tr class="rowColor">
- <td class="colFirst"><code>static int</code></td>
- <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#FINAL">FINAL</a></span></code></th>
- <td class="colLast"> </td>
- </tr>
- <tr class="altColor">
- <td class="colFirst"><code>static int</code></td>
- <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#INTERFACE">INTERFACE</a></span></code></th>
- <td class="colLast"> </td>
- </tr>
- <tr class="rowColor">
- <td class="colFirst"><code>static int</code></td>
- <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#NATIVE">NATIVE</a></span></code></th>
- <td class="colLast"> </td>
- </tr>
- <tr class="altColor">
- <td class="colFirst"><code>static int</code></td>
- <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#PRIVATE">PRIVATE</a></span></code></th>
- <td class="colLast"> </td>
- </tr>
- <tr class="rowColor">
- <td class="colFirst"><code>static int</code></td>
- <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#PROTECTED">PROTECTED</a></span></code></th>
- <td class="colLast"> </td>
- </tr>
- <tr class="altColor">
- <td class="colFirst"><code>static int</code></td>
- <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#PUBLIC">PUBLIC</a></span></code></th>
- <td class="colLast"> </td>
- </tr>
- <tr class="rowColor">
- <td class="colFirst"><code>static int</code></td>
- <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#STATIC">STATIC</a></span></code></th>
- <td class="colLast"> </td>
- </tr>
- <tr class="altColor">
- <td class="colFirst"><code>static int</code></td>
- <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#STRICT">STRICT</a></span></code></th>
- <td class="colLast"> </td>
- </tr>
- <tr class="rowColor">
- <td class="colFirst"><code>static int</code></td>
- <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#SYNCHRONIZED">SYNCHRONIZED</a></span></code></th>
- <td class="colLast"> </td>
- </tr>
- <tr class="altColor">
- <td class="colFirst"><code>static int</code></td>
- <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#TRANSIENT">TRANSIENT</a></span></code></th>
- <td class="colLast"> </td>
- </tr>
- <tr class="rowColor">
- <td class="colFirst"><code>static int</code></td>
- <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#VARARGS">VARARGS</a></span></code></th>
- <td class="colLast"> </td>
- </tr>
- <tr class="altColor">
- <td class="colFirst"><code>static int</code></td>
- <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#VOLATILE">VOLATILE</a></span></code></th>
- <td class="colLast"> </td>
- </tr>
- </table>
- </li>
- </ul>
- </section>
- <!-- ======== CONSTRUCTOR SUMMARY ======== -->
- <section role="region">
- <ul class="blockList">
- <li class="blockList"><a id="constructor.summary">
- <!-- -->
- </a>
- <h3>Constructor Summary</h3>
- <table class="memberSummary">
- <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="#%3Cinit%3E()">Modifier</a></span>()</code></th>
- <td class="colLast"> </td>
- </tr>
- </table>
- </li>
- </ul>
- </section>
- <!-- ========== METHOD SUMMARY =========== -->
- <section role="region">
- <ul class="blockList">
- <li class="blockList"><a id="method.summary">
- <!-- -->
- </a>
- <h3>Method Summary</h3>
- <table class="memberSummary">
- <caption><span id="t0" class="activeTableTab"><span>All Methods</span><span class="tabEnd"> </span></span><span id="t1" class="tableTab"><span><a href="javascript:show(1);">Static 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>static int</code></td>
- <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#clear(int,int)">clear</a></span>​(int mod,
- int clearBit)</code></th>
- <td class="colLast">
- <div class="block">Clears a specified bit in <code>mod</code>.</div>
- </td>
- </tr>
- <tr id="i1" class="rowColor">
- <td class="colFirst"><code>static boolean</code></td>
- <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#isAbstract(int)">isAbstract</a></span>​(int mod)</code></th>
- <td class="colLast">
- <div class="block">Returns true if the modifiers include the <code>abstract</code>
- modifier.</div>
- </td>
- </tr>
- <tr id="i2" class="altColor">
- <td class="colFirst"><code>static boolean</code></td>
- <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#isAnnotation(int)">isAnnotation</a></span>​(int mod)</code></th>
- <td class="colLast">
- <div class="block">Returns true if the modifiers include the <code>annotation</code>
- modifier.</div>
- </td>
- </tr>
- <tr id="i3" class="rowColor">
- <td class="colFirst"><code>static boolean</code></td>
- <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#isEnum(int)">isEnum</a></span>​(int mod)</code></th>
- <td class="colLast">
- <div class="block">Returns true if the modifiers include the <code>enum</code>
- modifier.</div>
- </td>
- </tr>
- <tr id="i4" class="altColor">
- <td class="colFirst"><code>static boolean</code></td>
- <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#isFinal(int)">isFinal</a></span>​(int mod)</code></th>
- <td class="colLast">
- <div class="block">Returns true if the modifiers include the <code>final</code>
- modifier.</div>
- </td>
- </tr>
- <tr id="i5" class="rowColor">
- <td class="colFirst"><code>static boolean</code></td>
- <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#isInterface(int)">isInterface</a></span>​(int mod)</code></th>
- <td class="colLast">
- <div class="block">Returns true if the modifiers include the <code>interface</code>
- modifier.</div>
- </td>
- </tr>
- <tr id="i6" class="altColor">
- <td class="colFirst"><code>static boolean</code></td>
- <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#isNative(int)">isNative</a></span>​(int mod)</code></th>
- <td class="colLast">
- <div class="block">Returns true if the modifiers include the <code>native</code>
- modifier.</div>
- </td>
- </tr>
- <tr id="i7" class="rowColor">
- <td class="colFirst"><code>static boolean</code></td>
- <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#isPackage(int)">isPackage</a></span>​(int mod)</code></th>
- <td class="colLast">
- <div class="block">Returns true if the modifiers do not include either
- <code>public</code>, <code>protected</code>, or <code>private</code>.</div>
- </td>
- </tr>
- <tr id="i8" class="altColor">
- <td class="colFirst"><code>static boolean</code></td>
- <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#isPrivate(int)">isPrivate</a></span>​(int mod)</code></th>
- <td class="colLast">
- <div class="block">Returns true if the modifiers include the <code>private</code>
- modifier.</div>
- </td>
- </tr>
- <tr id="i9" class="rowColor">
- <td class="colFirst"><code>static boolean</code></td>
- <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#isProtected(int)">isProtected</a></span>​(int mod)</code></th>
- <td class="colLast">
- <div class="block">Returns true if the modifiers include the <code>protected</code>
- modifier.</div>
- </td>
- </tr>
- <tr id="i10" class="altColor">
- <td class="colFirst"><code>static boolean</code></td>
- <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#isPublic(int)">isPublic</a></span>​(int mod)</code></th>
- <td class="colLast">
- <div class="block">Returns true if the modifiers include the <code>public</code>
- modifier.</div>
- </td>
- </tr>
- <tr id="i11" class="rowColor">
- <td class="colFirst"><code>static boolean</code></td>
- <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#isStatic(int)">isStatic</a></span>​(int mod)</code></th>
- <td class="colLast">
- <div class="block">Returns true if the modifiers include the <code>static</code>
- modifier.</div>
- </td>
- </tr>
- <tr id="i12" class="altColor">
- <td class="colFirst"><code>static boolean</code></td>
- <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#isStrict(int)">isStrict</a></span>​(int mod)</code></th>
- <td class="colLast">
- <div class="block">Returns true if the modifiers include the <code>strictfp</code>
- modifier.</div>
- </td>
- </tr>
- <tr id="i13" class="rowColor">
- <td class="colFirst"><code>static boolean</code></td>
- <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#isSynchronized(int)">isSynchronized</a></span>​(int mod)</code></th>
- <td class="colLast">
- <div class="block">Returns true if the modifiers include the <code>synchronized</code>
- modifier.</div>
- </td>
- </tr>
- <tr id="i14" class="altColor">
- <td class="colFirst"><code>static boolean</code></td>
- <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#isTransient(int)">isTransient</a></span>​(int mod)</code></th>
- <td class="colLast">
- <div class="block">Returns true if the modifiers include the <code>transient</code>
- modifier.</div>
- </td>
- </tr>
- <tr id="i15" class="rowColor">
- <td class="colFirst"><code>static boolean</code></td>
- <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#isVarArgs(int)">isVarArgs</a></span>​(int mod)</code></th>
- <td class="colLast">
- <div class="block">Returns true if the modifiers include the <code>varargs</code>
- (variable number of arguments) modifier.</div>
- </td>
- </tr>
- <tr id="i16" class="altColor">
- <td class="colFirst"><code>static boolean</code></td>
- <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#isVolatile(int)">isVolatile</a></span>​(int mod)</code></th>
- <td class="colLast">
- <div class="block">Returns true if the modifiers include the <code>volatile</code>
- modifier.</div>
- </td>
- </tr>
- <tr id="i17" class="rowColor">
- <td class="colFirst"><code>static int</code></td>
- <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#setPackage(int)">setPackage</a></span>​(int mod)</code></th>
- <td class="colLast">
- <div class="block">Clears the public, protected, and private bits.</div>
- </td>
- </tr>
- <tr id="i18" class="altColor">
- <td class="colFirst"><code>static int</code></td>
- <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#setPrivate(int)">setPrivate</a></span>​(int mod)</code></th>
- <td class="colLast">
- <div class="block">Truns the private bit on.</div>
- </td>
- </tr>
- <tr id="i19" class="rowColor">
- <td class="colFirst"><code>static int</code></td>
- <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#setProtected(int)">setProtected</a></span>​(int mod)</code></th>
- <td class="colLast">
- <div class="block">Truns the protected bit on.</div>
- </td>
- </tr>
- <tr id="i20" class="altColor">
- <td class="colFirst"><code>static int</code></td>
- <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#setPublic(int)">setPublic</a></span>​(int mod)</code></th>
- <td class="colLast">
- <div class="block">Truns the public bit on.</div>
- </td>
- </tr>
- <tr id="i21" class="rowColor">
- <td class="colFirst"><code>static java.lang.String</code></td>
- <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#toString(int)">toString</a></span>​(int mod)</code></th>
- <td class="colLast">
- <div class="block">Return a string describing the access modifier flags in
- the specified modifier.</div>
- </td>
- </tr>
- </table>
- <ul class="blockList">
- <li class="blockList"><a id="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>
- </section>
- </li>
- </ul>
- </div>
- <div class="details">
- <ul class="blockList">
- <li class="blockList">
- <!-- ============ FIELD DETAIL =========== -->
- <section role="region">
- <ul class="blockList">
- <li class="blockList"><a id="field.detail">
- <!-- -->
- </a>
- <h3>Field Detail</h3>
- <a id="PUBLIC">
- <!-- -->
- </a>
- <ul class="blockList">
- <li class="blockList">
- <h4>PUBLIC</h4>
- <pre>public static final int PUBLIC</pre>
- <dl>
- <dt><span class="seeLabel">See Also:</span></dt>
- <dd><a href="../constant-values.html#javassist.Modifier.PUBLIC">Constant Field Values</a></dd>
- </dl>
- </li>
- </ul>
- <a id="PRIVATE">
- <!-- -->
- </a>
- <ul class="blockList">
- <li class="blockList">
- <h4>PRIVATE</h4>
- <pre>public static final int PRIVATE</pre>
- <dl>
- <dt><span class="seeLabel">See Also:</span></dt>
- <dd><a href="../constant-values.html#javassist.Modifier.PRIVATE">Constant Field Values</a></dd>
- </dl>
- </li>
- </ul>
- <a id="PROTECTED">
- <!-- -->
- </a>
- <ul class="blockList">
- <li class="blockList">
- <h4>PROTECTED</h4>
- <pre>public static final int PROTECTED</pre>
- <dl>
- <dt><span class="seeLabel">See Also:</span></dt>
- <dd><a href="../constant-values.html#javassist.Modifier.PROTECTED">Constant Field Values</a></dd>
- </dl>
- </li>
- </ul>
- <a id="STATIC">
- <!-- -->
- </a>
- <ul class="blockList">
- <li class="blockList">
- <h4>STATIC</h4>
- <pre>public static final int STATIC</pre>
- <dl>
- <dt><span class="seeLabel">See Also:</span></dt>
- <dd><a href="../constant-values.html#javassist.Modifier.STATIC">Constant Field Values</a></dd>
- </dl>
- </li>
- </ul>
- <a id="FINAL">
- <!-- -->
- </a>
- <ul class="blockList">
- <li class="blockList">
- <h4>FINAL</h4>
- <pre>public static final int FINAL</pre>
- <dl>
- <dt><span class="seeLabel">See Also:</span></dt>
- <dd><a href="../constant-values.html#javassist.Modifier.FINAL">Constant Field Values</a></dd>
- </dl>
- </li>
- </ul>
- <a id="SYNCHRONIZED">
- <!-- -->
- </a>
- <ul class="blockList">
- <li class="blockList">
- <h4>SYNCHRONIZED</h4>
- <pre>public static final int SYNCHRONIZED</pre>
- <dl>
- <dt><span class="seeLabel">See Also:</span></dt>
- <dd><a href="../constant-values.html#javassist.Modifier.SYNCHRONIZED">Constant Field Values</a></dd>
- </dl>
- </li>
- </ul>
- <a id="VOLATILE">
- <!-- -->
- </a>
- <ul class="blockList">
- <li class="blockList">
- <h4>VOLATILE</h4>
- <pre>public static final int VOLATILE</pre>
- <dl>
- <dt><span class="seeLabel">See Also:</span></dt>
- <dd><a href="../constant-values.html#javassist.Modifier.VOLATILE">Constant Field Values</a></dd>
- </dl>
- </li>
- </ul>
- <a id="VARARGS">
- <!-- -->
- </a>
- <ul class="blockList">
- <li class="blockList">
- <h4>VARARGS</h4>
- <pre>public static final int VARARGS</pre>
- <dl>
- <dt><span class="seeLabel">See Also:</span></dt>
- <dd><a href="../constant-values.html#javassist.Modifier.VARARGS">Constant Field Values</a></dd>
- </dl>
- </li>
- </ul>
- <a id="TRANSIENT">
- <!-- -->
- </a>
- <ul class="blockList">
- <li class="blockList">
- <h4>TRANSIENT</h4>
- <pre>public static final int TRANSIENT</pre>
- <dl>
- <dt><span class="seeLabel">See Also:</span></dt>
- <dd><a href="../constant-values.html#javassist.Modifier.TRANSIENT">Constant Field Values</a></dd>
- </dl>
- </li>
- </ul>
- <a id="NATIVE">
- <!-- -->
- </a>
- <ul class="blockList">
- <li class="blockList">
- <h4>NATIVE</h4>
- <pre>public static final int NATIVE</pre>
- <dl>
- <dt><span class="seeLabel">See Also:</span></dt>
- <dd><a href="../constant-values.html#javassist.Modifier.NATIVE">Constant Field Values</a></dd>
- </dl>
- </li>
- </ul>
- <a id="INTERFACE">
- <!-- -->
- </a>
- <ul class="blockList">
- <li class="blockList">
- <h4>INTERFACE</h4>
- <pre>public static final int INTERFACE</pre>
- <dl>
- <dt><span class="seeLabel">See Also:</span></dt>
- <dd><a href="../constant-values.html#javassist.Modifier.INTERFACE">Constant Field Values</a></dd>
- </dl>
- </li>
- </ul>
- <a id="ABSTRACT">
- <!-- -->
- </a>
- <ul class="blockList">
- <li class="blockList">
- <h4>ABSTRACT</h4>
- <pre>public static final int ABSTRACT</pre>
- <dl>
- <dt><span class="seeLabel">See Also:</span></dt>
- <dd><a href="../constant-values.html#javassist.Modifier.ABSTRACT">Constant Field Values</a></dd>
- </dl>
- </li>
- </ul>
- <a id="STRICT">
- <!-- -->
- </a>
- <ul class="blockList">
- <li class="blockList">
- <h4>STRICT</h4>
- <pre>public static final int STRICT</pre>
- <dl>
- <dt><span class="seeLabel">See Also:</span></dt>
- <dd><a href="../constant-values.html#javassist.Modifier.STRICT">Constant Field Values</a></dd>
- </dl>
- </li>
- </ul>
- <a id="ANNOTATION">
- <!-- -->
- </a>
- <ul class="blockList">
- <li class="blockList">
- <h4>ANNOTATION</h4>
- <pre>public static final int ANNOTATION</pre>
- <dl>
- <dt><span class="seeLabel">See Also:</span></dt>
- <dd><a href="../constant-values.html#javassist.Modifier.ANNOTATION">Constant Field Values</a></dd>
- </dl>
- </li>
- </ul>
- <a id="ENUM">
- <!-- -->
- </a>
- <ul class="blockListLast">
- <li class="blockList">
- <h4>ENUM</h4>
- <pre>public static final int ENUM</pre>
- <dl>
- <dt><span class="seeLabel">See Also:</span></dt>
- <dd><a href="../constant-values.html#javassist.Modifier.ENUM">Constant Field Values</a></dd>
- </dl>
- </li>
- </ul>
- </li>
- </ul>
- </section>
- <!-- ========= CONSTRUCTOR DETAIL ======== -->
- <section role="region">
- <ul class="blockList">
- <li class="blockList"><a id="constructor.detail">
- <!-- -->
- </a>
- <h3>Constructor Detail</h3>
- <a id="<init>()">
- <!-- -->
- </a>
- <ul class="blockListLast">
- <li class="blockList">
- <h4>Modifier</h4>
- <pre>public Modifier()</pre>
- </li>
- </ul>
- </li>
- </ul>
- </section>
- <!-- ============ METHOD DETAIL ========== -->
- <section role="region">
- <ul class="blockList">
- <li class="blockList"><a id="method.detail">
- <!-- -->
- </a>
- <h3>Method Detail</h3>
- <a id="isPublic(int)">
- <!-- -->
- </a>
- <ul class="blockList">
- <li class="blockList">
- <h4>isPublic</h4>
- <pre class="methodSignature">public static boolean isPublic​(int mod)</pre>
- <div class="block">Returns true if the modifiers include the <code>public</code>
- modifier.</div>
- </li>
- </ul>
- <a id="isPrivate(int)">
- <!-- -->
- </a>
- <ul class="blockList">
- <li class="blockList">
- <h4>isPrivate</h4>
- <pre class="methodSignature">public static boolean isPrivate​(int mod)</pre>
- <div class="block">Returns true if the modifiers include the <code>private</code>
- modifier.</div>
- </li>
- </ul>
- <a id="isProtected(int)">
- <!-- -->
- </a>
- <ul class="blockList">
- <li class="blockList">
- <h4>isProtected</h4>
- <pre class="methodSignature">public static boolean isProtected​(int mod)</pre>
- <div class="block">Returns true if the modifiers include the <code>protected</code>
- modifier.</div>
- </li>
- </ul>
- <a id="isPackage(int)">
- <!-- -->
- </a>
- <ul class="blockList">
- <li class="blockList">
- <h4>isPackage</h4>
- <pre class="methodSignature">public static boolean isPackage​(int mod)</pre>
- <div class="block">Returns true if the modifiers do not include either
- <code>public</code>, <code>protected</code>, or <code>private</code>.</div>
- </li>
- </ul>
- <a id="isStatic(int)">
- <!-- -->
- </a>
- <ul class="blockList">
- <li class="blockList">
- <h4>isStatic</h4>
- <pre class="methodSignature">public static boolean isStatic​(int mod)</pre>
- <div class="block">Returns true if the modifiers include the <code>static</code>
- modifier.</div>
- </li>
- </ul>
- <a id="isFinal(int)">
- <!-- -->
- </a>
- <ul class="blockList">
- <li class="blockList">
- <h4>isFinal</h4>
- <pre class="methodSignature">public static boolean isFinal​(int mod)</pre>
- <div class="block">Returns true if the modifiers include the <code>final</code>
- modifier.</div>
- </li>
- </ul>
- <a id="isSynchronized(int)">
- <!-- -->
- </a>
- <ul class="blockList">
- <li class="blockList">
- <h4>isSynchronized</h4>
- <pre class="methodSignature">public static boolean isSynchronized​(int mod)</pre>
- <div class="block">Returns true if the modifiers include the <code>synchronized</code>
- modifier.</div>
- </li>
- </ul>
- <a id="isVolatile(int)">
- <!-- -->
- </a>
- <ul class="blockList">
- <li class="blockList">
- <h4>isVolatile</h4>
- <pre class="methodSignature">public static boolean isVolatile​(int mod)</pre>
- <div class="block">Returns true if the modifiers include the <code>volatile</code>
- modifier.</div>
- </li>
- </ul>
- <a id="isTransient(int)">
- <!-- -->
- </a>
- <ul class="blockList">
- <li class="blockList">
- <h4>isTransient</h4>
- <pre class="methodSignature">public static boolean isTransient​(int mod)</pre>
- <div class="block">Returns true if the modifiers include the <code>transient</code>
- modifier.</div>
- </li>
- </ul>
- <a id="isNative(int)">
- <!-- -->
- </a>
- <ul class="blockList">
- <li class="blockList">
- <h4>isNative</h4>
- <pre class="methodSignature">public static boolean isNative​(int mod)</pre>
- <div class="block">Returns true if the modifiers include the <code>native</code>
- modifier.</div>
- </li>
- </ul>
- <a id="isInterface(int)">
- <!-- -->
- </a>
- <ul class="blockList">
- <li class="blockList">
- <h4>isInterface</h4>
- <pre class="methodSignature">public static boolean isInterface​(int mod)</pre>
- <div class="block">Returns true if the modifiers include the <code>interface</code>
- modifier.</div>
- </li>
- </ul>
- <a id="isAnnotation(int)">
- <!-- -->
- </a>
- <ul class="blockList">
- <li class="blockList">
- <h4>isAnnotation</h4>
- <pre class="methodSignature">public static boolean isAnnotation​(int mod)</pre>
- <div class="block">Returns true if the modifiers include the <code>annotation</code>
- modifier.</div>
- <dl>
- <dt><span class="simpleTagLabel">Since:</span></dt>
- <dd>3.2</dd>
- </dl>
- </li>
- </ul>
- <a id="isEnum(int)">
- <!-- -->
- </a>
- <ul class="blockList">
- <li class="blockList">
- <h4>isEnum</h4>
- <pre class="methodSignature">public static boolean isEnum​(int mod)</pre>
- <div class="block">Returns true if the modifiers include the <code>enum</code>
- modifier.</div>
- <dl>
- <dt><span class="simpleTagLabel">Since:</span></dt>
- <dd>3.2</dd>
- </dl>
- </li>
- </ul>
- <a id="isAbstract(int)">
- <!-- -->
- </a>
- <ul class="blockList">
- <li class="blockList">
- <h4>isAbstract</h4>
- <pre class="methodSignature">public static boolean isAbstract​(int mod)</pre>
- <div class="block">Returns true if the modifiers include the <code>abstract</code>
- modifier.</div>
- </li>
- </ul>
- <a id="isStrict(int)">
- <!-- -->
- </a>
- <ul class="blockList">
- <li class="blockList">
- <h4>isStrict</h4>
- <pre class="methodSignature">public static boolean isStrict​(int mod)</pre>
- <div class="block">Returns true if the modifiers include the <code>strictfp</code>
- modifier.</div>
- </li>
- </ul>
- <a id="isVarArgs(int)">
- <!-- -->
- </a>
- <ul class="blockList">
- <li class="blockList">
- <h4>isVarArgs</h4>
- <pre class="methodSignature">public static boolean isVarArgs​(int mod)</pre>
- <div class="block">Returns true if the modifiers include the <code>varargs</code>
- (variable number of arguments) modifier.</div>
- </li>
- </ul>
- <a id="setPublic(int)">
- <!-- -->
- </a>
- <ul class="blockList">
- <li class="blockList">
- <h4>setPublic</h4>
- <pre class="methodSignature">public static int setPublic​(int mod)</pre>
- <div class="block">Truns the public bit on. The protected and private bits are
- cleared.</div>
- </li>
- </ul>
- <a id="setProtected(int)">
- <!-- -->
- </a>
- <ul class="blockList">
- <li class="blockList">
- <h4>setProtected</h4>
- <pre class="methodSignature">public static int setProtected​(int mod)</pre>
- <div class="block">Truns the protected bit on. The protected and public bits are
- cleared.</div>
- </li>
- </ul>
- <a id="setPrivate(int)">
- <!-- -->
- </a>
- <ul class="blockList">
- <li class="blockList">
- <h4>setPrivate</h4>
- <pre class="methodSignature">public static int setPrivate​(int mod)</pre>
- <div class="block">Truns the private bit on. The protected and private bits are
- cleared.</div>
- </li>
- </ul>
- <a id="setPackage(int)">
- <!-- -->
- </a>
- <ul class="blockList">
- <li class="blockList">
- <h4>setPackage</h4>
- <pre class="methodSignature">public static int setPackage​(int mod)</pre>
- <div class="block">Clears the public, protected, and private bits.</div>
- </li>
- </ul>
- <a id="clear(int,int)">
- <!-- -->
- </a>
- <ul class="blockList">
- <li class="blockList">
- <h4>clear</h4>
- <pre class="methodSignature">public static int clear​(int mod,
- int clearBit)</pre>
- <div class="block">Clears a specified bit in <code>mod</code>.</div>
- </li>
- </ul>
- <a id="toString(int)">
- <!-- -->
- </a>
- <ul class="blockListLast">
- <li class="blockList">
- <h4>toString</h4>
- <pre class="methodSignature">public static java.lang.String toString​(int mod)</pre>
- <div class="block">Return a string describing the access modifier flags in
- the specified modifier.</div>
- <dl>
- <dt><span class="paramLabel">Parameters:</span></dt>
- <dd><code>mod</code> - modifier flags.</dd>
- </dl>
- </li>
- </ul>
- </li>
- </ul>
- </section>
- </li>
- </ul>
- </div>
- </div>
- </main>
- <!-- ========= END OF CLASS DATA ========= -->
- <footer role="contentinfo">
- <nav role="navigation">
- <!-- ======= START OF BOTTOM NAVBAR ====== -->
- <div class="bottomNav"><a id="navbar.bottom">
- <!-- -->
- </a>
- <div class="skipNav"><a href="#skip.navbar.bottom" title="Skip navigation links">Skip navigation links</a></div>
- <a id="navbar.bottom.firstrow">
- <!-- -->
- </a>
- <ul class="navList" title="Navigation">
- <li><a href="../index.html">Overview</a></li>
- <li><a href="package-summary.html">Package</a></li>
- <li class="navBarCell1Rev">Class</li>
- <li><a href="class-use/Modifier.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" id="allclasses_navbar_bottom">
- <li><a href="../allclasses.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 id="skip.navbar.bottom">
- <!-- -->
- </a></div>
- <!-- ======== END OF BOTTOM NAVBAR ======= -->
- </nav>
- <p class="legalCopy"><small><i>Javassist, a Java-bytecode translator toolkit.<br>
- Copyright (C) 1999- Shigeru Chiba. All Rights Reserved.</i></small></p>
- </footer>
- </body>
- </html>
|