1 /*2 * All content copyright (c) 2003-2006 Terracotta, Inc., except as may otherwise be noted in a separate copyright notice. All rights reserved.3 */4 package com.tc.aspectwerkz.joinpoint;5 6 import com.tc.backport175.Annotation;7 8 /**9 * Interface for the member signatures (method, constructor and field).10 *11 * @author <a HREF="mailto:jboner@codehaus.org">Jonas BonŽr </a>12 */13 public interface MemberSignature extends Signature {14 15 /**16 * Return the given annotation if any.17 *18 * @param annotationClass the annotation class19 * @return the annotation or null20 */21 Annotation getAnnotation(Class annotationClass);22 23 /**24 * Return all the annotations.25 *26 * @return annotations27 */28 Annotation[] getAnnotations();29 }