public class Introspector extends IntrospectorBase
log| 构造器和说明 |
|---|
Introspector(Log log) |
Introspector(RuntimeLogger logger)
已过时。
RuntimeLogger is deprecated. Use Introspector(Log log).
|
| 限定符和类型 | 方法和说明 |
|---|---|
java.lang.reflect.Method |
getMethod(java.lang.Class c,
java.lang.String name,
java.lang.Object[] params)
Gets the method defined by
name and
params for the Class c. |
getIntrospectorCachepublic Introspector(Log log)
log - A Log object to use for the introspector.public Introspector(RuntimeLogger logger)
logger - A runtime logger object.public java.lang.reflect.Method getMethod(java.lang.Class c,
java.lang.String name,
java.lang.Object[] params)
throws java.lang.IllegalArgumentException
name and
params for the Class c.getMethod 在类中 IntrospectorBasec - Class in which the method search is taking placename - Name of the method being searched forparams - An array of Objects (not Classes) that describe the
the parametersjava.lang.IllegalArgumentException - When the parameters passed in can not be used for introspection.