improved PHP parser
[phpeclipse.git] / net.sourceforge.phpeclipse / src / net / sourceforge / phpdt / internal / compiler / lookup / ProblemReferenceBinding.java
index 5283ad3..3fa5886 100644 (file)
@@ -11,7 +11,7 @@
 package net.sourceforge.phpdt.internal.compiler.lookup;
 
 public class ProblemReferenceBinding extends ReferenceBinding {
-       public Binding original;
+       public ReferenceBinding original;
        private int problemId;
 // NOTE: must only answer the subset of the name related to the problem
 
@@ -22,12 +22,12 @@ public ProblemReferenceBinding(char[] name, int problemId) {
        this(new char[][] {name}, null, problemId);
 }
 
-public ProblemReferenceBinding(char[][] compoundName, Binding original, int problemId) {
+public ProblemReferenceBinding(char[][] compoundName, ReferenceBinding original, int problemId) {
        this.compoundName = compoundName;
        this.original = original;
        this.problemId = problemId;
 }
-public ProblemReferenceBinding(char[] name, Binding original, int problemId) {
+public ProblemReferenceBinding(char[] name, ReferenceBinding original, int problemId) {
        this(new char[][] {name}, original, problemId);
 }
 /* API
@@ -40,7 +40,7 @@ public final int problemId() {
 }
 
 /**
- * @see org.eclipse.jdt.internal.compiler.lookup.ReferenceBinding#shortReadableName()
+ * @see net.sourceforge.phpdt.internal.compiler.lookup.ReferenceBinding#shortReadableName()
  */
 public char[] shortReadableName() {
        return readableName();