@ParametersAreNonnullByDefault @Generated(value={"Immutables.generator","ICodeGeneratorOptions"}) @Immutable public final class CodeGeneratorOptions extends Object implements ICodeGeneratorOptions
| Modifier and Type | Class and Description |
|---|---|
static class |
CodeGeneratorOptions.Builder
Builds instances of type
CodeGeneratorOptions. |
| Modifier and Type | Method and Description |
|---|---|
static CodeGeneratorOptions.Builder |
builder()
Creates a builder for
CodeGeneratorOptions. |
static CodeGeneratorOptions |
copyOf(ICodeGeneratorOptions instance)
Creates an immutable copy of a
ICodeGeneratorOptions value. |
boolean |
equals(Object another)
This instance is equal to all instances of
CodeGeneratorOptions that have equal attribute values. |
int |
hashCode()
Computes a hash code from attributes:
languages. |
com.google.common.collect.ImmutableList<String> |
languages() |
String |
toString()
Prints the immutable value
CodeGeneratorOptions with attribute values. |
CodeGeneratorOptions |
withLanguages(Iterable<String> elements)
Copy the current immutable object with elements that replace the content of
languages. |
CodeGeneratorOptions |
withLanguages(String... elements)
Copy the current immutable object with elements that replace the content of
languages. |
public com.google.common.collect.ImmutableList<String> languages()
languages in interface ICodeGeneratorOptionspublic final CodeGeneratorOptions withLanguages(String... elements)
languages.elements - The elements to setthis objectpublic final CodeGeneratorOptions withLanguages(Iterable<String> elements)
languages.
A shallow reference equality check is used to prevent copying of the same value by returning this.elements - An iterable of languages elements to setthis objectpublic boolean equals(@Nullable Object another)
CodeGeneratorOptions that have equal attribute values.public int hashCode()
languages.public String toString()
CodeGeneratorOptions with attribute values.public static CodeGeneratorOptions copyOf(ICodeGeneratorOptions instance)
ICodeGeneratorOptions value.
Uses accessors to get values to initialize the new immutable instance.
If an instance is already immutable, it is returned as is.instance - The instance to copypublic static CodeGeneratorOptions.Builder builder()
CodeGeneratorOptions.Copyright © 2017 Cosium. All rights reserved.