code: public static void checkCast(MethodVisitor mv, String internalName)
      {
          if (TraceComponent.isAnyTracingEnabled() && tcJITDeployRuntime.isDebugEnabled())
          {
              String className;
              if (internalName.charAt(0) == '[')
              {
                  int begin = 0;
                  do
                  {
                      begin++;
                  } while (internalName.charAt(begin) == '[');
  
                  if (internalName.charAt(begin) == 'L')
                  {
                      // [[[Ljava/lang/Object; -> [[[java.lang.Object
                      className = internalName.substring(0, begin) +
                                  internalName.substring(begin + 1, internalName.length() - 1).replace('/', '.');
                  }
                  else
                  {
                      // [[[B remains unchanged.
                      className = internalName;
                  }
              }
              else
              {
                  // java/lang/Object -> java.lang.Object
                  className = internalName.replace('/', '.');
              }
  
              mv.visitVarInsn(ALOAD, 0);
              mv.visitLdcInsn(className);
              mv.visitMethodInsn(INVOKESTATIC, "com/ibm/ejs/container/JIT_Debug", "checkCast",
                                 "(Ljava/lang/Object;Ljava/lang/Object;Ljava/lang/String;)Ljava/lang/Object;");
          }
  
          mv.visitTypeInsn(CHECKCAST, internalName);
      }
docs: d726162