String srcPath = root.getElementName();
for(String pi : model.getPackageList()){
String wholePath = "/" + srcPath + "/" + pi.replace(".", "/");
IFolder folder = project.getFolder(wholePath);
if(folder.exists()){
IResource[] fileList = folder.members();
for(IResource file : fileList){
String fullPath = file.getFullPath().toString();
String classFile = fullPath.replace(".tml", ".java").substring(1);
classFile = classFile.substring(classFile.indexOf("/"));
IFile classStream = project.getFile(classFile);