public void createBeforeOrAfterAdviceArgumentHandling(
     MethodVisitor methodVisitor,
     CompilerInput compilerInput,
     Type[] types,
     AdviceMethodInfo adviceMethodInfo,
     int i) {
   if (AdviceType.BEFORE.equals(adviceMethodInfo.getAdviceInfo().getType())) {
     createBeforeAdviceArgumentHandling(
         methodVisitor, adviceMethodInfo, compilerInput.joinPointInstanceIndex);
   } else {
     // after advice no matter what
     createAfterAdviceArgumentHandling(
         methodVisitor, adviceMethodInfo, compilerInput.joinPointInstanceIndex);
   }
 }