org.springframework.roo.classpath.details
Class DeclaredMethodAnnotationDetails
java.lang.Object
org.springframework.roo.classpath.details.DeclaredMethodAnnotationDetails
public 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
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
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)
getMethodAnnotation
public AnnotationMetadata getMethodAnnotation()
getMethodMetadata
public MethodMetadata getMethodMetadata()
Copyright © 2009–2015. All rights reserved.