Coverage Report - org.trails.descriptor.annotation.PropertyDescriptorAnnotationHandler
 
Classes in this File Line Coverage Branch Coverage Complexity
PropertyDescriptorAnnotationHandler
100% 
N/A 
0
 
 1  4
 package org.trails.descriptor.annotation;
 2  
 
 3  
 import org.trails.descriptor.IPropertyDescriptor;
 4  
 
 5  
 /**
 6  
  * @author fus8882
 7  
  *         <p/>
 8  
  *         Applies the annotation to a given property.
 9  
  * @see org.trails.descriptor.annotation.AbstractAnnotationHandler.setDescriptorPropertiesFromAnnotation
 10  
  */
 11  5
 public class PropertyDescriptorAnnotationHandler extends AbstractAnnotationHandler implements DescriptorAnnotationHandler<PropertyDescriptor, IPropertyDescriptor>
 12  
 {
 13  
         /**
 14  
          * @param propertyDescriptorAnno
 15  
          * @param descriptor
 16  
          * @return
 17  
          * @see AbstractAnnotationHandler.setDescriptorPropertiesFromAnnotation
 18  
          */
 19  
         public IPropertyDescriptor decorateFromAnnotation(PropertyDescriptor propertyDescriptorAnno,
 20  
                                                                                                           IPropertyDescriptor descriptor)
 21  
         {
 22  7
                 setPropertiesFromAnnotation(propertyDescriptorAnno, descriptor);
 23  7
                 return descriptor;
 24  
         }
 25  
 
 26  
 }