org.apache.velocity.util.introspection
public class Introspector extends IntrospectorBase
log
Constructor and Description |
---|
Introspector(Log log) |
Introspector(RuntimeLogger logger)
Deprecated.
RuntimeLogger is deprecated. Use Introspector(Log log).
|
Modifier and Type | Method and Description |
---|---|
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 . |
getIntrospectorCache
public 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
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 parametersjava.lang.IllegalArgumentException
- When the parameters passed in can not be used for introspection.Copyright © 2000-2014. All Rights Reserved.