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
ImportDeclaration
IOException
japa.parser.ParseException
public List<japa.parser.ast.body.FieldDeclaration> getFields() throws IOException, japa.parser.ParseException
FieldDeclaration
IOException
japa.parser.ParseException
public List<japa.parser.ast.body.MethodDeclaration> getMethods() throws IOException, japa.parser.ParseException
MethodDeclaration
IOException
japa.parser.ParseException
Copyright © 2016 PayPal Open Source. All rights reserved.