---
title: "候捷谈反射机制(转)"
author: "vencent"
date: "2007-07-02T15:58:00Z"
tags: []
slug: "untitled"
draft: false
lastmod: "2007-07-02T15:58:00Z"
id: 97039
url: "https://vencent.iteye.com/blog/97039"
---

摘要: Reflection 是Java被视为动态（或准动态）语言的一个关键性质。这个机制允许程序在运行时透过Reflection APIs取得任何一个已知名称的class的内部信息，包括其modifiers（诸如public, static 等等）、superclass（例如Object）、实现之interfaces（例如Cloneable），也包括fields和methods的所有信息，并可于运行时改变fields内容或唤起methods。本文借由实例，大面积示范Reflection APIs。  [阅读全文](http://www.blogjava.net/Vencent/archive/2007/07/02/127710.html)![](http://www.blogjava.net/Vencent/aggbug/127710.html)

[Vincent Chen](http://www.blogjava.net/Vencent/) 2007-07-02 23:58 [发表评论](http://www.blogjava.net/Vencent/archive/2007/07/02/127710.html#Feedback)