| 软件包 | 描述 |
|---|---|
| javax.annotation.processing |
用于声明注释处理器和允许注释处理器与注释处理工具环境通信的设施。
|
| javax.lang.model.util |
协助处理
program elements及
types的公用事业 。
|
| javax.tools |
为可以从程序调用的工具提供接口,例如编译器。
|
| Class and Description |
|---|
| Completion
一个建议
completion的注释。
|
| Filer
该接口支持通过注释处理器创建新文件。
|
| Messager
A
Messager为注释处理器提供报告错误消息,警告和其他通知的方式。
|
| ProcessingEnvironment
一个注解处理工具框架将由
provide an annotation processor with an object implementing this interface处理器使用框架提供的工具来编写新的文件,报告错误信息和查找其他工具。
|
| Processor
注释处理器的界面。
|
| RoundEnvironment
注释处理工具框架将为
provide an annotation processor with an object implementing this interface ,使得处理器可以查询关于一轮注解处理的信息。
|
| Class and Description |
|---|
| SupportedSourceVersion
用于指示注释处理器支持的最新源版本的注释。
|
| Class and Description |
|---|
| Processor
注释处理器的界面。
|
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.