AspectWerkzDefinition.SYSTEM_ASPECT);
JavaClass javaClass = qdoxParser.getJavaClass();
DocletTag[] introductionTags = javaClass.getTagsByName(AttributeTag.INTRODUCTION);
IntroductionWeavingRule weavingRule = new IntroductionWeavingRule();
weavingRule.setClassPattern(className);
for (int i = 0; i < introductionTags.length; i++) {
if (introductionTags[i] == null) {
continue;
}
String[] attributes = introductionTags[i].getParameters();
for (int j = 0; j < attributes.length; j++) {
final String introductionRef = definition.
getIntroductionNameByAttribute(attributes[j]);
if (introductionRef == null) {
continue;
}
weavingRule.addIntroductionRef(introductionRef);
}
aspectDefinition.addIntroductionWeavingRule(weavingRule);
}
}