org.apache.velocity.util.introspection
public abstract class IntrospectorBase extends java.lang.Object
Modifier | Constructor and Description |
---|---|
protected |
IntrospectorBase(Log log)
C'tor.
|
Modifier and Type | Method and Description |
---|---|
protected IntrospectorCache |
getIntrospectorCache()
Return the internal IntrospectorCache object.
|
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 . |
protected final Log log
protected IntrospectorBase(Log log)
public java.lang.reflect.Method getMethod(java.lang.Class c, java.lang.String name, java.lang.Object[] params) throws java.lang.IllegalArgumentException, 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 parametersjava.lang.IllegalArgumentException
- When the parameters passed in can not be used for introspection.MethodMap.AmbiguousException
- When the method map contains more than one match for the requested signature.protected IntrospectorCache getIntrospectorCache()
Copyright © 2000-2014. All Rights Reserved.