Lines Matching defs:file
4 * The contents of this file are subject to the terms of the
6 * You may not use this file except in compliance with the License.
12 * file and include the License file at LICENSE.txt.
90 * It seems that you should ALWAYS prefix the path with current file.separator , current environment should always have it set up
119 * Get the project for a specific file
120 * @param path the file to lookup (relative from source root)
121 * @return the project that this file belongs to (or null if the file
142 * Get the project for a specific file
143 * @param file the file to lookup
144 * @return the project that this file belongs to (or null if the file
147 public static Project getProject(File file) {
150 ret = getProject(RuntimeEnvironment.getInstance().getPathRelativeToSourceRoot(file, 0));