public class JavaMethodCache
extends java.lang.Object
Creating Java Method objects for a given MethodMember is rather expensive because it typically involves getting. The
declared methods of a Class and searching for one that matches the method signature. This is most problematic when we
are trying to get a Method for an array of MethodMembers, because in this case we will end up repeating the process
multiple times. A JavaMethodCache instance can cache Method objects from the first time we iterate the declared
methods of a class so subsequently we can just get the other methods from the cache.
- Since:
- 0.5.0