Example usage for Java org.eclipse.jdt.core ToolFactory fields, constructors, methods, implement or subclass
The text is from its open source code.
int | M_FORMAT_EXISTING This mode is used for formatting existing code when all formatter options should be used. |
CodeFormatter | createCodeFormatter(Map options) Create an instance of the built-in code formatter. |
CodeFormatter | createCodeFormatter(Map options, int mode) Creates an instance of a code formatter. |
IClassFileReader | createDefaultClassFileReader(IClassFile classfile, int decodingFlag) Create a classfile reader onto a classfile Java element. |
IClassFileReader | createDefaultClassFileReader(InputStream stream, int decodingFlag) Create a default classfile reader, able to expose the internal representation of a given classfile according to the decoding flag used to initialize the reader. |
IClassFileReader | createDefaultClassFileReader(String fileName, int decodingFlag) Create a default classfile reader, able to expose the internal representation of a given classfile according to the decoding flag used to initialize the reader. |
IClassFileReader | createDefaultClassFileReader(String zipFileName, String zipEntryName, int decodingFlag) Create a default classfile reader, able to expose the internal representation of a given classfile according to the decoding flag used to initialize the reader. |
ICodeFormatter | createDefaultCodeFormatter(Map options) Create an instance of the default code formatter. |
IScanner | createScanner(boolean tokenizeComments, boolean tokenizeWhiteSpace, boolean assertMode, boolean recordLineSeparator) Create a scanner, indicating the level of detail requested for tokenizing. |
IScanner | createScanner(boolean tokenizeComments, boolean tokenizeWhiteSpace, boolean recordLineSeparator, String sourceLevel) Create a scanner, indicating the level of detail requested for tokenizing. |
IScanner | createScanner(boolean tokenizeComments, boolean tokenizeWhiteSpace, boolean recordLineSeparator, String sourceLevel, String complianceLevel) Create a scanner, indicating the level of detail requested for tokenizing. |