public final class TreeParsers
extends java.lang.Object
Modifier and Type | Method and Description |
---|---|
static org.eclipse.jdt.core.dom.ASTParser |
newParser() |
static org.eclipse.jdt.core.dom.ASTParser |
newParser(TreeApiLevel level) |
static org.eclipse.jdt.core.dom.ASTNode |
parse(org.eclipse.jdt.core.ICompilationUnit source) |
static org.eclipse.jdt.core.dom.ASTNode |
parse(org.eclipse.jdt.core.ICompilationUnit source,
TreeApiLevel level,
boolean resolveBindings) |
static org.eclipse.jdt.core.dom.ASTNode |
parse(java.nio.file.Path path) |
static org.eclipse.jdt.core.dom.ASTNode |
parse(java.nio.file.Path path,
java.nio.charset.Charset charset) |
static org.eclipse.jdt.core.dom.ASTNode |
parse(java.nio.file.Path path,
java.nio.charset.Charset charset,
TreeApiLevel level) |
static org.eclipse.jdt.core.dom.ASTNode |
parse(java.lang.String source) |
static org.eclipse.jdt.core.dom.ASTNode |
parse(java.lang.String source,
TreeApiLevel level) |
static java.lang.String |
read(java.nio.file.Path path) |
static java.lang.String |
read(java.nio.file.Path path,
java.nio.charset.Charset charset) |
public static org.eclipse.jdt.core.dom.ASTParser newParser()
public static org.eclipse.jdt.core.dom.ASTParser newParser(TreeApiLevel level)
public static java.lang.String read(java.nio.file.Path path) throws java.io.IOException
java.io.IOException
public static java.lang.String read(java.nio.file.Path path, java.nio.charset.Charset charset) throws java.io.IOException
java.io.IOException
public static org.eclipse.jdt.core.dom.ASTNode parse(java.nio.file.Path path) throws java.io.IOException
java.io.IOException
public static org.eclipse.jdt.core.dom.ASTNode parse(java.nio.file.Path path, java.nio.charset.Charset charset) throws java.io.IOException
java.io.IOException
public static org.eclipse.jdt.core.dom.ASTNode parse(java.nio.file.Path path, java.nio.charset.Charset charset, TreeApiLevel level) throws java.io.IOException
java.io.IOException
public static org.eclipse.jdt.core.dom.ASTNode parse(java.lang.String source)
public static org.eclipse.jdt.core.dom.ASTNode parse(java.lang.String source, TreeApiLevel level)
public static org.eclipse.jdt.core.dom.ASTNode parse(org.eclipse.jdt.core.ICompilationUnit source)
public static org.eclipse.jdt.core.dom.ASTNode parse(org.eclipse.jdt.core.ICompilationUnit source, TreeApiLevel level, boolean resolveBindings)