Refactory: remove unused classes, imports, fields and methods.
[phpeclipse.git] / net.sourceforge.phpeclipse / src / net / sourceforge / phpdt / internal / core / PackageFragmentInfo.java
index 01a8258..1a4240f 100644 (file)
  *******************************************************************************/
 package net.sourceforge.phpdt.internal.core;
 
-import net.sourceforge.phpdt.core.JavaModelException;
-
-import org.eclipse.core.resources.IContainer;
-import org.eclipse.core.resources.IResource;
-
+//import net.sourceforge.phpdt.core.JavaModelException;
+//
+//import org.eclipse.core.resources.IContainer;
+//import org.eclipse.core.resources.IResource;
 
 /**
  * Element info for PackageFragments.
@@ -26,39 +25,43 @@ class PackageFragmentInfo extends OpenableElementInfo {
         */
        protected Object[] fNonJavaResources;
 
-/**
- * Create and initialize a new instance of the receiver
- */
-public PackageFragmentInfo() {
-       fNonJavaResources = null;
-}
-/**
- */
-boolean containsJavaResources() {
-       return fChildren.length != 0;
-}
-/**
- * Returns an array of non-java resources contained in the receiver.
- */
-Object[] getNonJavaResources(IResource underlyingResource, PackageFragmentRoot rootHandle) {
-       Object[] nonJavaResources = fNonJavaResources;
-       if (nonJavaResources == null) {
-               try {
-                       nonJavaResources = 
-                               PackageFragmentRootInfo.computeFolderNonJavaResources(
-                                       (JavaProject)rootHandle.getJavaProject(), 
-                                       (IContainer)underlyingResource, 
-                                       rootHandle.fullExclusionPatternChars());
-               } catch (JavaModelException e) {
-               }
-               fNonJavaResources = nonJavaResources;
+       /**
+        * Create and initialize a new instance of the receiver
+        */
+       public PackageFragmentInfo() {
+               fNonJavaResources = null;
+       }
+
+       /**
+        */
+//     boolean containsJavaResources() {
+//             return fChildren.length != 0;
+//     }
+
+       /**
+        * Returns an array of non-java resources contained in the receiver.
+        */
+//     Object[] getNonJavaResources(IResource underlyingResource,
+//                     PackageFragmentRoot rootHandle) {
+//             Object[] nonJavaResources = fNonJavaResources;
+//             if (nonJavaResources == null) {
+//                     try {
+//                             nonJavaResources = PackageFragmentRootInfo
+//                                             .computeFolderNonJavaResources((JavaProject) rootHandle
+//                                                             .getJavaProject(),
+//                                                             (IContainer) underlyingResource, rootHandle
+//                                                                             .fullExclusionPatternChars());
+//                     } catch (JavaModelException e) {
+//                     }
+//                     fNonJavaResources = nonJavaResources;
+//             }
+//             return nonJavaResources;
+//     }
+
+       /**
+        * Set the fNonJavaResources to res value
+        */
+       synchronized void setNonJavaResources(Object[] resources) {
+               fNonJavaResources = resources;
        }
-       return nonJavaResources;
-}
-/**
- * Set the fNonJavaResources to res value
- */
-synchronized void setNonJavaResources(Object[] resources) {
-       fNonJavaResources = resources;
-}
 }