return infixExpression;
}
}
if (hasTerminalNode(context, JavaParser.INSTANCEOF)) {
InstanceOf instanceOf = createNode(context, InstanceOf.class);
ExpressionContext expressionContext = getChild(context, ExpressionContext.class);
if (expressionContext != null) {
instanceOf.setExpression(getAdapter(ExpressionAdapter.class).adapt(expressionContext));
}
TypeContext typeContext = getChild(context, TypeContext.class);
if (typeContext != null) {
instanceOf.setType(getAdapter(TypeAdapter.class).adapt(typeContext));
}
return instanceOf;
}