Files
uTools-Manuals/docs/java/javax/annotation/processing/SupportedOptions.html

83 lines
3.5 KiB
HTML
Raw Blame History

This file contains invisible Unicode characters
This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
<div class="header">
<div class="subTitle">
javax.annotation.processing
</div>
<h2 class="title" title="Annotation Type SupportedOptions">Annotation Type SupportedOptions</h2>
</div><div class="contentContainer">
<div class="description">
<ul class="blockList">
<li class="blockList">
<hr/> <br/> <pre><a href="../../../java/lang/annotation/Documented.html" title="annotation in java.lang.annotation">@Documented</a>
<a href="../../../java/lang/annotation/Target.html" title="annotation in java.lang.annotation">@Target</a>(<a href="../../../java/lang/annotation/Target.html#value--">value</a>=<a href="../../../java/lang/annotation/ElementType.html#TYPE">TYPE</a>)
<a href="../../../java/lang/annotation/Retention.html" title="annotation in java.lang.annotation">@Retention</a>(<a href="../../../java/lang/annotation/Retention.html#value--">value</a>=<a href="../../../java/lang/annotation/RetentionPolicy.html#RUNTIME">RUNTIME</a>)
public @interface <span class="memberNameLabel">SupportedOptions</span></pre>
<div class="block">
<span>用于指示注释处理器支持哪些选项的注释。</span>
<span><a href="../../../javax/annotation/processing/Processor.html#getSupportedOptions--"><code>Processor.getSupportedOptions()</code></a>方法可以从该注释的值构造其结果,如<a href="../../../javax/annotation/processing/AbstractProcessor.html#getSupportedOptions--"><code>AbstractProcessor.getSupportedOptions()</code>所做</a></span>
<span>只能使用<a href="../../../javax/annotation/processing/Processor.html#getSupportedOptions--">strings conforming to the grammar</a>作为值。</span>
</div>
<dl>
<dt>
<span class="simpleTagLabel">从以下版本开始:</span>
</dt>
<dd>
1.6
</dd>
</dl> </li>
</ul>
</div>
<div class="summary">
<ul class="blockList">
<li class="blockList">
<!-- =========== ANNOTATION TYPE REQUIRED MEMBER SUMMARY =========== -->
<ul class="blockList">
<li class="blockList"><a name="annotation.type.required.element.summary">
<!-- --> </a> <h3>Required Element Summary</h3>
<table border="0" cellpadding="3" cellspacing="0" class="memberSummary" summary="Required Element Summary table, listing required elements, and an explanation">
<caption>
<span>Required Elements</span>
<span class="tabEnd"> </span>
</caption>
<tbody>
<tr>
<th class="colFirst" scope="col">Modifier and Type</th>
<th class="colLast" scope="col">Required Element and Description</th>
</tr>
<tr class="altColor">
<td class="colFirst"><code><a href="../../../java/lang/String.html" title="class in java.lang">String</a>[]</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../javax/annotation/processing/SupportedOptions.html#value--">value</a></span></code>
<div class="block">
返回支持的选项。
</div> </td>
</tr>
</tbody>
</table> </li>
</ul> </li>
</ul>
</div>
<div class="details">
<ul class="blockList">
<li class="blockList">
<!-- ============ ANNOTATION TYPE MEMBER DETAIL =========== -->
<ul class="blockList">
<li class="blockList"><a name="annotation.type.element.detail">
<!-- --> </a> <h3>Element Detail</h3> <a name="value--">
<!-- --> </a>
<ul class="blockListLast">
<li class="blockList"> <h4>value</h4> <pre>public abstract <a href="../../../java/lang/String.html" title="class in java.lang">String</a>[] value</pre>
<div class="block">
返回支持的选项。
</div>
<dl>
<dt>
<span class="returnLabel">结果</span>
</dt>
<dd>
支持的选项
</dd>
</dl> </li>
</ul> </li>
</ul> </li>
</ul>
</div>
</div>