1 /*******************************************************************************
2 * Copyright (c) 2000, 2003 IBM Corporation and others.
3 * All rights reserved. This program and the accompanying materials
4 * are made available under the terms of the Common Public License v1.0
5 * which accompanies this distribution, and is available at
6 * http://www.eclipse.org/legal/cpl-v10.html
9 * IBM Corporation - initial API and implementation
10 *******************************************************************************/
11 package net.sourceforge.phpdt.internal.compiler.env;
14 * This represents the target file of a type dependency.
16 * All implementors of this interface are containers for types or types
17 * themselves which must be able to identify their source file name
18 * when file dependencies are collected.
20 public interface IDependent {
22 * Answer the file name which defines the type.
24 * The path part (optional) must be separated from the actual
25 * file proper name by a java.io.File.separator.
27 * The proper file name includes the suffix extension (e.g. ".java")
29 * e.g. "c:/com/ibm/compiler/java/api/Compiler.java"