public class Introspector extends IntrospectorBase
log
Constructor and Description |
---|
Introspector(org.slf4j.Logger log) |
Introspector(org.slf4j.Logger log,
TypeConversionHandler conversionHandler) |
Modifier and Type | Method and Description |
---|---|
Method |
getMethod(Class c,
String name,
Object[] params)
Gets the method defined by
name and
params for the Class c . |
getField, getIntrospectorCache
public Introspector(org.slf4j.Logger log)
log
- A Logger object to use for the introspector.public Introspector(org.slf4j.Logger log, TypeConversionHandler conversionHandler)
log
- A Logger object to use for the introspector.conversionHandler
- conversion handlerpublic Method getMethod(Class c, String name, Object[] params) throws IllegalArgumentException
name
and
params
for the Class c
.getMethod
in class IntrospectorBase
c
- 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 parametersIllegalArgumentException
- When the parameters passed in can not be used for introspection.Copyright © 2000–2019 The Apache Software Foundation. All rights reserved.