org.thirdteeth.immutables.pcollections.encodings.PCollectionsPSetEncodingEnabled Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of pcollections-encodings Show documentation
Show all versions of pcollections-encodings Show documentation
Immutables.org encodings for pcollections (Encodings)
package org.thirdteeth.immutables.pcollections.encodings;
import org.immutables.encode.EncodingMetadata;
@EncodingMetadata(
name = "org.thirdteeth.immutables.pcollections.encodings.PCollectionsPSetEncoding",
imports = {
},
typeParams = {"T"},
elements = {
@EncodingMetadata.Element(
name = "field",
tags = {"IMPL", "PRIVATE", "FINAL", "FIELD"},
naming = "*",
stdNaming = "NONE",
type = "org.pcollections.PSet",
typeParams = {},
params = {},
doc = {},
annotations = {},
code = "org.pcollections.HashTreePSet.empty()",
thrown = {}
),
@EncodingMetadata.Element(
name = "pCollectionsPSetEncoding_from",
tags = {"STATIC", "PRIVATE", "FROM", "SYNTH"},
naming = "*_from",
stdNaming = "NONE",
type = "org.pcollections.PSet",
typeParams = {},
params = {"value: org.pcollections.PSet"},
doc = {},
annotations = {},
code = "{\nreturn @^value;\n}",
thrown = {}
),
@EncodingMetadata.Element(
name = "toString",
tags = {"PRIVATE", "TO_STRING", "SYNTH"},
naming = "*_toString",
stdNaming = "NONE",
type = "java.lang.String",
typeParams = {},
params = {},
doc = {},
annotations = {},
code = "{\nreturn @:pCollectionsPSetEncoding_get().toString();\n}",
thrown = {}
),
@EncodingMetadata.Element(
name = "hashCode",
tags = {"PRIVATE", "HASH_CODE", "SYNTH"},
naming = "*_hashCode",
stdNaming = "NONE",
type = "int",
typeParams = {},
params = {},
doc = {},
annotations = {},
code = "{\nreturn @:pCollectionsPSetEncoding_get().hashCode();\n}",
thrown = {}
),
@EncodingMetadata.Element(
name = "equals",
tags = {"PRIVATE", "EQUALS", "SYNTH"},
naming = "*_equals",
stdNaming = "NONE",
type = "java.lang.String",
typeParams = {},
params = {"other: org.thirdteeth.immutables.pcollections.encodings.PCollectionsPSetEncoding"},
doc = {},
annotations = {},
code = "{\nreturn this.@:pCollectionsPSetEncoding_get().equals(@^other.@:pCollectionsPSetEncoding_get())\n;}",
thrown = {}
),
@EncodingMetadata.Element(
name = "build",
tags = {"BUILDER", "PRIVATE", "BUILD"},
naming = "*_build",
stdNaming = "NONE",
type = "org.pcollections.PSet",
typeParams = {},
params = {},
doc = {},
annotations = {},
code = "{\nreturn this.@@set;\n}",
thrown = {}
),
@EncodingMetadata.Element(
name = "pCollectionsPSetEncoding_get",
tags = {"EXPOSE", "SYNTH"},
naming = "*",
stdNaming = "NONE",
type = "org.pcollections.PSet",
typeParams = {},
params = {},
doc = {},
annotations = {},
code = "{\nreturn @@field;\n}",
thrown = {}
),
@EncodingMetadata.Element(
name = "pCollectionsPSetEncoding_copy",
tags = {"COPY", "SYNTH"},
naming = "*",
stdNaming = "NONE",
type = "org.pcollections.PSet",
typeParams = {},
params = {"value: org.pcollections.PSet"},
doc = {},
annotations = {},
code = "{\nreturn @^value;\n}",
thrown = {}
),
@EncodingMetadata.Element(
name = "set",
tags = {"BUILDER", "PRIVATE", "FIELD"},
naming = "*_set",
stdNaming = "NONE",
type = "org.pcollections.PSet",
typeParams = {},
params = {},
doc = {},
annotations = {},
code = "org.pcollections.HashTreePSet.empty()",
thrown = {}
),
@EncodingMetadata.Element(
name = "add",
tags = {"BUILDER", "INIT"},
naming = "*",
stdNaming = "ADD",
type = "void",
typeParams = {},
params = {"element: T"},
doc = {},
annotations = {},
code = "{\nthis.@@set = this.@@set.plus(@^element);\n}",
thrown = {}
),
@EncodingMetadata.Element(
name = "addVarArgs",
tags = {"BUILDER", "FINAL", "INIT"},
naming = "*",
stdNaming = "ADD",
type = "void",
typeParams = {},
params = {"elements: T..."},
doc = {},
annotations = {"@java.lang.SafeVarargs"},
code = "{\nthis.@@set = this.@@set.plusAll(java.util.Arrays.asList(@^elements));\n}",
thrown = {}
),
@EncodingMetadata.Element(
name = "addAll",
tags = {"BUILDER", "INIT"},
naming = "*",
stdNaming = "ADD_ALL",
type = "void",
typeParams = {},
params = {"element: java.util.Collection"},
doc = {},
annotations = {},
code = "{\nthis.@@set = this.@@set.plusAll(@^element);\n}",
thrown = {}
),
@EncodingMetadata.Element(
name = "setJavaSet",
tags = {"BUILDER", "INIT"},
naming = "setJavaSet*",
stdNaming = "NONE",
type = "void",
typeParams = {},
params = {"in_set: java.util.Set"},
doc = {},
annotations = {},
code = "{\nthis.@@set = org.pcollections.HashTreePSet.from(@^in_set);\n}",
thrown = {}
),
@EncodingMetadata.Element(
name = "set",
tags = {"BUILDER", "INIT", "COPY"},
naming = "*",
stdNaming = "NONE",
type = "void",
typeParams = {},
params = {"elements: org.pcollections.PSet"},
doc = {},
annotations = {},
code = "{\nthis.@@set = @^elements;\n}",
thrown = {}
)
}
)
public @interface PCollectionsPSetEncodingEnabled {}