Helper methods for working with {@link Annotation} instances.
This class contains various utility methods that make working with annotations simpler.
{@link Annotation} instances are always proxy objects; unfortunatelydynamic proxies cannot be depended upon to know how to implement certain methods in the same manner as would be done by "natural" {@link Annotation}s. The methods presented in this class can be used to avoid that possibility. It is of course also possible for dynamic proxies to actually delegate their e.g. {@link Annotation#equals(Object)}/ {@link Annotation#hashCode()}/ {@link Annotation#toString()} implementations to {@link AnnotationUtils}.
#ThreadSafe#
@since 3.0 @version $Id: AnnotationUtils.java 1083850 2011-03-21 15:59:10Z mbenson $
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|