mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-06-09 02:36:01 +02:00
toString method.
This commit is contained in:
parent
0c6ec32e51
commit
cba049ddbe
1 changed files with 37 additions and 31 deletions
|
@ -95,6 +95,7 @@ public class ProblemBinding extends PlatformObject implements IProblemBinding, I
|
|||
|
||||
return msg;
|
||||
}
|
||||
|
||||
/* (non-Javadoc)
|
||||
* @see org.eclipse.cdt.core.dom.ast.IBinding#getName()
|
||||
*/
|
||||
|
@ -125,11 +126,10 @@ public class ProblemBinding extends PlatformObject implements IProblemBinding, I
|
|||
|
||||
@Override
|
||||
public Object clone() {
|
||||
//don't clone problems
|
||||
// Don't clone problems
|
||||
return this;
|
||||
}
|
||||
|
||||
|
||||
/* (non-Javadoc)
|
||||
* @see org.eclipse.cdt.core.dom.ast.IScope#getParent()
|
||||
*/
|
||||
|
@ -172,7 +172,8 @@ public class ProblemBinding extends PlatformObject implements IProblemBinding, I
|
|||
throw new DOMException(this);
|
||||
}
|
||||
|
||||
public final IBinding[] getBindings(IASTName name, boolean resolve, boolean prefix) throws DOMException {
|
||||
public final IBinding[] getBindings(IASTName name, boolean resolve, boolean prefix)
|
||||
throws DOMException {
|
||||
throw new DOMException(this);
|
||||
}
|
||||
|
||||
|
@ -235,4 +236,9 @@ public class ProblemBinding extends PlatformObject implements IProblemBinding, I
|
|||
public ILinkage getLinkage() {
|
||||
return Linkage.NO_LINKAGE;
|
||||
}
|
||||
|
||||
@Override
|
||||
public String toString() {
|
||||
return getMessage();
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue