vec.add(clazz);
return (JavaClass)vec.get(index);
vec.remove(index);
JavaClass[] classes = new JavaClass[vec.size()]; vec.toArray(classes); return classes;