X-Git-Url: http://git.phpeclipse.com diff --git a/net.sourceforge.phpeclipse/src/net/sourceforge/phpeclipse/builder/PHPIdentifierLocation.java b/net.sourceforge.phpeclipse/src/net/sourceforge/phpeclipse/builder/PHPIdentifierLocation.java index e3ea468..b374ff5 100644 --- a/net.sourceforge.phpeclipse/src/net/sourceforge/phpeclipse/builder/PHPIdentifierLocation.java +++ b/net.sourceforge.phpeclipse/src/net/sourceforge/phpeclipse/builder/PHPIdentifierLocation.java @@ -1,9 +1,8 @@ package net.sourceforge.phpeclipse.builder; -import net.sourceforge.phpeclipse.mover.obfuscator.PHPIdentifier; +import net.sourceforge.phpeclipse.obfuscator.PHPIdentifier; /** - * @author khartlage * */ public class PHPIdentifierLocation extends PHPIdentifier { @@ -12,6 +11,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 +24,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 +72,13 @@ public class PHPIdentifierLocation extends PHPIdentifier { } /** + * @return + */ + public String getUsage() { + return fUsage; + } + + /** * @param string */ public void setClassname(String string) { @@ -105,11 +113,18 @@ public class PHPIdentifierLocation extends PHPIdentifier { fPHPDocOffset = i; } + /** + * @param string + */ + public void setUsage(String string) { + fUsage = string; + } + /* (non-Javadoc) * @see java.lang.Object#toString() */ public String toString() { - return super.toString()+fFilename; + return super.toString()+"\n"+fFilename; } }