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.Object
Internal 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 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)private java.lang.String
methodName
method nameprivate java.lang.Class<?>[]
params
parameters 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 boolean
equals(java.lang.Object o)
int
hashCode()
-
-
-
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
-
-