forked from bjmashibing/java
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathClass.html
More file actions
3718 lines (3544 loc) · 192 KB
/
Class.html
File metadata and controls
3718 lines (3544 loc) · 192 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
<!DOCTYPE HTML>
<!-- NewPage -->
<html lang="en">
<head>
<!-- Generated by javadoc -->
<title>Class (Java SE 12 & JDK 12 )</title>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<meta name="keywords" content="java.lang.Class class">
<meta name="keywords" content="toString()">
<meta name="keywords" content="toGenericString()">
<meta name="keywords" content="forName()">
<meta name="keywords" content="newInstance()">
<meta name="keywords" content="isInstance()">
<meta name="keywords" content="isAssignableFrom()">
<meta name="keywords" content="isInterface()">
<meta name="keywords" content="isArray()">
<meta name="keywords" content="isPrimitive()">
<meta name="keywords" content="isAnnotation()">
<meta name="keywords" content="isSynthetic()">
<meta name="keywords" content="getName()">
<meta name="keywords" content="getClassLoader()">
<meta name="keywords" content="getModule()">
<meta name="keywords" content="getTypeParameters()">
<meta name="keywords" content="getSuperclass()">
<meta name="keywords" content="getGenericSuperclass()">
<meta name="keywords" content="getPackage()">
<meta name="keywords" content="getPackageName()">
<meta name="keywords" content="getInterfaces()">
<meta name="keywords" content="getGenericInterfaces()">
<meta name="keywords" content="getComponentType()">
<meta name="keywords" content="getModifiers()">
<meta name="keywords" content="getSigners()">
<meta name="keywords" content="getEnclosingMethod()">
<meta name="keywords" content="getEnclosingConstructor()">
<meta name="keywords" content="getDeclaringClass()">
<meta name="keywords" content="getEnclosingClass()">
<meta name="keywords" content="getSimpleName()">
<meta name="keywords" content="getTypeName()">
<meta name="keywords" content="getCanonicalName()">
<meta name="keywords" content="isAnonymousClass()">
<meta name="keywords" content="isLocalClass()">
<meta name="keywords" content="isMemberClass()">
<meta name="keywords" content="getClasses()">
<meta name="keywords" content="getFields()">
<meta name="keywords" content="getMethods()">
<meta name="keywords" content="getConstructors()">
<meta name="keywords" content="getField()">
<meta name="keywords" content="getMethod()">
<meta name="keywords" content="getConstructor()">
<meta name="keywords" content="getDeclaredClasses()">
<meta name="keywords" content="getDeclaredFields()">
<meta name="keywords" content="getDeclaredMethods()">
<meta name="keywords" content="getDeclaredConstructors()">
<meta name="keywords" content="getDeclaredField()">
<meta name="keywords" content="getDeclaredMethod()">
<meta name="keywords" content="getDeclaredConstructor()">
<meta name="keywords" content="getResourceAsStream()">
<meta name="keywords" content="getResource()">
<meta name="keywords" content="getProtectionDomain()">
<meta name="keywords" content="desiredAssertionStatus()">
<meta name="keywords" content="isEnum()">
<meta name="keywords" content="getEnumConstants()">
<meta name="keywords" content="cast()">
<meta name="keywords" content="asSubclass()">
<meta name="keywords" content="getAnnotation()">
<meta name="keywords" content="isAnnotationPresent()">
<meta name="keywords" content="getAnnotationsByType()">
<meta name="keywords" content="getAnnotations()">
<meta name="keywords" content="getDeclaredAnnotation()">
<meta name="keywords" content="getDeclaredAnnotationsByType()">
<meta name="keywords" content="getDeclaredAnnotations()">
<meta name="keywords" content="getAnnotatedSuperclass()">
<meta name="keywords" content="getAnnotatedInterfaces()">
<meta name="keywords" content="getNestHost()">
<meta name="keywords" content="isNestmateOf()">
<meta name="keywords" content="getNestMembers()">
<meta name="keywords" content="descriptorString()">
<meta name="keywords" content="componentType()">
<meta name="keywords" content="arrayType()">
<meta name="keywords" content="describeConstable()">
<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="Class (Java SE 12 & JDK 12 )";
}
}
catch(err) {
}
//-->
var data = {"i0":10,"i1":10,"i2":10,"i3":10,"i4":10,"i5":10,"i6":10,"i7":9,"i8":9,"i9":9,"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,"i71":42,"i72":10,"i73":10};
var tabs = {65535:["t0","All Methods"],1:["t1","Static Methods"],2:["t2","Instance Methods"],8:["t4","Concrete Methods"],32:["t6","Deprecated 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="../../module-summary.html">Module</a></li>
<li><a href="package-summary.html">Package</a></li>
<li class="navBarCell1Rev">Class</li>
<li><a href="class-use/Class.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-files/index-1.html">Index</a></li>
<li><a href="../../../help-doc.html">Help</a></li>
</ul>
<div class="aboutLanguage"><div style="margin-top: 14px;"><strong>Java SE 12 & JDK 12</strong> </div></div>
</div>
<div class="subNav">
<div>
<ul class="subNavList">
<li>Summary: </li>
<li><a href="#nested.class.summary">Nested</a> | </li>
<li>Field | </li>
<li>Constr | </li>
<li><a href="#method.summary">Method</a></li>
</ul>
<ul class="subNavList">
<li>Detail: </li>
<li>Field | </li>
<li>Constr | </li>
<li><a href="#method.detail">Method</a></li>
</ul>
</div>
<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>
<a id="skip.navbar.top">
<!-- -->
</a>
<!-- ========= 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="moduleLabelInType">Module</span> <a href="../../module-summary.html">java.base</a></div>
<div class="subTitle"><span class="packageLabelInType">Package</span> <a href="package-summary.html">java.lang</a></div>
<h2 title="Class Class" class="title">Class Class<T></h2>
</div>
<div class="contentContainer">
<ul class="inheritance">
<li><a href="Object.html" title="class in java.lang">java.lang.Object</a></li>
<li>
<ul class="inheritance">
<li>java.lang.Class<T></li>
</ul>
</li>
</ul>
<div class="description">
<ul class="blockList">
<li class="blockList">
<dl>
<dt><span class="paramLabel">Type Parameters:</span></dt>
<dd><code>T</code> - the type of the class modeled by this <code>Class</code>
object. For example, the type of <code>String.class</code> is <code>
Class<String></code>. Use <code>Class<?></code> if the class being modeled is
unknown.</dd>
</dl>
<dl>
<dt>All Implemented Interfaces:</dt>
<dd><code><a href="../io/Serializable.html" title="interface in java.io">Serializable</a></code>, <code><a href="constant/Constable.html" title="interface in java.lang.constant">Constable</a></code>, <code><a href="invoke/TypeDescriptor.html" title="interface in java.lang.invoke">TypeDescriptor</a></code>, <code><a href="invoke/TypeDescriptor.OfField.html" title="interface in java.lang.invoke">TypeDescriptor.OfField</a><<a href="Class.html" title="class in java.lang">Class</a><?>></code>, <code><a href="reflect/AnnotatedElement.html" title="interface in java.lang.reflect">AnnotatedElement</a></code>, <code><a href="reflect/GenericDeclaration.html" title="interface in java.lang.reflect">GenericDeclaration</a></code>, <code><a href="reflect/Type.html" title="interface in java.lang.reflect">Type</a></code></dd>
</dl>
<hr>
<pre>public final class <span class="typeNameLabel">Class<T></span>
extends <a href="Object.html" title="class in java.lang">Object</a>
implements <a href="../io/Serializable.html" title="interface in java.io">Serializable</a>, <a href="reflect/GenericDeclaration.html" title="interface in java.lang.reflect">GenericDeclaration</a>, <a href="reflect/Type.html" title="interface in java.lang.reflect">Type</a>, <a href="reflect/AnnotatedElement.html" title="interface in java.lang.reflect">AnnotatedElement</a>, <a href="invoke/TypeDescriptor.OfField.html" title="interface in java.lang.invoke">TypeDescriptor.OfField</a><<a href="Class.html" title="class in java.lang">Class</a><?>>, <a href="constant/Constable.html" title="interface in java.lang.constant">Constable</a></pre>
<div class="block">Instances of the class <code>Class</code> represent classes and interfaces
in a running Java application. An enum type is a kind of class and an
annotation type is a kind of interface. Every array also
belongs to a class that is reflected as a <code>Class</code> object
that is shared by all arrays with the same element type and number
of dimensions. The primitive Java types (<code>boolean</code>,
<code>byte</code>, <code>char</code>, <code>short</code>,
<code>int</code>, <code>long</code>, <code>float</code>, and
<code>double</code>), and the keyword <code>void</code> are also
represented as <code>Class</code> objects.
<p> <code>Class</code> has no public constructor. Instead a <code>Class</code>
object is constructed automatically by the Java Virtual Machine
when a class loader invokes one of the
<a href="ClassLoader.html#defineClass(java.lang.String,byte%5B%5D,int,int)"><code>defineClass</code></a> methods
and passes the bytes of a <code>class</code> file.
<p> The methods of class <code>Class</code> expose many characteristics of a
class or interface. Most characteristics are derived from the <code>class</code>
file that the class loader passed to the Java Virtual Machine. A few
characteristics are determined by the class loading environment at run time,
such as the module returned by <a href="#getModule()"><code>getModule()</code></a>.
<p> Some methods of class <code>Class</code> expose whether the declaration of
a class or interface in Java source code was <em>enclosed</em> within
another declaration. Other methods describe how a class or interface
is situated in a <em>nest</em>. A <a id="nest">nest</a> is a set of
classes and interfaces, in the same run-time package, that
allow mutual access to their <code>private</code> members.
The classes and interfaces are known as <em>nestmates</em>.
One nestmate acts as the
<em>nest host</em>, and enumerates the other nestmates which
belong to the nest; each of them in turn records it as the nest host.
The classes and interfaces which belong to a nest, including its host, are
determined when
<code>class</code> files are generated, for example, a Java compiler
will typically record a top-level class as the host of a nest where the
other members are the classes and interfaces whose declarations are
enclosed within the top-level class declaration.
<p> The following example uses a <code>Class</code> object to print the
class name of an object:
<blockquote><pre>
void printClassName(Object obj) {
System.out.println("The class of " + obj +
" is " + obj.getClass().getName());
}
</pre></blockquote>
<p> It is also possible to get the <code>Class</code> object for a named
type (or for void) using a class literal. See Section 15.8.2 of
<cite>The Java™ Language Specification</cite>.
For example:
<blockquote>
<code>System.out.println("The name of class Foo is: "+Foo.class.getName());</code>
</blockquote></div>
<dl>
<dt><span class="simpleTagLabel">Since:</span></dt>
<dd>1.0</dd>
<dt><span class="seeLabel">See Also:</span></dt>
<dd><a href="ClassLoader.html#defineClass(byte%5B%5D,int,int)"><code>ClassLoader.defineClass(byte[], int, int)</code></a>,
<a href="../../../serialized-form.html#java.lang.Class">Serialized Form</a></dd>
</dl>
</li>
</ul>
</div>
<div class="summary">
<ul class="blockList">
<li class="blockList">
<!-- ======== NESTED CLASS SUMMARY ======== -->
<section role="region">
<ul class="blockList">
<li class="blockList"><a id="nested.class.summary">
<!-- -->
</a>
<h3>Nested Class Summary</h3>
<ul class="blockList">
<li class="blockList"><a id="nested.classes.inherited.from.class.java.lang.invoke.TypeDescriptor">
<!-- -->
</a>
<h3>Nested classes/interfaces declared in interface java.lang.invoke.<a href="invoke/TypeDescriptor.html" title="interface in java.lang.invoke">TypeDescriptor</a></h3>
<code><a href="invoke/TypeDescriptor.OfField.html" title="interface in java.lang.invoke">TypeDescriptor.OfField</a><<a href="invoke/TypeDescriptor.OfField.html" title="type parameter in TypeDescriptor.OfField">F</a> extends <a href="invoke/TypeDescriptor.OfField.html" title="interface in java.lang.invoke">TypeDescriptor.OfField</a><<a href="invoke/TypeDescriptor.OfField.html" title="type parameter in TypeDescriptor.OfField">F</a>>>, <a href="invoke/TypeDescriptor.OfMethod.html" title="interface in java.lang.invoke">TypeDescriptor.OfMethod</a><<a href="invoke/TypeDescriptor.OfMethod.html" title="type parameter in TypeDescriptor.OfMethod">F</a> extends <a href="invoke/TypeDescriptor.OfField.html" title="interface in java.lang.invoke">TypeDescriptor.OfField</a><<a href="invoke/TypeDescriptor.OfMethod.html" title="type parameter in TypeDescriptor.OfMethod">F</a>>,​<a href="invoke/TypeDescriptor.OfMethod.html" title="type parameter in TypeDescriptor.OfMethod">M</a> extends <a href="invoke/TypeDescriptor.OfMethod.html" title="interface in java.lang.invoke">TypeDescriptor.OfMethod</a><<a href="invoke/TypeDescriptor.OfMethod.html" title="type parameter in TypeDescriptor.OfMethod">F</a>,​<a href="invoke/TypeDescriptor.OfMethod.html" title="type parameter in TypeDescriptor.OfMethod">M</a>>></code></li>
</ul>
</li>
</ul>
</section>
<!-- ========== METHOD SUMMARY =========== -->
<section role="region">
<ul class="blockList">
<li class="blockList"><a id="method.summary">
<!-- -->
</a>
<h3>Method Summary</h3>
<div class="memberSummary">
<div role="tablist" aria-orientation="horizontal"><button role="tab" aria-selected="true" aria-controls="memberSummary_tabpanel" tabindex="0" onkeydown="switchTab(event)" id="t0" class="activeTableTab">All Methods</button><button role="tab" aria-selected="false" aria-controls="memberSummary_tabpanel" tabindex="-1" onkeydown="switchTab(event)" id="t1" class="tableTab" onclick="show(1);">Static Methods</button><button role="tab" aria-selected="false" aria-controls="memberSummary_tabpanel" tabindex="-1" onkeydown="switchTab(event)" id="t2" class="tableTab" onclick="show(2);">Instance Methods</button><button role="tab" aria-selected="false" aria-controls="memberSummary_tabpanel" tabindex="-1" onkeydown="switchTab(event)" id="t4" class="tableTab" onclick="show(8);">Concrete Methods</button><button role="tab" aria-selected="false" aria-controls="memberSummary_tabpanel" tabindex="-1" onkeydown="switchTab(event)" id="t6" class="tableTab" onclick="show(32);">Deprecated Methods</button></div>
<div id="memberSummary_tabpanel" role="tabpanel">
<table aria-labelledby="t0">
<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>
<tbody>
<tr class="altColor" id="i0">
<td class="colFirst"><code><a href="Class.html" title="class in java.lang">Class</a><?></code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#arrayType()">arrayType</a></span>()</code></th>
<td class="colLast">
<div class="block">Returns a <code>Class</code> for an array type whose component type
is described by this <a href="Class.html" title="class in java.lang">Class</a>.</div>
</td>
</tr>
<tr class="rowColor" id="i1">
<td class="colFirst"><code><U> <a href="Class.html" title="class in java.lang">Class</a><? extends U></code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#asSubclass(java.lang.Class)">asSubclass</a></span>​(<a href="Class.html" title="class in java.lang">Class</a><U> clazz)</code></th>
<td class="colLast">
<div class="block">Casts this <code>Class</code> object to represent a subclass of the class
represented by the specified class object.</div>
</td>
</tr>
<tr class="altColor" id="i2">
<td class="colFirst"><code><a href="Class.html" title="type parameter in Class">T</a></code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#cast(java.lang.Object)">cast</a></span>​(<a href="Object.html" title="class in java.lang">Object</a> obj)</code></th>
<td class="colLast">
<div class="block">Casts an object to the class or interface represented
by this <code>Class</code> object.</div>
</td>
</tr>
<tr class="rowColor" id="i3">
<td class="colFirst"><code><a href="Class.html" title="class in java.lang">Class</a><?></code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#componentType()">componentType</a></span>()</code></th>
<td class="colLast">
<div class="block">Returns the component type of this <code>Class</code>, if it describes
an array type, or <code>null</code> otherwise.</div>
</td>
</tr>
<tr class="altColor" id="i4">
<td class="colFirst"><code><a href="../util/Optional.html" title="class in java.util">Optional</a><<a href="constant/ClassDesc.html" title="interface in java.lang.constant">ClassDesc</a>></code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#describeConstable()">describeConstable</a></span>()</code></th>
<td class="colLast">
<div class="block">Returns a nominal descriptor for this instance, if one can be
constructed, or an empty <a href="../util/Optional.html" title="class in java.util"><code>Optional</code></a> if one cannot be.</div>
</td>
</tr>
<tr class="rowColor" id="i5">
<td class="colFirst"><code><a href="String.html" title="class in java.lang">String</a></code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#descriptorString()">descriptorString</a></span>()</code></th>
<td class="colLast">
<div class="block">Returns the type descriptor string for this class.</div>
</td>
</tr>
<tr class="altColor" id="i6">
<td class="colFirst"><code>boolean</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#desiredAssertionStatus()">desiredAssertionStatus</a></span>()</code></th>
<td class="colLast">
<div class="block">Returns the assertion status that would be assigned to this
class if it were to be initialized at the time this method is invoked.</div>
</td>
</tr>
<tr class="rowColor" id="i7">
<td class="colFirst"><code>static <a href="Class.html" title="class in java.lang">Class</a><?></code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#forName(java.lang.Module,java.lang.String)">forName</a></span>​(<a href="Module.html" title="class in java.lang">Module</a> module,
<a href="String.html" title="class in java.lang">String</a> name)</code></th>
<td class="colLast">
<div class="block">Returns the <code>Class</code> with the given <a href="ClassLoader.html#binary-name">
binary name</a> in the given module.</div>
</td>
</tr>
<tr class="altColor" id="i8">
<td class="colFirst"><code>static <a href="Class.html" title="class in java.lang">Class</a><?></code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#forName(java.lang.String)">forName</a></span>​(<a href="String.html" title="class in java.lang">String</a> className)</code></th>
<td class="colLast">
<div class="block">Returns the <code>Class</code> object associated with the class or
interface with the given string name.</div>
</td>
</tr>
<tr class="rowColor" id="i9">
<td class="colFirst"><code>static <a href="Class.html" title="class in java.lang">Class</a><?></code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#forName(java.lang.String,boolean,java.lang.ClassLoader)">forName</a></span>​(<a href="String.html" title="class in java.lang">String</a> name,
boolean initialize,
<a href="ClassLoader.html" title="class in java.lang">ClassLoader</a> loader)</code></th>
<td class="colLast">
<div class="block">Returns the <code>Class</code> object associated with the class or
interface with the given string name, using the given class loader.</div>
</td>
</tr>
<tr class="altColor" id="i10">
<td class="colFirst"><code><a href="reflect/AnnotatedType.html" title="interface in java.lang.reflect">AnnotatedType</a>[]</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getAnnotatedInterfaces()">getAnnotatedInterfaces</a></span>()</code></th>
<td class="colLast">
<div class="block">Returns an array of <code>AnnotatedType</code> objects that represent the use
of types to specify superinterfaces of the entity represented by this
<code>Class</code> object.</div>
</td>
</tr>
<tr class="rowColor" id="i11">
<td class="colFirst"><code><a href="reflect/AnnotatedType.html" title="interface in java.lang.reflect">AnnotatedType</a></code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getAnnotatedSuperclass()">getAnnotatedSuperclass</a></span>()</code></th>
<td class="colLast">
<div class="block">Returns an <code>AnnotatedType</code> object that represents the use of a
type to specify the superclass of the entity represented by this <code>
Class</code> object.</div>
</td>
</tr>
<tr class="altColor" id="i12">
<td class="colFirst"><code><A extends <a href="annotation/Annotation.html" title="interface in java.lang.annotation">Annotation</a>><br>A</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getAnnotation(java.lang.Class)">getAnnotation</a></span>​(<a href="Class.html" title="class in java.lang">Class</a><A> annotationClass)</code></th>
<td class="colLast">
<div class="block">Returns this element's annotation for the specified type if
such an annotation is <em>present</em>, else null.</div>
</td>
</tr>
<tr class="rowColor" id="i13">
<td class="colFirst"><code><a href="annotation/Annotation.html" title="interface in java.lang.annotation">Annotation</a>[]</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getAnnotations()">getAnnotations</a></span>()</code></th>
<td class="colLast">
<div class="block">Returns annotations that are <em>present</em> on this element.</div>
</td>
</tr>
<tr class="altColor" id="i14">
<td class="colFirst"><code><A extends <a href="annotation/Annotation.html" title="interface in java.lang.annotation">Annotation</a>><br>A[]</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getAnnotationsByType(java.lang.Class)">getAnnotationsByType</a></span>​(<a href="Class.html" title="class in java.lang">Class</a><A> annotationClass)</code></th>
<td class="colLast">
<div class="block">Returns annotations that are <em>associated</em> with this element.</div>
</td>
</tr>
<tr class="rowColor" id="i15">
<td class="colFirst"><code><a href="String.html" title="class in java.lang">String</a></code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getCanonicalName()">getCanonicalName</a></span>()</code></th>
<td class="colLast">
<div class="block">Returns the canonical name of the underlying class as
defined by the Java Language Specification.</div>
</td>
</tr>
<tr class="altColor" id="i16">
<td class="colFirst"><code><a href="Class.html" title="class in java.lang">Class</a><?>[]</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getClasses()">getClasses</a></span>()</code></th>
<td class="colLast">
<div class="block">Returns an array containing <code>Class</code> objects representing all
the public classes and interfaces that are members of the class
represented by this <code>Class</code> object.</div>
</td>
</tr>
<tr class="rowColor" id="i17">
<td class="colFirst"><code><a href="ClassLoader.html" title="class in java.lang">ClassLoader</a></code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getClassLoader()">getClassLoader</a></span>()</code></th>
<td class="colLast">
<div class="block">Returns the class loader for the class.</div>
</td>
</tr>
<tr class="altColor" id="i18">
<td class="colFirst"><code><a href="Class.html" title="class in java.lang">Class</a><?></code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getComponentType()">getComponentType</a></span>()</code></th>
<td class="colLast">
<div class="block">Returns the <code>Class</code> representing the component type of an
array.</div>
</td>
</tr>
<tr class="rowColor" id="i19">
<td class="colFirst"><code><a href="reflect/Constructor.html" title="class in java.lang.reflect">Constructor</a><<a href="Class.html" title="type parameter in Class">T</a>></code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getConstructor(java.lang.Class...)">getConstructor</a></span>​(<a href="Class.html" title="class in java.lang">Class</a><?>... parameterTypes)</code></th>
<td class="colLast">
<div class="block">Returns a <code>Constructor</code> object that reflects the specified
public constructor of the class represented by this <code>Class</code>
object.</div>
</td>
</tr>
<tr class="altColor" id="i20">
<td class="colFirst"><code><a href="reflect/Constructor.html" title="class in java.lang.reflect">Constructor</a><?>[]</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getConstructors()">getConstructors</a></span>()</code></th>
<td class="colLast">
<div class="block">Returns an array containing <code>Constructor</code> objects reflecting
all the public constructors of the class represented by this
<code>Class</code> object.</div>
</td>
</tr>
<tr class="rowColor" id="i21">
<td class="colFirst"><code><A extends <a href="annotation/Annotation.html" title="interface in java.lang.annotation">Annotation</a>><br>A</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getDeclaredAnnotation(java.lang.Class)">getDeclaredAnnotation</a></span>​(<a href="Class.html" title="class in java.lang">Class</a><A> annotationClass)</code></th>
<td class="colLast">
<div class="block">Returns this element's annotation for the specified type if
such an annotation is <em>directly present</em>, else null.</div>
</td>
</tr>
<tr class="altColor" id="i22">
<td class="colFirst"><code><a href="annotation/Annotation.html" title="interface in java.lang.annotation">Annotation</a>[]</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getDeclaredAnnotations()">getDeclaredAnnotations</a></span>()</code></th>
<td class="colLast">
<div class="block">Returns annotations that are <em>directly present</em> on this element.</div>
</td>
</tr>
<tr class="rowColor" id="i23">
<td class="colFirst"><code><A extends <a href="annotation/Annotation.html" title="interface in java.lang.annotation">Annotation</a>><br>A[]</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getDeclaredAnnotationsByType(java.lang.Class)">getDeclaredAnnotationsByType</a></span>​(<a href="Class.html" title="class in java.lang">Class</a><A> annotationClass)</code></th>
<td class="colLast">
<div class="block">Returns this element's annotation(s) for the specified type if
such annotations are either <em>directly present</em> or
<em>indirectly present</em>.</div>
</td>
</tr>
<tr class="altColor" id="i24">
<td class="colFirst"><code><a href="Class.html" title="class in java.lang">Class</a><?>[]</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getDeclaredClasses()">getDeclaredClasses</a></span>()</code></th>
<td class="colLast">
<div class="block">Returns an array of <code>Class</code> objects reflecting all the
classes and interfaces declared as members of the class represented by
this <code>Class</code> object.</div>
</td>
</tr>
<tr class="rowColor" id="i25">
<td class="colFirst"><code><a href="reflect/Constructor.html" title="class in java.lang.reflect">Constructor</a><<a href="Class.html" title="type parameter in Class">T</a>></code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getDeclaredConstructor(java.lang.Class...)">getDeclaredConstructor</a></span>​(<a href="Class.html" title="class in java.lang">Class</a><?>... parameterTypes)</code></th>
<td class="colLast">
<div class="block">Returns a <code>Constructor</code> object that reflects the specified
constructor of the class or interface represented by this
<code>Class</code> object.</div>
</td>
</tr>
<tr class="altColor" id="i26">
<td class="colFirst"><code><a href="reflect/Constructor.html" title="class in java.lang.reflect">Constructor</a><?>[]</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getDeclaredConstructors()">getDeclaredConstructors</a></span>()</code></th>
<td class="colLast">
<div class="block">Returns an array of <code>Constructor</code> objects reflecting all the
constructors declared by the class represented by this
<code>Class</code> object.</div>
</td>
</tr>
<tr class="rowColor" id="i27">
<td class="colFirst"><code><a href="reflect/Field.html" title="class in java.lang.reflect">Field</a></code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getDeclaredField(java.lang.String)">getDeclaredField</a></span>​(<a href="String.html" title="class in java.lang">String</a> name)</code></th>
<td class="colLast">
<div class="block">Returns a <code>Field</code> object that reflects the specified declared
field of the class or interface represented by this <code>Class</code>
object.</div>
</td>
</tr>
<tr class="altColor" id="i28">
<td class="colFirst"><code><a href="reflect/Field.html" title="class in java.lang.reflect">Field</a>[]</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getDeclaredFields()">getDeclaredFields</a></span>()</code></th>
<td class="colLast">
<div class="block">Returns an array of <code>Field</code> objects reflecting all the fields
declared by the class or interface represented by this
<code>Class</code> object.</div>
</td>
</tr>
<tr class="rowColor" id="i29">
<td class="colFirst"><code><a href="reflect/Method.html" title="class in java.lang.reflect">Method</a></code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getDeclaredMethod(java.lang.String,java.lang.Class...)">getDeclaredMethod</a></span>​(<a href="String.html" title="class in java.lang">String</a> name,
<a href="Class.html" title="class in java.lang">Class</a><?>... parameterTypes)</code></th>
<td class="colLast">
<div class="block">Returns a <code>Method</code> object that reflects the specified
declared method of the class or interface represented by this
<code>Class</code> object.</div>
</td>
</tr>
<tr class="altColor" id="i30">
<td class="colFirst"><code><a href="reflect/Method.html" title="class in java.lang.reflect">Method</a>[]</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getDeclaredMethods()">getDeclaredMethods</a></span>()</code></th>
<td class="colLast">
<div class="block">Returns an array containing <code>Method</code> objects reflecting all the
declared methods of the class or interface represented by this <code>
Class</code> object, including public, protected, default (package)
access, and private methods, but excluding inherited methods.</div>
</td>
</tr>
<tr class="rowColor" id="i31">
<td class="colFirst"><code><a href="Class.html" title="class in java.lang">Class</a><?></code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getDeclaringClass()">getDeclaringClass</a></span>()</code></th>
<td class="colLast">
<div class="block">If the class or interface represented by this <code>Class</code> object
is a member of another class, returns the <code>Class</code> object
representing the class in which it was declared.</div>
</td>
</tr>
<tr class="altColor" id="i32">
<td class="colFirst"><code><a href="Class.html" title="class in java.lang">Class</a><?></code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getEnclosingClass()">getEnclosingClass</a></span>()</code></th>
<td class="colLast">
<div class="block">Returns the immediately enclosing class of the underlying
class.</div>
</td>
</tr>
<tr class="rowColor" id="i33">
<td class="colFirst"><code><a href="reflect/Constructor.html" title="class in java.lang.reflect">Constructor</a><?></code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getEnclosingConstructor()">getEnclosingConstructor</a></span>()</code></th>
<td class="colLast">
<div class="block">If this <code>Class</code> object represents a local or anonymous
class within a constructor, returns a <a href="reflect/Constructor.html" title="class in java.lang.reflect"><code>Constructor</code></a> object representing
the immediately enclosing constructor of the underlying
class.</div>
</td>
</tr>
<tr class="altColor" id="i34">
<td class="colFirst"><code><a href="reflect/Method.html" title="class in java.lang.reflect">Method</a></code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getEnclosingMethod()">getEnclosingMethod</a></span>()</code></th>
<td class="colLast">
<div class="block">If this <code>Class</code> object represents a local or anonymous
class within a method, returns a <a href="reflect/Method.html" title="class in java.lang.reflect"><code>Method</code></a> object representing the
immediately enclosing method of the underlying class.</div>
</td>
</tr>
<tr class="rowColor" id="i35">
<td class="colFirst"><code><a href="Class.html" title="type parameter in Class">T</a>[]</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getEnumConstants()">getEnumConstants</a></span>()</code></th>
<td class="colLast">
<div class="block">Returns the elements of this enum class or null if this
Class object does not represent an enum type.</div>
</td>
</tr>
<tr class="altColor" id="i36">
<td class="colFirst"><code><a href="reflect/Field.html" title="class in java.lang.reflect">Field</a></code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getField(java.lang.String)">getField</a></span>​(<a href="String.html" title="class in java.lang">String</a> name)</code></th>
<td class="colLast">
<div class="block">Returns a <code>Field</code> object that reflects the specified public member
field of the class or interface represented by this <code>Class</code>
object.</div>
</td>
</tr>
<tr class="rowColor" id="i37">
<td class="colFirst"><code><a href="reflect/Field.html" title="class in java.lang.reflect">Field</a>[]</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getFields()">getFields</a></span>()</code></th>
<td class="colLast">
<div class="block">Returns an array containing <code>Field</code> objects reflecting all
the accessible public fields of the class or interface represented by
this <code>Class</code> object.</div>
</td>
</tr>
<tr class="altColor" id="i38">
<td class="colFirst"><code><a href="reflect/Type.html" title="interface in java.lang.reflect">Type</a>[]</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getGenericInterfaces()">getGenericInterfaces</a></span>()</code></th>
<td class="colLast">
<div class="block">Returns the <code>Type</code>s representing the interfaces
directly implemented by the class or interface represented by
this object.</div>
</td>
</tr>
<tr class="rowColor" id="i39">
<td class="colFirst"><code><a href="reflect/Type.html" title="interface in java.lang.reflect">Type</a></code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getGenericSuperclass()">getGenericSuperclass</a></span>()</code></th>
<td class="colLast">
<div class="block">Returns the <code>Type</code> representing the direct superclass of
the entity (class, interface, primitive type or void) represented by
this <code>Class</code>.</div>
</td>
</tr>
<tr class="altColor" id="i40">
<td class="colFirst"><code><a href="Class.html" title="class in java.lang">Class</a><?>[]</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getInterfaces()">getInterfaces</a></span>()</code></th>
<td class="colLast">
<div class="block">Returns the interfaces directly implemented by the class or interface
represented by this object.</div>
</td>
</tr>
<tr class="rowColor" id="i41">
<td class="colFirst"><code><a href="reflect/Method.html" title="class in java.lang.reflect">Method</a></code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getMethod(java.lang.String,java.lang.Class...)">getMethod</a></span>​(<a href="String.html" title="class in java.lang">String</a> name,
<a href="Class.html" title="class in java.lang">Class</a><?>... parameterTypes)</code></th>
<td class="colLast">
<div class="block">Returns a <code>Method</code> object that reflects the specified public
member method of the class or interface represented by this
<code>Class</code> object.</div>
</td>
</tr>
<tr class="altColor" id="i42">
<td class="colFirst"><code><a href="reflect/Method.html" title="class in java.lang.reflect">Method</a>[]</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getMethods()">getMethods</a></span>()</code></th>
<td class="colLast">
<div class="block">Returns an array containing <code>Method</code> objects reflecting all the
public methods of the class or interface represented by this <code>
Class</code> object, including those declared by the class or interface and
those inherited from superclasses and superinterfaces.</div>
</td>
</tr>
<tr class="rowColor" id="i43">
<td class="colFirst"><code>int</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getModifiers()">getModifiers</a></span>()</code></th>
<td class="colLast">
<div class="block">Returns the Java language modifiers for this class or interface, encoded
in an integer.</div>
</td>
</tr>
<tr class="altColor" id="i44">
<td class="colFirst"><code><a href="Module.html" title="class in java.lang">Module</a></code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getModule()">getModule</a></span>()</code></th>
<td class="colLast">
<div class="block">Returns the module that this class or interface is a member of.</div>
</td>
</tr>
<tr class="rowColor" id="i45">
<td class="colFirst"><code><a href="String.html" title="class in java.lang">String</a></code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getName()">getName</a></span>()</code></th>
<td class="colLast">
<div class="block">Returns the name of the entity (class, interface, array class,
primitive type, or void) represented by this <code>Class</code> object,
as a <code>String</code>.</div>
</td>
</tr>
<tr class="altColor" id="i46">
<td class="colFirst"><code><a href="Class.html" title="class in java.lang">Class</a><?></code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getNestHost()">getNestHost</a></span>()</code></th>
<td class="colLast">
<div class="block">Returns the nest host of the <a href=#nest>nest</a> to which the class
or interface represented by this <code>Class</code> object belongs.</div>
</td>
</tr>
<tr class="rowColor" id="i47">
<td class="colFirst"><code><a href="Class.html" title="class in java.lang">Class</a><?>[]</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getNestMembers()">getNestMembers</a></span>()</code></th>
<td class="colLast">
<div class="block">Returns an array containing <code>Class</code> objects representing all the
classes and interfaces that are members of the nest to which the class
or interface represented by this <code>Class</code> object belongs.</div>
</td>
</tr>
<tr class="altColor" id="i48">
<td class="colFirst"><code><a href="Package.html" title="class in java.lang">Package</a></code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getPackage()">getPackage</a></span>()</code></th>
<td class="colLast">
<div class="block">Gets the package of this class.</div>
</td>
</tr>
<tr class="rowColor" id="i49">
<td class="colFirst"><code><a href="String.html" title="class in java.lang">String</a></code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getPackageName()">getPackageName</a></span>()</code></th>
<td class="colLast">
<div class="block">Returns the fully qualified package name.</div>
</td>
</tr>
<tr class="altColor" id="i50">
<td class="colFirst"><code><a href="../security/ProtectionDomain.html" title="class in java.security">ProtectionDomain</a></code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getProtectionDomain()">getProtectionDomain</a></span>()</code></th>
<td class="colLast">
<div class="block">Returns the <code>ProtectionDomain</code> of this class.</div>
</td>
</tr>
<tr class="rowColor" id="i51">
<td class="colFirst"><code><a href="../net/URL.html" title="class in java.net">URL</a></code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getResource(java.lang.String)">getResource</a></span>​(<a href="String.html" title="class in java.lang">String</a> name)</code></th>
<td class="colLast">
<div class="block">Finds a resource with a given name.</div>
</td>
</tr>
<tr class="altColor" id="i52">
<td class="colFirst"><code><a href="../io/InputStream.html" title="class in java.io">InputStream</a></code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getResourceAsStream(java.lang.String)">getResourceAsStream</a></span>​(<a href="String.html" title="class in java.lang">String</a> name)</code></th>
<td class="colLast">
<div class="block">Finds a resource with a given name.</div>
</td>
</tr>
<tr class="rowColor" id="i53">
<td class="colFirst"><code><a href="Object.html" title="class in java.lang">Object</a>[]</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getSigners()">getSigners</a></span>()</code></th>
<td class="colLast">
<div class="block">Gets the signers of this class.</div>
</td>
</tr>
<tr class="altColor" id="i54">
<td class="colFirst"><code><a href="String.html" title="class in java.lang">String</a></code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getSimpleName()">getSimpleName</a></span>()</code></th>
<td class="colLast">
<div class="block">Returns the simple name of the underlying class as given in the
source code.</div>
</td>
</tr>
<tr class="rowColor" id="i55">
<td class="colFirst"><code><a href="Class.html" title="class in java.lang">Class</a><? super <a href="Class.html" title="type parameter in Class">T</a>></code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getSuperclass()">getSuperclass</a></span>()</code></th>
<td class="colLast">
<div class="block">Returns the <code>Class</code> representing the direct superclass of the
entity (class, interface, primitive type or void) represented by
this <code>Class</code>.</div>
</td>
</tr>
<tr class="altColor" id="i56">
<td class="colFirst"><code><a href="String.html" title="class in java.lang">String</a></code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getTypeName()">getTypeName</a></span>()</code></th>
<td class="colLast">
<div class="block">Return an informative string for the name of this type.</div>
</td>
</tr>
<tr class="rowColor" id="i57">
<td class="colFirst"><code><a href="reflect/TypeVariable.html" title="interface in java.lang.reflect">TypeVariable</a><<a href="Class.html" title="class in java.lang">Class</a><<a href="Class.html" title="type parameter in Class">T</a>>>[]</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getTypeParameters()">getTypeParameters</a></span>()</code></th>
<td class="colLast">
<div class="block">Returns an array of <code>TypeVariable</code> objects that represent the
type variables declared by the generic declaration represented by this
<code>GenericDeclaration</code> object, in declaration order.</div>
</td>
</tr>
<tr class="altColor" id="i58">
<td class="colFirst"><code>boolean</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#isAnnotation()">isAnnotation</a></span>()</code></th>
<td class="colLast">
<div class="block">Returns true if this <code>Class</code> object represents an annotation
type.</div>
</td>
</tr>
<tr class="rowColor" id="i59">
<td class="colFirst"><code>boolean</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#isAnnotationPresent(java.lang.Class)">isAnnotationPresent</a></span>​(<a href="Class.html" title="class in java.lang">Class</a><? extends <a href="annotation/Annotation.html" title="interface in java.lang.annotation">Annotation</a>> annotationClass)</code></th>
<td class="colLast">
<div class="block">Returns true if an annotation for the specified type
is <em>present</em> on this element, else false.</div>
</td>
</tr>
<tr class="altColor" id="i60">
<td class="colFirst"><code>boolean</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#isAnonymousClass()">isAnonymousClass</a></span>()</code></th>
<td class="colLast">
<div class="block">Returns <code>true</code> if and only if the underlying class
is an anonymous class.</div>
</td>
</tr>
<tr class="rowColor" id="i61">
<td class="colFirst"><code>boolean</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#isArray()">isArray</a></span>()</code></th>
<td class="colLast">
<div class="block">Determines if this <code>Class</code> object represents an array class.</div>
</td>
</tr>
<tr class="altColor" id="i62">
<td class="colFirst"><code>boolean</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#isAssignableFrom(java.lang.Class)">isAssignableFrom</a></span>​(<a href="Class.html" title="class in java.lang">Class</a><?> cls)</code></th>
<td class="colLast">
<div class="block">Determines if the class or interface represented by this
<code>Class</code> object is either the same as, or is a superclass or
superinterface of, the class or interface represented by the specified
<code>Class</code> parameter.</div>
</td>
</tr>
<tr class="rowColor" id="i63">
<td class="colFirst"><code>boolean</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#isEnum()">isEnum</a></span>()</code></th>
<td class="colLast">
<div class="block">Returns true if and only if this class was declared as an enum in the
source code.</div>
</td>
</tr>
<tr class="altColor" id="i64">
<td class="colFirst"><code>boolean</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#isInstance(java.lang.Object)">isInstance</a></span>​(<a href="Object.html" title="class in java.lang">Object</a> obj)</code></th>
<td class="colLast">
<div class="block">Determines if the specified <code>Object</code> is assignment-compatible
with the object represented by this <code>Class</code>.</div>
</td>
</tr>
<tr class="rowColor" id="i65">
<td class="colFirst"><code>boolean</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#isInterface()">isInterface</a></span>()</code></th>
<td class="colLast">
<div class="block">Determines if the specified <code>Class</code> object represents an
interface type.</div>
</td>
</tr>
<tr class="altColor" id="i66">
<td class="colFirst"><code>boolean</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#isLocalClass()">isLocalClass</a></span>()</code></th>
<td class="colLast">
<div class="block">Returns <code>true</code> if and only if the underlying class
is a local class.</div>
</td>
</tr>
<tr class="rowColor" id="i67">
<td class="colFirst"><code>boolean</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#isMemberClass()">isMemberClass</a></span>()</code></th>
<td class="colLast">
<div class="block">Returns <code>true</code> if and only if the underlying class
is a member class.</div>
</td>
</tr>
<tr class="altColor" id="i68">
<td class="colFirst"><code>boolean</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#isNestmateOf(java.lang.Class)">isNestmateOf</a></span>​(<a href="Class.html" title="class in java.lang">Class</a><?> c)</code></th>
<td class="colLast">
<div class="block">Determines if the given <code>Class</code> is a nestmate of the
class or interface represented by this <code>Class</code> object.</div>
</td>
</tr>
<tr class="rowColor" id="i69">
<td class="colFirst"><code>boolean</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#isPrimitive()">isPrimitive</a></span>()</code></th>
<td class="colLast">
<div class="block">Determines if the specified <code>Class</code> object represents a
primitive type.</div>
</td>
</tr>
<tr class="altColor" id="i70">
<td class="colFirst"><code>boolean</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#isSynthetic()">isSynthetic</a></span>()</code></th>
<td class="colLast">
<div class="block">Returns <code>true</code> if this class is a synthetic class;
returns <code>false</code> otherwise.</div>
</td>
</tr>
<tr class="rowColor" id="i71">
<td class="colFirst"><code><a href="Class.html" title="type parameter in Class">T</a></code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#newInstance()">newInstance</a></span>()</code></th>
<td class="colLast">
<div class="block"><span class="deprecatedLabel">Deprecated.</span>
<div class="deprecationComment">This method propagates any exception thrown by the
nullary constructor, including a checked exception.</div>
</div>
</td>
</tr>
<tr class="altColor" id="i72">
<td class="colFirst"><code><a href="String.html" title="class in java.lang">String</a></code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#toGenericString()">toGenericString</a></span>()</code></th>
<td class="colLast">
<div class="block">Returns a string describing this <code>Class</code>, including
information about modifiers and type parameters.</div>
</td>
</tr>
<tr class="rowColor" id="i73">
<td class="colFirst"><code><a href="String.html" title="class in java.lang">String</a></code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#toString()">toString</a></span>()</code></th>
<td class="colLast">
<div class="block">Converts the object to a string.</div>
</td>
</tr>
</tbody>
</table>
</div>
</div>
<ul class="blockList">
<li class="blockList"><a id="methods.inherited.from.class.java.lang.Object">
<!-- -->
</a>
<h3>Methods declared in class java.lang.<a href="Object.html" title="class in java.lang">Object</a></h3>
<code><a href="Object.html#clone()">clone</a>, <a href="Object.html#equals(java.lang.Object)">equals</a>, <a href="Object.html#finalize()">finalize</a>, <a href="Object.html#getClass()">getClass</a>, <a href="Object.html#hashCode()">hashCode</a>, <a href="Object.html#notify()">notify</a>, <a href="Object.html#notifyAll()">notifyAll</a>, <a href="Object.html#wait()">wait</a>, <a href="Object.html#wait(long)">wait</a>, <a href="Object.html#wait(long,int)">wait</a></code></li>
</ul>
</li>
</ul>
</section>
</li>
</ul>
</div>
<div class="details">
<ul class="blockList">
<li class="blockList">
<!-- ============ METHOD DETAIL ========== -->
<section role="region">
<ul class="blockList">
<li class="blockList"><a id="method.detail">
<!-- -->
</a>
<h3>Method Detail</h3>
<a id="toString()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>toString</h4>
<pre class="methodSignature">public <a href="String.html" title="class in java.lang">String</a> toString()</pre>
<div class="block">Converts the object to a string. The string representation is the
string "class" or "interface", followed by a space, and then by the
fully qualified name of the class in the format returned by
<code>getName</code>. If this <code>Class</code> object represents a
primitive type, this method returns the name of the primitive type. If
this <code>Class</code> object represents void this method returns
"void". If this <code>Class</code> object represents an array type,
this method returns "class " followed by <code>getName</code>.</div>
<dl>
<dt><span class="overrideSpecifyLabel">Overrides:</span></dt>
<dd><code><a href="Object.html#toString()">toString</a></code> in class <code><a href="Object.html" title="class in java.lang">Object</a></code></dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>a string representation of this class object.</dd>
</dl>
</li>
</ul>
<a id="toGenericString()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>toGenericString</h4>
<pre class="methodSignature">public <a href="String.html" title="class in java.lang">String</a> toGenericString()</pre>
<div class="block">Returns a string describing this <code>Class</code>, including
information about modifiers and type parameters.
The string is formatted as a list of type modifiers, if any,
followed by the kind of type (empty string for primitive types
and <code>class</code>, <code>enum</code>, <code>interface</code>, or
<code>@</code><code>interface</code>, as appropriate), followed
by the type's name, followed by an angle-bracketed
comma-separated list of the type's type parameters, if any,
including informative bounds on the type parameters, if any.
A space is used to separate modifiers from one another and to
separate any modifiers from the kind of type. The modifiers
occur in canonical order. If there are no type parameters, the
type parameter list is elided.