Class ExtendedCodeFormatter
- java.lang.Object
-
- org.eclipse.jdt.core.formatter.CodeFormatter
-
- org.eclipse.jdt.internal.formatter.DefaultCodeFormatter
-
- org.eclipse.jdt.internal.formatter.ExtendedCodeFormatter
-
public class ExtendedCodeFormatter extends org.eclipse.jdt.internal.formatter.DefaultCodeFormatterExtended version ofDefaultCodeFormatterthat allows additionalpreparatorsto be used.- Author:
- Phillip Webb
-
-
Constructor Summary
Constructors Constructor Description ExtendedCodeFormatter()ExtendedCodeFormatter(Map<String,String> options)ExtendedCodeFormatter(org.eclipse.jdt.internal.formatter.DefaultCodeFormatterOptions options)ExtendedCodeFormatter(org.eclipse.jdt.internal.formatter.DefaultCodeFormatterOptions defaultCodeFormatterOptions, Map<String,String> options)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected voidaddPreparator(Preparator preparator)protected voidprepareWraps(int kind)protected voidtokenizeSource(int kind)
-
-
-
Constructor Detail
-
ExtendedCodeFormatter
public ExtendedCodeFormatter()
-
ExtendedCodeFormatter
public ExtendedCodeFormatter(org.eclipse.jdt.internal.formatter.DefaultCodeFormatterOptions defaultCodeFormatterOptions, Map<String,String> options)
-
ExtendedCodeFormatter
public ExtendedCodeFormatter(org.eclipse.jdt.internal.formatter.DefaultCodeFormatterOptions options)
-
-
Method Detail
-
addPreparator
protected void addPreparator(Preparator preparator)
-
tokenizeSource
protected void tokenizeSource(int kind)
- Overrides:
tokenizeSourcein classorg.eclipse.jdt.internal.formatter.DefaultCodeFormatter
-
prepareWraps
protected void prepareWraps(int kind)
- Overrides:
prepareWrapsin classorg.eclipse.jdt.internal.formatter.DefaultCodeFormatter
-
-