// loop over emitted jp and insert call to "JoinPointManager.loadJoinPoint(...)"
// add calls to aw$emittedJoinPoints.put(.. new EmittedJoinPoint) if needed.
for (Iterator iterator = m_ctx.getEmittedJoinPoints().iterator(); iterator.hasNext();) {
EmittedJoinPoint jp = (EmittedJoinPoint) iterator.next();
cv.visitLdcInsn(new Integer(jp.getJoinPointType()));
cv.visitFieldInsn(GETSTATIC, m_ctx.getClassName(), TARGET_CLASS_FIELD_NAME, CLASS_CLASS_SIGNATURE);
cv.visitLdcInsn(jp.getCallerMethodName());
cv.visitLdcInsn(jp.getCallerMethodDesc());
cv.visitLdcInsn(new Integer(jp.getCallerMethodModifiers()));
cv.visitLdcInsn(jp.getCalleeClassName());
cv.visitLdcInsn(jp.getCalleeMemberName());
cv.visitLdcInsn(jp.getCalleeMemberDesc());
cv.visitLdcInsn(new Integer(jp.getCalleeMemberModifiers()));
cv.visitLdcInsn(new Integer(jp.getJoinPointHash()));
cv.visitLdcInsn(jp.getJoinPointClassName());
cv.visitMethodInsn(
INVOKESTATIC,
JOIN_POINT_MANAGER_CLASS_NAME,
LOAD_JOIN_POINT_METHOD_NAME,
LOAD_JOIN_POINT_METHOD_SIGNATURE
);
if (m_ctx.isMadeAdvisable()) {
// trove map
cv.visitFieldInsn(GETSTATIC, m_ctx.getClassName(), EMITTED_JOINPOINTS_FIELD_NAME, "Lgnu/trove/TIntObjectHashMap;");
// trove map key
cv.visitLdcInsn(new Integer(jp.getJoinPointClassName().hashCode()));
cv.visitTypeInsn(NEW, "org/codehaus/aspectwerkz/transform/inlining/EmittedJoinPoint");
cv.visitInsn(DUP);
cv.visitLdcInsn(new Integer(jp.getJoinPointType()));
cv.visitLdcInsn(m_ctx.getClassName());
cv.visitLdcInsn(jp.getCallerMethodName());
cv.visitLdcInsn(jp.getCallerMethodDesc());
cv.visitLdcInsn(new Integer(jp.getCallerMethodModifiers()));
cv.visitLdcInsn(jp.getCalleeClassName());
cv.visitLdcInsn(jp.getCalleeMemberName());
cv.visitLdcInsn(jp.getCalleeMemberDesc());
cv.visitLdcInsn(new Integer(jp.getCalleeMemberModifiers()));
cv.visitLdcInsn(new Integer(jp.getJoinPointHash()));
cv.visitLdcInsn(jp.getJoinPointClassName());
cv.visitMethodInsn(INVOKESPECIAL, "org/codehaus/aspectwerkz/transform/inlining/EmittedJoinPoint", "<init>",
"(ILjava/lang/String;Ljava/lang/String;Ljava/lang/String;ILjava/lang/String;Ljava/lang/String;Ljava/lang/String;IILjava/lang/String;)V"
);
cv.visitMethodInsn(