-
Notifications
You must be signed in to change notification settings - Fork 409
/
class.korte
297 lines (294 loc) · 17 KB
/
class.korte
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
{% extends "components/base.korte" %}
{% block content %}
<main role="main">
<div class="header">
<div class="subTitle"><span class="packageLabelInType">Package</span> <a href="package-summary.html">{{ package }}</a></div>
<h2 title="{{ kind|capitalize }} {{ name }}" class="title">{{ kind|capitalize }} {{ name }}</h2>
</div>
<div class="contentContainer">
<!-- <ul class="inheritance">
<li>java.lang.Object</li>
<li>
<ul class="inheritance">
<li>adaptation.Adaptation</li>
</ul>
</li>
</ul> TODO inheritance tree -->
<div class="description">
<ul class="blockList">
<li class="blockList">
{% if implementedInterfaces.size != 0 %}
<dl>
<dt>All Implemented Interfaces:</dt>
<dd>
{% for name in implementedInterfaces %}
<code>{{ name }}</code>
{% if !loop.last %}
,
{% endif %}
{% endfor %}
</dd>
</dl>
{% endif %}
<hr>
<pre class="wrap-overflow">
{% if signature.annotations != null %}{{ signature.annotations|raw }} {% endif %}
{{ signature.modifiers }} <span class="typeNameLabel">{{ signature.signatureWithoutModifiers|raw }}</span>
{% if signature.supertypes != null %}{{signature.supertypes|raw}}{% endif %}
</pre>
<div class="block">{{ classlikeDocumentation|raw }}</div>
</li>
</ul>
</div>
<div class="summary">
<ul class="blockList">
<li class="blockList">
<!-- ======== NESTED CLASS SUMMARY ======== -->
{% if classlikes.size != 0 %}
<section role="region">
<ul class="blockList">
<li class="blockList"><a id="nested.class.summary">
<!-- -->
</a>
<h3>Nested Class Summary</h3>
<div class="memberSummary">
<table>
<caption><span>Nested Classes</span><span class="tabEnd"> </span></caption>
<tr>
<th class="colFirst" scope="col">Modifier and Type</th>
<th class="colSecond" scope="col">Class</th>
<th class="colLast" scope="col">Description</th>
</tr>
{% for classlike in classlikes %}
<tr class="{{ rowColor(loop.index0) }}">
<td class="colFirst"><code>{{ classlike.modifiers }}</code></td>
<th class="colSecond" scope="row"><code><a href="{{ classlike.address }}">{{ classlike.signature }}</a></span></code>
</th>
<td class="colLast">{{ classlike.description|raw }}</td>
</tr>
{% endfor %}
</table>
</div>
</li>
</ul>
</section>
{% endif %}
<!-- =========== FIELD SUMMARY =========== -->
{% if properties.size != 0 %}
<section role="region">
<ul class="blockList">
<li class="blockList"><a id="field.summary">
<!-- -->
</a>
<h3>Field Summary</h3>
<div class="memberSummary">
<table>
<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>
{% for property in properties %}
<tr class="{{ rowColor(loop.index0) }}">
<td class="colFirst"><code>{{ property.modifiers|raw }}</code></td>
<th class="colSecond" scope="row"><code>{{ property.signature|raw }}</code></th>
<td class="colLast">{{ description|raw }}</td>
</tr>
{% endfor %}
</table>
</div>
</li>
</ul>
</section>
{% endif %}
<!-- ======== CONSTRUCTOR SUMMARY ======== -->
{% if constructors.size != 0 %}
<section role="region">
<ul class="blockList">
<li class="blockList"><a id="constructor.summary">
<!-- -->
</a>
<h3>Constructor Summary</h3>
<div class="memberSummary">
<table>
<caption><span>Constructors</span><span class="tabEnd"> </span></caption>
<tbody>
<tr>
<th class="colFirst" scope="col">Constructor</th>
<th class="colLast" scope="col">Description</th>
</tr>
{% for constructor in constructors %}
<tr class="{{ rowColor(loop.index0) }}">
<th class="colConstructorName" scope="row"><code><span class="memberNameLink"><a
href="#{{ constructor.anchorLink }}">{{ constructor.name }}</a></span>({{ constructor.inlineParameters|raw }})</code></th>
<td class="colLast">{{ constructor.brief|raw }}</td>
</tr>
{% endfor %}
</tbody>
</table>
</div>
</li>
</ul>
</section>
{% endif %}
<!-- =========== ENUM CONSTANT SUMMARY =========== -->
{% if entries.size != 0 %}
<section role="region">
<ul class="blockList">
<li class="blockList"><a id="enum.constant.summary">
<!-- -->
</a>
<h3>Enum Constant Summary</h3>
<table class="memberSummary">
<caption><span>Enum Constants</span><span class="tabEnd"> </span></caption>
<tr>
<th class="colFirst" scope="col">Enum Constant</th>
<th class="colLast" scope="col">Description</th>
</tr>
{% for entry in entries %}
<tr class="{{ rowColor(loop.index0) }}">
<th class="colFirst" scope="row"><code><span class="memberNameLink"><a
href="TODO">{{ entry.signature.signatureWithoutModifiers|raw }}</a></span></code></th>
<td class="colLast">{{ entry.brief|raw }}</td>
</tr>
{% endfor %}
</table>
</li>
</ul>
</section>
{% endif %}
<!-- ========== METHOD SUMMARY =========== -->
{% if methods.own.size !=0 || methods.inherited.size != 0 %}
<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>
<!-- TODO: Instance and Concrete Methods #1118 -->
</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>
{% for method in methods.own %}
<tr id="i{{ loop.index0 }}" class="{{ rowColor(loop.index0) }}">
<td class="colFirst"><code>{{ method.signature.modifiers|raw }}</code>
</td>
<th class="colSecond" scope="row"><code>{{ method.signature.signatureWithoutModifiers|raw }} </code>
</th>
<td class="colLast">{{ method.brief|raw }}</td>
</tr>
{% endfor %}
</tbody>
</table>
</div>
<ul class="blockList">
{% for method in methods.inherited %}
<li class="blockList"><a id="methods.inherited.from.class.{{ method.inheritedFrom}}">
<!-- -->
</a>
<h3>Methods inherited from class {{ method.inheritedFrom}}</h3>
<code>{{ method.names }}</code></li>
{% endfor %}
<li class="blockList"><a id="methods.inherited.from.class.java.lang.Object">
<!-- -->
</a>
<h3>Methods inherited from class java.lang.Object</h3>
<code>clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString,
wait, wait, wait</code></li>
</ul>
</li>
</ul>
</section>
{% endif %}
</li>
</ul>
</div>
<div class="details">
<ul class="blockList">
<li class="blockList">
<!-- ========= CONSTRUCTOR DETAIL ======== -->
{% if constructors.size != 0 %}
<section role="region">
<ul class="blockList">
<li class="blockList"><a id="constructor.detail">
<!-- -->
</a>
<h3>Constructor Detail</h3>
{% for constructor in constructors %}
<a name="{{ constructor.anchorLink }}"></a>
<ul class="blockList">
<li class="blockList">
<h4>{{ constructor.name }}</h4>
<pre>{{ constructor.name }}({{ constructor.inlineParameters|raw }})</pre>
<div class="block">{{ constructor.brief|raw}}</div>
{% if constructor.parameters.size != 0 && hasAnyDescription(constructor.parameters) %}
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
{% for parameter in constructor.parameters %}
{% if parameter.description != "" %}
<dd><code>{{ parameter.name }}</code> - {{ parameter.description|raw }}</dd>
{% endif %}
{% endfor %}
</dl>
{% endif %}
</li>
</ul>
{% endfor %}
</li>
</ul>
</section>
{% endif %}
<!-- ============ METHOD DETAIL ========== -->
{% if methods.own.size != 0 %}
<section role="region">
<ul class="blockList">
<li class="blockList"><a id="method.detail">
<!-- -->
</a>
<h3>Method Detail</h3>
{% for method in methods.own %}
<a id="{{ method.anchorLink }}">
<!-- -->
</a>
<ul class={% if loop.last %}
"blockListLast"
{% else %}
"blockList"
{% endif %}>
<li class="blockList">
<h4>{{ method.name }}</h4>
<pre class="methodSignature">{{ method.signature.annotations|raw }} {{ method.signature.modifiers|raw }} {{ method.signature.signatureWithoutModifiers|raw}}</pre>
<div class="block">{{ method.description|raw }}</div>
{% if method.parameters.size != 0 && hasAnyDescription(method.parameters) %}
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
{% for parameter in method.parameters %}
{% if parameter.description != "" %}
<dd><code>{{ parameter.name }}</code> - {{ parameter.description|raw }}</dd>
{% endif %}
{% endfor %}
</dl>
{% endif %}
<!-- TODO missing return annotation -->
</li>
</ul>
{% endfor %}
</li>
</ul>
</section>
{% endif %}
</li>
</ul>
</div>
</div>
</main>
{% end %}