Class ASTMethod.MethodCacheKey
- java.lang.Object
-
- org.apache.velocity.runtime.parser.node.ASTMethod.MethodCacheKey
-
- Enclosing class:
- ASTMethod
public static class ASTMethod.MethodCacheKey extends java.lang.ObjectInternal class used as key for method cache. Combines ASTMethod fields with array of parameter classes. Has public access (and complete constructor) for unit test purposes.- Since:
- 1.5
-
-
Field Summary
Fields Modifier and Type Field Description private booleanclassObjectwhether the target object is of Class type (meaning we're searching either for methods of Class, or for static methods of the class this Class objects refers to)private java.lang.StringmethodNamemethod nameprivate java.lang.Class<?>[]paramsparameters classes
-
Constructor Summary
Constructors Constructor Description MethodCacheKey(java.lang.String methodName, java.lang.Class<?>[] params, boolean classObject)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(java.lang.Object o)inthashCode()
-
-
-
Field Detail
-
methodName
private final java.lang.String methodName
method name
-
params
private final java.lang.Class<?>[] params
parameters classes
-
classObject
private boolean classObject
whether the target object is of Class type (meaning we're searching either for methods of Class, or for static methods of the class this Class objects refers to)- Since:
- 2.2
-
-