org.codehaus.aspectwerkz.joinpoint
Interface Signature

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

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

Class getDeclaringType()
Returns the declaring class.

Returns:
the declaring class

getModifiers

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

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

Returns:


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