Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [aspectj-dev] getArgs() and primitive types

On 27/07/05, Oleg Lebedev <oleglebedev@xxxxxxxxxxxxx> wrote:
>  
> Greetings. 
>   
> How can I tell whether an argument in an Object array returned from
> JointPoint.getArgs() has a primitive type? 
>   

You can use thisJoinPointStaticPart.getSignature().  The Signature
returned can be downcast to the appropriate type (MethodSignature,
FieldSignature etc.) and you can then ask for the type information you
need.  Signature and its friends are documented here:
http://www.eclipse.org/aspectj/doc/released/api/index.html

-- 
-- Adrian
adrian.colyer@xxxxxxxxx


Back to the top