All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.immutables.javaslang.encodings.JavaslangCharSeqEncodingEnabled Maven / Gradle / Ivy

package org.immutables.javaslang.encodings;

import org.immutables.encode.EncodingMetadata;

@EncodingMetadata(
  name = "org.immutables.javaslang.encodings.JavaslangCharSeqEncoding",
  imports = {
  },
  typeParams = {},
  elements = {
    @EncodingMetadata.Element(
      name = "field",
      tags = {"IMPL", "PRIVATE", "FINAL", "FIELD"},
      naming = "*",
      stdNaming = "NONE",
      type = "javaslang.collection.CharSeq",
      typeParams = {},
      params = {},
      code = "",
      thrown = {}
    ),
    @EncodingMetadata.Element(
      name = "javaslangCharSeqEncoding_from",
      tags = {"STATIC", "PRIVATE", "FROM", "SYNTH"},
      naming = "*_from",
      stdNaming = "NONE",
      type = "javaslang.collection.CharSeq",
      typeParams = {},
      params = {"value: javaslang.collection.CharSeq"},
      code = "{\nreturn @^value;\n}",
      thrown = {}
    ),
    @EncodingMetadata.Element(
      name = "toString",
      tags = {"PRIVATE", "TO_STRING", "SYNTH"},
      naming = "*_toString",
      stdNaming = "NONE",
      type = "java.lang.String",
      typeParams = {},
      params = {},
      code = "{\nreturn @:javaslangCharSeqEncoding_get().toString();\n}",
      thrown = {}
    ),
    @EncodingMetadata.Element(
      name = "hashCode",
      tags = {"PRIVATE", "HASH_CODE", "SYNTH"},
      naming = "*_hashCode",
      stdNaming = "NONE",
      type = "int",
      typeParams = {},
      params = {},
      code = "{\nreturn @:javaslangCharSeqEncoding_get().hashCode();\n}",
      thrown = {}
    ),
    @EncodingMetadata.Element(
      name = "equals",
      tags = {"PRIVATE", "EQUALS", "SYNTH"},
      naming = "*_equals",
      stdNaming = "NONE",
      type = "java.lang.String",
      typeParams = {},
      params = {"other: org.immutables.javaslang.encodings.JavaslangCharSeqEncoding"},
      code = "{\nreturn this.@:javaslangCharSeqEncoding_get().equals(@^other.@:javaslangCharSeqEncoding_get())\n;}",
      thrown = {}
    ),
    @EncodingMetadata.Element(
      name = "build",
      tags = {"BUILDER", "PRIVATE", "BUILD"},
      naming = "*_build",
      stdNaming = "NONE",
      type = "javaslang.collection.CharSeq",
      typeParams = {},
      params = {},
      code = "{\nreturn this.@@string;\n}",
      thrown = {}
    ),
    @EncodingMetadata.Element(
      name = "javaslangCharSeqEncoding_get",
      tags = {"EXPOSE", "SYNTH"},
      naming = "*",
      stdNaming = "NONE",
      type = "javaslang.collection.CharSeq",
      typeParams = {},
      params = {},
      code = "{\nreturn @@field;\n}",
      thrown = {}
    ),
    @EncodingMetadata.Element(
      name = "javaslangCharSeqEncoding_copy",
      tags = {"COPY", "SYNTH"},
      naming = "*",
      stdNaming = "NONE",
      type = "javaslang.collection.CharSeq",
      typeParams = {},
      params = {"value: javaslang.collection.CharSeq"},
      code = "{\nreturn @:javaslangCharSeqEncoding_from(@^value);\n}",
      thrown = {}
    ),
    @EncodingMetadata.Element(
      name = "string",
      tags = {"BUILDER", "PRIVATE", "FIELD"},
      naming = "*_string",
      stdNaming = "NONE",
      type = "javaslang.collection.CharSeq",
      typeParams = {},
      params = {},
      code = "javaslang.collection.CharSeq.empty()",
      thrown = {}
    ),
    @EncodingMetadata.Element(
      name = "add",
      tags = {"BUILDER", "INIT"},
      naming = "*",
      stdNaming = "ADD",
      type = "void",
      typeParams = {},
      params = {"element: java.lang.Character"},
      code = "{\nthis.@@string = this.@@string.append(@^element);\n}",
      thrown = {}
    ),
    @EncodingMetadata.Element(
      name = "addAll",
      tags = {"BUILDER", "INIT"},
      naming = "*",
      stdNaming = "ADD_ALL",
      type = "void",
      typeParams = {},
      params = {"elements: java.lang.Iterable"},
      code = "{\nthis.@@string = this.@@string.appendAll(@^elements);\n}",
      thrown = {}
    ),
    @EncodingMetadata.Element(
      name = "set",
      tags = {"BUILDER", "INIT", "COPY"},
      naming = "*",
      stdNaming = "NONE",
      type = "void",
      typeParams = {},
      params = {"elements: javaslang.collection.CharSeq"},
      code = "{\nthis.@@string = @^elements;\n}",
      thrown = {}
    ),
    @EncodingMetadata.Element(
      name = "setIterable",
      tags = {"BUILDER", "INIT"},
      naming = "setIterable*",
      stdNaming = "NONE",
      type = "void",
      typeParams = {},
      params = {"elements: java.lang.Iterable"},
      code = "{\nthis.@@string = javaslang.collection.CharSeq.ofAll(@^elements);\n}",
      thrown = {}
    )
  }
)
public @interface JavaslangCharSeqEncodingEnabled {}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy