mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-06-08 02:06:01 +02:00
Removed the 'isAccessSpecifier' method from CVaraiable.
This commit is contained in:
parent
a154926a6a
commit
e9a58e48b6
4 changed files with 8 additions and 7 deletions
|
@ -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
|
2003-08-21 Mikhail Khodjaiants
|
||||||
Use the names of array's elements returned by CDI.
|
Use the names of array's elements returned by CDI.
|
||||||
* CVariable.java
|
* CVariable.java
|
||||||
|
|
|
@ -138,7 +138,7 @@ public class CArrayPartitionValue extends CDebugElement implements ICValue
|
||||||
{
|
{
|
||||||
try
|
try
|
||||||
{
|
{
|
||||||
if ( getParentVariable() != null && !getParentVariable().isAccessSpecifier() )
|
if ( getParentVariable() != null )
|
||||||
valueString = ee.evaluateExpressionToString( getParentVariable().getQualifiedName() );
|
valueString = ee.evaluateExpressionToString( getParentVariable().getQualifiedName() );
|
||||||
}
|
}
|
||||||
catch( DebugException e )
|
catch( DebugException e )
|
||||||
|
|
|
@ -517,7 +517,7 @@ public class CValue extends CDebugElement implements ICValue
|
||||||
{
|
{
|
||||||
try
|
try
|
||||||
{
|
{
|
||||||
if ( getParentVariable() != null && !getParentVariable().isAccessSpecifier() )
|
if ( getParentVariable() != null )
|
||||||
valueString = ee.evaluateExpressionToString( getParentVariable().getQualifiedName() );
|
valueString = ee.evaluateExpressionToString( getParentVariable().getQualifiedName() );
|
||||||
}
|
}
|
||||||
catch( DebugException e )
|
catch( DebugException e )
|
||||||
|
|
|
@ -916,11 +916,6 @@ public abstract class CVariable extends CDebugElement
|
||||||
return fQualifiedName;
|
return fQualifiedName;
|
||||||
}
|
}
|
||||||
|
|
||||||
protected boolean isAccessSpecifier() throws DebugException
|
|
||||||
{
|
|
||||||
return ( "public".equals( getName() ) || "protected".equals( getName() ) || "private".equals( getName() ) );
|
|
||||||
}
|
|
||||||
|
|
||||||
/* (non-Javadoc)
|
/* (non-Javadoc)
|
||||||
* @see org.eclipse.cdt.debug.core.model.ICVariable#getType()
|
* @see org.eclipse.cdt.debug.core.model.ICVariable#getType()
|
||||||
*/
|
*/
|
||||||
|
|
Loading…
Add table
Reference in a new issue