org.springframework.roo.classpath.details
Class DeclaredMethodAnnotationDetails

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

public final class DeclaredMethodAnnotationDetails
extends Object

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

Since:
1.1
Author:
Stefan Schmidt

Constructor Summary
DeclaredMethodAnnotationDetails(MethodMetadata methodMetadata, AnnotationMetadata methodAnnotation)
          Contructor must contain MethodMetadata of existing method (may already contain method annotations) and a list of new Annotations which should be introduced by an AspectJ ITD.
 
Method Summary
 AnnotationMetadata getMethodAnnotation()
           
 MethodMetadata getMethodMetadata()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DeclaredMethodAnnotationDetails

public DeclaredMethodAnnotationDetails(MethodMetadata methodMetadata,
                                       AnnotationMetadata methodAnnotation)
Contructor must contain MethodMetadata of existing method (may already contain method annotations) and a list of new Annotations which should be introduced by an AspectJ ITD. The added annotations can not already be present in MethodMetadata.

Parameters:
methodMetadata - MethodMetadata of existing method (may not be null)
methodAnnotation - Annotation to be added to field via an ITD (may not be null)
Method Detail

getMethodMetadata

public MethodMetadata getMethodMetadata()

getMethodAnnotation

public AnnotationMetadata getMethodAnnotation()


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