Package org.apache.commons.jexl2.internal.introspection

Provides low-level introspective services.


Class Summary
IntrospectorBase This basic function of this class is to return a Method object for a particular class given the name of a method and the parameters to the method in the form of an Object[]

The first time the Introspector sees a class it creates a class method map for the class in question.

MethodKey A method key usable by the introspector cache.

Exception Summary
MethodKey.AmbiguousException Simple distinguishable exception, used when we run across ambiguous overloading.

Package org.apache.commons.jexl2.internal.introspection Description

Provides low-level introspective services.

This internal package is not intended for public usage and there is no guarantee that its public classes or methods will remain as is in subsequent versions.

The IntrospectorBase, ClassMap, MethodKey, MethodMap form the base of the introspection service. They allow to describe classes and their methods, keeping them in a cache (@see IntrospectorBase) to speed up property getters/setters and method discovery used during expression evaluation.

The cache materialized in Introspector creates one entry per class containing a map of all accessible public methods keyed by name and signature.

Copyright © 2001-2011 The Apache Software Foundation. All Rights Reserved.