Class GridCacheAnnotationHelper<A extends Annotation>
- java.lang.Object
-
- org.apache.ignite.internal.processors.datastructures.GridCacheAnnotationHelper<A>
-
public class GridCacheAnnotationHelper<A extends Annotation> extends Object
Utility class for getting annotated values from classes. Contains local cache of annotated methods and fields by classes for best performance.
-
-
Constructor Summary
Constructors Constructor Description GridCacheAnnotationHelper(Class<A> annCls)Constructor.GridCacheAnnotationHelper(Class<A> annCls, int capacity)Constructor.
-
-
-
Method Detail
-
annotatedValue
public Object annotatedValue(Object target) throws IgniteCheckedException
Returns annotated value.- Parameters:
target- Object to find a value in.- Returns:
- Value of annotated field or method.
- Throws:
IgniteCheckedException- If failed to find.
-
-