@Documented @Target(value=TYPE) @Retention(value=RUNTIME) public @interface SupportedSourceVersion
Processor.getSupportedSourceVersion()
方法可以由此注释的值构造其结果,如AbstractProcessor.getSupportedSourceVersion()
所做 。
Modifier and Type | Required Element and Description |
---|---|
SourceVersion |
value
返回支持的最新版本。
|
public abstract SourceVersion value
Submit a bug or feature
For further API reference and developer documentation, see Java SE Documentation. That documentation contains more detailed, developer-targeted descriptions, with conceptual overviews, definitions of terms, workarounds, and working code examples.
Copyright © 1993, 2014, Oracle and/or its affiliates. All rights reserved.