Pointcut pointcut = pcAttr.reify().getPointcut();
if (pointcut instanceof KindedPointcut) {
try {
Field sigField = KindedPointcut.class.getDeclaredField("signature");
sigField.setAccessible(true);
SignaturePattern signature = (SignaturePattern) sigField.get(pointcut);
DefinitionParserHelper.createAndAddPointcutDefToAspectDef(
signature.getName().toString(), pointcut.toString(), aspectDef
);
} catch (Exception e) {
throw new WrappedRuntimeException(e);
}
}