org.codehaus.aspectwerkz.joinpoint
Interface MemberSignature

All Superinterfaces:
Serializable, Signature
All Known Subinterfaces:
CodeSignature, ConstructorSignature, FieldSignature, MethodSignature
All Known Implementing Classes:
ConstructorSignatureImpl, ConstructorSignatureImplInlined, FieldSignatureImpl, MethodSignatureImpl

public interface MemberSignature
extends Signature

Interface for the member signatures (method, constructor and field).

Author:
Jonas Bonér

Method Summary
 Annotation getAnnotation(String annotationName)
          Return the annotation with a specific name.
 List getAnnotationInfos()
          Return all the annotations

Each annotation is wrapped in AnnotationInfoinstance.

 List getAnnotations(String annotationName)
          Return a list with the annotations with a specific name.
 
Methods inherited from interface org.codehaus.aspectwerkz.joinpoint.Signature
getDeclaringType, getModifiers, getName
 

Method Detail

getAnnotation

public Annotation getAnnotation(String annotationName)
Return the annotation with a specific name.

Parameters:
annotationName - the annotation name
Returns:
the annotation or null

getAnnotations

public List getAnnotations(String annotationName)
Return a list with the annotations with a specific name.

Parameters:
annotationName - the annotation name
Returns:
the annotations in a list (can be empty)

getAnnotationInfos

public List getAnnotationInfos()
Return all the annotations

Each annotation is wrapped in AnnotationInfoinstance.

Returns:
a list with the annotations


Copyright © 2002-2004 Jonas Bonér, Alexandre Vasseur. All Rights Reserved.