Changes:
[phpeclipse.git] / net.sourceforge.phpeclipse / src / net / sourceforge / phpeclipse / builder / PHPIdentifierLocation.java
index 43006a0..2dfec02 100644 (file)
@@ -1,6 +1,6 @@
 package net.sourceforge.phpeclipse.builder;
 
-import net.sourceforge.phpeclipse.mover.obfuscator.PHPIdentifier;
+import net.sourceforge.phpeclipse.obfuscator.PHPIdentifier;
 
 /**
  * @author khartlage
@@ -12,6 +12,7 @@ public class PHPIdentifierLocation extends PHPIdentifier {
        private int fOffset;
        private int fPHPDocLength;
        private int fPHPDocOffset;
+       private String fUsage;
 
   public PHPIdentifierLocation(String identifier, int type, String filename) {
     this(identifier, type, filename, null);
@@ -24,6 +25,7 @@ public class PHPIdentifierLocation extends PHPIdentifier {
                fOffset = -1;
                fPHPDocLength = -1;
                fPHPDocOffset = -1;
+               fUsage = null;
        }
   /* (non-Javadoc)
    * @see java.lang.Object#equals(java.lang.Object)
@@ -71,6 +73,13 @@ public class PHPIdentifierLocation extends PHPIdentifier {
   }
 
   /**
+   * @return
+   */
+  public String getUsage() {
+    return fUsage;
+  }
+
+  /**
    * @param string
    */
   public void setClassname(String string) {
@@ -105,6 +114,13 @@ public class PHPIdentifierLocation extends PHPIdentifier {
     fPHPDocOffset = i;
   }
 
+  /**
+   * @param string
+   */
+  public void setUsage(String string) {
+    fUsage = string;
+  }
+
   /* (non-Javadoc)
    * @see java.lang.Object#toString()
    */