.api.declaration/-ko-class-declaration/index.html">KoClassDeclaration</a><span class="token operator">?</span></div><div class="deprecation-content"><h3 class="">Deprecated</h3><p class="paragraph">Will be removed in version 0.19.0</p><h4 class="">Replace with</h4><div class="sample-container"><pre><code class="monospace block lang-kotlin" theme="idea">sourceDeclaration?.asClassDeclaration()</code></pre><span class="top-right-position"><span class="copy-icon"></span><div class="copy-popup-wrapper popup-to-l