Methods
Modifier and Type |
Method and Description |
protected void |
_format(JvmFormalParameter expr,
FormattableDocument format) |
protected void |
_format(JvmGenericArrayTypeReference array,
FormattableDocument document) |
protected void |
_format(JvmParameterizedTypeReference ref,
FormattableDocument document) |
protected void |
_format(JvmTypeConstraint constraint,
FormattableDocument document) |
protected void |
_format(JvmTypeParameter ref,
FormattableDocument document) |
protected void |
_format(JvmWildcardTypeReference ref,
FormattableDocument document) |
protected void |
_format(XAnnotation ann,
FormattableDocument document) |
protected void |
_format(XAssignment expr,
FormattableDocument format) |
protected void |
_format(XBinaryOperation expr,
FormattableDocument format) |
protected void |
_format(XBlockExpression expr,
FormattableDocument format) |
protected void |
_format(XCatchClause expr,
FormattableDocument format) |
protected void |
_format(XClosure expr,
FormattableDocument format) |
protected void |
_format(XCollectionLiteral literal,
FormattableDocument document) |
protected void |
_format(XConstructorCall expr,
FormattableDocument format) |
protected void |
_format(XDoWhileExpression expr,
FormattableDocument format) |
protected void |
_format(XExpression expr,
FormattableDocument format) |
protected void |
_format(XFeatureCall expr,
FormattableDocument format) |
protected void |
_format(XForLoopExpression expr,
FormattableDocument format) |
protected void |
_format(XFunctionTypeRef func,
FormattableDocument document) |
protected void |
_format(XIfExpression expr,
FormattableDocument format) |
protected void |
_format(XMemberFeatureCall expr,
FormattableDocument format) |
protected void |
_format(XReturnExpression expr,
FormattableDocument format) |
protected void |
_format(XSwitchExpression expr,
FormattableDocument format) |
protected void |
_format(XThrowExpression expr,
FormattableDocument format) |
protected void |
_format(XTryCatchFinallyExpression expr,
FormattableDocument format) |
protected void |
_format(XTypeLiteral expr,
FormattableDocument format) |
protected void |
_format(XVariableDeclaration expr,
FormattableDocument format) |
protected void |
_format(XWhileExpression expr,
FormattableDocument format) |
protected boolean |
_isMultiParamInOwnLine(XConstructorCall fc,
FormattableDocument doc) |
protected boolean |
_isMultiParamInOwnLine(XFeatureCall fc,
FormattableDocument doc) |
protected boolean |
_isMultiParamInOwnLine(XMemberFeatureCall fc,
FormattableDocument doc) |
protected AbstractRule |
binaryOperationPrecedence(org.eclipse.emf.ecore.EObject op) |
protected XClosure |
builder(java.util.List<XExpression> params) |
protected java.lang.Iterable<XExpression> |
explicitParams(java.util.List<XExpression> params) |
protected boolean |
fitsIntoLine(FormattableDocument fmt,
org.eclipse.emf.ecore.EObject expression) |
protected void |
format(org.eclipse.emf.ecore.EObject ref,
FormattableDocument document) |
protected void |
formatClosureMultiLine(XClosure expr,
INode open,
java.util.Collection<XExpression> children,
INode close,
FormattableDocument format) |
protected void |
formatClosureParameters(XClosure expr,
FormattableDocument format) |
protected void |
formatClosureWrapIfNeeded(XClosure expr,
INode open,
java.util.Collection<XExpression> children,
INode close,
FormattableDocument format) |
protected void |
formatCommaSeparatedList(java.util.Collection<? extends org.eclipse.emf.ecore.EObject> elements,
INode open,
INode close,
FormattableDocument format) |
protected void |
formatFeatureCallParamsMultiline(INode open,
java.util.List<XExpression> params,
FormattableDocument format) |
protected void |
formatFeatureCallParamsWrapIfNeeded(INode open,
java.util.List<XExpression> params,
FormattableDocument format) |
protected void |
formatFeatureCallTypeParameters(XAbstractFeatureCall expr,
FormattableDocument format) |
protected void |
formatStaticQualifier(INode node,
FormattableDocument document) |
protected boolean |
isEachExpressionInOwnLine(java.lang.Iterable<? extends XExpression> expressions) |
protected boolean |
isMultiline(XExpression expression,
FormattableDocument doc) |
protected boolean |
isMultilineLambda(XClosure closure)
checks whether the given lambda should be formatted as a block.
|
protected boolean |
isMultiParamInOwnLine(XExpression fc,
FormattableDocument doc) |
protected java.lang.String |
lookahead(FormattableDocument fmt,
org.eclipse.emf.ecore.EObject expression) |