public NamedNode withName(final String name) { return new NamedNode(name, this); }
public final void add(final String name, final INode alternative) { _alternatives.add(new NamedNode(name, VerifyArgument.notNull(alternative, "alternative"))); }
public final void add(final String name, final INode alternative) { _alternatives.add(new NamedNode(name, VerifyArgument.notNull(alternative, "alternative"))); }
public final void add(final String name, final INode alternative) { _alternatives.add(new NamedNode(name, VerifyArgument.notNull(alternative, "alternative"))); }
new MemberReferenceExpression( Expression.MYSTERY_OFFSET, new NamedNode( "valuesField", new TypeReferenceExpression(
new AssignmentExpression( new IdentifierExpressionBackReference("savedException").toExpression(), new NamedNode("caughtException", new IdentifierExpression(Expression.MYSTERY_OFFSET, Pattern.ANY_STRING)).toExpression() new IdentifierExpressionBackReference("savedException").toExpression().invoke( "addSuppressed", new NamedNode("caughtOnClose", new IdentifierExpression(Expression.MYSTERY_OFFSET, Pattern.ANY_STRING)).toExpression()
new AssignmentExpression( new IdentifierExpressionBackReference("savedException").toExpression(), new NamedNode("caughtException", new IdentifierExpression(Expression.MYSTERY_OFFSET, Pattern.ANY_STRING)).toExpression() new IdentifierExpressionBackReference("savedException").toExpression().invoke( "addSuppressed", new NamedNode("caughtOnClose", new IdentifierExpression(Expression.MYSTERY_OFFSET, Pattern.ANY_STRING)).toExpression()
new AssignmentExpression( new IdentifierExpressionBackReference("savedException").toExpression(), new NamedNode("caughtException", new IdentifierExpression(Expression.MYSTERY_OFFSET, Pattern.ANY_STRING)).toExpression() new IdentifierExpressionBackReference("savedException").toExpression().invoke( "addSuppressed", new NamedNode("caughtOnClose", new IdentifierExpression(Expression.MYSTERY_OFFSET, Pattern.ANY_STRING)).toExpression()
tryCatch.getCatchClauses().add(new NamedNode("catch", catchClause).toCatchClause());