JavaTM 2 Platform
Standard Ed. 6

类 javax.lang.model.element.ElementKind
的使用

使用 ElementKind 的软件包
javax.lang.model.element 用于 Java 编程语言的模型元素的接口。 
 

javax.lang.model.elementElementKind 的使用
 

返回 ElementKindjavax.lang.model.element 中的方法
 ElementKind Element.getKind()
          返回此元素的类型
static ElementKind ElementKind.valueOf(String name)
          返回带有指定名称的该类型的枚举常量。
static ElementKind[] ElementKind.values()
          Returns an array containing the constants of this enum type, in the order they are declared.
 


JavaTM 2 Platform
Standard Ed. 6

提交错误或意见
有关更多的 API 参考资料和开发人员文档,请参阅 Java 2 SDK SE 开发人员文档。该文档包含更详细的、面向开发人员的描述,以及总体概述、术语定义、使用技巧和工作代码示例。

版权所有 2004 Sun Microsystems, Inc. 保留所有权利。 请遵守许可证条款。另请参阅文档重新分发政策