X-Git-Url: http://secure.phpeclipse.com diff --git a/net.sourceforge.phpeclipse/src/net/sourceforge/phpdt/internal/compiler/env/ISourceType.java b/net.sourceforge.phpeclipse/src/net/sourceforge/phpdt/internal/compiler/env/ISourceType.java index ecd1ef5..6d25398 100644 --- a/net.sourceforge.phpeclipse/src/net/sourceforge/phpdt/internal/compiler/env/ISourceType.java +++ b/net.sourceforge.phpeclipse/src/net/sourceforge/phpdt/internal/compiler/env/ISourceType.java @@ -1,15 +1,17 @@ /******************************************************************************* - * Copyright (c) 2000, 2001, 2002 International Business Machines Corp. and others. + * Copyright (c) 2000, 2003 IBM Corporation and others. * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Common Public License v0.5 + * are made available under the terms of the Common Public License v1.0 * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/cpl-v05.html + * http://www.eclipse.org/legal/cpl-v10.html * * Contributors: * IBM Corporation - initial API and implementation - ******************************************************************************/ + *******************************************************************************/ package net.sourceforge.phpdt.internal.compiler.env; +import net.sourceforge.phpdt.internal.compiler.env.ISourceImport; + public interface ISourceType extends IGenericType { /** * Answer the source end position of the type's declaration. @@ -34,15 +36,25 @@ ISourceType getEnclosingType(); */ ISourceField[] getFields(); +///** +// * Answer the unresolved names of the receiver's imports +// * or null if the array is empty. +// * +// * An import is a qualified, dot separated name. +// * For example, java.util.Hashtable or java.lang.*. +// */ +// +//char[][] getImports(); /** - * Answer the unresolved names of the receiver's imports - * or null if the array is empty. + * Answer the receiver's imports or null if the array is empty. * * An import is a qualified, dot separated name. * For example, java.util.Hashtable or java.lang.*. + * A static import used 'static.' as its first fragment, for + * example: static.java.util.Hashtable.* */ - char[][] getImports(); + /** * Answer the unresolved names of the receiver's interfaces * or null if the array is empty.