protected AdviceMethodInfo[] getAdviceMethodInfos(final List aspectQualifiedNames,
final Set aspectInfos,
final AdviceInfo[] adviceInfos) {
List adviceMethodInfosSet = new ArrayList();
for (int i = 0; i < adviceInfos.length; i++) {
AdviceInfo adviceInfo = adviceInfos[i];
// if we have a perinstance deployed aspect and a static member target -> skip and go on
DeploymentModel deploymentModel = adviceInfo.getAdviceDefinition().getAspectDefinition()
.getDeploymentModel();
if (deploymentModel.equals(DeploymentModel.PER_INSTANCE) &&
Modifier.isStatic(m_calleeMemberModifiers)) {
continue;
}
final String aspectClassName = adviceInfo.getAspectClassName().replace('.', '/');
if (!aspectQualifiedNames.contains(adviceInfo.getAspectQualifiedName())) {
aspectQualifiedNames.add(adviceInfo.getAspectQualifiedName());
}
int aspectIndex = aspectQualifiedNames.indexOf(adviceInfo.getAspectQualifiedName());
AdviceMethodInfo adviceMethodInfo = new AdviceMethodInfo(
adviceInfo,
ASPECT_FIELD_PREFIX + aspectIndex,
aspectClassName,
L + aspectClassName + SEMICOLON,