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

org.thirdteeth.immutables.pcollections.encodings.PCollectionsPMapEncodingsEnabled Maven / Gradle / Ivy

There is a newer version: 0.1.4
Show newest version
package org.thirdteeth.immutables.pcollections.encodings;

import org.immutables.encode.EncodingMetadata;

@EncodingMetadata(
  name = "org.thirdteeth.immutables.pcollections.encodings.PCollectionsPMapEncodings",
  imports = {
  },
  typeParams = {"K", "V"},
  elements = {
    @EncodingMetadata.Element(
      name = "field",
      tags = {"IMPL", "PRIVATE", "FINAL", "FIELD"},
      naming = "*",
      stdNaming = "NONE",
      type = "org.pcollections.PMap",
      typeParams = {},
      params = {},
      doc = {},
      annotations = {},
      code = "org.pcollections.HashTreePMap.empty()",
      thrown = {}
    ),
    @EncodingMetadata.Element(
      name = "pCollectionsPMapEncodings_from",
      tags = {"STATIC", "PRIVATE", "FROM", "SYNTH"},
      naming = "*_from",
      stdNaming = "NONE",
      type = "org.pcollections.PMap",
      typeParams = {},
      params = {"value: org.pcollections.PMap"},
      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 @:pCollectionsPMapEncodings_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 @:pCollectionsPMapEncodings_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.PCollectionsPMapEncodings"},
      doc = {},
      annotations = {},
      code = "{\nreturn this.@:pCollectionsPMapEncodings_get().equals(@^other.@:pCollectionsPMapEncodings_get())\n;}",
      thrown = {}
    ),
    @EncodingMetadata.Element(
      name = "build",
      tags = {"BUILDER", "PRIVATE", "BUILD"},
      naming = "*_build",
      stdNaming = "NONE",
      type = "org.pcollections.PMap",
      typeParams = {},
      params = {},
      doc = {},
      annotations = {},
      code = "{\nreturn this.@@pmap;\n}",
      thrown = {}
    ),
    @EncodingMetadata.Element(
      name = "pCollectionsPMapEncodings_get",
      tags = {"EXPOSE", "SYNTH"},
      naming = "*",
      stdNaming = "NONE",
      type = "org.pcollections.PMap",
      typeParams = {},
      params = {},
      doc = {},
      annotations = {},
      code = "{\nreturn @@field;\n}",
      thrown = {}
    ),
    @EncodingMetadata.Element(
      name = "pCollectionsPMapEncodings_copy",
      tags = {"COPY", "SYNTH"},
      naming = "*",
      stdNaming = "NONE",
      type = "org.pcollections.PMap",
      typeParams = {},
      params = {"value: org.pcollections.PMap"},
      doc = {},
      annotations = {},
      code = "{\nreturn @^value;\n}",
      thrown = {}
    ),
    @EncodingMetadata.Element(
      name = "pmap",
      tags = {"BUILDER", "PRIVATE", "FIELD"},
      naming = "*_pmap",
      stdNaming = "NONE",
      type = "org.pcollections.PMap",
      typeParams = {},
      params = {},
      doc = {},
      annotations = {},
      code = "org.pcollections.HashTreePMap.empty()",
      thrown = {}
    ),
    @EncodingMetadata.Element(
      name = "put",
      tags = {"BUILDER", "INIT"},
      naming = "*",
      stdNaming = "PUT",
      type = "void",
      typeParams = {},
      params = {"key: K", "value: V"},
      doc = {},
      annotations = {},
      code = "{\nthis.@@pmap = this.@@pmap.plus(@^key, @^value);\n}",
      thrown = {}
    ),
    @EncodingMetadata.Element(
      name = "set",
      tags = {"BUILDER", "INIT", "COPY"},
      naming = "*",
      stdNaming = "NONE",
      type = "void",
      typeParams = {},
      params = {"elements: org.pcollections.PMap"},
      doc = {},
      annotations = {},
      code = "{\nthis.@@pmap = @^elements;\n}",
      thrown = {}
    ),
    @EncodingMetadata.Element(
      name = "setJavaMap",
      tags = {"BUILDER", "INIT"},
      naming = "setJavaMap*",
      stdNaming = "NONE",
      type = "void",
      typeParams = {},
      params = {"in_map: java.util.Map"},
      doc = {},
      annotations = {},
      code = "{\nthis.@@pmap = org.pcollections.HashTreePMap.from(@^in_map);\n}",
      thrown = {}
    ),
    @EncodingMetadata.Element(
      name = "putAll",
      tags = {"BUILDER", "INIT"},
      naming = "*",
      stdNaming = "PUT_ALL",
      type = "void",
      typeParams = {},
      params = {"map: java.util.Map"},
      doc = {},
      annotations = {},
      code = "{\nthis.@@pmap = this.@@pmap.plusAll(@^map);\n}",
      thrown = {}
    )
  }
)
public @interface PCollectionsPMapEncodingsEnabled {}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy