<div> JavaScript is disabled on your browser.
Skip navigation links
Java™ Platform
Standard Ed. 8
compact3

Package java.lang.reflect

提供用于获取类和对象的反射信息的类和接口。

See: 描述

Package java.lang.reflect Description

提供用于获取类和对象的反射信息的类和接口。反射允许编程访问加载类的字段、方法和构造函数的信息,并使用反射字段、方法和构造函数来操作它们的底层对应,在安全限制。

AccessibleObject允许访问检查,如果必要的ReflectPermission可抑制。

Array提供静态方法动态创建和访问数组。

在这个包中的类,随着java.lang.Class容纳应用如调试器,口译,对象督察,类浏览器和服务,如对象的序列化和JavaBeans需要访问的公共成员的目标对象(基于其运行时的类)或通过一个给定的类声明的成员。

从以下版本开始:
JDK1.1
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