forked from JavaTX/JavaCompilerCore
FormalParameter convert änderung
This commit is contained in:
parent
3299f329ea
commit
fb629b417f
@ -249,7 +249,7 @@ public class SyntaxTreeGenerator{
|
||||
|
||||
private ParameterList convert(Java8Parser.FormalParameterListContext formalParameterListContext) {
|
||||
List<FormalParameter> ret = new ArrayList<>();
|
||||
if(formalParameterListContext != null){
|
||||
if(formalParameterListContext != null && formalParameterListContext.formalParameters() != null && formalParameterListContext.formalParameters().formalParameter() != null){
|
||||
for(Java8Parser.FormalParameterContext fp : formalParameterListContext.formalParameters().formalParameter()){
|
||||
String paramName = convert(fp.variableDeclaratorId());
|
||||
RefTypeOrTPH type;
|
||||
|
Loading…
Reference in New Issue
Block a user