public interface Preparator
ExtendedCodeFormatter to allow additional code
formatting before wrapping.| Modifier and Type | Interface and Description |
|---|---|
static class |
Preparator.Phase
The phase where the
Preparator should be applied. |
| Modifier and Type | Method and Description |
|---|---|
void |
apply(int kind,
org.eclipse.jdt.internal.formatter.TokenManager tokenManager,
org.eclipse.jdt.core.dom.ASTNode astRoot)
Apply the preparator.
|
default Preparator.Phase |
getPhase() |
default Preparator.Phase getPhase()
void apply(int kind,
org.eclipse.jdt.internal.formatter.TokenManager tokenManager,
org.eclipse.jdt.core.dom.ASTNode astRoot)
kind - the format kind (see
CodeFormatter.format(int, String, org.eclipse.jface.text.IRegion[], int, String)
for details)tokenManager - the token managerastRoot - the AST root nodeCopyright © 2020. All rights reserved.