diff --git a/platform/lang-api/src/com/intellij/formatting/Alignment.java b/platform/lang-api/src/com/intellij/formatting/Alignment.java
index 68eb0d6ee900..48ad2b4f32ed 100644
--- a/platform/lang-api/src/com/intellij/formatting/Alignment.java
+++ b/platform/lang-api/src/com/intellij/formatting/Alignment.java
@@ -22,8 +22,8 @@ import org.jetbrains.annotations.NotNull;
* alignment object instance from the getAlignment method
* are aligned with each other.
*
- * @see com.intellij.formatting.Block#getAlignment()
- * @see com.intellij.formatting.ChildAttributes#getAlignment()
+ * @see Block#getAlignment()
+ * @see ChildAttributes#getAlignment()
*/
public abstract class Alignment {
@@ -36,23 +36,10 @@ public abstract class Alignment {
myFactory = factory;
}
- /**
- * Shorthand for calling {@link #createAlignment(boolean)} with 'false'.
- *
- * @return alignment object with default settings
- */
public static Alignment createAlignment() {
return createAlignment(false, Anchor.LEFT);
}
- /**
- * Delegates the processing to {@link #createAlignment(boolean, Anchor)} with given 'allow backward shift' value
- * and {@link Anchor#LEFT}.
- *
- * @param allowBackwardShift flag that specifies if former aligned block may be shifted to right in order to align to subsequent
- * aligned block
- * @return alignment object with the given 'allow backward shift' setting
- */
public static Alignment createAlignment(boolean allowBackwardShift) {
return createAlignment(allowBackwardShift, Anchor.LEFT);
}
diff --git a/platform/lang-impl/src/com/intellij/formatting/AbstractBlockAlignmentProcessor.java b/platform/lang-impl/src/com/intellij/formatting/AbstractBlockAlignmentProcessor.java
index f3571b6d7c03..c202510eabbe 100644
--- a/platform/lang-impl/src/com/intellij/formatting/AbstractBlockAlignmentProcessor.java
+++ b/platform/lang-impl/src/com/intellij/formatting/AbstractBlockAlignmentProcessor.java
@@ -20,12 +20,6 @@ import org.jetbrains.annotations.Nullable;
import java.util.Set;
-/**
- * Gof Template Method for {@link BlockAlignmentProcessor}.
- *
- * @author Denis Zhdanov
- * @since 4/29/11 11:52 AM
- */
public abstract class AbstractBlockAlignmentProcessor implements BlockAlignmentProcessor {
@Override
diff --git a/platform/lang-impl/src/com/intellij/formatting/AlignmentImpl.java b/platform/lang-impl/src/com/intellij/formatting/AlignmentImpl.java
index 3af772a999e2..35b60ee4db4a 100644
--- a/platform/lang-impl/src/com/intellij/formatting/AlignmentImpl.java
+++ b/platform/lang-impl/src/com/intellij/formatting/AlignmentImpl.java
@@ -33,20 +33,10 @@ public class AlignmentImpl extends Alignment {
private AlignmentImpl myParentAlignment;
private ProbablyIncreasingLowerboundAlgorithm myOffsetRespBlocksCalculator;
- /**
- * Creates new AlignmentImpl object with 'false' as 'allows backward shift' argument flag.
- */
AlignmentImpl() {
this(false, Anchor.LEFT);
}
- /**
- * Creates new AlignmentImpl object with the given 'allows backward shift' argument flag.
- *
- * @param allowBackwardShift flag that indicates if it should be possible to shift former aligned block to right
- * in order to align to subsequent aligned block (see {@link Alignment#createAlignment(boolean, Anchor)})
- * @param anchor alignment anchor (see {@link Alignment#createAlignment(boolean, Anchor)})
- */
AlignmentImpl(boolean allowBackwardShift, @NotNull Anchor anchor) {
myAllowBackwardShift = allowBackwardShift;
myAnchor = anchor;