@Immutable public static final class ImmutableTrees.ValueDeclaration extends Object implements Trees.ValueDeclaration
| Modifier and Type | Class and Description |
|---|---|
static class |
ImmutableTrees.ValueDeclaration.Builder |
| Modifier and Type | Method and Description |
|---|---|
static ImmutableTrees.ValueDeclaration.Builder |
builder() |
com.google.common.base.Optional<Trees.TypeReference> |
containedType() |
static ImmutableTrees.ValueDeclaration |
copyOf(Trees.ValueDeclaration instance) |
boolean |
equals(Object another) |
int |
hashCode() |
Trees.Identifier |
name() |
String |
toString() |
com.google.common.base.Optional<Trees.TypeReference> |
type() |
ImmutableTrees.ValueDeclaration |
withContainedType(com.google.common.base.Optional<? extends Trees.TypeReference> optional) |
ImmutableTrees.ValueDeclaration |
withContainedType(Trees.TypeReference value) |
ImmutableTrees.ValueDeclaration |
withName(Trees.Identifier value) |
ImmutableTrees.ValueDeclaration |
withType(com.google.common.base.Optional<? extends Trees.TypeReference> optional) |
ImmutableTrees.ValueDeclaration |
withType(Trees.TypeReference value) |
public com.google.common.base.Optional<Trees.TypeReference> type()
public com.google.common.base.Optional<Trees.TypeReference> containedType()
public Trees.Identifier name()
public final ImmutableTrees.ValueDeclaration withType(Trees.TypeReference value)
public final ImmutableTrees.ValueDeclaration withType(com.google.common.base.Optional<? extends Trees.TypeReference> optional)
public final ImmutableTrees.ValueDeclaration withContainedType(Trees.TypeReference value)
public final ImmutableTrees.ValueDeclaration withContainedType(com.google.common.base.Optional<? extends Trees.TypeReference> optional)
public final ImmutableTrees.ValueDeclaration withName(Trees.Identifier value)
public int hashCode()
public String toString()
public static ImmutableTrees.ValueDeclaration copyOf(Trees.ValueDeclaration instance)
public static ImmutableTrees.ValueDeclaration.Builder builder()
Copyright © 2021 The Immutables.org authors. All rights reserved.