Class GridCacheAnnotationHelper<A extends Annotation>


  • 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 Detail

      • GridCacheAnnotationHelper

        public GridCacheAnnotationHelper​(Class<A> annCls)
        Constructor.
        Parameters:
        annCls - Annotation class.
      • GridCacheAnnotationHelper

        public GridCacheAnnotationHelper​(Class<A> annCls,
                                         int capacity)
        Constructor.
        Parameters:
        annCls - Annotation class.
        capacity - Capacity of local caches.