question: public static void createFile ( IProject project , String relativePath ) throws IOException { IPath root = getSourceLocation ( project ) ; IPath path = Path . fromOSString ( relativePath ) ; Preconditions . checkArgument ( ! path . isAbsolute ( ) ) ; PathTestUtil . touch ( root . append ( path ) ) ; }
target:  Creates a file relative to the project's "src" folder. Files created this way become visible after the next refresh operation.