eclipse java注解处理 [英] eclipse java annotation processing
问题描述
我想在 eclipse jdt 中使用 Annotation 处理做一些事情.
I want to do something using Annotation processing in eclipse jdt.
Eclipse jdtapt 帮助告诉我应该在 java/compiler/annotation 处理首选项页面上进行配置.
Eclipse jdtapt help tells me I should configure things on the java/compiler/annotation processing preferences page.
但是在我的安装(Indigo)上,编译器部分没有此注释处理子部分.它只有构建、错误/警告、javadoc、任务标签.
But on my installation (Indigo), the compiler section doesn't have this annotation processing subsection. It only has building,errors/warnings,javadoc, task tags.
我的安装有问题吗?
推荐答案
可从 Eclipse 菜单栏访问的首选项"页面中不存在注释处理选项卡.这是一个特定于项目的菜单,如果您在项目资源管理器中右键单击项目并在出现的弹出菜单中选择首选项,则可以访问该菜单.
The annotation processing tab does not exist in the Preferences page that is accessible from the Eclipse menu bar. It is a project-specific menu that is accessible if you right-click on a project in the Project Explorer and select Preferences in the pop-up menu that will appear.
如本教程.
这篇关于eclipse java注解处理的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!