Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLars Vogel2017-06-21 03:49:00 -0400
committerLars Vogel2017-06-21 15:52:28 -0400
commitb1def5192f42f36a19ecef144ac13dcaea740caf (patch)
tree96881fd30655cc7b59a7c44842978bd438163d7b /org.eclipse.text
parent2d0ff3eec34063e43600e35080106473bc8df244 (diff)
downloadeclipse.platform.text-b1def5192f42f36a19ecef144ac13dcaea740caf.tar.gz
eclipse.platform.text-b1def5192f42f36a19ecef144ac13dcaea740caf.tar.xz
eclipse.platform.text-b1def5192f42f36a19ecef144ac13dcaea740caf.zip
Removes unnecessary @See Javadoc annotations in org.eclipse.text inI20170621-2000
org.eclipse.text.edits package Change-Id: If34734c741547e96dd9dc446cb85a89582b99489 Signed-off-by: Lars Vogel <Lars.Vogel@vogella.com>
Diffstat (limited to 'org.eclipse.text')
-rw-r--r--org.eclipse.text/src/org/eclipse/text/edits/CopySourceEdit.java12
-rw-r--r--org.eclipse.text/src/org/eclipse/text/edits/CopyTargetEdit.java21
-rw-r--r--org.eclipse.text/src/org/eclipse/text/edits/CopyingRangeMarker.java12
-rw-r--r--org.eclipse.text/src/org/eclipse/text/edits/DeleteEdit.java12
-rw-r--r--org.eclipse.text/src/org/eclipse/text/edits/InsertEdit.java12
-rw-r--r--org.eclipse.text/src/org/eclipse/text/edits/MoveSourceEdit.java12
-rw-r--r--org.eclipse.text/src/org/eclipse/text/edits/MoveTargetEdit.java18
-rw-r--r--org.eclipse.text/src/org/eclipse/text/edits/MultiTextEdit.java15
-rw-r--r--org.eclipse.text/src/org/eclipse/text/edits/RangeMarker.java12
-rw-r--r--org.eclipse.text/src/org/eclipse/text/edits/ReplaceEdit.java12
-rw-r--r--org.eclipse.text/src/org/eclipse/text/edits/UndoEdit.java6
11 files changed, 0 insertions, 144 deletions
diff --git a/org.eclipse.text/src/org/eclipse/text/edits/CopySourceEdit.java b/org.eclipse.text/src/org/eclipse/text/edits/CopySourceEdit.java
index 0a5127d6b..5083765e1 100644
--- a/org.eclipse.text/src/org/eclipse/text/edits/CopySourceEdit.java
+++ b/org.eclipse.text/src/org/eclipse/text/edits/CopySourceEdit.java
@@ -170,17 +170,11 @@ public final class CopySourceEdit extends TextEdit {
fModifier= modifier;
}
- /*
- * @see TextEdit#doCopy
- */
@Override
protected TextEdit doCopy() {
return new CopySourceEdit(this);
}
- /*
- * @see TextEdit#accept0
- */
@Override
protected void accept0(TextEditVisitor visitor) {
boolean visitChildren= visitor.visit(this);
@@ -204,9 +198,6 @@ public final class CopySourceEdit extends TextEdit {
fSourceContent= null;
}
- /*
- * @see TextEdit#postProcessCopy
- */
@Override
protected void postProcessCopy(TextEditCopier copier) {
if (fTarget != null) {
@@ -321,9 +312,6 @@ public final class CopySourceEdit extends TextEdit {
//---- region updating ----------------------------------------------------------------
- /*
- * @see TextEdit#deleteChildren
- */
@Override
boolean deleteChildren() {
return false;
diff --git a/org.eclipse.text/src/org/eclipse/text/edits/CopyTargetEdit.java b/org.eclipse.text/src/org/eclipse/text/edits/CopyTargetEdit.java
index 4eed83d54..ce905a2b3 100644
--- a/org.eclipse.text/src/org/eclipse/text/edits/CopyTargetEdit.java
+++ b/org.eclipse.text/src/org/eclipse/text/edits/CopyTargetEdit.java
@@ -96,17 +96,11 @@ public final class CopyTargetEdit extends TextEdit {
}
}
- /*
- * @see TextEdit#doCopy
- */
@Override
protected TextEdit doCopy() {
return new CopyTargetEdit(this);
}
- /*
- * @see TextEdit#postProcessCopy
- */
@Override
protected void postProcessCopy(TextEditCopier copier) {
if (fSource != null) {
@@ -117,9 +111,6 @@ public final class CopyTargetEdit extends TextEdit {
}
}
- /*
- * @see TextEdit#accept0
- */
@Override
protected void accept0(TextEditVisitor visitor) {
boolean visitChildren= visitor.visit(this);
@@ -128,17 +119,11 @@ public final class CopyTargetEdit extends TextEdit {
}
}
- /*
- * @see TextEdit#traverseConsistencyCheck
- */
@Override
int traverseConsistencyCheck(TextEditProcessor processor, IDocument document, List<List<TextEdit>> sourceEdits) {
return super.traverseConsistencyCheck(processor, document, sourceEdits) + 1;
}
- /*
- * @see TextEdit#performConsistencyCheck
- */
@Override
void performConsistencyCheck(TextEditProcessor processor, IDocument document) throws MalformedTreeException {
if (fSource == null)
@@ -147,9 +132,6 @@ public final class CopyTargetEdit extends TextEdit {
throw new MalformedTreeException(getParent(), this, TextEditMessages.getString("CopyTargetEdit.different_target")); //$NON-NLS-1$
}
- /*
- * @see TextEdit#performDocumentUpdating
- */
@Override
int performDocumentUpdating(IDocument document) throws BadLocationException {
String source= fSource.getContent();
@@ -159,9 +141,6 @@ public final class CopyTargetEdit extends TextEdit {
return fDelta;
}
- /*
- * @see TextEdit#deleteChildren
- */
@Override
boolean deleteChildren() {
return false;
diff --git a/org.eclipse.text/src/org/eclipse/text/edits/CopyingRangeMarker.java b/org.eclipse.text/src/org/eclipse/text/edits/CopyingRangeMarker.java
index 8338b4a86..af56ebaf2 100644
--- a/org.eclipse.text/src/org/eclipse/text/edits/CopyingRangeMarker.java
+++ b/org.eclipse.text/src/org/eclipse/text/edits/CopyingRangeMarker.java
@@ -43,17 +43,11 @@ public final class CopyingRangeMarker extends TextEdit {
fText= other.fText;
}
- /*
- * @see TextEdit#doCopy
- */
@Override
protected TextEdit doCopy() {
return new CopyingRangeMarker(this);
}
- /*
- * @see TextEdit#accept0
- */
@Override
protected void accept0(TextEditVisitor visitor) {
boolean visitChildren= visitor.visit(this);
@@ -62,9 +56,6 @@ public final class CopyingRangeMarker extends TextEdit {
}
}
- /*
- * @see TextEdit#performDocumentUpdating
- */
@Override
int performDocumentUpdating(IDocument document) throws BadLocationException {
fText= document.get(getOffset(), getLength());
@@ -72,9 +63,6 @@ public final class CopyingRangeMarker extends TextEdit {
return fDelta;
}
- /*
- * @see TextEdit#deleteChildren
- */
@Override
boolean deleteChildren() {
return false;
diff --git a/org.eclipse.text/src/org/eclipse/text/edits/DeleteEdit.java b/org.eclipse.text/src/org/eclipse/text/edits/DeleteEdit.java
index 041cb7d53..1638566dd 100644
--- a/org.eclipse.text/src/org/eclipse/text/edits/DeleteEdit.java
+++ b/org.eclipse.text/src/org/eclipse/text/edits/DeleteEdit.java
@@ -40,17 +40,11 @@ public final class DeleteEdit extends TextEdit {
super(other);
}
- /*
- * @see TextEdit#doCopy
- */
@Override
protected TextEdit doCopy() {
return new DeleteEdit(this);
}
- /*
- * @see TextEdit#accept0
- */
@Override
protected void accept0(TextEditVisitor visitor) {
boolean visitChildren= visitor.visit(this);
@@ -59,9 +53,6 @@ public final class DeleteEdit extends TextEdit {
}
}
- /*
- * @see TextEdit#performDocumentUpdating
- */
@Override
int performDocumentUpdating(IDocument document) throws BadLocationException {
document.replace(getOffset(), getLength(), ""); //$NON-NLS-1$
@@ -69,9 +60,6 @@ public final class DeleteEdit extends TextEdit {
return fDelta;
}
- /*
- * @see TextEdit#deleteChildren
- */
@Override
boolean deleteChildren() {
return true;
diff --git a/org.eclipse.text/src/org/eclipse/text/edits/InsertEdit.java b/org.eclipse.text/src/org/eclipse/text/edits/InsertEdit.java
index 92af15f42..d3855a494 100644
--- a/org.eclipse.text/src/org/eclipse/text/edits/InsertEdit.java
+++ b/org.eclipse.text/src/org/eclipse/text/edits/InsertEdit.java
@@ -57,17 +57,11 @@ public final class InsertEdit extends TextEdit {
return fText;
}
- /*
- * @see TextEdit#doCopy
- */
@Override
protected TextEdit doCopy() {
return new InsertEdit(this);
}
- /*
- * @see TextEdit#accept0
- */
@Override
protected void accept0(TextEditVisitor visitor) {
boolean visitChildren= visitor.visit(this);
@@ -76,9 +70,6 @@ public final class InsertEdit extends TextEdit {
}
}
- /*
- * @see TextEdit#performDocumentUpdating
- */
@Override
int performDocumentUpdating(IDocument document) throws BadLocationException {
document.replace(getOffset(), getLength(), fText);
@@ -86,9 +77,6 @@ public final class InsertEdit extends TextEdit {
return fDelta;
}
- /*
- * @see TextEdit#deleteChildren
- */
@Override
boolean deleteChildren() {
return false;
diff --git a/org.eclipse.text/src/org/eclipse/text/edits/MoveSourceEdit.java b/org.eclipse.text/src/org/eclipse/text/edits/MoveSourceEdit.java
index 9fda25800..265b60dcc 100644
--- a/org.eclipse.text/src/org/eclipse/text/edits/MoveSourceEdit.java
+++ b/org.eclipse.text/src/org/eclipse/text/edits/MoveSourceEdit.java
@@ -146,17 +146,11 @@ public final class MoveSourceEdit extends TextEdit {
//---- Copying -------------------------------------------------------------
- /*
- * @see TextEdit#doCopy
- */
@Override
protected TextEdit doCopy() {
return new MoveSourceEdit(this);
}
- /*
- * @see TextEdit#postProcessCopy
- */
@Override
protected void postProcessCopy(TextEditCopier copier) {
if (fTarget != null) {
@@ -169,9 +163,6 @@ public final class MoveSourceEdit extends TextEdit {
//---- Visitor -------------------------------------------------------------
- /*
- * @see TextEdit#accept0
- */
@Override
protected void accept0(TextEditVisitor visitor) {
boolean visitChildren= visitor.visit(this);
@@ -276,9 +267,6 @@ public final class MoveSourceEdit extends TextEdit {
//---- region updating --------------------------------------------------------------
- /*
- * @see TextEdit#deleteChildren
- */
@Override
boolean deleteChildren() {
return false;
diff --git a/org.eclipse.text/src/org/eclipse/text/edits/MoveTargetEdit.java b/org.eclipse.text/src/org/eclipse/text/edits/MoveTargetEdit.java
index 7527f3531..cebef0ec4 100644
--- a/org.eclipse.text/src/org/eclipse/text/edits/MoveTargetEdit.java
+++ b/org.eclipse.text/src/org/eclipse/text/edits/MoveTargetEdit.java
@@ -95,17 +95,11 @@ public final class MoveTargetEdit extends TextEdit {
}
}
- /*
- * @see TextEdit#doCopy
- */
@Override
protected TextEdit doCopy() {
return new MoveTargetEdit(this);
}
- /*
- * @see TextEdit#postProcessCopy
- */
@Override
protected void postProcessCopy(TextEditCopier copier) {
if (fSource != null) {
@@ -116,9 +110,6 @@ public final class MoveTargetEdit extends TextEdit {
}
}
- /*
- * @see TextEdit#accept0
- */
@Override
protected void accept0(TextEditVisitor visitor) {
boolean visitChildren= visitor.visit(this);
@@ -129,17 +120,11 @@ public final class MoveTargetEdit extends TextEdit {
//---- consistency check ----------------------------------------------------------
- /*
- * @see TextEdit#traverseConsistencyCheck
- */
@Override
int traverseConsistencyCheck(TextEditProcessor processor, IDocument document, List<List<TextEdit>> sourceEdits) {
return super.traverseConsistencyCheck(processor, document, sourceEdits) + 1;
}
- /*
- * @see TextEdit#performConsistencyCheck
- */
@Override
void performConsistencyCheck(TextEditProcessor processor, IDocument document) throws MalformedTreeException {
if (fSource == null)
@@ -176,9 +161,6 @@ public final class MoveTargetEdit extends TextEdit {
//---- region updating --------------------------------------------------------------
- /*
- * @see org.eclipse.text.edits.TextEdit#traversePassThree
- */
@Override
int traverseRegionUpdating(TextEditProcessor processor, IDocument document, int accumulatedDelta, boolean delete) {
// the children got already updated / normalized while they got removed
diff --git a/org.eclipse.text/src/org/eclipse/text/edits/MultiTextEdit.java b/org.eclipse.text/src/org/eclipse/text/edits/MultiTextEdit.java
index 91329a1b1..3af48ce8c 100644
--- a/org.eclipse.text/src/org/eclipse/text/edits/MultiTextEdit.java
+++ b/org.eclipse.text/src/org/eclipse/text/edits/MultiTextEdit.java
@@ -132,18 +132,12 @@ public class MultiTextEdit extends TextEdit {
return true;
}
- /*
- * @see TextEdit#copy
- */
@Override
protected TextEdit doCopy() {
Assert.isTrue(MultiTextEdit.class == getClass(), "Subclasses must reimplement copy0"); //$NON-NLS-1$
return new MultiTextEdit(this);
}
- /*
- * @see TextEdit#accept0
- */
@Override
protected void accept0(TextEditVisitor visitor) {
boolean visitChildren= visitor.visit(this);
@@ -164,26 +158,17 @@ public class MultiTextEdit extends TextEdit {
super.adjustLength(delta);
}
- /*
- * @see TextEdit#performConsistencyCheck
- */
@Override
void performConsistencyCheck(TextEditProcessor processor, IDocument document) throws MalformedTreeException {
checkIntegrity();
}
- /*
- * @see TextEdit#performDocumentUpdating
- */
@Override
int performDocumentUpdating(IDocument document) throws BadLocationException {
fDelta= 0;
return fDelta;
}
- /*
- * @see TextEdit#deleteChildren
- */
@Override
boolean deleteChildren() {
return false;
diff --git a/org.eclipse.text/src/org/eclipse/text/edits/RangeMarker.java b/org.eclipse.text/src/org/eclipse/text/edits/RangeMarker.java
index 673ed4972..7872a45f9 100644
--- a/org.eclipse.text/src/org/eclipse/text/edits/RangeMarker.java
+++ b/org.eclipse.text/src/org/eclipse/text/edits/RangeMarker.java
@@ -38,17 +38,11 @@ public final class RangeMarker extends TextEdit {
super(other);
}
- /*
- * @see TextEdit#copy
- */
@Override
protected TextEdit doCopy() {
return new RangeMarker(this);
}
- /*
- * @see TextEdit#accept0
- */
@Override
protected void accept0(TextEditVisitor visitor) {
boolean visitChildren= visitor.visit(this);
@@ -57,18 +51,12 @@ public final class RangeMarker extends TextEdit {
}
}
- /*
- * @see TextEdit#performDocumentUpdating
- */
@Override
int performDocumentUpdating(IDocument document) throws BadLocationException {
fDelta= 0;
return fDelta;
}
- /*
- * @see TextEdit#deleteChildren
- */
@Override
boolean deleteChildren() {
return false;
diff --git a/org.eclipse.text/src/org/eclipse/text/edits/ReplaceEdit.java b/org.eclipse.text/src/org/eclipse/text/edits/ReplaceEdit.java
index a21324ec6..bde8fd756 100644
--- a/org.eclipse.text/src/org/eclipse/text/edits/ReplaceEdit.java
+++ b/org.eclipse.text/src/org/eclipse/text/edits/ReplaceEdit.java
@@ -58,17 +58,11 @@ public final class ReplaceEdit extends TextEdit {
return fText;
}
- /*
- * @see TextEdit#doCopy
- */
@Override
protected TextEdit doCopy() {
return new ReplaceEdit(this);
}
- /*
- * @see TextEdit#accept0
- */
@Override
protected void accept0(TextEditVisitor visitor) {
boolean visitChildren= visitor.visit(this);
@@ -77,9 +71,6 @@ public final class ReplaceEdit extends TextEdit {
}
}
- /*
- * @see TextEdit#performDocumentUpdating
- */
@Override
int performDocumentUpdating(IDocument document) throws BadLocationException {
document.replace(getOffset(), getLength(), fText);
@@ -87,9 +78,6 @@ public final class ReplaceEdit extends TextEdit {
return fDelta;
}
- /*
- * @see TextEdit#deleteChildren
- */
@Override
boolean deleteChildren() {
return true;
diff --git a/org.eclipse.text/src/org/eclipse/text/edits/UndoEdit.java b/org.eclipse.text/src/org/eclipse/text/edits/UndoEdit.java
index 663a9c4c3..73c5680da 100644
--- a/org.eclipse.text/src/org/eclipse/text/edits/UndoEdit.java
+++ b/org.eclipse.text/src/org/eclipse/text/edits/UndoEdit.java
@@ -64,9 +64,6 @@ public final class UndoEdit extends TextEdit {
return new UndoEdit(this);
}
- /*
- * @see TextEdit#accept0
- */
@Override
protected void accept0(TextEditVisitor visitor) {
boolean visitChildren= visitor.visit(this);
@@ -75,9 +72,6 @@ public final class UndoEdit extends TextEdit {
}
}
- /*
- * @see TextEdit#performDocumentUpdating
- */
@Override
int performDocumentUpdating(IDocument document) throws BadLocationException {
fDelta= 0;

Back to the top