1
0
Fork 0
mirror of https://github.com/eclipse-cdt/cdt synced 2025-04-23 14:42:11 +02:00

Removed the 'isAccessSpecifier' method from CVaraiable.

This commit is contained in:
Mikhail Khodjaiants 2003-08-21 15:24:21 +00:00
parent a154926a6a
commit e9a58e48b6
4 changed files with 8 additions and 7 deletions

View file

@ -1,3 +1,9 @@
2003-08-21 Mikhail Khodjaiants
Removed the 'isAccessSpecifier' method from CVaraiable.
* CArrayPartitionValue.java
* CValue.java
* CVariable.java
2003-08-21 Mikhail Khodjaiants
Use the names of array's elements returned by CDI.
* CVariable.java

View file

@ -138,7 +138,7 @@ public class CArrayPartitionValue extends CDebugElement implements ICValue
{
try
{
if ( getParentVariable() != null && !getParentVariable().isAccessSpecifier() )
if ( getParentVariable() != null )
valueString = ee.evaluateExpressionToString( getParentVariable().getQualifiedName() );
}
catch( DebugException e )

View file

@ -517,7 +517,7 @@ public class CValue extends CDebugElement implements ICValue
{
try
{
if ( getParentVariable() != null && !getParentVariable().isAccessSpecifier() )
if ( getParentVariable() != null )
valueString = ee.evaluateExpressionToString( getParentVariable().getQualifiedName() );
}
catch( DebugException e )

View file

@ -916,11 +916,6 @@ public abstract class CVariable extends CDebugElement
return fQualifiedName;
}
protected boolean isAccessSpecifier() throws DebugException
{
return ( "public".equals( getName() ) || "protected".equals( getName() ) || "private".equals( getName() ) );
}
/* (non-Javadoc)
* @see org.eclipse.cdt.debug.core.model.ICVariable#getType()
*/