code: private ClassModel getClassModelFromArg(KernelArg arg, final Class<?> arrayClass) {
  	  ClassModel c = null;
        if (arg.getObjArrayElementModel() == null) {
            final String tmp = arrayClass.getName().substring(2).replace('/', '.');
            final String arrayClassInDotForm = tmp.substring(0, tmp.length() - 1);
  
            if (logger.isLoggable(Level.FINE)) {
               logger.fine("looking for type = " + arrayClassInDotForm);
            }
  
            // get ClassModel of obj array from entrypt.objectArrayFieldsClasses
            c = entryPoint.getObjectArrayFieldsClasses().get(arrayClassInDotForm);
            arg.setObjArrayElementModel(c);
         } else {
            c = arg.getObjArrayElementModel();
         }
         assert c != null : "should find class for elements " + arrayClass.getName();
         
         return c;
     }
docs: Helper method to retrieve the class model from a kernel argument.
  @param arg the kernel argument
  @param arrayClass the array Java class for the argument
  @return the Aparapi ClassModel instance.