package com; import java.util.*; public privileged aspect TestAspect { pointcut gettingMember(Test t) : target(t) && get(!public Set com.*.*) && !within(TestAspect); Set around(Test t) : gettingMember(t) { Set s = proceed(t); return s; } }