org.springframework.richclient.util
Class AnnotationUtils
java.lang.Object
org.springframework.richclient.util.AnnotationUtils
public class AnnotationUtils
- extends Object
General utility methods for working with annotations.
- Since:
- May 8, 2006 4:57:20 PM
- Author:
- andy
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AnnotationUtils
public AnnotationUtils()
getAnnotationsFor
public static Collection<Annotation> getAnnotationsFor(PropertyDescriptor property)
- Retrieves all annotations present on the specified property. This
method will gather the annotations present on both the getter and the
setter of the property. If a particular Annotation type appears on
both the getter and setter, then the instance appearing on the Getter
will override (replace) the instance appearing on the Setter.
- Parameters:
property
-
- Returns:
- collection containing all annotations present on the specified
property. This method will never return
null
,
but will return an empty Collection if no annotations appear
on the property.
Copyright © 2004-2008 The Spring Framework. All Rights Reserved.