Interface Preparator
-
public interface PreparatorStrategy interface used byExtendedCodeFormatterto allow additional code formatting before wrapping.- Author:
- Phillip Webb
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static classPreparator.PhaseThe phase where thePreparatorshould be applied.
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description voidapply(int kind, org.eclipse.jdt.internal.formatter.TokenManager tokenManager, org.eclipse.jdt.core.dom.ASTNode astRoot)Apply the preparator.default Preparator.PhasegetPhase()
-
-
-
Method Detail
-
getPhase
default Preparator.Phase getPhase()
-
apply
void apply(int kind, org.eclipse.jdt.internal.formatter.TokenManager tokenManager, org.eclipse.jdt.core.dom.ASTNode astRoot)Apply the preparator.- Parameters:
kind- the format kind (seeCodeFormatter.format(int, String, org.eclipse.jface.text.IRegion[], int, String)for details)tokenManager- the token managerastRoot- the AST root node
-
-