@Immutable public static final class ImmutableTrees.IfStatement extends Object implements Trees.IfStatement
| Modifier and Type | Class and Description |
|---|---|
static class |
ImmutableTrees.IfStatement.Builder |
| Modifier and Type | Method and Description |
|---|---|
static ImmutableTrees.IfStatement.Builder |
builder() |
static ImmutableTrees.IfStatement |
copyOf(Trees.IfStatement instance) |
boolean |
equals(Object another) |
int |
hashCode() |
com.google.common.base.Optional<Trees.Block> |
otherwise() |
com.google.common.collect.ImmutableList<Trees.ConditionalBlock> |
otherwiseIf() |
Trees.ConditionalBlock |
then() |
String |
toString() |
ImmutableTrees.IfStatement |
withOtherwise(com.google.common.base.Optional<? extends Trees.Block> optional) |
ImmutableTrees.IfStatement |
withOtherwise(Trees.Block value) |
ImmutableTrees.IfStatement |
withOtherwiseIf(Iterable<? extends Trees.ConditionalBlock> elements) |
ImmutableTrees.IfStatement |
withOtherwiseIf(Trees.ConditionalBlock... elements) |
ImmutableTrees.IfStatement |
withThen(Trees.ConditionalBlock value) |
public Trees.ConditionalBlock then()
public com.google.common.collect.ImmutableList<Trees.ConditionalBlock> otherwiseIf()
public com.google.common.base.Optional<Trees.Block> otherwise()
public final ImmutableTrees.IfStatement withThen(Trees.ConditionalBlock value)
public final ImmutableTrees.IfStatement withOtherwiseIf(Trees.ConditionalBlock... elements)
public final ImmutableTrees.IfStatement withOtherwiseIf(Iterable<? extends Trees.ConditionalBlock> elements)
public final ImmutableTrees.IfStatement withOtherwise(Trees.Block value)
public final ImmutableTrees.IfStatement withOtherwise(com.google.common.base.Optional<? extends Trees.Block> optional)
public int hashCode()
public String toString()
public static ImmutableTrees.IfStatement copyOf(Trees.IfStatement instance)
public static ImmutableTrees.IfStatement.Builder builder()
Copyright © 2021 The Immutables.org authors. All rights reserved.