<ul class="contains-task-list">
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> I have searched the <a href="https://github.com/apache/incubator-dubbo/issues">issues</a> of this repository and believe that this is not a duplicate.</li>
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> I have checked the <a href="https://github.com/apache/incubator-dubbo/blob/master/FAQ.md">FAQ</a> of this repository and believe that this is not a duplicate.</li>
</ul>
<h3 dir="auto">Environment</h3>
<ul dir="auto">
<li>Dubbo version: <a class="commit-link" data-hovercard-type="commit" data-hovercard-url="https://github.com/apache/dubbo/commit/2faf5e71f8cdb732e0234359594c668f39d82157/hovercard" href="https://github.com/apache/dubbo/commit/2faf5e71f8cdb732e0234359594c668f39d82157"><tt>2faf5e7</tt></a></li>
</ul>
<h3 dir="auto">Steps to reproduce this issue</h3>
<p dir="auto">There's no samples of provider/consumer configured by API, So I'd like to add one</p>
<ul class="contains-task-list">
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> I have searched the <a href="https://github.com/apache/dubbo/issues">issues</a> of this repository and believe that this is not a duplicate.</li>
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> I have checked the <a href="https://github.com/apache/dubbo/blob/master/FAQ.md">FAQ</a> of this repository and believe that this is not a duplicate.</li>
</ul>
<h3 dir="auto">Environment</h3>
<ul dir="auto">
<li>Dubbo version: 2.7.6-SNAPSHOT</li>
<li>Operating System version: ALL</li>
<li>Java version: ALL</li>
</ul>
<h3 dir="auto">Steps to reproduce this issue</h3>
<p dir="auto">wrongs comments in org.apache.dubbo.common.extension.AdaptiveClassCodeGenerator line 78</p>
<h3 dir="auto">Expected Result</h3>
<p dir="auto">test if given type has at least one method annotated with <code class="notranslate">Adaptive</code></p>
<h3 dir="auto">Actual Result</h3>
<p dir="auto">test if given type has at least one method annotated with <code class="notranslate">SPI</code></p>