import org.aspectj.weaver.ReferenceType;
import org.aspectj.weaver.ResolvedMember;
import org.aspectj.weaver.ResolvedType;
+import org.aspectj.weaver.ResolvedTypeMunger;
import org.aspectj.weaver.Shadow;
import org.aspectj.weaver.UnresolvedType;
import org.aspectj.weaver.patterns.DeclareAnnotation;
// affects other code in the problem reporter that looks through ITDs...
ResolvedType supertypeToLookAt = onTypeX.getSuperclass();
while (supertypeToLookAt != null) {
- List itMungers = supertypeToLookAt.getInterTypeMungers();
- for (Iterator i = itMungers.iterator(); i.hasNext();) {
+ List<ConcreteTypeMunger> itMungers = supertypeToLookAt.getInterTypeMungers();
+ for (Iterator<ConcreteTypeMunger> i = itMungers.iterator(); i.hasNext();) {
ConcreteTypeMunger m = (ConcreteTypeMunger) i.next();
+ if (m.getMunger()!=null && m.getMunger().getKind()== ResolvedTypeMunger.PrivilegedAccess) {
+ continue;
+ }
ResolvedMember sig = m.getSignature();
if (sig == null)
continue; // we aren't interested in other kinds of munger