org.codehaus.aspectwerkz.joinpoint
Interface Rtti

All Known Subinterfaces:
CatchClauseRtti, CodeRtti, ConstructorRtti, FieldRtti, MemberRtti, MethodRtti
All Known Implementing Classes:
CatchClauseRttiImpl, ConstructorRttiImpl, FieldRttiImpl, MethodRttiImpl

public interface Rtti

Holds static and reflective information about the join point (Runtime Type Information).

Author:
Jonas Bonér

Method Summary
 Rtti cloneFor(Object targetInstance, Object thisInstance)
           
 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).
 Object getTarget()
          Returns the target instance.
 Object getThis()
          Returns the instance currently executing (this).
 

Method Detail

getName

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

Returns:

getTarget

public Object getTarget()
Returns the target instance.

Returns:
the target instance

getThis

public Object getThis()
Returns the instance currently executing (this).

Returns:
the instance currently executing (this)

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

cloneFor

public Rtti cloneFor(Object targetInstance,
                     Object thisInstance)


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