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 java.io.Serializable ;7 8 /**9 * Provides static and reflective information about the join point.10 *11 * @author <a HREF="mailto:jboner@codehaus.org">Jonas BonŽr </a>12 */13 public interface Signature extends Serializable {14 /**15 * Returns the declaring class.16 *17 * @return the declaring class18 */19 Class getDeclaringType();20 21 /**22 * Returns the modifiers for the signature. <p/>Could be used like this:23 * <p/>24 * <pre>25 * boolean isPublic = java.lang.reflect.Modifier.isPublic(signature.getModifiers());26 * </pre>27 *28 * @return the mofifiers29 */30 int getModifiers();31 32 /**33 * Returns the name (f.e. name of method of field).34 *35 * @return36 */37 String getName();38 39 }