X-Git-Url: http://secure.phpeclipse.com
diff --git a/net.sourceforge.phpeclipse/src/net/sourceforge/phpdt/core/ICompilationUnit.java b/net.sourceforge.phpeclipse/src/net/sourceforge/phpdt/core/ICompilationUnit.java
index 4d44420..94f7f88 100644
--- a/net.sourceforge.phpeclipse/src/net/sourceforge/phpdt/core/ICompilationUnit.java
+++ b/net.sourceforge.phpeclipse/src/net/sourceforge/phpdt/core/ICompilationUnit.java
@@ -1,16 +1,15 @@
/*******************************************************************************
- * 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.core;
-import org.eclipse.core.runtime.IProgressMonitor;
/**
* Represents an entire Java compilation unit (.java
source file).
@@ -25,7 +24,8 @@ import org.eclipse.core.runtime.IProgressMonitor;
* This interface is not intended to be implemented by clients.
*
"java.awt.*"
)
* @return a handle onto the corresponding import declaration. The import declaration may or may not exist.
*/
-// IImportDeclaration getImport(String name) ;
+//IImportDeclaration getImport(String name) ;
/**
* Returns the import container for this compilation unit.
* This is a handle-only method. The import container may or
@@ -156,7 +156,7 @@ IJavaElement getElementAt(int position) throws JavaModelException;
* @return a handle onto the corresponding import container. The
* import contain may or may not exist.
*/
-// IImportContainer getImportContainer();
+//IImportContainer getImportContainer();
/**
* Returns the import declarations in this compilation unit
* in the order in which they appear in the source. This is
@@ -166,7 +166,7 @@ IJavaElement getElementAt(int position) throws JavaModelException;
* @exception JavaModelException if this element does not exist or if an
* exception occurs while accessing its corresponding resource
*/
-// IImportDeclaration[] getImports() throws JavaModelException;
+//IImportDeclaration[] getImports() throws JavaModelException;
/**
* Returns the first package declaration in this compilation unit with the given package name
* (there normally is at most one package declaration).
@@ -174,7 +174,7 @@ IJavaElement getElementAt(int position) throws JavaModelException;
*
* @param name the name of the package declaration as defined by JLS2 7.4. (For example, "java.lang"
)
*/
-// IPackageDeclaration getPackageDeclaration(String name);
+//IPackageDeclaration getPackageDeclaration(String name);
/**
* Returns the package declarations in this compilation unit
* in the order in which they appear in the source.
@@ -185,7 +185,7 @@ IJavaElement getElementAt(int position) throws JavaModelException;
* @exception JavaModelException if this element does not exist or if an
* exception occurs while accessing its corresponding resource
*/
-// IPackageDeclaration[] getPackageDeclarations() throws JavaModelException;
+//IPackageDeclaration[] getPackageDeclarations() throws JavaModelException;
/**
* Returns the top-level type declared in this compilation unit with the given simple type name.
* The type name has to be a valid compilation unit name.
@@ -195,7 +195,7 @@ IJavaElement getElementAt(int position) throws JavaModelException;
* @return a handle onto the corresponding type. The type may or may not exist.
* @see JavaConventions#validateCompilationUnitName(String name)
*/
-IType getType(String name);
+//IType getType(String name);
/**
* Returns the top-level types declared in this compilation unit
* in the order in which they appear in the source.
@@ -203,6 +203,6 @@ IType getType(String name);
* @exception JavaModelException if this element does not exist or if an
* exception occurs while accessing its corresponding resource
*/
-IType[] getTypes() throws JavaModelException;
+//IType[] getTypes() throws JavaModelException;
}