public class CacheInvocationParameter
extends java.lang.Object
| Constructor and Description |
|---|
CacheInvocationParameter(java.lang.Class<?> rawType,
java.lang.Object value,
java.lang.annotation.Annotation[] annotations,
int position) |
| Modifier and Type | Method and Description |
|---|---|
java.util.Set<java.lang.annotation.Annotation> |
getAnnotations()
Returns an immutable Set of all Annotations on this method parameter, never null.
|
CacheKey |
getCacheKeyAnnotation()
Gets
CacheKey for the parameter. |
int |
getPosition()
Gets index of the parameter in the original parameter array.
|
java.lang.Class<?> |
getRawType()
Gets the parameter type as declared on the method.
|
java.lang.Object |
getValue()
Gets the parameter value
|
boolean |
hasCacheKeyAnnotation()
Checks whether the parameter annotated with
CacheKey or not. |
public CacheInvocationParameter(java.lang.Class<?> rawType,
java.lang.Object value,
java.lang.annotation.Annotation[] annotations,
int position)
public java.util.Set<java.lang.annotation.Annotation> getAnnotations()
Annotationpublic boolean hasCacheKeyAnnotation()
CacheKey or not.CacheKey otherwise - falsepublic java.lang.Class<?> getRawType()
public java.lang.Object getValue()
public int getPosition()