Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMikhail Khodjaiants2003-08-21 11:24:21 -0400
committerMikhail Khodjaiants2003-08-21 11:24:21 -0400
commite9a58e48b61f0ff1d2a78dc8ae202fc8ccaa8ea4 (patch)
tree12cfa3d1a98181a5857fe6426306c8ad7b667738
parenta154926a6a0ccc2a6a33c63e8fbc9898d29030e6 (diff)
downloadorg.eclipse.cdt-e9a58e48b61f0ff1d2a78dc8ae202fc8ccaa8ea4.tar.gz
org.eclipse.cdt-e9a58e48b61f0ff1d2a78dc8ae202fc8ccaa8ea4.tar.xz
org.eclipse.cdt-e9a58e48b61f0ff1d2a78dc8ae202fc8ccaa8ea4.zip
Removed the 'isAccessSpecifier' method from CVaraiable.
-rw-r--r--debug/org.eclipse.cdt.debug.core/ChangeLog6
-rw-r--r--debug/org.eclipse.cdt.debug.core/src/org/eclipse/cdt/debug/internal/core/model/CArrayPartitionValue.java2
-rw-r--r--debug/org.eclipse.cdt.debug.core/src/org/eclipse/cdt/debug/internal/core/model/CValue.java2
-rw-r--r--debug/org.eclipse.cdt.debug.core/src/org/eclipse/cdt/debug/internal/core/model/CVariable.java5
4 files changed, 8 insertions, 7 deletions
diff --git a/debug/org.eclipse.cdt.debug.core/ChangeLog b/debug/org.eclipse.cdt.debug.core/ChangeLog
index 472b0430792..dfbbebb3830 100644
--- a/debug/org.eclipse.cdt.debug.core/ChangeLog
+++ b/debug/org.eclipse.cdt.debug.core/ChangeLog
@@ -1,4 +1,10 @@
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
diff --git a/debug/org.eclipse.cdt.debug.core/src/org/eclipse/cdt/debug/internal/core/model/CArrayPartitionValue.java b/debug/org.eclipse.cdt.debug.core/src/org/eclipse/cdt/debug/internal/core/model/CArrayPartitionValue.java
index f70d536047a..6dbe9b12eb1 100644
--- a/debug/org.eclipse.cdt.debug.core/src/org/eclipse/cdt/debug/internal/core/model/CArrayPartitionValue.java
+++ b/debug/org.eclipse.cdt.debug.core/src/org/eclipse/cdt/debug/internal/core/model/CArrayPartitionValue.java
@@ -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 )
diff --git a/debug/org.eclipse.cdt.debug.core/src/org/eclipse/cdt/debug/internal/core/model/CValue.java b/debug/org.eclipse.cdt.debug.core/src/org/eclipse/cdt/debug/internal/core/model/CValue.java
index 520b224a5f9..b8a050492a5 100644
--- a/debug/org.eclipse.cdt.debug.core/src/org/eclipse/cdt/debug/internal/core/model/CValue.java
+++ b/debug/org.eclipse.cdt.debug.core/src/org/eclipse/cdt/debug/internal/core/model/CValue.java
@@ -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 )
diff --git a/debug/org.eclipse.cdt.debug.core/src/org/eclipse/cdt/debug/internal/core/model/CVariable.java b/debug/org.eclipse.cdt.debug.core/src/org/eclipse/cdt/debug/internal/core/model/CVariable.java
index c5685cbd678..23b2195ab41 100644
--- a/debug/org.eclipse.cdt.debug.core/src/org/eclipse/cdt/debug/internal/core/model/CVariable.java
+++ b/debug/org.eclipse.cdt.debug.core/src/org/eclipse/cdt/debug/internal/core/model/CVariable.java
@@ -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()
*/

Back to the top