public class CompilationUnitParser extends Object
Constructor and Description |
---|
CompilationUnitParser() |
Modifier and Type | Method and Description |
---|---|
static org.eclipse.jdt.core.dom.ASTNode |
runJLS3Conversion(char[] source,
boolean resolveBindings)
Parses and process the java source code as a compilation unit and the result it abstract syntax tree (AST) representation
and this action uses the third edition of java Language Specification, that gets the possibility to support J2SE 5 during
the parsing.
|
public static org.eclipse.jdt.core.dom.ASTNode runJLS3Conversion(char[] source, boolean resolveBindings)
source
- - the java source to be parsed (i.e. the char[] contains Java source).resolveBindings
- - for resolving bindings to get more informations from the unit.Copyright © 2008–2016 JBoss, a division of Red Hat. All rights reserved.