KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > eclipse > jdt > internal > core > builder > ICompilationUnitLocator


1 /*******************************************************************************
2  * Copyright (c) 2007 BEA Systems, Inc.
3  * All rights reserved. This program and the accompanying materials
4  * are made available under the terms of the Eclipse Public License v1.0
5  * which accompanies this distribution, and is available at
6  * http://www.eclipse.org/legal/epl-v10.html
7  *
8  * Contributors:
9  * wharley@bea.com - initial API and implementation
10  *
11  *******************************************************************************/

12
13 package org.eclipse.jdt.internal.core.builder;
14
15 import org.eclipse.core.resources.IFile;
16 import org.eclipse.jdt.internal.compiler.env.ICompilationUnit;
17
18 /**
19  * Used to convert an IFile into an ICompilationUnit,
20  * for clients outside of this package.
21  * @since 3.3
22  */

23 public interface ICompilationUnitLocator {
24     public ICompilationUnit fromIFile(IFile file);
25 }
26
Popular Tags