org.springframework.roo.classpath.details
Class DeclaredFieldAnnotationDetails

java.lang.Object
  extended by org.springframework.roo.classpath.details.DeclaredFieldAnnotationDetails

public final class DeclaredFieldAnnotationDetails
extends Object

Convenience class to hold annotation details which should be introduced to a field via an AspectJ ITD

Since:
1.1
Author:
Stefan Schmidt

Constructor Summary
DeclaredFieldAnnotationDetails(FieldMetadata fieldMetadata, AnnotationMetadata fieldAnnotation)
          Contructor must contain FieldMetadata of existing field (may already contain field annotations) and a list of new Annotations which should be introduced by an AspectJ ITD.
 
Method Summary
 AnnotationMetadata getFieldAnnotation()
           
 FieldMetadata getFieldMetadata()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DeclaredFieldAnnotationDetails

public DeclaredFieldAnnotationDetails(FieldMetadata fieldMetadata,
                                      AnnotationMetadata fieldAnnotation)
Contructor must contain FieldMetadata of existing field (may already contain field annotations) and a list of new Annotations which should be introduced by an AspectJ ITD. The added annotations can not already be present in FieldMetadata.

Parameters:
fieldMetadata - FieldMetadata of existing field (may not be null)
fieldAnnotation - Annotation to be added to field via an ITD (may not be null)
Method Detail

getFieldMetadata

public FieldMetadata getFieldMetadata()

getFieldAnnotation

public AnnotationMetadata getFieldAnnotation()


Copyright © 2009-2010 VMware, Inc. All Rights Reserved.