public class JavaCodeParser extends Object
| Modifier and Type | Method and Description |
|---|---|
List<japa.parser.ast.body.FieldDeclaration> |
getFields()
This method get all the fields from the java compilation unit and return as a List
|
List<japa.parser.ast.ImportDeclaration> |
getImports()
This method get all the import statement from the java compilation unit and return as a List
|
List<japa.parser.ast.body.MethodDeclaration> |
getMethods()
This method get all the method details from the java compilation unit and return as a List
|
public List<japa.parser.ast.ImportDeclaration> getImports() throws IOException, japa.parser.ParseException
ImportDeclarationIOExceptionjapa.parser.ParseExceptionpublic List<japa.parser.ast.body.FieldDeclaration> getFields() throws IOException, japa.parser.ParseException
FieldDeclarationIOExceptionjapa.parser.ParseExceptionpublic List<japa.parser.ast.body.MethodDeclaration> getMethods() throws IOException, japa.parser.ParseException
MethodDeclarationIOExceptionjapa.parser.ParseExceptionCopyright © 2016 PayPal Open Source. All rights reserved.