IResource resource = iCompilationUnit.getUnderlyingResource(); if (resource.getType() == IResource.FILE) { IFile ifile = (IFile) resource; String path = ifile.getRawLocation().toString(); }
No comments:
Post a Comment