软件包 | 描述 |
---|---|
javax.annotation.processing |
用于声明注释处理器的设施和允许注释处理器与注释处理工具环境进行通信的设施。
|
javax.tools |
为可以从程序调用的工具提供接口,例如,编译器。
|
Modifier and Type | Class and Description |
---|---|
class |
AbstractProcessor
一个抽象的注释处理器的设计是最具体的注解处理器的超方便。
|
Modifier and Type | Method and Description |
---|---|
void |
JavaCompiler.CompilationTask.setProcessors(Iterable<? extends Processor> processors)
设置处理器(用于注释处理)。
|
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.