Fixed return type to make code parsable for ObjectiF

This commit is contained in:
Jan-Elric Neumann 2017-05-30 19:38:03 +02:00
parent 810164ac17
commit b395f6e137

View File

@ -131,7 +131,7 @@ public class StatementGenerator {
return new Block(statements, block.getStart());
}
private de.dhbwstuttgart.syntaxtree.statement.Statement convert(Java8Parser.BlockStatementContext statementContext) {
private Statement convert(Java8Parser.BlockStatementContext statementContext) {
List<de.dhbwstuttgart.syntaxtree.statement.Statement> ret = new ArrayList<>();
if(statementContext.localVariableDeclarationStatement() != null){
return convert(statementContext.localVariableDeclarationStatement());