diff options
Diffstat (limited to 'core/org.eclipse.cdt.core/model/org/eclipse/cdt/internal/core/model/LibraryReferenceShared.java')
-rw-r--r-- | core/org.eclipse.cdt.core/model/org/eclipse/cdt/internal/core/model/LibraryReferenceShared.java | 50 |
1 files changed, 0 insertions, 50 deletions
diff --git a/core/org.eclipse.cdt.core/model/org/eclipse/cdt/internal/core/model/LibraryReferenceShared.java b/core/org.eclipse.cdt.core/model/org/eclipse/cdt/internal/core/model/LibraryReferenceShared.java deleted file mode 100644 index ffa37133e05..00000000000 --- a/core/org.eclipse.cdt.core/model/org/eclipse/cdt/internal/core/model/LibraryReferenceShared.java +++ /dev/null @@ -1,50 +0,0 @@ -/* - * Created on Apr 2, 2003 - * - * To change this generated comment go to - * Window>Preferences>Java>Code Generation>Code Template - */ -package org.eclipse.cdt.internal.core.model; - -import org.eclipse.cdt.core.IBinaryParser.IBinaryFile; -import org.eclipse.cdt.core.model.ICElement; -import org.eclipse.cdt.core.model.ILibraryEntry; -import org.eclipse.cdt.core.model.ILibraryReference; -import org.eclipse.core.resources.IResource; -import org.eclipse.core.runtime.IPath; - -/** - * @author alain - */ -public class LibraryReferenceShared extends Binary implements ILibraryReference { - - ILibraryEntry entry; - - public LibraryReferenceShared(ICElement parent, ILibraryEntry e, IBinaryFile bin) { - super(parent, e.getLibraryPath(), bin); - setElementType(ICElement.C_VCONTAINER); - entry = e; - } - - /* (non-Javadoc) - * @see org.eclipse.cdt.internal.core.model.Binary#getModificationStamp() - */ - protected long getModificationStamp() { - return getPath().toFile().lastModified(); - } - - /* (non-Javadoc) - * @see org.eclipse.cdt.core.model.ICElement#getResource() - */ - public IResource getResource() { - return null; - } - - /* (non-Javadoc) - * @see org.eclipse.cdt.core.model.ICElement#getPath() - */ - public IPath getPath() { - return entry.getLibraryPath(); - } - -} |