diff options
Diffstat (limited to 'dsf-gdb/org.eclipse.cdt.dsf.gdb/src/org/eclipse/cdt/dsf/mi/service/command/output/MIVarChange.java')
-rw-r--r-- | dsf-gdb/org.eclipse.cdt.dsf.gdb/src/org/eclipse/cdt/dsf/mi/service/command/output/MIVarChange.java | 41 |
1 files changed, 20 insertions, 21 deletions
diff --git a/dsf-gdb/org.eclipse.cdt.dsf.gdb/src/org/eclipse/cdt/dsf/mi/service/command/output/MIVarChange.java b/dsf-gdb/org.eclipse.cdt.dsf.gdb/src/org/eclipse/cdt/dsf/mi/service/command/output/MIVarChange.java index f5f454795a1..2a3edccc811 100644 --- a/dsf-gdb/org.eclipse.cdt.dsf.gdb/src/org/eclipse/cdt/dsf/mi/service/command/output/MIVarChange.java +++ b/dsf-gdb/org.eclipse.cdt.dsf.gdb/src/org/eclipse/cdt/dsf/mi/service/command/output/MIVarChange.java @@ -15,7 +15,6 @@ *******************************************************************************/ package org.eclipse.cdt.dsf.mi.service.command.output; - /** * GDB/MI var-update. */ @@ -31,7 +30,7 @@ public class MIVarChange { private boolean hasMore = false; private MIVar[] newChildren; private MIDisplayHint displayHint = MIDisplayHint.NONE; - + public MIVarChange(String n) { name = n; } @@ -62,37 +61,37 @@ public class MIVarChange { /** * @return Whether the associated variable's value and children are provided * by a pretty printer. - * + * * @since 4.0 */ public boolean isDynamic() { return isDynamic; } - + /** * @return Whether the number of children changed since the last update. - * + * * @since 4.0 */ public boolean numChildrenChanged() { return (newNumChildren != -1); } - + /** * Only call if {@link #numChildrenChanged()} returns true. - * + * * @return The new number of children the associated varobj now has already fetched. - * + * * @since 4.0 */ public int getNewNumChildren() { - assert(newNumChildren != -1); + assert (newNumChildren != -1); return newNumChildren; } - + /** * @return Whether there more children available than {@link #getNewNumChildren()}. - * + * * @since 4.0 */ public boolean hasMore() { @@ -101,22 +100,22 @@ public class MIVarChange { /** * @return The children added within the current update range. - * + * * @since 4.0 */ public MIVar[] getNewChildren() { return newChildren; } - + /** * @return The new display hint - * + * * @since 4.0 */ public MIDisplayHint getDisplayHint() { return displayHint; } - + public void setValue(String v) { value = v; } @@ -128,35 +127,35 @@ public class MIVarChange { public void setChanged(boolean c) { changed = c; } - + /** * @since 4.1 */ public void setNewType(String newType) { this.newType = newType; } - + /** * @since 4.0 */ public void setDynamic(boolean isDynamic) { this.isDynamic = isDynamic; } - + /** * @since 4.0 */ public void setNewNumChildren(int newNumChildren) { this.newNumChildren = newNumChildren; } - + /** * @since 4.0 */ public void setHasMore(boolean hasMore) { this.hasMore = hasMore; } - + /** * @since 4.0 */ @@ -166,7 +165,7 @@ public class MIVarChange { /** * @param hint - * + * * @since 4.0 */ public void setDisplayHint(MIDisplayHint hint) { |