1 package net.sourceforge.phpeclipse.builder;
3 import net.sourceforge.phpeclipse.mover.obfuscator.PHPIdentifier;
9 public class PHPIdentifierLocation extends PHPIdentifier {
10 private String fClassname;
11 private String fFilename;
13 public PHPIdentifierLocation(String identifier, int type, String filename) {
14 this(identifier, type, filename, null);
17 public PHPIdentifierLocation(String identifier, int type, String filename, String classname) {
18 super(identifier, type);
20 fClassname = classname;
23 * @see java.lang.Object#equals(java.lang.Object)
25 public boolean equals(Object obj) {
26 if (!(obj instanceof PHPIdentifierLocation)) {
29 return super.equals(obj)&&fFilename.equals(((PHPIdentifierLocation)obj).fFilename);
35 public String getClassname() {
42 public String getFilename() {
49 public void setClassname(String string) {
56 public void setFilename(String string) {
61 * @see java.lang.Object#toString()
63 public String toString() {
64 return super.toString()+fFilename;