}
if (context.getChildCount() > 0
&& context.getChild(0) instanceof TerminalNode
&& ((TerminalNode) context.getChild(0)).getSymbol().getType() == JavaParser.LPAREN) {
TypeCast typeCast = createNode(context, TypeCast.class);
TypeContext typeContext = getChild(context, TypeContext.class);
if (typeContext != null) {
typeCast.setType(getAdapter(TypeAdapter.class).adapt(typeContext));
}
ExpressionContext expressionContext = getChild(context, ExpressionContext.class);
if (expressionContext != null) {
typeCast.setExpression(getAdapter(ExpressionAdapter.class).adapt(expressionContext));
}
return typeCast;
}