| 1 |
4 |
package org.trails.descriptor.annotation; |
| 2 |
|
|
| 3 |
|
import org.trails.descriptor.IClassDescriptor; |
| 4 |
|
|
| 5 |
|
public class ClassDescriptorAnnotationHandler extends AbstractAnnotationHandler implements DescriptorAnnotationHandler<ClassDescriptor, IClassDescriptor> |
| 6 |
|
{ |
| 7 |
|
|
| 8 |
|
public ClassDescriptorAnnotationHandler() |
| 9 |
|
{ |
| 10 |
8 |
super(); |
| 11 |
|
|
| 12 |
8 |
} |
| 13 |
|
|
| 14 |
|
public IClassDescriptor decorateFromAnnotation(ClassDescriptor annotation, IClassDescriptor descriptor) |
| 15 |
|
{ |
| 16 |
|
|
| 17 |
|
|
| 18 |
|
|
| 19 |
|
|
| 20 |
8 |
setPropertiesFromAnnotation(annotation, descriptor); |
| 21 |
8 |
return descriptor; |
| 22 |
|
} |
| 23 |
|
|
| 24 |
|
|
| 25 |
|
} |