code: static Type[] getTypes(Class<?>[] classes)
      {
          int size = classes.length;
          Type[] types = new Type[size];
          for (int i = 0; i < size; ++i)
          {
              types[i] = Type.getType(classes[i]);
          }
          return types;
      }
docs: Converts an array of Java classes to an array of ASM 'Type'
  objects that represent those classes. <p>
  
  Useful when creating an ASM 'Method' object from a Java reflect
  'Method' object. Java reflections uses Java classes for the parameters
  and thrown exceptions, whereas ASM requires the use of 'Type's. <p>
  
  @param classes array of java classes
  
  @return an array of ASM Type objects corresponding the specified classes.