1
0
Fork 0
mirror of https://github.com/eclipse-cdt/cdt synced 2025-04-29 19:45:01 +02:00

Correct presentation of the full names of variables that contain pointers.

This commit is contained in:
Mikhail Khodjaiants 2003-06-06 20:00:22 +00:00
parent 08ab887f65
commit e52ae1fe5a

View file

@ -73,6 +73,11 @@ public abstract class CVariable extends CDebugElement
*/
private String fName = null;
/**
* The full name of this variable.
*/
private String fQualifiedName = null;
private Boolean fEditable = null;
/**
@ -777,6 +782,8 @@ public abstract class CVariable extends CDebugElement
* @see org.eclipse.cdt.debug.core.model.ICVariable#getQualifiedName()
*/
public String getQualifiedName() throws DebugException
{
if ( fQualifiedName == null )
{
LinkedList list = new LinkedList();
list.add( this );
@ -816,7 +823,9 @@ public abstract class CVariable extends CDebugElement
sb.append( vars[i].getName() );
sb.append( ')' );
}
return sb.toString();
fQualifiedName = sb.toString();
}
return fQualifiedName;
}
protected boolean isAccessSpecifier() throws DebugException