Package | Description |
---|---|
com.github.antlrjavaparser |
Modifier and Type | Method and Description |
---|---|
static CompilationUnit |
JavaParser.parse(java.io.File file)
Parses the Java code contained in a
File and returns
a CompilationUnit that represents it. |
static CompilationUnit |
JavaParser.parse(java.io.InputStream in)
Parses the Java code contained in the
InputStream and returns
a CompilationUnit that represents it. |
static CompilationUnit |
JavaParser.parse(java.io.InputStream in,
ParserConfigurator parserConfigurator)
Parses the Java code contained in the
InputStream and returns
a CompilationUnit that represents it. |
static CompilationUnit |
JavaParser.parse(java.lang.String javaSource)
Parses a UTF-8 encoded string as java source.
|
Copyright © 2015. All Rights Reserved.