A massive organize imports and formatting of the sources using default Eclipse code...
[phpeclipse.git] / net.sourceforge.phpeclipse / src / net / sourceforge / phpdt / internal / compiler / lookup / ImportBinding.java
index b226412..2ad87a5 100644 (file)
@@ -15,31 +15,38 @@ import net.sourceforge.phpdt.internal.compiler.ast.ImportReference;
 
 public class ImportBinding extends Binding {
        public char[][] compoundName;
+
        public boolean onDemand;
+
        public ImportReference reference;
 
        Binding resolvedImport; // must ensure the import is resolved
-       
-public ImportBinding(char[][] compoundName, boolean isOnDemand, Binding binding, ImportReference reference) {
-       this.compoundName = compoundName;
-       this.onDemand = isOnDemand;
-       this.resolvedImport = binding;
-       this.reference = reference;
-}
-/* API
-* Answer the receiver's binding type from Binding.BindingID.
-*/
 
-public final int bindingType() {
-       return IMPORT;
-}
-public char[] readableName() {
-       if (onDemand)
-               return CharOperation.concat(CharOperation.concatWith(compoundName, '.'), ".*".toCharArray()); //$NON-NLS-1$
-       else
-               return CharOperation.concatWith(compoundName, '.');
-}
-public String toString() {
-       return "include : " + new String(readableName()); //$NON-NLS-1$
-}
+       public ImportBinding(char[][] compoundName, boolean isOnDemand,
+                       Binding binding, ImportReference reference) {
+               this.compoundName = compoundName;
+               this.onDemand = isOnDemand;
+               this.resolvedImport = binding;
+               this.reference = reference;
+       }
+
+       /*
+        * API Answer the receiver's binding type from Binding.BindingID.
+        */
+
+       public final int bindingType() {
+               return IMPORT;
+       }
+
+       public char[] readableName() {
+               if (onDemand)
+                       return CharOperation.concat(CharOperation.concatWith(compoundName,
+                                       '.'), ".*".toCharArray()); //$NON-NLS-1$
+               else
+                       return CharOperation.concatWith(compoundName, '.');
+       }
+
+       public String toString() {
+               return "include : " + new String(readableName()); //$NON-NLS-1$
+       }
 }