public abstract class IntrospectorBase extends Object
| Modifier and Type | Field and Description |
|---|---|
protected org.slf4j.Logger |
log
Class logger
|
| Modifier | Constructor and Description |
|---|---|
protected |
IntrospectorBase(org.slf4j.Logger log,
ConversionHandler conversionHandler)
C'tor.
|
| Modifier and Type | Method and Description |
|---|---|
Field |
getField(Class c,
String name)
Gets the field defined by
name. |
protected IntrospectorCache |
getIntrospectorCache()
Return the internal IntrospectorCache object.
|
Method |
getMethod(Class c,
String name,
Object[] params)
Gets the method defined by
name and
params for the Class c. |
protected IntrospectorBase(org.slf4j.Logger log,
ConversionHandler conversionHandler)
public Method getMethod(Class c, String name, Object[] params) throws MethodMap.AmbiguousException
name and
params for the Class c.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 parametersNullPointerException - When the parameters passed in can not be used for introspection because null.MethodMap.AmbiguousException - When the method map contains more than one match for the requested signature.public Field getField(Class c, String name) throws IllegalArgumentException
name.c - Class in which the method search is taking placename - Name of the field being searched forIllegalArgumentException - When the parameters passed in can not be used for introspection.protected IntrospectorCache getIntrospectorCache()
Copyright © 2000–2017 The Apache Software Foundation. All rights reserved.