Skip navigation links
Java™ Platform
Standard Ed. 8

Package javax.lang.model

用于建模Java编程语言的软件包的类和层次结构。

See: 描述

Package javax.lang.model Description

用于建模Java编程语言的软件包的类和层次结构。 该包及其子包的成员可用于语言建模和语言处理任务和API,包括但不限于annotation processing框架。

该语言模型遵循基于镜像的设计; 看到

Gilad Bracha and David Ungar. Mirrors: Design Principles for Meta-level Facilities of Object-Oriented Programming Languages. In Proc. of the ACM Conf. on Object-Oriented Programming, Systems, Languages and Applications, October 2004.
特别地,该模型使得静态的语言结构之间的区别,如element表示java.util.Set的家庭,和types ,其可以与元素相关联,如原始类型java.util.Setjava.util.Set<String>java.util.Set<T>

除非另有说明,在此包中的方法将抛出一个NullPointerException如果给一个null说法。

从以下版本开始:
1.6
Skip navigation links
Java™ Platform
Standard Ed. 8

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.

本帮助文档是使用 《谷歌翻译》翻译,请与英文版配合使用 by--QQ:654638585