Class Token.WrapPolicy
java.lang.Object
org.aspectj.org.eclipse.jdt.internal.formatter.Token.WrapPolicy
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final Token.WrapPolicyPolicy used to mark tokens that should never be wrappedfinal intstatic final Token.WrapPolicyPolicy used to mark comments on first column that should not be indented.final intfinal booleanfinal booleanfinal floatfinal intstatic final Token.WrapPolicyPolicy used for internal structure of multiline comments to mark tokens that can be wrapped only in lines that have no other tokens to wrap.final Token.WrapModefinal int -
Constructor Summary
ConstructorsConstructorDescriptionWrapPolicy(Token.WrapMode wrapMode, int wrapParentIndex, int extraIndent) WrapPolicy(Token.WrapMode wrapMode, int wrapParentIndex, int groupEndIndex, int extraIndent, int structureDepth, float penaltyMultiplier, boolean isFirstInGroup, boolean indentOnColumn) -
Method Summary
-
Field Details
-
DISABLE_WRAP
Policy used to mark tokens that should never be wrapped -
SUBSTITUTE_ONLY
Policy used for internal structure of multiline comments to mark tokens that can be wrapped only in lines that have no other tokens to wrap. -
FORCE_FIRST_COLUMN
Policy used to mark comments on first column that should not be indented. -
wrapMode
-
wrapParentIndex
public final int wrapParentIndex -
groupEndIndex
public final int groupEndIndex -
extraIndent
public final int extraIndent -
structureDepth
public final int structureDepth -
penaltyMultiplier
public final float penaltyMultiplier -
isFirstInGroup
public final boolean isFirstInGroup -
indentOnColumn
public final boolean indentOnColumn
-
-
Constructor Details
-
WrapPolicy
public WrapPolicy(Token.WrapMode wrapMode, int wrapParentIndex, int groupEndIndex, int extraIndent, int structureDepth, float penaltyMultiplier, boolean isFirstInGroup, boolean indentOnColumn) -
WrapPolicy
-