org.codehaus.aspectwerkz.joinpoint
Interface Signature

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

public interface Signature
extends Serializable

Provides static and reflective information about the join point.

Author:
Jonas Bonér

Method Summary
 Class getDeclaringType()
          Returns the declaring class.
 int getModifiers()
          Returns the modifiers for the signature.
 String getName()
          Returns the name (f.e. name of method of field).
 

Method Detail

getDeclaringType

public Class getDeclaringType()
Returns the declaring class.

Returns:
the declaring class

getModifiers

public int getModifiers()
Returns the modifiers for the signature.

Could be used like this:

 boolean isPublic = java.lang.reflect.Modifier.isPublic(signature.getModifiers());
 

Returns:
the mofifiers

getName

public String getName()
Returns the name (f.e. name of method of field).

Returns:


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