[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[List Home]
|
Re: [aspectj-users] How to intercept package private or private class??
|
- From: "Eric Bodden" <eric.bodden@xxxxxxxxxxxxxx>
- Date: Sat, 18 Oct 2008 10:57:43 -0400
- Delivered-to: aspectj-users@eclipse.org
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:sender :to:subject:in-reply-to:mime-version:content-type :content-transfer-encoding:content-disposition:references :x-google-sender-auth; bh=zM4KEX17O93AIJsaz+Jc9rxwQ77l5f2dZvGlPtokIIo=; b=QAAkLJ6AZaNlsYdr/MK2j9/PEnpgDIIrRx1JqcMNhs809Fy0lj5oTZPpLVPw3fbKQn tML5fyvojW+e4JAdNoOwXTpCEZY/LY0wx/dL88Z2z9pOHDjjehEcyNI2m3xikwcr4n0y PS6glPyS4sGhA8OLqq8mgqX3hIVyWlQ3kAUts=
- Domainkey-signature: a=rsa-sha1; c=nofws; d=googlemail.com; s=gamma; h=message-id:date:from:sender:to:subject:in-reply-to:mime-version :content-type:content-transfer-encoding:content-disposition :references:x-google-sender-auth; b=daFlOGkWUfQnnk8RZ06dsyAGk7TwVnMGhjIwlsqwZtT6kzZmfjJAt/UYnav0sS9x0y BL6Fro022ToxTkyvlJle5hhWAs0Jh/BYo4JynpurQRLzFDn4iDLYN5Y48uc5P0eMCqjT l8Nvyh7XJhg7OoS7nfWZTm3P1rCpINZsv30rI=
Hi Jason.
I think you have to use the "privileged" modifier when declaring your aspect.
Eric
2008/10/17 Jason Weinstein <Jason.Weinstein@xxxxxxx>:
> How to intercept package private or private class??
>
> I can't import the class?
>
> Is it possible?
>
> Have to use reflection after interception? Can't imagine there is a way to
> use this() or args()?
> _______________________________________________
> aspectj-users mailing list
> aspectj-users@xxxxxxxxxxx
> https://dev.eclipse.org/mailman/listinfo/aspectj-users
>
--
Eric Bodden
Sable Research Group
McGill University, Montréal, Canada