diff --git a/scip-java-proto/src/main/protobuf/scip.proto b/scip-java-proto/src/main/protobuf/scip.proto index 6504ad740..df5bd7fdf 100644 --- a/scip-java-proto/src/main/protobuf/scip.proto +++ b/scip-java-proto/src/main/protobuf/scip.proto @@ -69,14 +69,38 @@ message ToolInfo { // Document defines the metadata about a source file on disk. message Document { - // (Required) Path to the text document relative to the directory supplied in - // the associated `Metadata.project_root`. Not URI-encoded. This value should - // not begin with a directory separator. + // The string ID for the programming language this file is written in. + // The `Language` enum contains the names of most common programming languages. + // This field is typed as a string to permit any programming language, including + // ones that are not specified by the `Language` enum. + string language = 4; + // (Required) Unique path to the text document. + // + // 1. The path must be relative to the directory supplied in the associated + // `Metadata.project_root`. + // 2. The path must not begin with a leading '/'. + // 3. The path must point to a regular file, not a symbolic link. + // 4. The path must use '/' as the separator, including on Windows. + // 5. The path must be canonical; it cannot include empty components ('//'), + // or '.' or '..'. string relative_path = 1; // Occurrences that appear in this file. repeated Occurrence occurrences = 2; - // Symbols that are defined within this document. + // Symbols that are "defined" within this document. + // + // This should include symbols which technically do not have any definition, + // but have a reference and are defined by some other symbol (see + // Relationship.is_definition). repeated SymbolInformation symbols = 3; + + // (optional) Text contents of the this document. Indexers are not expected to + // include the text by default. It's preferrable that clients read the text + // contents from the file system by resolving the absolute path from joining + // `Index.metadata.project_root` and `Document.relative_path`. This field was + // introduced to support `SymbolInformation.signature_documentation`, but it + // can be used for other purposes as well, for example testing or when working + // with virtual/in-memory documents. + string text = 5; } // Symbol is similar to a URI, it identifies a class, method, or a local @@ -145,12 +169,205 @@ message SymbolInformation { // The string must be formatted according to the grammar in `Symbol`. string symbol = 1; // (optional, but strongly recommended) The markdown-formatted documentation - // for this symbol. This field is repeated to allow different kinds of - // documentation. For example, it's nice to include both the signature of a - // method (parameters and return type) along with the accompanying docstring. + // for this symbol. Use `SymbolInformation.signature_documentation` to + // document the method/class/type signature of this symbol. + // Due to historical reasons, indexers may include signature documentation in + // this field by rendering markdown code blocks. New indexers should only + // include non-code documentation in this field, for example docstrings. repeated string documentation = 3; // (optional) Relationships to other symbols (e.g., implements, type definition). repeated Relationship relationships = 4; + // The kind of this symbol. Use this field instead of + // `SymbolDescriptor.Suffix` to determine whether something is, for example, a + // class or a method. + Kind kind = 5; + // (optional) Kind represents the fine-grained category of a symbol, suitable for presenting + // information about the symbol's meaning in the language. + // + // For example: + // - A Java method would have the kind `Method` while a Go function would + // have the kind `Function`, even if the symbols for these use the same + // syntax for the descriptor `SymbolDescriptor.Suffix.Method`. + // - A Go struct has the symbol kind `Struct` while a Java class has + // the symbol kind `Class` even if they both have the same descriptor: + // `SymbolDescriptor.Suffix.Type`. + // + // Since Kind is more fine-grained than Suffix: + // - If two symbols have the same Kind, they should share the same Suffix. + // - If two symbols have different Suffixes, they should have different Kinds. + enum Kind { + UnspecifiedKind = 0; + // A method which may or may not have a body. For Java, Kotlin etc. + AbstractMethod = 66; + // For Ruby's attr_accessor + Accessor = 72; + Array = 1; + // For Alloy + Assertion = 2; + AssociatedType = 3; + // For C++ + Attribute = 4; + // For Lean + Axiom = 5; + Boolean = 6; + Class = 7; + Constant = 8; + Constructor = 9; + // For Solidity + Contract = 62; + // For Haskell + DataFamily = 10; + // For C# and F# + Delegate = 73; + Enum = 11; + EnumMember = 12; + Error = 63; + Event = 13; + // For Alloy + Fact = 14; + Field = 15; + File = 16; + Function = 17; + // For 'get' in Swift, 'attr_reader' in Ruby + Getter = 18; + // For Raku + Grammar = 19; + // For Purescript and Lean + Instance = 20; + Interface = 21; + Key = 22; + // For Racket + Lang = 23; + // For Lean + Lemma = 24; + // For solidity + Library = 64; + Macro = 25; + Method = 26; + // For Ruby + MethodAlias = 74; + // Analogous to 'ThisParameter' and 'SelfParameter', but for languages + // like Go where the receiver doesn't have a conventional name. + MethodReceiver = 27; + // Analogous to 'AbstractMethod', for Go. + MethodSpecification = 67; + // For Protobuf + Message = 28; + // For Solidity + Modifier = 65; + Module = 29; + Namespace = 30; + Null = 31; + Number = 32; + Object = 33; + Operator = 34; + Package = 35; + PackageObject = 36; + Parameter = 37; + ParameterLabel = 38; + // For Haskell's PatternSynonyms + Pattern = 39; + // For Alloy + Predicate = 40; + Property = 41; + // Analogous to 'Trait' and 'TypeClass', for Swift and Objective-C + Protocol = 42; + // Analogous to 'AbstractMethod', for Swift and Objective-C. + ProtocolMethod = 68; + // Analogous to 'AbstractMethod', for C++. + PureVirtualMethod = 69; + // For Haskell + Quasiquoter = 43; + // 'self' in Python, Rust, Swift etc. + SelfParameter = 44; + // For 'set' in Swift, 'attr_writer' in Ruby + Setter = 45; + // For Alloy, analogous to 'Struct'. + Signature = 46; + // For Ruby + SingletonClass = 75; + // Analogous to 'StaticMethod', for Ruby. + SingletonMethod = 76; + // Analogous to 'StaticField', for C++ + StaticDataMember = 77; + // For C# + StaticEvent = 78; + // For C# + StaticField = 79; + // For Java, C#, C++ etc. + StaticMethod = 80; + // For C#, TypeScript etc. + StaticProperty = 81; + // For C, C++ + StaticVariable = 82; + String = 48; + Struct = 49; + // For Swift + Subscript = 47; + // For Lean + Tactic = 50; + // For Lean + Theorem = 51; + // Method receiver for languages + // 'this' in JavaScript, C++, Java etc. + ThisParameter = 52; + // Analogous to 'Protocol' and 'TypeClass', for Rust, Scala etc. + Trait = 53; + // Analogous to 'AbstractMethod', for Rust, Scala etc. + TraitMethod = 70; + // Data type definition for languages like OCaml which use `type` + // rather than separate keywords like `struct` and `enum`. + Type = 54; + TypeAlias = 55; + // Analogous to 'Trait' and 'Protocol', for Haskell, Purescript etc. + TypeClass = 56; + // Analogous to 'AbstractMethod', for Haskell, Purescript etc. + TypeClassMethod = 71; + // For Haskell + TypeFamily = 57; + TypeParameter = 58; + // For C, C++, Capn Proto + Union = 59; + Value = 60; + Variable = 61; + // Next = 83; + // Feel free to open a PR proposing new language-specific kinds. + } + // (optional) The name of this symbol as it should be displayed to the user. + // For example, the symbol "com/example/MyClass#myMethod(+1)." should have the + // display name "myMethod". The `symbol` field is not a reliable source of + // the display name for several reasons: + // + // - Local symbols don't encode the name. + // - Some languages have case-insensitive names, so the symbol is all-lowercase. + // - The symbol may encode names with special characters that should not be + // displayed to the user. + string display_name = 6; + // (optional) The signature of this symbol as it's displayed in API + // documentation or in hover tooltips. For example, a Java method that adds + // two numbers this would have `Document.language = "java"` and `Document.text + // = "void add(int a, int b)". The `language` and `text` fields are required + // while other fields such as `Documentation.occurrences` can be optionally + // included to support hyperlinking referenced symbols in the signature. + Document signature_documentation = 7; + // (optional) The enclosing symbol if this is a local symbol. For non-local + // symbols, the enclosing symbol should be parsed from the `symbol` field + // using the `Descriptor` grammar. + // + // The primary use-case for this field is to allow local symbol to be displayed + // in a symbol hierarchy for API documentation. It's OK to leave this field + // empty for local variables since local variables usually don't belong in API + // documentation. However, in the situation that you wish to include a local + // symbol in the hierarchy, then you can use `enclosing_symbol` to locate the + // "parent" or "owner" of this local symbol. For example, a Java indexer may + // choose to use local symbols for private class fields while providing an + // `enclosing_symbol` to reference the enclosing class to allow the field to + // be part of the class documentation hierarchy. From the perspective of an + // author of an indexer, the decision to use a local symbol or global symbol + // should exclusively be determined whether the local symbol is accessible + // outside the document, not by the capability to find the enclosing + // symbol. + string enclosing_symbol = 8; } message Relationship { @@ -382,3 +599,129 @@ enum DiagnosticTag { Unnecessary = 1; Deprecated = 2; } + +// Language standardises names of common programming languages that can be used +// for the `Document.language` field. The primary purpose of this enum is to +// prevent a situation where we have a single programming language ends up with +// multiple string representations. For example, the C++ language uses the name +// "CPP" in this enum and other names such as "cpp" are incompatible. +// Feel free to send a pull-request to add missing programming languages. +enum Language { + UnspecifiedLanguage = 0; + ABAP = 60; + Apex = 96; + APL = 49; + Ada = 39; + Agda = 45; + AsciiDoc = 86; + Assembly = 58; + Awk = 66; + Bat = 68; + BibTeX = 81; + C = 34; + COBOL = 59; + CPP = 35; // C++ (the name "CPP" was chosen for consistency with LSP) + CSS = 26; + CSharp = 1; + Clojure = 8; + Coffeescript = 21; + CommonLisp = 9; + Coq = 47; + CUDA = 97; + Dart = 3; + Delphi = 57; + Diff = 88; + Dockerfile = 80; + Dyalog = 50; + Elixir = 17; + Erlang = 18; + FSharp = 42; + Fish = 65; + Flow = 24; + Fortran = 56; + Git_Commit = 91; + Git_Config = 89; + Git_Rebase = 92; + Go = 33; + GraphQL = 98; + Groovy = 7; + HTML = 30; + Hack = 20; + Handlebars = 90; + Haskell = 44; + Idris = 46; + Ini = 72; + J = 51; + JSON = 75; + Java = 6; + JavaScript = 22; + JavaScriptReact = 93; + Jsonnet = 76; + Julia = 55; + Justfile = 109; + Kotlin = 4; + LaTeX = 83; + Lean = 48; + Less = 27; + Lua = 12; + Luau = 108; + Makefile = 79; + Markdown = 84; + Matlab = 52; + Nickel = 110; // https://nickel-lang.org/ + Nix = 77; + OCaml = 41; + Objective_C = 36; + Objective_CPP = 37; + Pascal = 99; + PHP = 19; + PLSQL = 70; + Perl = 13; + PowerShell = 67; + Prolog = 71; + Protobuf = 100; + Python = 15; + R = 54; + Racket = 11; + Raku = 14; + Razor = 62; + Repro = 102; // Internal language for testing SCIP + ReST = 85; + Ruby = 16; + Rust = 40; + SAS = 61; + SCSS = 29; + SML = 43; + SQL = 69; + Sass = 28; + Scala = 5; + Scheme = 10; + ShellScript = 64; // Bash + Skylark = 78; + Slang = 107; + Solidity = 95; + Svelte = 106; + Swift = 2; + Tcl = 101; + TOML = 73; + TeX = 82; + Thrift = 103; + TypeScript = 23; + TypeScriptReact = 94; + Verilog = 104; + VHDL = 105; + VisualBasic = 63; + Vue = 25; + Wolfram = 53; + XML = 31; + XSL = 32; + YAML = 74; + Zig = 38; + // NextLanguage = 111; + // Steps add a new language: + // 1. Copy-paste the "NextLanguage = N" line above + // 2. Increment "NextLanguage = N" to "NextLanguage = N+1" + // 3. Replace "NextLanguage = N" with the name of the new language. + // 4. Move the new language to the correct line above using alphabetical order + // 5. (optional) Add a brief comment behind the language if the name is not self-explanatory +} diff --git a/scip-java/src/main/scala/com/sourcegraph/scip_java/ScipPrinters.scala b/scip-java/src/main/scala/com/sourcegraph/scip_java/ScipPrinters.scala index eb73e1eff..af78536ab 100644 --- a/scip-java/src/main/scala/com/sourcegraph/scip_java/ScipPrinters.scala +++ b/scip-java/src/main/scala/com/sourcegraph/scip_java/ScipPrinters.scala @@ -170,6 +170,38 @@ object ScipPrinters { case Some(info) if isDefinition => val prefix = comment + (" " * indent.length) + (" " * carets.length) + " " + if (!info.getDisplayName.isEmpty) { + out + .append(prefix) + .append("display_name ") + .append(info.getDisplayName) + .append("\n") + } + if (info.hasSignatureDocumentation) { + out + .append(prefix) + .append("signature_documentation ") + .append(info.getSignatureDocumentation.getLanguage) + .append(" ") + .append( + info + .getSignatureDocumentation + .getText + .replace("\n", "\\n") + .replace("\t", "\\t") + ) + .append("\n") + } + if (!info.getEnclosingSymbol.isEmpty) { + out + .append(prefix) + .append("enclosing_symbol ") + .append(info.getEnclosingSymbol) + .append("\n") + } + if (info.getKind != Scip.SymbolInformation.Kind.UnspecifiedKind) { + out.append(prefix).append("kind ").append(info.getKind).append("\n") + } 0.until(info.getDocumentationCount) .foreach { n => val documentation = info.getDocumentation(n) diff --git a/scip-semanticdb/src/main/java/com/sourcegraph/scip_semanticdb/ScipSemanticdb.java b/scip-semanticdb/src/main/java/com/sourcegraph/scip_semanticdb/ScipSemanticdb.java index d566afeb2..3bd4c67b6 100644 --- a/scip-semanticdb/src/main/java/com/sourcegraph/scip_semanticdb/ScipSemanticdb.java +++ b/scip-semanticdb/src/main/java/com/sourcegraph/scip_semanticdb/ScipSemanticdb.java @@ -4,6 +4,8 @@ import com.sourcegraph.lsif_protocol.MarkupKind; import com.sourcegraph.semanticdb_javac.Semanticdb; import com.sourcegraph.semanticdb_javac.Semanticdb.SymbolInformation; +import com.sourcegraph.semanticdb_javac.Semanticdb.SymbolInformation.Kind; +import com.sourcegraph.semanticdb_javac.Semanticdb.SymbolInformation.Property; import com.sourcegraph.semanticdb_javac.Semanticdb.SymbolOccurrence; import com.sourcegraph.semanticdb_javac.Semanticdb.SymbolOccurrence.Role; import com.sourcegraph.semanticdb_javac.SemanticdbSymbols; @@ -79,6 +81,73 @@ private String typedSymbol(String symbol, Package pkg) { return "semanticdb maven " + pkg.repoName() + " " + pkg.version() + " " + symbol; } + private static Scip.SymbolInformation.Kind scipKind(SymbolInformation info) { + Kind kind = info.getKind(); + int properties = info.getProperties(); + boolean isStatic = (properties & Property.STATIC_VALUE) > 0; + boolean isAbstract = (properties & Property.ABSTRACT_VALUE) > 0; + boolean isEnum = (properties & Property.ENUM_VALUE) > 0; + + switch (kind) { + case CLASS: + if (isEnum) { + return Scip.SymbolInformation.Kind.Enum; + } else { + return Scip.SymbolInformation.Kind.Class; + } + case CONSTRUCTOR: + return Scip.SymbolInformation.Kind.Constructor; + case FIELD: + if (isStatic) { + return Scip.SymbolInformation.Kind.StaticField; + } else { + return Scip.SymbolInformation.Kind.Field; + } + case INTERFACE: + return Scip.SymbolInformation.Kind.Interface; + case LOCAL: + if (isStatic) { + return Scip.SymbolInformation.Kind.StaticVariable; + } else { + return Scip.SymbolInformation.Kind.Variable; + } + case MACRO: + return Scip.SymbolInformation.Kind.Macro; + case METHOD: + if (isStatic) { + return Scip.SymbolInformation.Kind.StaticMethod; + } else if (isAbstract) { + return Scip.SymbolInformation.Kind.AbstractMethod; + } else { + return Scip.SymbolInformation.Kind.Method; + } + case OBJECT: + return Scip.SymbolInformation.Kind.Object; + case PACKAGE: + return Scip.SymbolInformation.Kind.Package; + case PACKAGE_OBJECT: + return Scip.SymbolInformation.Kind.PackageObject; + case PARAMETER: + return Scip.SymbolInformation.Kind.Parameter; + case SELF_PARAMETER: + return Scip.SymbolInformation.Kind.SelfParameter; + case TRAIT: + return Scip.SymbolInformation.Kind.Trait; + case TYPE: + if (isEnum) { + return Scip.SymbolInformation.Kind.Enum; + } else { + return Scip.SymbolInformation.Kind.Type; + } + case TYPE_PARAMETER: + return Scip.SymbolInformation.Kind.TypeParameter; + case UNKNOWN_KIND: + return Scip.SymbolInformation.Kind.UnspecifiedKind; + } + + return Scip.SymbolInformation.Kind.UnspecifiedKind; + } + public static boolean isDefinitionRole(Role role) { return role == Role.DEFINITION || role == Role.SYNTHETIC_DEFINITION; } @@ -132,6 +201,13 @@ private void processTypedDocument( Scip.SymbolInformation.Builder scipInfo = Scip.SymbolInformation.newBuilder().setSymbol(typedSymbol(info.getSymbol(), pkg)); + scipInfo.setDisplayName(info.getDisplayName()); + if (!info.getEnclosingSymbol().isEmpty()) { + scipInfo.setEnclosingSymbol(typedSymbol(info.getEnclosingSymbol(), pkg)); + } + + scipInfo.setKind(scipKind(info)); + // TODO: this can be removed once https://github.com/sourcegraph/sourcegraph/issues/50927 is // fixed. ArrayList inverseReferences = references.map.get(info.getSymbol()); @@ -192,7 +268,12 @@ private void processTypedDocument( String language = doc.semanticdb.getLanguage().toString().toLowerCase(Locale.ROOT).intern(); String signature = new SignatureFormatter(info, symtab).formatSymbol(); - scipInfo.addDocumentation("```" + language + "\n" + signature + "\n```"); + Scip.Document.Builder signatureDocumentation = + Scip.Document.newBuilder() + .setRelativePath(relativePath) + .setLanguage(language) + .setText(signature); + scipInfo.setSignatureDocumentation(signatureDocumentation); } String documentation = info.getDocumentation().getMessage(); if (!documentation.isEmpty()) { diff --git a/semanticdb-java/src/main/protobuf/semanticdb.proto b/semanticdb-java/src/main/protobuf/semanticdb.proto index 4fefea160..99857524a 100644 --- a/semanticdb-java/src/main/protobuf/semanticdb.proto +++ b/semanticdb-java/src/main/protobuf/semanticdb.proto @@ -114,7 +114,7 @@ message SymbolInformation { ENUM = 0x4000; DEFAULT = 0x8000; } - reserved 2, 6, 7, 8, 9, 10, 11, 12, 14;// 15; + reserved 2, 6, 7, 8, 9, 10, 11, 12, 14; string symbol = 1; Language language = 16; Kind kind = 3; @@ -127,9 +127,10 @@ message SymbolInformation { Access access = 18; repeated string overridden_symbols = 19; Documentation documentation = 20; + string enclosing_symbol = 15; // -- OUT OF SPEC -- // - repeated string definition_relationships = 15; + repeated string definition_relationships = 21; // -- OUT OF SPEC -- // } diff --git a/semanticdb-javac/src/main/java/com/sourcegraph/semanticdb_javac/SemanticdbVisitor.java b/semanticdb-javac/src/main/java/com/sourcegraph/semanticdb_javac/SemanticdbVisitor.java index 3657989dd..cebd32f95 100644 --- a/semanticdb-javac/src/main/java/com/sourcegraph/semanticdb_javac/SemanticdbVisitor.java +++ b/semanticdb-javac/src/main/java/com/sourcegraph/semanticdb_javac/SemanticdbVisitor.java @@ -129,6 +129,10 @@ private void emitSymbolInformation(Element sym, Tree tree) { if (documentation != null) builder.setDocumentation(documentation); Semanticdb.Signature signature = semanticdbSignature(sym); if (signature != null) builder.setSignature(signature); + if (SemanticdbSymbols.isLocal(symbol)) { + String enclosingSymbol = semanticdbSymbol(sym.getEnclosingElement()); + if (enclosingSymbol != null) builder.setEnclosingSymbol(enclosingSymbol); + } List annotations = new SemanticdbTrees(globals, locals, uri, types, trees, nodes).annotations(tree); @@ -173,6 +177,10 @@ private void emitSymbolInformation(Element sym, Tree tree) { .collect(Collectors.joining(", ")); if (!args.isEmpty()) builder.setDisplayName(sym.getSimpleName().toString() + "(" + args + ")"); + break; + case LOCAL_VARIABLE: + builder.setKind(Kind.LOCAL); + break; } Semanticdb.SymbolInformation info = builder.build(); diff --git a/tests/snapshots/src/main/generated/BaseByteRenderer.scala b/tests/snapshots/src/main/generated/BaseByteRenderer.scala index 47f0674a1..02518308d 100644 --- a/tests/snapshots/src/main/generated/BaseByteRenderer.scala +++ b/tests/snapshots/src/main/generated/BaseByteRenderer.scala @@ -23,39 +23,57 @@ import upickle.core.{ArrVisitor, ObjVisitor} */ class BaseByteRenderer[T <: upickle.core.ByteOps.Output] // ^^^^^^^^^^^^^^^^ definition semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/BaseByteRenderer# -// documentation ```scala\nclass BaseByteRenderer[T <: Output]\n``` +// display_name BaseByteRenderer +// signature_documentation scala class BaseByteRenderer[T <: Output] +// kind Class // relationship is_reference semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/BaseByteRenderer. // ________________ synthetic_definition semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/BaseByteRenderer. -// documentation ```scala\nobject BaseByteRenderer\n``` +// display_name BaseByteRenderer +// signature_documentation scala object BaseByteRenderer +// kind Object // relationship is_definition semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/BaseByteRenderer# // ^ definition semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/BaseByteRenderer#[T] -// documentation ```scala\nT <: Output\n``` +// display_name T +// signature_documentation scala T <: Output +// kind TypeParameter // ^^^^^^^ reference semanticdb maven . . upickle/ // ^^^^ reference semanticdb maven . . upickle/core/ // ^^^^^^^ reference semanticdb maven maven/com.lihaoyi/upickle-core_2.13 1.4.0 upickle/core/ByteOps. // ^^^^^^ reference semanticdb maven maven/com.lihaoyi/upickle-core_2.13 1.4.0 upickle/core/ByteOps.Output# (out: T, // ^^^ definition semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/BaseByteRenderer#out. -// documentation ```scala\nprivate[this] val out: T\n``` +// display_name out +// signature_documentation scala private[this] val out: T +// kind Method // relationship is_reference semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/BaseByteRenderer#``().(out) // ___ synthetic_definition semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/BaseByteRenderer#``().(out) -// documentation ```scala\nout: T \n``` +// display_name out +// signature_documentation scala out: T +// kind Parameter // relationship is_reference is_definition semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/BaseByteRenderer#out. // ^ reference semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/BaseByteRenderer#[T] indent: Int = -1, // ^^^^^^ definition semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/BaseByteRenderer#indent. -// documentation ```scala\nprivate[this] val indent: Int\n``` +// display_name indent +// signature_documentation scala private[this] val indent: Int +// kind Method // relationship is_reference semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/BaseByteRenderer#``().(indent) // ______ synthetic_definition semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/BaseByteRenderer#``().(indent) -// documentation ```scala\ndefault indent: Int \n``` +// display_name indent +// signature_documentation scala default indent: Int +// kind Parameter // relationship is_reference is_definition semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/BaseByteRenderer#indent. // ^^^ reference semanticdb maven maven/org.scala-lang/scala-library 2.13.13 scala/Int# escapeUnicode: Boolean = false) extends JsVisitor[T, T]{ // ^^^^^^^^^^^^^ definition semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/BaseByteRenderer#escapeUnicode. -// documentation ```scala\nprivate[this] val escapeUnicode: Boolean\n``` +// display_name escapeUnicode +// signature_documentation scala private[this] val escapeUnicode: Boolean +// kind Method // relationship is_reference semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/BaseByteRenderer#``().(escapeUnicode) // _____________ synthetic_definition semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/BaseByteRenderer#``().(escapeUnicode) -// documentation ```scala\ndefault escapeUnicode: Boolean \n``` +// display_name escapeUnicode +// signature_documentation scala default escapeUnicode: Boolean +// kind Parameter // relationship is_reference is_definition semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/BaseByteRenderer#escapeUnicode. // ^^^^^^^ reference semanticdb maven maven/org.scala-lang/scala-library 2.13.13 scala/Boolean# // ^^^^^^^^^ reference semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/JsVisitor# @@ -64,21 +82,27 @@ class BaseByteRenderer[T <: upickle.core.ByteOps.Output] // ^ reference semanticdb maven jdk 11 java/lang/Object#``(). private[this] val elemBuilder = new upickle.core.ByteBuilder // ^^^^^^^^^^^ definition semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/BaseByteRenderer#elemBuilder. -// documentation ```scala\nprivate[this] val elemBuilder: ByteBuilder\n``` +// display_name elemBuilder +// signature_documentation scala private[this] val elemBuilder: ByteBuilder +// kind Method // ^^^^^^^ reference semanticdb maven . . upickle/ // ^^^^ reference semanticdb maven . . upickle/core/ // ^^^^^^^^^^^ reference semanticdb maven maven/com.lihaoyi/upickle-core_2.13 1.4.0 upickle/core/ByteBuilder# // ^ reference semanticdb maven maven/com.lihaoyi/upickle-core_2.13 1.4.0 upickle/core/ByteBuilder#``(). private[this] val unicodeCharBuilder = new upickle.core.CharBuilder() // ^^^^^^^^^^^^^^^^^^ definition semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/BaseByteRenderer#unicodeCharBuilder. -// documentation ```scala\nprivate[this] val unicodeCharBuilder: CharBuilder\n``` +// display_name unicodeCharBuilder +// signature_documentation scala private[this] val unicodeCharBuilder: CharBuilder +// kind Method // ^^^^^^^ reference semanticdb maven . . upickle/ // ^^^^ reference semanticdb maven . . upickle/core/ // ^^^^^^^^^^^ reference semanticdb maven maven/com.lihaoyi/upickle-core_2.13 1.4.0 upickle/core/CharBuilder# // ^ reference semanticdb maven maven/com.lihaoyi/upickle-core_2.13 1.4.0 upickle/core/CharBuilder#``(). def flushByteBuilder() = { // ^^^^^^^^^^^^^^^^ definition semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/BaseByteRenderer#flushByteBuilder(). -// documentation ```scala\ndef flushByteBuilder(): Unit\n``` +// display_name flushByteBuilder +// signature_documentation scala def flushByteBuilder(): Unit +// kind Method elemBuilder.writeOutToIfLongerThan(out, if (depth == 0) 0 else 1000) // ^^^^^^^^^^^ reference semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/BaseByteRenderer#elemBuilder. // ^^^^^^^^^^^^^^^^^^^^^^ reference semanticdb maven maven/com.lihaoyi/upickle-core_2.13 1.4.0 upickle/core/ByteBuilder#writeOutToIfLongerThan(). @@ -89,23 +113,33 @@ class BaseByteRenderer[T <: upickle.core.ByteOps.Output] private[this] var depth: Int = 0 // ^^^^^ definition semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/BaseByteRenderer#depth(). -// documentation ```scala\nprivate[this] var depth: Int\n``` +// display_name depth +// signature_documentation scala private[this] var depth: Int +// kind Method // _____ synthetic_definition semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/BaseByteRenderer#`depth_=`(). -// documentation ```scala\nprivate[this] var depth_=(x$1: Int): Unit\n``` +// display_name depth_= +// signature_documentation scala private[this] var depth_=(x$1: Int): Unit +// kind Method // relationship is_definition semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/BaseByteRenderer#depth(). // ^^^ reference semanticdb maven maven/org.scala-lang/scala-library 2.13.13 scala/Int# private[this] var commaBuffered = false // ^^^^^^^^^^^^^ definition semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/BaseByteRenderer#commaBuffered(). -// documentation ```scala\nprivate[this] var commaBuffered: Boolean\n``` +// display_name commaBuffered +// signature_documentation scala private[this] var commaBuffered: Boolean +// kind Method // _____________ synthetic_definition semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/BaseByteRenderer#`commaBuffered_=`(). -// documentation ```scala\nprivate[this] var commaBuffered_=(x$1: Boolean): Unit\n``` +// display_name commaBuffered_= +// signature_documentation scala private[this] var commaBuffered_=(x$1: Boolean): Unit +// kind Method // relationship is_definition semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/BaseByteRenderer#commaBuffered(). def flushBuffer() = { // ^^^^^^^^^^^ definition semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/BaseByteRenderer#flushBuffer(). -// documentation ```scala\ndef flushBuffer(): Unit\n``` +// display_name flushBuffer +// signature_documentation scala def flushBuffer(): Unit +// kind Method if (commaBuffered) { // ^^^^^^^^^^^^^ reference semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/BaseByteRenderer#commaBuffered(). commaBuffered = false @@ -119,16 +153,24 @@ class BaseByteRenderer[T <: upickle.core.ByteOps.Output] } def visitArray(length: Int, index: Int) = new ArrVisitor[T, T] { // ^^^^^^^^^^ definition semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/BaseByteRenderer#visitArray(). -// documentation ```scala\ndef visitArray(length: Int, index: Int): { def subVisitor: BaseByteRenderer[T] }\n``` +// display_name visitArray +// signature_documentation scala def visitArray(length: Int, index: Int): { def subVisitor: BaseByteRenderer[T] } +// kind Method // relationship is_reference is_implementation semanticdb maven maven/com.lihaoyi/upickle-core_2.13 1.4.0 upickle/core/Visitor#visitArray(). // ^^^^^^ definition semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/BaseByteRenderer#visitArray().(length) -// documentation ```scala\nlength: Int \n``` +// display_name length +// signature_documentation scala length: Int +// kind Parameter // ^^^ reference semanticdb maven maven/org.scala-lang/scala-library 2.13.13 scala/Int# // ^^^^^ definition semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/BaseByteRenderer#visitArray().(index) -// documentation ```scala\nindex: Int \n``` +// display_name index +// signature_documentation scala index: Int +// kind Parameter // ^^^ reference semanticdb maven maven/org.scala-lang/scala-library 2.13.13 scala/Int# // ^ definition local 1 -// documentation ```scala\nfinal class $anon\n``` +// display_name $anon +// signature_documentation scala final class $anon +// kind Class // ^^^^^^^^^^ reference semanticdb maven maven/com.lihaoyi/upickle-core_2.13 1.4.0 upickle/core/ArrVisitor# // ^ reference semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/BaseByteRenderer#[T] // ^ reference semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/BaseByteRenderer#[T] @@ -146,18 +188,26 @@ class BaseByteRenderer[T <: upickle.core.ByteOps.Output] // ^^^^^^^^^^^^ reference semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/BaseByteRenderer#renderIndent(). def subVisitor = BaseByteRenderer.this // ^^^^^^^^^^ definition local 0 -// documentation ```scala\ndef subVisitor: BaseByteRenderer[T]\n``` +// display_name subVisitor +// signature_documentation scala def subVisitor: BaseByteRenderer[T] +// kind Method // relationship is_reference is_implementation semanticdb maven maven/com.lihaoyi/upickle-core_2.13 1.4.0 upickle/core/ObjArrVisitor#subVisitor(). // ^^^^^^^^^^^^^^^^ reference semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/BaseByteRenderer# def visitValue(v: T, index: Int): Unit = { // ^^^^^^^^^^ definition local 2 -// documentation ```scala\ndef visitValue(v: T, index: Int): Unit\n``` +// display_name visitValue +// signature_documentation scala def visitValue(v: T, index: Int): Unit +// kind Method // relationship is_reference is_implementation semanticdb maven maven/com.lihaoyi/upickle-core_2.13 1.4.0 upickle/core/ObjArrVisitor#visitValue(). // ^ definition local 4 -// documentation ```scala\nv: T \n``` +// display_name v +// signature_documentation scala v: T +// kind Parameter // ^ reference semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/BaseByteRenderer#[T] // ^^^^^ definition local 5 -// documentation ```scala\nindex: Int \n``` +// display_name index +// signature_documentation scala index: Int +// kind Parameter // ^^^ reference semanticdb maven maven/org.scala-lang/scala-library 2.13.13 scala/Int# // ^^^^ reference semanticdb maven maven/org.scala-lang/scala-library 2.13.13 scala/Unit# flushBuffer() @@ -167,10 +217,14 @@ class BaseByteRenderer[T <: upickle.core.ByteOps.Output] } def visitEnd(index: Int) = { // ^^^^^^^^ definition local 3 -// documentation ```scala\ndef visitEnd(index: Int): T\n``` +// display_name visitEnd +// signature_documentation scala def visitEnd(index: Int): T +// kind Method // relationship is_reference is_implementation semanticdb maven maven/com.lihaoyi/upickle-core_2.13 1.4.0 upickle/core/ObjArrVisitor#visitEnd(). // ^^^^^ definition local 6 -// documentation ```scala\nindex: Int \n``` +// display_name index +// signature_documentation scala index: Int +// kind Parameter // ^^^ reference semanticdb maven maven/org.scala-lang/scala-library 2.13.13 scala/Int# commaBuffered = false // ^^^^^^^^^^^^^ reference semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/BaseByteRenderer#commaBuffered(). @@ -191,16 +245,24 @@ class BaseByteRenderer[T <: upickle.core.ByteOps.Output] def visitObject(length: Int, index: Int) = new ObjVisitor[T, T] { // ^^^^^^^^^^^ definition semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/BaseByteRenderer#visitObject(). -// documentation ```scala\ndef visitObject(length: Int, index: Int): { def subVisitor: BaseByteRenderer[T]; def visitKey(index: Int): BaseByteRenderer[T] }\n``` +// display_name visitObject +// signature_documentation scala def visitObject(length: Int, index: Int): { def subVisitor: BaseByteRenderer[T]; def visitKey(index: Int): BaseByteRenderer[T] } +// kind Method // relationship is_reference is_implementation semanticdb maven maven/com.lihaoyi/upickle-core_2.13 1.4.0 upickle/core/Visitor#visitObject(). // ^^^^^^ definition semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/BaseByteRenderer#visitObject().(length) -// documentation ```scala\nlength: Int \n``` +// display_name length +// signature_documentation scala length: Int +// kind Parameter // ^^^ reference semanticdb maven maven/org.scala-lang/scala-library 2.13.13 scala/Int# // ^^^^^ definition semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/BaseByteRenderer#visitObject().(index) -// documentation ```scala\nindex: Int \n``` +// display_name index +// signature_documentation scala index: Int +// kind Parameter // ^^^ reference semanticdb maven maven/org.scala-lang/scala-library 2.13.13 scala/Int# // ^ definition local 10 -// documentation ```scala\nfinal class $anon\n``` +// display_name $anon +// signature_documentation scala final class $anon +// kind Class // ^^^^^^^^^^ reference semanticdb maven maven/com.lihaoyi/upickle-core_2.13 1.4.0 upickle/core/ObjVisitor# // ^ reference semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/BaseByteRenderer#[T] // ^ reference semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/BaseByteRenderer#[T] @@ -217,23 +279,33 @@ class BaseByteRenderer[T <: upickle.core.ByteOps.Output] // ^^^^^^^^^^^^ reference semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/BaseByteRenderer#renderIndent(). def subVisitor = BaseByteRenderer.this // ^^^^^^^^^^ definition local 7 -// documentation ```scala\ndef subVisitor: BaseByteRenderer[T]\n``` +// display_name subVisitor +// signature_documentation scala def subVisitor: BaseByteRenderer[T] +// kind Method // relationship is_reference is_implementation semanticdb maven maven/com.lihaoyi/upickle-core_2.13 1.4.0 upickle/core/ObjArrVisitor#subVisitor(). // ^^^^^^^^^^^^^^^^ reference semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/BaseByteRenderer# def visitKey(index: Int) = BaseByteRenderer.this // ^^^^^^^^ definition local 8 -// documentation ```scala\ndef visitKey(index: Int): BaseByteRenderer[T]\n``` +// display_name visitKey +// signature_documentation scala def visitKey(index: Int): BaseByteRenderer[T] +// kind Method // relationship is_reference is_implementation semanticdb maven maven/com.lihaoyi/upickle-core_2.13 1.4.0 upickle/core/ObjVisitor#visitKey(). // ^^^^^ definition local 9 -// documentation ```scala\nindex: Int \n``` +// display_name index +// signature_documentation scala index: Int +// kind Parameter // ^^^ reference semanticdb maven maven/org.scala-lang/scala-library 2.13.13 scala/Int# // ^^^^^^^^^^^^^^^^ reference semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/BaseByteRenderer# def visitKeyValue(s: Any): Unit = { // ^^^^^^^^^^^^^ definition local 11 -// documentation ```scala\ndef visitKeyValue(s: Any): Unit\n``` +// display_name visitKeyValue +// signature_documentation scala def visitKeyValue(s: Any): Unit +// kind Method // relationship is_reference is_implementation semanticdb maven maven/com.lihaoyi/upickle-core_2.13 1.4.0 upickle/core/ObjVisitor#visitKeyValue(). // ^ definition local 14 -// documentation ```scala\ns: Any \n``` +// display_name s +// signature_documentation scala s: Any +// kind Parameter // ^^^ reference semanticdb maven . . scala/Any# // ^^^^ reference semanticdb maven maven/org.scala-lang/scala-library 2.13.13 scala/Unit# elemBuilder.append(':') @@ -247,13 +319,19 @@ class BaseByteRenderer[T <: upickle.core.ByteOps.Output] } def visitValue(v: T, index: Int): Unit = { // ^^^^^^^^^^ definition local 12 -// documentation ```scala\ndef visitValue(v: T, index: Int): Unit\n``` +// display_name visitValue +// signature_documentation scala def visitValue(v: T, index: Int): Unit +// kind Method // relationship is_reference is_implementation semanticdb maven maven/com.lihaoyi/upickle-core_2.13 1.4.0 upickle/core/ObjArrVisitor#visitValue(). // ^ definition local 15 -// documentation ```scala\nv: T \n``` +// display_name v +// signature_documentation scala v: T +// kind Parameter // ^ reference semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/BaseByteRenderer#[T] // ^^^^^ definition local 16 -// documentation ```scala\nindex: Int \n``` +// display_name index +// signature_documentation scala index: Int +// kind Parameter // ^^^ reference semanticdb maven maven/org.scala-lang/scala-library 2.13.13 scala/Int# // ^^^^ reference semanticdb maven maven/org.scala-lang/scala-library 2.13.13 scala/Unit# commaBuffered = true @@ -261,10 +339,14 @@ class BaseByteRenderer[T <: upickle.core.ByteOps.Output] } def visitEnd(index: Int) = { // ^^^^^^^^ definition local 13 -// documentation ```scala\ndef visitEnd(index: Int): T\n``` +// display_name visitEnd +// signature_documentation scala def visitEnd(index: Int): T +// kind Method // relationship is_reference is_implementation semanticdb maven maven/com.lihaoyi/upickle-core_2.13 1.4.0 upickle/core/ObjArrVisitor#visitEnd(). // ^^^^^ definition local 17 -// documentation ```scala\nindex: Int \n``` +// display_name index +// signature_documentation scala index: Int +// kind Parameter // ^^^ reference semanticdb maven maven/org.scala-lang/scala-library 2.13.13 scala/Int# commaBuffered = false // ^^^^^^^^^^^^^ reference semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/BaseByteRenderer#commaBuffered(). @@ -285,10 +367,14 @@ class BaseByteRenderer[T <: upickle.core.ByteOps.Output] def visitNull(index: Int) = { // ^^^^^^^^^ definition semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/BaseByteRenderer#visitNull(). -// documentation ```scala\ndef visitNull(index: Int): T\n``` +// display_name visitNull +// signature_documentation scala def visitNull(index: Int): T +// kind Method // relationship is_reference is_implementation semanticdb maven maven/com.lihaoyi/upickle-core_2.13 1.4.0 upickle/core/Visitor#visitNull(). // ^^^^^ definition semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/BaseByteRenderer#visitNull().(index) -// documentation ```scala\nindex: Int \n``` +// display_name index +// signature_documentation scala index: Int +// kind Parameter // ^^^ reference semanticdb maven maven/org.scala-lang/scala-library 2.13.13 scala/Int# flushBuffer() // ^^^^^^^^^^^ reference semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/BaseByteRenderer#flushBuffer(). @@ -315,10 +401,14 @@ class BaseByteRenderer[T <: upickle.core.ByteOps.Output] def visitFalse(index: Int) = { // ^^^^^^^^^^ definition semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/BaseByteRenderer#visitFalse(). -// documentation ```scala\ndef visitFalse(index: Int): T\n``` +// display_name visitFalse +// signature_documentation scala def visitFalse(index: Int): T +// kind Method // relationship is_reference is_implementation semanticdb maven maven/com.lihaoyi/upickle-core_2.13 1.4.0 upickle/core/Visitor#visitFalse(). // ^^^^^ definition semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/BaseByteRenderer#visitFalse().(index) -// documentation ```scala\nindex: Int \n``` +// display_name index +// signature_documentation scala index: Int +// kind Parameter // ^^^ reference semanticdb maven maven/org.scala-lang/scala-library 2.13.13 scala/Int# flushBuffer() // ^^^^^^^^^^^ reference semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/BaseByteRenderer#flushBuffer(). @@ -348,10 +438,14 @@ class BaseByteRenderer[T <: upickle.core.ByteOps.Output] def visitTrue(index: Int) = { // ^^^^^^^^^ definition semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/BaseByteRenderer#visitTrue(). -// documentation ```scala\ndef visitTrue(index: Int): T\n``` +// display_name visitTrue +// signature_documentation scala def visitTrue(index: Int): T +// kind Method // relationship is_reference is_implementation semanticdb maven maven/com.lihaoyi/upickle-core_2.13 1.4.0 upickle/core/Visitor#visitTrue(). // ^^^^^ definition semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/BaseByteRenderer#visitTrue().(index) -// documentation ```scala\nindex: Int \n``` +// display_name index +// signature_documentation scala index: Int +// kind Parameter // ^^^ reference semanticdb maven maven/org.scala-lang/scala-library 2.13.13 scala/Int# flushBuffer() // ^^^^^^^^^^^ reference semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/BaseByteRenderer#flushBuffer(). @@ -378,19 +472,29 @@ class BaseByteRenderer[T <: upickle.core.ByteOps.Output] def visitFloat64StringParts(s: CharSequence, decIndex: Int, expIndex: Int, index: Int) = { // ^^^^^^^^^^^^^^^^^^^^^^^ definition semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/BaseByteRenderer#visitFloat64StringParts(). -// documentation ```scala\ndef visitFloat64StringParts(s: CharSequence, decIndex: Int, expIndex: Int, index: Int): T\n``` +// display_name visitFloat64StringParts +// signature_documentation scala def visitFloat64StringParts(s: CharSequence, decIndex: Int, expIndex: Int, index: Int): T +// kind Method // relationship is_reference is_implementation semanticdb maven maven/com.lihaoyi/upickle-core_2.13 1.4.0 upickle/core/Visitor#visitFloat64StringParts(). // ^ definition semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/BaseByteRenderer#visitFloat64StringParts().(s) -// documentation ```scala\ns: CharSequence \n``` +// display_name s +// signature_documentation scala s: CharSequence +// kind Parameter // ^^^^^^^^^^^^ reference semanticdb maven jdk 11 java/lang/CharSequence# // ^^^^^^^^ definition semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/BaseByteRenderer#visitFloat64StringParts().(decIndex) -// documentation ```scala\ndecIndex: Int \n``` +// display_name decIndex +// signature_documentation scala decIndex: Int +// kind Parameter // ^^^ reference semanticdb maven maven/org.scala-lang/scala-library 2.13.13 scala/Int# // ^^^^^^^^ definition semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/BaseByteRenderer#visitFloat64StringParts().(expIndex) -// documentation ```scala\nexpIndex: Int \n``` +// display_name expIndex +// signature_documentation scala expIndex: Int +// kind Parameter // ^^^ reference semanticdb maven maven/org.scala-lang/scala-library 2.13.13 scala/Int# // ^^^^^ definition semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/BaseByteRenderer#visitFloat64StringParts().(index) -// documentation ```scala\nindex: Int \n``` +// display_name index +// signature_documentation scala index: Int +// kind Parameter // ^^^ reference semanticdb maven maven/org.scala-lang/scala-library 2.13.13 scala/Int# flushBuffer() // ^^^^^^^^^^^ reference semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/BaseByteRenderer#flushBuffer(). @@ -401,10 +505,14 @@ class BaseByteRenderer[T <: upickle.core.ByteOps.Output] // ^^^^^^ reference semanticdb maven jdk 11 java/lang/CharSequence#length(). var i = 0 // ^ definition local 18 -// documentation ```scala\ni: Int \n``` +// display_name i +// signature_documentation scala i: Int +// kind Variable val sLength = s.length // ^^^^^^^ definition local 19 -// documentation ```scala\nsLength: Int \n``` +// display_name sLength +// signature_documentation scala sLength: Int +// kind Variable // ^ reference semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/BaseByteRenderer#visitFloat64StringParts().(s) // ^^^^^^ reference semanticdb maven jdk 11 java/lang/CharSequence#length(). while(i < sLength){ @@ -429,14 +537,20 @@ class BaseByteRenderer[T <: upickle.core.ByteOps.Output] override def visitFloat64(d: Double, index: Int) = { // ^^^^^^^^^^^^ definition semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/BaseByteRenderer#visitFloat64(). -// documentation ```scala\ndef visitFloat64(d: Double, index: Int): T\n``` +// display_name visitFloat64 +// signature_documentation scala def visitFloat64(d: Double, index: Int): T +// kind Method // relationship is_reference is_implementation semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/JsVisitor#visitFloat64(). // relationship is_reference is_implementation semanticdb maven maven/com.lihaoyi/upickle-core_2.13 1.4.0 upickle/core/Visitor#visitFloat64(). // ^ definition semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/BaseByteRenderer#visitFloat64().(d) -// documentation ```scala\nd: Double \n``` +// display_name d +// signature_documentation scala d: Double +// kind Parameter // ^^^^^^ reference semanticdb maven maven/org.scala-lang/scala-library 2.13.13 scala/Double# // ^^^^^ definition semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/BaseByteRenderer#visitFloat64().(index) -// documentation ```scala\nindex: Int \n``` +// display_name index +// signature_documentation scala index: Int +// kind Parameter // ^^^ reference semanticdb maven maven/org.scala-lang/scala-library 2.13.13 scala/Int# d match{ // ^ reference semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/BaseByteRenderer#visitFloat64().(d) @@ -450,7 +564,9 @@ class BaseByteRenderer[T <: upickle.core.ByteOps.Output] // ^^^^^^^^^^^^^^^^^^ reference semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/BaseByteRenderer#visitNonNullString(). case d if java.lang.Double.isNaN(d) => visitNonNullString("NaN", -1) // ^ definition local 21 -// documentation ```scala\nd: Double \n``` +// display_name d +// signature_documentation scala d: Double +// kind Variable // ^^^^ reference semanticdb maven . . java/ // ^^^^ reference semanticdb maven . . java/lang/ // ^^^^^^ reference semanticdb maven jdk 11 java/lang/Double# @@ -459,10 +575,14 @@ class BaseByteRenderer[T <: upickle.core.ByteOps.Output] // ^^^^^^^^^^^^^^^^^^ reference semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/BaseByteRenderer#visitNonNullString(). case d => // ^ definition local 22 -// documentation ```scala\nd: Double \n``` +// display_name d +// signature_documentation scala d: Double +// kind Variable val i = d.toInt // ^ definition local 23 -// documentation ```scala\ni: Int \n``` +// display_name i +// signature_documentation scala i: Int +// kind Variable // ^ reference local 22 // ^^^^^ reference semanticdb maven maven/org.scala-lang/scala-library 2.13.13 scala/Double#toInt(). if (d == i) visitFloat64StringParts(i.toString, -1, -1, index) @@ -489,13 +609,19 @@ class BaseByteRenderer[T <: upickle.core.ByteOps.Output] def visitString(s: CharSequence, index: Int) = { // ^^^^^^^^^^^ definition semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/BaseByteRenderer#visitString(). -// documentation ```scala\ndef visitString(s: CharSequence, index: Int): T\n``` +// display_name visitString +// signature_documentation scala def visitString(s: CharSequence, index: Int): T +// kind Method // relationship is_reference is_implementation semanticdb maven maven/com.lihaoyi/upickle-core_2.13 1.4.0 upickle/core/Visitor#visitString(). // ^ definition semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/BaseByteRenderer#visitString().(s) -// documentation ```scala\ns: CharSequence \n``` +// display_name s +// signature_documentation scala s: CharSequence +// kind Parameter // ^^^^^^^^^^^^ reference semanticdb maven jdk 11 java/lang/CharSequence# // ^^^^^ definition semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/BaseByteRenderer#visitString().(index) -// documentation ```scala\nindex: Int \n``` +// display_name index +// signature_documentation scala index: Int +// kind Parameter // ^^^ reference semanticdb maven maven/org.scala-lang/scala-library 2.13.13 scala/Int# if (s eq null) visitNull(index) @@ -511,12 +637,18 @@ class BaseByteRenderer[T <: upickle.core.ByteOps.Output] def visitNonNullString(s: CharSequence, index: Int) = { // ^^^^^^^^^^^^^^^^^^ definition semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/BaseByteRenderer#visitNonNullString(). -// documentation ```scala\ndef visitNonNullString(s: CharSequence, index: Int): T\n``` +// display_name visitNonNullString +// signature_documentation scala def visitNonNullString(s: CharSequence, index: Int): T +// kind Method // ^ definition semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/BaseByteRenderer#visitNonNullString().(s) -// documentation ```scala\ns: CharSequence \n``` +// display_name s +// signature_documentation scala s: CharSequence +// kind Parameter // ^^^^^^^^^^^^ reference semanticdb maven jdk 11 java/lang/CharSequence# // ^^^^^ definition semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/BaseByteRenderer#visitNonNullString().(index) -// documentation ```scala\nindex: Int \n``` +// display_name index +// signature_documentation scala index: Int +// kind Parameter // ^^^ reference semanticdb maven maven/org.scala-lang/scala-library 2.13.13 scala/Int# flushBuffer() // ^^^^^^^^^^^ reference semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/BaseByteRenderer#flushBuffer(). @@ -537,14 +669,18 @@ class BaseByteRenderer[T <: upickle.core.ByteOps.Output] final def renderIndent() = { // ^^^^^^^^^^^^ definition semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/BaseByteRenderer#renderIndent(). -// documentation ```scala\nfinal def renderIndent(): Unit\n``` +// display_name renderIndent +// signature_documentation scala final def renderIndent(): Unit +// kind Method if (indent == -1) () // ^^^^^^ reference semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/BaseByteRenderer#indent. // ^^ reference semanticdb maven maven/org.scala-lang/scala-library 2.13.13 scala/Int#`==`(+3). else { var i = indent * depth // ^ definition local 24 -// documentation ```scala\ni: Int \n``` +// display_name i +// signature_documentation scala i: Int +// kind Variable // ^^^^^^ reference semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/BaseByteRenderer#indent. // ^ reference semanticdb maven maven/org.scala-lang/scala-library 2.13.13 scala/Int#`*`(+3). // ^^^^^ reference semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/BaseByteRenderer#depth(). diff --git a/tests/snapshots/src/main/generated/BaseCharRenderer.scala b/tests/snapshots/src/main/generated/BaseCharRenderer.scala index e721ec366..9b1d69ee6 100644 --- a/tests/snapshots/src/main/generated/BaseCharRenderer.scala +++ b/tests/snapshots/src/main/generated/BaseCharRenderer.scala @@ -23,39 +23,57 @@ import upickle.core.{ArrVisitor, ObjVisitor} */ class BaseCharRenderer[T <: upickle.core.CharOps.Output] // ^^^^^^^^^^^^^^^^ definition semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/BaseCharRenderer# -// documentation ```scala\nclass BaseCharRenderer[T <: Output]\n``` +// display_name BaseCharRenderer +// signature_documentation scala class BaseCharRenderer[T <: Output] +// kind Class // relationship is_reference semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/BaseCharRenderer. // ________________ synthetic_definition semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/BaseCharRenderer. -// documentation ```scala\nobject BaseCharRenderer\n``` +// display_name BaseCharRenderer +// signature_documentation scala object BaseCharRenderer +// kind Object // relationship is_definition semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/BaseCharRenderer# // ^ definition semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/BaseCharRenderer#[T] -// documentation ```scala\nT <: Output\n``` +// display_name T +// signature_documentation scala T <: Output +// kind TypeParameter // ^^^^^^^ reference semanticdb maven . . upickle/ // ^^^^ reference semanticdb maven . . upickle/core/ // ^^^^^^^ reference semanticdb maven maven/com.lihaoyi/upickle-core_2.13 1.4.0 upickle/core/CharOps. // ^^^^^^ reference semanticdb maven maven/com.lihaoyi/upickle-core_2.13 1.4.0 upickle/core/CharOps.Output# (out: T, // ^^^ definition semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/BaseCharRenderer#out. -// documentation ```scala\nprivate[this] val out: T\n``` +// display_name out +// signature_documentation scala private[this] val out: T +// kind Method // relationship is_reference semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/BaseCharRenderer#``().(out) // ___ synthetic_definition semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/BaseCharRenderer#``().(out) -// documentation ```scala\nout: T \n``` +// display_name out +// signature_documentation scala out: T +// kind Parameter // relationship is_reference is_definition semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/BaseCharRenderer#out. // ^ reference semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/BaseCharRenderer#[T] indent: Int = -1, // ^^^^^^ definition semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/BaseCharRenderer#indent. -// documentation ```scala\nprivate[this] val indent: Int\n``` +// display_name indent +// signature_documentation scala private[this] val indent: Int +// kind Method // relationship is_reference semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/BaseCharRenderer#``().(indent) // ______ synthetic_definition semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/BaseCharRenderer#``().(indent) -// documentation ```scala\ndefault indent: Int \n``` +// display_name indent +// signature_documentation scala default indent: Int +// kind Parameter // relationship is_reference is_definition semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/BaseCharRenderer#indent. // ^^^ reference semanticdb maven maven/org.scala-lang/scala-library 2.13.13 scala/Int# escapeUnicode: Boolean = false) extends JsVisitor[T, T]{ // ^^^^^^^^^^^^^ definition semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/BaseCharRenderer#escapeUnicode. -// documentation ```scala\nprivate[this] val escapeUnicode: Boolean\n``` +// display_name escapeUnicode +// signature_documentation scala private[this] val escapeUnicode: Boolean +// kind Method // relationship is_reference semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/BaseCharRenderer#``().(escapeUnicode) // _____________ synthetic_definition semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/BaseCharRenderer#``().(escapeUnicode) -// documentation ```scala\ndefault escapeUnicode: Boolean \n``` +// display_name escapeUnicode +// signature_documentation scala default escapeUnicode: Boolean +// kind Parameter // relationship is_reference is_definition semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/BaseCharRenderer#escapeUnicode. // ^^^^^^^ reference semanticdb maven maven/org.scala-lang/scala-library 2.13.13 scala/Boolean# // ^^^^^^^^^ reference semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/JsVisitor# @@ -64,21 +82,27 @@ class BaseCharRenderer[T <: upickle.core.CharOps.Output] // ^ reference semanticdb maven jdk 11 java/lang/Object#``(). private[this] val elemBuilder = new upickle.core.CharBuilder // ^^^^^^^^^^^ definition semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/BaseCharRenderer#elemBuilder. -// documentation ```scala\nprivate[this] val elemBuilder: CharBuilder\n``` +// display_name elemBuilder +// signature_documentation scala private[this] val elemBuilder: CharBuilder +// kind Method // ^^^^^^^ reference semanticdb maven . . upickle/ // ^^^^ reference semanticdb maven . . upickle/core/ // ^^^^^^^^^^^ reference semanticdb maven maven/com.lihaoyi/upickle-core_2.13 1.4.0 upickle/core/CharBuilder# // ^ reference semanticdb maven maven/com.lihaoyi/upickle-core_2.13 1.4.0 upickle/core/CharBuilder#``(). private[this] val unicodeCharBuilder = new upickle.core.CharBuilder() // ^^^^^^^^^^^^^^^^^^ definition semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/BaseCharRenderer#unicodeCharBuilder. -// documentation ```scala\nprivate[this] val unicodeCharBuilder: CharBuilder\n``` +// display_name unicodeCharBuilder +// signature_documentation scala private[this] val unicodeCharBuilder: CharBuilder +// kind Method // ^^^^^^^ reference semanticdb maven . . upickle/ // ^^^^ reference semanticdb maven . . upickle/core/ // ^^^^^^^^^^^ reference semanticdb maven maven/com.lihaoyi/upickle-core_2.13 1.4.0 upickle/core/CharBuilder# // ^ reference semanticdb maven maven/com.lihaoyi/upickle-core_2.13 1.4.0 upickle/core/CharBuilder#``(). def flushCharBuilder() = { // ^^^^^^^^^^^^^^^^ definition semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/BaseCharRenderer#flushCharBuilder(). -// documentation ```scala\ndef flushCharBuilder(): Unit\n``` +// display_name flushCharBuilder +// signature_documentation scala def flushCharBuilder(): Unit +// kind Method elemBuilder.writeOutToIfLongerThan(out, if (depth == 0) 0 else 1000) // ^^^^^^^^^^^ reference semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/BaseCharRenderer#elemBuilder. // ^^^^^^^^^^^^^^^^^^^^^^ reference semanticdb maven maven/com.lihaoyi/upickle-core_2.13 1.4.0 upickle/core/CharBuilder#writeOutToIfLongerThan(). @@ -89,23 +113,33 @@ class BaseCharRenderer[T <: upickle.core.CharOps.Output] private[this] var depth: Int = 0 // ^^^^^ definition semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/BaseCharRenderer#depth(). -// documentation ```scala\nprivate[this] var depth: Int\n``` +// display_name depth +// signature_documentation scala private[this] var depth: Int +// kind Method // _____ synthetic_definition semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/BaseCharRenderer#`depth_=`(). -// documentation ```scala\nprivate[this] var depth_=(x$1: Int): Unit\n``` +// display_name depth_= +// signature_documentation scala private[this] var depth_=(x$1: Int): Unit +// kind Method // relationship is_definition semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/BaseCharRenderer#depth(). // ^^^ reference semanticdb maven maven/org.scala-lang/scala-library 2.13.13 scala/Int# private[this] var commaBuffered = false // ^^^^^^^^^^^^^ definition semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/BaseCharRenderer#commaBuffered(). -// documentation ```scala\nprivate[this] var commaBuffered: Boolean\n``` +// display_name commaBuffered +// signature_documentation scala private[this] var commaBuffered: Boolean +// kind Method // _____________ synthetic_definition semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/BaseCharRenderer#`commaBuffered_=`(). -// documentation ```scala\nprivate[this] var commaBuffered_=(x$1: Boolean): Unit\n``` +// display_name commaBuffered_= +// signature_documentation scala private[this] var commaBuffered_=(x$1: Boolean): Unit +// kind Method // relationship is_definition semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/BaseCharRenderer#commaBuffered(). def flushBuffer() = { // ^^^^^^^^^^^ definition semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/BaseCharRenderer#flushBuffer(). -// documentation ```scala\ndef flushBuffer(): Unit\n``` +// display_name flushBuffer +// signature_documentation scala def flushBuffer(): Unit +// kind Method if (commaBuffered) { // ^^^^^^^^^^^^^ reference semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/BaseCharRenderer#commaBuffered(). commaBuffered = false @@ -119,16 +153,24 @@ class BaseCharRenderer[T <: upickle.core.CharOps.Output] } def visitArray(length: Int, index: Int) = new ArrVisitor[T, T] { // ^^^^^^^^^^ definition semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/BaseCharRenderer#visitArray(). -// documentation ```scala\ndef visitArray(length: Int, index: Int): { def subVisitor: BaseCharRenderer[T] }\n``` +// display_name visitArray +// signature_documentation scala def visitArray(length: Int, index: Int): { def subVisitor: BaseCharRenderer[T] } +// kind Method // relationship is_reference is_implementation semanticdb maven maven/com.lihaoyi/upickle-core_2.13 1.4.0 upickle/core/Visitor#visitArray(). // ^^^^^^ definition semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/BaseCharRenderer#visitArray().(length) -// documentation ```scala\nlength: Int \n``` +// display_name length +// signature_documentation scala length: Int +// kind Parameter // ^^^ reference semanticdb maven maven/org.scala-lang/scala-library 2.13.13 scala/Int# // ^^^^^ definition semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/BaseCharRenderer#visitArray().(index) -// documentation ```scala\nindex: Int \n``` +// display_name index +// signature_documentation scala index: Int +// kind Parameter // ^^^ reference semanticdb maven maven/org.scala-lang/scala-library 2.13.13 scala/Int# // ^ definition local 1 -// documentation ```scala\nfinal class $anon\n``` +// display_name $anon +// signature_documentation scala final class $anon +// kind Class // ^^^^^^^^^^ reference semanticdb maven maven/com.lihaoyi/upickle-core_2.13 1.4.0 upickle/core/ArrVisitor# // ^ reference semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/BaseCharRenderer#[T] // ^ reference semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/BaseCharRenderer#[T] @@ -146,18 +188,26 @@ class BaseCharRenderer[T <: upickle.core.CharOps.Output] // ^^^^^^^^^^^^ reference semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/BaseCharRenderer#renderIndent(). def subVisitor = BaseCharRenderer.this // ^^^^^^^^^^ definition local 0 -// documentation ```scala\ndef subVisitor: BaseCharRenderer[T]\n``` +// display_name subVisitor +// signature_documentation scala def subVisitor: BaseCharRenderer[T] +// kind Method // relationship is_reference is_implementation semanticdb maven maven/com.lihaoyi/upickle-core_2.13 1.4.0 upickle/core/ObjArrVisitor#subVisitor(). // ^^^^^^^^^^^^^^^^ reference semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/BaseCharRenderer# def visitValue(v: T, index: Int): Unit = { // ^^^^^^^^^^ definition local 2 -// documentation ```scala\ndef visitValue(v: T, index: Int): Unit\n``` +// display_name visitValue +// signature_documentation scala def visitValue(v: T, index: Int): Unit +// kind Method // relationship is_reference is_implementation semanticdb maven maven/com.lihaoyi/upickle-core_2.13 1.4.0 upickle/core/ObjArrVisitor#visitValue(). // ^ definition local 4 -// documentation ```scala\nv: T \n``` +// display_name v +// signature_documentation scala v: T +// kind Parameter // ^ reference semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/BaseCharRenderer#[T] // ^^^^^ definition local 5 -// documentation ```scala\nindex: Int \n``` +// display_name index +// signature_documentation scala index: Int +// kind Parameter // ^^^ reference semanticdb maven maven/org.scala-lang/scala-library 2.13.13 scala/Int# // ^^^^ reference semanticdb maven maven/org.scala-lang/scala-library 2.13.13 scala/Unit# flushBuffer() @@ -167,10 +217,14 @@ class BaseCharRenderer[T <: upickle.core.CharOps.Output] } def visitEnd(index: Int) = { // ^^^^^^^^ definition local 3 -// documentation ```scala\ndef visitEnd(index: Int): T\n``` +// display_name visitEnd +// signature_documentation scala def visitEnd(index: Int): T +// kind Method // relationship is_reference is_implementation semanticdb maven maven/com.lihaoyi/upickle-core_2.13 1.4.0 upickle/core/ObjArrVisitor#visitEnd(). // ^^^^^ definition local 6 -// documentation ```scala\nindex: Int \n``` +// display_name index +// signature_documentation scala index: Int +// kind Parameter // ^^^ reference semanticdb maven maven/org.scala-lang/scala-library 2.13.13 scala/Int# commaBuffered = false // ^^^^^^^^^^^^^ reference semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/BaseCharRenderer#commaBuffered(). @@ -191,16 +245,24 @@ class BaseCharRenderer[T <: upickle.core.CharOps.Output] def visitObject(length: Int, index: Int) = new ObjVisitor[T, T] { // ^^^^^^^^^^^ definition semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/BaseCharRenderer#visitObject(). -// documentation ```scala\ndef visitObject(length: Int, index: Int): { def subVisitor: BaseCharRenderer[T]; def visitKey(index: Int): BaseCharRenderer[T] }\n``` +// display_name visitObject +// signature_documentation scala def visitObject(length: Int, index: Int): { def subVisitor: BaseCharRenderer[T]; def visitKey(index: Int): BaseCharRenderer[T] } +// kind Method // relationship is_reference is_implementation semanticdb maven maven/com.lihaoyi/upickle-core_2.13 1.4.0 upickle/core/Visitor#visitObject(). // ^^^^^^ definition semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/BaseCharRenderer#visitObject().(length) -// documentation ```scala\nlength: Int \n``` +// display_name length +// signature_documentation scala length: Int +// kind Parameter // ^^^ reference semanticdb maven maven/org.scala-lang/scala-library 2.13.13 scala/Int# // ^^^^^ definition semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/BaseCharRenderer#visitObject().(index) -// documentation ```scala\nindex: Int \n``` +// display_name index +// signature_documentation scala index: Int +// kind Parameter // ^^^ reference semanticdb maven maven/org.scala-lang/scala-library 2.13.13 scala/Int# // ^ definition local 10 -// documentation ```scala\nfinal class $anon\n``` +// display_name $anon +// signature_documentation scala final class $anon +// kind Class // ^^^^^^^^^^ reference semanticdb maven maven/com.lihaoyi/upickle-core_2.13 1.4.0 upickle/core/ObjVisitor# // ^ reference semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/BaseCharRenderer#[T] // ^ reference semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/BaseCharRenderer#[T] @@ -217,23 +279,33 @@ class BaseCharRenderer[T <: upickle.core.CharOps.Output] // ^^^^^^^^^^^^ reference semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/BaseCharRenderer#renderIndent(). def subVisitor = BaseCharRenderer.this // ^^^^^^^^^^ definition local 7 -// documentation ```scala\ndef subVisitor: BaseCharRenderer[T]\n``` +// display_name subVisitor +// signature_documentation scala def subVisitor: BaseCharRenderer[T] +// kind Method // relationship is_reference is_implementation semanticdb maven maven/com.lihaoyi/upickle-core_2.13 1.4.0 upickle/core/ObjArrVisitor#subVisitor(). // ^^^^^^^^^^^^^^^^ reference semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/BaseCharRenderer# def visitKey(index: Int) = BaseCharRenderer.this // ^^^^^^^^ definition local 8 -// documentation ```scala\ndef visitKey(index: Int): BaseCharRenderer[T]\n``` +// display_name visitKey +// signature_documentation scala def visitKey(index: Int): BaseCharRenderer[T] +// kind Method // relationship is_reference is_implementation semanticdb maven maven/com.lihaoyi/upickle-core_2.13 1.4.0 upickle/core/ObjVisitor#visitKey(). // ^^^^^ definition local 9 -// documentation ```scala\nindex: Int \n``` +// display_name index +// signature_documentation scala index: Int +// kind Parameter // ^^^ reference semanticdb maven maven/org.scala-lang/scala-library 2.13.13 scala/Int# // ^^^^^^^^^^^^^^^^ reference semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/BaseCharRenderer# def visitKeyValue(s: Any): Unit = { // ^^^^^^^^^^^^^ definition local 11 -// documentation ```scala\ndef visitKeyValue(s: Any): Unit\n``` +// display_name visitKeyValue +// signature_documentation scala def visitKeyValue(s: Any): Unit +// kind Method // relationship is_reference is_implementation semanticdb maven maven/com.lihaoyi/upickle-core_2.13 1.4.0 upickle/core/ObjVisitor#visitKeyValue(). // ^ definition local 14 -// documentation ```scala\ns: Any \n``` +// display_name s +// signature_documentation scala s: Any +// kind Parameter // ^^^ reference semanticdb maven . . scala/Any# // ^^^^ reference semanticdb maven maven/org.scala-lang/scala-library 2.13.13 scala/Unit# elemBuilder.append(':') @@ -247,13 +319,19 @@ class BaseCharRenderer[T <: upickle.core.CharOps.Output] } def visitValue(v: T, index: Int): Unit = { // ^^^^^^^^^^ definition local 12 -// documentation ```scala\ndef visitValue(v: T, index: Int): Unit\n``` +// display_name visitValue +// signature_documentation scala def visitValue(v: T, index: Int): Unit +// kind Method // relationship is_reference is_implementation semanticdb maven maven/com.lihaoyi/upickle-core_2.13 1.4.0 upickle/core/ObjArrVisitor#visitValue(). // ^ definition local 15 -// documentation ```scala\nv: T \n``` +// display_name v +// signature_documentation scala v: T +// kind Parameter // ^ reference semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/BaseCharRenderer#[T] // ^^^^^ definition local 16 -// documentation ```scala\nindex: Int \n``` +// display_name index +// signature_documentation scala index: Int +// kind Parameter // ^^^ reference semanticdb maven maven/org.scala-lang/scala-library 2.13.13 scala/Int# // ^^^^ reference semanticdb maven maven/org.scala-lang/scala-library 2.13.13 scala/Unit# commaBuffered = true @@ -261,10 +339,14 @@ class BaseCharRenderer[T <: upickle.core.CharOps.Output] } def visitEnd(index: Int) = { // ^^^^^^^^ definition local 13 -// documentation ```scala\ndef visitEnd(index: Int): T\n``` +// display_name visitEnd +// signature_documentation scala def visitEnd(index: Int): T +// kind Method // relationship is_reference is_implementation semanticdb maven maven/com.lihaoyi/upickle-core_2.13 1.4.0 upickle/core/ObjArrVisitor#visitEnd(). // ^^^^^ definition local 17 -// documentation ```scala\nindex: Int \n``` +// display_name index +// signature_documentation scala index: Int +// kind Parameter // ^^^ reference semanticdb maven maven/org.scala-lang/scala-library 2.13.13 scala/Int# commaBuffered = false // ^^^^^^^^^^^^^ reference semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/BaseCharRenderer#commaBuffered(). @@ -285,10 +367,14 @@ class BaseCharRenderer[T <: upickle.core.CharOps.Output] def visitNull(index: Int) = { // ^^^^^^^^^ definition semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/BaseCharRenderer#visitNull(). -// documentation ```scala\ndef visitNull(index: Int): T\n``` +// display_name visitNull +// signature_documentation scala def visitNull(index: Int): T +// kind Method // relationship is_reference is_implementation semanticdb maven maven/com.lihaoyi/upickle-core_2.13 1.4.0 upickle/core/Visitor#visitNull(). // ^^^^^ definition semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/BaseCharRenderer#visitNull().(index) -// documentation ```scala\nindex: Int \n``` +// display_name index +// signature_documentation scala index: Int +// kind Parameter // ^^^ reference semanticdb maven maven/org.scala-lang/scala-library 2.13.13 scala/Int# flushBuffer() // ^^^^^^^^^^^ reference semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/BaseCharRenderer#flushBuffer(). @@ -315,10 +401,14 @@ class BaseCharRenderer[T <: upickle.core.CharOps.Output] def visitFalse(index: Int) = { // ^^^^^^^^^^ definition semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/BaseCharRenderer#visitFalse(). -// documentation ```scala\ndef visitFalse(index: Int): T\n``` +// display_name visitFalse +// signature_documentation scala def visitFalse(index: Int): T +// kind Method // relationship is_reference is_implementation semanticdb maven maven/com.lihaoyi/upickle-core_2.13 1.4.0 upickle/core/Visitor#visitFalse(). // ^^^^^ definition semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/BaseCharRenderer#visitFalse().(index) -// documentation ```scala\nindex: Int \n``` +// display_name index +// signature_documentation scala index: Int +// kind Parameter // ^^^ reference semanticdb maven maven/org.scala-lang/scala-library 2.13.13 scala/Int# flushBuffer() // ^^^^^^^^^^^ reference semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/BaseCharRenderer#flushBuffer(). @@ -348,10 +438,14 @@ class BaseCharRenderer[T <: upickle.core.CharOps.Output] def visitTrue(index: Int) = { // ^^^^^^^^^ definition semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/BaseCharRenderer#visitTrue(). -// documentation ```scala\ndef visitTrue(index: Int): T\n``` +// display_name visitTrue +// signature_documentation scala def visitTrue(index: Int): T +// kind Method // relationship is_reference is_implementation semanticdb maven maven/com.lihaoyi/upickle-core_2.13 1.4.0 upickle/core/Visitor#visitTrue(). // ^^^^^ definition semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/BaseCharRenderer#visitTrue().(index) -// documentation ```scala\nindex: Int \n``` +// display_name index +// signature_documentation scala index: Int +// kind Parameter // ^^^ reference semanticdb maven maven/org.scala-lang/scala-library 2.13.13 scala/Int# flushBuffer() // ^^^^^^^^^^^ reference semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/BaseCharRenderer#flushBuffer(). @@ -378,19 +472,29 @@ class BaseCharRenderer[T <: upickle.core.CharOps.Output] def visitFloat64StringParts(s: CharSequence, decIndex: Int, expIndex: Int, index: Int) = { // ^^^^^^^^^^^^^^^^^^^^^^^ definition semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/BaseCharRenderer#visitFloat64StringParts(). -// documentation ```scala\ndef visitFloat64StringParts(s: CharSequence, decIndex: Int, expIndex: Int, index: Int): T\n``` +// display_name visitFloat64StringParts +// signature_documentation scala def visitFloat64StringParts(s: CharSequence, decIndex: Int, expIndex: Int, index: Int): T +// kind Method // relationship is_reference is_implementation semanticdb maven maven/com.lihaoyi/upickle-core_2.13 1.4.0 upickle/core/Visitor#visitFloat64StringParts(). // ^ definition semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/BaseCharRenderer#visitFloat64StringParts().(s) -// documentation ```scala\ns: CharSequence \n``` +// display_name s +// signature_documentation scala s: CharSequence +// kind Parameter // ^^^^^^^^^^^^ reference semanticdb maven jdk 11 java/lang/CharSequence# // ^^^^^^^^ definition semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/BaseCharRenderer#visitFloat64StringParts().(decIndex) -// documentation ```scala\ndecIndex: Int \n``` +// display_name decIndex +// signature_documentation scala decIndex: Int +// kind Parameter // ^^^ reference semanticdb maven maven/org.scala-lang/scala-library 2.13.13 scala/Int# // ^^^^^^^^ definition semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/BaseCharRenderer#visitFloat64StringParts().(expIndex) -// documentation ```scala\nexpIndex: Int \n``` +// display_name expIndex +// signature_documentation scala expIndex: Int +// kind Parameter // ^^^ reference semanticdb maven maven/org.scala-lang/scala-library 2.13.13 scala/Int# // ^^^^^ definition semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/BaseCharRenderer#visitFloat64StringParts().(index) -// documentation ```scala\nindex: Int \n``` +// display_name index +// signature_documentation scala index: Int +// kind Parameter // ^^^ reference semanticdb maven maven/org.scala-lang/scala-library 2.13.13 scala/Int# flushBuffer() // ^^^^^^^^^^^ reference semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/BaseCharRenderer#flushBuffer(). @@ -401,10 +505,14 @@ class BaseCharRenderer[T <: upickle.core.CharOps.Output] // ^^^^^^ reference semanticdb maven jdk 11 java/lang/CharSequence#length(). var i = 0 // ^ definition local 18 -// documentation ```scala\ni: Int \n``` +// display_name i +// signature_documentation scala i: Int +// kind Variable val sLength = s.length // ^^^^^^^ definition local 19 -// documentation ```scala\nsLength: Int \n``` +// display_name sLength +// signature_documentation scala sLength: Int +// kind Variable // ^ reference semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/BaseCharRenderer#visitFloat64StringParts().(s) // ^^^^^^ reference semanticdb maven jdk 11 java/lang/CharSequence#length(). while(i < sLength){ @@ -429,14 +537,20 @@ class BaseCharRenderer[T <: upickle.core.CharOps.Output] override def visitFloat64(d: Double, index: Int) = { // ^^^^^^^^^^^^ definition semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/BaseCharRenderer#visitFloat64(). -// documentation ```scala\ndef visitFloat64(d: Double, index: Int): T\n``` +// display_name visitFloat64 +// signature_documentation scala def visitFloat64(d: Double, index: Int): T +// kind Method // relationship is_reference is_implementation semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/JsVisitor#visitFloat64(). // relationship is_reference is_implementation semanticdb maven maven/com.lihaoyi/upickle-core_2.13 1.4.0 upickle/core/Visitor#visitFloat64(). // ^ definition semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/BaseCharRenderer#visitFloat64().(d) -// documentation ```scala\nd: Double \n``` +// display_name d +// signature_documentation scala d: Double +// kind Parameter // ^^^^^^ reference semanticdb maven maven/org.scala-lang/scala-library 2.13.13 scala/Double# // ^^^^^ definition semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/BaseCharRenderer#visitFloat64().(index) -// documentation ```scala\nindex: Int \n``` +// display_name index +// signature_documentation scala index: Int +// kind Parameter // ^^^ reference semanticdb maven maven/org.scala-lang/scala-library 2.13.13 scala/Int# d match{ // ^ reference semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/BaseCharRenderer#visitFloat64().(d) @@ -450,7 +564,9 @@ class BaseCharRenderer[T <: upickle.core.CharOps.Output] // ^^^^^^^^^^^^^^^^^^ reference semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/BaseCharRenderer#visitNonNullString(). case d if java.lang.Double.isNaN(d) => visitNonNullString("NaN", -1) // ^ definition local 21 -// documentation ```scala\nd: Double \n``` +// display_name d +// signature_documentation scala d: Double +// kind Variable // ^^^^ reference semanticdb maven . . java/ // ^^^^ reference semanticdb maven . . java/lang/ // ^^^^^^ reference semanticdb maven jdk 11 java/lang/Double# @@ -459,10 +575,14 @@ class BaseCharRenderer[T <: upickle.core.CharOps.Output] // ^^^^^^^^^^^^^^^^^^ reference semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/BaseCharRenderer#visitNonNullString(). case d => // ^ definition local 22 -// documentation ```scala\nd: Double \n``` +// display_name d +// signature_documentation scala d: Double +// kind Variable val i = d.toInt // ^ definition local 23 -// documentation ```scala\ni: Int \n``` +// display_name i +// signature_documentation scala i: Int +// kind Variable // ^ reference local 22 // ^^^^^ reference semanticdb maven maven/org.scala-lang/scala-library 2.13.13 scala/Double#toInt(). if (d == i) visitFloat64StringParts(i.toString, -1, -1, index) @@ -489,13 +609,19 @@ class BaseCharRenderer[T <: upickle.core.CharOps.Output] def visitString(s: CharSequence, index: Int) = { // ^^^^^^^^^^^ definition semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/BaseCharRenderer#visitString(). -// documentation ```scala\ndef visitString(s: CharSequence, index: Int): T\n``` +// display_name visitString +// signature_documentation scala def visitString(s: CharSequence, index: Int): T +// kind Method // relationship is_reference is_implementation semanticdb maven maven/com.lihaoyi/upickle-core_2.13 1.4.0 upickle/core/Visitor#visitString(). // ^ definition semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/BaseCharRenderer#visitString().(s) -// documentation ```scala\ns: CharSequence \n``` +// display_name s +// signature_documentation scala s: CharSequence +// kind Parameter // ^^^^^^^^^^^^ reference semanticdb maven jdk 11 java/lang/CharSequence# // ^^^^^ definition semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/BaseCharRenderer#visitString().(index) -// documentation ```scala\nindex: Int \n``` +// display_name index +// signature_documentation scala index: Int +// kind Parameter // ^^^ reference semanticdb maven maven/org.scala-lang/scala-library 2.13.13 scala/Int# if (s eq null) visitNull(index) @@ -511,12 +637,18 @@ class BaseCharRenderer[T <: upickle.core.CharOps.Output] def visitNonNullString(s: CharSequence, index: Int) = { // ^^^^^^^^^^^^^^^^^^ definition semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/BaseCharRenderer#visitNonNullString(). -// documentation ```scala\ndef visitNonNullString(s: CharSequence, index: Int): T\n``` +// display_name visitNonNullString +// signature_documentation scala def visitNonNullString(s: CharSequence, index: Int): T +// kind Method // ^ definition semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/BaseCharRenderer#visitNonNullString().(s) -// documentation ```scala\ns: CharSequence \n``` +// display_name s +// signature_documentation scala s: CharSequence +// kind Parameter // ^^^^^^^^^^^^ reference semanticdb maven jdk 11 java/lang/CharSequence# // ^^^^^ definition semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/BaseCharRenderer#visitNonNullString().(index) -// documentation ```scala\nindex: Int \n``` +// display_name index +// signature_documentation scala index: Int +// kind Parameter // ^^^ reference semanticdb maven maven/org.scala-lang/scala-library 2.13.13 scala/Int# flushBuffer() // ^^^^^^^^^^^ reference semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/BaseCharRenderer#flushBuffer(). @@ -537,14 +669,18 @@ class BaseCharRenderer[T <: upickle.core.CharOps.Output] final def renderIndent() = { // ^^^^^^^^^^^^ definition semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/BaseCharRenderer#renderIndent(). -// documentation ```scala\nfinal def renderIndent(): Unit\n``` +// display_name renderIndent +// signature_documentation scala final def renderIndent(): Unit +// kind Method if (indent == -1) () // ^^^^^^ reference semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/BaseCharRenderer#indent. // ^^ reference semanticdb maven maven/org.scala-lang/scala-library 2.13.13 scala/Int#`==`(+3). else { var i = indent * depth // ^ definition local 24 -// documentation ```scala\ni: Int \n``` +// display_name i +// signature_documentation scala i: Int +// kind Variable // ^^^^^^ reference semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/BaseCharRenderer#indent. // ^ reference semanticdb maven maven/org.scala-lang/scala-library 2.13.13 scala/Int#`*`(+3). // ^^^^^ reference semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/BaseCharRenderer#depth(). diff --git a/tests/snapshots/src/main/generated/ByteParser.scala b/tests/snapshots/src/main/generated/ByteParser.scala index 2f0a87c0f..645c034b7 100644 --- a/tests/snapshots/src/main/generated/ByteParser.scala +++ b/tests/snapshots/src/main/generated/ByteParser.scala @@ -39,23 +39,33 @@ import scala.annotation.{switch, tailrec} */ abstract class ByteParser[J] extends upickle.core.BufferingByteParser{ // ^^^^^^^^^^ definition semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/ByteParser# -// documentation ```scala\nabstract class ByteParser[J]\n``` +// display_name ByteParser +// signature_documentation scala abstract class ByteParser[J] +// kind Class // ^ definition semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/ByteParser#[J] -// documentation ```scala\nJ\n``` +// display_name J +// signature_documentation scala J +// kind TypeParameter // ^ definition semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/ByteParser#``(). -// documentation ```scala\ndef this()\n``` +// display_name +// signature_documentation scala def this() +// kind Constructor // ^^^^^^^ reference semanticdb maven . . upickle/ // ^^^^ reference semanticdb maven . . upickle/core/ // ^^^^^^^^^^^^^^^^^^^ reference semanticdb maven maven/com.lihaoyi/upickle-core_2.13 1.4.0 upickle/core/BufferingByteParser# private[this] val elemOps = upickle.core.ByteOps // ^^^^^^^ definition semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/ByteParser#elemOps. -// documentation ```scala\nprivate[this] val elemOps: \n``` +// display_name elemOps +// signature_documentation scala private[this] val elemOps: +// kind Method // ^^^^^^^ reference semanticdb maven . . upickle/ // ^^^^ reference semanticdb maven . . upickle/core/ // ^^^^^^^ reference semanticdb maven maven/com.lihaoyi/upickle-core_2.13 1.4.0 upickle/core/ByteOps. private[this] val outputBuilder = new upickle.core.ByteBuilder() // ^^^^^^^^^^^^^ definition semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/ByteParser#outputBuilder. -// documentation ```scala\nprivate[this] val outputBuilder: ByteBuilder\n``` +// display_name outputBuilder +// signature_documentation scala private[this] val outputBuilder: ByteBuilder +// kind Method // ^^^^^^^ reference semanticdb maven . . upickle/ // ^^^^ reference semanticdb maven . . upickle/core/ // ^^^^^^^^^^^ reference semanticdb maven maven/com.lihaoyi/upickle-core_2.13 1.4.0 upickle/core/ByteBuilder# @@ -63,9 +73,13 @@ abstract class ByteParser[J] extends upickle.core.BufferingByteParser{ def requestUntilOrThrow(i: Int) = { // ^^^^^^^^^^^^^^^^^^^ definition semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/ByteParser#requestUntilOrThrow(). -// documentation ```scala\ndef requestUntilOrThrow(i: Int): Unit\n``` +// display_name requestUntilOrThrow +// signature_documentation scala def requestUntilOrThrow(i: Int): Unit +// kind Method // ^ definition semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/ByteParser#requestUntilOrThrow().(i) -// documentation ```scala\ni: Int \n``` +// display_name i +// signature_documentation scala i: Int +// kind Parameter // ^^^ reference semanticdb maven maven/org.scala-lang/scala-library 2.13.13 scala/Int# if (requestUntil(i)) throw new IncompleteParseException("exhausted input") // ^^^^^^^^^^^^ reference semanticdb maven maven/com.lihaoyi/upickle-core_2.13 1.4.0 upickle/core/BufferingByteParser#requestUntil(). @@ -75,10 +89,14 @@ abstract class ByteParser[J] extends upickle.core.BufferingByteParser{ } override def getByteSafe(i: Int): Byte = { // ^^^^^^^^^^^ definition semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/ByteParser#getByteSafe(). -// documentation ```scala\ndef getByteSafe(i: Int): Byte\n``` +// display_name getByteSafe +// signature_documentation scala def getByteSafe(i: Int): Byte +// kind Method // relationship is_reference is_implementation semanticdb maven maven/com.lihaoyi/upickle-core_2.13 1.4.0 upickle/core/BufferingByteParser#getByteSafe(). // ^ definition semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/ByteParser#getByteSafe().(i) -// documentation ```scala\ni: Int \n``` +// display_name i +// signature_documentation scala i: Int +// kind Parameter // ^^^ reference semanticdb maven maven/org.scala-lang/scala-library 2.13.13 scala/Int# // ^^^^ reference semanticdb maven maven/org.scala-lang/scala-library 2.13.13 scala/Byte# requestUntilOrThrow(i) @@ -94,9 +112,13 @@ abstract class ByteParser[J] extends upickle.core.BufferingByteParser{ */ protected[this] def atEof(i: Int) = requestUntil(i) // ^^^^^ definition semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/ByteParser#atEof(). -// documentation ```scala\ndef atEof(i: Int): Boolean\n``` +// display_name atEof +// signature_documentation scala def atEof(i: Int): Boolean +// kind Method // ^ definition semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/ByteParser#atEof().(i) -// documentation ```scala\ni: Int \n``` +// display_name i +// signature_documentation scala i: Int +// kind Parameter // ^^^ reference semanticdb maven maven/org.scala-lang/scala-library 2.13.13 scala/Int# // ^^^^^^^^^^^^ reference semanticdb maven maven/com.lihaoyi/upickle-core_2.13 1.4.0 upickle/core/BufferingByteParser#requestUntil(). // ^ reference semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/ByteParser#atEof().(i) @@ -106,7 +128,9 @@ abstract class ByteParser[J] extends upickle.core.BufferingByteParser{ */ protected[this] def close(): Unit // ^^^^^ definition semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/ByteParser#close(). -// documentation ```scala\ndef close(): Unit\n``` +// display_name close +// signature_documentation scala def close(): Unit +// kind AbstractMethod // relationship is_reference is_implementation semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/ByteArrayParser#close(). // relationship is_reference is_implementation semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/ByteBufferParser#close(). // relationship is_reference is_implementation semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/InputStreamParser#close(). @@ -119,37 +143,51 @@ abstract class ByteParser[J] extends upickle.core.BufferingByteParser{ // ^^^^^^ reference semanticdb maven maven/org.scala-lang/scala-library 2.13.13 scala/inline# // ^ reference semanticdb maven maven/org.scala-lang/scala-library 2.13.13 scala/inline#``(). // ^^^^^^ definition semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/ByteParser#ARRBEG. -// documentation ```scala\n@inline\nprivate[this] final val ARRBEG: 6\n``` +// display_name ARRBEG +// signature_documentation scala @inline\nprivate[this] final val ARRBEG: 6 +// kind Method @inline private[this] final val OBJBEG = 7 // ^^^^^^ reference semanticdb maven maven/org.scala-lang/scala-library 2.13.13 scala/inline# // ^ reference semanticdb maven maven/org.scala-lang/scala-library 2.13.13 scala/inline#``(). // ^^^^^^ definition semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/ByteParser#OBJBEG. -// documentation ```scala\n@inline\nprivate[this] final val OBJBEG: 7\n``` +// display_name OBJBEG +// signature_documentation scala @inline\nprivate[this] final val OBJBEG: 7 +// kind Method @inline private[this] final val DATA = 1 // ^^^^^^ reference semanticdb maven maven/org.scala-lang/scala-library 2.13.13 scala/inline# // ^ reference semanticdb maven maven/org.scala-lang/scala-library 2.13.13 scala/inline#``(). // ^^^^ definition semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/ByteParser#DATA. -// documentation ```scala\n@inline\nprivate[this] final val DATA: 1\n``` +// display_name DATA +// signature_documentation scala @inline\nprivate[this] final val DATA: 1 +// kind Method @inline private[this] final val KEY = 2 // ^^^^^^ reference semanticdb maven maven/org.scala-lang/scala-library 2.13.13 scala/inline# // ^ reference semanticdb maven maven/org.scala-lang/scala-library 2.13.13 scala/inline#``(). // ^^^ definition semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/ByteParser#KEY. -// documentation ```scala\n@inline\nprivate[this] final val KEY: 2\n``` +// display_name KEY +// signature_documentation scala @inline\nprivate[this] final val KEY: 2 +// kind Method @inline private[this] final val COLON = 3 // ^^^^^^ reference semanticdb maven maven/org.scala-lang/scala-library 2.13.13 scala/inline# // ^ reference semanticdb maven maven/org.scala-lang/scala-library 2.13.13 scala/inline#``(). // ^^^^^ definition semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/ByteParser#COLON. -// documentation ```scala\n@inline\nprivate[this] final val COLON: 3\n``` +// display_name COLON +// signature_documentation scala @inline\nprivate[this] final val COLON: 3 +// kind Method @inline private[this] final val ARREND = 4 // ^^^^^^ reference semanticdb maven maven/org.scala-lang/scala-library 2.13.13 scala/inline# // ^ reference semanticdb maven maven/org.scala-lang/scala-library 2.13.13 scala/inline#``(). // ^^^^^^ definition semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/ByteParser#ARREND. -// documentation ```scala\n@inline\nprivate[this] final val ARREND: 4\n``` +// display_name ARREND +// signature_documentation scala @inline\nprivate[this] final val ARREND: 4 +// kind Method @inline private[this] final val OBJEND = 5 // ^^^^^^ reference semanticdb maven maven/org.scala-lang/scala-library 2.13.13 scala/inline# // ^ reference semanticdb maven maven/org.scala-lang/scala-library 2.13.13 scala/inline#``(). // ^^^^^^ definition semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/ByteParser#OBJEND. -// documentation ```scala\n@inline\nprivate[this] final val OBJEND: 5\n``` +// display_name OBJEND +// signature_documentation scala @inline\nprivate[this] final val OBJEND: 5 +// kind Method /** * Parse the JSON document into a single JSON value. @@ -160,22 +198,32 @@ abstract class ByteParser[J] extends upickle.core.BufferingByteParser{ */ final def parse(facade: Visitor[_, J]): J = { // ^^^^^ definition semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/ByteParser#parse(). -// documentation ```scala\nfinal def parse(facade: Visitor[local0, J[): J\n``` +// display_name parse +// signature_documentation scala final def parse(facade: Visitor[local0, J[): J +// kind Method // ^^^^^^ definition semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/ByteParser#parse().(facade) -// documentation ```scala\nfacade: Visitor[local0, J[ \n``` +// display_name facade +// signature_documentation scala facade: Visitor[local0, J[ +// kind Parameter // ^^^^^^^ reference semanticdb maven maven/com.lihaoyi/upickle-core_2.13 1.4.0 upickle/core/Visitor# // ^ reference semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/ByteParser#[J] // ^ reference semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/ByteParser#[J] val (value, i) = parseTopLevel(0, facade) // ^^^^^ definition local 2 -// documentation ```scala\nvalue: J \n``` +// display_name value +// signature_documentation scala value: J +// kind Variable // ^ definition local 3 -// documentation ```scala\ni: Int \n``` +// display_name i +// signature_documentation scala i: Int +// kind Variable // ^^^^^^^^^^^^^ reference semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/ByteParser#parseTopLevel(). // ^^^^^^ reference semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/ByteParser#parse().(facade) var j = i // ^ definition local 4 -// documentation ```scala\nj: Int \n``` +// display_name j +// signature_documentation scala j: Int +// kind Variable // ^ reference local 3 while (!atEof(j)) { // ^ reference semanticdb maven maven/org.scala-lang/scala-library 2.13.13 scala/Boolean#`unary_!`(). @@ -209,17 +257,25 @@ abstract class ByteParser[J] extends upickle.core.BufferingByteParser{ */ protected[this] def die(i: Int, msg: String): Nothing = { // ^^^ definition semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/ByteParser#die(). -// documentation ```scala\ndef die(i: Int, msg: String): Nothing\n``` +// display_name die +// signature_documentation scala def die(i: Int, msg: String): Nothing +// kind Method // ^ definition semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/ByteParser#die().(i) -// documentation ```scala\ni: Int \n``` +// display_name i +// signature_documentation scala i: Int +// kind Parameter // ^^^ reference semanticdb maven maven/org.scala-lang/scala-library 2.13.13 scala/Int# // ^^^ definition semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/ByteParser#die().(msg) -// documentation ```scala\nmsg: String \n``` +// display_name msg +// signature_documentation scala msg: String +// kind Parameter // ^^^^^^ reference semanticdb maven maven/org.scala-lang/scala-library 2.13.13 scala/Predef.String# // ^^^^^^^ reference semanticdb maven . . scala/Nothing# val out = new upickle.core.ByteBuilder() // ^^^ definition local 6 -// documentation ```scala\nout: ByteBuilder \n``` +// display_name out +// signature_documentation scala out: ByteBuilder +// kind Variable // ^^^^^^^ reference semanticdb maven . . upickle/ // ^^^^ reference semanticdb maven . . upickle/core/ // ^^^^^^^^^^^ reference semanticdb maven maven/com.lihaoyi/upickle-core_2.13 1.4.0 upickle/core/ByteBuilder# @@ -250,7 +306,9 @@ abstract class ByteParser[J] extends upickle.core.BufferingByteParser{ ) val s = "%s got %s" format (msg, out.makeString()) // ^ definition local 7 -// documentation ```scala\ns: String \n``` +// display_name s +// signature_documentation scala s: String +// kind Variable // ^^^^^^ reference semanticdb maven maven/org.scala-lang/scala-library 2.13.13 scala/collection/StringOps#format(). // ^^^ reference semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/ByteParser#die().(msg) // ^^^ reference local 6 @@ -273,35 +331,51 @@ abstract class ByteParser[J] extends upickle.core.BufferingByteParser{ */ protected[this] final def parseNum(i: Int, ctxt: ObjArrVisitor[Any, J], facade: Visitor[_, J]): Int = { // ^^^^^^^^ definition semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/ByteParser#parseNum(). -// documentation ```scala\nfinal def parseNum(i: Int, ctxt: ObjArrVisitor[Any, J], facade: Visitor[local8, J[): Int\n``` +// display_name parseNum +// signature_documentation scala final def parseNum(i: Int, ctxt: ObjArrVisitor[Any, J], facade: Visitor[local8, J[): Int +// kind Method // ^ definition semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/ByteParser#parseNum().(i) -// documentation ```scala\ni: Int \n``` +// display_name i +// signature_documentation scala i: Int +// kind Parameter // ^^^ reference semanticdb maven maven/org.scala-lang/scala-library 2.13.13 scala/Int# // ^^^^ definition semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/ByteParser#parseNum().(ctxt) -// documentation ```scala\nctxt: ObjArrVisitor[Any, J] \n``` +// display_name ctxt +// signature_documentation scala ctxt: ObjArrVisitor[Any, J] +// kind Parameter // ^^^^^^^^^^^^^ reference semanticdb maven maven/com.lihaoyi/upickle-core_2.13 1.4.0 upickle/core/ObjArrVisitor# // ^^^ reference semanticdb maven . . scala/Any# // ^ reference semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/ByteParser#[J] // ^^^^^^ definition semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/ByteParser#parseNum().(facade) -// documentation ```scala\nfacade: Visitor[local8, J[ \n``` +// display_name facade +// signature_documentation scala facade: Visitor[local8, J[ +// kind Parameter // ^^^^^^^ reference semanticdb maven maven/com.lihaoyi/upickle-core_2.13 1.4.0 upickle/core/Visitor# // ^ reference semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/ByteParser#[J] // ^^^ reference semanticdb maven maven/org.scala-lang/scala-library 2.13.13 scala/Int# var j = i // ^ definition local 9 -// documentation ```scala\nj: Int \n``` +// display_name j +// signature_documentation scala j: Int +// kind Variable // ^ reference semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/ByteParser#parseNum().(i) var c = getByteSafe(j) // ^ definition local 10 -// documentation ```scala\nc: Byte \n``` +// display_name c +// signature_documentation scala c: Byte +// kind Variable // ^^^^^^^^^^^ reference semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/ByteParser#getByteSafe(). // ^ reference local 9 var decIndex = -1 // ^^^^^^^^ definition local 11 -// documentation ```scala\ndecIndex: Int \n``` +// display_name decIndex +// signature_documentation scala decIndex: Int +// kind Variable var expIndex = -1 // ^^^^^^^^ definition local 12 -// documentation ```scala\nexpIndex: Int \n``` +// display_name expIndex +// signature_documentation scala expIndex: Int +// kind Variable if (c == '-') { // ^ reference local 10 @@ -327,7 +401,9 @@ abstract class ByteParser[J] extends upickle.core.BufferingByteParser{ } else { val j0 = j // ^^ definition local 13 -// documentation ```scala\nj0: Int \n``` +// display_name j0 +// signature_documentation scala j0: Int +// kind Variable // ^ reference local 9 while (elemOps.within('0', c, '9')) { // ^^^^^^^ reference semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/ByteParser#elemOps. @@ -366,7 +442,9 @@ abstract class ByteParser[J] extends upickle.core.BufferingByteParser{ // ^ reference local 9 val j0 = j // ^^ definition local 15 -// documentation ```scala\nj0: Int \n``` +// display_name j0 +// signature_documentation scala j0: Int +// kind Variable // ^ reference local 9 while (elemOps.within('0', c, '9')) { // ^^^^^^^ reference semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/ByteParser#elemOps. @@ -422,7 +500,9 @@ abstract class ByteParser[J] extends upickle.core.BufferingByteParser{ } val j0 = j // ^^ definition local 17 -// documentation ```scala\nj0: Int \n``` +// display_name j0 +// signature_documentation scala j0: Int +// kind Variable // ^ reference local 9 while (elemOps.within('0', c, '9')) { // ^^^^^^^ reference semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/ByteParser#elemOps. @@ -460,26 +540,38 @@ abstract class ByteParser[J] extends upickle.core.BufferingByteParser{ def visitFloat64StringPartsWithWrapper(facade: Visitor[_, J], // ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ definition semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/ByteParser#visitFloat64StringPartsWithWrapper(). -// documentation ```scala\ndef visitFloat64StringPartsWithWrapper(facade: Visitor[local19, J[, decIndex: Int, expIndex: Int, i: Int, j: Int): J\n``` +// display_name visitFloat64StringPartsWithWrapper +// signature_documentation scala def visitFloat64StringPartsWithWrapper(facade: Visitor[local19, J[, decIndex: Int, expIndex: Int, i: Int, j: Int): J +// kind Method // ^^^^^^ definition semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/ByteParser#visitFloat64StringPartsWithWrapper().(facade) -// documentation ```scala\nfacade: Visitor[local19, J[ \n``` +// display_name facade +// signature_documentation scala facade: Visitor[local19, J[ +// kind Parameter // ^^^^^^^ reference semanticdb maven maven/com.lihaoyi/upickle-core_2.13 1.4.0 upickle/core/Visitor# // ^ reference semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/ByteParser#[J] decIndex: Int, // ^^^^^^^^ definition semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/ByteParser#visitFloat64StringPartsWithWrapper().(decIndex) -// documentation ```scala\ndecIndex: Int \n``` +// display_name decIndex +// signature_documentation scala decIndex: Int +// kind Parameter // ^^^ reference semanticdb maven maven/org.scala-lang/scala-library 2.13.13 scala/Int# expIndex: Int, // ^^^^^^^^ definition semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/ByteParser#visitFloat64StringPartsWithWrapper().(expIndex) -// documentation ```scala\nexpIndex: Int \n``` +// display_name expIndex +// signature_documentation scala expIndex: Int +// kind Parameter // ^^^ reference semanticdb maven maven/org.scala-lang/scala-library 2.13.13 scala/Int# i: Int, // ^ definition semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/ByteParser#visitFloat64StringPartsWithWrapper().(i) -// documentation ```scala\ni: Int \n``` +// display_name i +// signature_documentation scala i: Int +// kind Parameter // ^^^ reference semanticdb maven maven/org.scala-lang/scala-library 2.13.13 scala/Int# j: Int) = { // ^ definition semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/ByteParser#visitFloat64StringPartsWithWrapper().(j) -// documentation ```scala\nj: Int \n``` +// display_name j +// signature_documentation scala j: Int +// kind Parameter // ^^^ reference semanticdb maven maven/org.scala-lang/scala-library 2.13.13 scala/Int# facade.visitFloat64StringParts( // ^^^^^^ reference semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/ByteParser#visitFloat64StringPartsWithWrapper().(facade) @@ -515,31 +607,45 @@ abstract class ByteParser[J] extends upickle.core.BufferingByteParser{ */ protected[this] final def parseNumTopLevel(i: Int, facade: Visitor[_, J]): (J, Int) = { // ^^^^^^^^^^^^^^^^ definition semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/ByteParser#parseNumTopLevel(). -// documentation ```scala\nfinal def parseNumTopLevel(i: Int, facade: Visitor[local20, J[): (J, Int)\n``` +// display_name parseNumTopLevel +// signature_documentation scala final def parseNumTopLevel(i: Int, facade: Visitor[local20, J[): (J, Int) +// kind Method // ^ definition semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/ByteParser#parseNumTopLevel().(i) -// documentation ```scala\ni: Int \n``` +// display_name i +// signature_documentation scala i: Int +// kind Parameter // ^^^ reference semanticdb maven maven/org.scala-lang/scala-library 2.13.13 scala/Int# // ^^^^^^ definition semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/ByteParser#parseNumTopLevel().(facade) -// documentation ```scala\nfacade: Visitor[local20, J[ \n``` +// display_name facade +// signature_documentation scala facade: Visitor[local20, J[ +// kind Parameter // ^^^^^^^ reference semanticdb maven maven/com.lihaoyi/upickle-core_2.13 1.4.0 upickle/core/Visitor# // ^ reference semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/ByteParser#[J] // ^ reference semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/ByteParser#[J] // ^^^ reference semanticdb maven maven/org.scala-lang/scala-library 2.13.13 scala/Int# var j = i // ^ definition local 21 -// documentation ```scala\nj: Int \n``` +// display_name j +// signature_documentation scala j: Int +// kind Variable // ^ reference semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/ByteParser#parseNumTopLevel().(i) var c = getByteSafe(j) // ^ definition local 22 -// documentation ```scala\nc: Byte \n``` +// display_name c +// signature_documentation scala c: Byte +// kind Variable // ^^^^^^^^^^^ reference semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/ByteParser#getByteSafe(). // ^ reference local 21 var decIndex = -1 // ^^^^^^^^ definition local 23 -// documentation ```scala\ndecIndex: Int \n``` +// display_name decIndex +// signature_documentation scala decIndex: Int +// kind Variable var expIndex = -1 // ^^^^^^^^ definition local 24 -// documentation ```scala\nexpIndex: Int \n``` +// display_name expIndex +// signature_documentation scala expIndex: Int +// kind Variable if (c == '-') { // ^ reference local 22 @@ -578,7 +684,9 @@ abstract class ByteParser[J] extends upickle.core.BufferingByteParser{ } else { val j0 = j // ^^ definition local 25 -// documentation ```scala\nj0: Int \n``` +// display_name j0 +// signature_documentation scala j0: Int +// kind Variable // ^ reference local 21 while (elemOps.within('0', c, '9')) { // ^^^^^^^ reference semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/ByteParser#elemOps. @@ -630,7 +738,9 @@ abstract class ByteParser[J] extends upickle.core.BufferingByteParser{ // ^ reference local 21 val j0 = j // ^^ definition local 27 -// documentation ```scala\nj0: Int \n``` +// display_name j0 +// signature_documentation scala j0: Int +// kind Variable // ^ reference local 21 while (elemOps.within('0', c, '9')) { // ^^^^^^^ reference semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/ByteParser#elemOps. @@ -699,7 +809,9 @@ abstract class ByteParser[J] extends upickle.core.BufferingByteParser{ } val j0 = j // ^^ definition local 29 -// documentation ```scala\nj0: Int \n``` +// display_name j0 +// signature_documentation scala j0: Int +// kind Variable // ^ reference local 21 while (elemOps.within('0', c, '9')) { // ^^^^^^^ reference semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/ByteParser#elemOps. @@ -751,9 +863,13 @@ abstract class ByteParser[J] extends upickle.core.BufferingByteParser{ */ protected[this] final def descape(i: Int): Char = { // ^^^^^^^ definition semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/ByteParser#descape(). -// documentation ```scala\nfinal def descape(i: Int): Char\n``` +// display_name descape +// signature_documentation scala final def descape(i: Int): Char +// kind Method // ^ definition semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/ByteParser#descape().(i) -// documentation ```scala\ni: Int \n``` +// display_name i +// signature_documentation scala i: Int +// kind Parameter // ^^^ reference semanticdb maven maven/org.scala-lang/scala-library 2.13.13 scala/Int# // ^^^^ reference semanticdb maven maven/org.scala-lang/scala-library 2.13.13 scala/Char# import upickle.core.RenderUtils.hex @@ -763,7 +879,9 @@ abstract class ByteParser[J] extends upickle.core.BufferingByteParser{ // ^^^ reference semanticdb maven maven/com.lihaoyi/upickle-core_2.13 1.4.0 upickle/core/RenderUtils.hex(). var x = 0 // ^ definition local 31 -// documentation ```scala\nx: Int \n``` +// display_name x +// signature_documentation scala x: Int +// kind Variable x = (x << 4) | hex(getByteSafe(i+2).toInt) // ^ reference local 31 // ^ reference local 31 @@ -817,12 +935,18 @@ abstract class ByteParser[J] extends upickle.core.BufferingByteParser{ */ protected[this] final def parseTrue(i: Int, facade: Visitor[_, J]): J = { // ^^^^^^^^^ definition semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/ByteParser#parseTrue(). -// documentation ```scala\nfinal def parseTrue(i: Int, facade: Visitor[local32, J[): J\n``` +// display_name parseTrue +// signature_documentation scala final def parseTrue(i: Int, facade: Visitor[local32, J[): J +// kind Method // ^ definition semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/ByteParser#parseTrue().(i) -// documentation ```scala\ni: Int \n``` +// display_name i +// signature_documentation scala i: Int +// kind Parameter // ^^^ reference semanticdb maven maven/org.scala-lang/scala-library 2.13.13 scala/Int# // ^^^^^^ definition semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/ByteParser#parseTrue().(facade) -// documentation ```scala\nfacade: Visitor[local32, J[ \n``` +// display_name facade +// signature_documentation scala facade: Visitor[local32, J[ +// kind Parameter // ^^^^^^^ reference semanticdb maven maven/com.lihaoyi/upickle-core_2.13 1.4.0 upickle/core/Visitor# // ^ reference semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/ByteParser#[J] // ^ reference semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/ByteParser#[J] @@ -863,12 +987,18 @@ abstract class ByteParser[J] extends upickle.core.BufferingByteParser{ */ protected[this] final def parseFalse(i: Int, facade: Visitor[_, J]): J = { // ^^^^^^^^^^ definition semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/ByteParser#parseFalse(). -// documentation ```scala\nfinal def parseFalse(i: Int, facade: Visitor[local33, J[): J\n``` +// display_name parseFalse +// signature_documentation scala final def parseFalse(i: Int, facade: Visitor[local33, J[): J +// kind Method // ^ definition semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/ByteParser#parseFalse().(i) -// documentation ```scala\ni: Int \n``` +// display_name i +// signature_documentation scala i: Int +// kind Parameter // ^^^ reference semanticdb maven maven/org.scala-lang/scala-library 2.13.13 scala/Int# // ^^^^^^ definition semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/ByteParser#parseFalse().(facade) -// documentation ```scala\nfacade: Visitor[local33, J[ \n``` +// display_name facade +// signature_documentation scala facade: Visitor[local33, J[ +// kind Parameter // ^^^^^^^ reference semanticdb maven maven/com.lihaoyi/upickle-core_2.13 1.4.0 upickle/core/Visitor# // ^ reference semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/ByteParser#[J] // ^ reference semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/ByteParser#[J] @@ -915,12 +1045,18 @@ abstract class ByteParser[J] extends upickle.core.BufferingByteParser{ */ protected[this] final def parseNull(i: Int, facade: Visitor[_, J]): J = { // ^^^^^^^^^ definition semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/ByteParser#parseNull(). -// documentation ```scala\nfinal def parseNull(i: Int, facade: Visitor[local34, J[): J\n``` +// display_name parseNull +// signature_documentation scala final def parseNull(i: Int, facade: Visitor[local34, J[): J +// kind Method // ^ definition semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/ByteParser#parseNull().(i) -// documentation ```scala\ni: Int \n``` +// display_name i +// signature_documentation scala i: Int +// kind Parameter // ^^^ reference semanticdb maven maven/org.scala-lang/scala-library 2.13.13 scala/Int# // ^^^^^^ definition semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/ByteParser#parseNull().(facade) -// documentation ```scala\nfacade: Visitor[local34, J[ \n``` +// display_name facade +// signature_documentation scala facade: Visitor[local34, J[ +// kind Parameter // ^^^^^^^ reference semanticdb maven maven/com.lihaoyi/upickle-core_2.13 1.4.0 upickle/core/Visitor# // ^ reference semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/ByteParser#[J] // ^ reference semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/ByteParser#[J] @@ -956,12 +1092,18 @@ abstract class ByteParser[J] extends upickle.core.BufferingByteParser{ protected[this] final def parseTopLevel(i: Int, facade: Visitor[_, J]): (J, Int) = { // ^^^^^^^^^^^^^ definition semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/ByteParser#parseTopLevel(). -// documentation ```scala\nfinal def parseTopLevel(i: Int, facade: Visitor[local35, J[): (J, Int)\n``` +// display_name parseTopLevel +// signature_documentation scala final def parseTopLevel(i: Int, facade: Visitor[local35, J[): (J, Int) +// kind Method // ^ definition semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/ByteParser#parseTopLevel().(i) -// documentation ```scala\ni: Int \n``` +// display_name i +// signature_documentation scala i: Int +// kind Parameter // ^^^ reference semanticdb maven maven/org.scala-lang/scala-library 2.13.13 scala/Int# // ^^^^^^ definition semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/ByteParser#parseTopLevel().(facade) -// documentation ```scala\nfacade: Visitor[local35, J[ \n``` +// display_name facade +// signature_documentation scala facade: Visitor[local35, J[ +// kind Parameter // ^^^^^^^ reference semanticdb maven maven/com.lihaoyi/upickle-core_2.13 1.4.0 upickle/core/Visitor# // ^ reference semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/ByteParser#[J] // ^ reference semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/ByteParser#[J] @@ -982,12 +1124,18 @@ abstract class ByteParser[J] extends upickle.core.BufferingByteParser{ // ^ reference semanticdb maven maven/org.scala-lang/scala-library 2.13.13 scala/annotation/tailrec#``(). protected[this] final def parseTopLevel0(i: Int, facade: Visitor[_, J]): (J, Int) = { // ^^^^^^^^^^^^^^ definition semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/ByteParser#parseTopLevel0(). -// documentation ```scala\n@tailrec\nfinal def parseTopLevel0(i: Int, facade: Visitor[local38, J[): (J, Int)\n``` +// display_name parseTopLevel0 +// signature_documentation scala @tailrec\nfinal def parseTopLevel0(i: Int, facade: Visitor[local38, J[): (J, Int) +// kind Method // ^ definition semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/ByteParser#parseTopLevel0().(i) -// documentation ```scala\ni: Int \n``` +// display_name i +// signature_documentation scala i: Int +// kind Parameter // ^^^ reference semanticdb maven maven/org.scala-lang/scala-library 2.13.13 scala/Int# // ^^^^^^ definition semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/ByteParser#parseTopLevel0().(facade) -// documentation ```scala\nfacade: Visitor[local38, J[ \n``` +// display_name facade +// signature_documentation scala facade: Visitor[local38, J[ +// kind Parameter // ^^^^^^^ reference semanticdb maven maven/com.lihaoyi/upickle-core_2.13 1.4.0 upickle/core/Visitor# // ^ reference semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/ByteParser#[J] // ^ reference semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/ByteParser#[J] @@ -1069,18 +1217,26 @@ abstract class ByteParser[J] extends upickle.core.BufferingByteParser{ def reject(j: Int): PartialFunction[Throwable, Nothing] = { // ^^^^^^ definition semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/ByteParser#reject(). -// documentation ```scala\ndef reject(j: Int): PartialFunction[Throwable, Nothing]\n``` +// display_name reject +// signature_documentation scala def reject(j: Int): PartialFunction[Throwable, Nothing] +// kind Method // ^ definition semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/ByteParser#reject().(j) -// documentation ```scala\nj: Int \n``` +// display_name j +// signature_documentation scala j: Int +// kind Parameter // ^^^ reference semanticdb maven maven/org.scala-lang/scala-library 2.13.13 scala/Int# // ^^^^^^^^^^^^^^^ reference semanticdb maven maven/org.scala-lang/scala-library 2.13.13 scala/PartialFunction# // ^^^^^^^^^ reference semanticdb maven maven/org.scala-lang/scala-library 2.13.13 scala/package.Throwable# // ^^^^^^^ reference semanticdb maven . . scala/Nothing# // ^ definition local 39 -// documentation ```scala\n@SerialVersionUID\nfinal class $anonfun\n``` +// display_name $anonfun +// signature_documentation scala @SerialVersionUID\nfinal class $anonfun +// kind Class case e: Abort => // ^ definition local 46 -// documentation ```scala\ne: Abort \n``` +// display_name e +// signature_documentation scala e: Abort +// kind Variable // ^^^^^ reference semanticdb maven maven/com.lihaoyi/upickle-core_2.13 1.4.0 upickle/core/Abort# throw new AbortException(e.msg, j, -1, -1, e) // ^^^^^^^^^^^^^^ reference semanticdb maven maven/com.lihaoyi/upickle-core_2.13 1.4.0 upickle/core/AbortException# @@ -1112,22 +1268,32 @@ abstract class ByteParser[J] extends upickle.core.BufferingByteParser{ // ^ reference semanticdb maven maven/org.scala-lang/scala-library 2.13.13 scala/annotation/tailrec#``(). protected[this] final def parseNested(state: Int, // ^^^^^^^^^^^ definition semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/ByteParser#parseNested(). -// documentation ```scala\n@tailrec\nfinal def parseNested(state: Int, i: Int, stackHead: ObjArrVisitor[local50, J[, stackTail: List[ObjArrVisitor[local51, J[]): (J, Int)\n``` +// display_name parseNested +// signature_documentation scala @tailrec\nfinal def parseNested(state: Int, i: Int, stackHead: ObjArrVisitor[local50, J[, stackTail: List[ObjArrVisitor[local51, J[]): (J, Int) +// kind Method // ^^^^^ definition semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/ByteParser#parseNested().(state) -// documentation ```scala\nstate: Int \n``` +// display_name state +// signature_documentation scala state: Int +// kind Parameter // ^^^ reference semanticdb maven maven/org.scala-lang/scala-library 2.13.13 scala/Int# i: Int, // ^ definition semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/ByteParser#parseNested().(i) -// documentation ```scala\ni: Int \n``` +// display_name i +// signature_documentation scala i: Int +// kind Parameter // ^^^ reference semanticdb maven maven/org.scala-lang/scala-library 2.13.13 scala/Int# stackHead: ObjArrVisitor[_, J], // ^^^^^^^^^ definition semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/ByteParser#parseNested().(stackHead) -// documentation ```scala\nstackHead: ObjArrVisitor[local50, J[ \n``` +// display_name stackHead +// signature_documentation scala stackHead: ObjArrVisitor[local50, J[ +// kind Parameter // ^^^^^^^^^^^^^ reference semanticdb maven maven/com.lihaoyi/upickle-core_2.13 1.4.0 upickle/core/ObjArrVisitor# // ^ reference semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/ByteParser#[J] stackTail: List[ObjArrVisitor[_, J]]) : (J, Int) = { // ^^^^^^^^^ definition semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/ByteParser#parseNested().(stackTail) -// documentation ```scala\nstackTail: List[ObjArrVisitor[local51, J[] \n``` +// display_name stackTail +// signature_documentation scala stackTail: List[ObjArrVisitor[local51, J[] +// kind Parameter // ^^^^ reference semanticdb maven maven/org.scala-lang/scala-library 2.13.13 scala/package.List# // ^^^^^^^^^^^^^ reference semanticdb maven maven/com.lihaoyi/upickle-core_2.13 1.4.0 upickle/core/ObjArrVisitor# // ^ reference semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/ByteParser#[J] @@ -1153,7 +1319,9 @@ abstract class ByteParser[J] extends upickle.core.BufferingByteParser{ // ^^^^^^ reference semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/ByteParser#OBJBEG. val nextJ = try parseStringKey(i, stackHead) catch reject(i) // ^^^^^ definition local 52 -// documentation ```scala\nnextJ: Int \n``` +// display_name nextJ +// signature_documentation scala nextJ: Int +// kind Variable // ^^^^^^^^^^^^^^ reference semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/ByteParser#parseStringKey(). // ^ reference semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/ByteParser#parseNested().(i) // ^^^^^^^^^ reference semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/ByteParser#parseNested().(stackHead) @@ -1171,7 +1339,9 @@ abstract class ByteParser[J] extends upickle.core.BufferingByteParser{ // ^^^^^^ reference semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/ByteParser#ARRBEG. val nextJ = try parseStringValue(i, stackHead) catch reject(i) // ^^^^^ definition local 55 -// documentation ```scala\nnextJ: Int \n``` +// display_name nextJ +// signature_documentation scala nextJ: Int +// kind Variable // ^^^^^^^^^^^^^^^^ reference semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/ByteParser#parseStringValue(). // ^ reference semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/ByteParser#parseNested().(i) // ^^^^^^^^^ reference semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/ByteParser#parseNested().(stackHead) @@ -1216,7 +1386,9 @@ abstract class ByteParser[J] extends upickle.core.BufferingByteParser{ // ^ reference semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/ByteParser#parseNested().(i) val ctx = // ^^^ definition local 58 -// documentation ```scala\nctx: ArrVisitor[local59, J[ \n``` +// display_name ctx +// signature_documentation scala ctx: ArrVisitor[local59, J[ +// kind Variable try stackHead.subVisitor.asInstanceOf[Visitor[_, J]].visitArray(-1, i) // ^^^^^^^^^ reference semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/ByteParser#parseNested().(stackHead) // ^^^^^^^^^^ reference semanticdb maven maven/com.lihaoyi/upickle-core_2.13 1.4.0 upickle/core/ObjArrVisitor#subVisitor(). @@ -1245,7 +1417,9 @@ abstract class ByteParser[J] extends upickle.core.BufferingByteParser{ // ^ reference semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/ByteParser#parseNested().(i) val ctx = // ^^^ definition local 63 -// documentation ```scala\nctx: ObjVisitor[local64, J[ \n``` +// display_name ctx +// signature_documentation scala ctx: ObjVisitor[local64, J[ +// kind Variable try stackHead.subVisitor.asInstanceOf[Visitor[_, J]].visitObject(-1, i) // ^^^^^^^^^ reference semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/ByteParser#parseNested().(stackHead) // ^^^^^^^^^^ reference semanticdb maven maven/com.lihaoyi/upickle-core_2.13 1.4.0 upickle/core/ObjArrVisitor#subVisitor(). @@ -1274,7 +1448,9 @@ abstract class ByteParser[J] extends upickle.core.BufferingByteParser{ // ^ reference semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/ByteParser#parseNested().(i) val ctx = // ^^^ definition local 68 -// documentation ```scala\nctx: Int \n``` +// display_name ctx +// signature_documentation scala ctx: Int +// kind Variable try parseNum(i, stackHead.narrow, stackHead.subVisitor.asInstanceOf[Visitor[_, J]]) // ^^^^^^^^ reference semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/ByteParser#parseNum(). // ^ reference semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/ByteParser#parseNested().(i) @@ -1434,13 +1610,17 @@ abstract class ByteParser[J] extends upickle.core.BufferingByteParser{ case Some(t) => t // ^^^^ reference semanticdb maven maven/org.scala-lang/scala-library 2.13.13 scala/Some. // ^ definition local 77 -// documentation ```scala\nt: (J, Int) \n``` +// display_name t +// signature_documentation scala t: (J, Int) +// kind Variable // ^ reference local 77 case None => // ^^^^ reference semanticdb maven maven/org.scala-lang/scala-library 2.13.13 scala/None. val stackTailHead = stackTail.head // ^^^^^^^^^^^^^ definition local 78 -// documentation ```scala\nstackTailHead: ObjArrVisitor[local51, J[ \n``` +// display_name stackTailHead +// signature_documentation scala stackTailHead: ObjArrVisitor[local51, J[ +// kind Variable // ^^^^^^^^^ reference semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/ByteParser#parseNested().(stackTail) // ^^^^ reference semanticdb maven maven/org.scala-lang/scala-library 2.13.13 scala/collection/IterableOps#head(). parseNested(collectionEndFor(stackTailHead), i + 1, stackTailHead, stackTail.tail) @@ -1473,13 +1653,17 @@ abstract class ByteParser[J] extends upickle.core.BufferingByteParser{ case Some(t) => t // ^^^^ reference semanticdb maven maven/org.scala-lang/scala-library 2.13.13 scala/Some. // ^ definition local 79 -// documentation ```scala\nt: (J, Int) \n``` +// display_name t +// signature_documentation scala t: (J, Int) +// kind Variable // ^ reference local 79 case None => // ^^^^ reference semanticdb maven maven/org.scala-lang/scala-library 2.13.13 scala/None. val stackTailHead = stackTail.head // ^^^^^^^^^^^^^ definition local 80 -// documentation ```scala\nstackTailHead: ObjArrVisitor[local51, J[ \n``` +// display_name stackTailHead +// signature_documentation scala stackTailHead: ObjArrVisitor[local51, J[ +// kind Variable // ^^^^^^^^^ reference semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/ByteParser#parseNested().(stackTail) // ^^^^ reference semanticdb maven maven/org.scala-lang/scala-library 2.13.13 scala/collection/IterableOps#head(). parseNested(collectionEndFor(stackTailHead), i + 1, stackTailHead, stackTail.tail) @@ -1508,16 +1692,24 @@ abstract class ByteParser[J] extends upickle.core.BufferingByteParser{ def dieWithFailureMessage(i: Int, state: Int) = { // ^^^^^^^^^^^^^^^^^^^^^ definition semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/ByteParser#dieWithFailureMessage(). -// documentation ```scala\ndef dieWithFailureMessage(i: Int, state: Int): Nothing\n``` +// display_name dieWithFailureMessage +// signature_documentation scala def dieWithFailureMessage(i: Int, state: Int): Nothing +// kind Method // ^ definition semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/ByteParser#dieWithFailureMessage().(i) -// documentation ```scala\ni: Int \n``` +// display_name i +// signature_documentation scala i: Int +// kind Parameter // ^^^ reference semanticdb maven maven/org.scala-lang/scala-library 2.13.13 scala/Int# // ^^^^^ definition semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/ByteParser#dieWithFailureMessage().(state) -// documentation ```scala\nstate: Int \n``` +// display_name state +// signature_documentation scala state: Int +// kind Parameter // ^^^ reference semanticdb maven maven/org.scala-lang/scala-library 2.13.13 scala/Int# val expected = state match{ // ^^^^^^^^ definition local 81 -// documentation ```scala\nexpected: String \n``` +// display_name expected +// signature_documentation scala expected: String +// kind Variable // ^^^^^ reference semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/ByteParser#dieWithFailureMessage().(state) case ARRBEG => "json value or ]" // ^^^^^^ reference semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/ByteParser#ARRBEG. @@ -1543,12 +1735,18 @@ abstract class ByteParser[J] extends upickle.core.BufferingByteParser{ def failIfNotData(state: Int, i: Int) = (state: @switch) match{ // ^^^^^^^^^^^^^ definition semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/ByteParser#failIfNotData(). -// documentation ```scala\ndef failIfNotData(state: Int, i: Int): Unit\n``` +// display_name failIfNotData +// signature_documentation scala def failIfNotData(state: Int, i: Int): Unit +// kind Method // ^^^^^ definition semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/ByteParser#failIfNotData().(state) -// documentation ```scala\nstate: Int \n``` +// display_name state +// signature_documentation scala state: Int +// kind Parameter // ^^^ reference semanticdb maven maven/org.scala-lang/scala-library 2.13.13 scala/Int# // ^ definition semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/ByteParser#failIfNotData().(i) -// documentation ```scala\ni: Int \n``` +// display_name i +// signature_documentation scala i: Int +// kind Parameter // ^^^ reference semanticdb maven maven/org.scala-lang/scala-library 2.13.13 scala/Int# // ^^^^^ reference semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/ByteParser#failIfNotData().(state) case DATA | ARRBEG => // do nothing @@ -1562,18 +1760,26 @@ abstract class ByteParser[J] extends upickle.core.BufferingByteParser{ def tryCloseCollection(stackHead: ObjArrVisitor[_, J], stackTail: List[ObjArrVisitor[_, J]], i: Int) = { // ^^^^^^^^^^^^^^^^^^ definition semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/ByteParser#tryCloseCollection(). -// documentation ```scala\ndef tryCloseCollection(stackHead: ObjArrVisitor[local82, J[, stackTail: List[ObjArrVisitor[local83, J[], i: Int): Option[(J, Int)]\n``` +// display_name tryCloseCollection +// signature_documentation scala def tryCloseCollection(stackHead: ObjArrVisitor[local82, J[, stackTail: List[ObjArrVisitor[local83, J[], i: Int): Option[(J, Int)] +// kind Method // ^^^^^^^^^ definition semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/ByteParser#tryCloseCollection().(stackHead) -// documentation ```scala\nstackHead: ObjArrVisitor[local82, J[ \n``` +// display_name stackHead +// signature_documentation scala stackHead: ObjArrVisitor[local82, J[ +// kind Parameter // ^^^^^^^^^^^^^ reference semanticdb maven maven/com.lihaoyi/upickle-core_2.13 1.4.0 upickle/core/ObjArrVisitor# // ^ reference semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/ByteParser#[J] // ^^^^^^^^^ definition semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/ByteParser#tryCloseCollection().(stackTail) -// documentation ```scala\nstackTail: List[ObjArrVisitor[local83, J[] \n``` +// display_name stackTail +// signature_documentation scala stackTail: List[ObjArrVisitor[local83, J[] +// kind Parameter // ^^^^ reference semanticdb maven maven/org.scala-lang/scala-library 2.13.13 scala/package.List# // ^^^^^^^^^^^^^ reference semanticdb maven maven/com.lihaoyi/upickle-core_2.13 1.4.0 upickle/core/ObjArrVisitor# // ^ reference semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/ByteParser#[J] // ^ definition semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/ByteParser#tryCloseCollection().(i) -// documentation ```scala\ni: Int \n``` +// display_name i +// signature_documentation scala i: Int +// kind Parameter // ^^^ reference semanticdb maven maven/org.scala-lang/scala-library 2.13.13 scala/Int# if (stackTail.isEmpty) { // ^^^^^^^^^ reference semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/ByteParser#tryCloseCollection().(stackTail) @@ -1590,7 +1796,9 @@ abstract class ByteParser[J] extends upickle.core.BufferingByteParser{ } else { val ctxt2 = stackTail.head.narrow // ^^^^^ definition local 86 -// documentation ```scala\nctxt2: ObjArrVisitor[Any, J] \n``` +// display_name ctxt2 +// signature_documentation scala ctxt2: ObjArrVisitor[Any, J] +// kind Variable // ^^^^^^^^^ reference semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/ByteParser#tryCloseCollection().(stackTail) // ^^^^ reference semanticdb maven maven/org.scala-lang/scala-library 2.13.13 scala/collection/IterableOps#head(). // ^^^^^^ reference semanticdb maven maven/com.lihaoyi/upickle-core_2.13 1.4.0 upickle/core/ObjArrVisitor#narrow(). @@ -1610,9 +1818,13 @@ abstract class ByteParser[J] extends upickle.core.BufferingByteParser{ } def collectionEndFor(stackHead: ObjArrVisitor[_, _]) = { // ^^^^^^^^^^^^^^^^ definition semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/ByteParser#collectionEndFor(). -// documentation ```scala\ndef collectionEndFor(stackHead: ObjArrVisitor[local89, local90[): Int\n``` +// display_name collectionEndFor +// signature_documentation scala def collectionEndFor(stackHead: ObjArrVisitor[local89, local90[): Int +// kind Method // ^^^^^^^^^ definition semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/ByteParser#collectionEndFor().(stackHead) -// documentation ```scala\nstackHead: ObjArrVisitor[local89, local90[ \n``` +// display_name stackHead +// signature_documentation scala stackHead: ObjArrVisitor[local89, local90[ +// kind Parameter // ^^^^^^^^^^^^^ reference semanticdb maven maven/com.lihaoyi/upickle-core_2.13 1.4.0 upickle/core/ObjArrVisitor# if (stackHead.isObj) OBJEND // ^^^^^^^^^ reference semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/ByteParser#collectionEndFor().(stackHead) @@ -1631,18 +1843,26 @@ abstract class ByteParser[J] extends upickle.core.BufferingByteParser{ */ protected[this] final def parseStringSimple(i: Int): Int = { // ^^^^^^^^^^^^^^^^^ definition semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/ByteParser#parseStringSimple(). -// documentation ```scala\nfinal def parseStringSimple(i: Int): Int\n``` +// display_name parseStringSimple +// signature_documentation scala final def parseStringSimple(i: Int): Int +// kind Method // ^ definition semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/ByteParser#parseStringSimple().(i) -// documentation ```scala\ni: Int \n``` +// display_name i +// signature_documentation scala i: Int +// kind Parameter // ^^^ reference semanticdb maven maven/org.scala-lang/scala-library 2.13.13 scala/Int# // ^^^ reference semanticdb maven maven/org.scala-lang/scala-library 2.13.13 scala/Int# var j = i // ^ definition local 91 -// documentation ```scala\nj: Int \n``` +// display_name j +// signature_documentation scala j: Int +// kind Variable // ^ reference semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/ByteParser#parseStringSimple().(i) var c = elemOps.toUnsignedInt(getByteSafe(j)) // ^ definition local 92 -// documentation ```scala\nc: Int \n``` +// display_name c +// signature_documentation scala c: Int +// kind Variable // ^^^^^^^ reference semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/ByteParser#elemOps. // ^^^^^^^^^^^^^ reference semanticdb maven maven/com.lihaoyi/upickle-core_2.13 1.4.0 upickle/core/ByteOps.toUnsignedInt(). // ^^^^^^^^^^^ reference semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/ByteParser#getByteSafe(). @@ -1685,18 +1905,26 @@ abstract class ByteParser[J] extends upickle.core.BufferingByteParser{ */ protected[this] final def parseStringComplex(i0: Int): Int = { // ^^^^^^^^^^^^^^^^^^ definition semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/ByteParser#parseStringComplex(). -// documentation ```scala\nfinal def parseStringComplex(i0: Int): Int\n``` +// display_name parseStringComplex +// signature_documentation scala final def parseStringComplex(i0: Int): Int +// kind Method // ^^ definition semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/ByteParser#parseStringComplex().(i0) -// documentation ```scala\ni0: Int \n``` +// display_name i0 +// signature_documentation scala i0: Int +// kind Parameter // ^^^ reference semanticdb maven maven/org.scala-lang/scala-library 2.13.13 scala/Int# // ^^^ reference semanticdb maven maven/org.scala-lang/scala-library 2.13.13 scala/Int# var i = i0 // ^ definition local 94 -// documentation ```scala\ni: Int \n``` +// display_name i +// signature_documentation scala i: Int +// kind Variable // ^^ reference semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/ByteParser#parseStringComplex().(i0) var c = elemOps.toUnsignedInt(getByteSafe(i)) // ^ definition local 95 -// documentation ```scala\nc: Int \n``` +// display_name c +// signature_documentation scala c: Int +// kind Variable // ^^^^^^^ reference semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/ByteParser#elemOps. // ^^^^^^^^^^^^^ reference semanticdb maven maven/com.lihaoyi/upickle-core_2.13 1.4.0 upickle/core/ByteOps.toUnsignedInt(). // ^^^^^^^^^^^ reference semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/ByteParser#getByteSafe(). @@ -1765,7 +1993,9 @@ abstract class ByteParser[J] extends upickle.core.BufferingByteParser{ case 'u' => val d = descape(i) // ^ definition local 97 -// documentation ```scala\nd: Char \n``` +// display_name d +// signature_documentation scala d: Char +// kind Variable // ^^^^^^^ reference semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/ByteParser#descape(). // ^ reference local 94 outputBuilder.appendC(d) @@ -1779,7 +2009,9 @@ abstract class ByteParser[J] extends upickle.core.BufferingByteParser{ case c => die(i + 1, s"illegal escape sequence after \\") // ^ definition local 98 -// documentation ```scala\nc: Byte \n``` +// display_name c +// signature_documentation scala c: Byte +// kind Variable // ^^^ reference semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/ByteParser#die(). // ^ reference local 94 // ^ reference semanticdb maven maven/org.scala-lang/scala-library 2.13.13 scala/Int#`+`(+4). @@ -1822,19 +2054,27 @@ abstract class ByteParser[J] extends upickle.core.BufferingByteParser{ */ protected[this] final def parseStringValue(i: Int, stackHead: ObjArrVisitor[_, J]): Int = { // ^^^^^^^^^^^^^^^^ definition semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/ByteParser#parseStringValue(). -// documentation ```scala\nfinal def parseStringValue(i: Int, stackHead: ObjArrVisitor[local99, J[): Int\n``` +// display_name parseStringValue +// signature_documentation scala final def parseStringValue(i: Int, stackHead: ObjArrVisitor[local99, J[): Int +// kind Method // ^ definition semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/ByteParser#parseStringValue().(i) -// documentation ```scala\ni: Int \n``` +// display_name i +// signature_documentation scala i: Int +// kind Parameter // ^^^ reference semanticdb maven maven/org.scala-lang/scala-library 2.13.13 scala/Int# // ^^^^^^^^^ definition semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/ByteParser#parseStringValue().(stackHead) -// documentation ```scala\nstackHead: ObjArrVisitor[local99, J[ \n``` +// display_name stackHead +// signature_documentation scala stackHead: ObjArrVisitor[local99, J[ +// kind Parameter // ^^^^^^^^^^^^^ reference semanticdb maven maven/com.lihaoyi/upickle-core_2.13 1.4.0 upickle/core/ObjArrVisitor# // ^ reference semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/ByteParser#[J] // ^^^ reference semanticdb maven maven/org.scala-lang/scala-library 2.13.13 scala/Int# val k = parseStringSimple(i + 1) // ^ definition local 100 -// documentation ```scala\nk: Int \n``` +// display_name k +// signature_documentation scala k: Int +// kind Variable // ^^^^^^^^^^^^^^^^^ reference semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/ByteParser#parseStringSimple(). // ^ reference semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/ByteParser#parseStringValue().(i) // ^ reference semanticdb maven maven/org.scala-lang/scala-library 2.13.13 scala/Int#`+`(+4). @@ -1857,7 +2097,9 @@ abstract class ByteParser[J] extends upickle.core.BufferingByteParser{ } else { val k2 = parseStringToOutputBuilder(i, k) // ^^ definition local 101 -// documentation ```scala\nk2: Int \n``` +// display_name k2 +// signature_documentation scala k2: Int +// kind Variable // ^^^^^^^^^^^^^^^^^^^^^^^^^^ reference semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/ByteParser#parseStringToOutputBuilder(). // ^ reference semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/ByteParser#parseStringValue().(i) // ^ reference local 100 @@ -1874,19 +2116,27 @@ abstract class ByteParser[J] extends upickle.core.BufferingByteParser{ protected[this] final def parseStringKey(i: Int, stackHead: ObjArrVisitor[_, J]): Int = { // ^^^^^^^^^^^^^^ definition semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/ByteParser#parseStringKey(). -// documentation ```scala\nfinal def parseStringKey(i: Int, stackHead: ObjArrVisitor[local102, J[): Int\n``` +// display_name parseStringKey +// signature_documentation scala final def parseStringKey(i: Int, stackHead: ObjArrVisitor[local102, J[): Int +// kind Method // ^ definition semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/ByteParser#parseStringKey().(i) -// documentation ```scala\ni: Int \n``` +// display_name i +// signature_documentation scala i: Int +// kind Parameter // ^^^ reference semanticdb maven maven/org.scala-lang/scala-library 2.13.13 scala/Int# // ^^^^^^^^^ definition semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/ByteParser#parseStringKey().(stackHead) -// documentation ```scala\nstackHead: ObjArrVisitor[local102, J[ \n``` +// display_name stackHead +// signature_documentation scala stackHead: ObjArrVisitor[local102, J[ +// kind Parameter // ^^^^^^^^^^^^^ reference semanticdb maven maven/com.lihaoyi/upickle-core_2.13 1.4.0 upickle/core/ObjArrVisitor# // ^ reference semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/ByteParser#[J] // ^^^ reference semanticdb maven maven/org.scala-lang/scala-library 2.13.13 scala/Int# val k = parseStringSimple(i + 1) // ^ definition local 103 -// documentation ```scala\nk: Int \n``` +// display_name k +// signature_documentation scala k: Int +// kind Variable // ^^^^^^^^^^^^^^^^^ reference semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/ByteParser#parseStringSimple(). // ^ reference semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/ByteParser#parseStringKey().(i) // ^ reference semanticdb maven maven/org.scala-lang/scala-library 2.13.13 scala/Int#`+`(+4). @@ -1909,7 +2159,9 @@ abstract class ByteParser[J] extends upickle.core.BufferingByteParser{ } else { val k2 = parseStringToOutputBuilder(i, k) // ^^ definition local 104 -// documentation ```scala\nk2: Int \n``` +// display_name k2 +// signature_documentation scala k2: Int +// kind Variable // ^^^^^^^^^^^^^^^^^^^^^^^^^^ reference semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/ByteParser#parseStringToOutputBuilder(). // ^ reference semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/ByteParser#parseStringKey().(i) // ^ reference local 103 @@ -1927,12 +2179,18 @@ abstract class ByteParser[J] extends upickle.core.BufferingByteParser{ def parseStringToOutputBuilder(i: Int, k: Int) = { // ^^^^^^^^^^^^^^^^^^^^^^^^^^ definition semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/ByteParser#parseStringToOutputBuilder(). -// documentation ```scala\ndef parseStringToOutputBuilder(i: Int, k: Int): Int\n``` +// display_name parseStringToOutputBuilder +// signature_documentation scala def parseStringToOutputBuilder(i: Int, k: Int): Int +// kind Method // ^ definition semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/ByteParser#parseStringToOutputBuilder().(i) -// documentation ```scala\ni: Int \n``` +// display_name i +// signature_documentation scala i: Int +// kind Parameter // ^^^ reference semanticdb maven maven/org.scala-lang/scala-library 2.13.13 scala/Int# // ^ definition semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/ByteParser#parseStringToOutputBuilder().(k) -// documentation ```scala\nk: Int \n``` +// display_name k +// signature_documentation scala k: Int +// kind Parameter // ^^^ reference semanticdb maven maven/org.scala-lang/scala-library 2.13.13 scala/Int# outputBuilder.reset() // ^^^^^^^^^^^^^ reference semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/ByteParser#outputBuilder. @@ -1949,7 +2207,9 @@ abstract class ByteParser[J] extends upickle.core.BufferingByteParser{ // ^ reference semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/ByteParser#parseStringToOutputBuilder().(i) val k2 = parseStringComplex(-k - 1) // ^^ definition local 105 -// documentation ```scala\nk2: Int \n``` +// display_name k2 +// signature_documentation scala k2: Int +// kind Variable // ^^^^^^^^^^^^^^^^^^ reference semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/ByteParser#parseStringComplex(). // ^ reference semanticdb maven maven/org.scala-lang/scala-library 2.13.13 scala/Int#`unary_-`(). // ^ reference semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/ByteParser#parseStringToOutputBuilder().(k) @@ -1960,20 +2220,30 @@ abstract class ByteParser[J] extends upickle.core.BufferingByteParser{ def visitString(i: Int, s: CharSequence, stackHead: ObjArrVisitor[_, J]) = { // ^^^^^^^^^^^ definition semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/ByteParser#visitString(). -// documentation ```scala\ndef visitString(i: Int, s: CharSequence, stackHead: ObjArrVisitor[local106, J[): Unit\n``` +// display_name visitString +// signature_documentation scala def visitString(i: Int, s: CharSequence, stackHead: ObjArrVisitor[local106, J[): Unit +// kind Method // ^ definition semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/ByteParser#visitString().(i) -// documentation ```scala\ni: Int \n``` +// display_name i +// signature_documentation scala i: Int +// kind Parameter // ^^^ reference semanticdb maven maven/org.scala-lang/scala-library 2.13.13 scala/Int# // ^ definition semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/ByteParser#visitString().(s) -// documentation ```scala\ns: CharSequence \n``` +// display_name s +// signature_documentation scala s: CharSequence +// kind Parameter // ^^^^^^^^^^^^ reference semanticdb maven jdk 11 java/lang/CharSequence# // ^^^^^^^^^ definition semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/ByteParser#visitString().(stackHead) -// documentation ```scala\nstackHead: ObjArrVisitor[local106, J[ \n``` +// display_name stackHead +// signature_documentation scala stackHead: ObjArrVisitor[local106, J[ +// kind Parameter // ^^^^^^^^^^^^^ reference semanticdb maven maven/com.lihaoyi/upickle-core_2.13 1.4.0 upickle/core/ObjArrVisitor# // ^ reference semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/ByteParser#[J] val v = stackHead.subVisitor.visitString(s, i) // ^ definition local 107 -// documentation ```scala\nv: Any \n``` +// display_name v +// signature_documentation scala v: Any +// kind Variable // ^^^^^^^^^ reference semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/ByteParser#visitString().(stackHead) // ^^^^^^^^^^ reference semanticdb maven maven/com.lihaoyi/upickle-core_2.13 1.4.0 upickle/core/ObjArrVisitor#subVisitor(). // ^^^^^^^^^^^ reference semanticdb maven maven/com.lihaoyi/upickle-core_2.13 1.4.0 upickle/core/Visitor#visitString(). @@ -1988,27 +2258,39 @@ abstract class ByteParser[J] extends upickle.core.BufferingByteParser{ } def visitStringKey(i: Int, s: CharSequence, stackHead: ObjArrVisitor[_, J]) = { // ^^^^^^^^^^^^^^ definition semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/ByteParser#visitStringKey(). -// documentation ```scala\ndef visitStringKey(i: Int, s: CharSequence, stackHead: ObjArrVisitor[local108, J[): Unit\n``` +// display_name visitStringKey +// signature_documentation scala def visitStringKey(i: Int, s: CharSequence, stackHead: ObjArrVisitor[local108, J[): Unit +// kind Method // ^ definition semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/ByteParser#visitStringKey().(i) -// documentation ```scala\ni: Int \n``` +// display_name i +// signature_documentation scala i: Int +// kind Parameter // ^^^ reference semanticdb maven maven/org.scala-lang/scala-library 2.13.13 scala/Int# // ^ definition semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/ByteParser#visitStringKey().(s) -// documentation ```scala\ns: CharSequence \n``` +// display_name s +// signature_documentation scala s: CharSequence +// kind Parameter // ^^^^^^^^^^^^ reference semanticdb maven jdk 11 java/lang/CharSequence# // ^^^^^^^^^ definition semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/ByteParser#visitStringKey().(stackHead) -// documentation ```scala\nstackHead: ObjArrVisitor[local108, J[ \n``` +// display_name stackHead +// signature_documentation scala stackHead: ObjArrVisitor[local108, J[ +// kind Parameter // ^^^^^^^^^^^^^ reference semanticdb maven maven/com.lihaoyi/upickle-core_2.13 1.4.0 upickle/core/ObjArrVisitor# // ^ reference semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/ByteParser#[J] val obj = stackHead.asInstanceOf[ObjVisitor[Any, _]] // ^^^ definition local 109 -// documentation ```scala\nobj: ObjVisitor[Any, Any] \n``` +// display_name obj +// signature_documentation scala obj: ObjVisitor[Any, Any] +// kind Variable // ^^^^^^^^^ reference semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/ByteParser#visitStringKey().(stackHead) // ^^^^^^^^^^^^ reference semanticdb maven . . scala/Any#asInstanceOf(). // ^^^^^^^^^^ reference semanticdb maven maven/com.lihaoyi/upickle-core_2.13 1.4.0 upickle/core/ObjVisitor# // ^^^ reference semanticdb maven . . scala/Any# val keyVisitor = obj.visitKey(i) // ^^^^^^^^^^ definition local 110 -// documentation ```scala\nkeyVisitor: Visitor[local111, Any[ \n``` +// display_name keyVisitor +// signature_documentation scala keyVisitor: Visitor[local111, Any[ +// kind Variable // ^^^ reference local 109 // ^^^^^^^^ reference semanticdb maven maven/com.lihaoyi/upickle-core_2.13 1.4.0 upickle/core/ObjVisitor#visitKey(). // ^ reference semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/ByteParser#visitStringKey().(i) @@ -2024,12 +2306,18 @@ abstract class ByteParser[J] extends upickle.core.BufferingByteParser{ protected[this] final def parseStringTopLevel(i: Int, facade: Visitor[_, J]): (J, Int) = { // ^^^^^^^^^^^^^^^^^^^ definition semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/ByteParser#parseStringTopLevel(). -// documentation ```scala\nfinal def parseStringTopLevel(i: Int, facade: Visitor[local112, J[): (J, Int)\n``` +// display_name parseStringTopLevel +// signature_documentation scala final def parseStringTopLevel(i: Int, facade: Visitor[local112, J[): (J, Int) +// kind Method // ^ definition semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/ByteParser#parseStringTopLevel().(i) -// documentation ```scala\ni: Int \n``` +// display_name i +// signature_documentation scala i: Int +// kind Parameter // ^^^ reference semanticdb maven maven/org.scala-lang/scala-library 2.13.13 scala/Int# // ^^^^^^ definition semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/ByteParser#parseStringTopLevel().(facade) -// documentation ```scala\nfacade: Visitor[local112, J[ \n``` +// display_name facade +// signature_documentation scala facade: Visitor[local112, J[ +// kind Parameter // ^^^^^^^ reference semanticdb maven maven/com.lihaoyi/upickle-core_2.13 1.4.0 upickle/core/Visitor# // ^ reference semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/ByteParser#[J] // ^ reference semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/ByteParser#[J] @@ -2037,7 +2325,9 @@ abstract class ByteParser[J] extends upickle.core.BufferingByteParser{ val k = parseStringSimple(i + 1) // ^ definition local 113 -// documentation ```scala\nk: Int \n``` +// display_name k +// signature_documentation scala k: Int +// kind Variable // ^^^^^^^^^^^^^^^^^ reference semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/ByteParser#parseStringSimple(). // ^ reference semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/ByteParser#parseStringTopLevel().(i) // ^ reference semanticdb maven maven/org.scala-lang/scala-library 2.13.13 scala/Int#`+`(+4). @@ -2046,7 +2336,9 @@ abstract class ByteParser[J] extends upickle.core.BufferingByteParser{ // ^^ reference semanticdb maven maven/org.scala-lang/scala-library 2.13.13 scala/Int#`>=`(+3). val res = facade.visitString(unsafeCharSeqForRange(i + 1, k - i - 2), i) // ^^^ definition local 114 -// documentation ```scala\nres: J \n``` +// display_name res +// signature_documentation scala res: J +// kind Variable // ^^^^^^ reference semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/ByteParser#parseStringTopLevel().(facade) // ^^^^^^^^^^^ reference semanticdb maven maven/com.lihaoyi/upickle-core_2.13 1.4.0 upickle/core/Visitor#visitString(). // ^^^^^^^^^^^^^^^^^^^^^ reference semanticdb maven maven/com.lihaoyi/upickle-core_2.13 1.4.0 upickle/core/BufferingByteParser#unsafeCharSeqForRange(). @@ -2063,13 +2355,17 @@ abstract class ByteParser[J] extends upickle.core.BufferingByteParser{ } else { val k2 = parseStringToOutputBuilder(i, k) // ^^ definition local 115 -// documentation ```scala\nk2: Int \n``` +// display_name k2 +// signature_documentation scala k2: Int +// kind Variable // ^^^^^^^^^^^^^^^^^^^^^^^^^^ reference semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/ByteParser#parseStringToOutputBuilder(). // ^ reference semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/ByteParser#parseStringTopLevel().(i) // ^ reference local 113 val res = facade.visitString(outputBuilder.makeString(), i) // ^^^ definition local 116 -// documentation ```scala\nres: J \n``` +// display_name res +// signature_documentation scala res: J +// kind Variable // ^^^^^^ reference semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/ByteParser#parseStringTopLevel().(facade) // ^^^^^^^^^^^ reference semanticdb maven maven/com.lihaoyi/upickle-core_2.13 1.4.0 upickle/core/Visitor#visitString(). // ^^^^^^^^^^^^^ reference semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/ByteParser#outputBuilder. diff --git a/tests/snapshots/src/main/generated/CharParser.scala b/tests/snapshots/src/main/generated/CharParser.scala index 22cff58e4..f25ff3dd5 100644 --- a/tests/snapshots/src/main/generated/CharParser.scala +++ b/tests/snapshots/src/main/generated/CharParser.scala @@ -39,23 +39,33 @@ import scala.annotation.{switch, tailrec} */ abstract class CharParser[J] extends upickle.core.BufferingCharParser{ // ^^^^^^^^^^ definition semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/CharParser# -// documentation ```scala\nabstract class CharParser[J]\n``` +// display_name CharParser +// signature_documentation scala abstract class CharParser[J] +// kind Class // ^ definition semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/CharParser#[J] -// documentation ```scala\nJ\n``` +// display_name J +// signature_documentation scala J +// kind TypeParameter // ^ definition semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/CharParser#``(). -// documentation ```scala\ndef this()\n``` +// display_name +// signature_documentation scala def this() +// kind Constructor // ^^^^^^^ reference semanticdb maven . . upickle/ // ^^^^ reference semanticdb maven . . upickle/core/ // ^^^^^^^^^^^^^^^^^^^ reference semanticdb maven maven/com.lihaoyi/upickle-core_2.13 1.4.0 upickle/core/BufferingCharParser# private[this] val elemOps = upickle.core.CharOps // ^^^^^^^ definition semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/CharParser#elemOps. -// documentation ```scala\nprivate[this] val elemOps: \n``` +// display_name elemOps +// signature_documentation scala private[this] val elemOps: +// kind Method // ^^^^^^^ reference semanticdb maven . . upickle/ // ^^^^ reference semanticdb maven . . upickle/core/ // ^^^^^^^ reference semanticdb maven maven/com.lihaoyi/upickle-core_2.13 1.4.0 upickle/core/CharOps. private[this] val outputBuilder = new upickle.core.CharBuilder() // ^^^^^^^^^^^^^ definition semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/CharParser#outputBuilder. -// documentation ```scala\nprivate[this] val outputBuilder: CharBuilder\n``` +// display_name outputBuilder +// signature_documentation scala private[this] val outputBuilder: CharBuilder +// kind Method // ^^^^^^^ reference semanticdb maven . . upickle/ // ^^^^ reference semanticdb maven . . upickle/core/ // ^^^^^^^^^^^ reference semanticdb maven maven/com.lihaoyi/upickle-core_2.13 1.4.0 upickle/core/CharBuilder# @@ -63,9 +73,13 @@ abstract class CharParser[J] extends upickle.core.BufferingCharParser{ def requestUntilOrThrow(i: Int) = { // ^^^^^^^^^^^^^^^^^^^ definition semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/CharParser#requestUntilOrThrow(). -// documentation ```scala\ndef requestUntilOrThrow(i: Int): Unit\n``` +// display_name requestUntilOrThrow +// signature_documentation scala def requestUntilOrThrow(i: Int): Unit +// kind Method // ^ definition semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/CharParser#requestUntilOrThrow().(i) -// documentation ```scala\ni: Int \n``` +// display_name i +// signature_documentation scala i: Int +// kind Parameter // ^^^ reference semanticdb maven maven/org.scala-lang/scala-library 2.13.13 scala/Int# if (requestUntil(i)) throw new IncompleteParseException("exhausted input") // ^^^^^^^^^^^^ reference semanticdb maven maven/com.lihaoyi/upickle-core_2.13 1.4.0 upickle/core/BufferingCharParser#requestUntil(). @@ -75,10 +89,14 @@ abstract class CharParser[J] extends upickle.core.BufferingCharParser{ } override def getCharSafe(i: Int): Char = { // ^^^^^^^^^^^ definition semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/CharParser#getCharSafe(). -// documentation ```scala\ndef getCharSafe(i: Int): Char\n``` +// display_name getCharSafe +// signature_documentation scala def getCharSafe(i: Int): Char +// kind Method // relationship is_reference is_implementation semanticdb maven maven/com.lihaoyi/upickle-core_2.13 1.4.0 upickle/core/BufferingCharParser#getCharSafe(). // ^ definition semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/CharParser#getCharSafe().(i) -// documentation ```scala\ni: Int \n``` +// display_name i +// signature_documentation scala i: Int +// kind Parameter // ^^^ reference semanticdb maven maven/org.scala-lang/scala-library 2.13.13 scala/Int# // ^^^^ reference semanticdb maven maven/org.scala-lang/scala-library 2.13.13 scala/Char# requestUntilOrThrow(i) @@ -94,9 +112,13 @@ abstract class CharParser[J] extends upickle.core.BufferingCharParser{ */ protected[this] def atEof(i: Int) = requestUntil(i) // ^^^^^ definition semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/CharParser#atEof(). -// documentation ```scala\ndef atEof(i: Int): Boolean\n``` +// display_name atEof +// signature_documentation scala def atEof(i: Int): Boolean +// kind Method // ^ definition semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/CharParser#atEof().(i) -// documentation ```scala\ni: Int \n``` +// display_name i +// signature_documentation scala i: Int +// kind Parameter // ^^^ reference semanticdb maven maven/org.scala-lang/scala-library 2.13.13 scala/Int# // ^^^^^^^^^^^^ reference semanticdb maven maven/com.lihaoyi/upickle-core_2.13 1.4.0 upickle/core/BufferingCharParser#requestUntil(). // ^ reference semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/CharParser#atEof().(i) @@ -106,7 +128,9 @@ abstract class CharParser[J] extends upickle.core.BufferingCharParser{ */ protected[this] def close(): Unit // ^^^^^ definition semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/CharParser#close(). -// documentation ```scala\ndef close(): Unit\n``` +// display_name close +// signature_documentation scala def close(): Unit +// kind AbstractMethod // relationship is_reference is_implementation semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/CharSequenceParser#close(). // relationship is_reference is_implementation semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/StringParser#close(). // ^^^^ reference semanticdb maven maven/org.scala-lang/scala-library 2.13.13 scala/Unit# @@ -118,37 +142,51 @@ abstract class CharParser[J] extends upickle.core.BufferingCharParser{ // ^^^^^^ reference semanticdb maven maven/org.scala-lang/scala-library 2.13.13 scala/inline# // ^ reference semanticdb maven maven/org.scala-lang/scala-library 2.13.13 scala/inline#``(). // ^^^^^^ definition semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/CharParser#ARRBEG. -// documentation ```scala\n@inline\nprivate[this] final val ARRBEG: 6\n``` +// display_name ARRBEG +// signature_documentation scala @inline\nprivate[this] final val ARRBEG: 6 +// kind Method @inline private[this] final val OBJBEG = 7 // ^^^^^^ reference semanticdb maven maven/org.scala-lang/scala-library 2.13.13 scala/inline# // ^ reference semanticdb maven maven/org.scala-lang/scala-library 2.13.13 scala/inline#``(). // ^^^^^^ definition semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/CharParser#OBJBEG. -// documentation ```scala\n@inline\nprivate[this] final val OBJBEG: 7\n``` +// display_name OBJBEG +// signature_documentation scala @inline\nprivate[this] final val OBJBEG: 7 +// kind Method @inline private[this] final val DATA = 1 // ^^^^^^ reference semanticdb maven maven/org.scala-lang/scala-library 2.13.13 scala/inline# // ^ reference semanticdb maven maven/org.scala-lang/scala-library 2.13.13 scala/inline#``(). // ^^^^ definition semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/CharParser#DATA. -// documentation ```scala\n@inline\nprivate[this] final val DATA: 1\n``` +// display_name DATA +// signature_documentation scala @inline\nprivate[this] final val DATA: 1 +// kind Method @inline private[this] final val KEY = 2 // ^^^^^^ reference semanticdb maven maven/org.scala-lang/scala-library 2.13.13 scala/inline# // ^ reference semanticdb maven maven/org.scala-lang/scala-library 2.13.13 scala/inline#``(). // ^^^ definition semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/CharParser#KEY. -// documentation ```scala\n@inline\nprivate[this] final val KEY: 2\n``` +// display_name KEY +// signature_documentation scala @inline\nprivate[this] final val KEY: 2 +// kind Method @inline private[this] final val COLON = 3 // ^^^^^^ reference semanticdb maven maven/org.scala-lang/scala-library 2.13.13 scala/inline# // ^ reference semanticdb maven maven/org.scala-lang/scala-library 2.13.13 scala/inline#``(). // ^^^^^ definition semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/CharParser#COLON. -// documentation ```scala\n@inline\nprivate[this] final val COLON: 3\n``` +// display_name COLON +// signature_documentation scala @inline\nprivate[this] final val COLON: 3 +// kind Method @inline private[this] final val ARREND = 4 // ^^^^^^ reference semanticdb maven maven/org.scala-lang/scala-library 2.13.13 scala/inline# // ^ reference semanticdb maven maven/org.scala-lang/scala-library 2.13.13 scala/inline#``(). // ^^^^^^ definition semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/CharParser#ARREND. -// documentation ```scala\n@inline\nprivate[this] final val ARREND: 4\n``` +// display_name ARREND +// signature_documentation scala @inline\nprivate[this] final val ARREND: 4 +// kind Method @inline private[this] final val OBJEND = 5 // ^^^^^^ reference semanticdb maven maven/org.scala-lang/scala-library 2.13.13 scala/inline# // ^ reference semanticdb maven maven/org.scala-lang/scala-library 2.13.13 scala/inline#``(). // ^^^^^^ definition semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/CharParser#OBJEND. -// documentation ```scala\n@inline\nprivate[this] final val OBJEND: 5\n``` +// display_name OBJEND +// signature_documentation scala @inline\nprivate[this] final val OBJEND: 5 +// kind Method /** * Parse the JSON document into a single JSON value. @@ -159,22 +197,32 @@ abstract class CharParser[J] extends upickle.core.BufferingCharParser{ */ final def parse(facade: Visitor[_, J]): J = { // ^^^^^ definition semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/CharParser#parse(). -// documentation ```scala\nfinal def parse(facade: Visitor[local0, J[): J\n``` +// display_name parse +// signature_documentation scala final def parse(facade: Visitor[local0, J[): J +// kind Method // ^^^^^^ definition semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/CharParser#parse().(facade) -// documentation ```scala\nfacade: Visitor[local0, J[ \n``` +// display_name facade +// signature_documentation scala facade: Visitor[local0, J[ +// kind Parameter // ^^^^^^^ reference semanticdb maven maven/com.lihaoyi/upickle-core_2.13 1.4.0 upickle/core/Visitor# // ^ reference semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/CharParser#[J] // ^ reference semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/CharParser#[J] val (value, i) = parseTopLevel(0, facade) // ^^^^^ definition local 2 -// documentation ```scala\nvalue: J \n``` +// display_name value +// signature_documentation scala value: J +// kind Variable // ^ definition local 3 -// documentation ```scala\ni: Int \n``` +// display_name i +// signature_documentation scala i: Int +// kind Variable // ^^^^^^^^^^^^^ reference semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/CharParser#parseTopLevel(). // ^^^^^^ reference semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/CharParser#parse().(facade) var j = i // ^ definition local 4 -// documentation ```scala\nj: Int \n``` +// display_name j +// signature_documentation scala j: Int +// kind Variable // ^ reference local 3 while (!atEof(j)) { // ^ reference semanticdb maven maven/org.scala-lang/scala-library 2.13.13 scala/Boolean#`unary_!`(). @@ -208,17 +256,25 @@ abstract class CharParser[J] extends upickle.core.BufferingCharParser{ */ protected[this] def die(i: Int, msg: String): Nothing = { // ^^^ definition semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/CharParser#die(). -// documentation ```scala\ndef die(i: Int, msg: String): Nothing\n``` +// display_name die +// signature_documentation scala def die(i: Int, msg: String): Nothing +// kind Method // ^ definition semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/CharParser#die().(i) -// documentation ```scala\ni: Int \n``` +// display_name i +// signature_documentation scala i: Int +// kind Parameter // ^^^ reference semanticdb maven maven/org.scala-lang/scala-library 2.13.13 scala/Int# // ^^^ definition semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/CharParser#die().(msg) -// documentation ```scala\nmsg: String \n``` +// display_name msg +// signature_documentation scala msg: String +// kind Parameter // ^^^^^^ reference semanticdb maven maven/org.scala-lang/scala-library 2.13.13 scala/Predef.String# // ^^^^^^^ reference semanticdb maven . . scala/Nothing# val out = new upickle.core.CharBuilder() // ^^^ definition local 6 -// documentation ```scala\nout: CharBuilder \n``` +// display_name out +// signature_documentation scala out: CharBuilder +// kind Variable // ^^^^^^^ reference semanticdb maven . . upickle/ // ^^^^ reference semanticdb maven . . upickle/core/ // ^^^^^^^^^^^ reference semanticdb maven maven/com.lihaoyi/upickle-core_2.13 1.4.0 upickle/core/CharBuilder# @@ -249,7 +305,9 @@ abstract class CharParser[J] extends upickle.core.BufferingCharParser{ ) val s = "%s got %s" format (msg, out.makeString()) // ^ definition local 7 -// documentation ```scala\ns: String \n``` +// display_name s +// signature_documentation scala s: String +// kind Variable // ^^^^^^ reference semanticdb maven maven/org.scala-lang/scala-library 2.13.13 scala/collection/StringOps#format(). // ^^^ reference semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/CharParser#die().(msg) // ^^^ reference local 6 @@ -272,35 +330,51 @@ abstract class CharParser[J] extends upickle.core.BufferingCharParser{ */ protected[this] final def parseNum(i: Int, ctxt: ObjArrVisitor[Any, J], facade: Visitor[_, J]): Int = { // ^^^^^^^^ definition semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/CharParser#parseNum(). -// documentation ```scala\nfinal def parseNum(i: Int, ctxt: ObjArrVisitor[Any, J], facade: Visitor[local8, J[): Int\n``` +// display_name parseNum +// signature_documentation scala final def parseNum(i: Int, ctxt: ObjArrVisitor[Any, J], facade: Visitor[local8, J[): Int +// kind Method // ^ definition semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/CharParser#parseNum().(i) -// documentation ```scala\ni: Int \n``` +// display_name i +// signature_documentation scala i: Int +// kind Parameter // ^^^ reference semanticdb maven maven/org.scala-lang/scala-library 2.13.13 scala/Int# // ^^^^ definition semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/CharParser#parseNum().(ctxt) -// documentation ```scala\nctxt: ObjArrVisitor[Any, J] \n``` +// display_name ctxt +// signature_documentation scala ctxt: ObjArrVisitor[Any, J] +// kind Parameter // ^^^^^^^^^^^^^ reference semanticdb maven maven/com.lihaoyi/upickle-core_2.13 1.4.0 upickle/core/ObjArrVisitor# // ^^^ reference semanticdb maven . . scala/Any# // ^ reference semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/CharParser#[J] // ^^^^^^ definition semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/CharParser#parseNum().(facade) -// documentation ```scala\nfacade: Visitor[local8, J[ \n``` +// display_name facade +// signature_documentation scala facade: Visitor[local8, J[ +// kind Parameter // ^^^^^^^ reference semanticdb maven maven/com.lihaoyi/upickle-core_2.13 1.4.0 upickle/core/Visitor# // ^ reference semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/CharParser#[J] // ^^^ reference semanticdb maven maven/org.scala-lang/scala-library 2.13.13 scala/Int# var j = i // ^ definition local 9 -// documentation ```scala\nj: Int \n``` +// display_name j +// signature_documentation scala j: Int +// kind Variable // ^ reference semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/CharParser#parseNum().(i) var c = getCharSafe(j) // ^ definition local 10 -// documentation ```scala\nc: Char \n``` +// display_name c +// signature_documentation scala c: Char +// kind Variable // ^^^^^^^^^^^ reference semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/CharParser#getCharSafe(). // ^ reference local 9 var decIndex = -1 // ^^^^^^^^ definition local 11 -// documentation ```scala\ndecIndex: Int \n``` +// display_name decIndex +// signature_documentation scala decIndex: Int +// kind Variable var expIndex = -1 // ^^^^^^^^ definition local 12 -// documentation ```scala\nexpIndex: Int \n``` +// display_name expIndex +// signature_documentation scala expIndex: Int +// kind Variable if (c == '-') { // ^ reference local 10 @@ -326,7 +400,9 @@ abstract class CharParser[J] extends upickle.core.BufferingCharParser{ } else { val j0 = j // ^^ definition local 13 -// documentation ```scala\nj0: Int \n``` +// display_name j0 +// signature_documentation scala j0: Int +// kind Variable // ^ reference local 9 while (elemOps.within('0', c, '9')) { // ^^^^^^^ reference semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/CharParser#elemOps. @@ -365,7 +441,9 @@ abstract class CharParser[J] extends upickle.core.BufferingCharParser{ // ^ reference local 9 val j0 = j // ^^ definition local 15 -// documentation ```scala\nj0: Int \n``` +// display_name j0 +// signature_documentation scala j0: Int +// kind Variable // ^ reference local 9 while (elemOps.within('0', c, '9')) { // ^^^^^^^ reference semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/CharParser#elemOps. @@ -421,7 +499,9 @@ abstract class CharParser[J] extends upickle.core.BufferingCharParser{ } val j0 = j // ^^ definition local 17 -// documentation ```scala\nj0: Int \n``` +// display_name j0 +// signature_documentation scala j0: Int +// kind Variable // ^ reference local 9 while (elemOps.within('0', c, '9')) { // ^^^^^^^ reference semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/CharParser#elemOps. @@ -459,26 +539,38 @@ abstract class CharParser[J] extends upickle.core.BufferingCharParser{ def visitFloat64StringPartsWithWrapper(facade: Visitor[_, J], // ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ definition semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/CharParser#visitFloat64StringPartsWithWrapper(). -// documentation ```scala\ndef visitFloat64StringPartsWithWrapper(facade: Visitor[local19, J[, decIndex: Int, expIndex: Int, i: Int, j: Int): J\n``` +// display_name visitFloat64StringPartsWithWrapper +// signature_documentation scala def visitFloat64StringPartsWithWrapper(facade: Visitor[local19, J[, decIndex: Int, expIndex: Int, i: Int, j: Int): J +// kind Method // ^^^^^^ definition semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/CharParser#visitFloat64StringPartsWithWrapper().(facade) -// documentation ```scala\nfacade: Visitor[local19, J[ \n``` +// display_name facade +// signature_documentation scala facade: Visitor[local19, J[ +// kind Parameter // ^^^^^^^ reference semanticdb maven maven/com.lihaoyi/upickle-core_2.13 1.4.0 upickle/core/Visitor# // ^ reference semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/CharParser#[J] decIndex: Int, // ^^^^^^^^ definition semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/CharParser#visitFloat64StringPartsWithWrapper().(decIndex) -// documentation ```scala\ndecIndex: Int \n``` +// display_name decIndex +// signature_documentation scala decIndex: Int +// kind Parameter // ^^^ reference semanticdb maven maven/org.scala-lang/scala-library 2.13.13 scala/Int# expIndex: Int, // ^^^^^^^^ definition semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/CharParser#visitFloat64StringPartsWithWrapper().(expIndex) -// documentation ```scala\nexpIndex: Int \n``` +// display_name expIndex +// signature_documentation scala expIndex: Int +// kind Parameter // ^^^ reference semanticdb maven maven/org.scala-lang/scala-library 2.13.13 scala/Int# i: Int, // ^ definition semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/CharParser#visitFloat64StringPartsWithWrapper().(i) -// documentation ```scala\ni: Int \n``` +// display_name i +// signature_documentation scala i: Int +// kind Parameter // ^^^ reference semanticdb maven maven/org.scala-lang/scala-library 2.13.13 scala/Int# j: Int) = { // ^ definition semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/CharParser#visitFloat64StringPartsWithWrapper().(j) -// documentation ```scala\nj: Int \n``` +// display_name j +// signature_documentation scala j: Int +// kind Parameter // ^^^ reference semanticdb maven maven/org.scala-lang/scala-library 2.13.13 scala/Int# facade.visitFloat64StringParts( // ^^^^^^ reference semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/CharParser#visitFloat64StringPartsWithWrapper().(facade) @@ -514,31 +606,45 @@ abstract class CharParser[J] extends upickle.core.BufferingCharParser{ */ protected[this] final def parseNumTopLevel(i: Int, facade: Visitor[_, J]): (J, Int) = { // ^^^^^^^^^^^^^^^^ definition semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/CharParser#parseNumTopLevel(). -// documentation ```scala\nfinal def parseNumTopLevel(i: Int, facade: Visitor[local20, J[): (J, Int)\n``` +// display_name parseNumTopLevel +// signature_documentation scala final def parseNumTopLevel(i: Int, facade: Visitor[local20, J[): (J, Int) +// kind Method // ^ definition semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/CharParser#parseNumTopLevel().(i) -// documentation ```scala\ni: Int \n``` +// display_name i +// signature_documentation scala i: Int +// kind Parameter // ^^^ reference semanticdb maven maven/org.scala-lang/scala-library 2.13.13 scala/Int# // ^^^^^^ definition semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/CharParser#parseNumTopLevel().(facade) -// documentation ```scala\nfacade: Visitor[local20, J[ \n``` +// display_name facade +// signature_documentation scala facade: Visitor[local20, J[ +// kind Parameter // ^^^^^^^ reference semanticdb maven maven/com.lihaoyi/upickle-core_2.13 1.4.0 upickle/core/Visitor# // ^ reference semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/CharParser#[J] // ^ reference semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/CharParser#[J] // ^^^ reference semanticdb maven maven/org.scala-lang/scala-library 2.13.13 scala/Int# var j = i // ^ definition local 21 -// documentation ```scala\nj: Int \n``` +// display_name j +// signature_documentation scala j: Int +// kind Variable // ^ reference semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/CharParser#parseNumTopLevel().(i) var c = getCharSafe(j) // ^ definition local 22 -// documentation ```scala\nc: Char \n``` +// display_name c +// signature_documentation scala c: Char +// kind Variable // ^^^^^^^^^^^ reference semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/CharParser#getCharSafe(). // ^ reference local 21 var decIndex = -1 // ^^^^^^^^ definition local 23 -// documentation ```scala\ndecIndex: Int \n``` +// display_name decIndex +// signature_documentation scala decIndex: Int +// kind Variable var expIndex = -1 // ^^^^^^^^ definition local 24 -// documentation ```scala\nexpIndex: Int \n``` +// display_name expIndex +// signature_documentation scala expIndex: Int +// kind Variable if (c == '-') { // ^ reference local 22 @@ -577,7 +683,9 @@ abstract class CharParser[J] extends upickle.core.BufferingCharParser{ } else { val j0 = j // ^^ definition local 25 -// documentation ```scala\nj0: Int \n``` +// display_name j0 +// signature_documentation scala j0: Int +// kind Variable // ^ reference local 21 while (elemOps.within('0', c, '9')) { // ^^^^^^^ reference semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/CharParser#elemOps. @@ -629,7 +737,9 @@ abstract class CharParser[J] extends upickle.core.BufferingCharParser{ // ^ reference local 21 val j0 = j // ^^ definition local 27 -// documentation ```scala\nj0: Int \n``` +// display_name j0 +// signature_documentation scala j0: Int +// kind Variable // ^ reference local 21 while (elemOps.within('0', c, '9')) { // ^^^^^^^ reference semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/CharParser#elemOps. @@ -698,7 +808,9 @@ abstract class CharParser[J] extends upickle.core.BufferingCharParser{ } val j0 = j // ^^ definition local 29 -// documentation ```scala\nj0: Int \n``` +// display_name j0 +// signature_documentation scala j0: Int +// kind Variable // ^ reference local 21 while (elemOps.within('0', c, '9')) { // ^^^^^^^ reference semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/CharParser#elemOps. @@ -750,9 +862,13 @@ abstract class CharParser[J] extends upickle.core.BufferingCharParser{ */ protected[this] final def descape(i: Int): Char = { // ^^^^^^^ definition semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/CharParser#descape(). -// documentation ```scala\nfinal def descape(i: Int): Char\n``` +// display_name descape +// signature_documentation scala final def descape(i: Int): Char +// kind Method // ^ definition semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/CharParser#descape().(i) -// documentation ```scala\ni: Int \n``` +// display_name i +// signature_documentation scala i: Int +// kind Parameter // ^^^ reference semanticdb maven maven/org.scala-lang/scala-library 2.13.13 scala/Int# // ^^^^ reference semanticdb maven maven/org.scala-lang/scala-library 2.13.13 scala/Char# import upickle.core.RenderUtils.hex @@ -762,7 +878,9 @@ abstract class CharParser[J] extends upickle.core.BufferingCharParser{ // ^^^ reference semanticdb maven maven/com.lihaoyi/upickle-core_2.13 1.4.0 upickle/core/RenderUtils.hex(). var x = 0 // ^ definition local 31 -// documentation ```scala\nx: Int \n``` +// display_name x +// signature_documentation scala x: Int +// kind Variable x = (x << 4) | hex(getCharSafe(i+2).toInt) // ^ reference local 31 // ^ reference local 31 @@ -816,12 +934,18 @@ abstract class CharParser[J] extends upickle.core.BufferingCharParser{ */ protected[this] final def parseTrue(i: Int, facade: Visitor[_, J]): J = { // ^^^^^^^^^ definition semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/CharParser#parseTrue(). -// documentation ```scala\nfinal def parseTrue(i: Int, facade: Visitor[local32, J[): J\n``` +// display_name parseTrue +// signature_documentation scala final def parseTrue(i: Int, facade: Visitor[local32, J[): J +// kind Method // ^ definition semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/CharParser#parseTrue().(i) -// documentation ```scala\ni: Int \n``` +// display_name i +// signature_documentation scala i: Int +// kind Parameter // ^^^ reference semanticdb maven maven/org.scala-lang/scala-library 2.13.13 scala/Int# // ^^^^^^ definition semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/CharParser#parseTrue().(facade) -// documentation ```scala\nfacade: Visitor[local32, J[ \n``` +// display_name facade +// signature_documentation scala facade: Visitor[local32, J[ +// kind Parameter // ^^^^^^^ reference semanticdb maven maven/com.lihaoyi/upickle-core_2.13 1.4.0 upickle/core/Visitor# // ^ reference semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/CharParser#[J] // ^ reference semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/CharParser#[J] @@ -862,12 +986,18 @@ abstract class CharParser[J] extends upickle.core.BufferingCharParser{ */ protected[this] final def parseFalse(i: Int, facade: Visitor[_, J]): J = { // ^^^^^^^^^^ definition semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/CharParser#parseFalse(). -// documentation ```scala\nfinal def parseFalse(i: Int, facade: Visitor[local33, J[): J\n``` +// display_name parseFalse +// signature_documentation scala final def parseFalse(i: Int, facade: Visitor[local33, J[): J +// kind Method // ^ definition semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/CharParser#parseFalse().(i) -// documentation ```scala\ni: Int \n``` +// display_name i +// signature_documentation scala i: Int +// kind Parameter // ^^^ reference semanticdb maven maven/org.scala-lang/scala-library 2.13.13 scala/Int# // ^^^^^^ definition semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/CharParser#parseFalse().(facade) -// documentation ```scala\nfacade: Visitor[local33, J[ \n``` +// display_name facade +// signature_documentation scala facade: Visitor[local33, J[ +// kind Parameter // ^^^^^^^ reference semanticdb maven maven/com.lihaoyi/upickle-core_2.13 1.4.0 upickle/core/Visitor# // ^ reference semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/CharParser#[J] // ^ reference semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/CharParser#[J] @@ -914,12 +1044,18 @@ abstract class CharParser[J] extends upickle.core.BufferingCharParser{ */ protected[this] final def parseNull(i: Int, facade: Visitor[_, J]): J = { // ^^^^^^^^^ definition semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/CharParser#parseNull(). -// documentation ```scala\nfinal def parseNull(i: Int, facade: Visitor[local34, J[): J\n``` +// display_name parseNull +// signature_documentation scala final def parseNull(i: Int, facade: Visitor[local34, J[): J +// kind Method // ^ definition semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/CharParser#parseNull().(i) -// documentation ```scala\ni: Int \n``` +// display_name i +// signature_documentation scala i: Int +// kind Parameter // ^^^ reference semanticdb maven maven/org.scala-lang/scala-library 2.13.13 scala/Int# // ^^^^^^ definition semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/CharParser#parseNull().(facade) -// documentation ```scala\nfacade: Visitor[local34, J[ \n``` +// display_name facade +// signature_documentation scala facade: Visitor[local34, J[ +// kind Parameter // ^^^^^^^ reference semanticdb maven maven/com.lihaoyi/upickle-core_2.13 1.4.0 upickle/core/Visitor# // ^ reference semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/CharParser#[J] // ^ reference semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/CharParser#[J] @@ -955,12 +1091,18 @@ abstract class CharParser[J] extends upickle.core.BufferingCharParser{ protected[this] final def parseTopLevel(i: Int, facade: Visitor[_, J]): (J, Int) = { // ^^^^^^^^^^^^^ definition semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/CharParser#parseTopLevel(). -// documentation ```scala\nfinal def parseTopLevel(i: Int, facade: Visitor[local35, J[): (J, Int)\n``` +// display_name parseTopLevel +// signature_documentation scala final def parseTopLevel(i: Int, facade: Visitor[local35, J[): (J, Int) +// kind Method // ^ definition semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/CharParser#parseTopLevel().(i) -// documentation ```scala\ni: Int \n``` +// display_name i +// signature_documentation scala i: Int +// kind Parameter // ^^^ reference semanticdb maven maven/org.scala-lang/scala-library 2.13.13 scala/Int# // ^^^^^^ definition semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/CharParser#parseTopLevel().(facade) -// documentation ```scala\nfacade: Visitor[local35, J[ \n``` +// display_name facade +// signature_documentation scala facade: Visitor[local35, J[ +// kind Parameter // ^^^^^^^ reference semanticdb maven maven/com.lihaoyi/upickle-core_2.13 1.4.0 upickle/core/Visitor# // ^ reference semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/CharParser#[J] // ^ reference semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/CharParser#[J] @@ -981,12 +1123,18 @@ abstract class CharParser[J] extends upickle.core.BufferingCharParser{ // ^ reference semanticdb maven maven/org.scala-lang/scala-library 2.13.13 scala/annotation/tailrec#``(). protected[this] final def parseTopLevel0(i: Int, facade: Visitor[_, J]): (J, Int) = { // ^^^^^^^^^^^^^^ definition semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/CharParser#parseTopLevel0(). -// documentation ```scala\n@tailrec\nfinal def parseTopLevel0(i: Int, facade: Visitor[local38, J[): (J, Int)\n``` +// display_name parseTopLevel0 +// signature_documentation scala @tailrec\nfinal def parseTopLevel0(i: Int, facade: Visitor[local38, J[): (J, Int) +// kind Method // ^ definition semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/CharParser#parseTopLevel0().(i) -// documentation ```scala\ni: Int \n``` +// display_name i +// signature_documentation scala i: Int +// kind Parameter // ^^^ reference semanticdb maven maven/org.scala-lang/scala-library 2.13.13 scala/Int# // ^^^^^^ definition semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/CharParser#parseTopLevel0().(facade) -// documentation ```scala\nfacade: Visitor[local38, J[ \n``` +// display_name facade +// signature_documentation scala facade: Visitor[local38, J[ +// kind Parameter // ^^^^^^^ reference semanticdb maven maven/com.lihaoyi/upickle-core_2.13 1.4.0 upickle/core/Visitor# // ^ reference semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/CharParser#[J] // ^ reference semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/CharParser#[J] @@ -1068,18 +1216,26 @@ abstract class CharParser[J] extends upickle.core.BufferingCharParser{ def reject(j: Int): PartialFunction[Throwable, Nothing] = { // ^^^^^^ definition semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/CharParser#reject(). -// documentation ```scala\ndef reject(j: Int): PartialFunction[Throwable, Nothing]\n``` +// display_name reject +// signature_documentation scala def reject(j: Int): PartialFunction[Throwable, Nothing] +// kind Method // ^ definition semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/CharParser#reject().(j) -// documentation ```scala\nj: Int \n``` +// display_name j +// signature_documentation scala j: Int +// kind Parameter // ^^^ reference semanticdb maven maven/org.scala-lang/scala-library 2.13.13 scala/Int# // ^^^^^^^^^^^^^^^ reference semanticdb maven maven/org.scala-lang/scala-library 2.13.13 scala/PartialFunction# // ^^^^^^^^^ reference semanticdb maven maven/org.scala-lang/scala-library 2.13.13 scala/package.Throwable# // ^^^^^^^ reference semanticdb maven . . scala/Nothing# // ^ definition local 39 -// documentation ```scala\n@SerialVersionUID\nfinal class $anonfun\n``` +// display_name $anonfun +// signature_documentation scala @SerialVersionUID\nfinal class $anonfun +// kind Class case e: Abort => // ^ definition local 46 -// documentation ```scala\ne: Abort \n``` +// display_name e +// signature_documentation scala e: Abort +// kind Variable // ^^^^^ reference semanticdb maven maven/com.lihaoyi/upickle-core_2.13 1.4.0 upickle/core/Abort# throw new AbortException(e.msg, j, -1, -1, e) // ^^^^^^^^^^^^^^ reference semanticdb maven maven/com.lihaoyi/upickle-core_2.13 1.4.0 upickle/core/AbortException# @@ -1111,22 +1267,32 @@ abstract class CharParser[J] extends upickle.core.BufferingCharParser{ // ^ reference semanticdb maven maven/org.scala-lang/scala-library 2.13.13 scala/annotation/tailrec#``(). protected[this] final def parseNested(state: Int, // ^^^^^^^^^^^ definition semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/CharParser#parseNested(). -// documentation ```scala\n@tailrec\nfinal def parseNested(state: Int, i: Int, stackHead: ObjArrVisitor[local50, J[, stackTail: List[ObjArrVisitor[local51, J[]): (J, Int)\n``` +// display_name parseNested +// signature_documentation scala @tailrec\nfinal def parseNested(state: Int, i: Int, stackHead: ObjArrVisitor[local50, J[, stackTail: List[ObjArrVisitor[local51, J[]): (J, Int) +// kind Method // ^^^^^ definition semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/CharParser#parseNested().(state) -// documentation ```scala\nstate: Int \n``` +// display_name state +// signature_documentation scala state: Int +// kind Parameter // ^^^ reference semanticdb maven maven/org.scala-lang/scala-library 2.13.13 scala/Int# i: Int, // ^ definition semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/CharParser#parseNested().(i) -// documentation ```scala\ni: Int \n``` +// display_name i +// signature_documentation scala i: Int +// kind Parameter // ^^^ reference semanticdb maven maven/org.scala-lang/scala-library 2.13.13 scala/Int# stackHead: ObjArrVisitor[_, J], // ^^^^^^^^^ definition semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/CharParser#parseNested().(stackHead) -// documentation ```scala\nstackHead: ObjArrVisitor[local50, J[ \n``` +// display_name stackHead +// signature_documentation scala stackHead: ObjArrVisitor[local50, J[ +// kind Parameter // ^^^^^^^^^^^^^ reference semanticdb maven maven/com.lihaoyi/upickle-core_2.13 1.4.0 upickle/core/ObjArrVisitor# // ^ reference semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/CharParser#[J] stackTail: List[ObjArrVisitor[_, J]]) : (J, Int) = { // ^^^^^^^^^ definition semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/CharParser#parseNested().(stackTail) -// documentation ```scala\nstackTail: List[ObjArrVisitor[local51, J[] \n``` +// display_name stackTail +// signature_documentation scala stackTail: List[ObjArrVisitor[local51, J[] +// kind Parameter // ^^^^ reference semanticdb maven maven/org.scala-lang/scala-library 2.13.13 scala/package.List# // ^^^^^^^^^^^^^ reference semanticdb maven maven/com.lihaoyi/upickle-core_2.13 1.4.0 upickle/core/ObjArrVisitor# // ^ reference semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/CharParser#[J] @@ -1152,7 +1318,9 @@ abstract class CharParser[J] extends upickle.core.BufferingCharParser{ // ^^^^^^ reference semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/CharParser#OBJBEG. val nextJ = try parseStringKey(i, stackHead) catch reject(i) // ^^^^^ definition local 52 -// documentation ```scala\nnextJ: Int \n``` +// display_name nextJ +// signature_documentation scala nextJ: Int +// kind Variable // ^^^^^^^^^^^^^^ reference semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/CharParser#parseStringKey(). // ^ reference semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/CharParser#parseNested().(i) // ^^^^^^^^^ reference semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/CharParser#parseNested().(stackHead) @@ -1170,7 +1338,9 @@ abstract class CharParser[J] extends upickle.core.BufferingCharParser{ // ^^^^^^ reference semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/CharParser#ARRBEG. val nextJ = try parseStringValue(i, stackHead) catch reject(i) // ^^^^^ definition local 55 -// documentation ```scala\nnextJ: Int \n``` +// display_name nextJ +// signature_documentation scala nextJ: Int +// kind Variable // ^^^^^^^^^^^^^^^^ reference semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/CharParser#parseStringValue(). // ^ reference semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/CharParser#parseNested().(i) // ^^^^^^^^^ reference semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/CharParser#parseNested().(stackHead) @@ -1215,7 +1385,9 @@ abstract class CharParser[J] extends upickle.core.BufferingCharParser{ // ^ reference semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/CharParser#parseNested().(i) val ctx = // ^^^ definition local 58 -// documentation ```scala\nctx: ArrVisitor[local59, J[ \n``` +// display_name ctx +// signature_documentation scala ctx: ArrVisitor[local59, J[ +// kind Variable try stackHead.subVisitor.asInstanceOf[Visitor[_, J]].visitArray(-1, i) // ^^^^^^^^^ reference semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/CharParser#parseNested().(stackHead) // ^^^^^^^^^^ reference semanticdb maven maven/com.lihaoyi/upickle-core_2.13 1.4.0 upickle/core/ObjArrVisitor#subVisitor(). @@ -1244,7 +1416,9 @@ abstract class CharParser[J] extends upickle.core.BufferingCharParser{ // ^ reference semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/CharParser#parseNested().(i) val ctx = // ^^^ definition local 63 -// documentation ```scala\nctx: ObjVisitor[local64, J[ \n``` +// display_name ctx +// signature_documentation scala ctx: ObjVisitor[local64, J[ +// kind Variable try stackHead.subVisitor.asInstanceOf[Visitor[_, J]].visitObject(-1, i) // ^^^^^^^^^ reference semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/CharParser#parseNested().(stackHead) // ^^^^^^^^^^ reference semanticdb maven maven/com.lihaoyi/upickle-core_2.13 1.4.0 upickle/core/ObjArrVisitor#subVisitor(). @@ -1273,7 +1447,9 @@ abstract class CharParser[J] extends upickle.core.BufferingCharParser{ // ^ reference semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/CharParser#parseNested().(i) val ctx = // ^^^ definition local 68 -// documentation ```scala\nctx: Int \n``` +// display_name ctx +// signature_documentation scala ctx: Int +// kind Variable try parseNum(i, stackHead.narrow, stackHead.subVisitor.asInstanceOf[Visitor[_, J]]) // ^^^^^^^^ reference semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/CharParser#parseNum(). // ^ reference semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/CharParser#parseNested().(i) @@ -1433,13 +1609,17 @@ abstract class CharParser[J] extends upickle.core.BufferingCharParser{ case Some(t) => t // ^^^^ reference semanticdb maven maven/org.scala-lang/scala-library 2.13.13 scala/Some. // ^ definition local 77 -// documentation ```scala\nt: (J, Int) \n``` +// display_name t +// signature_documentation scala t: (J, Int) +// kind Variable // ^ reference local 77 case None => // ^^^^ reference semanticdb maven maven/org.scala-lang/scala-library 2.13.13 scala/None. val stackTailHead = stackTail.head // ^^^^^^^^^^^^^ definition local 78 -// documentation ```scala\nstackTailHead: ObjArrVisitor[local51, J[ \n``` +// display_name stackTailHead +// signature_documentation scala stackTailHead: ObjArrVisitor[local51, J[ +// kind Variable // ^^^^^^^^^ reference semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/CharParser#parseNested().(stackTail) // ^^^^ reference semanticdb maven maven/org.scala-lang/scala-library 2.13.13 scala/collection/IterableOps#head(). parseNested(collectionEndFor(stackTailHead), i + 1, stackTailHead, stackTail.tail) @@ -1472,13 +1652,17 @@ abstract class CharParser[J] extends upickle.core.BufferingCharParser{ case Some(t) => t // ^^^^ reference semanticdb maven maven/org.scala-lang/scala-library 2.13.13 scala/Some. // ^ definition local 79 -// documentation ```scala\nt: (J, Int) \n``` +// display_name t +// signature_documentation scala t: (J, Int) +// kind Variable // ^ reference local 79 case None => // ^^^^ reference semanticdb maven maven/org.scala-lang/scala-library 2.13.13 scala/None. val stackTailHead = stackTail.head // ^^^^^^^^^^^^^ definition local 80 -// documentation ```scala\nstackTailHead: ObjArrVisitor[local51, J[ \n``` +// display_name stackTailHead +// signature_documentation scala stackTailHead: ObjArrVisitor[local51, J[ +// kind Variable // ^^^^^^^^^ reference semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/CharParser#parseNested().(stackTail) // ^^^^ reference semanticdb maven maven/org.scala-lang/scala-library 2.13.13 scala/collection/IterableOps#head(). parseNested(collectionEndFor(stackTailHead), i + 1, stackTailHead, stackTail.tail) @@ -1507,16 +1691,24 @@ abstract class CharParser[J] extends upickle.core.BufferingCharParser{ def dieWithFailureMessage(i: Int, state: Int) = { // ^^^^^^^^^^^^^^^^^^^^^ definition semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/CharParser#dieWithFailureMessage(). -// documentation ```scala\ndef dieWithFailureMessage(i: Int, state: Int): Nothing\n``` +// display_name dieWithFailureMessage +// signature_documentation scala def dieWithFailureMessage(i: Int, state: Int): Nothing +// kind Method // ^ definition semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/CharParser#dieWithFailureMessage().(i) -// documentation ```scala\ni: Int \n``` +// display_name i +// signature_documentation scala i: Int +// kind Parameter // ^^^ reference semanticdb maven maven/org.scala-lang/scala-library 2.13.13 scala/Int# // ^^^^^ definition semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/CharParser#dieWithFailureMessage().(state) -// documentation ```scala\nstate: Int \n``` +// display_name state +// signature_documentation scala state: Int +// kind Parameter // ^^^ reference semanticdb maven maven/org.scala-lang/scala-library 2.13.13 scala/Int# val expected = state match{ // ^^^^^^^^ definition local 81 -// documentation ```scala\nexpected: String \n``` +// display_name expected +// signature_documentation scala expected: String +// kind Variable // ^^^^^ reference semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/CharParser#dieWithFailureMessage().(state) case ARRBEG => "json value or ]" // ^^^^^^ reference semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/CharParser#ARRBEG. @@ -1542,12 +1734,18 @@ abstract class CharParser[J] extends upickle.core.BufferingCharParser{ def failIfNotData(state: Int, i: Int) = (state: @switch) match{ // ^^^^^^^^^^^^^ definition semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/CharParser#failIfNotData(). -// documentation ```scala\ndef failIfNotData(state: Int, i: Int): Unit\n``` +// display_name failIfNotData +// signature_documentation scala def failIfNotData(state: Int, i: Int): Unit +// kind Method // ^^^^^ definition semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/CharParser#failIfNotData().(state) -// documentation ```scala\nstate: Int \n``` +// display_name state +// signature_documentation scala state: Int +// kind Parameter // ^^^ reference semanticdb maven maven/org.scala-lang/scala-library 2.13.13 scala/Int# // ^ definition semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/CharParser#failIfNotData().(i) -// documentation ```scala\ni: Int \n``` +// display_name i +// signature_documentation scala i: Int +// kind Parameter // ^^^ reference semanticdb maven maven/org.scala-lang/scala-library 2.13.13 scala/Int# // ^^^^^ reference semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/CharParser#failIfNotData().(state) case DATA | ARRBEG => // do nothing @@ -1561,18 +1759,26 @@ abstract class CharParser[J] extends upickle.core.BufferingCharParser{ def tryCloseCollection(stackHead: ObjArrVisitor[_, J], stackTail: List[ObjArrVisitor[_, J]], i: Int) = { // ^^^^^^^^^^^^^^^^^^ definition semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/CharParser#tryCloseCollection(). -// documentation ```scala\ndef tryCloseCollection(stackHead: ObjArrVisitor[local82, J[, stackTail: List[ObjArrVisitor[local83, J[], i: Int): Option[(J, Int)]\n``` +// display_name tryCloseCollection +// signature_documentation scala def tryCloseCollection(stackHead: ObjArrVisitor[local82, J[, stackTail: List[ObjArrVisitor[local83, J[], i: Int): Option[(J, Int)] +// kind Method // ^^^^^^^^^ definition semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/CharParser#tryCloseCollection().(stackHead) -// documentation ```scala\nstackHead: ObjArrVisitor[local82, J[ \n``` +// display_name stackHead +// signature_documentation scala stackHead: ObjArrVisitor[local82, J[ +// kind Parameter // ^^^^^^^^^^^^^ reference semanticdb maven maven/com.lihaoyi/upickle-core_2.13 1.4.0 upickle/core/ObjArrVisitor# // ^ reference semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/CharParser#[J] // ^^^^^^^^^ definition semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/CharParser#tryCloseCollection().(stackTail) -// documentation ```scala\nstackTail: List[ObjArrVisitor[local83, J[] \n``` +// display_name stackTail +// signature_documentation scala stackTail: List[ObjArrVisitor[local83, J[] +// kind Parameter // ^^^^ reference semanticdb maven maven/org.scala-lang/scala-library 2.13.13 scala/package.List# // ^^^^^^^^^^^^^ reference semanticdb maven maven/com.lihaoyi/upickle-core_2.13 1.4.0 upickle/core/ObjArrVisitor# // ^ reference semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/CharParser#[J] // ^ definition semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/CharParser#tryCloseCollection().(i) -// documentation ```scala\ni: Int \n``` +// display_name i +// signature_documentation scala i: Int +// kind Parameter // ^^^ reference semanticdb maven maven/org.scala-lang/scala-library 2.13.13 scala/Int# if (stackTail.isEmpty) { // ^^^^^^^^^ reference semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/CharParser#tryCloseCollection().(stackTail) @@ -1589,7 +1795,9 @@ abstract class CharParser[J] extends upickle.core.BufferingCharParser{ } else { val ctxt2 = stackTail.head.narrow // ^^^^^ definition local 86 -// documentation ```scala\nctxt2: ObjArrVisitor[Any, J] \n``` +// display_name ctxt2 +// signature_documentation scala ctxt2: ObjArrVisitor[Any, J] +// kind Variable // ^^^^^^^^^ reference semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/CharParser#tryCloseCollection().(stackTail) // ^^^^ reference semanticdb maven maven/org.scala-lang/scala-library 2.13.13 scala/collection/IterableOps#head(). // ^^^^^^ reference semanticdb maven maven/com.lihaoyi/upickle-core_2.13 1.4.0 upickle/core/ObjArrVisitor#narrow(). @@ -1609,9 +1817,13 @@ abstract class CharParser[J] extends upickle.core.BufferingCharParser{ } def collectionEndFor(stackHead: ObjArrVisitor[_, _]) = { // ^^^^^^^^^^^^^^^^ definition semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/CharParser#collectionEndFor(). -// documentation ```scala\ndef collectionEndFor(stackHead: ObjArrVisitor[local89, local90[): Int\n``` +// display_name collectionEndFor +// signature_documentation scala def collectionEndFor(stackHead: ObjArrVisitor[local89, local90[): Int +// kind Method // ^^^^^^^^^ definition semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/CharParser#collectionEndFor().(stackHead) -// documentation ```scala\nstackHead: ObjArrVisitor[local89, local90[ \n``` +// display_name stackHead +// signature_documentation scala stackHead: ObjArrVisitor[local89, local90[ +// kind Parameter // ^^^^^^^^^^^^^ reference semanticdb maven maven/com.lihaoyi/upickle-core_2.13 1.4.0 upickle/core/ObjArrVisitor# if (stackHead.isObj) OBJEND // ^^^^^^^^^ reference semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/CharParser#collectionEndFor().(stackHead) @@ -1630,18 +1842,26 @@ abstract class CharParser[J] extends upickle.core.BufferingCharParser{ */ protected[this] final def parseStringSimple(i: Int): Int = { // ^^^^^^^^^^^^^^^^^ definition semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/CharParser#parseStringSimple(). -// documentation ```scala\nfinal def parseStringSimple(i: Int): Int\n``` +// display_name parseStringSimple +// signature_documentation scala final def parseStringSimple(i: Int): Int +// kind Method // ^ definition semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/CharParser#parseStringSimple().(i) -// documentation ```scala\ni: Int \n``` +// display_name i +// signature_documentation scala i: Int +// kind Parameter // ^^^ reference semanticdb maven maven/org.scala-lang/scala-library 2.13.13 scala/Int# // ^^^ reference semanticdb maven maven/org.scala-lang/scala-library 2.13.13 scala/Int# var j = i // ^ definition local 91 -// documentation ```scala\nj: Int \n``` +// display_name j +// signature_documentation scala j: Int +// kind Variable // ^ reference semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/CharParser#parseStringSimple().(i) var c = elemOps.toUnsignedInt(getCharSafe(j)) // ^ definition local 92 -// documentation ```scala\nc: Int \n``` +// display_name c +// signature_documentation scala c: Int +// kind Variable // ^^^^^^^ reference semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/CharParser#elemOps. // ^^^^^^^^^^^^^ reference semanticdb maven maven/com.lihaoyi/upickle-core_2.13 1.4.0 upickle/core/CharOps.toUnsignedInt(). // ^^^^^^^^^^^ reference semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/CharParser#getCharSafe(). @@ -1684,18 +1904,26 @@ abstract class CharParser[J] extends upickle.core.BufferingCharParser{ */ protected[this] final def parseStringComplex(i0: Int): Int = { // ^^^^^^^^^^^^^^^^^^ definition semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/CharParser#parseStringComplex(). -// documentation ```scala\nfinal def parseStringComplex(i0: Int): Int\n``` +// display_name parseStringComplex +// signature_documentation scala final def parseStringComplex(i0: Int): Int +// kind Method // ^^ definition semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/CharParser#parseStringComplex().(i0) -// documentation ```scala\ni0: Int \n``` +// display_name i0 +// signature_documentation scala i0: Int +// kind Parameter // ^^^ reference semanticdb maven maven/org.scala-lang/scala-library 2.13.13 scala/Int# // ^^^ reference semanticdb maven maven/org.scala-lang/scala-library 2.13.13 scala/Int# var i = i0 // ^ definition local 94 -// documentation ```scala\ni: Int \n``` +// display_name i +// signature_documentation scala i: Int +// kind Variable // ^^ reference semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/CharParser#parseStringComplex().(i0) var c = elemOps.toUnsignedInt(getCharSafe(i)) // ^ definition local 95 -// documentation ```scala\nc: Int \n``` +// display_name c +// signature_documentation scala c: Int +// kind Variable // ^^^^^^^ reference semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/CharParser#elemOps. // ^^^^^^^^^^^^^ reference semanticdb maven maven/com.lihaoyi/upickle-core_2.13 1.4.0 upickle/core/CharOps.toUnsignedInt(). // ^^^^^^^^^^^ reference semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/CharParser#getCharSafe(). @@ -1764,7 +1992,9 @@ abstract class CharParser[J] extends upickle.core.BufferingCharParser{ case 'u' => val d = descape(i) // ^ definition local 97 -// documentation ```scala\nd: Char \n``` +// display_name d +// signature_documentation scala d: Char +// kind Variable // ^^^^^^^ reference semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/CharParser#descape(). // ^ reference local 94 outputBuilder.appendC(d) @@ -1778,7 +2008,9 @@ abstract class CharParser[J] extends upickle.core.BufferingCharParser{ case c => die(i + 1, s"illegal escape sequence after \\") // ^ definition local 98 -// documentation ```scala\nc: Char \n``` +// display_name c +// signature_documentation scala c: Char +// kind Variable // ^^^ reference semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/CharParser#die(). // ^ reference local 94 // ^ reference semanticdb maven maven/org.scala-lang/scala-library 2.13.13 scala/Int#`+`(+4). @@ -1821,19 +2053,27 @@ abstract class CharParser[J] extends upickle.core.BufferingCharParser{ */ protected[this] final def parseStringValue(i: Int, stackHead: ObjArrVisitor[_, J]): Int = { // ^^^^^^^^^^^^^^^^ definition semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/CharParser#parseStringValue(). -// documentation ```scala\nfinal def parseStringValue(i: Int, stackHead: ObjArrVisitor[local99, J[): Int\n``` +// display_name parseStringValue +// signature_documentation scala final def parseStringValue(i: Int, stackHead: ObjArrVisitor[local99, J[): Int +// kind Method // ^ definition semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/CharParser#parseStringValue().(i) -// documentation ```scala\ni: Int \n``` +// display_name i +// signature_documentation scala i: Int +// kind Parameter // ^^^ reference semanticdb maven maven/org.scala-lang/scala-library 2.13.13 scala/Int# // ^^^^^^^^^ definition semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/CharParser#parseStringValue().(stackHead) -// documentation ```scala\nstackHead: ObjArrVisitor[local99, J[ \n``` +// display_name stackHead +// signature_documentation scala stackHead: ObjArrVisitor[local99, J[ +// kind Parameter // ^^^^^^^^^^^^^ reference semanticdb maven maven/com.lihaoyi/upickle-core_2.13 1.4.0 upickle/core/ObjArrVisitor# // ^ reference semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/CharParser#[J] // ^^^ reference semanticdb maven maven/org.scala-lang/scala-library 2.13.13 scala/Int# val k = parseStringSimple(i + 1) // ^ definition local 100 -// documentation ```scala\nk: Int \n``` +// display_name k +// signature_documentation scala k: Int +// kind Variable // ^^^^^^^^^^^^^^^^^ reference semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/CharParser#parseStringSimple(). // ^ reference semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/CharParser#parseStringValue().(i) // ^ reference semanticdb maven maven/org.scala-lang/scala-library 2.13.13 scala/Int#`+`(+4). @@ -1856,7 +2096,9 @@ abstract class CharParser[J] extends upickle.core.BufferingCharParser{ } else { val k2 = parseStringToOutputBuilder(i, k) // ^^ definition local 101 -// documentation ```scala\nk2: Int \n``` +// display_name k2 +// signature_documentation scala k2: Int +// kind Variable // ^^^^^^^^^^^^^^^^^^^^^^^^^^ reference semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/CharParser#parseStringToOutputBuilder(). // ^ reference semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/CharParser#parseStringValue().(i) // ^ reference local 100 @@ -1873,19 +2115,27 @@ abstract class CharParser[J] extends upickle.core.BufferingCharParser{ protected[this] final def parseStringKey(i: Int, stackHead: ObjArrVisitor[_, J]): Int = { // ^^^^^^^^^^^^^^ definition semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/CharParser#parseStringKey(). -// documentation ```scala\nfinal def parseStringKey(i: Int, stackHead: ObjArrVisitor[local102, J[): Int\n``` +// display_name parseStringKey +// signature_documentation scala final def parseStringKey(i: Int, stackHead: ObjArrVisitor[local102, J[): Int +// kind Method // ^ definition semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/CharParser#parseStringKey().(i) -// documentation ```scala\ni: Int \n``` +// display_name i +// signature_documentation scala i: Int +// kind Parameter // ^^^ reference semanticdb maven maven/org.scala-lang/scala-library 2.13.13 scala/Int# // ^^^^^^^^^ definition semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/CharParser#parseStringKey().(stackHead) -// documentation ```scala\nstackHead: ObjArrVisitor[local102, J[ \n``` +// display_name stackHead +// signature_documentation scala stackHead: ObjArrVisitor[local102, J[ +// kind Parameter // ^^^^^^^^^^^^^ reference semanticdb maven maven/com.lihaoyi/upickle-core_2.13 1.4.0 upickle/core/ObjArrVisitor# // ^ reference semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/CharParser#[J] // ^^^ reference semanticdb maven maven/org.scala-lang/scala-library 2.13.13 scala/Int# val k = parseStringSimple(i + 1) // ^ definition local 103 -// documentation ```scala\nk: Int \n``` +// display_name k +// signature_documentation scala k: Int +// kind Variable // ^^^^^^^^^^^^^^^^^ reference semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/CharParser#parseStringSimple(). // ^ reference semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/CharParser#parseStringKey().(i) // ^ reference semanticdb maven maven/org.scala-lang/scala-library 2.13.13 scala/Int#`+`(+4). @@ -1908,7 +2158,9 @@ abstract class CharParser[J] extends upickle.core.BufferingCharParser{ } else { val k2 = parseStringToOutputBuilder(i, k) // ^^ definition local 104 -// documentation ```scala\nk2: Int \n``` +// display_name k2 +// signature_documentation scala k2: Int +// kind Variable // ^^^^^^^^^^^^^^^^^^^^^^^^^^ reference semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/CharParser#parseStringToOutputBuilder(). // ^ reference semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/CharParser#parseStringKey().(i) // ^ reference local 103 @@ -1926,12 +2178,18 @@ abstract class CharParser[J] extends upickle.core.BufferingCharParser{ def parseStringToOutputBuilder(i: Int, k: Int) = { // ^^^^^^^^^^^^^^^^^^^^^^^^^^ definition semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/CharParser#parseStringToOutputBuilder(). -// documentation ```scala\ndef parseStringToOutputBuilder(i: Int, k: Int): Int\n``` +// display_name parseStringToOutputBuilder +// signature_documentation scala def parseStringToOutputBuilder(i: Int, k: Int): Int +// kind Method // ^ definition semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/CharParser#parseStringToOutputBuilder().(i) -// documentation ```scala\ni: Int \n``` +// display_name i +// signature_documentation scala i: Int +// kind Parameter // ^^^ reference semanticdb maven maven/org.scala-lang/scala-library 2.13.13 scala/Int# // ^ definition semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/CharParser#parseStringToOutputBuilder().(k) -// documentation ```scala\nk: Int \n``` +// display_name k +// signature_documentation scala k: Int +// kind Parameter // ^^^ reference semanticdb maven maven/org.scala-lang/scala-library 2.13.13 scala/Int# outputBuilder.reset() // ^^^^^^^^^^^^^ reference semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/CharParser#outputBuilder. @@ -1948,7 +2206,9 @@ abstract class CharParser[J] extends upickle.core.BufferingCharParser{ // ^ reference semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/CharParser#parseStringToOutputBuilder().(i) val k2 = parseStringComplex(-k - 1) // ^^ definition local 105 -// documentation ```scala\nk2: Int \n``` +// display_name k2 +// signature_documentation scala k2: Int +// kind Variable // ^^^^^^^^^^^^^^^^^^ reference semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/CharParser#parseStringComplex(). // ^ reference semanticdb maven maven/org.scala-lang/scala-library 2.13.13 scala/Int#`unary_-`(). // ^ reference semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/CharParser#parseStringToOutputBuilder().(k) @@ -1959,20 +2219,30 @@ abstract class CharParser[J] extends upickle.core.BufferingCharParser{ def visitString(i: Int, s: CharSequence, stackHead: ObjArrVisitor[_, J]) = { // ^^^^^^^^^^^ definition semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/CharParser#visitString(). -// documentation ```scala\ndef visitString(i: Int, s: CharSequence, stackHead: ObjArrVisitor[local106, J[): Unit\n``` +// display_name visitString +// signature_documentation scala def visitString(i: Int, s: CharSequence, stackHead: ObjArrVisitor[local106, J[): Unit +// kind Method // ^ definition semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/CharParser#visitString().(i) -// documentation ```scala\ni: Int \n``` +// display_name i +// signature_documentation scala i: Int +// kind Parameter // ^^^ reference semanticdb maven maven/org.scala-lang/scala-library 2.13.13 scala/Int# // ^ definition semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/CharParser#visitString().(s) -// documentation ```scala\ns: CharSequence \n``` +// display_name s +// signature_documentation scala s: CharSequence +// kind Parameter // ^^^^^^^^^^^^ reference semanticdb maven jdk 11 java/lang/CharSequence# // ^^^^^^^^^ definition semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/CharParser#visitString().(stackHead) -// documentation ```scala\nstackHead: ObjArrVisitor[local106, J[ \n``` +// display_name stackHead +// signature_documentation scala stackHead: ObjArrVisitor[local106, J[ +// kind Parameter // ^^^^^^^^^^^^^ reference semanticdb maven maven/com.lihaoyi/upickle-core_2.13 1.4.0 upickle/core/ObjArrVisitor# // ^ reference semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/CharParser#[J] val v = stackHead.subVisitor.visitString(s, i) // ^ definition local 107 -// documentation ```scala\nv: Any \n``` +// display_name v +// signature_documentation scala v: Any +// kind Variable // ^^^^^^^^^ reference semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/CharParser#visitString().(stackHead) // ^^^^^^^^^^ reference semanticdb maven maven/com.lihaoyi/upickle-core_2.13 1.4.0 upickle/core/ObjArrVisitor#subVisitor(). // ^^^^^^^^^^^ reference semanticdb maven maven/com.lihaoyi/upickle-core_2.13 1.4.0 upickle/core/Visitor#visitString(). @@ -1987,27 +2257,39 @@ abstract class CharParser[J] extends upickle.core.BufferingCharParser{ } def visitStringKey(i: Int, s: CharSequence, stackHead: ObjArrVisitor[_, J]) = { // ^^^^^^^^^^^^^^ definition semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/CharParser#visitStringKey(). -// documentation ```scala\ndef visitStringKey(i: Int, s: CharSequence, stackHead: ObjArrVisitor[local108, J[): Unit\n``` +// display_name visitStringKey +// signature_documentation scala def visitStringKey(i: Int, s: CharSequence, stackHead: ObjArrVisitor[local108, J[): Unit +// kind Method // ^ definition semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/CharParser#visitStringKey().(i) -// documentation ```scala\ni: Int \n``` +// display_name i +// signature_documentation scala i: Int +// kind Parameter // ^^^ reference semanticdb maven maven/org.scala-lang/scala-library 2.13.13 scala/Int# // ^ definition semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/CharParser#visitStringKey().(s) -// documentation ```scala\ns: CharSequence \n``` +// display_name s +// signature_documentation scala s: CharSequence +// kind Parameter // ^^^^^^^^^^^^ reference semanticdb maven jdk 11 java/lang/CharSequence# // ^^^^^^^^^ definition semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/CharParser#visitStringKey().(stackHead) -// documentation ```scala\nstackHead: ObjArrVisitor[local108, J[ \n``` +// display_name stackHead +// signature_documentation scala stackHead: ObjArrVisitor[local108, J[ +// kind Parameter // ^^^^^^^^^^^^^ reference semanticdb maven maven/com.lihaoyi/upickle-core_2.13 1.4.0 upickle/core/ObjArrVisitor# // ^ reference semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/CharParser#[J] val obj = stackHead.asInstanceOf[ObjVisitor[Any, _]] // ^^^ definition local 109 -// documentation ```scala\nobj: ObjVisitor[Any, Any] \n``` +// display_name obj +// signature_documentation scala obj: ObjVisitor[Any, Any] +// kind Variable // ^^^^^^^^^ reference semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/CharParser#visitStringKey().(stackHead) // ^^^^^^^^^^^^ reference semanticdb maven . . scala/Any#asInstanceOf(). // ^^^^^^^^^^ reference semanticdb maven maven/com.lihaoyi/upickle-core_2.13 1.4.0 upickle/core/ObjVisitor# // ^^^ reference semanticdb maven . . scala/Any# val keyVisitor = obj.visitKey(i) // ^^^^^^^^^^ definition local 110 -// documentation ```scala\nkeyVisitor: Visitor[local111, Any[ \n``` +// display_name keyVisitor +// signature_documentation scala keyVisitor: Visitor[local111, Any[ +// kind Variable // ^^^ reference local 109 // ^^^^^^^^ reference semanticdb maven maven/com.lihaoyi/upickle-core_2.13 1.4.0 upickle/core/ObjVisitor#visitKey(). // ^ reference semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/CharParser#visitStringKey().(i) @@ -2023,12 +2305,18 @@ abstract class CharParser[J] extends upickle.core.BufferingCharParser{ protected[this] final def parseStringTopLevel(i: Int, facade: Visitor[_, J]): (J, Int) = { // ^^^^^^^^^^^^^^^^^^^ definition semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/CharParser#parseStringTopLevel(). -// documentation ```scala\nfinal def parseStringTopLevel(i: Int, facade: Visitor[local112, J[): (J, Int)\n``` +// display_name parseStringTopLevel +// signature_documentation scala final def parseStringTopLevel(i: Int, facade: Visitor[local112, J[): (J, Int) +// kind Method // ^ definition semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/CharParser#parseStringTopLevel().(i) -// documentation ```scala\ni: Int \n``` +// display_name i +// signature_documentation scala i: Int +// kind Parameter // ^^^ reference semanticdb maven maven/org.scala-lang/scala-library 2.13.13 scala/Int# // ^^^^^^ definition semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/CharParser#parseStringTopLevel().(facade) -// documentation ```scala\nfacade: Visitor[local112, J[ \n``` +// display_name facade +// signature_documentation scala facade: Visitor[local112, J[ +// kind Parameter // ^^^^^^^ reference semanticdb maven maven/com.lihaoyi/upickle-core_2.13 1.4.0 upickle/core/Visitor# // ^ reference semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/CharParser#[J] // ^ reference semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/CharParser#[J] @@ -2036,7 +2324,9 @@ abstract class CharParser[J] extends upickle.core.BufferingCharParser{ val k = parseStringSimple(i + 1) // ^ definition local 113 -// documentation ```scala\nk: Int \n``` +// display_name k +// signature_documentation scala k: Int +// kind Variable // ^^^^^^^^^^^^^^^^^ reference semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/CharParser#parseStringSimple(). // ^ reference semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/CharParser#parseStringTopLevel().(i) // ^ reference semanticdb maven maven/org.scala-lang/scala-library 2.13.13 scala/Int#`+`(+4). @@ -2045,7 +2335,9 @@ abstract class CharParser[J] extends upickle.core.BufferingCharParser{ // ^^ reference semanticdb maven maven/org.scala-lang/scala-library 2.13.13 scala/Int#`>=`(+3). val res = facade.visitString(unsafeCharSeqForRange(i + 1, k - i - 2), i) // ^^^ definition local 114 -// documentation ```scala\nres: J \n``` +// display_name res +// signature_documentation scala res: J +// kind Variable // ^^^^^^ reference semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/CharParser#parseStringTopLevel().(facade) // ^^^^^^^^^^^ reference semanticdb maven maven/com.lihaoyi/upickle-core_2.13 1.4.0 upickle/core/Visitor#visitString(). // ^^^^^^^^^^^^^^^^^^^^^ reference semanticdb maven maven/com.lihaoyi/upickle-core_2.13 1.4.0 upickle/core/BufferingCharParser#unsafeCharSeqForRange(). @@ -2062,13 +2354,17 @@ abstract class CharParser[J] extends upickle.core.BufferingCharParser{ } else { val k2 = parseStringToOutputBuilder(i, k) // ^^ definition local 115 -// documentation ```scala\nk2: Int \n``` +// display_name k2 +// signature_documentation scala k2: Int +// kind Variable // ^^^^^^^^^^^^^^^^^^^^^^^^^^ reference semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/CharParser#parseStringToOutputBuilder(). // ^ reference semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/CharParser#parseStringTopLevel().(i) // ^ reference local 113 val res = facade.visitString(outputBuilder.makeString(), i) // ^^^ definition local 116 -// documentation ```scala\nres: J \n``` +// display_name res +// signature_documentation scala res: J +// kind Variable // ^^^^^^ reference semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/CharParser#parseStringTopLevel().(facade) // ^^^^^^^^^^^ reference semanticdb maven maven/com.lihaoyi/upickle-core_2.13 1.4.0 upickle/core/Visitor#visitString(). // ^^^^^^^^^^^^^ reference semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/CharParser#outputBuilder. diff --git a/tests/snapshots/src/main/generated/com/airbnb/epoxy/ActivityRecyclerPool.kt b/tests/snapshots/src/main/generated/com/airbnb/epoxy/ActivityRecyclerPool.kt index 8305ff043..13e08876b 100644 --- a/tests/snapshots/src/main/generated/com/airbnb/epoxy/ActivityRecyclerPool.kt +++ b/tests/snapshots/src/main/generated/com/airbnb/epoxy/ActivityRecyclerPool.kt @@ -39,8 +39,10 @@ import java.util.ArrayList internal class ActivityRecyclerPool { // ^^^^^^^^^^^^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/ActivityRecyclerPool# +// display_name ActivityRecyclerPool // documentation ```kt\ninternal final class ActivityRecyclerPool\n``` // ^^^^^^^^^^^^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/ActivityRecyclerPool#``(). +// display_name ActivityRecyclerPool // documentation ```kt\npublic constructor ActivityRecyclerPool()\n``` /** @@ -49,8 +51,10 @@ internal class ActivityRecyclerPool { */ private val pools = ArrayList(5) // ^^^^^ definition semanticdb maven . . com/airbnb/epoxy/ActivityRecyclerPool#getPools(). +// display_name pools // documentation ```kt\nprivate final val pools: java.util.ArrayList\n```\n\n----\n\n\n Store one unique pool per activity. They are cleared out when activities are destroyed, so this\n only needs to hold pools for active activities.\n // ^^^^^ definition semanticdb maven . . com/airbnb/epoxy/ActivityRecyclerPool#pools. +// display_name pools // documentation ```kt\nprivate final val pools: java.util.ArrayList\n```\n\n----\n\n\n Store one unique pool per activity. They are cleared out when activities are destroyed, so this\n only needs to hold pools for active activities.\n // ^^^^^^^^^ reference semanticdb maven jdk 11 java/util/ArrayList#``(). // ^^^^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/PoolReference# @@ -59,24 +63,29 @@ internal class ActivityRecyclerPool { // ^^^^^^^^^^^^ reference semanticdb maven maven/org.jetbrains.kotlin/kotlin-stdlib 1.4.20-RC kotlin/jvm/JvmOverloads#``(). fun getPool( // ^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/ActivityRecyclerPool#getPool(). +// display_name getPool // documentation ```kt\npublic final fun getPool(context: [Error type: Unresolved type for Context], poolFactory: () -> [Error type: Unresolved type for RecyclerView.RecycledViewPool]): com.airbnb.epoxy.PoolReference\n``` context: Context, // ^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/ActivityRecyclerPool#getPool().(context) +// display_name context // documentation ```kt\nvalue-parameter context: [Error type: Unresolved type for Context]\n``` poolFactory: () -> RecyclerView.RecycledViewPool // ^^^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/ActivityRecyclerPool#getPool().(poolFactory) +// display_name poolFactory // documentation ```kt\nvalue-parameter poolFactory: () -> [Error type: Unresolved type for RecyclerView.RecycledViewPool]\n``` ): PoolReference { // ^^^^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/PoolReference# val iterator = pools.iterator() // ^^^^^^^^ definition local 0 +// display_name iterator // documentation ```kt\nval iterator: kotlin.collections.MutableIterator\n``` // ^^^^^ reference semanticdb maven . . com/airbnb/epoxy/ActivityRecyclerPool#getPools(). // ^^^^^ reference semanticdb maven . . com/airbnb/epoxy/ActivityRecyclerPool#pools. // ^^^^^^^^ reference semanticdb maven jdk 11 java/util/ArrayList#iterator(). var poolToUse: PoolReference? = null // ^^^^^^^^^ definition local 1 +// display_name poolToUse // documentation ```kt\nvar poolToUse: com.airbnb.epoxy.PoolReference?\n``` // ^^^^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/PoolReference# @@ -85,6 +94,7 @@ internal class ActivityRecyclerPool { // ^^^^^^^ reference semanticdb maven . . kotlin/collections/MutableIterator#hasNext(). val poolReference = iterator.next() // ^^^^^^^^^^^^^ definition local 2 +// display_name poolReference // documentation ```kt\nval poolReference: com.airbnb.epoxy.PoolReference\n``` // ^^^^^^^^ reference local 0 // ^^^^ reference semanticdb maven . . kotlin/collections/MutableIterator#next(). @@ -145,8 +155,10 @@ internal class ActivityRecyclerPool { fun clearIfDestroyed(pool: PoolReference) { // ^^^^^^^^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/ActivityRecyclerPool#clearIfDestroyed(). +// display_name clearIfDestroyed // documentation ```kt\npublic final fun clearIfDestroyed(pool: com.airbnb.epoxy.PoolReference)\n``` // ^^^^ definition semanticdb maven . . com/airbnb/epoxy/ActivityRecyclerPool#clearIfDestroyed().(pool) +// display_name pool // documentation ```kt\nvalue-parameter pool: com.airbnb.epoxy.PoolReference\n``` // ^^^^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/PoolReference# if (pool.context.isActivityDestroyed()) { @@ -166,6 +178,7 @@ internal class ActivityRecyclerPool { private fun Context.lifecycle(): Lifecycle? { // ^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/ActivityRecyclerPool#lifecycle(). +// display_name lifecycle // documentation ```kt\nprivate final fun [Error type: Unresolved type for Context].lifecycle(): androidx.lifecycle.Lifecycle?\n``` // ^^^^^^^^^ reference semanticdb maven maven/androidx.lifecycle/lifecycle-common 2.0.0 androidx/lifecycle/Lifecycle# if (this is LifecycleOwner) { @@ -185,34 +198,45 @@ internal class ActivityRecyclerPool { internal class PoolReference( // ^^^^^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/PoolReference# +// display_name PoolReference // documentation ```kt\ninternal final class PoolReference : androidx.lifecycle.LifecycleObserver\n``` // relationship is_reference is_implementation semanticdb maven maven/androidx.lifecycle/lifecycle-common 2.0.0 androidx/lifecycle/LifecycleObserver# // ^^^^^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/PoolReference#``(). +// display_name PoolReference // documentation ```kt\npublic constructor PoolReference(context: [Error type: Unresolved type for Context], viewPool: [Error type: Unresolved type for RecyclerView.RecycledViewPool], parent: com.airbnb.epoxy.ActivityRecyclerPool)\n``` context: Context, // ^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/PoolReference#``().(context) +// display_name context // documentation ```kt\nvalue-parameter context: [Error type: Unresolved type for Context]\n``` val viewPool: RecyclerView.RecycledViewPool, // ^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/PoolReference#``().(viewPool) +// display_name viewPool // documentation ```kt\nvalue-parameter viewPool: [Error type: Unresolved type for RecyclerView.RecycledViewPool]\n``` // ^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/PoolReference#getViewPool(). +// display_name viewPool // documentation ```kt\npublic final val viewPool: [Error type: Unresolved type for RecyclerView.RecycledViewPool]\n``` // ^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/PoolReference#viewPool. +// display_name viewPool // documentation ```kt\npublic final val viewPool: [Error type: Unresolved type for RecyclerView.RecycledViewPool]\n``` private val parent: ActivityRecyclerPool // ^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/PoolReference#``().(parent) +// display_name parent // documentation ```kt\nvalue-parameter parent: com.airbnb.epoxy.ActivityRecyclerPool\n``` // ^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/PoolReference#getParent(). +// display_name parent // documentation ```kt\nprivate final val parent: com.airbnb.epoxy.ActivityRecyclerPool\n``` // ^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/PoolReference#parent. +// display_name parent // documentation ```kt\nprivate final val parent: com.airbnb.epoxy.ActivityRecyclerPool\n``` // ^^^^^^^^^^^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/ActivityRecyclerPool# ) : LifecycleObserver { // ^^^^^^^^^^^^^^^^^ reference semanticdb maven maven/androidx.lifecycle/lifecycle-common 2.0.0 androidx/lifecycle/LifecycleObserver# private val contextReference: WeakReference = WeakReference(context) // ^^^^^^^^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/PoolReference#contextReference. +// display_name contextReference // documentation ```kt\nprivate final val contextReference: java.lang.ref.WeakReference<[Error type: Unresolved type for Context]>\n``` // ^^^^^^^^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/PoolReference#getContextReference(). +// display_name contextReference // documentation ```kt\nprivate final val contextReference: java.lang.ref.WeakReference<[Error type: Unresolved type for Context]>\n``` // ^^^^^^^^^^^^^ reference semanticdb maven jdk 11 java/lang/ref/WeakReference# // ^^^^^^^^^^^^^ reference semanticdb maven jdk 11 java/lang/ref/WeakReference#``(). @@ -220,8 +244,10 @@ internal class PoolReference( val context: Context? get() = contextReference.get() // ^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/PoolReference#context. +// display_name context // documentation ```kt\npublic final val context: [Error type: Unresolved type for Context]?\n``` // ^^^ definition semanticdb maven . . com/airbnb/epoxy/PoolReference#getContext(). +// display_name get // documentation ```kt\npublic final fun ``(): [Error type: Unresolved type for Context]?\n``` // ^^^^^^^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/PoolReference#contextReference. // ^^^^^^^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/PoolReference#getContextReference(). @@ -229,6 +255,7 @@ internal class PoolReference( fun clearIfDestroyed() { // ^^^^^^^^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/PoolReference#clearIfDestroyed(). +// display_name clearIfDestroyed // documentation ```kt\npublic final fun clearIfDestroyed()\n``` parent.clearIfDestroyed(this) // ^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/PoolReference#getParent(). @@ -244,6 +271,7 @@ internal class PoolReference( // ^^^^^^^^^^ reference semanticdb maven maven/androidx.lifecycle/lifecycle-common 2.0.0 androidx/lifecycle/Lifecycle#Event#ON_DESTROY# fun onContextDestroyed() { // ^^^^^^^^^^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/PoolReference#onContextDestroyed(). +// display_name onContextDestroyed // documentation ```kt\npublic final fun onContextDestroyed()\n``` clearIfDestroyed() // ^^^^^^^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/PoolReference#clearIfDestroyed(). @@ -252,6 +280,7 @@ internal class PoolReference( internal fun Context?.isActivityDestroyed(): Boolean { // ^^^^^^^^^^^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/ActivityRecyclerPoolKt#isActivityDestroyed(). +// display_name isActivityDestroyed // documentation ```kt\ninternal fun [Error type: Unresolved type for Context]?.isActivityDestroyed(): kotlin.Boolean\n``` // ^^^^^^^ reference semanticdb maven . . kotlin/Boolean# if (this == null) { diff --git a/tests/snapshots/src/main/generated/com/airbnb/epoxy/AsyncEpoxyController.java b/tests/snapshots/src/main/generated/com/airbnb/epoxy/AsyncEpoxyController.java index ef66a1ffc..f17d19d11 100644 --- a/tests/snapshots/src/main/generated/com/airbnb/epoxy/AsyncEpoxyController.java +++ b/tests/snapshots/src/main/generated/com/airbnb/epoxy/AsyncEpoxyController.java @@ -24,7 +24,9 @@ */ public abstract class AsyncEpoxyController extends EpoxyController { // ^^^^^^^^^^^^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/AsyncEpoxyController# -// documentation ```java\npublic abstract class AsyncEpoxyController\n``` +// display_name AsyncEpoxyController +// signature_documentation java public abstract class AsyncEpoxyController +// kind Class // documentation A subclass of {@link EpoxyController} that makes it easy to do model building and diffing in\n the background.\n

\n See https://github.com/airbnb/epoxy/wiki/Epoxy-Controller#asynchronous-support\n // relationship is_implementation semanticdb maven . . ModelCollector# // relationship is_implementation semanticdb maven . . StickyHeaderCallbacks# @@ -36,7 +38,9 @@ public abstract class AsyncEpoxyController extends EpoxyController { */ public AsyncEpoxyController() { // ^^^^^^^^^^^^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/AsyncEpoxyController#``(). -// documentation ```java\npublic AsyncEpoxyController()\n``` +// display_name +// signature_documentation java public AsyncEpoxyController() +// kind Constructor // documentation A new instance that does model building and diffing asynchronously.\n this(true); // ^^^^ reference semanticdb maven . . com/airbnb/epoxy/AsyncEpoxyController#``(+1). @@ -48,10 +52,14 @@ public AsyncEpoxyController() { */ public AsyncEpoxyController(boolean enableAsync) { // ^^^^^^^^^^^^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/AsyncEpoxyController#``(+1). -// documentation ```java\npublic AsyncEpoxyController(boolean enableAsync)\n``` +// display_name +// signature_documentation java public AsyncEpoxyController(boolean enableAsync) +// kind Constructor // documentation @param enableAsync True to do model building and diffing asynchronously, false to do them\n both on the main thread.\n // ^^^^^^^^^^^ definition local 0 -// documentation ```java\nboolean enableAsync\n``` +// display_name enableAsync +// signature_documentation java boolean enableAsync +// enclosing_symbol semanticdb maven . . com/airbnb/epoxy/AsyncEpoxyController#``(+1). this(enableAsync, enableAsync); // ^^^^ reference semanticdb maven . . com/airbnb/epoxy/AsyncEpoxyController#``(+2). // ^^^^^^^^^^^ reference local 0 @@ -63,12 +71,18 @@ public AsyncEpoxyController(boolean enableAsync) { */ public AsyncEpoxyController(boolean enableAsyncModelBuilding, boolean enableAsyncDiffing) { // ^^^^^^^^^^^^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/AsyncEpoxyController#``(+2). -// documentation ```java\npublic AsyncEpoxyController(boolean enableAsyncModelBuilding, boolean enableAsyncDiffing)\n``` +// display_name +// signature_documentation java public AsyncEpoxyController(boolean enableAsyncModelBuilding, boolean enableAsyncDiffing) +// kind Constructor // documentation Individually control whether model building and diffing are done async or on the main thread.\n // ^^^^^^^^^^^^^^^^^^^^^^^^ definition local 1 -// documentation ```java\nboolean enableAsyncModelBuilding\n``` +// display_name enableAsyncModelBuilding +// signature_documentation java boolean enableAsyncModelBuilding +// enclosing_symbol semanticdb maven . . com/airbnb/epoxy/AsyncEpoxyController#``(+2). // ^^^^^^^^^^^^^^^^^^ definition local 2 -// documentation ```java\nboolean enableAsyncDiffing\n``` +// display_name enableAsyncDiffing +// signature_documentation java boolean enableAsyncDiffing +// enclosing_symbol semanticdb maven . . com/airbnb/epoxy/AsyncEpoxyController#``(+2). super(getHandler(enableAsyncModelBuilding), getHandler(enableAsyncDiffing)); // ^^^^^ reference semanticdb maven . . com/airbnb/epoxy/EpoxyController#``(+1). // ^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/AsyncEpoxyController#getHandler(). @@ -80,9 +94,13 @@ public AsyncEpoxyController(boolean enableAsyncModelBuilding, boolean enableAsyn private static Handler getHandler(boolean enableAsync) { // ^^^^^^^ reference semanticdb maven . . Handler# // ^^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/AsyncEpoxyController#getHandler(). -// documentation ```java\nprivate static unresolved_type getHandler(boolean enableAsync)\n``` +// display_name getHandler +// signature_documentation java private static unresolved_type getHandler(boolean enableAsync) +// kind StaticMethod // ^^^^^^^^^^^ definition local 3 -// documentation ```java\nboolean enableAsync\n``` +// display_name enableAsync +// signature_documentation java boolean enableAsync +// enclosing_symbol semanticdb maven . . com/airbnb/epoxy/AsyncEpoxyController#getHandler(). return enableAsync ? getAsyncBackgroundHandler() : MAIN_THREAD_HANDLER; // ^^^^^^^^^^^ reference local 3 // ^^^^^^^^^^^^^^^^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/EpoxyAsyncUtil#getAsyncBackgroundHandler(). diff --git a/tests/snapshots/src/main/generated/com/airbnb/epoxy/AsyncEpoxyDiffer.java b/tests/snapshots/src/main/generated/com/airbnb/epoxy/AsyncEpoxyDiffer.java index b0315e3ab..bc84590f3 100644 --- a/tests/snapshots/src/main/generated/com/airbnb/epoxy/AsyncEpoxyDiffer.java +++ b/tests/snapshots/src/main/generated/com/airbnb/epoxy/AsyncEpoxyDiffer.java @@ -51,60 +51,84 @@ */ class AsyncEpoxyDiffer { // ^^^^^^^^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/AsyncEpoxyDiffer# -// documentation ```java\nclass AsyncEpoxyDiffer\n``` +// display_name AsyncEpoxyDiffer +// signature_documentation java class AsyncEpoxyDiffer +// kind Class // documentation An adaptation of Google's {@link androidx.recyclerview.widget.AsyncListDiffer}\n that adds support for payloads in changes.\n

\n Also adds support for canceling an in progress diff, and makes everything thread safe.\n interface ResultCallback { // ^^^^^^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/AsyncEpoxyDiffer#ResultCallback# -// documentation ```java\ninterface ResultCallback\n``` +// display_name ResultCallback +// signature_documentation java interface ResultCallback +// kind Interface void onResult(@NonNull DiffResult result); // ^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/AsyncEpoxyDiffer#ResultCallback#onResult(). -// documentation ```java\npublic abstract void onResult(DiffResult result)\n``` +// display_name onResult +// signature_documentation java public abstract void onResult(DiffResult result) +// kind AbstractMethod // relationship is_reference is_implementation semanticdb maven . . com/airbnb/epoxy/EpoxyControllerAdapter#onResult(). // ^^^^^^^ reference semanticdb maven maven/androidx.annotation/annotation 1.1.0 androidx/annotation/NonNull# // ^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/DiffResult# // ^^^^^^ definition local 0 -// documentation ```java\n@NonNull\nDiffResult result\n``` +// display_name result +// signature_documentation java @NonNull\nDiffResult result +// enclosing_symbol semanticdb maven . . com/airbnb/epoxy/AsyncEpoxyDiffer#ResultCallback#onResult(). } private final Executor executor; // ^^^^^^^^ reference semanticdb maven jdk 11 java/util/concurrent/Executor# // ^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/AsyncEpoxyDiffer#executor. -// documentation ```java\nprivate final Executor executor\n``` +// display_name executor +// signature_documentation java private final Executor executor +// kind Field private final ResultCallback resultCallback; // ^^^^^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/AsyncEpoxyDiffer#ResultCallback# // ^^^^^^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/AsyncEpoxyDiffer#resultCallback. -// documentation ```java\nprivate final ResultCallback resultCallback\n``` +// display_name resultCallback +// signature_documentation java private final ResultCallback resultCallback +// kind Field private final ItemCallback> diffCallback; // ^^^^^^^^^^^^ reference semanticdb maven . . ItemCallback# // ^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/EpoxyModel# // ^^^^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/AsyncEpoxyDiffer#diffCallback. -// documentation ```java\nprivate final unresolved_type diffCallback\n``` +// display_name diffCallback +// signature_documentation java private final unresolved_type diffCallback +// kind Field private final GenerationTracker generationTracker = new GenerationTracker(); // ^^^^^^^^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/AsyncEpoxyDiffer#GenerationTracker# // ^^^^^^^^^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/AsyncEpoxyDiffer#generationTracker. -// documentation ```java\nprivate final GenerationTracker generationTracker\n``` +// display_name generationTracker +// signature_documentation java private final GenerationTracker generationTracker +// kind Field // ^^^^^^^^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/AsyncEpoxyDiffer#GenerationTracker#``(). AsyncEpoxyDiffer( //^^^^^^^^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/AsyncEpoxyDiffer#``(). -// documentation ```java\nAsyncEpoxyDiffer(unresolved_type handler, ResultCallback resultCallback, unresolved_type diffCallback)\n``` +// display_name +// signature_documentation java AsyncEpoxyDiffer(unresolved_type handler, ResultCallback resultCallback, unresolved_type diffCallback) +// kind Constructor @NonNull Handler handler, // ^^^^^^^ reference semanticdb maven maven/androidx.annotation/annotation 1.1.0 androidx/annotation/NonNull# // ^^^^^^^ reference semanticdb maven . . Handler# // ^^^^^^^ definition local 1 -// documentation ```java\n@NonNull\nunresolved_type handler\n``` +// display_name handler +// signature_documentation java @NonNull\nunresolved_type handler +// enclosing_symbol semanticdb maven . . com/airbnb/epoxy/AsyncEpoxyDiffer#``(). @NonNull ResultCallback resultCallback, // ^^^^^^^ reference semanticdb maven maven/androidx.annotation/annotation 1.1.0 androidx/annotation/NonNull# // ^^^^^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/AsyncEpoxyDiffer#ResultCallback# // ^^^^^^^^^^^^^^ definition local 2 -// documentation ```java\n@NonNull\nResultCallback resultCallback\n``` +// display_name resultCallback +// signature_documentation java @NonNull\nResultCallback resultCallback +// enclosing_symbol semanticdb maven . . com/airbnb/epoxy/AsyncEpoxyDiffer#``(). @NonNull ItemCallback> diffCallback // ^^^^^^^ reference semanticdb maven maven/androidx.annotation/annotation 1.1.0 androidx/annotation/NonNull# // ^^^^^^^^^^^^ reference semanticdb maven . . ItemCallback# // ^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/EpoxyModel# // ^^^^^^^^^^^^ definition local 3 -// documentation ```java\n@NonNull\nunresolved_type diffCallback\n``` +// display_name diffCallback +// signature_documentation java @NonNull\nunresolved_type diffCallback +// enclosing_symbol semanticdb maven . . com/airbnb/epoxy/AsyncEpoxyDiffer#``(). ) { this.executor = new HandlerExecutor(handler); // ^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/AsyncEpoxyDiffer#executor. @@ -124,7 +148,9 @@ interface ResultCallback { // ^^^^ reference semanticdb maven jdk 11 java/util/List# // ^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/EpoxyModel# // ^^^^ definition semanticdb maven . . com/airbnb/epoxy/AsyncEpoxyDiffer#list. -// documentation ```java\n@Nullable\nprivate List> list\n``` +// display_name list +// signature_documentation java @Nullable\nprivate List> list +// kind Field /** * Non-null, unmodifiable version of list. @@ -137,7 +163,9 @@ interface ResultCallback { // ^^^^ reference semanticdb maven jdk 11 java/util/List# // ^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/EpoxyModel# // ^^^^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/AsyncEpoxyDiffer#readOnlyList. -// documentation ```java\n@NonNull\nprivate List> readOnlyList\n``` +// display_name readOnlyList +// signature_documentation java @NonNull\nprivate List> readOnlyList +// kind Field // documentation Non-null, unmodifiable version of list.\n

\n Collections.emptyList when list is null, wrapped by Collections.unmodifiableList otherwise\n // ^^^^^^^^^^^ reference semanticdb maven jdk 11 java/util/Collections# // ^^^^^^^^^ reference semanticdb maven jdk 11 java/util/Collections#emptyList(). @@ -161,7 +189,9 @@ public List> getCurrentList() { // ^^^^ reference semanticdb maven jdk 11 java/util/List# // ^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/EpoxyModel# // ^^^^^^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/AsyncEpoxyDiffer#getCurrentList(). -// documentation ```java\n@AnyThread\n@NonNull\npublic List> getCurrentList()\n``` +// display_name getCurrentList +// signature_documentation java @AnyThread\n@NonNull\npublic List> getCurrentList() +// kind Method // documentation Get the current List - any diffing to present this list has already been computed and\n dispatched via the ListUpdateCallback.\n

\n If a null List, or no List has been submitted, an empty list will be returned.\n

\n The returned list may not be mutated - mutations to content must be done through\n {@link #submitList(List)}.\n\n @return current List.\n return readOnlyList; // ^^^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/AsyncEpoxyDiffer#readOnlyList. @@ -177,7 +207,9 @@ public List> getCurrentList() { // ^^^^^^^^^ reference semanticdb maven maven/androidx.annotation/annotation 1.1.0 androidx/annotation/AnyThread# public boolean cancelDiff() { // ^^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/AsyncEpoxyDiffer#cancelDiff(). -// documentation ```java\n@SuppressWarnings("WeakerAccess")\n@AnyThread\npublic boolean cancelDiff()\n``` +// display_name cancelDiff +// signature_documentation java @SuppressWarnings("WeakerAccess")\n@AnyThread\npublic boolean cancelDiff() +// kind Method // documentation Prevents any ongoing diff from dispatching results. Returns true if there was an ongoing\n diff to cancel, false otherwise.\n return generationTracker.finishMaxGeneration(); // ^^^^^^^^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/AsyncEpoxyDiffer#generationTracker. @@ -193,7 +225,9 @@ public boolean cancelDiff() { // ^^^^^^^^^ reference semanticdb maven maven/androidx.annotation/annotation 1.1.0 androidx/annotation/AnyThread# public boolean isDiffInProgress() { // ^^^^^^^^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/AsyncEpoxyDiffer#isDiffInProgress(). -// documentation ```java\n@SuppressWarnings("WeakerAccess")\n@AnyThread\npublic boolean isDiffInProgress()\n``` +// display_name isDiffInProgress +// signature_documentation java @SuppressWarnings("WeakerAccess")\n@AnyThread\npublic boolean isDiffInProgress() +// kind Method // documentation @return True if a diff operation is in progress.\n return generationTracker.hasUnfinishedGeneration(); // ^^^^^^^^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/AsyncEpoxyDiffer#generationTracker. @@ -210,21 +244,31 @@ public boolean isDiffInProgress() { // ^^^^^^^^^ reference semanticdb maven maven/androidx.annotation/annotation 1.1.0 androidx/annotation/AnyThread# public synchronized boolean forceListOverride(@Nullable List> newList) { // ^^^^^^^^^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/AsyncEpoxyDiffer#forceListOverride(). -// documentation ```java\n@AnyThread\npublic boolean forceListOverride(List> newList)\n``` +// display_name forceListOverride +// signature_documentation java @AnyThread\npublic boolean forceListOverride(List> newList) +// kind Method // documentation Set the current list without performing any diffing. Cancels any diff in progress.\n

\n This can be used if you notified a change to the adapter manually and need this list to be\n synced.\n // ^^^^^^^^ reference semanticdb maven maven/androidx.annotation/annotation 1.1.0 androidx/annotation/Nullable# // ^^^^ reference semanticdb maven jdk 11 java/util/List# // ^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/EpoxyModel# // ^^^^^^^ definition local 4 -// documentation ```java\n@Nullable\nList> newList\n``` +// display_name newList +// signature_documentation java @Nullable\nList> newList +// enclosing_symbol semanticdb maven . . com/airbnb/epoxy/AsyncEpoxyDiffer#forceListOverride(). // We need to make sure that generation changes and list updates are synchronized final boolean interruptedDiff = cancelDiff(); // ^^^^^^^^^^^^^^^ definition local 5 -// documentation ```java\nfinal boolean interruptedDiff\n``` +// display_name interruptedDiff +// signature_documentation java final boolean interruptedDiff +// enclosing_symbol semanticdb maven . . com/airbnb/epoxy/AsyncEpoxyDiffer#forceListOverride(). +// kind Variable // ^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/AsyncEpoxyDiffer#cancelDiff(). int generation = generationTracker.incrementAndGetNextScheduled(); // ^^^^^^^^^^ definition local 6 -// documentation ```java\nint generation\n``` +// display_name generation +// signature_documentation java int generation +// enclosing_symbol semanticdb maven . . com/airbnb/epoxy/AsyncEpoxyDiffer#forceListOverride(). +// kind Variable // ^^^^^^^^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/AsyncEpoxyDiffer#generationTracker. // ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/AsyncEpoxyDiffer#GenerationTracker#incrementAndGetNextScheduled(). tryLatchList(newList, generation); @@ -251,22 +295,32 @@ public synchronized boolean forceListOverride(@Nullable List> newL // ^^^^^^^^^^^^^^^^ reference semanticdb maven jdk 11 java/lang/SuppressWarnings# public void submitList(@Nullable final List> newList) { // ^^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/AsyncEpoxyDiffer#submitList(). -// documentation ```java\n@AnyThread\n@SuppressWarnings("WeakerAccess")\npublic void submitList(List> newList)\n``` +// display_name submitList +// signature_documentation java @AnyThread\n@SuppressWarnings("WeakerAccess")\npublic void submitList(List> newList) +// kind Method // documentation Set a new List representing your latest data.\n

\n A diff will be computed between this list and the last list set. If this has not previously\n been called then an empty list is used as the previous list.\n

\n The diff computation will be done on the thread given by the handler in the constructor.\n When the diff is done it will be applied (dispatched to the result callback),\n and the new List will be swapped in.\n // ^^^^^^^^ reference semanticdb maven maven/androidx.annotation/annotation 1.1.0 androidx/annotation/Nullable# // ^^^^ reference semanticdb maven jdk 11 java/util/List# // ^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/EpoxyModel# // ^^^^^^^ definition local 7 -// documentation ```java\n@Nullable\nfinal List> newList\n``` +// display_name newList +// signature_documentation java @Nullable\nfinal List> newList +// enclosing_symbol semanticdb maven . . com/airbnb/epoxy/AsyncEpoxyDiffer#submitList(). final int runGeneration; // ^^^^^^^^^^^^^ definition local 8 -// documentation ```java\nfinal int runGeneration\n``` +// display_name runGeneration +// signature_documentation java final int runGeneration +// enclosing_symbol semanticdb maven . . com/airbnb/epoxy/AsyncEpoxyDiffer#submitList(). +// kind Variable @Nullable final List> previousList; // ^^^^^^^^ reference semanticdb maven maven/androidx.annotation/annotation 1.1.0 androidx/annotation/Nullable# // ^^^^ reference semanticdb maven jdk 11 java/util/List# // ^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/EpoxyModel# // ^^^^^^^^^^^^ definition local 9 -// documentation ```java\n@Nullable\nfinal List> previousList\n``` +// display_name previousList +// signature_documentation java @Nullable\nfinal List> previousList +// enclosing_symbol semanticdb maven . . com/airbnb/epoxy/AsyncEpoxyDiffer#submitList(). +// kind Variable synchronized (this) { // Incrementing generation means any currently-running diffs are discarded when they finish @@ -302,7 +356,10 @@ public void submitList(@Nullable final List> newList) { DiffResult result = null; // ^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/DiffResult# // ^^^^^^ definition local 10 -// documentation ```java\nDiffResult result\n``` +// display_name result +// signature_documentation java DiffResult result +// enclosing_symbol semanticdb maven . . com/airbnb/epoxy/AsyncEpoxyDiffer#submitList(). +// kind Variable if (previousList != null && !previousList.isEmpty()) { // ^^^^^^^^^^^^ reference local 9 // ^^^^^^^^^^^^ reference local 9 @@ -338,7 +395,10 @@ public void submitList(@Nullable final List> newList) { final DiffCallback wrappedCallback = new DiffCallback(previousList, newList, diffCallback); // ^^^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/AsyncEpoxyDiffer#DiffCallback# // ^^^^^^^^^^^^^^^ definition local 11 -// documentation ```java\nfinal DiffCallback wrappedCallback\n``` +// display_name wrappedCallback +// signature_documentation java final DiffCallback wrappedCallback +// enclosing_symbol semanticdb maven . . com/airbnb/epoxy/AsyncEpoxyDiffer#submitList(). +// kind Variable // ^^^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/AsyncEpoxyDiffer#DiffCallback#``(). // ^^^^^^^^^^^^ reference local 9 // ^^^^^^^ reference local 7 @@ -352,13 +412,19 @@ public void submitList(@Nullable final List> newList) { // ^^^^^^^^ reference semanticdb maven jdk 11 java/lang/Override# public void run() { // ^^^ definition local 13 -// documentation ```java\n@Override\npublic void run()\n``` +// display_name run +// signature_documentation java @Override\npublic void run() +// enclosing_symbol local 12 +// kind Method // relationship is_reference is_implementation semanticdb maven jdk 11 java/lang/Runnable#run(). DiffUtil.DiffResult result = DiffUtil.calculateDiff(wrappedCallback); // ^^^^^^^^ reference semanticdb maven . . DiffUtil/ // ^^^^^^^^^^ reference semanticdb maven . . DiffUtil/DiffResult# // ^^^^^^ definition local 14 -// documentation ```java\nunresolved_type result\n``` +// display_name result +// signature_documentation java unresolved_type result +// enclosing_symbol local 13 +// kind Variable // ^^^^^^^^ reference semanticdb maven . . DiffUtil# // ^^^^^^^^^^^^^ reference semanticdb maven . . DiffUtil#calculateDiff# // ^^^^^^^^^^^^^^^ reference local 11 @@ -377,21 +443,29 @@ public void run() { private void onRunCompleted( // ^^^^^^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/AsyncEpoxyDiffer#onRunCompleted(). -// documentation ```java\nprivate void onRunCompleted(int runGeneration, List> newList, DiffResult result)\n``` +// display_name onRunCompleted +// signature_documentation java private void onRunCompleted(int runGeneration, List> newList, DiffResult result) +// kind Method final int runGeneration, // ^^^^^^^^^^^^^ definition local 15 -// documentation ```java\nfinal int runGeneration\n``` +// display_name runGeneration +// signature_documentation java final int runGeneration +// enclosing_symbol semanticdb maven . . com/airbnb/epoxy/AsyncEpoxyDiffer#onRunCompleted(). @Nullable final List> newList, // ^^^^^^^^ reference semanticdb maven maven/androidx.annotation/annotation 1.1.0 androidx/annotation/Nullable# // ^^^^ reference semanticdb maven jdk 11 java/util/List# // ^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/EpoxyModel# // ^^^^^^^ definition local 16 -// documentation ```java\n@Nullable\nfinal List> newList\n``` +// display_name newList +// signature_documentation java @Nullable\nfinal List> newList +// enclosing_symbol semanticdb maven . . com/airbnb/epoxy/AsyncEpoxyDiffer#onRunCompleted(). @Nullable final DiffResult result // ^^^^^^^^ reference semanticdb maven maven/androidx.annotation/annotation 1.1.0 androidx/annotation/Nullable# // ^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/DiffResult# // ^^^^^^ definition local 17 -// documentation ```java\n@Nullable\nfinal DiffResult result\n``` +// display_name result +// signature_documentation java @Nullable\nfinal DiffResult result +// enclosing_symbol semanticdb maven . . com/airbnb/epoxy/AsyncEpoxyDiffer#onRunCompleted(). ) { // We use an asynchronous handler so that the Runnable can be posted directly back to the main @@ -405,11 +479,17 @@ private void onRunCompleted( // ^^^^^^^^ reference semanticdb maven jdk 11 java/lang/Override# public void run() { // ^^^ definition local 19 -// documentation ```java\n@Override\npublic void run()\n``` +// display_name run +// signature_documentation java @Override\npublic void run() +// enclosing_symbol local 18 +// kind Method // relationship is_reference is_implementation semanticdb maven jdk 11 java/lang/Runnable#run(). final boolean dispatchResult = tryLatchList(newList, runGeneration); // ^^^^^^^^^^^^^^ definition local 20 -// documentation ```java\nfinal boolean dispatchResult\n``` +// display_name dispatchResult +// signature_documentation java final boolean dispatchResult +// enclosing_symbol local 19 +// kind Variable // ^^^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/AsyncEpoxyDiffer#tryLatchList(). // ^^^^^^^ reference local 16 // ^^^^^^^^^^^^^ reference local 15 @@ -435,16 +515,22 @@ public void run() { // ^^^^^^^^^ reference semanticdb maven maven/androidx.annotation/annotation 1.1.0 androidx/annotation/AnyThread# private synchronized boolean tryLatchList(@Nullable List> newList, // ^^^^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/AsyncEpoxyDiffer#tryLatchList(). -// documentation ```java\n@AnyThread\nprivate boolean tryLatchList(List> newList, int runGeneration)\n``` +// display_name tryLatchList +// signature_documentation java @AnyThread\nprivate boolean tryLatchList(List> newList, int runGeneration) +// kind Method // documentation Marks the generation as done, and updates the list if the generation is the most recent.\n\n @return True if the given generation is the most recent, in which case the given list was\n set. False if the generation is old and the list was ignored.\n // ^^^^^^^^ reference semanticdb maven maven/androidx.annotation/annotation 1.1.0 androidx/annotation/Nullable# // ^^^^ reference semanticdb maven jdk 11 java/util/List# // ^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/EpoxyModel# // ^^^^^^^ definition local 21 -// documentation ```java\n@Nullable\nList> newList\n``` +// display_name newList +// signature_documentation java @Nullable\nList> newList +// enclosing_symbol semanticdb maven . . com/airbnb/epoxy/AsyncEpoxyDiffer#tryLatchList(). int runGeneration) { // ^^^^^^^^^^^^^ definition local 22 -// documentation ```java\nint runGeneration\n``` +// display_name runGeneration +// signature_documentation java int runGeneration +// enclosing_symbol semanticdb maven . . com/airbnb/epoxy/AsyncEpoxyDiffer#tryLatchList(). if (generationTracker.finishGeneration(runGeneration)) { // ^^^^^^^^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/AsyncEpoxyDiffer#generationTracker. // ^^^^^^^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/AsyncEpoxyDiffer#GenerationTracker#finishGeneration(). @@ -486,32 +572,47 @@ private synchronized boolean tryLatchList(@Nullable List */ private static class GenerationTracker { // ^^^^^^^^^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/AsyncEpoxyDiffer#GenerationTracker# -// documentation ```java\nprivate static class GenerationTracker\n``` +// display_name GenerationTracker +// signature_documentation java private static class GenerationTracker +// kind Class // documentation The concept of a "generation" is used to associate a diff result with a point in time when\n it was created. This allows us to handle list updates concurrently, and ignore outdated diffs.\n

\n We track the highest start generation, and the highest finished generation, and these must\n be kept in sync, so all access to this class is synchronized.\n

\n The general synchronization strategy for this class is that when a generation number\n is queried that action must be synchronized with accessing the current list, so that the\n generation number is synced with the list state at the time it was created.\n // ^^^^^^^^^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/AsyncEpoxyDiffer#GenerationTracker#``(). -// documentation ```java\nprivate GenerationTracker()\n``` +// display_name +// signature_documentation java private GenerationTracker() +// kind Constructor // Max generation of currently scheduled runnable private volatile int maxScheduledGeneration; // ^^^^^^^^^^^^^^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/AsyncEpoxyDiffer#GenerationTracker#maxScheduledGeneration. -// documentation ```java\nprivate int maxScheduledGeneration\n``` +// display_name maxScheduledGeneration +// signature_documentation java private int maxScheduledGeneration +// kind Field private volatile int maxFinishedGeneration; // ^^^^^^^^^^^^^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/AsyncEpoxyDiffer#GenerationTracker#maxFinishedGeneration. -// documentation ```java\nprivate int maxFinishedGeneration\n``` +// display_name maxFinishedGeneration +// signature_documentation java private int maxFinishedGeneration +// kind Field synchronized int incrementAndGetNextScheduled() { // ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/AsyncEpoxyDiffer#GenerationTracker#incrementAndGetNextScheduled(). -// documentation ```java\nint incrementAndGetNextScheduled()\n``` +// display_name incrementAndGetNextScheduled +// signature_documentation java int incrementAndGetNextScheduled() +// kind Method return ++maxScheduledGeneration; // ^^^^^^^^^^^^^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/AsyncEpoxyDiffer#GenerationTracker#maxScheduledGeneration. } synchronized boolean finishMaxGeneration() { // ^^^^^^^^^^^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/AsyncEpoxyDiffer#GenerationTracker#finishMaxGeneration(). -// documentation ```java\nboolean finishMaxGeneration()\n``` +// display_name finishMaxGeneration +// signature_documentation java boolean finishMaxGeneration() +// kind Method boolean isInterrupting = hasUnfinishedGeneration(); // ^^^^^^^^^^^^^^ definition local 23 -// documentation ```java\nboolean isInterrupting\n``` +// display_name isInterrupting +// signature_documentation java boolean isInterrupting +// enclosing_symbol semanticdb maven . . com/airbnb/epoxy/AsyncEpoxyDiffer#GenerationTracker#finishMaxGeneration(). +// kind Variable // ^^^^^^^^^^^^^^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/AsyncEpoxyDiffer#GenerationTracker#hasUnfinishedGeneration(). maxFinishedGeneration = maxScheduledGeneration; // ^^^^^^^^^^^^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/AsyncEpoxyDiffer#GenerationTracker#maxFinishedGeneration. @@ -522,7 +623,9 @@ synchronized boolean finishMaxGeneration() { synchronized boolean hasUnfinishedGeneration() { // ^^^^^^^^^^^^^^^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/AsyncEpoxyDiffer#GenerationTracker#hasUnfinishedGeneration(). -// documentation ```java\nboolean hasUnfinishedGeneration()\n``` +// display_name hasUnfinishedGeneration +// signature_documentation java boolean hasUnfinishedGeneration() +// kind Method return maxScheduledGeneration > maxFinishedGeneration; // ^^^^^^^^^^^^^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/AsyncEpoxyDiffer#GenerationTracker#maxScheduledGeneration. // ^^^^^^^^^^^^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/AsyncEpoxyDiffer#GenerationTracker#maxFinishedGeneration. @@ -530,12 +633,19 @@ synchronized boolean hasUnfinishedGeneration() { synchronized boolean finishGeneration(int runGeneration) { // ^^^^^^^^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/AsyncEpoxyDiffer#GenerationTracker#finishGeneration(). -// documentation ```java\nboolean finishGeneration(int runGeneration)\n``` +// display_name finishGeneration +// signature_documentation java boolean finishGeneration(int runGeneration) +// kind Method // ^^^^^^^^^^^^^ definition local 24 -// documentation ```java\nint runGeneration\n``` +// display_name runGeneration +// signature_documentation java int runGeneration +// enclosing_symbol semanticdb maven . . com/airbnb/epoxy/AsyncEpoxyDiffer#GenerationTracker#finishGeneration(). boolean isLatestGeneration = // ^^^^^^^^^^^^^^^^^^ definition local 25 -// documentation ```java\nboolean isLatestGeneration\n``` +// display_name isLatestGeneration +// signature_documentation java boolean isLatestGeneration +// enclosing_symbol semanticdb maven . . com/airbnb/epoxy/AsyncEpoxyDiffer#GenerationTracker#finishGeneration(). +// kind Variable maxScheduledGeneration == runGeneration && runGeneration > maxFinishedGeneration; // ^^^^^^^^^^^^^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/AsyncEpoxyDiffer#GenerationTracker#maxScheduledGeneration. // ^^^^^^^^^^^^^ reference local 24 @@ -556,7 +666,9 @@ synchronized boolean finishGeneration(int runGeneration) { private static class DiffCallback extends DiffUtil.Callback { // ^^^^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/AsyncEpoxyDiffer#DiffCallback# -// documentation ```java\nprivate static class DiffCallback\n``` +// display_name DiffCallback +// signature_documentation java private static class DiffCallback +// kind Class // relationship is_implementation semanticdb maven . . DiffUtil/Callback# // ^^^^^^^^ reference semanticdb maven . . DiffUtil/ // ^^^^^^^^ reference semanticdb maven . . DiffUtil/Callback# @@ -565,34 +677,48 @@ private static class DiffCallback extends DiffUtil.Callback { // ^^^^ reference semanticdb maven jdk 11 java/util/List# // ^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/EpoxyModel# // ^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/AsyncEpoxyDiffer#DiffCallback#oldList. -// documentation ```java\nfinal List> oldList\n``` +// display_name oldList +// signature_documentation java final List> oldList +// kind Field final List> newList; // ^^^^ reference semanticdb maven jdk 11 java/util/List# // ^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/EpoxyModel# // ^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/AsyncEpoxyDiffer#DiffCallback#newList. -// documentation ```java\nfinal List> newList\n``` +// display_name newList +// signature_documentation java final List> newList +// kind Field private final ItemCallback> diffCallback; // ^^^^^^^^^^^^ reference semanticdb maven . . ItemCallback# // ^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/EpoxyModel# // ^^^^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/AsyncEpoxyDiffer#DiffCallback#diffCallback. -// documentation ```java\nprivate final unresolved_type diffCallback\n``` +// display_name diffCallback +// signature_documentation java private final unresolved_type diffCallback +// kind Field DiffCallback(List> oldList, List> newList, // ^^^^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/AsyncEpoxyDiffer#DiffCallback#``(). -// documentation ```java\nDiffCallback(List> oldList, List> newList, unresolved_type diffCallback)\n``` +// display_name +// signature_documentation java DiffCallback(List> oldList, List> newList, unresolved_type diffCallback) +// kind Constructor // ^^^^ reference semanticdb maven jdk 11 java/util/List# // ^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/EpoxyModel# // ^^^^^^^ definition local 26 -// documentation ```java\nList> oldList\n``` +// display_name oldList +// signature_documentation java List> oldList +// enclosing_symbol semanticdb maven . . com/airbnb/epoxy/AsyncEpoxyDiffer#DiffCallback#``(). // ^^^^ reference semanticdb maven jdk 11 java/util/List# // ^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/EpoxyModel# // ^^^^^^^ definition local 27 -// documentation ```java\nList> newList\n``` +// display_name newList +// signature_documentation java List> newList +// enclosing_symbol semanticdb maven . . com/airbnb/epoxy/AsyncEpoxyDiffer#DiffCallback#``(). ItemCallback> diffCallback) { // ^^^^^^^^^^^^ reference semanticdb maven . . ItemCallback# // ^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/EpoxyModel# // ^^^^^^^^^^^^ definition local 28 -// documentation ```java\nunresolved_type diffCallback\n``` +// display_name diffCallback +// signature_documentation java unresolved_type diffCallback +// enclosing_symbol semanticdb maven . . com/airbnb/epoxy/AsyncEpoxyDiffer#DiffCallback#``(). this.oldList = oldList; // ^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/AsyncEpoxyDiffer#DiffCallback#oldList. // ^^^^^^^ reference local 26 @@ -608,7 +734,9 @@ private static class DiffCallback extends DiffUtil.Callback { // ^^^^^^^^ reference semanticdb maven jdk 11 java/lang/Override# public int getOldListSize() { // ^^^^^^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/AsyncEpoxyDiffer#DiffCallback#getOldListSize(). -// documentation ```java\n@Override\npublic int getOldListSize()\n``` +// display_name getOldListSize +// signature_documentation java @Override\npublic int getOldListSize() +// kind Method return oldList.size(); // ^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/AsyncEpoxyDiffer#DiffCallback#oldList. // ^^^^ reference semanticdb maven jdk 11 java/util/List#size(). @@ -618,7 +746,9 @@ public int getOldListSize() { // ^^^^^^^^ reference semanticdb maven jdk 11 java/lang/Override# public int getNewListSize() { // ^^^^^^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/AsyncEpoxyDiffer#DiffCallback#getNewListSize(). -// documentation ```java\n@Override\npublic int getNewListSize()\n``` +// display_name getNewListSize +// signature_documentation java @Override\npublic int getNewListSize() +// kind Method return newList.size(); // ^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/AsyncEpoxyDiffer#DiffCallback#newList. // ^^^^ reference semanticdb maven jdk 11 java/util/List#size(). @@ -628,11 +758,17 @@ public int getNewListSize() { // ^^^^^^^^ reference semanticdb maven jdk 11 java/lang/Override# public boolean areItemsTheSame(int oldItemPosition, int newItemPosition) { // ^^^^^^^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/AsyncEpoxyDiffer#DiffCallback#areItemsTheSame(). -// documentation ```java\n@Override\npublic boolean areItemsTheSame(int oldItemPosition, int newItemPosition)\n``` +// display_name areItemsTheSame +// signature_documentation java @Override\npublic boolean areItemsTheSame(int oldItemPosition, int newItemPosition) +// kind Method // ^^^^^^^^^^^^^^^ definition local 29 -// documentation ```java\nint oldItemPosition\n``` +// display_name oldItemPosition +// signature_documentation java int oldItemPosition +// enclosing_symbol semanticdb maven . . com/airbnb/epoxy/AsyncEpoxyDiffer#DiffCallback#areItemsTheSame(). // ^^^^^^^^^^^^^^^ definition local 30 -// documentation ```java\nint newItemPosition\n``` +// display_name newItemPosition +// signature_documentation java int newItemPosition +// enclosing_symbol semanticdb maven . . com/airbnb/epoxy/AsyncEpoxyDiffer#DiffCallback#areItemsTheSame(). return diffCallback.areItemsTheSame( // ^^^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/AsyncEpoxyDiffer#DiffCallback#diffCallback. // ^^^^^^^^^^^^^^^ reference semanticdb maven . . ``#areItemsTheSame# @@ -651,11 +787,17 @@ public boolean areItemsTheSame(int oldItemPosition, int newItemPosition) { // ^^^^^^^^ reference semanticdb maven jdk 11 java/lang/Override# public boolean areContentsTheSame(int oldItemPosition, int newItemPosition) { // ^^^^^^^^^^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/AsyncEpoxyDiffer#DiffCallback#areContentsTheSame(). -// documentation ```java\n@Override\npublic boolean areContentsTheSame(int oldItemPosition, int newItemPosition)\n``` +// display_name areContentsTheSame +// signature_documentation java @Override\npublic boolean areContentsTheSame(int oldItemPosition, int newItemPosition) +// kind Method // ^^^^^^^^^^^^^^^ definition local 31 -// documentation ```java\nint oldItemPosition\n``` +// display_name oldItemPosition +// signature_documentation java int oldItemPosition +// enclosing_symbol semanticdb maven . . com/airbnb/epoxy/AsyncEpoxyDiffer#DiffCallback#areContentsTheSame(). // ^^^^^^^^^^^^^^^ definition local 32 -// documentation ```java\nint newItemPosition\n``` +// display_name newItemPosition +// signature_documentation java int newItemPosition +// enclosing_symbol semanticdb maven . . com/airbnb/epoxy/AsyncEpoxyDiffer#DiffCallback#areContentsTheSame(). return diffCallback.areContentsTheSame( // ^^^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/AsyncEpoxyDiffer#DiffCallback#diffCallback. // ^^^^^^^^^^^^^^^^^^ reference semanticdb maven . . ``#areContentsTheSame# @@ -677,11 +819,17 @@ public boolean areContentsTheSame(int oldItemPosition, int newItemPosition) { public Object getChangePayload(int oldItemPosition, int newItemPosition) { // ^^^^^^ reference semanticdb maven jdk 11 java/lang/Object# // ^^^^^^^^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/AsyncEpoxyDiffer#DiffCallback#getChangePayload(). -// documentation ```java\n@Nullable\n@Override\npublic Object getChangePayload(int oldItemPosition, int newItemPosition)\n``` +// display_name getChangePayload +// signature_documentation java @Nullable\n@Override\npublic Object getChangePayload(int oldItemPosition, int newItemPosition) +// kind Method // ^^^^^^^^^^^^^^^ definition local 33 -// documentation ```java\nint oldItemPosition\n``` +// display_name oldItemPosition +// signature_documentation java int oldItemPosition +// enclosing_symbol semanticdb maven . . com/airbnb/epoxy/AsyncEpoxyDiffer#DiffCallback#getChangePayload(). // ^^^^^^^^^^^^^^^ definition local 34 -// documentation ```java\nint newItemPosition\n``` +// display_name newItemPosition +// signature_documentation java int newItemPosition +// enclosing_symbol semanticdb maven . . com/airbnb/epoxy/AsyncEpoxyDiffer#DiffCallback#getChangePayload(). return diffCallback.getChangePayload( // ^^^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/AsyncEpoxyDiffer#DiffCallback#diffCallback. // ^^^^^^^^^^^^^^^^ reference semanticdb maven . . ``#getChangePayload# diff --git a/tests/snapshots/src/main/generated/com/airbnb/epoxy/BaseEpoxyAdapter.java b/tests/snapshots/src/main/generated/com/airbnb/epoxy/BaseEpoxyAdapter.java index 6e93bc4c4..ba15453f3 100644 --- a/tests/snapshots/src/main/generated/com/airbnb/epoxy/BaseEpoxyAdapter.java +++ b/tests/snapshots/src/main/generated/com/airbnb/epoxy/BaseEpoxyAdapter.java @@ -61,7 +61,9 @@ public abstract class BaseEpoxyAdapter // ^^^^^^^^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/BaseEpoxyAdapter# -// documentation ```java\npublic abstract class BaseEpoxyAdapter\n``` +// display_name BaseEpoxyAdapter +// signature_documentation java public abstract class BaseEpoxyAdapter +// kind Class // relationship is_implementation semanticdb maven . . RecyclerView/Adapter# // relationship is_implementation semanticdb maven . . StickyHeaderCallbacks# extends RecyclerView.Adapter @@ -74,16 +76,22 @@ public abstract class BaseEpoxyAdapter private static final String SAVED_STATE_ARG_VIEW_HOLDERS = "saved_state_view_holders"; // ^^^^^^ reference semanticdb maven jdk 11 java/lang/String# // ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/BaseEpoxyAdapter#SAVED_STATE_ARG_VIEW_HOLDERS. -// documentation ```java\nprivate static final String SAVED_STATE_ARG_VIEW_HOLDERS\n``` +// display_name SAVED_STATE_ARG_VIEW_HOLDERS +// signature_documentation java private static final String SAVED_STATE_ARG_VIEW_HOLDERS +// kind StaticField private int spanCount = 1; // ^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/BaseEpoxyAdapter#spanCount. -// documentation ```java\nprivate int spanCount\n``` +// display_name spanCount +// signature_documentation java private int spanCount +// kind Field private final ViewTypeManager viewTypeManager = new ViewTypeManager(); // ^^^^^^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/ViewTypeManager# // ^^^^^^^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/BaseEpoxyAdapter#viewTypeManager. -// documentation ```java\nprivate final ViewTypeManager viewTypeManager\n``` +// display_name viewTypeManager +// signature_documentation java private final ViewTypeManager viewTypeManager +// kind Field // ^^^^^^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/ViewTypeManager#``(). /** * Keeps track of view holders that are currently bound so we can save their state in {@link @@ -92,19 +100,25 @@ public abstract class BaseEpoxyAdapter private final BoundViewHolders boundViewHolders = new BoundViewHolders(); // ^^^^^^^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/BoundViewHolders# // ^^^^^^^^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/BaseEpoxyAdapter#boundViewHolders. -// documentation ```java\nprivate final BoundViewHolders boundViewHolders\n``` +// display_name boundViewHolders +// signature_documentation java private final BoundViewHolders boundViewHolders +// kind Field // documentation Keeps track of view holders that are currently bound so we can save their state in {@link\n #onSaveInstanceState(Bundle)}.\n // ^^^^^^^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/BoundViewHolders#``(). private ViewHolderState viewHolderState = new ViewHolderState(); // ^^^^^^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/ViewHolderState# // ^^^^^^^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/BaseEpoxyAdapter#viewHolderState. -// documentation ```java\nprivate ViewHolderState viewHolderState\n``` +// display_name viewHolderState +// signature_documentation java private ViewHolderState viewHolderState +// kind Field // ^^^^^^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/ViewHolderState#``(). private final SpanSizeLookup spanSizeLookup = new SpanSizeLookup() { // ^^^^^^^^^^^^^^ reference semanticdb maven . . SpanSizeLookup# // ^^^^^^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/BaseEpoxyAdapter#spanSizeLookup. -// documentation ```java\nprivate final unresolved_type spanSizeLookup\n``` +// display_name spanSizeLookup +// signature_documentation java private final unresolved_type spanSizeLookup +// kind Field // ^^^^^^^^^^^^^^ reference semanticdb maven . . SpanSizeLookup# @Override @@ -128,7 +142,9 @@ public int getSpanSize(int position) { public BaseEpoxyAdapter() { // ^^^^^^^^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/BaseEpoxyAdapter#``(). -// documentation ```java\npublic BaseEpoxyAdapter()\n``` +// display_name +// signature_documentation java public BaseEpoxyAdapter() +// kind Constructor // Defaults to stable ids since view models generate unique ids. Set this to false in the // subclass if you don't want to support it setHasStableIds(true); @@ -144,12 +160,16 @@ public BaseEpoxyAdapter() { */ protected void onExceptionSwallowed(RuntimeException exception) { // ^^^^^^^^^^^^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/BaseEpoxyAdapter#onExceptionSwallowed(). -// documentation ```java\nprotected void onExceptionSwallowed(RuntimeException exception)\n``` +// display_name onExceptionSwallowed +// signature_documentation java protected void onExceptionSwallowed(RuntimeException exception) +// kind Method // documentation This is called when recoverable exceptions happen at runtime. They can be ignored and Epoxy\n will recover, but you can override this to be aware of when they happen.\n // relationship is_reference is_implementation semanticdb maven . . com/airbnb/epoxy/EpoxyControllerAdapter#onExceptionSwallowed(). // ^^^^^^^^^^^^^^^^ reference semanticdb maven jdk 11 java/lang/RuntimeException# // ^^^^^^^^^ definition local 0 -// documentation ```java\nRuntimeException exception\n``` +// display_name exception +// signature_documentation java RuntimeException exception +// enclosing_symbol semanticdb maven . . com/airbnb/epoxy/BaseEpoxyAdapter#onExceptionSwallowed(). } @@ -157,7 +177,9 @@ protected void onExceptionSwallowed(RuntimeException exception) { // ^^^^^^^^ reference semanticdb maven jdk 11 java/lang/Override# public int getItemCount() { // ^^^^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/BaseEpoxyAdapter#getItemCount(). -// documentation ```java\n@Override\npublic int getItemCount()\n``` +// display_name getItemCount +// signature_documentation java @Override\npublic int getItemCount() +// kind Method // relationship is_reference is_implementation semanticdb maven . . com/airbnb/epoxy/EpoxyControllerAdapter#getItemCount(). return getCurrentModels().size(); // ^^^^^^^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/BaseEpoxyAdapter#getCurrentModels(). @@ -169,14 +191,18 @@ public int getItemCount() { // ^^^^ reference semanticdb maven jdk 11 java/util/List# // ^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/EpoxyModel# // ^^^^^^^^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/BaseEpoxyAdapter#getCurrentModels(). -// documentation ```java\nabstract List> getCurrentModels()\n``` +// display_name getCurrentModels +// signature_documentation java abstract List> getCurrentModels() +// kind AbstractMethod // documentation Return the models currently being used by the adapter to populate the recyclerview. // relationship is_reference is_implementation semanticdb maven . . com/airbnb/epoxy/EpoxyAdapter#getCurrentModels(). // relationship is_reference is_implementation semanticdb maven . . com/airbnb/epoxy/EpoxyControllerAdapter#getCurrentModels(). public boolean isEmpty() { // ^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/BaseEpoxyAdapter#isEmpty(). -// documentation ```java\npublic boolean isEmpty()\n``` +// display_name isEmpty +// signature_documentation java public boolean isEmpty() +// kind Method return getCurrentModels().isEmpty(); // ^^^^^^^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/BaseEpoxyAdapter#getCurrentModels(). // ^^^^^^^ reference semanticdb maven jdk 11 java/util/List#isEmpty(). @@ -186,9 +212,13 @@ public boolean isEmpty() { // ^^^^^^^^ reference semanticdb maven jdk 11 java/lang/Override# public long getItemId(int position) { // ^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/BaseEpoxyAdapter#getItemId(). -// documentation ```java\n@Override\npublic long getItemId(int position)\n``` +// display_name getItemId +// signature_documentation java @Override\npublic long getItemId(int position) +// kind Method // ^^^^^^^^ definition local 1 -// documentation ```java\nint position\n``` +// display_name position +// signature_documentation java int position +// enclosing_symbol semanticdb maven . . com/airbnb/epoxy/BaseEpoxyAdapter#getItemId(). // This does not call getModelForPosition so that we don't use the id of the empty model when // hidden, // so that the id stays constant when gone vs shown @@ -203,9 +233,13 @@ public long getItemId(int position) { // ^^^^^^^^ reference semanticdb maven jdk 11 java/lang/Override# public int getItemViewType(int position) { // ^^^^^^^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/BaseEpoxyAdapter#getItemViewType(). -// documentation ```java\n@Override\npublic int getItemViewType(int position)\n``` +// display_name getItemViewType +// signature_documentation java @Override\npublic int getItemViewType(int position) +// kind Method // ^^^^^^^^ definition local 2 -// documentation ```java\nint position\n``` +// display_name position +// signature_documentation java int position +// enclosing_symbol semanticdb maven . . com/airbnb/epoxy/BaseEpoxyAdapter#getItemViewType(). return viewTypeManager.getViewTypeAndRememberModel(getModelForPosition(position)); // ^^^^^^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/BaseEpoxyAdapter#viewTypeManager. // ^^^^^^^^^^^^^^^^^^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/ViewTypeManager#getViewTypeAndRememberModel(). @@ -218,23 +252,35 @@ public int getItemViewType(int position) { public EpoxyViewHolder onCreateViewHolder(ViewGroup parent, int viewType) { // ^^^^^^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/EpoxyViewHolder# // ^^^^^^^^^^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/BaseEpoxyAdapter#onCreateViewHolder(). -// documentation ```java\n@Override\npublic EpoxyViewHolder onCreateViewHolder(unresolved_type parent, int viewType)\n``` +// display_name onCreateViewHolder +// signature_documentation java @Override\npublic EpoxyViewHolder onCreateViewHolder(unresolved_type parent, int viewType) +// kind Method // ^^^^^^^^^ reference semanticdb maven . . ViewGroup# // ^^^^^^ definition local 3 -// documentation ```java\nunresolved_type parent\n``` +// display_name parent +// signature_documentation java unresolved_type parent +// enclosing_symbol semanticdb maven . . com/airbnb/epoxy/BaseEpoxyAdapter#onCreateViewHolder(). // ^^^^^^^^ definition local 4 -// documentation ```java\nint viewType\n``` +// display_name viewType +// signature_documentation java int viewType +// enclosing_symbol semanticdb maven . . com/airbnb/epoxy/BaseEpoxyAdapter#onCreateViewHolder(). EpoxyModel model = viewTypeManager.getModelForViewType(this, viewType); // ^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/EpoxyModel# // ^^^^^ definition local 5 -// documentation ```java\nEpoxyModel model\n``` +// display_name model +// signature_documentation java EpoxyModel model +// enclosing_symbol semanticdb maven . . com/airbnb/epoxy/BaseEpoxyAdapter#onCreateViewHolder(). +// kind Variable // ^^^^^^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/BaseEpoxyAdapter#viewTypeManager. // ^^^^^^^^^^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/ViewTypeManager#getModelForViewType(). // ^^^^^^^^ reference local 4 View view = model.buildView(parent); // ^^^^ reference semanticdb maven . . View# // ^^^^ definition local 6 -// documentation ```java\nunresolved_type view\n``` +// display_name view +// signature_documentation java unresolved_type view +// enclosing_symbol semanticdb maven . . com/airbnb/epoxy/BaseEpoxyAdapter#onCreateViewHolder(). +// kind Variable // ^^^^^ reference local 5 // ^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/EpoxyModel#buildView(). // ^^^^^^ reference local 3 @@ -250,12 +296,18 @@ public EpoxyViewHolder onCreateViewHolder(ViewGroup parent, int viewType) { // ^^^^^^^^ reference semanticdb maven jdk 11 java/lang/Override# public void onBindViewHolder(EpoxyViewHolder holder, int position) { // ^^^^^^^^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/BaseEpoxyAdapter#onBindViewHolder(). -// documentation ```java\n@Override\npublic void onBindViewHolder(EpoxyViewHolder holder, int position)\n``` +// display_name onBindViewHolder +// signature_documentation java @Override\npublic void onBindViewHolder(EpoxyViewHolder holder, int position) +// kind Method // ^^^^^^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/EpoxyViewHolder# // ^^^^^^ definition local 7 -// documentation ```java\nEpoxyViewHolder holder\n``` +// display_name holder +// signature_documentation java EpoxyViewHolder holder +// enclosing_symbol semanticdb maven . . com/airbnb/epoxy/BaseEpoxyAdapter#onBindViewHolder(). // ^^^^^^^^ definition local 8 -// documentation ```java\nint position\n``` +// display_name position +// signature_documentation java int position +// enclosing_symbol semanticdb maven . . com/airbnb/epoxy/BaseEpoxyAdapter#onBindViewHolder(). onBindViewHolder(holder, position, Collections.emptyList()); // ^^^^^^^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/BaseEpoxyAdapter#onBindViewHolder(+1). // ^^^^^^ reference local 7 @@ -268,27 +320,41 @@ public void onBindViewHolder(EpoxyViewHolder holder, int position) { // ^^^^^^^^ reference semanticdb maven jdk 11 java/lang/Override# public void onBindViewHolder(EpoxyViewHolder holder, int position, List payloads) { // ^^^^^^^^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/BaseEpoxyAdapter#onBindViewHolder(+1). -// documentation ```java\n@Override\npublic void onBindViewHolder(EpoxyViewHolder holder, int position, List payloads)\n``` +// display_name onBindViewHolder +// signature_documentation java @Override\npublic void onBindViewHolder(EpoxyViewHolder holder, int position, List payloads) +// kind Method // ^^^^^^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/EpoxyViewHolder# // ^^^^^^ definition local 9 -// documentation ```java\nEpoxyViewHolder holder\n``` +// display_name holder +// signature_documentation java EpoxyViewHolder holder +// enclosing_symbol semanticdb maven . . com/airbnb/epoxy/BaseEpoxyAdapter#onBindViewHolder(+1). // ^^^^^^^^ definition local 10 -// documentation ```java\nint position\n``` +// display_name position +// signature_documentation java int position +// enclosing_symbol semanticdb maven . . com/airbnb/epoxy/BaseEpoxyAdapter#onBindViewHolder(+1). // ^^^^ reference semanticdb maven jdk 11 java/util/List# // ^^^^^^ reference semanticdb maven jdk 11 java/lang/Object# // ^^^^^^^^ definition local 11 -// documentation ```java\nList payloads\n``` +// display_name payloads +// signature_documentation java List payloads +// enclosing_symbol semanticdb maven . . com/airbnb/epoxy/BaseEpoxyAdapter#onBindViewHolder(+1). EpoxyModel modelToShow = getModelForPosition(position); // ^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/EpoxyModel# // ^^^^^^^^^^^ definition local 12 -// documentation ```java\nEpoxyModel modelToShow\n``` +// display_name modelToShow +// signature_documentation java EpoxyModel modelToShow +// enclosing_symbol semanticdb maven . . com/airbnb/epoxy/BaseEpoxyAdapter#onBindViewHolder(+1). +// kind Variable // ^^^^^^^^^^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/BaseEpoxyAdapter#getModelForPosition(). // ^^^^^^^^ reference local 10 EpoxyModel previouslyBoundModel = null; // ^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/EpoxyModel# // ^^^^^^^^^^^^^^^^^^^^ definition local 13 -// documentation ```java\nEpoxyModel previouslyBoundModel\n``` +// display_name previouslyBoundModel +// signature_documentation java EpoxyModel previouslyBoundModel +// enclosing_symbol semanticdb maven . . com/airbnb/epoxy/BaseEpoxyAdapter#onBindViewHolder(+1). +// kind Variable if (diffPayloadsEnabled()) { // ^^^^^^^^^^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/BaseEpoxyAdapter#diffPayloadsEnabled(). previouslyBoundModel = DiffPayload.getModelFromPayload(payloads, getItemId(position)); @@ -345,7 +411,9 @@ public void onBindViewHolder(EpoxyViewHolder holder, int position, List boolean diffPayloadsEnabled() { // ^^^^^^^^^^^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/BaseEpoxyAdapter#diffPayloadsEnabled(). -// documentation ```java\nboolean diffPayloadsEnabled()\n``` +// display_name diffPayloadsEnabled +// signature_documentation java boolean diffPayloadsEnabled() +// kind Method // relationship is_reference is_implementation semanticdb maven . . com/airbnb/epoxy/EpoxyControllerAdapter#diffPayloadsEnabled(). return false; } @@ -356,22 +424,32 @@ boolean diffPayloadsEnabled() { */ protected void onModelBound(EpoxyViewHolder holder, EpoxyModel model, int position, // ^^^^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/BaseEpoxyAdapter#onModelBound(). -// documentation ```java\nprotected void onModelBound(EpoxyViewHolder holder, EpoxyModel model, int position, List payloads)\n``` +// display_name onModelBound +// signature_documentation java protected void onModelBound(EpoxyViewHolder holder, EpoxyModel model, int position, List payloads) +// kind Method // documentation Called immediately after a model is bound to a view holder. Subclasses can override this if\n they want alerts on when a model is bound.\n // ^^^^^^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/EpoxyViewHolder# // ^^^^^^ definition local 14 -// documentation ```java\nEpoxyViewHolder holder\n``` +// display_name holder +// signature_documentation java EpoxyViewHolder holder +// enclosing_symbol semanticdb maven . . com/airbnb/epoxy/BaseEpoxyAdapter#onModelBound(). // ^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/EpoxyModel# // ^^^^^ definition local 15 -// documentation ```java\nEpoxyModel model\n``` +// display_name model +// signature_documentation java EpoxyModel model +// enclosing_symbol semanticdb maven . . com/airbnb/epoxy/BaseEpoxyAdapter#onModelBound(). // ^^^^^^^^ definition local 16 -// documentation ```java\nint position\n``` +// display_name position +// signature_documentation java int position +// enclosing_symbol semanticdb maven . . com/airbnb/epoxy/BaseEpoxyAdapter#onModelBound(). @Nullable List payloads) { // ^^^^^^^^ reference semanticdb maven maven/androidx.annotation/annotation 1.1.0 androidx/annotation/Nullable# // ^^^^ reference semanticdb maven jdk 11 java/util/List# // ^^^^^^ reference semanticdb maven jdk 11 java/lang/Object# // ^^^^^^^^ definition local 17 -// documentation ```java\n@Nullable\nList payloads\n``` +// display_name payloads +// signature_documentation java @Nullable\nList payloads +// enclosing_symbol semanticdb maven . . com/airbnb/epoxy/BaseEpoxyAdapter#onModelBound(). onModelBound(holder, model, position); // ^^^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/BaseEpoxyAdapter#onModelBound(+2). // ^^^^^^ reference local 14 @@ -381,21 +459,31 @@ protected void onModelBound(EpoxyViewHolder holder, EpoxyModel model, int pos void onModelBound(EpoxyViewHolder holder, EpoxyModel model, int position, // ^^^^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/BaseEpoxyAdapter#onModelBound(+1). -// documentation ```java\nvoid onModelBound(EpoxyViewHolder holder, EpoxyModel model, int position, EpoxyModel previouslyBoundModel)\n``` +// display_name onModelBound +// signature_documentation java void onModelBound(EpoxyViewHolder holder, EpoxyModel model, int position, EpoxyModel previouslyBoundModel) +// kind Method // relationship is_reference is_implementation semanticdb maven . . com/airbnb/epoxy/EpoxyControllerAdapter#onModelBound(). // ^^^^^^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/EpoxyViewHolder# // ^^^^^^ definition local 18 -// documentation ```java\nEpoxyViewHolder holder\n``` +// display_name holder +// signature_documentation java EpoxyViewHolder holder +// enclosing_symbol semanticdb maven . . com/airbnb/epoxy/BaseEpoxyAdapter#onModelBound(+1). // ^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/EpoxyModel# // ^^^^^ definition local 19 -// documentation ```java\nEpoxyModel model\n``` +// display_name model +// signature_documentation java EpoxyModel model +// enclosing_symbol semanticdb maven . . com/airbnb/epoxy/BaseEpoxyAdapter#onModelBound(+1). // ^^^^^^^^ definition local 20 -// documentation ```java\nint position\n``` +// display_name position +// signature_documentation java int position +// enclosing_symbol semanticdb maven . . com/airbnb/epoxy/BaseEpoxyAdapter#onModelBound(+1). @Nullable EpoxyModel previouslyBoundModel) { // ^^^^^^^^ reference semanticdb maven maven/androidx.annotation/annotation 1.1.0 androidx/annotation/Nullable# // ^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/EpoxyModel# // ^^^^^^^^^^^^^^^^^^^^ definition local 21 -// documentation ```java\n@Nullable\nEpoxyModel previouslyBoundModel\n``` +// display_name previouslyBoundModel +// signature_documentation java @Nullable\nEpoxyModel previouslyBoundModel +// enclosing_symbol semanticdb maven . . com/airbnb/epoxy/BaseEpoxyAdapter#onModelBound(+1). onModelBound(holder, model, position); // ^^^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/BaseEpoxyAdapter#onModelBound(+2). // ^^^^^^ reference local 18 @@ -409,16 +497,24 @@ void onModelBound(EpoxyViewHolder holder, EpoxyModel model, int position, */ protected void onModelBound(EpoxyViewHolder holder, EpoxyModel model, int position) { // ^^^^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/BaseEpoxyAdapter#onModelBound(+2). -// documentation ```java\nprotected void onModelBound(EpoxyViewHolder holder, EpoxyModel model, int position)\n``` +// display_name onModelBound +// signature_documentation java protected void onModelBound(EpoxyViewHolder holder, EpoxyModel model, int position) +// kind Method // documentation Called immediately after a model is bound to a view holder. Subclasses can override this if\n they want alerts on when a model is bound.\n // ^^^^^^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/EpoxyViewHolder# // ^^^^^^ definition local 22 -// documentation ```java\nEpoxyViewHolder holder\n``` +// display_name holder +// signature_documentation java EpoxyViewHolder holder +// enclosing_symbol semanticdb maven . . com/airbnb/epoxy/BaseEpoxyAdapter#onModelBound(+2). // ^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/EpoxyModel# // ^^^^^ definition local 23 -// documentation ```java\nEpoxyModel model\n``` +// display_name model +// signature_documentation java EpoxyModel model +// enclosing_symbol semanticdb maven . . com/airbnb/epoxy/BaseEpoxyAdapter#onModelBound(+2). // ^^^^^^^^ definition local 24 -// documentation ```java\nint position\n``` +// display_name position +// signature_documentation java int position +// enclosing_symbol semanticdb maven . . com/airbnb/epoxy/BaseEpoxyAdapter#onModelBound(+2). } @@ -430,7 +526,9 @@ protected void onModelBound(EpoxyViewHolder holder, EpoxyModel model, int pos protected BoundViewHolders getBoundViewHolders() { // ^^^^^^^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/BoundViewHolders# // ^^^^^^^^^^^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/BaseEpoxyAdapter#getBoundViewHolders(). -// documentation ```java\nprotected BoundViewHolders getBoundViewHolders()\n``` +// display_name getBoundViewHolders +// signature_documentation java protected BoundViewHolders getBoundViewHolders() +// kind Method // documentation Returns an object that manages the view holders currently bound to the RecyclerView. This\n object is mainly used by the base Epoxy adapter to save view states, but you may find it useful\n to help access views or models currently shown in the RecyclerView.\n // relationship is_reference is_implementation semanticdb maven . . com/airbnb/epoxy/EpoxyControllerAdapter#getBoundViewHolders(). // relationship is_reference is_implementation semanticdb maven . . com/airbnb/epoxy/SimpleEpoxyAdapter#getBoundViewHolders(). @@ -441,10 +539,14 @@ protected BoundViewHolders getBoundViewHolders() { EpoxyModel getModelForPosition(int position) { //^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/EpoxyModel# // ^^^^^^^^^^^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/BaseEpoxyAdapter#getModelForPosition(). -// documentation ```java\nEpoxyModel getModelForPosition(int position)\n``` +// display_name getModelForPosition +// signature_documentation java EpoxyModel getModelForPosition(int position) +// kind Method // relationship is_reference is_implementation semanticdb maven . . com/airbnb/epoxy/EpoxyAdapter#getModelForPosition(). // ^^^^^^^^ definition local 25 -// documentation ```java\nint position\n``` +// display_name position +// signature_documentation java int position +// enclosing_symbol semanticdb maven . . com/airbnb/epoxy/BaseEpoxyAdapter#getModelForPosition(). return getCurrentModels().get(position); // ^^^^^^^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/BaseEpoxyAdapter#getCurrentModels(). // ^^^ reference semanticdb maven jdk 11 java/util/List#get(). @@ -455,10 +557,14 @@ EpoxyModel getModelForPosition(int position) { // ^^^^^^^^ reference semanticdb maven jdk 11 java/lang/Override# public void onViewRecycled(EpoxyViewHolder holder) { // ^^^^^^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/BaseEpoxyAdapter#onViewRecycled(). -// documentation ```java\n@Override\npublic void onViewRecycled(EpoxyViewHolder holder)\n``` +// display_name onViewRecycled +// signature_documentation java @Override\npublic void onViewRecycled(EpoxyViewHolder holder) +// kind Method // ^^^^^^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/EpoxyViewHolder# // ^^^^^^ definition local 26 -// documentation ```java\nEpoxyViewHolder holder\n``` +// display_name holder +// signature_documentation java EpoxyViewHolder holder +// enclosing_symbol semanticdb maven . . com/airbnb/epoxy/BaseEpoxyAdapter#onViewRecycled(). viewHolderState.save(holder); // ^^^^^^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/BaseEpoxyAdapter#viewHolderState. // ^^^^ reference semanticdb maven . . com/airbnb/epoxy/ViewHolderState#save(+1). @@ -471,7 +577,10 @@ public void onViewRecycled(EpoxyViewHolder holder) { EpoxyModel model = holder.getModel(); // ^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/EpoxyModel# // ^^^^^ definition local 27 -// documentation ```java\nEpoxyModel model\n``` +// display_name model +// signature_documentation java EpoxyModel model +// enclosing_symbol semanticdb maven . . com/airbnb/epoxy/BaseEpoxyAdapter#onViewRecycled(). +// kind Variable // ^^^^^^ reference local 26 // ^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/EpoxyViewHolder#getModel(). holder.unbind(); @@ -489,12 +598,16 @@ public void onViewRecycled(EpoxyViewHolder holder) { // ^^^^^^^^ reference semanticdb maven jdk 11 java/lang/Override# public void onDetachedFromRecyclerView(@NonNull RecyclerView recyclerView) { // ^^^^^^^^^^^^^^^^^^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/BaseEpoxyAdapter#onDetachedFromRecyclerView(). -// documentation ```java\n@CallSuper\n@Override\npublic void onDetachedFromRecyclerView(unresolved_type recyclerView)\n``` +// display_name onDetachedFromRecyclerView +// signature_documentation java @CallSuper\n@Override\npublic void onDetachedFromRecyclerView(unresolved_type recyclerView) +// kind Method // relationship is_reference is_implementation semanticdb maven . . com/airbnb/epoxy/EpoxyControllerAdapter#onDetachedFromRecyclerView(). // ^^^^^^^ reference semanticdb maven maven/androidx.annotation/annotation 1.1.0 androidx/annotation/NonNull# // ^^^^^^^^^^^^ reference semanticdb maven . . RecyclerView# // ^^^^^^^^^^^^ definition local 28 -// documentation ```java\n@NonNull\nunresolved_type recyclerView\n``` +// display_name recyclerView +// signature_documentation java @NonNull\nunresolved_type recyclerView +// enclosing_symbol semanticdb maven . . com/airbnb/epoxy/BaseEpoxyAdapter#onDetachedFromRecyclerView(). // The last model is saved for optimization, but holding onto it can leak anything saved inside // the model (like a click listener that references a Fragment). This is only needed during // the viewholder creation phase, so it is safe to clear now. @@ -509,15 +622,21 @@ public void onDetachedFromRecyclerView(@NonNull RecyclerView recyclerView) { */ protected void onModelUnbound(EpoxyViewHolder holder, EpoxyModel model) { // ^^^^^^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/BaseEpoxyAdapter#onModelUnbound(). -// documentation ```java\nprotected void onModelUnbound(EpoxyViewHolder holder, EpoxyModel model)\n``` +// display_name onModelUnbound +// signature_documentation java protected void onModelUnbound(EpoxyViewHolder holder, EpoxyModel model) +// kind Method // documentation Called immediately after a model is unbound from a view holder. Subclasses can override this if\n they want alerts on when a model is unbound.\n // relationship is_reference is_implementation semanticdb maven . . com/airbnb/epoxy/EpoxyControllerAdapter#onModelUnbound(). // ^^^^^^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/EpoxyViewHolder# // ^^^^^^ definition local 29 -// documentation ```java\nEpoxyViewHolder holder\n``` +// display_name holder +// signature_documentation java EpoxyViewHolder holder +// enclosing_symbol semanticdb maven . . com/airbnb/epoxy/BaseEpoxyAdapter#onModelUnbound(). // ^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/EpoxyModel# // ^^^^^ definition local 30 -// documentation ```java\nEpoxyModel model\n``` +// display_name model +// signature_documentation java EpoxyModel model +// enclosing_symbol semanticdb maven . . com/airbnb/epoxy/BaseEpoxyAdapter#onModelUnbound(). } @@ -527,10 +646,14 @@ protected void onModelUnbound(EpoxyViewHolder holder, EpoxyModel model) { // ^^^^^^^^ reference semanticdb maven jdk 11 java/lang/Override# public boolean onFailedToRecycleView(EpoxyViewHolder holder) { // ^^^^^^^^^^^^^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/BaseEpoxyAdapter#onFailedToRecycleView(). -// documentation ```java\n@CallSuper\n@Override\npublic boolean onFailedToRecycleView(EpoxyViewHolder holder)\n``` +// display_name onFailedToRecycleView +// signature_documentation java @CallSuper\n@Override\npublic boolean onFailedToRecycleView(EpoxyViewHolder holder) +// kind Method // ^^^^^^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/EpoxyViewHolder# // ^^^^^^ definition local 31 -// documentation ```java\nEpoxyViewHolder holder\n``` +// display_name holder +// signature_documentation java EpoxyViewHolder holder +// enclosing_symbol semanticdb maven . . com/airbnb/epoxy/BaseEpoxyAdapter#onFailedToRecycleView(). //noinspection unchecked,rawtypes return ((EpoxyModel) holder.getModel()).onFailedToRecycleView(holder.objectToBind()); // ^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/EpoxyModel# @@ -547,11 +670,15 @@ public boolean onFailedToRecycleView(EpoxyViewHolder holder) { // ^^^^^^^^ reference semanticdb maven jdk 11 java/lang/Override# public void onViewAttachedToWindow(EpoxyViewHolder holder) { // ^^^^^^^^^^^^^^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/BaseEpoxyAdapter#onViewAttachedToWindow(). -// documentation ```java\n@CallSuper\n@Override\npublic void onViewAttachedToWindow(EpoxyViewHolder holder)\n``` +// display_name onViewAttachedToWindow +// signature_documentation java @CallSuper\n@Override\npublic void onViewAttachedToWindow(EpoxyViewHolder holder) +// kind Method // relationship is_reference is_implementation semanticdb maven . . com/airbnb/epoxy/EpoxyControllerAdapter#onViewAttachedToWindow(). // ^^^^^^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/EpoxyViewHolder# // ^^^^^^ definition local 32 -// documentation ```java\nEpoxyViewHolder holder\n``` +// display_name holder +// signature_documentation java EpoxyViewHolder holder +// enclosing_symbol semanticdb maven . . com/airbnb/epoxy/BaseEpoxyAdapter#onViewAttachedToWindow(). //noinspection unchecked,rawtypes ((EpoxyModel) holder.getModel()).onViewAttachedToWindow(holder.objectToBind()); // ^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/EpoxyModel# @@ -568,11 +695,15 @@ public void onViewAttachedToWindow(EpoxyViewHolder holder) { // ^^^^^^^^ reference semanticdb maven jdk 11 java/lang/Override# public void onViewDetachedFromWindow(EpoxyViewHolder holder) { // ^^^^^^^^^^^^^^^^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/BaseEpoxyAdapter#onViewDetachedFromWindow(). -// documentation ```java\n@CallSuper\n@Override\npublic void onViewDetachedFromWindow(EpoxyViewHolder holder)\n``` +// display_name onViewDetachedFromWindow +// signature_documentation java @CallSuper\n@Override\npublic void onViewDetachedFromWindow(EpoxyViewHolder holder) +// kind Method // relationship is_reference is_implementation semanticdb maven . . com/airbnb/epoxy/EpoxyControllerAdapter#onViewDetachedFromWindow(). // ^^^^^^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/EpoxyViewHolder# // ^^^^^^ definition local 33 -// documentation ```java\nEpoxyViewHolder holder\n``` +// display_name holder +// signature_documentation java EpoxyViewHolder holder +// enclosing_symbol semanticdb maven . . com/airbnb/epoxy/BaseEpoxyAdapter#onViewDetachedFromWindow(). //noinspection unchecked,rawtypes ((EpoxyModel) holder.getModel()).onViewDetachedFromWindow(holder.objectToBind()); // ^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/EpoxyModel# @@ -585,17 +716,24 @@ public void onViewDetachedFromWindow(EpoxyViewHolder holder) { public void onSaveInstanceState(Bundle outState) { // ^^^^^^^^^^^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/BaseEpoxyAdapter#onSaveInstanceState(). -// documentation ```java\npublic void onSaveInstanceState(unresolved_type outState)\n``` +// display_name onSaveInstanceState +// signature_documentation java public void onSaveInstanceState(unresolved_type outState) +// kind Method // ^^^^^^ reference semanticdb maven . . Bundle# // ^^^^^^^^ definition local 34 -// documentation ```java\nunresolved_type outState\n``` +// display_name outState +// signature_documentation java unresolved_type outState +// enclosing_symbol semanticdb maven . . com/airbnb/epoxy/BaseEpoxyAdapter#onSaveInstanceState(). // Save the state of currently bound views first so they are included. Views that were // scrolled off and unbound will already have had // their state saved. for (EpoxyViewHolder holder : boundViewHolders) { // ^^^^^^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/EpoxyViewHolder# // ^^^^^^ definition local 35 -// documentation ```java\nEpoxyViewHolder holder\n``` +// display_name holder +// signature_documentation java EpoxyViewHolder holder +// enclosing_symbol semanticdb maven . . com/airbnb/epoxy/BaseEpoxyAdapter#onSaveInstanceState(). +// kind Variable // ^^^^^^^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/BaseEpoxyAdapter#boundViewHolders. viewHolderState.save(holder); // ^^^^^^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/BaseEpoxyAdapter#viewHolderState. @@ -620,11 +758,15 @@ public void onSaveInstanceState(Bundle outState) { public void onRestoreInstanceState(@Nullable Bundle inState) { // ^^^^^^^^^^^^^^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/BaseEpoxyAdapter#onRestoreInstanceState(). -// documentation ```java\npublic void onRestoreInstanceState(unresolved_type inState)\n``` +// display_name onRestoreInstanceState +// signature_documentation java public void onRestoreInstanceState(unresolved_type inState) +// kind Method // ^^^^^^^^ reference semanticdb maven maven/androidx.annotation/annotation 1.1.0 androidx/annotation/Nullable# // ^^^^^^ reference semanticdb maven . . Bundle# // ^^^^^^^ definition local 36 -// documentation ```java\n@Nullable\nunresolved_type inState\n``` +// display_name inState +// signature_documentation java @Nullable\nunresolved_type inState +// enclosing_symbol semanticdb maven . . com/airbnb/epoxy/BaseEpoxyAdapter#onRestoreInstanceState(). // To simplify things we enforce that state is restored before views are bound, otherwise it // is more difficult to update view state once they are bound if (boundViewHolders.size() > 0) { @@ -661,21 +803,31 @@ public void onRestoreInstanceState(@Nullable Bundle inState) { */ protected int getModelPosition(EpoxyModel model) { // ^^^^^^^^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/BaseEpoxyAdapter#getModelPosition(). -// documentation ```java\nprotected int getModelPosition(EpoxyModel model)\n``` +// display_name getModelPosition +// signature_documentation java protected int getModelPosition(EpoxyModel model) +// kind Method // documentation Finds the position of the given model in the list. Doesn't use indexOf to avoid unnecessary\n equals() calls since we're looking for the same object instance.\n\n @return The position of the given model in the current models list, or -1 if the model can't be\n found.\n // relationship is_reference is_implementation semanticdb maven . . com/airbnb/epoxy/EpoxyControllerAdapter#getModelPosition(). // relationship is_reference is_implementation semanticdb maven . . com/airbnb/epoxy/SimpleEpoxyAdapter#getModelPosition(). // ^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/EpoxyModel# // ^^^^^ definition local 37 -// documentation ```java\nEpoxyModel model\n``` +// display_name model +// signature_documentation java EpoxyModel model +// enclosing_symbol semanticdb maven . . com/airbnb/epoxy/BaseEpoxyAdapter#getModelPosition(). int size = getCurrentModels().size(); // ^^^^ definition local 38 -// documentation ```java\nint size\n``` +// display_name size +// signature_documentation java int size +// enclosing_symbol semanticdb maven . . com/airbnb/epoxy/BaseEpoxyAdapter#getModelPosition(). +// kind Variable // ^^^^^^^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/BaseEpoxyAdapter#getCurrentModels(). // ^^^^ reference semanticdb maven jdk 11 java/util/List#size(). for (int i = 0; i < size; i++) { // ^ definition local 39 -// documentation ```java\nint i\n``` +// display_name i +// signature_documentation java int i +// enclosing_symbol semanticdb maven . . com/airbnb/epoxy/BaseEpoxyAdapter#getModelPosition(). +// kind Variable // ^ reference local 39 // ^^^^ reference local 38 // ^ reference local 39 @@ -701,7 +853,9 @@ protected int getModelPosition(EpoxyModel model) { public SpanSizeLookup getSpanSizeLookup() { // ^^^^^^^^^^^^^^ reference semanticdb maven . . SpanSizeLookup# // ^^^^^^^^^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/BaseEpoxyAdapter#getSpanSizeLookup(). -// documentation ```java\npublic unresolved_type getSpanSizeLookup()\n``` +// display_name getSpanSizeLookup +// signature_documentation java public unresolved_type getSpanSizeLookup() +// kind Method // documentation For use with a grid layout manager - use this to get the {@link SpanSizeLookup} for models in\n this adapter. This will delegate span look up calls to each model's {@link\n EpoxyModel#getSpanSize(int, int, int)}. Make sure to also call {@link #setSpanCount(int)} so\n the span count is correct.\n return spanSizeLookup; // ^^^^^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/BaseEpoxyAdapter#spanSizeLookup. @@ -716,10 +870,14 @@ public SpanSizeLookup getSpanSizeLookup() { */ public void setSpanCount(int spanCount) { // ^^^^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/BaseEpoxyAdapter#setSpanCount(). -// documentation ```java\npublic void setSpanCount(int spanCount)\n``` +// display_name setSpanCount +// signature_documentation java public void setSpanCount(int spanCount) +// kind Method // documentation If you are using a grid layout manager you must call this to set the span count of the grid.\n This span count will be passed on to the models so models can choose what span count to be.\n\n @see #getSpanSizeLookup()\n @see EpoxyModel#getSpanSize(int, int, int)\n // ^^^^^^^^^ definition local 40 -// documentation ```java\nint spanCount\n``` +// display_name spanCount +// signature_documentation java int spanCount +// enclosing_symbol semanticdb maven . . com/airbnb/epoxy/BaseEpoxyAdapter#setSpanCount(). this.spanCount = spanCount; // ^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/BaseEpoxyAdapter#spanCount. // ^^^^^^^^^ reference local 40 @@ -727,14 +885,18 @@ public void setSpanCount(int spanCount) { public int getSpanCount() { // ^^^^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/BaseEpoxyAdapter#getSpanCount(). -// documentation ```java\npublic int getSpanCount()\n``` +// display_name getSpanCount +// signature_documentation java public int getSpanCount() +// kind Method return spanCount; // ^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/BaseEpoxyAdapter#spanCount. } public boolean isMultiSpan() { // ^^^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/BaseEpoxyAdapter#isMultiSpan(). -// documentation ```java\npublic boolean isMultiSpan()\n``` +// display_name isMultiSpan +// signature_documentation java public boolean isMultiSpan() +// kind Method return spanCount > 1; // ^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/BaseEpoxyAdapter#spanCount. } @@ -752,13 +914,17 @@ public boolean isMultiSpan() { // ^^^^^^^^ reference semanticdb maven jdk 11 java/lang/Override# public void setupStickyHeaderView(@NotNull View stickyHeader) { // ^^^^^^^^^^^^^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/BaseEpoxyAdapter#setupStickyHeaderView(). -// documentation ```java\n@Override\npublic void setupStickyHeaderView(unresolved_type stickyHeader)\n``` +// display_name setupStickyHeaderView +// signature_documentation java @Override\npublic void setupStickyHeaderView(unresolved_type stickyHeader) +// kind Method // documentation Optional callback to setup the sticky view,\n by default it doesn't do anything.\n

\n The sub-classes should override the function if they are\n using sticky header feature.\n // relationship is_reference is_implementation semanticdb maven . . com/airbnb/epoxy/EpoxyControllerAdapter#setupStickyHeaderView(). // ^^^^^^^ reference semanticdb maven maven/org.jetbrains/annotations 13.0 org/jetbrains/annotations/NotNull# // ^^^^ reference semanticdb maven . . View# // ^^^^^^^^^^^^ definition local 41 -// documentation ```java\n@NotNull\nunresolved_type stickyHeader\n``` +// display_name stickyHeader +// signature_documentation java @NotNull\nunresolved_type stickyHeader +// enclosing_symbol semanticdb maven . . com/airbnb/epoxy/BaseEpoxyAdapter#setupStickyHeaderView(). // no-op } @@ -773,13 +939,17 @@ public void setupStickyHeaderView(@NotNull View stickyHeader) { // ^^^^^^^^ reference semanticdb maven jdk 11 java/lang/Override# public void teardownStickyHeaderView(@NotNull View stickyHeader) { // ^^^^^^^^^^^^^^^^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/BaseEpoxyAdapter#teardownStickyHeaderView(). -// documentation ```java\n@Override\npublic void teardownStickyHeaderView(unresolved_type stickyHeader)\n``` +// display_name teardownStickyHeaderView +// signature_documentation java @Override\npublic void teardownStickyHeaderView(unresolved_type stickyHeader) +// kind Method // documentation Optional callback to perform tear down operation on the\n sticky view, by default it doesn't do anything.\n

\n The sub-classes should override the function if they are\n using sticky header feature.\n // relationship is_reference is_implementation semanticdb maven . . com/airbnb/epoxy/EpoxyControllerAdapter#teardownStickyHeaderView(). // ^^^^^^^ reference semanticdb maven maven/org.jetbrains/annotations 13.0 org/jetbrains/annotations/NotNull# // ^^^^ reference semanticdb maven . . View# // ^^^^^^^^^^^^ definition local 42 -// documentation ```java\n@NotNull\nunresolved_type stickyHeader\n``` +// display_name stickyHeader +// signature_documentation java @NotNull\nunresolved_type stickyHeader +// enclosing_symbol semanticdb maven . . com/airbnb/epoxy/BaseEpoxyAdapter#teardownStickyHeaderView(). // no-op } @@ -794,11 +964,15 @@ public void teardownStickyHeaderView(@NotNull View stickyHeader) { // ^^^^^^^^ reference semanticdb maven jdk 11 java/lang/Override# public boolean isStickyHeader(int position) { // ^^^^^^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/BaseEpoxyAdapter#isStickyHeader(). -// documentation ```java\n@Override\npublic boolean isStickyHeader(int position)\n``` +// display_name isStickyHeader +// signature_documentation java @Override\npublic boolean isStickyHeader(int position) +// kind Method // documentation Called to check if the item at the position is a sticky item,\n by default returns false.\n

\n The sub-classes should override the function if they are\n using sticky header feature.\n // relationship is_reference is_implementation semanticdb maven . . com/airbnb/epoxy/EpoxyControllerAdapter#isStickyHeader(). // ^^^^^^^^ definition local 43 -// documentation ```java\nint position\n``` +// display_name position +// signature_documentation java int position +// enclosing_symbol semanticdb maven . . com/airbnb/epoxy/BaseEpoxyAdapter#isStickyHeader(). return false; } diff --git a/tests/snapshots/src/main/generated/com/airbnb/epoxy/BaseEpoxyTouchCallback.java b/tests/snapshots/src/main/generated/com/airbnb/epoxy/BaseEpoxyTouchCallback.java index 9d77d1b6b..e9f30b54a 100644 --- a/tests/snapshots/src/main/generated/com/airbnb/epoxy/BaseEpoxyTouchCallback.java +++ b/tests/snapshots/src/main/generated/com/airbnb/epoxy/BaseEpoxyTouchCallback.java @@ -7,9 +7,13 @@ interface BaseEpoxyTouchCallback { // ^^^^^^^^^^^^^^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/BaseEpoxyTouchCallback# -// documentation ```java\ninterface BaseEpoxyTouchCallback\n``` +// display_name BaseEpoxyTouchCallback +// signature_documentation java interface BaseEpoxyTouchCallback +// kind Interface // ^ definition semanticdb maven . . com/airbnb/epoxy/BaseEpoxyTouchCallback#[T] -// documentation ```java\nT extends EpoxyModel\n``` +// display_name T +// signature_documentation java T extends EpoxyModel +// kind TypeParameter // ^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/EpoxyModel# /** @@ -24,15 +28,21 @@ interface BaseEpoxyTouchCallback { */ int getMovementFlagsForModel(T model, int adapterPosition); // ^^^^^^^^^^^^^^^^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/BaseEpoxyTouchCallback#getMovementFlagsForModel(). -// documentation ```java\npublic abstract int getMovementFlagsForModel(T model, int adapterPosition)\n``` +// display_name getMovementFlagsForModel +// signature_documentation java public abstract int getMovementFlagsForModel(T model, int adapterPosition) +// kind AbstractMethod // documentation Should return a composite flag which defines the enabled move directions in each state\n (idle, swiping, dragging) for the given model.\n

\n Return 0 to disable movement for the model.\n\n @param model The model being targeted for movement.\n @param adapterPosition The current adapter position of the targeted model\n @see androidx.recyclerview.widget.ItemTouchHelper.Callback#getMovementFlags\n // relationship is_reference is_implementation semanticdb maven . . com/airbnb/epoxy/EpoxyTouchHelper#DragCallbacks#getMovementFlagsForModel(). // relationship is_reference is_implementation semanticdb maven . . com/airbnb/epoxy/EpoxyTouchHelper#SwipeCallbacks#getMovementFlagsForModel(). // ^ reference semanticdb maven . . com/airbnb/epoxy/BaseEpoxyTouchCallback#[T] // ^^^^^ definition local 0 -// documentation ```java\nT model\n``` +// display_name model +// signature_documentation java T model +// enclosing_symbol semanticdb maven . . com/airbnb/epoxy/BaseEpoxyTouchCallback#getMovementFlagsForModel(). // ^^^^^^^^^^^^^^^ definition local 1 -// documentation ```java\nint adapterPosition\n``` +// display_name adapterPosition +// signature_documentation java int adapterPosition +// enclosing_symbol semanticdb maven . . com/airbnb/epoxy/BaseEpoxyTouchCallback#getMovementFlagsForModel(). /** * Called when the user interaction with a view is over and the view has @@ -46,7 +56,9 @@ interface BaseEpoxyTouchCallback { */ void clearView(T model, View itemView); // ^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/BaseEpoxyTouchCallback#clearView(). -// documentation ```java\npublic abstract void clearView(T model, unresolved_type itemView)\n``` +// display_name clearView +// signature_documentation java public abstract void clearView(T model, unresolved_type itemView) +// kind AbstractMethod // documentation Called when the user interaction with a view is over and the view has\n completed its animation. This is a good place to clear all changes on the view that were done\n in other previous touch callbacks (such as on touch start, change, release, etc).\n

\n This is the last callback in the lifecycle of a touch event.\n\n @param model The model whose view is being cleared.\n @param itemView The view being cleared.\n // relationship is_reference is_implementation semanticdb maven . . com/airbnb/epoxy/EpoxyModelTouchCallback#clearView(). // relationship is_reference is_implementation semanticdb maven . . com/airbnb/epoxy/EpoxyModelTouchCallback#clearView(+1). @@ -54,8 +66,12 @@ interface BaseEpoxyTouchCallback { // relationship is_reference is_implementation semanticdb maven . . com/airbnb/epoxy/EpoxyTouchHelper#SwipeCallbacks#clearView(). // ^ reference semanticdb maven . . com/airbnb/epoxy/BaseEpoxyTouchCallback#[T] // ^^^^^ definition local 2 -// documentation ```java\nT model\n``` +// display_name model +// signature_documentation java T model +// enclosing_symbol semanticdb maven . . com/airbnb/epoxy/BaseEpoxyTouchCallback#clearView(). // ^^^^ reference semanticdb maven . . View# // ^^^^^^^^ definition local 3 -// documentation ```java\nunresolved_type itemView\n``` +// display_name itemView +// signature_documentation java unresolved_type itemView +// enclosing_symbol semanticdb maven . . com/airbnb/epoxy/BaseEpoxyTouchCallback#clearView(). } diff --git a/tests/snapshots/src/main/generated/com/airbnb/epoxy/BoundViewHolders.java b/tests/snapshots/src/main/generated/com/airbnb/epoxy/BoundViewHolders.java index a99517879..effa69bce 100644 --- a/tests/snapshots/src/main/generated/com/airbnb/epoxy/BoundViewHolders.java +++ b/tests/snapshots/src/main/generated/com/airbnb/epoxy/BoundViewHolders.java @@ -24,18 +24,24 @@ //^^^^^^^^^^^^^^^ reference semanticdb maven jdk 11 java/lang/SuppressWarnings# public class BoundViewHolders implements Iterable { // ^^^^^^^^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/BoundViewHolders# -// documentation ```java\n@SuppressWarnings("WeakerAccess")\npublic class BoundViewHolders\n``` +// display_name BoundViewHolders +// signature_documentation java @SuppressWarnings("WeakerAccess")\npublic class BoundViewHolders +// kind Class // documentation Helper class for keeping track of {@link EpoxyViewHolder}s that are currently bound. // relationship is_implementation semanticdb maven jdk 11 java/lang/Iterable# // ^^^^^^^^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/BoundViewHolders#``(). -// documentation ```java\npublic BoundViewHolders()\n``` +// display_name +// signature_documentation java public BoundViewHolders() +// kind Constructor // ^^^^^^^^ reference semanticdb maven jdk 11 java/lang/Iterable# // ^^^^^^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/EpoxyViewHolder# private final LongSparseArray holders = new LongSparseArray<>(); // ^^^^^^^^^^^^^^^ reference semanticdb maven maven/androidx.collection/collection 1.0.0 androidx/collection/LongSparseArray# // ^^^^^^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/EpoxyViewHolder# // ^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/BoundViewHolders#holders. -// documentation ```java\nprivate final LongSparseArray holders\n``` +// display_name holders +// signature_documentation java private final LongSparseArray holders +// kind Field // ^^^^^^^^^^^^^^^ reference semanticdb maven maven/androidx.collection/collection 1.0.0 androidx/collection/LongSparseArray#``(). @Nullable @@ -43,10 +49,14 @@ public class BoundViewHolders implements Iterable { public EpoxyViewHolder get(EpoxyViewHolder holder) { // ^^^^^^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/EpoxyViewHolder# // ^^^ definition semanticdb maven . . com/airbnb/epoxy/BoundViewHolders#get(). -// documentation ```java\n@Nullable\npublic EpoxyViewHolder get(EpoxyViewHolder holder)\n``` +// display_name get +// signature_documentation java @Nullable\npublic EpoxyViewHolder get(EpoxyViewHolder holder) +// kind Method // ^^^^^^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/EpoxyViewHolder# // ^^^^^^ definition local 0 -// documentation ```java\nEpoxyViewHolder holder\n``` +// display_name holder +// signature_documentation java EpoxyViewHolder holder +// enclosing_symbol semanticdb maven . . com/airbnb/epoxy/BoundViewHolders#get(). return holders.get(holder.getItemId()); // ^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/BoundViewHolders#holders. // ^^^ reference semanticdb maven maven/androidx.collection/collection 1.0.0 androidx/collection/LongSparseArray#get(). @@ -56,10 +66,14 @@ public EpoxyViewHolder get(EpoxyViewHolder holder) { public void put(EpoxyViewHolder holder) { // ^^^ definition semanticdb maven . . com/airbnb/epoxy/BoundViewHolders#put(). -// documentation ```java\npublic void put(EpoxyViewHolder holder)\n``` +// display_name put +// signature_documentation java public void put(EpoxyViewHolder holder) +// kind Method // ^^^^^^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/EpoxyViewHolder# // ^^^^^^ definition local 1 -// documentation ```java\nEpoxyViewHolder holder\n``` +// display_name holder +// signature_documentation java EpoxyViewHolder holder +// enclosing_symbol semanticdb maven . . com/airbnb/epoxy/BoundViewHolders#put(). holders.put(holder.getItemId(), holder); // ^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/BoundViewHolders#holders. // ^^^ reference semanticdb maven maven/androidx.collection/collection 1.0.0 androidx/collection/LongSparseArray#put(). @@ -70,10 +84,14 @@ public void put(EpoxyViewHolder holder) { public void remove(EpoxyViewHolder holder) { // ^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/BoundViewHolders#remove(). -// documentation ```java\npublic void remove(EpoxyViewHolder holder)\n``` +// display_name remove +// signature_documentation java public void remove(EpoxyViewHolder holder) +// kind Method // ^^^^^^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/EpoxyViewHolder# // ^^^^^^ definition local 2 -// documentation ```java\nEpoxyViewHolder holder\n``` +// display_name holder +// signature_documentation java EpoxyViewHolder holder +// enclosing_symbol semanticdb maven . . com/airbnb/epoxy/BoundViewHolders#remove(). holders.remove(holder.getItemId()); // ^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/BoundViewHolders#holders. // ^^^^^^ reference semanticdb maven maven/androidx.collection/collection 1.0.0 androidx/collection/LongSparseArray#remove(). @@ -83,7 +101,9 @@ public void remove(EpoxyViewHolder holder) { public int size() { // ^^^^ definition semanticdb maven . . com/airbnb/epoxy/BoundViewHolders#size(). -// documentation ```java\npublic int size()\n``` +// display_name size +// signature_documentation java public int size() +// kind Method return holders.size(); // ^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/BoundViewHolders#holders. // ^^^^ reference semanticdb maven maven/androidx.collection/collection 1.0.0 androidx/collection/LongSparseArray#size(). @@ -95,7 +115,9 @@ public Iterator iterator() { // ^^^^^^^^ reference semanticdb maven jdk 11 java/util/Iterator# // ^^^^^^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/EpoxyViewHolder# // ^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/BoundViewHolders#iterator(). -// documentation ```java\n@Override\npublic Iterator iterator()\n``` +// display_name iterator +// signature_documentation java @Override\npublic Iterator iterator() +// kind Method // relationship is_reference is_implementation semanticdb maven jdk 11 java/lang/Iterable#iterator(). return new HolderIterator(); // ^^^^^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/BoundViewHolders#HolderIterator#``(). @@ -106,10 +128,14 @@ public Iterator iterator() { public EpoxyViewHolder getHolderForModel(EpoxyModel model) { // ^^^^^^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/EpoxyViewHolder# // ^^^^^^^^^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/BoundViewHolders#getHolderForModel(). -// documentation ```java\n@Nullable\npublic EpoxyViewHolder getHolderForModel(EpoxyModel model)\n``` +// display_name getHolderForModel +// signature_documentation java @Nullable\npublic EpoxyViewHolder getHolderForModel(EpoxyModel model) +// kind Method // ^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/EpoxyModel# // ^^^^^ definition local 3 -// documentation ```java\nEpoxyModel model\n``` +// display_name model +// signature_documentation java EpoxyModel model +// enclosing_symbol semanticdb maven . . com/airbnb/epoxy/BoundViewHolders#getHolderForModel(). return holders.get(model.id()); // ^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/BoundViewHolders#holders. // ^^^ reference semanticdb maven maven/androidx.collection/collection 1.0.0 androidx/collection/LongSparseArray#get(). @@ -119,21 +145,29 @@ public EpoxyViewHolder getHolderForModel(EpoxyModel model) { private class HolderIterator implements Iterator { // ^^^^^^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/BoundViewHolders#HolderIterator# -// documentation ```java\nprivate class HolderIterator\n``` +// display_name HolderIterator +// signature_documentation java private class HolderIterator +// kind Class // relationship is_implementation semanticdb maven jdk 11 java/util/Iterator# // ^^^^^^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/BoundViewHolders#HolderIterator#``(). -// documentation ```java\nprivate HolderIterator()\n``` +// display_name +// signature_documentation java private HolderIterator() +// kind Constructor // ^^^^^^^^ reference semanticdb maven jdk 11 java/util/Iterator# // ^^^^^^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/EpoxyViewHolder# private int position = 0; // ^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/BoundViewHolders#HolderIterator#position. -// documentation ```java\nprivate int position\n``` +// display_name position +// signature_documentation java private int position +// kind Field @Override // ^^^^^^^^ reference semanticdb maven jdk 11 java/lang/Override# public boolean hasNext() { // ^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/BoundViewHolders#HolderIterator#hasNext(). -// documentation ```java\n@Override\npublic boolean hasNext()\n``` +// display_name hasNext +// signature_documentation java @Override\npublic boolean hasNext() +// kind Method // relationship is_reference is_implementation semanticdb maven jdk 11 java/util/Iterator#hasNext(). return position < holders.size(); // ^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/BoundViewHolders#HolderIterator#position. @@ -146,7 +180,9 @@ public boolean hasNext() { public EpoxyViewHolder next() { // ^^^^^^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/EpoxyViewHolder# // ^^^^ definition semanticdb maven . . com/airbnb/epoxy/BoundViewHolders#HolderIterator#next(). -// documentation ```java\n@Override\npublic EpoxyViewHolder next()\n``` +// display_name next +// signature_documentation java @Override\npublic EpoxyViewHolder next() +// kind Method // relationship is_reference is_implementation semanticdb maven jdk 11 java/util/Iterator#next(). if (!hasNext()) { // ^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/BoundViewHolders#HolderIterator#hasNext(). @@ -163,7 +199,9 @@ public EpoxyViewHolder next() { // ^^^^^^^^ reference semanticdb maven jdk 11 java/lang/Override# public void remove() { // ^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/BoundViewHolders#HolderIterator#remove(). -// documentation ```java\n@Override\npublic void remove()\n``` +// display_name remove +// signature_documentation java @Override\npublic void remove() +// kind Method // relationship is_reference is_implementation semanticdb maven jdk 11 java/util/Iterator#remove(). throw new UnsupportedOperationException(); // ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ reference semanticdb maven jdk 11 java/lang/UnsupportedOperationException#``(). diff --git a/tests/snapshots/src/main/generated/com/airbnb/epoxy/Carousel.java b/tests/snapshots/src/main/generated/com/airbnb/epoxy/Carousel.java index ccb277688..29e50b142 100644 --- a/tests/snapshots/src/main/generated/com/airbnb/epoxy/Carousel.java +++ b/tests/snapshots/src/main/generated/com/airbnb/epoxy/Carousel.java @@ -111,18 +111,24 @@ // ^^^^^^^^^^^^^^^^^^^^^^^ reference semanticdb maven maven/com.airbnb.android/epoxy-annotations 4.3.1 com/airbnb/epoxy/ModelView#Size#MATCH_WIDTH_WRAP_HEIGHT. public class Carousel extends EpoxyRecyclerView { // ^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/Carousel# -// documentation ```java\n@ModelView(saveViewState = true, autoLayout = Size.MATCH_WIDTH_WRAP_HEIGHT)\npublic class Carousel\n``` +// display_name Carousel +// signature_documentation java @ModelView(saveViewState = true, autoLayout = Size.MATCH_WIDTH_WRAP_HEIGHT)\npublic class Carousel +// kind Class // documentation This feature is in Beta - please report bugs, feature requests, or other feedback at\n https://github.com/airbnb/epoxy by creating a new issue. Thanks!\n\n

This is intended as a plug and play "Carousel" view - a Recyclerview with horizontal\n scrolling. It comes with common defaults and performance optimizations and can be either used as\n a top level RecyclerView, or nested within a vertical recyclerview.\n\n

This class provides:\n\n

1. Automatic integration with Epoxy. A {@link CarouselModel_} is generated from this class,\n which you can use in your EpoxyController. Just call {@link #setModels(List)} to provide the list\n of models to show in the carousel.\n\n

2. Default padding for carousel peeking, and an easy way to change this padding - {@link\n #setPaddingDp(int)}\n\n

3. Easily control how many items are shown on screen in the carousel at a time - {@link\n #setNumViewsToShowOnScreen(float)}\n\n

4. Easy snap support. By default a {@link LinearSnapHelper} is used, but you can set a global\n default for all Carousels with {@link #setDefaultGlobalSnapHelperFactory(SnapHelperFactory)}\n\n

5. All of the benefits of {@link EpoxyRecyclerView}\n\n

If you need further flexibility you can subclass this view to change its width, height,\n scrolling direction, etc. You can annotate a subclass with {@link ModelView} to generate a new\n EpoxyModel.\n // relationship is_implementation semanticdb maven . . EpoxyRecyclerView# // ^^^^^^^^^^^^^^^^^ reference semanticdb maven . . EpoxyRecyclerView# public static final int NO_VALUE_SET = -1; // ^^^^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/Carousel#NO_VALUE_SET. -// documentation ```java\npublic static final int NO_VALUE_SET\n``` +// display_name NO_VALUE_SET +// signature_documentation java public static final int NO_VALUE_SET +// kind StaticField private static SnapHelperFactory defaultGlobalSnapHelperFactory = // ^^^^^^^^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/Carousel#SnapHelperFactory# // ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/Carousel#defaultGlobalSnapHelperFactory. -// documentation ```java\nprivate static SnapHelperFactory defaultGlobalSnapHelperFactory\n``` +// display_name defaultGlobalSnapHelperFactory +// signature_documentation java private static SnapHelperFactory defaultGlobalSnapHelperFactory +// kind StaticField new SnapHelperFactory() { // ^^^^^^^^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/Carousel#SnapHelperFactory# @@ -133,11 +139,16 @@ public class Carousel extends EpoxyRecyclerView { public SnapHelper buildSnapHelper(Context context) { // ^^^^^^^^^^ reference semanticdb maven . . SnapHelper# // ^^^^^^^^^^^^^^^ definition local 1 -// documentation ```java\n@Override\n@NonNull\npublic unresolved_type buildSnapHelper(unresolved_type context)\n``` +// display_name buildSnapHelper +// signature_documentation java @Override\n@NonNull\npublic unresolved_type buildSnapHelper(unresolved_type context) +// enclosing_symbol local 0 +// kind Method // relationship is_reference is_implementation semanticdb maven . . com/airbnb/epoxy/Carousel#SnapHelperFactory#buildSnapHelper(). // ^^^^^^^ reference semanticdb maven . . Context# // ^^^^^^^ definition local 2 -// documentation ```java\nunresolved_type context\n``` +// display_name context +// signature_documentation java unresolved_type context +// enclosing_symbol local 1 return new LinearSnapHelper(); } }; @@ -149,32 +160,46 @@ public SnapHelper buildSnapHelper(Context context) { // ^^ reference semanticdb maven maven/androidx.annotation/annotation 1.1.0 androidx/annotation/Dimension#DP. private static int defaultSpacingBetweenItemsDp = 8; // ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/Carousel#defaultSpacingBetweenItemsDp. -// documentation ```java\n@Dimension(unit = Dimension.DP)\nprivate static int defaultSpacingBetweenItemsDp\n``` +// display_name defaultSpacingBetweenItemsDp +// signature_documentation java @Dimension(unit = Dimension.DP)\nprivate static int defaultSpacingBetweenItemsDp +// kind StaticField private float numViewsToShowOnScreen; // ^^^^^^^^^^^^^^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/Carousel#numViewsToShowOnScreen. -// documentation ```java\nprivate float numViewsToShowOnScreen\n``` +// display_name numViewsToShowOnScreen +// signature_documentation java private float numViewsToShowOnScreen +// kind Field public Carousel(Context context) { // ^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/Carousel#``(). -// documentation ```java\npublic Carousel(unresolved_type context)\n``` +// display_name +// signature_documentation java public Carousel(unresolved_type context) +// kind Constructor // ^^^^^^^ reference semanticdb maven . . Context# // ^^^^^^^ definition local 3 -// documentation ```java\nunresolved_type context\n``` +// display_name context +// signature_documentation java unresolved_type context +// enclosing_symbol semanticdb maven . . com/airbnb/epoxy/Carousel#``(). super(context); // ^^^^^^^ reference local 3 } public Carousel(Context context, @Nullable AttributeSet attrs) { // ^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/Carousel#``(+1). -// documentation ```java\npublic Carousel(unresolved_type context, unresolved_type attrs)\n``` +// display_name +// signature_documentation java public Carousel(unresolved_type context, unresolved_type attrs) +// kind Constructor // ^^^^^^^ reference semanticdb maven . . Context# // ^^^^^^^ definition local 4 -// documentation ```java\nunresolved_type context\n``` +// display_name context +// signature_documentation java unresolved_type context +// enclosing_symbol semanticdb maven . . com/airbnb/epoxy/Carousel#``(+1). // ^^^^^^^^ reference semanticdb maven maven/androidx.annotation/annotation 1.1.0 androidx/annotation/Nullable# // ^^^^^^^^^^^^ reference semanticdb maven . . AttributeSet# // ^^^^^ definition local 5 -// documentation ```java\n@Nullable\nunresolved_type attrs\n``` +// display_name attrs +// signature_documentation java @Nullable\nunresolved_type attrs +// enclosing_symbol semanticdb maven . . com/airbnb/epoxy/Carousel#``(+1). super(context, attrs); // ^^^^^^^ reference local 4 // ^^^^^ reference local 5 @@ -182,16 +207,24 @@ public Carousel(Context context, @Nullable AttributeSet attrs) { public Carousel(Context context, @Nullable AttributeSet attrs, int defStyle) { // ^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/Carousel#``(+2). -// documentation ```java\npublic Carousel(unresolved_type context, unresolved_type attrs, int defStyle)\n``` +// display_name +// signature_documentation java public Carousel(unresolved_type context, unresolved_type attrs, int defStyle) +// kind Constructor // ^^^^^^^ reference semanticdb maven . . Context# // ^^^^^^^ definition local 6 -// documentation ```java\nunresolved_type context\n``` +// display_name context +// signature_documentation java unresolved_type context +// enclosing_symbol semanticdb maven . . com/airbnb/epoxy/Carousel#``(+2). // ^^^^^^^^ reference semanticdb maven maven/androidx.annotation/annotation 1.1.0 androidx/annotation/Nullable# // ^^^^^^^^^^^^ reference semanticdb maven . . AttributeSet# // ^^^^^ definition local 7 -// documentation ```java\n@Nullable\nunresolved_type attrs\n``` +// display_name attrs +// signature_documentation java @Nullable\nunresolved_type attrs +// enclosing_symbol semanticdb maven . . com/airbnb/epoxy/Carousel#``(+2). // ^^^^^^^^ definition local 8 -// documentation ```java\nint defStyle\n``` +// display_name defStyle +// signature_documentation java int defStyle +// enclosing_symbol semanticdb maven . . com/airbnb/epoxy/Carousel#``(+2). super(context, attrs, defStyle); // ^^^^^^^ reference local 6 // ^^^^^ reference local 7 @@ -202,14 +235,19 @@ public Carousel(Context context, @Nullable AttributeSet attrs, int defStyle) { // ^^^^^^^^ reference semanticdb maven jdk 11 java/lang/Override# protected void init() { // ^^^^ definition semanticdb maven . . com/airbnb/epoxy/Carousel#init(). -// documentation ```java\n@Override\nprotected void init()\n``` +// display_name init +// signature_documentation java @Override\nprotected void init() +// kind Method super.init(); // ^^^^^ reference semanticdb maven . . super# // ^^^^ reference semanticdb maven . . super#init# // When used as a model the padding can't be set via xml so we set it programmatically int defaultSpacingDp = getDefaultSpacingBetweenItemsDp(); // ^^^^^^^^^^^^^^^^ definition local 9 -// documentation ```java\nint defaultSpacingDp\n``` +// display_name defaultSpacingDp +// signature_documentation java int defaultSpacingDp +// enclosing_symbol semanticdb maven . . com/airbnb/epoxy/Carousel#init(). +// kind Variable // ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/Carousel#getDefaultSpacingBetweenItemsDp(). if (defaultSpacingDp >= 0) { @@ -236,7 +274,10 @@ && getPaddingBottom() == 0) { SnapHelperFactory snapHelperFactory = getSnapHelperFactory(); // ^^^^^^^^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/Carousel#SnapHelperFactory# // ^^^^^^^^^^^^^^^^^ definition local 10 -// documentation ```java\nSnapHelperFactory snapHelperFactory\n``` +// display_name snapHelperFactory +// signature_documentation java SnapHelperFactory snapHelperFactory +// enclosing_symbol semanticdb maven . . com/airbnb/epoxy/Carousel#init(). +// kind Variable // ^^^^^^^^^^^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/Carousel#getSnapHelperFactory(). if (snapHelperFactory != null) { // ^^^^^^^^^^^^^^^^^ reference local 10 @@ -262,7 +303,9 @@ && getPaddingBottom() == 0) { protected SnapHelperFactory getSnapHelperFactory() { // ^^^^^^^^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/Carousel#SnapHelperFactory# // ^^^^^^^^^^^^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/Carousel#getSnapHelperFactory(). -// documentation ```java\n@Nullable\nprotected SnapHelperFactory getSnapHelperFactory()\n``` +// display_name getSnapHelperFactory +// signature_documentation java @Nullable\nprotected SnapHelperFactory getSnapHelperFactory() +// kind Method // documentation Return a {@link SnapHelperFactory} instance to use with this Carousel. The {@link SnapHelper}\n created by the factory will be attached to this Carousel on view creation. Return null for no\n snap helper to be attached automatically.\n return defaultGlobalSnapHelperFactory; // ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/Carousel#defaultGlobalSnapHelperFactory. @@ -278,12 +321,16 @@ protected SnapHelperFactory getSnapHelperFactory() { */ public static void setDefaultGlobalSnapHelperFactory(@Nullable SnapHelperFactory factory) { // ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/Carousel#setDefaultGlobalSnapHelperFactory(). -// documentation ```java\npublic static void setDefaultGlobalSnapHelperFactory(SnapHelperFactory factory)\n``` +// display_name setDefaultGlobalSnapHelperFactory +// signature_documentation java public static void setDefaultGlobalSnapHelperFactory(SnapHelperFactory factory) +// kind StaticMethod // documentation Set a {@link SnapHelperFactory} instance to use with all Carousels by default. The {@link\n SnapHelper} created by the factory will be attached to each Carousel on view creation. Set null\n for no snap helper to be attached automatically.\n\n

A Carousel subclass can implement {@link #getSnapHelperFactory()} to override the global\n default.\n // ^^^^^^^^ reference semanticdb maven maven/androidx.annotation/annotation 1.1.0 androidx/annotation/Nullable# // ^^^^^^^^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/Carousel#SnapHelperFactory# // ^^^^^^^ definition local 11 -// documentation ```java\n@Nullable\nSnapHelperFactory factory\n``` +// display_name factory +// signature_documentation java @Nullable\nSnapHelperFactory factory +// enclosing_symbol semanticdb maven . . com/airbnb/epoxy/Carousel#setDefaultGlobalSnapHelperFactory(). defaultGlobalSnapHelperFactory = factory; // ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/Carousel#defaultGlobalSnapHelperFactory. // ^^^^^^^ reference local 11 @@ -295,9 +342,13 @@ public static void setDefaultGlobalSnapHelperFactory(@Nullable SnapHelperFactory // ^^^^^^^^ reference semanticdb maven jdk 11 java/lang/Override# public void setHasFixedSize(boolean hasFixedSize) { // ^^^^^^^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/Carousel#setHasFixedSize(). -// documentation ```java\n@ModelProp\n@Override\npublic void setHasFixedSize(boolean hasFixedSize)\n``` +// display_name setHasFixedSize +// signature_documentation java @ModelProp\n@Override\npublic void setHasFixedSize(boolean hasFixedSize) +// kind Method // ^^^^^^^^^^^^ definition local 12 -// documentation ```java\nboolean hasFixedSize\n``` +// display_name hasFixedSize +// signature_documentation java boolean hasFixedSize +// enclosing_symbol semanticdb maven . . com/airbnb/epoxy/Carousel#setHasFixedSize(). super.setHasFixedSize(hasFixedSize); // ^^^^^ reference semanticdb maven . . super# // ^^^^^^^^^^^^^^^ reference semanticdb maven . . super#setHasFixedSize# @@ -327,10 +378,14 @@ public void setHasFixedSize(boolean hasFixedSize) { // ^^^^^ reference semanticdb maven maven/com.airbnb.android/epoxy-annotations 4.3.1 com/airbnb/epoxy/ModelProp#group(). public void setNumViewsToShowOnScreen(float viewCount) { // ^^^^^^^^^^^^^^^^^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/Carousel#setNumViewsToShowOnScreen(). -// documentation ```java\n@ModelProp(group = "prefetch")\npublic void setNumViewsToShowOnScreen(float viewCount)\n``` +// display_name setNumViewsToShowOnScreen +// signature_documentation java @ModelProp(group = "prefetch")\npublic void setNumViewsToShowOnScreen(float viewCount) +// kind Method // documentation Set the number of views to show on screen in this carousel at a time, partial numbers are\n allowed.\n\n

This is useful where you want to easily control for the number of items on screen,\n regardless of screen size. For example, you could set this to 1.2f so that one view is shown in\n full and 20% of the next view "peeks" from the edge to indicate that there is more content to\n scroll to.\n\n

Another pattern is setting a different view count depending on whether the device is phone\n or tablet.\n\n

Additionally, if a LinearLayoutManager is used this value will be forwarded to {@link\n LinearLayoutManager#setInitialPrefetchItemCount(int)} as a performance optimization.\n\n

If you want to only change the prefetch count without changing the view size you can simply\n use {@link #setInitialPrefetchItemCount(int)}\n // ^^^^^^^^^ definition local 13 -// documentation ```java\nfloat viewCount\n``` +// display_name viewCount +// signature_documentation java float viewCount +// enclosing_symbol semanticdb maven . . com/airbnb/epoxy/Carousel#setNumViewsToShowOnScreen(). numViewsToShowOnScreen = viewCount; // ^^^^^^^^^^^^^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/Carousel#numViewsToShowOnScreen. // ^^^^^^^^^ reference local 13 @@ -346,7 +401,9 @@ public void setNumViewsToShowOnScreen(float viewCount) { */ public float getNumViewsToShowOnScreen() { // ^^^^^^^^^^^^^^^^^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/Carousel#getNumViewsToShowOnScreen(). -// documentation ```java\npublic float getNumViewsToShowOnScreen()\n``` +// display_name getNumViewsToShowOnScreen +// signature_documentation java public float getNumViewsToShowOnScreen() +// kind Method // documentation @return The number of views to show on screen in this carousel at a time.\n return numViewsToShowOnScreen; // ^^^^^^^^^^^^^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/Carousel#numViewsToShowOnScreen. @@ -364,10 +421,14 @@ public float getNumViewsToShowOnScreen() { // ^^^^^ reference semanticdb maven maven/com.airbnb.android/epoxy-annotations 4.3.1 com/airbnb/epoxy/ModelProp#group(). public void setInitialPrefetchItemCount(int numItemsToPrefetch) { // ^^^^^^^^^^^^^^^^^^^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/Carousel#setInitialPrefetchItemCount(). -// documentation ```java\n@ModelProp(group = "prefetch")\npublic void setInitialPrefetchItemCount(int numItemsToPrefetch)\n``` +// display_name setInitialPrefetchItemCount +// signature_documentation java @ModelProp(group = "prefetch")\npublic void setInitialPrefetchItemCount(int numItemsToPrefetch) +// kind Method // documentation If you are using a Linear or Grid layout manager you can use this to set the item prefetch\n count. Only use this if you are not using {@link #setNumViewsToShowOnScreen(float)}\n\n @see #setNumViewsToShowOnScreen(float)\n @see LinearLayoutManager#setInitialPrefetchItemCount(int)\n // ^^^^^^^^^^^^^^^^^^ definition local 14 -// documentation ```java\nint numItemsToPrefetch\n``` +// display_name numItemsToPrefetch +// signature_documentation java int numItemsToPrefetch +// enclosing_symbol semanticdb maven . . com/airbnb/epoxy/Carousel#setInitialPrefetchItemCount(). if (numItemsToPrefetch < 0) { // ^^^^^^^^^^^^^^^^^^ reference local 14 throw new IllegalStateException("numItemsToPrefetch must be greater than 0"); @@ -377,14 +438,20 @@ public void setInitialPrefetchItemCount(int numItemsToPrefetch) { // Use the linearlayoutmanager default of 2 if the user did not specify one int prefetchCount = numItemsToPrefetch == 0 ? 2 : numItemsToPrefetch; // ^^^^^^^^^^^^^ definition local 15 -// documentation ```java\nint prefetchCount\n``` +// display_name prefetchCount +// signature_documentation java int prefetchCount +// enclosing_symbol semanticdb maven . . com/airbnb/epoxy/Carousel#setInitialPrefetchItemCount(). +// kind Variable // ^^^^^^^^^^^^^^^^^^ reference local 14 // ^^^^^^^^^^^^^^^^^^ reference local 14 LayoutManager layoutManager = getLayoutManager(); // ^^^^^^^^^^^^^ reference semanticdb maven . . LayoutManager# // ^^^^^^^^^^^^^ definition local 16 -// documentation ```java\nunresolved_type layoutManager\n``` +// display_name layoutManager +// signature_documentation java unresolved_type layoutManager +// enclosing_symbol semanticdb maven . . com/airbnb/epoxy/Carousel#setInitialPrefetchItemCount(). +// kind Variable // ^^^^^^^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/Carousel#getLayoutManager# if (layoutManager instanceof LinearLayoutManager) { // ^^^^^^^^^^^^^ reference local 16 @@ -401,17 +468,24 @@ public void setInitialPrefetchItemCount(int numItemsToPrefetch) { // ^^^^^^^^ reference semanticdb maven jdk 11 java/lang/Override# public void onChildAttachedToWindow(View child) { // ^^^^^^^^^^^^^^^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/Carousel#onChildAttachedToWindow(). -// documentation ```java\n@Override\npublic void onChildAttachedToWindow(unresolved_type child)\n``` +// display_name onChildAttachedToWindow +// signature_documentation java @Override\npublic void onChildAttachedToWindow(unresolved_type child) +// kind Method // ^^^^ reference semanticdb maven . . View# // ^^^^^ definition local 17 -// documentation ```java\nunresolved_type child\n``` +// display_name child +// signature_documentation java unresolved_type child +// enclosing_symbol semanticdb maven . . com/airbnb/epoxy/Carousel#onChildAttachedToWindow(). if (numViewsToShowOnScreen > 0) { // ^^^^^^^^^^^^^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/Carousel#numViewsToShowOnScreen. ViewGroup.LayoutParams childLayoutParams = child.getLayoutParams(); // ^^^^^^^^^ reference semanticdb maven . . ViewGroup/ // ^^^^^^^^^^^^ reference semanticdb maven . . ViewGroup/LayoutParams# // ^^^^^^^^^^^^^^^^^ definition local 18 -// documentation ```java\nunresolved_type childLayoutParams\n``` +// display_name childLayoutParams +// signature_documentation java unresolved_type childLayoutParams +// enclosing_symbol semanticdb maven . . com/airbnb/epoxy/Carousel#onChildAttachedToWindow(). +// kind Variable // ^^^^^ reference local 17 // ^^^^^^^^^^^^^^^ reference semanticdb maven . . View#getLayoutParams# child.setTag(R.id.epoxy_recycler_view_child_initial_size_id, childLayoutParams.width); @@ -425,12 +499,18 @@ public void onChildAttachedToWindow(View child) { int itemSpacingPx = getSpacingDecorator().getPxBetweenItems(); // ^^^^^^^^^^^^^ definition local 19 -// documentation ```java\nint itemSpacingPx\n``` +// display_name itemSpacingPx +// signature_documentation java int itemSpacingPx +// enclosing_symbol semanticdb maven . . com/airbnb/epoxy/Carousel#onChildAttachedToWindow(). +// kind Variable // ^^^^^^^^^^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/Carousel#getSpacingDecorator# // ^^^^^^^^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/Carousel#getSpacingDecorator#getPxBetweenItems# int spaceBetweenItems = 0; // ^^^^^^^^^^^^^^^^^ definition local 20 -// documentation ```java\nint spaceBetweenItems\n``` +// display_name spaceBetweenItems +// signature_documentation java int spaceBetweenItems +// enclosing_symbol semanticdb maven . . com/airbnb/epoxy/Carousel#onChildAttachedToWindow(). +// kind Variable if (itemSpacingPx > 0) { // ^^^^^^^^^^^^^ reference local 19 // The item decoration space is not counted in the width of the view @@ -442,12 +522,18 @@ public void onChildAttachedToWindow(View child) { boolean isScrollingHorizontally = getLayoutManager().canScrollHorizontally(); // ^^^^^^^^^^^^^^^^^^^^^^^ definition local 21 -// documentation ```java\nboolean isScrollingHorizontally\n``` +// display_name isScrollingHorizontally +// signature_documentation java boolean isScrollingHorizontally +// enclosing_symbol semanticdb maven . . com/airbnb/epoxy/Carousel#onChildAttachedToWindow(). +// kind Variable // ^^^^^^^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/Carousel#getLayoutManager# // ^^^^^^^^^^^^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/Carousel#getLayoutManager#canScrollHorizontally# int itemSizeInScrollingDirection = // ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ definition local 22 -// documentation ```java\nint itemSizeInScrollingDirection\n``` +// display_name itemSizeInScrollingDirection +// signature_documentation java int itemSizeInScrollingDirection +// enclosing_symbol semanticdb maven . . com/airbnb/epoxy/Carousel#onChildAttachedToWindow(). +// kind Variable (int) ((getSpaceForChildren(isScrollingHorizontally) - spaceBetweenItems) // ^^^^^^^^^^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/Carousel#getSpaceForChildren(). @@ -475,9 +561,13 @@ public void onChildAttachedToWindow(View child) { private int getSpaceForChildren(boolean horizontal) { // ^^^^^^^^^^^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/Carousel#getSpaceForChildren(). -// documentation ```java\nprivate int getSpaceForChildren(boolean horizontal)\n``` +// display_name getSpaceForChildren +// signature_documentation java private int getSpaceForChildren(boolean horizontal) +// kind Method // ^^^^^^^^^^ definition local 23 -// documentation ```java\nboolean horizontal\n``` +// display_name horizontal +// signature_documentation java boolean horizontal +// enclosing_symbol semanticdb maven . . com/airbnb/epoxy/Carousel#getSpaceForChildren(). if (horizontal) { // ^^^^^^^^^^ reference local 23 return getTotalWidthPx(this) @@ -505,10 +595,14 @@ private int getSpaceForChildren(boolean horizontal) { // ^^ reference semanticdb maven maven/androidx.annotation/annotation 1.1.0 androidx/annotation/Px# private static int getTotalWidthPx(View view) { // ^^^^^^^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/Carousel#getTotalWidthPx(). -// documentation ```java\n@Px\nprivate static int getTotalWidthPx(unresolved_type view)\n``` +// display_name getTotalWidthPx +// signature_documentation java @Px\nprivate static int getTotalWidthPx(unresolved_type view) +// kind StaticMethod // ^^^^ reference semanticdb maven . . View# // ^^^^ definition local 24 -// documentation ```java\nunresolved_type view\n``` +// display_name view +// signature_documentation java unresolved_type view +// enclosing_symbol semanticdb maven . . com/airbnb/epoxy/Carousel#getTotalWidthPx(). if (view.getWidth() > 0) { // ^^^^ reference local 24 // ^^^^^^^^ reference semanticdb maven . . View#getWidth# @@ -530,7 +624,10 @@ private static int getTotalWidthPx(View view) { DisplayMetrics metrics = view.getContext().getResources().getDisplayMetrics(); // ^^^^^^^^^^^^^^ reference semanticdb maven . . DisplayMetrics# // ^^^^^^^ definition local 25 -// documentation ```java\nunresolved_type metrics\n``` +// display_name metrics +// signature_documentation java unresolved_type metrics +// enclosing_symbol semanticdb maven . . com/airbnb/epoxy/Carousel#getTotalWidthPx(). +// kind Variable // ^^^^ reference local 24 // ^^^^^^^^^^ reference semanticdb maven . . View#getContext# // ^^^^^^^^^^^^ reference semanticdb maven . . View#getContext#getResources# @@ -544,10 +641,14 @@ private static int getTotalWidthPx(View view) { // ^^ reference semanticdb maven maven/androidx.annotation/annotation 1.1.0 androidx/annotation/Px# private static int getTotalHeightPx(View view) { // ^^^^^^^^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/Carousel#getTotalHeightPx(). -// documentation ```java\n@Px\nprivate static int getTotalHeightPx(unresolved_type view)\n``` +// display_name getTotalHeightPx +// signature_documentation java @Px\nprivate static int getTotalHeightPx(unresolved_type view) +// kind StaticMethod // ^^^^ reference semanticdb maven . . View# // ^^^^ definition local 26 -// documentation ```java\nunresolved_type view\n``` +// display_name view +// signature_documentation java unresolved_type view +// enclosing_symbol semanticdb maven . . com/airbnb/epoxy/Carousel#getTotalHeightPx(). if (view.getHeight() > 0) { // ^^^^ reference local 26 // ^^^^^^^^^ reference semanticdb maven . . View#getHeight# @@ -568,7 +669,10 @@ private static int getTotalHeightPx(View view) { DisplayMetrics metrics = view.getContext().getResources().getDisplayMetrics(); // ^^^^^^^^^^^^^^ reference semanticdb maven . . DisplayMetrics# // ^^^^^^^ definition local 27 -// documentation ```java\nunresolved_type metrics\n``` +// display_name metrics +// signature_documentation java unresolved_type metrics +// enclosing_symbol semanticdb maven . . com/airbnb/epoxy/Carousel#getTotalHeightPx(). +// kind Variable // ^^^^ reference local 26 // ^^^^^^^^^^ reference semanticdb maven . . View#getContext# // ^^^^^^^^^^^^ reference semanticdb maven . . View#getContext#getResources# @@ -582,15 +686,22 @@ private static int getTotalHeightPx(View view) { // ^^^^^^^^ reference semanticdb maven jdk 11 java/lang/Override# public void onChildDetachedFromWindow(View child) { // ^^^^^^^^^^^^^^^^^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/Carousel#onChildDetachedFromWindow(). -// documentation ```java\n@Override\npublic void onChildDetachedFromWindow(unresolved_type child)\n``` +// display_name onChildDetachedFromWindow +// signature_documentation java @Override\npublic void onChildDetachedFromWindow(unresolved_type child) +// kind Method // ^^^^ reference semanticdb maven . . View# // ^^^^^ definition local 28 -// documentation ```java\nunresolved_type child\n``` +// display_name child +// signature_documentation java unresolved_type child +// enclosing_symbol semanticdb maven . . com/airbnb/epoxy/Carousel#onChildDetachedFromWindow(). // Restore the view width that existed before we modified it Object initialWidth = child.getTag(R.id.epoxy_recycler_view_child_initial_size_id); // ^^^^^^ reference semanticdb maven jdk 11 java/lang/Object# // ^^^^^^^^^^^^ definition local 29 -// documentation ```java\nObject initialWidth\n``` +// display_name initialWidth +// signature_documentation java Object initialWidth +// enclosing_symbol semanticdb maven . . com/airbnb/epoxy/Carousel#onChildDetachedFromWindow(). +// kind Variable // ^^^^^ reference local 28 // ^^^^^^ reference semanticdb maven . . View#getTag# // ^ reference semanticdb maven . . R/ @@ -604,7 +715,10 @@ public void onChildDetachedFromWindow(View child) { // ^^^^^^^^^ reference semanticdb maven . . ViewGroup/ // ^^^^^^^^^^^^ reference semanticdb maven . . ViewGroup/LayoutParams# // ^^^^^^ definition local 30 -// documentation ```java\nunresolved_type params\n``` +// display_name params +// signature_documentation java unresolved_type params +// enclosing_symbol semanticdb maven . . com/airbnb/epoxy/Carousel#onChildDetachedFromWindow(). +// kind Variable // ^^^^^ reference local 28 // ^^^^^^^^^^^^^^^ reference semanticdb maven . . View#getLayoutParams# params.width = (int) initialWidth; @@ -627,14 +741,18 @@ public void onChildDetachedFromWindow(View child) { */ public static void setDefaultItemSpacingDp(@Dimension(unit = Dimension.DP) int dp) { // ^^^^^^^^^^^^^^^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/Carousel#setDefaultItemSpacingDp(). -// documentation ```java\npublic static void setDefaultItemSpacingDp(int dp)\n``` +// display_name setDefaultItemSpacingDp +// signature_documentation java public static void setDefaultItemSpacingDp(int dp) +// kind StaticMethod // documentation Set a global default to use as the item spacing for all Carousels. Set to 0 for no item\n spacing.\n // ^^^^^^^^^ reference semanticdb maven maven/androidx.annotation/annotation 1.1.0 androidx/annotation/Dimension# // ^^^^ reference semanticdb maven maven/androidx.annotation/annotation 1.1.0 androidx/annotation/Dimension#unit(). // ^^^^^^^^^ reference semanticdb maven maven/androidx.annotation/annotation 1.1.0 androidx/annotation/Dimension# // ^^ reference semanticdb maven maven/androidx.annotation/annotation 1.1.0 androidx/annotation/Dimension#DP. // ^^ definition local 31 -// documentation ```java\n@Dimension(unit = Dimension.DP)\nint dp\n``` +// display_name dp +// signature_documentation java @Dimension(unit = Dimension.DP)\nint dp +// enclosing_symbol semanticdb maven . . com/airbnb/epoxy/Carousel#setDefaultItemSpacingDp(). defaultSpacingBetweenItemsDp = dp; // ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/Carousel#defaultSpacingBetweenItemsDp. // ^^ reference local 31 @@ -653,7 +771,9 @@ public static void setDefaultItemSpacingDp(@Dimension(unit = Dimension.DP) int d // ^^ reference semanticdb maven maven/androidx.annotation/annotation 1.1.0 androidx/annotation/Dimension#DP. protected int getDefaultSpacingBetweenItemsDp() { // ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/Carousel#getDefaultSpacingBetweenItemsDp(). -// documentation ```java\n@Dimension(unit = Dimension.DP)\nprotected int getDefaultSpacingBetweenItemsDp()\n``` +// display_name getDefaultSpacingBetweenItemsDp +// signature_documentation java @Dimension(unit = Dimension.DP)\nprotected int getDefaultSpacingBetweenItemsDp() +// kind Method // documentation Return the item spacing to use in this carousel, or 0 for no spacing.\n\n

By default this uses the global default set in {@link #setDefaultItemSpacingDp(int)}, but\n subclasses can override this to specify their own value.\n return defaultSpacingBetweenItemsDp; // ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/Carousel#defaultSpacingBetweenItemsDp. @@ -668,14 +788,21 @@ protected int getDefaultSpacingBetweenItemsDp() { // ^^^^^ reference semanticdb maven maven/com.airbnb.android/epoxy-annotations 4.3.1 com/airbnb/epoxy/ModelProp#group(). public void setPaddingRes(@DimenRes int paddingRes) { // ^^^^^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/Carousel#setPaddingRes(). -// documentation ```java\n@ModelProp(group = "padding")\npublic void setPaddingRes(int paddingRes)\n``` +// display_name setPaddingRes +// signature_documentation java @ModelProp(group = "padding")\npublic void setPaddingRes(int paddingRes) +// kind Method // documentation Set a dimension resource to specify the padding value to use on each side of the carousel and\n in between carousel items.\n // ^^^^^^^^ reference semanticdb maven maven/androidx.annotation/annotation 1.1.0 androidx/annotation/DimenRes# // ^^^^^^^^^^ definition local 32 -// documentation ```java\n@DimenRes\nint paddingRes\n``` +// display_name paddingRes +// signature_documentation java @DimenRes\nint paddingRes +// enclosing_symbol semanticdb maven . . com/airbnb/epoxy/Carousel#setPaddingRes(). int px = resToPx(paddingRes); // ^^ definition local 33 -// documentation ```java\nint px\n``` +// display_name px +// signature_documentation java int px +// enclosing_symbol semanticdb maven . . com/airbnb/epoxy/Carousel#setPaddingRes(). +// kind Variable // ^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/Carousel#resToPx# // ^^^^^^^^^^ reference local 32 setPadding(px, px, px, px); @@ -701,17 +828,24 @@ public void setPaddingRes(@DimenRes int paddingRes) { // ^^^^^ reference semanticdb maven maven/com.airbnb.android/epoxy-annotations 4.3.1 com/airbnb/epoxy/ModelProp#group(). public void setPaddingDp(@Dimension(unit = Dimension.DP) int paddingDp) { // ^^^^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/Carousel#setPaddingDp(). -// documentation ```java\n@ModelProp(defaultValue = "NO_VALUE_SET", group = "padding")\npublic void setPaddingDp(int paddingDp)\n``` +// display_name setPaddingDp +// signature_documentation java @ModelProp(defaultValue = "NO_VALUE_SET", group = "padding")\npublic void setPaddingDp(int paddingDp) +// kind Method // documentation Set a DP value to use as the padding on each side of the carousel and in between carousel\n items.\n\n

The default as the value returned by {@link #getDefaultSpacingBetweenItemsDp()}\n // ^^^^^^^^^ reference semanticdb maven maven/androidx.annotation/annotation 1.1.0 androidx/annotation/Dimension# // ^^^^ reference semanticdb maven maven/androidx.annotation/annotation 1.1.0 androidx/annotation/Dimension#unit(). // ^^^^^^^^^ reference semanticdb maven maven/androidx.annotation/annotation 1.1.0 androidx/annotation/Dimension# // ^^ reference semanticdb maven maven/androidx.annotation/annotation 1.1.0 androidx/annotation/Dimension#DP. // ^^^^^^^^^ definition local 34 -// documentation ```java\n@Dimension(unit = Dimension.DP)\nint paddingDp\n``` +// display_name paddingDp +// signature_documentation java @Dimension(unit = Dimension.DP)\nint paddingDp +// enclosing_symbol semanticdb maven . . com/airbnb/epoxy/Carousel#setPaddingDp(). int px = dpToPx(paddingDp != NO_VALUE_SET ? paddingDp : getDefaultSpacingBetweenItemsDp()); // ^^ definition local 35 -// documentation ```java\nint px\n``` +// display_name px +// signature_documentation java int px +// enclosing_symbol semanticdb maven . . com/airbnb/epoxy/Carousel#setPaddingDp(). +// kind Variable // ^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/Carousel#dpToPx# // ^^^^^^^^^ reference local 34 // ^^^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/Carousel#NO_VALUE_SET. @@ -739,12 +873,16 @@ public void setPaddingDp(@Dimension(unit = Dimension.DP) int paddingDp) { // ^^^^^ reference semanticdb maven maven/com.airbnb.android/epoxy-annotations 4.3.1 com/airbnb/epoxy/ModelProp#group(). public void setPadding(@Nullable Padding padding) { // ^^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/Carousel#setPadding(). -// documentation ```java\n@ModelProp(group = "padding")\npublic void setPadding(Padding padding)\n``` +// display_name setPadding +// signature_documentation java @ModelProp(group = "padding")\npublic void setPadding(Padding padding) +// kind Method // documentation Use the {@link Padding} class to specify individual padding values for each side of the\n carousel, as well as item spacing.\n\n

A value of null will set all padding and item spacing to 0.\n // ^^^^^^^^ reference semanticdb maven maven/androidx.annotation/annotation 1.1.0 androidx/annotation/Nullable# // ^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/Carousel#Padding# // ^^^^^^^ definition local 36 -// documentation ```java\n@Nullable\nPadding padding\n``` +// display_name padding +// signature_documentation java @Nullable\nPadding padding +// enclosing_symbol semanticdb maven . . com/airbnb/epoxy/Carousel#setPadding(). if (padding == null) { // ^^^^^^^ reference local 36 setPaddingDp(0); @@ -834,47 +972,68 @@ public void setPadding(@Nullable Padding padding) { */ public static class Padding { // ^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/Carousel#Padding# -// documentation ```java\npublic static class Padding\n``` +// display_name Padding +// signature_documentation java public static class Padding +// kind Class // documentation Used to specify individual padding values programmatically.\n\n @see #setPadding(Padding)\n public final int left; // ^^^^ definition semanticdb maven . . com/airbnb/epoxy/Carousel#Padding#left. -// documentation ```java\npublic final int left\n``` +// display_name left +// signature_documentation java public final int left +// kind Field public final int top; // ^^^ definition semanticdb maven . . com/airbnb/epoxy/Carousel#Padding#top. -// documentation ```java\npublic final int top\n``` +// display_name top +// signature_documentation java public final int top +// kind Field public final int right; // ^^^^^ definition semanticdb maven . . com/airbnb/epoxy/Carousel#Padding#right. -// documentation ```java\npublic final int right\n``` +// display_name right +// signature_documentation java public final int right +// kind Field public final int bottom; // ^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/Carousel#Padding#bottom. -// documentation ```java\npublic final int bottom\n``` +// display_name bottom +// signature_documentation java public final int bottom +// kind Field public final int itemSpacing; // ^^^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/Carousel#Padding#itemSpacing. -// documentation ```java\npublic final int itemSpacing\n``` +// display_name itemSpacing +// signature_documentation java public final int itemSpacing +// kind Field public final PaddingType paddingType; // ^^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/Carousel#Padding#PaddingType# // ^^^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/Carousel#Padding#paddingType. -// documentation ```java\npublic final PaddingType paddingType\n``` +// display_name paddingType +// signature_documentation java public final PaddingType paddingType +// kind Field enum PaddingType { // ^^^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/Carousel#Padding#PaddingType# -// documentation ```java\nenum PaddingType\n``` +// display_name PaddingType +// signature_documentation java enum PaddingType +// kind Enum // relationship is_implementation semanticdb maven jdk 11 java/io/Serializable# // relationship is_implementation semanticdb maven jdk 11 java/lang/Comparable# // relationship is_implementation semanticdb maven jdk 11 java/lang/Enum# // ^^^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/Carousel#Padding#PaddingType#``(). -// documentation ```java\nprivate PaddingType()\n``` +// display_name +// signature_documentation java private PaddingType() +// kind Constructor PX, // ^^ definition semanticdb maven . . com/airbnb/epoxy/Carousel#Padding#PaddingType#PX. -// documentation ```java\nPaddingType.PX /* ordinal 0 */\n``` +// display_name PX +// signature_documentation java PaddingType.PX /* ordinal 0 */ // ^^ reference semanticdb maven . . com/airbnb/epoxy/Carousel#Padding#PaddingType#``(). DP, // ^^ definition semanticdb maven . . com/airbnb/epoxy/Carousel#Padding#PaddingType#DP. -// documentation ```java\nPaddingType.DP /* ordinal 1 */\n``` +// display_name DP +// signature_documentation java PaddingType.DP /* ordinal 1 */ // ^^ reference semanticdb maven . . com/airbnb/epoxy/Carousel#Padding#PaddingType#``(). RESOURCE // ^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/Carousel#Padding#PaddingType#RESOURCE. -// documentation ```java\nPaddingType.RESOURCE /* ordinal 2 */\n``` +// display_name RESOURCE +// signature_documentation java PaddingType.RESOURCE /* ordinal 2 */ // ^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/Carousel#Padding#PaddingType#``(). } @@ -886,14 +1045,20 @@ enum PaddingType { public static Padding resource(@DimenRes int paddingRes, @DimenRes int itemSpacingRes) { // ^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/Carousel#Padding# // ^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/Carousel#Padding#resource(). -// documentation ```java\npublic static Padding resource(int paddingRes, int itemSpacingRes)\n``` +// display_name resource +// signature_documentation java public static Padding resource(int paddingRes, int itemSpacingRes) +// kind StaticMethod // documentation @param paddingRes Padding as dimension resource.\n @param itemSpacingRes Space as dimension resource to add between each carousel item. Will be\n implemented via an item decoration.\n // ^^^^^^^^ reference semanticdb maven maven/androidx.annotation/annotation 1.1.0 androidx/annotation/DimenRes# // ^^^^^^^^^^ definition local 37 -// documentation ```java\n@DimenRes\nint paddingRes\n``` +// display_name paddingRes +// signature_documentation java @DimenRes\nint paddingRes +// enclosing_symbol semanticdb maven . . com/airbnb/epoxy/Carousel#Padding#resource(). // ^^^^^^^^ reference semanticdb maven maven/androidx.annotation/annotation 1.1.0 androidx/annotation/DimenRes# // ^^^^^^^^^^^^^^ definition local 38 -// documentation ```java\n@DimenRes\nint itemSpacingRes\n``` +// display_name itemSpacingRes +// signature_documentation java @DimenRes\nint itemSpacingRes +// enclosing_symbol semanticdb maven . . com/airbnb/epoxy/Carousel#Padding#resource(). return new Padding( // ^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/Carousel#Padding#``(+2). paddingRes, paddingRes, paddingRes, paddingRes, itemSpacingRes, PaddingType.RESOURCE); @@ -917,28 +1082,40 @@ public static Padding resource(@DimenRes int paddingRes, @DimenRes int itemSpaci public static Padding resource( // ^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/Carousel#Padding# // ^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/Carousel#Padding#resource(+1). -// documentation ```java\npublic static Padding resource(int leftRes, int topRes, int rightRes, int bottomRes, int itemSpacingRes)\n``` +// display_name resource +// signature_documentation java public static Padding resource(int leftRes, int topRes, int rightRes, int bottomRes, int itemSpacingRes) +// kind StaticMethod // documentation @param leftRes Left padding as dimension resource.\n @param topRes Top padding as dimension resource.\n @param rightRes Right padding as dimension resource.\n @param bottomRes Bottom padding as dimension resource.\n @param itemSpacingRes Space as dimension resource to add between each carousel item. Will be\n implemented via an item decoration.\n @DimenRes int leftRes, // ^^^^^^^^ reference semanticdb maven maven/androidx.annotation/annotation 1.1.0 androidx/annotation/DimenRes# // ^^^^^^^ definition local 39 -// documentation ```java\n@DimenRes\nint leftRes\n``` +// display_name leftRes +// signature_documentation java @DimenRes\nint leftRes +// enclosing_symbol semanticdb maven . . com/airbnb/epoxy/Carousel#Padding#resource(+1). @DimenRes int topRes, // ^^^^^^^^ reference semanticdb maven maven/androidx.annotation/annotation 1.1.0 androidx/annotation/DimenRes# // ^^^^^^ definition local 40 -// documentation ```java\n@DimenRes\nint topRes\n``` +// display_name topRes +// signature_documentation java @DimenRes\nint topRes +// enclosing_symbol semanticdb maven . . com/airbnb/epoxy/Carousel#Padding#resource(+1). @DimenRes int rightRes, // ^^^^^^^^ reference semanticdb maven maven/androidx.annotation/annotation 1.1.0 androidx/annotation/DimenRes# // ^^^^^^^^ definition local 41 -// documentation ```java\n@DimenRes\nint rightRes\n``` +// display_name rightRes +// signature_documentation java @DimenRes\nint rightRes +// enclosing_symbol semanticdb maven . . com/airbnb/epoxy/Carousel#Padding#resource(+1). @DimenRes int bottomRes, // ^^^^^^^^ reference semanticdb maven maven/androidx.annotation/annotation 1.1.0 androidx/annotation/DimenRes# // ^^^^^^^^^ definition local 42 -// documentation ```java\n@DimenRes\nint bottomRes\n``` +// display_name bottomRes +// signature_documentation java @DimenRes\nint bottomRes +// enclosing_symbol semanticdb maven . . com/airbnb/epoxy/Carousel#Padding#resource(+1). @DimenRes int itemSpacingRes) { // ^^^^^^^^ reference semanticdb maven maven/androidx.annotation/annotation 1.1.0 androidx/annotation/DimenRes# // ^^^^^^^^^^^^^^ definition local 43 -// documentation ```java\n@DimenRes\nint itemSpacingRes\n``` +// display_name itemSpacingRes +// signature_documentation java @DimenRes\nint itemSpacingRes +// enclosing_symbol semanticdb maven . . com/airbnb/epoxy/Carousel#Padding#resource(+1). return new Padding( // ^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/Carousel#Padding#``(+2). leftRes, topRes, rightRes, bottomRes, itemSpacingRes, PaddingType.RESOURCE); @@ -959,7 +1136,9 @@ public static Padding resource( public static Padding dp( // ^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/Carousel#Padding# // ^^ definition semanticdb maven . . com/airbnb/epoxy/Carousel#Padding#dp(). -// documentation ```java\npublic static Padding dp(int paddingDp, int itemSpacingDp)\n``` +// display_name dp +// signature_documentation java public static Padding dp(int paddingDp, int itemSpacingDp) +// kind StaticMethod // documentation @param paddingDp Padding in dp.\n @param itemSpacingDp Space in dp to add between each carousel item. Will be implemented via\n an item decoration.\n @Dimension(unit = Dimension.DP) int paddingDp, // ^^^^^^^^^ reference semanticdb maven maven/androidx.annotation/annotation 1.1.0 androidx/annotation/Dimension# @@ -967,14 +1146,18 @@ public static Padding dp( // ^^^^^^^^^ reference semanticdb maven maven/androidx.annotation/annotation 1.1.0 androidx/annotation/Dimension# // ^^ reference semanticdb maven maven/androidx.annotation/annotation 1.1.0 androidx/annotation/Dimension#DP. // ^^^^^^^^^ definition local 44 -// documentation ```java\n@Dimension(unit = Dimension.DP)\nint paddingDp\n``` +// display_name paddingDp +// signature_documentation java @Dimension(unit = Dimension.DP)\nint paddingDp +// enclosing_symbol semanticdb maven . . com/airbnb/epoxy/Carousel#Padding#dp(). @Dimension(unit = Dimension.DP) int itemSpacingDp) { // ^^^^^^^^^ reference semanticdb maven maven/androidx.annotation/annotation 1.1.0 androidx/annotation/Dimension# // ^^^^ reference semanticdb maven maven/androidx.annotation/annotation 1.1.0 androidx/annotation/Dimension#unit(). // ^^^^^^^^^ reference semanticdb maven maven/androidx.annotation/annotation 1.1.0 androidx/annotation/Dimension# // ^^ reference semanticdb maven maven/androidx.annotation/annotation 1.1.0 androidx/annotation/Dimension#DP. // ^^^^^^^^^^^^^ definition local 45 -// documentation ```java\n@Dimension(unit = Dimension.DP)\nint itemSpacingDp\n``` +// display_name itemSpacingDp +// signature_documentation java @Dimension(unit = Dimension.DP)\nint itemSpacingDp +// enclosing_symbol semanticdb maven . . com/airbnb/epoxy/Carousel#Padding#dp(). return new Padding(paddingDp, paddingDp, paddingDp, paddingDp, itemSpacingDp, PaddingType.DP); // ^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/Carousel#Padding#``(+2). // ^^^^^^^^^ reference local 44 @@ -997,7 +1180,9 @@ public static Padding dp( public static Padding dp( // ^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/Carousel#Padding# // ^^ definition semanticdb maven . . com/airbnb/epoxy/Carousel#Padding#dp(+1). -// documentation ```java\npublic static Padding dp(int leftDp, int topDp, int rightDp, int bottomDp, int itemSpacingDp)\n``` +// display_name dp +// signature_documentation java public static Padding dp(int leftDp, int topDp, int rightDp, int bottomDp, int itemSpacingDp) +// kind StaticMethod // documentation @param leftDp Left padding in dp.\n @param topDp Top padding in dp.\n @param rightDp Right padding in dp.\n @param bottomDp Bottom padding in dp.\n @param itemSpacingDp Space in dp to add between each carousel item. Will be implemented via\n an item decoration.\n @Dimension(unit = Dimension.DP) int leftDp, // ^^^^^^^^^ reference semanticdb maven maven/androidx.annotation/annotation 1.1.0 androidx/annotation/Dimension# @@ -1005,35 +1190,45 @@ public static Padding dp( // ^^^^^^^^^ reference semanticdb maven maven/androidx.annotation/annotation 1.1.0 androidx/annotation/Dimension# // ^^ reference semanticdb maven maven/androidx.annotation/annotation 1.1.0 androidx/annotation/Dimension#DP. // ^^^^^^ definition local 46 -// documentation ```java\n@Dimension(unit = Dimension.DP)\nint leftDp\n``` +// display_name leftDp +// signature_documentation java @Dimension(unit = Dimension.DP)\nint leftDp +// enclosing_symbol semanticdb maven . . com/airbnb/epoxy/Carousel#Padding#dp(+1). @Dimension(unit = Dimension.DP) int topDp, // ^^^^^^^^^ reference semanticdb maven maven/androidx.annotation/annotation 1.1.0 androidx/annotation/Dimension# // ^^^^ reference semanticdb maven maven/androidx.annotation/annotation 1.1.0 androidx/annotation/Dimension#unit(). // ^^^^^^^^^ reference semanticdb maven maven/androidx.annotation/annotation 1.1.0 androidx/annotation/Dimension# // ^^ reference semanticdb maven maven/androidx.annotation/annotation 1.1.0 androidx/annotation/Dimension#DP. // ^^^^^ definition local 47 -// documentation ```java\n@Dimension(unit = Dimension.DP)\nint topDp\n``` +// display_name topDp +// signature_documentation java @Dimension(unit = Dimension.DP)\nint topDp +// enclosing_symbol semanticdb maven . . com/airbnb/epoxy/Carousel#Padding#dp(+1). @Dimension(unit = Dimension.DP) int rightDp, // ^^^^^^^^^ reference semanticdb maven maven/androidx.annotation/annotation 1.1.0 androidx/annotation/Dimension# // ^^^^ reference semanticdb maven maven/androidx.annotation/annotation 1.1.0 androidx/annotation/Dimension#unit(). // ^^^^^^^^^ reference semanticdb maven maven/androidx.annotation/annotation 1.1.0 androidx/annotation/Dimension# // ^^ reference semanticdb maven maven/androidx.annotation/annotation 1.1.0 androidx/annotation/Dimension#DP. // ^^^^^^^ definition local 48 -// documentation ```java\n@Dimension(unit = Dimension.DP)\nint rightDp\n``` +// display_name rightDp +// signature_documentation java @Dimension(unit = Dimension.DP)\nint rightDp +// enclosing_symbol semanticdb maven . . com/airbnb/epoxy/Carousel#Padding#dp(+1). @Dimension(unit = Dimension.DP) int bottomDp, // ^^^^^^^^^ reference semanticdb maven maven/androidx.annotation/annotation 1.1.0 androidx/annotation/Dimension# // ^^^^ reference semanticdb maven maven/androidx.annotation/annotation 1.1.0 androidx/annotation/Dimension#unit(). // ^^^^^^^^^ reference semanticdb maven maven/androidx.annotation/annotation 1.1.0 androidx/annotation/Dimension# // ^^ reference semanticdb maven maven/androidx.annotation/annotation 1.1.0 androidx/annotation/Dimension#DP. // ^^^^^^^^ definition local 49 -// documentation ```java\n@Dimension(unit = Dimension.DP)\nint bottomDp\n``` +// display_name bottomDp +// signature_documentation java @Dimension(unit = Dimension.DP)\nint bottomDp +// enclosing_symbol semanticdb maven . . com/airbnb/epoxy/Carousel#Padding#dp(+1). @Dimension(unit = Dimension.DP) int itemSpacingDp) { // ^^^^^^^^^ reference semanticdb maven maven/androidx.annotation/annotation 1.1.0 androidx/annotation/Dimension# // ^^^^ reference semanticdb maven maven/androidx.annotation/annotation 1.1.0 androidx/annotation/Dimension#unit(). // ^^^^^^^^^ reference semanticdb maven maven/androidx.annotation/annotation 1.1.0 androidx/annotation/Dimension# // ^^ reference semanticdb maven maven/androidx.annotation/annotation 1.1.0 androidx/annotation/Dimension#DP. // ^^^^^^^^^^^^^ definition local 50 -// documentation ```java\n@Dimension(unit = Dimension.DP)\nint itemSpacingDp\n``` +// display_name itemSpacingDp +// signature_documentation java @Dimension(unit = Dimension.DP)\nint itemSpacingDp +// enclosing_symbol semanticdb maven . . com/airbnb/epoxy/Carousel#Padding#dp(+1). return new Padding(leftDp, topDp, rightDp, bottomDp, itemSpacingDp, PaddingType.DP); // ^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/Carousel#Padding#``(+2). // ^^^^^^ reference local 46 @@ -1052,14 +1247,20 @@ public static Padding dp( */ public Padding(@Px int paddingPx, @Px int itemSpacingPx) { // ^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/Carousel#Padding#``(). -// documentation ```java\npublic Padding(int paddingPx, int itemSpacingPx)\n``` +// display_name +// signature_documentation java public Padding(int paddingPx, int itemSpacingPx) +// kind Constructor // documentation @param paddingPx Padding in pixels to add on all sides of the carousel\n @param itemSpacingPx Space in pixels to add between each carousel item. Will be implemented\n via an item decoration.\n // ^^ reference semanticdb maven maven/androidx.annotation/annotation 1.1.0 androidx/annotation/Px# // ^^^^^^^^^ definition local 51 -// documentation ```java\n@Px\nint paddingPx\n``` +// display_name paddingPx +// signature_documentation java @Px\nint paddingPx +// enclosing_symbol semanticdb maven . . com/airbnb/epoxy/Carousel#Padding#``(). // ^^ reference semanticdb maven maven/androidx.annotation/annotation 1.1.0 androidx/annotation/Px# // ^^^^^^^^^^^^^ definition local 52 -// documentation ```java\n@Px\nint itemSpacingPx\n``` +// display_name itemSpacingPx +// signature_documentation java @Px\nint itemSpacingPx +// enclosing_symbol semanticdb maven . . com/airbnb/epoxy/Carousel#Padding#``(). this(paddingPx, paddingPx, paddingPx, paddingPx, itemSpacingPx, PaddingType.PX); // ^^^^ reference semanticdb maven . . com/airbnb/epoxy/Carousel#Padding#``(+2). // ^^^^^^^^^ reference local 51 @@ -1081,24 +1282,36 @@ public Padding(@Px int paddingPx, @Px int itemSpacingPx) { */ public Padding( // ^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/Carousel#Padding#``(+1). -// documentation ```java\npublic Padding(int leftPx, int topPx, int rightPx, int bottomPx, int itemSpacingPx)\n``` +// display_name +// signature_documentation java public Padding(int leftPx, int topPx, int rightPx, int bottomPx, int itemSpacingPx) +// kind Constructor // documentation @param leftPx Left padding in pixels.\n @param topPx Top padding in pixels.\n @param rightPx Right padding in pixels.\n @param bottomPx Bottom padding in pixels.\n @param itemSpacingPx Space in pixels to add between each carousel item. Will be implemented\n via an item decoration.\n @Px int leftPx, @Px int topPx, @Px int rightPx, @Px int bottomPx, @Px int itemSpacingPx) { // ^^ reference semanticdb maven maven/androidx.annotation/annotation 1.1.0 androidx/annotation/Px# // ^^^^^^ definition local 53 -// documentation ```java\n@Px\nint leftPx\n``` +// display_name leftPx +// signature_documentation java @Px\nint leftPx +// enclosing_symbol semanticdb maven . . com/airbnb/epoxy/Carousel#Padding#``(+1). // ^^ reference semanticdb maven maven/androidx.annotation/annotation 1.1.0 androidx/annotation/Px# // ^^^^^ definition local 54 -// documentation ```java\n@Px\nint topPx\n``` +// display_name topPx +// signature_documentation java @Px\nint topPx +// enclosing_symbol semanticdb maven . . com/airbnb/epoxy/Carousel#Padding#``(+1). // ^^ reference semanticdb maven maven/androidx.annotation/annotation 1.1.0 androidx/annotation/Px# // ^^^^^^^ definition local 55 -// documentation ```java\n@Px\nint rightPx\n``` +// display_name rightPx +// signature_documentation java @Px\nint rightPx +// enclosing_symbol semanticdb maven . . com/airbnb/epoxy/Carousel#Padding#``(+1). // ^^ reference semanticdb maven maven/androidx.annotation/annotation 1.1.0 androidx/annotation/Px# // ^^^^^^^^ definition local 56 -// documentation ```java\n@Px\nint bottomPx\n``` +// display_name bottomPx +// signature_documentation java @Px\nint bottomPx +// enclosing_symbol semanticdb maven . . com/airbnb/epoxy/Carousel#Padding#``(+1). // ^^ reference semanticdb maven maven/androidx.annotation/annotation 1.1.0 androidx/annotation/Px# // ^^^^^^^^^^^^^ definition local 57 -// documentation ```java\n@Px\nint itemSpacingPx\n``` +// display_name itemSpacingPx +// signature_documentation java @Px\nint itemSpacingPx +// enclosing_symbol semanticdb maven . . com/airbnb/epoxy/Carousel#Padding#``(+1). this(leftPx, topPx, rightPx, bottomPx, itemSpacingPx, PaddingType.PX); // ^^^^ reference semanticdb maven . . com/airbnb/epoxy/Carousel#Padding#``(+2). // ^^^^^^ reference local 53 @@ -1121,22 +1334,36 @@ public Padding( */ private Padding( // ^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/Carousel#Padding#``(+2). -// documentation ```java\nprivate Padding(int left, int top, int right, int bottom, int itemSpacing, PaddingType paddingType)\n``` +// display_name +// signature_documentation java private Padding(int left, int top, int right, int bottom, int itemSpacing, PaddingType paddingType) +// kind Constructor // documentation @param left Left padding.\n @param top Top padding.\n @param right Right padding.\n @param bottom Bottom padding.\n @param itemSpacing Space to add between each carousel item. Will be implemented via an item\n decoration.\n @param paddingType Unit / Type of the given paddings/ itemspacing.\n int left, int top, int right, int bottom, int itemSpacing, PaddingType paddingType) { // ^^^^ definition local 58 -// documentation ```java\nint left\n``` +// display_name left +// signature_documentation java int left +// enclosing_symbol semanticdb maven . . com/airbnb/epoxy/Carousel#Padding#``(+2). // ^^^ definition local 59 -// documentation ```java\nint top\n``` +// display_name top +// signature_documentation java int top +// enclosing_symbol semanticdb maven . . com/airbnb/epoxy/Carousel#Padding#``(+2). // ^^^^^ definition local 60 -// documentation ```java\nint right\n``` +// display_name right +// signature_documentation java int right +// enclosing_symbol semanticdb maven . . com/airbnb/epoxy/Carousel#Padding#``(+2). // ^^^^^^ definition local 61 -// documentation ```java\nint bottom\n``` +// display_name bottom +// signature_documentation java int bottom +// enclosing_symbol semanticdb maven . . com/airbnb/epoxy/Carousel#Padding#``(+2). // ^^^^^^^^^^^ definition local 62 -// documentation ```java\nint itemSpacing\n``` +// display_name itemSpacing +// signature_documentation java int itemSpacing +// enclosing_symbol semanticdb maven . . com/airbnb/epoxy/Carousel#Padding#``(+2). // ^^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/Carousel#Padding#PaddingType# // ^^^^^^^^^^^ definition local 63 -// documentation ```java\nPaddingType paddingType\n``` +// display_name paddingType +// signature_documentation java PaddingType paddingType +// enclosing_symbol semanticdb maven . . com/airbnb/epoxy/Carousel#Padding#``(+2). this.left = left; // ^^^^ reference semanticdb maven . . com/airbnb/epoxy/Carousel#Padding#left. @@ -1162,11 +1389,15 @@ private Padding( // ^^^^^^^^ reference semanticdb maven jdk 11 java/lang/Override# public boolean equals(Object o) { // ^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/Carousel#Padding#equals(). -// documentation ```java\n@Override\npublic boolean equals(Object o)\n``` +// display_name equals +// signature_documentation java @Override\npublic boolean equals(Object o) +// kind Method // relationship is_reference is_implementation semanticdb maven jdk 11 java/lang/Object#equals(). // ^^^^^^ reference semanticdb maven jdk 11 java/lang/Object# // ^ definition local 64 -// documentation ```java\nObject o\n``` +// display_name o +// signature_documentation java Object o +// enclosing_symbol semanticdb maven . . com/airbnb/epoxy/Carousel#Padding#equals(). if (this == o) { // ^ reference local 64 return true; @@ -1182,7 +1413,10 @@ public boolean equals(Object o) { Padding padding = (Padding) o; // ^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/Carousel#Padding# // ^^^^^^^ definition local 65 -// documentation ```java\nPadding padding\n``` +// display_name padding +// signature_documentation java Padding padding +// enclosing_symbol semanticdb maven . . com/airbnb/epoxy/Carousel#Padding#equals(). +// kind Variable // ^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/Carousel#Padding# // ^ reference local 64 @@ -1220,11 +1454,16 @@ public boolean equals(Object o) { // ^^^^^^^^ reference semanticdb maven jdk 11 java/lang/Override# public int hashCode() { // ^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/Carousel#Padding#hashCode(). -// documentation ```java\n@Override\npublic int hashCode()\n``` +// display_name hashCode +// signature_documentation java @Override\npublic int hashCode() +// kind Method // relationship is_reference is_implementation semanticdb maven jdk 11 java/lang/Object#hashCode(). int result = left; // ^^^^^^ definition local 66 -// documentation ```java\nint result\n``` +// display_name result +// signature_documentation java int result +// enclosing_symbol semanticdb maven . . com/airbnb/epoxy/Carousel#Padding#hashCode(). +// kind Variable // ^^^^ reference semanticdb maven . . com/airbnb/epoxy/Carousel#Padding#left. result = 31 * result + top; // ^^^^^^ reference local 66 @@ -1251,12 +1490,16 @@ public int hashCode() { // ^^^^^^^^^ reference semanticdb maven maven/com.airbnb.android/epoxy-annotations 4.3.1 com/airbnb/epoxy/ModelProp# public void setModels(@NonNull List> models) { // ^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/Carousel#setModels(). -// documentation ```java\n@ModelProp\npublic void setModels(List> models)\n``` +// display_name setModels +// signature_documentation java @ModelProp\npublic void setModels(List> models) +// kind Method // ^^^^^^^ reference semanticdb maven maven/androidx.annotation/annotation 1.1.0 androidx/annotation/NonNull# // ^^^^ reference semanticdb maven jdk 11 java/util/List# // ^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/EpoxyModel# // ^^^^^^ definition local 67 -// documentation ```java\n@NonNull\nList> models\n``` +// display_name models +// signature_documentation java @NonNull\nList> models +// enclosing_symbol semanticdb maven . . com/airbnb/epoxy/Carousel#setModels(). super.setModels(models); // ^^^^^ reference semanticdb maven . . super# // ^^^^^^^^^ reference semanticdb maven . . super#setModels# @@ -1267,7 +1510,9 @@ public void setModels(@NonNull List> models) { // ^^^^^^^^^^^^^^ reference semanticdb maven maven/com.airbnb.android/epoxy-annotations 4.3.1 com/airbnb/epoxy/OnViewRecycled# public void clear() { // ^^^^^ definition semanticdb maven . . com/airbnb/epoxy/Carousel#clear(). -// documentation ```java\n@OnViewRecycled\npublic void clear()\n``` +// display_name clear +// signature_documentation java @OnViewRecycled\npublic void clear() +// kind Method super.clear(); // ^^^^^ reference semanticdb maven . . super# // ^^^^^ reference semanticdb maven . . super#clear# @@ -1276,10 +1521,14 @@ public void clear() { /** Provide a SnapHelper implementation you want to use with a Carousel. */ public abstract static class SnapHelperFactory { // ^^^^^^^^^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/Carousel#SnapHelperFactory# -// documentation ```java\npublic abstract static class SnapHelperFactory\n``` +// display_name SnapHelperFactory +// signature_documentation java public abstract static class SnapHelperFactory +// kind Class // documentation Provide a SnapHelper implementation you want to use with a Carousel. // ^^^^^^^^^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/Carousel#SnapHelperFactory#``(). -// documentation ```java\npublic SnapHelperFactory()\n``` +// display_name +// signature_documentation java public SnapHelperFactory() +// kind Constructor /** * Create and return a new instance of a {@link androidx.recyclerview.widget.SnapHelper} for use * with a Carousel. @@ -1289,10 +1538,14 @@ public abstract static class SnapHelperFactory { public abstract SnapHelper buildSnapHelper(Context context); // ^^^^^^^^^^ reference semanticdb maven . . SnapHelper# // ^^^^^^^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/Carousel#SnapHelperFactory#buildSnapHelper(). -// documentation ```java\n@NonNull\npublic abstract unresolved_type buildSnapHelper(unresolved_type context)\n``` +// display_name buildSnapHelper +// signature_documentation java @NonNull\npublic abstract unresolved_type buildSnapHelper(unresolved_type context) +// kind AbstractMethod // documentation Create and return a new instance of a {@link androidx.recyclerview.widget.SnapHelper} for use\n with a Carousel.\n // ^^^^^^^ reference semanticdb maven . . Context# // ^^^^^^^ definition local 68 -// documentation ```java\nunresolved_type context\n``` +// display_name context +// signature_documentation java unresolved_type context +// enclosing_symbol semanticdb maven . . com/airbnb/epoxy/Carousel#SnapHelperFactory#buildSnapHelper(). } } diff --git a/tests/snapshots/src/main/generated/com/airbnb/epoxy/ControllerHelper.java b/tests/snapshots/src/main/generated/com/airbnb/epoxy/ControllerHelper.java index 8feb8824b..b82bb679f 100644 --- a/tests/snapshots/src/main/generated/com/airbnb/epoxy/ControllerHelper.java +++ b/tests/snapshots/src/main/generated/com/airbnb/epoxy/ControllerHelper.java @@ -12,36 +12,54 @@ */ public abstract class ControllerHelper { // ^^^^^^^^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/ControllerHelper# -// documentation ```java\npublic abstract class ControllerHelper\n``` +// display_name ControllerHelper +// signature_documentation java public abstract class ControllerHelper +// kind Class // documentation A helper class for {@link EpoxyController} to handle {@link\n com.airbnb.epoxy.AutoModel} models. This is only implemented by the generated classes created the\n annotation processor.\n // ^^^^^^^^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/ControllerHelper#``(). -// documentation ```java\npublic ControllerHelper()\n``` +// display_name +// signature_documentation java public ControllerHelper() +// kind Constructor // ^ definition semanticdb maven . . com/airbnb/epoxy/ControllerHelper#[T] -// documentation ```java\nT extends EpoxyController\n``` +// display_name T +// signature_documentation java T extends EpoxyController +// kind TypeParameter // ^^^^^^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/EpoxyController# public abstract void resetAutoModels(); // ^^^^^^^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/ControllerHelper#resetAutoModels(). -// documentation ```java\npublic abstract void resetAutoModels()\n``` +// display_name resetAutoModels +// signature_documentation java public abstract void resetAutoModels() +// kind AbstractMethod // relationship is_reference is_implementation semanticdb maven . . com/airbnb/epoxy/NoOpControllerHelper#resetAutoModels(). protected void validateModelHashCodesHaveNotChanged(T controller) { // ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/ControllerHelper#validateModelHashCodesHaveNotChanged(). -// documentation ```java\nprotected void validateModelHashCodesHaveNotChanged(T controller)\n``` +// display_name validateModelHashCodesHaveNotChanged +// signature_documentation java protected void validateModelHashCodesHaveNotChanged(T controller) +// kind Method // ^ reference semanticdb maven . . com/airbnb/epoxy/ControllerHelper#[T] // ^^^^^^^^^^ definition local 0 -// documentation ```java\nT controller\n``` +// display_name controller +// signature_documentation java T controller +// enclosing_symbol semanticdb maven . . com/airbnb/epoxy/ControllerHelper#validateModelHashCodesHaveNotChanged(). List> currentModels = controller.getAdapter().getCopyOfModels(); // ^^^^ reference semanticdb maven jdk 11 java/util/List# // ^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/EpoxyModel# // ^^^^^^^^^^^^^ definition local 1 -// documentation ```java\nList> currentModels\n``` +// display_name currentModels +// signature_documentation java List> currentModels +// enclosing_symbol semanticdb maven . . com/airbnb/epoxy/ControllerHelper#validateModelHashCodesHaveNotChanged(). +// kind Variable // ^^^^^^^^^^ reference local 0 // ^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/EpoxyController#getAdapter(). // ^^^^^^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/EpoxyControllerAdapter#getCopyOfModels(). for (int i = 0; i < currentModels.size(); i++) { // ^ definition local 2 -// documentation ```java\nint i\n``` +// display_name i +// signature_documentation java int i +// enclosing_symbol semanticdb maven . . com/airbnb/epoxy/ControllerHelper#validateModelHashCodesHaveNotChanged(). +// kind Variable // ^ reference local 2 // ^^^^^^^^^^^^^ reference local 1 // ^^^^ reference semanticdb maven jdk 11 java/util/List#size(). @@ -49,7 +67,10 @@ protected void validateModelHashCodesHaveNotChanged(T controller) { EpoxyModel model = currentModels.get(i); // ^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/EpoxyModel# // ^^^^^ definition local 3 -// documentation ```java\nEpoxyModel model\n``` +// display_name model +// signature_documentation java EpoxyModel model +// enclosing_symbol semanticdb maven . . com/airbnb/epoxy/ControllerHelper#validateModelHashCodesHaveNotChanged(). +// kind Variable // ^^^^^^^^^^^^^ reference local 1 // ^^^ reference semanticdb maven jdk 11 java/util/List#get(). // ^ reference local 2 @@ -63,13 +84,19 @@ protected void validateModelHashCodesHaveNotChanged(T controller) { protected void setControllerToStageTo(EpoxyModel model, T controller) { // ^^^^^^^^^^^^^^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/ControllerHelper#setControllerToStageTo(). -// documentation ```java\nprotected void setControllerToStageTo(EpoxyModel model, T controller)\n``` +// display_name setControllerToStageTo +// signature_documentation java protected void setControllerToStageTo(EpoxyModel model, T controller) +// kind Method // ^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/EpoxyModel# // ^^^^^ definition local 4 -// documentation ```java\nEpoxyModel model\n``` +// display_name model +// signature_documentation java EpoxyModel model +// enclosing_symbol semanticdb maven . . com/airbnb/epoxy/ControllerHelper#setControllerToStageTo(). // ^ reference semanticdb maven . . com/airbnb/epoxy/ControllerHelper#[T] // ^^^^^^^^^^ definition local 5 -// documentation ```java\nT controller\n``` +// display_name controller +// signature_documentation java T controller +// enclosing_symbol semanticdb maven . . com/airbnb/epoxy/ControllerHelper#setControllerToStageTo(). model.controllerToStageTo = controller; // ^^^^^ reference local 4 // ^^^^^^^^^^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/EpoxyModel#controllerToStageTo. diff --git a/tests/snapshots/src/main/generated/com/airbnb/epoxy/ControllerHelperLookup.java b/tests/snapshots/src/main/generated/com/airbnb/epoxy/ControllerHelperLookup.java index 4dbcad820..143962a7b 100644 --- a/tests/snapshots/src/main/generated/com/airbnb/epoxy/ControllerHelperLookup.java +++ b/tests/snapshots/src/main/generated/com/airbnb/epoxy/ControllerHelperLookup.java @@ -31,38 +31,55 @@ */ class ControllerHelperLookup { // ^^^^^^^^^^^^^^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/ControllerHelperLookup# -// documentation ```java\nclass ControllerHelperLookup\n``` +// display_name ControllerHelperLookup +// signature_documentation java class ControllerHelperLookup +// kind Class // documentation Looks up a generated {@link ControllerHelper} implementation for a given adapter.\n If the adapter has no {@link com.airbnb.epoxy.AutoModel} models then a No-Op implementation will\n be returned.\n // ^^^^^^^^^^^^^^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/ControllerHelperLookup#``(). -// documentation ```java\nControllerHelperLookup()\n``` +// display_name +// signature_documentation java ControllerHelperLookup() +// kind Constructor private static final String GENERATED_HELPER_CLASS_SUFFIX = "_EpoxyHelper"; // ^^^^^^ reference semanticdb maven jdk 11 java/lang/String# // ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/ControllerHelperLookup#GENERATED_HELPER_CLASS_SUFFIX. -// documentation ```java\nprivate static final String GENERATED_HELPER_CLASS_SUFFIX\n``` +// display_name GENERATED_HELPER_CLASS_SUFFIX +// signature_documentation java private static final String GENERATED_HELPER_CLASS_SUFFIX +// kind StaticField private static final Map, Constructor> BINDINGS = new LinkedHashMap<>(); // ^^^ reference semanticdb maven jdk 11 java/util/Map# // ^^^^^ reference semanticdb maven jdk 11 java/lang/Class# // ^^^^^^^^^^^ reference semanticdb maven jdk 11 java/lang/reflect/Constructor# // ^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/ControllerHelperLookup#BINDINGS. -// documentation ```java\nprivate static final Map, Constructor> BINDINGS\n``` +// display_name BINDINGS +// signature_documentation java private static final Map, Constructor> BINDINGS +// kind StaticField // ^^^^^^^^^^^^^ reference semanticdb maven jdk 11 java/util/LinkedHashMap#``(+2). private static final NoOpControllerHelper NO_OP_CONTROLLER_HELPER = new NoOpControllerHelper(); // ^^^^^^^^^^^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/NoOpControllerHelper# // ^^^^^^^^^^^^^^^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/ControllerHelperLookup#NO_OP_CONTROLLER_HELPER. -// documentation ```java\nprivate static final NoOpControllerHelper NO_OP_CONTROLLER_HELPER\n``` +// display_name NO_OP_CONTROLLER_HELPER +// signature_documentation java private static final NoOpControllerHelper NO_OP_CONTROLLER_HELPER +// kind StaticField // ^^^^^^^^^^^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/NoOpControllerHelper#``(). static ControllerHelper getHelperForController(EpoxyController controller) { // ^^^^^^^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/ControllerHelper# // ^^^^^^^^^^^^^^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/ControllerHelperLookup#getHelperForController(). -// documentation ```java\nstatic ControllerHelper getHelperForController(EpoxyController controller)\n``` +// display_name getHelperForController +// signature_documentation java static ControllerHelper getHelperForController(EpoxyController controller) +// kind StaticMethod // ^^^^^^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/EpoxyController# // ^^^^^^^^^^ definition local 0 -// documentation ```java\nEpoxyController controller\n``` +// display_name controller +// signature_documentation java EpoxyController controller +// enclosing_symbol semanticdb maven . . com/airbnb/epoxy/ControllerHelperLookup#getHelperForController(). Constructor constructor = findConstructorForClass(controller.getClass()); // ^^^^^^^^^^^ reference semanticdb maven jdk 11 java/lang/reflect/Constructor# // ^^^^^^^^^^^ definition local 1 -// documentation ```java\nConstructor constructor\n``` +// display_name constructor +// signature_documentation java Constructor constructor +// enclosing_symbol semanticdb maven . . com/airbnb/epoxy/ControllerHelperLookup#getHelperForController(). +// kind Variable // ^^^^^^^^^^^^^^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/ControllerHelperLookup#findConstructorForClass(). // ^^^^^^^^^^ reference local 0 // ^^^^^^^^ reference semanticdb maven jdk 11 java/lang/Object#getClass(). @@ -81,7 +98,9 @@ static ControllerHelper getHelperForController(EpoxyController controller) { } catch (IllegalAccessException e) { // ^^^^^^^^^^^^^^^^^^^^^^ reference semanticdb maven jdk 11 java/lang/IllegalAccessException# // ^ definition local 2 -// documentation ```java\nIllegalAccessException e\n``` +// display_name e +// signature_documentation java IllegalAccessException e +// enclosing_symbol semanticdb maven . . com/airbnb/epoxy/ControllerHelperLookup#getHelperForController(). throw new RuntimeException("Unable to invoke " + constructor, e); // ^^^^^^^^^^^^^^^^ reference semanticdb maven jdk 11 java/lang/RuntimeException#``(+2). // ^^^^^^^^^^^ reference local 1 @@ -89,7 +108,9 @@ static ControllerHelper getHelperForController(EpoxyController controller) { } catch (InstantiationException e) { // ^^^^^^^^^^^^^^^^^^^^^^ reference semanticdb maven jdk 11 java/lang/InstantiationException# // ^ definition local 3 -// documentation ```java\nInstantiationException e\n``` +// display_name e +// signature_documentation java InstantiationException e +// enclosing_symbol semanticdb maven . . com/airbnb/epoxy/ControllerHelperLookup#getHelperForController(). throw new RuntimeException("Unable to invoke " + constructor, e); // ^^^^^^^^^^^^^^^^ reference semanticdb maven jdk 11 java/lang/RuntimeException#``(+2). // ^^^^^^^^^^^ reference local 1 @@ -97,11 +118,16 @@ static ControllerHelper getHelperForController(EpoxyController controller) { } catch (InvocationTargetException e) { // ^^^^^^^^^^^^^^^^^^^^^^^^^ reference semanticdb maven jdk 11 java/lang/reflect/InvocationTargetException# // ^ definition local 4 -// documentation ```java\nInvocationTargetException e\n``` +// display_name e +// signature_documentation java InvocationTargetException e +// enclosing_symbol semanticdb maven . . com/airbnb/epoxy/ControllerHelperLookup#getHelperForController(). Throwable cause = e.getCause(); // ^^^^^^^^^ reference semanticdb maven jdk 11 java/lang/Throwable# // ^^^^^ definition local 5 -// documentation ```java\nThrowable cause\n``` +// display_name cause +// signature_documentation java Throwable cause +// enclosing_symbol semanticdb maven . . com/airbnb/epoxy/ControllerHelperLookup#getHelperForController(). +// kind Variable // ^ reference local 4 // ^^^^^^^^ reference semanticdb maven jdk 11 java/lang/reflect/InvocationTargetException#getCause(). if (cause instanceof RuntimeException) { @@ -129,14 +155,21 @@ static ControllerHelper getHelperForController(EpoxyController controller) { private static Constructor findConstructorForClass(Class controllerClass) { // ^^^^^^^^^^^ reference semanticdb maven jdk 11 java/lang/reflect/Constructor# // ^^^^^^^^^^^^^^^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/ControllerHelperLookup#findConstructorForClass(). -// documentation ```java\n@Nullable\nprivate static Constructor findConstructorForClass(Class controllerClass)\n``` +// display_name findConstructorForClass +// signature_documentation java @Nullable\nprivate static Constructor findConstructorForClass(Class controllerClass) +// kind StaticMethod // ^^^^^ reference semanticdb maven jdk 11 java/lang/Class# // ^^^^^^^^^^^^^^^ definition local 6 -// documentation ```java\nClass controllerClass\n``` +// display_name controllerClass +// signature_documentation java Class controllerClass +// enclosing_symbol semanticdb maven . . com/airbnb/epoxy/ControllerHelperLookup#findConstructorForClass(). Constructor helperCtor = BINDINGS.get(controllerClass); // ^^^^^^^^^^^ reference semanticdb maven jdk 11 java/lang/reflect/Constructor# // ^^^^^^^^^^ definition local 7 -// documentation ```java\nConstructor helperCtor\n``` +// display_name helperCtor +// signature_documentation java Constructor helperCtor +// enclosing_symbol semanticdb maven . . com/airbnb/epoxy/ControllerHelperLookup#findConstructorForClass(). +// kind Variable // ^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/ControllerHelperLookup#BINDINGS. // ^^^ reference semanticdb maven jdk 11 java/util/Map#get(). // ^^^^^^^^^^^^^^^ reference local 6 @@ -152,7 +185,10 @@ private static Constructor findConstructorForClass(Class controllerClass) String clsName = controllerClass.getName(); // ^^^^^^ reference semanticdb maven jdk 11 java/lang/String# // ^^^^^^^ definition local 8 -// documentation ```java\nString clsName\n``` +// display_name clsName +// signature_documentation java String clsName +// enclosing_symbol semanticdb maven . . com/airbnb/epoxy/ControllerHelperLookup#findConstructorForClass(). +// kind Variable // ^^^^^^^^^^^^^^^ reference local 6 // ^^^^^^^ reference semanticdb maven jdk 11 java/lang/Class#getName(). if (clsName.startsWith("android.") || clsName.startsWith("java.")) { @@ -167,7 +203,10 @@ private static Constructor findConstructorForClass(Class controllerClass) Class bindingClass = Class.forName(clsName + GENERATED_HELPER_CLASS_SUFFIX); // ^^^^^ reference semanticdb maven jdk 11 java/lang/Class# // ^^^^^^^^^^^^ definition local 9 -// documentation ```java\nClass bindingClass\n``` +// display_name bindingClass +// signature_documentation java Class bindingClass +// enclosing_symbol semanticdb maven . . com/airbnb/epoxy/ControllerHelperLookup#findConstructorForClass(). +// kind Variable // ^^^^^ reference semanticdb maven jdk 11 java/lang/Class# // ^^^^^^^ reference semanticdb maven jdk 11 java/lang/Class#forName(). // ^^^^^^^ reference local 8 @@ -181,7 +220,9 @@ private static Constructor findConstructorForClass(Class controllerClass) } catch (ClassNotFoundException e) { // ^^^^^^^^^^^^^^^^^^^^^^ reference semanticdb maven jdk 11 java/lang/ClassNotFoundException# // ^ definition local 10 -// documentation ```java\nClassNotFoundException e\n``` +// display_name e +// signature_documentation java ClassNotFoundException e +// enclosing_symbol semanticdb maven . . com/airbnb/epoxy/ControllerHelperLookup#findConstructorForClass(). helperCtor = findConstructorForClass(controllerClass.getSuperclass()); // ^^^^^^^^^^ reference local 7 // ^^^^^^^^^^^^^^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/ControllerHelperLookup#findConstructorForClass(). @@ -190,7 +231,9 @@ private static Constructor findConstructorForClass(Class controllerClass) } catch (NoSuchMethodException e) { // ^^^^^^^^^^^^^^^^^^^^^ reference semanticdb maven jdk 11 java/lang/NoSuchMethodException# // ^ definition local 11 -// documentation ```java\nNoSuchMethodException e\n``` +// display_name e +// signature_documentation java NoSuchMethodException e +// enclosing_symbol semanticdb maven . . com/airbnb/epoxy/ControllerHelperLookup#findConstructorForClass(). throw new RuntimeException("Unable to find Epoxy Helper constructor for " + clsName, e); // ^^^^^^^^^^^^^^^^ reference semanticdb maven jdk 11 java/lang/RuntimeException#``(+2). // ^^^^^^^ reference local 8 diff --git a/tests/snapshots/src/main/generated/com/airbnb/epoxy/ControllerModelList.java b/tests/snapshots/src/main/generated/com/airbnb/epoxy/ControllerModelList.java index 17a25d6ee..484de1852 100644 --- a/tests/snapshots/src/main/generated/com/airbnb/epoxy/ControllerModelList.java +++ b/tests/snapshots/src/main/generated/com/airbnb/epoxy/ControllerModelList.java @@ -9,7 +9,9 @@ */ class ControllerModelList extends ModelList { // ^^^^^^^^^^^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/ControllerModelList# -// documentation ```java\nclass ControllerModelList\n``` +// display_name ControllerModelList +// signature_documentation java class ControllerModelList +// kind Class // documentation This ArrayList subclass enforces that no changes are made to the list after {@link #freeze()} is\n called. This prevents model interceptors from storing the list and trying to change it later. We\n could copy the list before diffing, but that would waste memory to make the copy for every\n buildModels cycle, plus the interceptors could still try to modify the list and be confused about\n why it doesn't do anything.\n // relationship is_implementation semanticdb maven . . com/airbnb/epoxy/ModelList# // relationship is_implementation semanticdb maven jdk 11 java/io/Serializable# @@ -26,18 +28,27 @@ class ControllerModelList extends ModelList { private static final ModelListObserver OBSERVER = new ModelListObserver() { // ^^^^^^^^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/ModelList#ModelListObserver# // ^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/ControllerModelList#OBSERVER. -// documentation ```java\nprivate static final ModelListObserver OBSERVER\n``` +// display_name OBSERVER +// signature_documentation java private static final ModelListObserver OBSERVER +// kind StaticField // ^^^^^^^^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/ModelList#ModelListObserver# @Override // ^^^^^^^^ reference semanticdb maven jdk 11 java/lang/Override# public void onItemRangeInserted(int positionStart, int itemCount) { // ^^^^^^^^^^^^^^^^^^^ definition local 1 -// documentation ```java\n@Override\npublic void onItemRangeInserted(int positionStart, int itemCount)\n``` +// display_name onItemRangeInserted +// signature_documentation java @Override\npublic void onItemRangeInserted(int positionStart, int itemCount) +// enclosing_symbol local 0 +// kind Method // relationship is_reference is_implementation semanticdb maven . . com/airbnb/epoxy/ModelList#ModelListObserver#onItemRangeInserted(). // ^^^^^^^^^^^^^ definition local 2 -// documentation ```java\nint positionStart\n``` +// display_name positionStart +// signature_documentation java int positionStart +// enclosing_symbol local 1 // ^^^^^^^^^ definition local 3 -// documentation ```java\nint itemCount\n``` +// display_name itemCount +// signature_documentation java int itemCount +// enclosing_symbol local 1 throw new IllegalStateException( // ^^^^^^^^^^^^^^^^^^^^^ reference semanticdb maven jdk 11 java/lang/IllegalStateException#``(+1). "Models cannot be changed once they are added to the controller"); @@ -47,12 +58,19 @@ public void onItemRangeInserted(int positionStart, int itemCount) { // ^^^^^^^^ reference semanticdb maven jdk 11 java/lang/Override# public void onItemRangeRemoved(int positionStart, int itemCount) { // ^^^^^^^^^^^^^^^^^^ definition local 4 -// documentation ```java\n@Override\npublic void onItemRangeRemoved(int positionStart, int itemCount)\n``` +// display_name onItemRangeRemoved +// signature_documentation java @Override\npublic void onItemRangeRemoved(int positionStart, int itemCount) +// enclosing_symbol local 0 +// kind Method // relationship is_reference is_implementation semanticdb maven . . com/airbnb/epoxy/ModelList#ModelListObserver#onItemRangeRemoved(). // ^^^^^^^^^^^^^ definition local 5 -// documentation ```java\nint positionStart\n``` +// display_name positionStart +// signature_documentation java int positionStart +// enclosing_symbol local 4 // ^^^^^^^^^ definition local 6 -// documentation ```java\nint itemCount\n``` +// display_name itemCount +// signature_documentation java int itemCount +// enclosing_symbol local 4 throw new IllegalStateException( // ^^^^^^^^^^^^^^^^^^^^^ reference semanticdb maven jdk 11 java/lang/IllegalStateException#``(+1). "Models cannot be changed once they are added to the controller"); @@ -61,9 +79,13 @@ public void onItemRangeRemoved(int positionStart, int itemCount) { ControllerModelList(int expectedModelCount) { //^^^^^^^^^^^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/ControllerModelList#``(). -// documentation ```java\nControllerModelList(int expectedModelCount)\n``` +// display_name +// signature_documentation java ControllerModelList(int expectedModelCount) +// kind Constructor // ^^^^^^^^^^^^^^^^^^ definition local 7 -// documentation ```java\nint expectedModelCount\n``` +// display_name expectedModelCount +// signature_documentation java int expectedModelCount +// enclosing_symbol semanticdb maven . . com/airbnb/epoxy/ControllerModelList#``(). super(expectedModelCount); // ^^^^^ reference semanticdb maven . . com/airbnb/epoxy/ModelList#``(). // ^^^^^^^^^^^^^^^^^^ reference local 7 @@ -73,7 +95,9 @@ public void onItemRangeRemoved(int positionStart, int itemCount) { void freeze() { // ^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/ControllerModelList#freeze(). -// documentation ```java\nvoid freeze()\n``` +// display_name freeze +// signature_documentation java void freeze() +// kind Method setObserver(OBSERVER); // ^^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/ModelList#setObserver(). // ^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/ControllerModelList#OBSERVER. diff --git a/tests/snapshots/src/main/generated/com/airbnb/epoxy/DebugTimer.java b/tests/snapshots/src/main/generated/com/airbnb/epoxy/DebugTimer.java index bea3f61e7..bff53dc04 100644 --- a/tests/snapshots/src/main/generated/com/airbnb/epoxy/DebugTimer.java +++ b/tests/snapshots/src/main/generated/com/airbnb/epoxy/DebugTimer.java @@ -7,28 +7,40 @@ class DebugTimer implements Timer { // ^^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/DebugTimer# -// documentation ```java\nclass DebugTimer\n``` +// display_name DebugTimer +// signature_documentation java class DebugTimer +// kind Class // relationship is_implementation semanticdb maven . . com/airbnb/epoxy/Timer# // ^^^^^ reference semanticdb maven . . com/airbnb/epoxy/Timer# private final String tag; // ^^^^^^ reference semanticdb maven jdk 11 java/lang/String# // ^^^ definition semanticdb maven . . com/airbnb/epoxy/DebugTimer#tag. -// documentation ```java\nprivate final String tag\n``` +// display_name tag +// signature_documentation java private final String tag +// kind Field private long startTime; // ^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/DebugTimer#startTime. -// documentation ```java\nprivate long startTime\n``` +// display_name startTime +// signature_documentation java private long startTime +// kind Field private String sectionName; // ^^^^^^ reference semanticdb maven jdk 11 java/lang/String# // ^^^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/DebugTimer#sectionName. -// documentation ```java\nprivate String sectionName\n``` +// display_name sectionName +// signature_documentation java private String sectionName +// kind Field DebugTimer(String tag) { //^^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/DebugTimer#``(). -// documentation ```java\nDebugTimer(String tag)\n``` +// display_name +// signature_documentation java DebugTimer(String tag) +// kind Constructor // ^^^^^^ reference semanticdb maven jdk 11 java/lang/String# // ^^^ definition local 0 -// documentation ```java\nString tag\n``` +// display_name tag +// signature_documentation java String tag +// enclosing_symbol semanticdb maven . . com/airbnb/epoxy/DebugTimer#``(). this.tag = tag; // ^^^ reference semanticdb maven . . com/airbnb/epoxy/DebugTimer#tag. // ^^^ reference local 0 @@ -38,7 +50,9 @@ class DebugTimer implements Timer { private void reset() { // ^^^^^ definition semanticdb maven . . com/airbnb/epoxy/DebugTimer#reset(). -// documentation ```java\nprivate void reset()\n``` +// display_name reset +// signature_documentation java private void reset() +// kind Method startTime = -1; // ^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/DebugTimer#startTime. sectionName = null; @@ -49,11 +63,15 @@ private void reset() { // ^^^^^^^^ reference semanticdb maven jdk 11 java/lang/Override# public void start(String sectionName) { // ^^^^^ definition semanticdb maven . . com/airbnb/epoxy/DebugTimer#start(). -// documentation ```java\n@Override\npublic void start(String sectionName)\n``` +// display_name start +// signature_documentation java @Override\npublic void start(String sectionName) +// kind Method // relationship is_reference is_implementation semanticdb maven . . com/airbnb/epoxy/Timer#start(). // ^^^^^^ reference semanticdb maven jdk 11 java/lang/String# // ^^^^^^^^^^^ definition local 1 -// documentation ```java\nString sectionName\n``` +// display_name sectionName +// signature_documentation java String sectionName +// enclosing_symbol semanticdb maven . . com/airbnb/epoxy/DebugTimer#start(). if (startTime != -1) { // ^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/DebugTimer#startTime. throw new IllegalStateException("Timer was already started"); @@ -73,7 +91,9 @@ public void start(String sectionName) { // ^^^^^^^^ reference semanticdb maven jdk 11 java/lang/Override# public void stop() { // ^^^^ definition semanticdb maven . . com/airbnb/epoxy/DebugTimer#stop(). -// documentation ```java\n@Override\npublic void stop()\n``` +// display_name stop +// signature_documentation java @Override\npublic void stop() +// kind Method // relationship is_reference is_implementation semanticdb maven . . com/airbnb/epoxy/Timer#stop(). if (startTime == -1) { // ^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/DebugTimer#startTime. @@ -83,7 +103,10 @@ public void stop() { float durationMs = (System.nanoTime() - startTime) / 1000000f; // ^^^^^^^^^^ definition local 2 -// documentation ```java\nfloat durationMs\n``` +// display_name durationMs +// signature_documentation java float durationMs +// enclosing_symbol semanticdb maven . . com/airbnb/epoxy/DebugTimer#stop(). +// kind Variable // ^^^^^^ reference semanticdb maven jdk 11 java/lang/System# // ^^^^^^^^ reference semanticdb maven jdk 11 java/lang/System#nanoTime(). // ^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/DebugTimer#startTime. diff --git a/tests/snapshots/src/main/generated/com/airbnb/epoxy/DiffHelper.java b/tests/snapshots/src/main/generated/com/airbnb/epoxy/DiffHelper.java index 5d4383016..b1b588afd 100644 --- a/tests/snapshots/src/main/generated/com/airbnb/epoxy/DiffHelper.java +++ b/tests/snapshots/src/main/generated/com/airbnb/epoxy/DiffHelper.java @@ -37,13 +37,17 @@ */ class DiffHelper { // ^^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/DiffHelper# -// documentation ```java\nclass DiffHelper\n``` +// display_name DiffHelper +// signature_documentation java class DiffHelper +// kind Class // documentation Helper to track changes in the models list.\n private ArrayList oldStateList = new ArrayList<>(); // ^^^^^^^^^ reference semanticdb maven jdk 11 java/util/ArrayList# // ^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/ModelState# // ^^^^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/DiffHelper#oldStateList. -// documentation ```java\nprivate ArrayList oldStateList\n``` +// display_name oldStateList +// signature_documentation java private ArrayList oldStateList +// kind Field // ^^^^^^^^^ reference semanticdb maven jdk 11 java/util/ArrayList#``(+1). // Using a HashMap instead of a LongSparseArray to // have faster look up times at the expense of memory @@ -52,38 +56,54 @@ class DiffHelper { // ^^^^ reference semanticdb maven jdk 11 java/lang/Long# // ^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/ModelState# // ^^^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/DiffHelper#oldStateMap. -// documentation ```java\nprivate Map oldStateMap\n``` +// display_name oldStateMap +// signature_documentation java private Map oldStateMap +// kind Field // ^^^^^^^ reference semanticdb maven jdk 11 java/util/HashMap#``(+2). private ArrayList currentStateList = new ArrayList<>(); // ^^^^^^^^^ reference semanticdb maven jdk 11 java/util/ArrayList# // ^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/ModelState# // ^^^^^^^^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/DiffHelper#currentStateList. -// documentation ```java\nprivate ArrayList currentStateList\n``` +// display_name currentStateList +// signature_documentation java private ArrayList currentStateList +// kind Field // ^^^^^^^^^ reference semanticdb maven jdk 11 java/util/ArrayList#``(+1). private Map currentStateMap = new HashMap<>(); // ^^^ reference semanticdb maven jdk 11 java/util/Map# // ^^^^ reference semanticdb maven jdk 11 java/lang/Long# // ^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/ModelState# // ^^^^^^^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/DiffHelper#currentStateMap. -// documentation ```java\nprivate Map currentStateMap\n``` +// display_name currentStateMap +// signature_documentation java private Map currentStateMap +// kind Field // ^^^^^^^ reference semanticdb maven jdk 11 java/util/HashMap#``(+2). private final BaseEpoxyAdapter adapter; // ^^^^^^^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/BaseEpoxyAdapter# // ^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/DiffHelper#adapter. -// documentation ```java\nprivate final BaseEpoxyAdapter adapter\n``` +// display_name adapter +// signature_documentation java private final BaseEpoxyAdapter adapter +// kind Field private final boolean immutableModels; // ^^^^^^^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/DiffHelper#immutableModels. -// documentation ```java\nprivate final boolean immutableModels\n``` +// display_name immutableModels +// signature_documentation java private final boolean immutableModels +// kind Field DiffHelper(BaseEpoxyAdapter adapter, boolean immutableModels) { //^^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/DiffHelper#``(). -// documentation ```java\nDiffHelper(BaseEpoxyAdapter adapter, boolean immutableModels)\n``` +// display_name +// signature_documentation java DiffHelper(BaseEpoxyAdapter adapter, boolean immutableModels) +// kind Constructor // ^^^^^^^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/BaseEpoxyAdapter# // ^^^^^^^ definition local 0 -// documentation ```java\nBaseEpoxyAdapter adapter\n``` +// display_name adapter +// signature_documentation java BaseEpoxyAdapter adapter +// enclosing_symbol semanticdb maven . . com/airbnb/epoxy/DiffHelper#``(). // ^^^^^^^^^^^^^^^ definition local 1 -// documentation ```java\nboolean immutableModels\n``` +// display_name immutableModels +// signature_documentation java boolean immutableModels +// enclosing_symbol semanticdb maven . . com/airbnb/epoxy/DiffHelper#``(). this.adapter = adapter; // ^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/DiffHelper#adapter. // ^^^^^^^ reference local 0 @@ -100,7 +120,9 @@ class DiffHelper { // ^^^^^^^^^^^^ reference semanticdb maven . . RecyclerView/ // ^^^^^^^^^^^^^^^^^^^ reference semanticdb maven . . RecyclerView/AdapterDataObserver# // ^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/DiffHelper#observer. -// documentation ```java\nprivate final unresolved_type observer\n``` +// display_name observer +// signature_documentation java private final unresolved_type observer +// kind Field // ^^^^^^^^^^^^ reference semanticdb maven . . RecyclerView/ // ^^^^^^^^^^^^^^^^^^^ reference semanticdb maven . . RecyclerView/AdapterDataObserver# @Override @@ -201,12 +223,17 @@ public void onItemRangeMoved(int fromPosition, int toPosition, int itemCount) { */ void notifyModelChanges() { // ^^^^^^^^^^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/DiffHelper#notifyModelChanges(). -// documentation ```java\nvoid notifyModelChanges()\n``` +// display_name notifyModelChanges +// signature_documentation java void notifyModelChanges() +// kind Method // documentation Set the current list of models. The diff callbacks will be notified of the changes between the\n current list and the last list that was set.\n UpdateOpHelper updateOpHelper = new UpdateOpHelper(); // ^^^^^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/UpdateOpHelper# // ^^^^^^^^^^^^^^ definition local 2 -// documentation ```java\nUpdateOpHelper updateOpHelper\n``` +// display_name updateOpHelper +// signature_documentation java UpdateOpHelper updateOpHelper +// enclosing_symbol semanticdb maven . . com/airbnb/epoxy/DiffHelper#notifyModelChanges(). +// kind Variable // ^^^^^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/UpdateOpHelper#``(). buildDiff(updateOpHelper); @@ -230,14 +257,21 @@ void notifyModelChanges() { private void notifyChanges(UpdateOpHelper opHelper) { // ^^^^^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/DiffHelper#notifyChanges(). -// documentation ```java\nprivate void notifyChanges(UpdateOpHelper opHelper)\n``` +// display_name notifyChanges +// signature_documentation java private void notifyChanges(UpdateOpHelper opHelper) +// kind Method // ^^^^^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/UpdateOpHelper# // ^^^^^^^^ definition local 3 -// documentation ```java\nUpdateOpHelper opHelper\n``` +// display_name opHelper +// signature_documentation java UpdateOpHelper opHelper +// enclosing_symbol semanticdb maven . . com/airbnb/epoxy/DiffHelper#notifyChanges(). for (UpdateOp op : opHelper.opList) { // ^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/UpdateOp# // ^^ definition local 4 -// documentation ```java\nUpdateOp op\n``` +// display_name op +// signature_documentation java UpdateOp op +// enclosing_symbol semanticdb maven . . com/airbnb/epoxy/DiffHelper#notifyChanges(). +// kind Variable // ^^^^^^^^ reference local 3 // ^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/UpdateOpHelper#opList. switch (op.type) { @@ -320,11 +354,15 @@ private void notifyChanges(UpdateOpHelper opHelper) { private UpdateOpHelper buildDiff(UpdateOpHelper updateOpHelper) { // ^^^^^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/UpdateOpHelper# // ^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/DiffHelper#buildDiff(). -// documentation ```java\nprivate UpdateOpHelper buildDiff(UpdateOpHelper updateOpHelper)\n``` +// display_name buildDiff +// signature_documentation java private UpdateOpHelper buildDiff(UpdateOpHelper updateOpHelper) +// kind Method // documentation Create a list of operations that define the difference between {@link #oldStateList} and {@link\n #currentStateList}.\n // ^^^^^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/UpdateOpHelper# // ^^^^^^^^^^^^^^ definition local 5 -// documentation ```java\nUpdateOpHelper updateOpHelper\n``` +// display_name updateOpHelper +// signature_documentation java UpdateOpHelper updateOpHelper +// enclosing_symbol semanticdb maven . . com/airbnb/epoxy/DiffHelper#buildDiff(). prepareStateForDiff(); // ^^^^^^^^^^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/DiffHelper#prepareStateForDiff(). @@ -340,7 +378,10 @@ private UpdateOpHelper buildDiff(UpdateOpHelper updateOpHelper) { // Only need to check for insertions if new list is bigger boolean hasInsertions = // ^^^^^^^^^^^^^ definition local 6 -// documentation ```java\nboolean hasInsertions\n``` +// display_name hasInsertions +// signature_documentation java boolean hasInsertions +// enclosing_symbol semanticdb maven . . com/airbnb/epoxy/DiffHelper#buildDiff(). +// kind Variable oldStateList.size() - updateOpHelper.getNumRemovals() != currentStateList.size(); // ^^^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/DiffHelper#oldStateList. // ^^^^ reference semanticdb maven jdk 11 java/util/ArrayList#size(). @@ -371,7 +412,9 @@ private UpdateOpHelper buildDiff(UpdateOpHelper updateOpHelper) { private void resetOldState() { // ^^^^^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/DiffHelper#resetOldState(). -// documentation ```java\nprivate void resetOldState()\n``` +// display_name resetOldState +// signature_documentation java private void resetOldState() +// kind Method oldStateList.clear(); // ^^^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/DiffHelper#oldStateList. // ^^^^^ reference semanticdb maven jdk 11 java/util/ArrayList#clear(). @@ -382,7 +425,9 @@ private void resetOldState() { private void prepareStateForDiff() { // ^^^^^^^^^^^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/DiffHelper#prepareStateForDiff(). -// documentation ```java\nprivate void prepareStateForDiff()\n``` +// display_name prepareStateForDiff +// signature_documentation java private void prepareStateForDiff() +// kind Method // We use a list of the models as well as a map by their id, // so we can easily find them by both position and id @@ -398,7 +443,10 @@ private void prepareStateForDiff() { // ^^^^^^^^^ reference semanticdb maven jdk 11 java/util/ArrayList# // ^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/ModelState# // ^^^^^^^^ definition local 7 -// documentation ```java\nArrayList tempList\n``` +// display_name tempList +// signature_documentation java ArrayList tempList +// enclosing_symbol semanticdb maven . . com/airbnb/epoxy/DiffHelper#prepareStateForDiff(). +// kind Variable // ^^^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/DiffHelper#oldStateList. oldStateList = currentStateList; // ^^^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/DiffHelper#oldStateList. @@ -412,7 +460,10 @@ private void prepareStateForDiff() { // ^^^^ reference semanticdb maven jdk 11 java/lang/Long# // ^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/ModelState# // ^^^^^^^ definition local 8 -// documentation ```java\nMap tempMap\n``` +// display_name tempMap +// signature_documentation java Map tempMap +// enclosing_symbol semanticdb maven . . com/airbnb/epoxy/DiffHelper#prepareStateForDiff(). +// kind Variable // ^^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/DiffHelper#oldStateMap. oldStateMap = currentStateMap; // ^^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/DiffHelper#oldStateMap. @@ -426,7 +477,10 @@ private void prepareStateForDiff() { for (ModelState modelState : oldStateList) { // ^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/ModelState# // ^^^^^^^^^^ definition local 9 -// documentation ```java\nModelState modelState\n``` +// display_name modelState +// signature_documentation java ModelState modelState +// enclosing_symbol semanticdb maven . . com/airbnb/epoxy/DiffHelper#prepareStateForDiff(). +// kind Variable // ^^^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/DiffHelper#oldStateList. modelState.pair = null; // ^^^^^^^^^^ reference local 9 @@ -435,7 +489,10 @@ private void prepareStateForDiff() { int modelCount = adapter.getCurrentModels().size(); // ^^^^^^^^^^ definition local 10 -// documentation ```java\nint modelCount\n``` +// display_name modelCount +// signature_documentation java int modelCount +// enclosing_symbol semanticdb maven . . com/airbnb/epoxy/DiffHelper#prepareStateForDiff(). +// kind Variable // ^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/DiffHelper#adapter. // ^^^^^^^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/BaseEpoxyAdapter#getCurrentModels(). // ^^^^ reference semanticdb maven jdk 11 java/util/List#size(). @@ -446,7 +503,10 @@ private void prepareStateForDiff() { for (int i = 0; i < modelCount; i++) { // ^ definition local 11 -// documentation ```java\nint i\n``` +// display_name i +// signature_documentation java int i +// enclosing_symbol semanticdb maven . . com/airbnb/epoxy/DiffHelper#prepareStateForDiff(). +// kind Variable // ^ reference local 11 // ^^^^^^^^^^ reference local 10 // ^ reference local 11 @@ -461,13 +521,20 @@ private void prepareStateForDiff() { private ModelState createStateForPosition(int position) { // ^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/ModelState# // ^^^^^^^^^^^^^^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/DiffHelper#createStateForPosition(). -// documentation ```java\nprivate ModelState createStateForPosition(int position)\n``` +// display_name createStateForPosition +// signature_documentation java private ModelState createStateForPosition(int position) +// kind Method // ^^^^^^^^ definition local 12 -// documentation ```java\nint position\n``` +// display_name position +// signature_documentation java int position +// enclosing_symbol semanticdb maven . . com/airbnb/epoxy/DiffHelper#createStateForPosition(). EpoxyModel model = adapter.getCurrentModels().get(position); // ^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/EpoxyModel# // ^^^^^ definition local 13 -// documentation ```java\nEpoxyModel model\n``` +// display_name model +// signature_documentation java EpoxyModel model +// enclosing_symbol semanticdb maven . . com/airbnb/epoxy/DiffHelper#createStateForPosition(). +// kind Variable // ^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/DiffHelper#adapter. // ^^^^^^^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/BaseEpoxyAdapter#getCurrentModels(). // ^^^ reference semanticdb maven jdk 11 java/util/List#get(). @@ -478,7 +545,10 @@ private ModelState createStateForPosition(int position) { ModelState state = ModelState.build(model, position, immutableModels); // ^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/ModelState# // ^^^^^ definition local 14 -// documentation ```java\nModelState state\n``` +// display_name state +// signature_documentation java ModelState state +// enclosing_symbol semanticdb maven . . com/airbnb/epoxy/DiffHelper#createStateForPosition(). +// kind Variable // ^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/ModelState# // ^^^^^ reference semanticdb maven . . com/airbnb/epoxy/ModelState#build(). // ^^^^^ reference local 13 @@ -488,7 +558,10 @@ private ModelState createStateForPosition(int position) { ModelState previousValue = currentStateMap.put(state.id, state); // ^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/ModelState# // ^^^^^^^^^^^^^ definition local 15 -// documentation ```java\nModelState previousValue\n``` +// display_name previousValue +// signature_documentation java ModelState previousValue +// enclosing_symbol semanticdb maven . . com/airbnb/epoxy/DiffHelper#createStateForPosition(). +// kind Variable // ^^^^^^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/DiffHelper#currentStateMap. // ^^^ reference semanticdb maven jdk 11 java/util/Map#put(). // ^^^^^ reference local 14 @@ -498,13 +571,19 @@ private ModelState createStateForPosition(int position) { // ^^^^^^^^^^^^^ reference local 15 int previousPosition = previousValue.position; // ^^^^^^^^^^^^^^^^ definition local 16 -// documentation ```java\nint previousPosition\n``` +// display_name previousPosition +// signature_documentation java int previousPosition +// enclosing_symbol semanticdb maven . . com/airbnb/epoxy/DiffHelper#createStateForPosition(). +// kind Variable // ^^^^^^^^^^^^^ reference local 15 // ^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/ModelState#position. EpoxyModel previousModel = adapter.getCurrentModels().get(previousPosition); // ^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/EpoxyModel# // ^^^^^^^^^^^^^ definition local 17 -// documentation ```java\nEpoxyModel previousModel\n``` +// display_name previousModel +// signature_documentation java EpoxyModel previousModel +// enclosing_symbol semanticdb maven . . com/airbnb/epoxy/DiffHelper#createStateForPosition(). +// kind Variable // ^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/DiffHelper#adapter. // ^^^^^^^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/BaseEpoxyAdapter#getCurrentModels(). // ^^^ reference semanticdb maven jdk 11 java/util/List#get(). @@ -530,15 +609,22 @@ private ModelState createStateForPosition(int position) { */ private void collectRemovals(UpdateOpHelper helper) { // ^^^^^^^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/DiffHelper#collectRemovals(). -// documentation ```java\nprivate void collectRemovals(UpdateOpHelper helper)\n``` +// display_name collectRemovals +// signature_documentation java private void collectRemovals(UpdateOpHelper helper) +// kind Method // documentation Find all removal operations and add them to the result list. The general strategy here is to\n walk through the {@link #oldStateList} and check for items that don't exist in the new list.\n Walking through it in order makes it easy to batch adjacent removals.\n // ^^^^^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/UpdateOpHelper# // ^^^^^^ definition local 18 -// documentation ```java\nUpdateOpHelper helper\n``` +// display_name helper +// signature_documentation java UpdateOpHelper helper +// enclosing_symbol semanticdb maven . . com/airbnb/epoxy/DiffHelper#collectRemovals(). for (ModelState state : oldStateList) { // ^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/ModelState# // ^^^^^ definition local 19 -// documentation ```java\nModelState state\n``` +// display_name state +// signature_documentation java ModelState state +// enclosing_symbol semanticdb maven . . com/airbnb/epoxy/DiffHelper#collectRemovals(). +// kind Variable // ^^^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/DiffHelper#oldStateList. // Update the position of the item to take into account previous removals, // so that future operations will reference the correct position @@ -584,23 +670,33 @@ private void collectRemovals(UpdateOpHelper helper) { */ private void collectInsertions(UpdateOpHelper helper) { // ^^^^^^^^^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/DiffHelper#collectInsertions(). -// documentation ```java\nprivate void collectInsertions(UpdateOpHelper helper)\n``` +// display_name collectInsertions +// signature_documentation java private void collectInsertions(UpdateOpHelper helper) +// kind Method // documentation Find all insertion operations and add them to the result list. The general strategy here is to\n walk through the {@link #currentStateList} and check for items that don't exist in the old\n list. Walking through it in order makes it easy to batch adjacent insertions.\n // ^^^^^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/UpdateOpHelper# // ^^^^^^ definition local 20 -// documentation ```java\nUpdateOpHelper helper\n``` +// display_name helper +// signature_documentation java UpdateOpHelper helper +// enclosing_symbol semanticdb maven . . com/airbnb/epoxy/DiffHelper#collectInsertions(). Iterator oldItemIterator = oldStateList.iterator(); // ^^^^^^^^ reference semanticdb maven jdk 11 java/util/Iterator# // ^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/ModelState# // ^^^^^^^^^^^^^^^ definition local 21 -// documentation ```java\nIterator oldItemIterator\n``` +// display_name oldItemIterator +// signature_documentation java Iterator oldItemIterator +// enclosing_symbol semanticdb maven . . com/airbnb/epoxy/DiffHelper#collectInsertions(). +// kind Variable // ^^^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/DiffHelper#oldStateList. // ^^^^^^^^ reference semanticdb maven jdk 11 java/util/ArrayList#iterator(). for (ModelState itemToInsert : currentStateList) { // ^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/ModelState# // ^^^^^^^^^^^^ definition local 22 -// documentation ```java\nModelState itemToInsert\n``` +// display_name itemToInsert +// signature_documentation java ModelState itemToInsert +// enclosing_symbol semanticdb maven . . com/airbnb/epoxy/DiffHelper#collectInsertions(). +// kind Variable // ^^^^^^^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/DiffHelper#currentStateList. if (itemToInsert.pair != null) { // ^^^^^^^^^^^^ reference local 22 @@ -609,7 +705,10 @@ private void collectInsertions(UpdateOpHelper helper) { ModelState nextOldItem = getNextItemWithPair(oldItemIterator); // ^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/ModelState# // ^^^^^^^^^^^ definition local 23 -// documentation ```java\nModelState nextOldItem\n``` +// display_name nextOldItem +// signature_documentation java ModelState nextOldItem +// enclosing_symbol semanticdb maven . . com/airbnb/epoxy/DiffHelper#collectInsertions(). +// kind Variable // ^^^^^^^^^^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/DiffHelper#getNextItemWithPair(). // ^^^^^^^^^^^^^^^ reference local 21 if (nextOldItem != null) { @@ -636,20 +735,30 @@ private void collectInsertions(UpdateOpHelper helper) { */ private void collectChanges(UpdateOpHelper helper) { // ^^^^^^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/DiffHelper#collectChanges(). -// documentation ```java\nprivate void collectChanges(UpdateOpHelper helper)\n``` +// display_name collectChanges +// signature_documentation java private void collectChanges(UpdateOpHelper helper) +// kind Method // documentation Check if any items have had their values changed, batching if possible.\n // ^^^^^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/UpdateOpHelper# // ^^^^^^ definition local 24 -// documentation ```java\nUpdateOpHelper helper\n``` +// display_name helper +// signature_documentation java UpdateOpHelper helper +// enclosing_symbol semanticdb maven . . com/airbnb/epoxy/DiffHelper#collectChanges(). for (ModelState newItem : currentStateList) { // ^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/ModelState# // ^^^^^^^ definition local 25 -// documentation ```java\nModelState newItem\n``` +// display_name newItem +// signature_documentation java ModelState newItem +// enclosing_symbol semanticdb maven . . com/airbnb/epoxy/DiffHelper#collectChanges(). +// kind Variable // ^^^^^^^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/DiffHelper#currentStateList. ModelState previousItem = newItem.pair; // ^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/ModelState# // ^^^^^^^^^^^^ definition local 26 -// documentation ```java\nModelState previousItem\n``` +// display_name previousItem +// signature_documentation java ModelState previousItem +// enclosing_symbol semanticdb maven . . com/airbnb/epoxy/DiffHelper#collectChanges(). +// kind Variable // ^^^^^^^ reference local 25 // ^^^^ reference semanticdb maven . . com/airbnb/epoxy/ModelState#pair. if (previousItem == null) { @@ -661,7 +770,10 @@ private void collectChanges(UpdateOpHelper helper) { // rely on the stored hashCode boolean modelChanged; // ^^^^^^^^^^^^ definition local 27 -// documentation ```java\nboolean modelChanged\n``` +// display_name modelChanged +// signature_documentation java boolean modelChanged +// enclosing_symbol semanticdb maven . . com/airbnb/epoxy/DiffHelper#collectChanges(). +// kind Variable if (immutableModels) { // ^^^^^^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/DiffHelper#immutableModels. // Make sure that the old model hasn't changed, otherwise comparing it with the new one @@ -714,28 +826,41 @@ private void collectChanges(UpdateOpHelper helper) { */ private void collectMoves(UpdateOpHelper helper) { // ^^^^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/DiffHelper#collectMoves(). -// documentation ```java\nprivate void collectMoves(UpdateOpHelper helper)\n``` +// display_name collectMoves +// signature_documentation java private void collectMoves(UpdateOpHelper helper) +// kind Method // documentation Check which items have had a position changed. Recyclerview does not support batching these.\n // ^^^^^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/UpdateOpHelper# // ^^^^^^ definition local 28 -// documentation ```java\nUpdateOpHelper helper\n``` +// display_name helper +// signature_documentation java UpdateOpHelper helper +// enclosing_symbol semanticdb maven . . com/airbnb/epoxy/DiffHelper#collectMoves(). // This walks through both the new and old list simultaneous and checks for position changes. Iterator oldItemIterator = oldStateList.iterator(); // ^^^^^^^^ reference semanticdb maven jdk 11 java/util/Iterator# // ^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/ModelState# // ^^^^^^^^^^^^^^^ definition local 29 -// documentation ```java\nIterator oldItemIterator\n``` +// display_name oldItemIterator +// signature_documentation java Iterator oldItemIterator +// enclosing_symbol semanticdb maven . . com/airbnb/epoxy/DiffHelper#collectMoves(). +// kind Variable // ^^^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/DiffHelper#oldStateList. // ^^^^^^^^ reference semanticdb maven jdk 11 java/util/ArrayList#iterator(). ModelState nextOldItem = null; // ^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/ModelState# // ^^^^^^^^^^^ definition local 30 -// documentation ```java\nModelState nextOldItem\n``` +// display_name nextOldItem +// signature_documentation java ModelState nextOldItem +// enclosing_symbol semanticdb maven . . com/airbnb/epoxy/DiffHelper#collectMoves(). +// kind Variable for (ModelState newItem : currentStateList) { // ^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/ModelState# // ^^^^^^^ definition local 31 -// documentation ```java\nModelState newItem\n``` +// display_name newItem +// signature_documentation java ModelState newItem +// enclosing_symbol semanticdb maven . . com/airbnb/epoxy/DiffHelper#collectMoves(). +// kind Variable // ^^^^^^^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/DiffHelper#currentStateList. if (newItem.pair == null) { // ^^^^^^^ reference local 31 @@ -824,7 +949,10 @@ private void collectMoves(UpdateOpHelper helper) { int newItemDistance = newItem.pair.position - newItem.position; // ^^^^^^^^^^^^^^^ definition local 32 -// documentation ```java\nint newItemDistance\n``` +// display_name newItemDistance +// signature_documentation java int newItemDistance +// enclosing_symbol semanticdb maven . . com/airbnb/epoxy/DiffHelper#collectMoves(). +// kind Variable // ^^^^^^^ reference local 31 // ^^^^ reference semanticdb maven . . com/airbnb/epoxy/ModelState#pair. // ^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/ModelState#position. @@ -832,7 +960,10 @@ private void collectMoves(UpdateOpHelper helper) { // ^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/ModelState#position. int oldItemDistance = nextOldItem.pair.position - nextOldItem.position; // ^^^^^^^^^^^^^^^ definition local 33 -// documentation ```java\nint oldItemDistance\n``` +// display_name oldItemDistance +// signature_documentation java int oldItemDistance +// enclosing_symbol semanticdb maven . . com/airbnb/epoxy/DiffHelper#collectMoves(). +// kind Variable // ^^^^^^^^^^^ reference local 30 // ^^^^ reference semanticdb maven . . com/airbnb/epoxy/ModelState#pair. // ^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/ModelState#position. @@ -911,24 +1042,36 @@ private void collectMoves(UpdateOpHelper helper) { */ private void updateItemPosition(ModelState item, List moveOps) { // ^^^^^^^^^^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/DiffHelper#updateItemPosition(). -// documentation ```java\nprivate void updateItemPosition(ModelState item, List moveOps)\n``` +// display_name updateItemPosition +// signature_documentation java private void updateItemPosition(ModelState item, List moveOps) +// kind Method // documentation Apply the movement operations to the given item to update its position. Only applies the\n operations that have not been applied yet, and stores how many operations have been applied so\n we know which ones to apply next time.\n // ^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/ModelState# // ^^^^ definition local 34 -// documentation ```java\nModelState item\n``` +// display_name item +// signature_documentation java ModelState item +// enclosing_symbol semanticdb maven . . com/airbnb/epoxy/DiffHelper#updateItemPosition(). // ^^^^ reference semanticdb maven jdk 11 java/util/List# // ^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/UpdateOp# // ^^^^^^^ definition local 35 -// documentation ```java\nList moveOps\n``` +// display_name moveOps +// signature_documentation java List moveOps +// enclosing_symbol semanticdb maven . . com/airbnb/epoxy/DiffHelper#updateItemPosition(). int size = moveOps.size(); // ^^^^ definition local 36 -// documentation ```java\nint size\n``` +// display_name size +// signature_documentation java int size +// enclosing_symbol semanticdb maven . . com/airbnb/epoxy/DiffHelper#updateItemPosition(). +// kind Variable // ^^^^^^^ reference local 35 // ^^^^ reference semanticdb maven jdk 11 java/util/List#size(). for (int i = item.lastMoveOp; i < size; i++) { // ^ definition local 37 -// documentation ```java\nint i\n``` +// display_name i +// signature_documentation java int i +// enclosing_symbol semanticdb maven . . com/airbnb/epoxy/DiffHelper#updateItemPosition(). +// kind Variable // ^^^^ reference local 34 // ^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/ModelState#lastMoveOp. // ^ reference local 37 @@ -937,18 +1080,27 @@ private void updateItemPosition(ModelState item, List moveOps) { UpdateOp moveOp = moveOps.get(i); // ^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/UpdateOp# // ^^^^^^ definition local 38 -// documentation ```java\nUpdateOp moveOp\n``` +// display_name moveOp +// signature_documentation java UpdateOp moveOp +// enclosing_symbol semanticdb maven . . com/airbnb/epoxy/DiffHelper#updateItemPosition(). +// kind Variable // ^^^^^^^ reference local 35 // ^^^ reference semanticdb maven jdk 11 java/util/List#get(). // ^ reference local 37 int fromPosition = moveOp.positionStart; // ^^^^^^^^^^^^ definition local 39 -// documentation ```java\nint fromPosition\n``` +// display_name fromPosition +// signature_documentation java int fromPosition +// enclosing_symbol semanticdb maven . . com/airbnb/epoxy/DiffHelper#updateItemPosition(). +// kind Variable // ^^^^^^ reference local 38 // ^^^^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/UpdateOp#positionStart. int toPosition = moveOp.itemCount; // ^^^^^^^^^^ definition local 40 -// documentation ```java\nint toPosition\n``` +// display_name toPosition +// signature_documentation java int toPosition +// enclosing_symbol semanticdb maven . . com/airbnb/epoxy/DiffHelper#updateItemPosition(). +// kind Variable // ^^^^^^ reference local 38 // ^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/UpdateOp#itemCount. @@ -989,16 +1141,23 @@ private void updateItemPosition(ModelState item, List moveOps) { private ModelState getNextItemWithPair(Iterator iterator) { // ^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/ModelState# // ^^^^^^^^^^^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/DiffHelper#getNextItemWithPair(). -// documentation ```java\n@Nullable\nprivate ModelState getNextItemWithPair(Iterator iterator)\n``` +// display_name getNextItemWithPair +// signature_documentation java @Nullable\nprivate ModelState getNextItemWithPair(Iterator iterator) +// kind Method // documentation Gets the next item in the list that has a pair, meaning it wasn't inserted or removed.\n // ^^^^^^^^ reference semanticdb maven jdk 11 java/util/Iterator# // ^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/ModelState# // ^^^^^^^^ definition local 41 -// documentation ```java\nIterator iterator\n``` +// display_name iterator +// signature_documentation java Iterator iterator +// enclosing_symbol semanticdb maven . . com/airbnb/epoxy/DiffHelper#getNextItemWithPair(). ModelState nextItem = null; // ^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/ModelState# // ^^^^^^^^ definition local 42 -// documentation ```java\nModelState nextItem\n``` +// display_name nextItem +// signature_documentation java ModelState nextItem +// enclosing_symbol semanticdb maven . . com/airbnb/epoxy/DiffHelper#getNextItemWithPair(). +// kind Variable while (nextItem == null && iterator.hasNext()) { // ^^^^^^^^ reference local 42 // ^^^^^^^^ reference local 41 diff --git a/tests/snapshots/src/main/generated/com/airbnb/epoxy/DiffPayload.java b/tests/snapshots/src/main/generated/com/airbnb/epoxy/DiffPayload.java index ce0325282..a429c0a52 100644 --- a/tests/snapshots/src/main/generated/com/airbnb/epoxy/DiffPayload.java +++ b/tests/snapshots/src/main/generated/com/airbnb/epoxy/DiffPayload.java @@ -30,25 +30,35 @@ */ public class DiffPayload { // ^^^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/DiffPayload# -// documentation ```java\npublic class DiffPayload\n``` +// display_name DiffPayload +// signature_documentation java public class DiffPayload +// kind Class // documentation A helper class for tracking changed models found by the {@link com.airbnb.epoxy.DiffHelper} to\n be included as a payload in the\n {@link androidx.recyclerview.widget.RecyclerView.Adapter#notifyItemChanged(int, Object)}\n call.\n private final EpoxyModel singleModel; // ^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/EpoxyModel# // ^^^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/DiffPayload#singleModel. -// documentation ```java\nprivate final EpoxyModel singleModel\n``` +// display_name singleModel +// signature_documentation java private final EpoxyModel singleModel +// kind Field private final LongSparseArray> modelsById; // ^^^^^^^^^^^^^^^ reference semanticdb maven maven/androidx.collection/collection 1.0.0 androidx/collection/LongSparseArray# // ^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/EpoxyModel# // ^^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/DiffPayload#modelsById. -// documentation ```java\nprivate final LongSparseArray> modelsById\n``` +// display_name modelsById +// signature_documentation java private final LongSparseArray> modelsById +// kind Field DiffPayload(List> models) { //^^^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/DiffPayload#``(). -// documentation ```java\nDiffPayload(List> models)\n``` +// display_name +// signature_documentation java DiffPayload(List> models) +// kind Constructor // ^^^^ reference semanticdb maven jdk 11 java/util/List# // ^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/EpoxyModel# // ^^^^^^ definition local 0 -// documentation ```java\nList> models\n``` +// display_name models +// signature_documentation java List> models +// enclosing_symbol semanticdb maven . . com/airbnb/epoxy/DiffPayload#``(). if (models.isEmpty()) { // ^^^^^^ reference local 0 // ^^^^^^^ reference semanticdb maven jdk 11 java/util/List#isEmpty(). @@ -58,7 +68,10 @@ public class DiffPayload { int modelCount = models.size(); // ^^^^^^^^^^ definition local 1 -// documentation ```java\nint modelCount\n``` +// display_name modelCount +// signature_documentation java int modelCount +// enclosing_symbol semanticdb maven . . com/airbnb/epoxy/DiffPayload#``(). +// kind Variable // ^^^^^^ reference local 0 // ^^^^ reference semanticdb maven jdk 11 java/util/List#size(). @@ -81,7 +94,10 @@ public class DiffPayload { for (EpoxyModel model : models) { // ^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/EpoxyModel# // ^^^^^ definition local 2 -// documentation ```java\nEpoxyModel model\n``` +// display_name model +// signature_documentation java EpoxyModel model +// enclosing_symbol semanticdb maven . . com/airbnb/epoxy/DiffPayload#``(). +// kind Variable // ^^^^^^ reference local 0 modelsById.put(model.id(), model); // ^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/DiffPayload#modelsById. @@ -95,10 +111,14 @@ public class DiffPayload { public DiffPayload(EpoxyModel changedItem) { // ^^^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/DiffPayload#``(+1). -// documentation ```java\npublic DiffPayload(EpoxyModel changedItem)\n``` +// display_name +// signature_documentation java public DiffPayload(EpoxyModel changedItem) +// kind Constructor // ^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/EpoxyModel# // ^^^^^^^^^^^ definition local 3 -// documentation ```java\nEpoxyModel changedItem\n``` +// display_name changedItem +// signature_documentation java EpoxyModel changedItem +// enclosing_symbol semanticdb maven . . com/airbnb/epoxy/DiffPayload#``(+1). this(Collections.singletonList(changedItem)); // ^^^^ reference semanticdb maven . . com/airbnb/epoxy/DiffPayload#``(). // ^^^^^^^^^^^ reference semanticdb maven jdk 11 java/util/Collections# @@ -116,14 +136,20 @@ public DiffPayload(EpoxyModel changedItem) { public static EpoxyModel getModelFromPayload(List payloads, long modelId) { // ^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/EpoxyModel# // ^^^^^^^^^^^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/DiffPayload#getModelFromPayload(). -// documentation ```java\n@Nullable\npublic static EpoxyModel getModelFromPayload(List payloads, long modelId)\n``` +// display_name getModelFromPayload +// signature_documentation java @Nullable\npublic static EpoxyModel getModelFromPayload(List payloads, long modelId) +// kind StaticMethod // documentation Looks through the payloads list and returns the first model found with the given model id. This\n assumes that the payloads list will only contain objects of type {@link DiffPayload}, and will\n throw if an unexpected type is found.\n // ^^^^ reference semanticdb maven jdk 11 java/util/List# // ^^^^^^ reference semanticdb maven jdk 11 java/lang/Object# // ^^^^^^^^ definition local 4 -// documentation ```java\nList payloads\n``` +// display_name payloads +// signature_documentation java List payloads +// enclosing_symbol semanticdb maven . . com/airbnb/epoxy/DiffPayload#getModelFromPayload(). // ^^^^^^^ definition local 5 -// documentation ```java\nlong modelId\n``` +// display_name modelId +// signature_documentation java long modelId +// enclosing_symbol semanticdb maven . . com/airbnb/epoxy/DiffPayload#getModelFromPayload(). if (payloads.isEmpty()) { // ^^^^^^^^ reference local 4 // ^^^^^^^ reference semanticdb maven jdk 11 java/util/List#isEmpty(). @@ -133,12 +159,18 @@ public static EpoxyModel getModelFromPayload(List payloads, long mode for (Object payload : payloads) { // ^^^^^^ reference semanticdb maven jdk 11 java/lang/Object# // ^^^^^^^ definition local 6 -// documentation ```java\nObject payload\n``` +// display_name payload +// signature_documentation java Object payload +// enclosing_symbol semanticdb maven . . com/airbnb/epoxy/DiffPayload#getModelFromPayload(). +// kind Variable // ^^^^^^^^ reference local 4 DiffPayload diffPayload = (DiffPayload) payload; // ^^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/DiffPayload# // ^^^^^^^^^^^ definition local 7 -// documentation ```java\nDiffPayload diffPayload\n``` +// display_name diffPayload +// signature_documentation java DiffPayload diffPayload +// enclosing_symbol semanticdb maven . . com/airbnb/epoxy/DiffPayload#getModelFromPayload(). +// kind Variable // ^^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/DiffPayload# // ^^^^^^^ reference local 6 @@ -158,7 +190,10 @@ public static EpoxyModel getModelFromPayload(List payloads, long mode EpoxyModel modelForId = diffPayload.modelsById.get(modelId); // ^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/EpoxyModel# // ^^^^^^^^^^ definition local 8 -// documentation ```java\nEpoxyModel modelForId\n``` +// display_name modelForId +// signature_documentation java EpoxyModel modelForId +// enclosing_symbol semanticdb maven . . com/airbnb/epoxy/DiffPayload#getModelFromPayload(). +// kind Variable // ^^^^^^^^^^^ reference local 7 // ^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/DiffPayload#modelsById. // ^^^ reference semanticdb maven maven/androidx.collection/collection 1.0.0 androidx/collection/LongSparseArray#get(). @@ -178,10 +213,14 @@ public static EpoxyModel getModelFromPayload(List payloads, long mode // ^^^^^^^^^^^^^^^^^ reference semanticdb maven maven/androidx.annotation/annotation 1.1.0 androidx/annotation/VisibleForTesting# boolean equalsForTesting(DiffPayload that) { // ^^^^^^^^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/DiffPayload#equalsForTesting(). -// documentation ```java\n@VisibleForTesting\nboolean equalsForTesting(DiffPayload that)\n``` +// display_name equalsForTesting +// signature_documentation java @VisibleForTesting\nboolean equalsForTesting(DiffPayload that) +// kind Method // ^^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/DiffPayload# // ^^^^ definition local 9 -// documentation ```java\nDiffPayload that\n``` +// display_name that +// signature_documentation java DiffPayload that +// enclosing_symbol semanticdb maven . . com/airbnb/epoxy/DiffPayload#equalsForTesting(). if (singleModel != null) { // ^^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/DiffPayload#singleModel. return that.singleModel == singleModel; @@ -192,12 +231,18 @@ boolean equalsForTesting(DiffPayload that) { int thisSize = modelsById.size(); // ^^^^^^^^ definition local 10 -// documentation ```java\nint thisSize\n``` +// display_name thisSize +// signature_documentation java int thisSize +// enclosing_symbol semanticdb maven . . com/airbnb/epoxy/DiffPayload#equalsForTesting(). +// kind Variable // ^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/DiffPayload#modelsById. // ^^^^ reference semanticdb maven maven/androidx.collection/collection 1.0.0 androidx/collection/LongSparseArray#size(). int thatSize = that.modelsById.size(); // ^^^^^^^^ definition local 11 -// documentation ```java\nint thatSize\n``` +// display_name thatSize +// signature_documentation java int thatSize +// enclosing_symbol semanticdb maven . . com/airbnb/epoxy/DiffPayload#equalsForTesting(). +// kind Variable // ^^^^ reference local 9 // ^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/DiffPayload#modelsById. // ^^^^ reference semanticdb maven maven/androidx.collection/collection 1.0.0 androidx/collection/LongSparseArray#size(). @@ -210,19 +255,28 @@ boolean equalsForTesting(DiffPayload that) { for (int i = 0; i < thisSize; i++) { // ^ definition local 12 -// documentation ```java\nint i\n``` +// display_name i +// signature_documentation java int i +// enclosing_symbol semanticdb maven . . com/airbnb/epoxy/DiffPayload#equalsForTesting(). +// kind Variable // ^ reference local 12 // ^^^^^^^^ reference local 10 // ^ reference local 12 long thisKey = modelsById.keyAt(i); // ^^^^^^^ definition local 13 -// documentation ```java\nlong thisKey\n``` +// display_name thisKey +// signature_documentation java long thisKey +// enclosing_symbol semanticdb maven . . com/airbnb/epoxy/DiffPayload#equalsForTesting(). +// kind Variable // ^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/DiffPayload#modelsById. // ^^^^^ reference semanticdb maven maven/androidx.collection/collection 1.0.0 androidx/collection/LongSparseArray#keyAt(). // ^ reference local 12 long thatKey = that.modelsById.keyAt(i); // ^^^^^^^ definition local 14 -// documentation ```java\nlong thatKey\n``` +// display_name thatKey +// signature_documentation java long thatKey +// enclosing_symbol semanticdb maven . . com/airbnb/epoxy/DiffPayload#equalsForTesting(). +// kind Variable // ^^^^ reference local 9 // ^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/DiffPayload#modelsById. // ^^^^^ reference semanticdb maven maven/androidx.collection/collection 1.0.0 androidx/collection/LongSparseArray#keyAt(). @@ -237,14 +291,20 @@ boolean equalsForTesting(DiffPayload that) { EpoxyModel thisModel = modelsById.valueAt(i); // ^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/EpoxyModel# // ^^^^^^^^^ definition local 15 -// documentation ```java\nEpoxyModel thisModel\n``` +// display_name thisModel +// signature_documentation java EpoxyModel thisModel +// enclosing_symbol semanticdb maven . . com/airbnb/epoxy/DiffPayload#equalsForTesting(). +// kind Variable // ^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/DiffPayload#modelsById. // ^^^^^^^ reference semanticdb maven maven/androidx.collection/collection 1.0.0 androidx/collection/LongSparseArray#valueAt(). // ^ reference local 12 EpoxyModel thatModel = that.modelsById.valueAt(i); // ^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/EpoxyModel# // ^^^^^^^^^ definition local 16 -// documentation ```java\nEpoxyModel thatModel\n``` +// display_name thatModel +// signature_documentation java EpoxyModel thatModel +// enclosing_symbol semanticdb maven . . com/airbnb/epoxy/DiffPayload#equalsForTesting(). +// kind Variable // ^^^^ reference local 9 // ^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/DiffPayload#modelsById. // ^^^^^^^ reference semanticdb maven maven/androidx.collection/collection 1.0.0 androidx/collection/LongSparseArray#valueAt(). diff --git a/tests/snapshots/src/main/generated/com/airbnb/epoxy/DiffResult.java b/tests/snapshots/src/main/generated/com/airbnb/epoxy/DiffResult.java index 194830618..b938de647 100644 --- a/tests/snapshots/src/main/generated/com/airbnb/epoxy/DiffResult.java +++ b/tests/snapshots/src/main/generated/com/airbnb/epoxy/DiffResult.java @@ -44,20 +44,26 @@ */ public class DiffResult { // ^^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/DiffResult# -// documentation ```java\npublic class DiffResult\n``` +// display_name DiffResult +// signature_documentation java public class DiffResult +// kind Class // documentation Wraps the result of {@link AsyncEpoxyDiffer#submitList(List)}.\n @NonNull final List> previousModels; // ^^^^^^^ reference semanticdb maven maven/androidx.annotation/annotation 1.1.0 androidx/annotation/NonNull# // ^^^^ reference semanticdb maven jdk 11 java/util/List# // ^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/EpoxyModel# // ^^^^^^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/DiffResult#previousModels. -// documentation ```java\n@NonNull\nfinal List> previousModels\n``` +// display_name previousModels +// signature_documentation java @NonNull\nfinal List> previousModels +// kind Field @NonNull final List> newModels; // ^^^^^^^ reference semanticdb maven maven/androidx.annotation/annotation 1.1.0 androidx/annotation/NonNull# // ^^^^ reference semanticdb maven jdk 11 java/util/List# // ^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/EpoxyModel# // ^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/DiffResult#newModels. -// documentation ```java\n@NonNull\nfinal List> newModels\n``` +// display_name newModels +// signature_documentation java @NonNull\nfinal List> newModels +// kind Field /** * If this is non null it means the full differ ran and the result is contained @@ -69,20 +75,26 @@ public class DiffResult { // ^^^^^^^^ reference semanticdb maven . . DiffUtil/ // ^^^^^^^^^^ reference semanticdb maven . . DiffUtil/DiffResult# // ^^^^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/DiffResult#differResult. -// documentation ```java\n@Nullable\nfinal unresolved_type differResult\n``` +// display_name differResult +// signature_documentation java @Nullable\nfinal unresolved_type differResult +// kind Field // documentation If this is non null it means the full differ ran and the result is contained\n in this object. If it is null, it means that either the old list or the new list was empty, so\n we can simply add all or clear all items and skipped running the full diffing.\n /** No changes were made to the models. */ static DiffResult noOp(@Nullable List> models) { // ^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/DiffResult# // ^^^^ definition semanticdb maven . . com/airbnb/epoxy/DiffResult#noOp(). -// documentation ```java\nstatic DiffResult noOp(List> models)\n``` +// display_name noOp +// signature_documentation java static DiffResult noOp(List> models) +// kind StaticMethod // documentation No changes were made to the models. // ^^^^^^^^ reference semanticdb maven maven/androidx.annotation/annotation 1.1.0 androidx/annotation/Nullable# // ^^^^ reference semanticdb maven jdk 11 java/util/List# // ^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/EpoxyModel# // ^^^^^^ definition local 0 -// documentation ```java\n@Nullable\nList> models\n``` +// display_name models +// signature_documentation java @Nullable\nList> models +// enclosing_symbol semanticdb maven . . com/airbnb/epoxy/DiffResult#noOp(). if (models == null) { // ^^^^^^ reference local 0 models = Collections.emptyList(); @@ -100,13 +112,17 @@ static DiffResult noOp(@Nullable List> models) { static DiffResult inserted(@NonNull List> newModels) { // ^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/DiffResult# // ^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/DiffResult#inserted(). -// documentation ```java\nstatic DiffResult inserted(List> newModels)\n``` +// display_name inserted +// signature_documentation java static DiffResult inserted(List> newModels) +// kind StaticMethod // documentation The previous list was empty and the given non empty list was inserted. // ^^^^^^^ reference semanticdb maven maven/androidx.annotation/annotation 1.1.0 androidx/annotation/NonNull# // ^^^^ reference semanticdb maven jdk 11 java/util/List# // ^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/EpoxyModel# // ^^^^^^^^^ definition local 1 -// documentation ```java\n@NonNull\nList> newModels\n``` +// display_name newModels +// signature_documentation java @NonNull\nList> newModels +// enclosing_symbol semanticdb maven . . com/airbnb/epoxy/DiffResult#inserted(). //noinspection unchecked return new DiffResult(Collections.EMPTY_LIST, newModels, null); // ^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/DiffResult#``(). @@ -119,13 +135,17 @@ static DiffResult inserted(@NonNull List> newModels) { static DiffResult clear(@NonNull List> previousModels) { // ^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/DiffResult# // ^^^^^ definition semanticdb maven . . com/airbnb/epoxy/DiffResult#clear(). -// documentation ```java\nstatic DiffResult clear(List> previousModels)\n``` +// display_name clear +// signature_documentation java static DiffResult clear(List> previousModels) +// kind StaticMethod // documentation The previous list was non empty and the new list is empty. // ^^^^^^^ reference semanticdb maven maven/androidx.annotation/annotation 1.1.0 androidx/annotation/NonNull# // ^^^^ reference semanticdb maven jdk 11 java/util/List# // ^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/EpoxyModel# // ^^^^^^^^^^^^^^ definition local 2 -// documentation ```java\n@NonNull\nList> previousModels\n``` +// display_name previousModels +// signature_documentation java @NonNull\nList> previousModels +// enclosing_symbol semanticdb maven . . com/airbnb/epoxy/DiffResult#clear(). //noinspection unchecked return new DiffResult(previousModels, Collections.EMPTY_LIST, null); // ^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/DiffResult#``(). @@ -141,26 +161,34 @@ static DiffResult clear(@NonNull List> previousModels) { static DiffResult diff( // ^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/DiffResult# // ^^^^ definition semanticdb maven . . com/airbnb/epoxy/DiffResult#diff(). -// documentation ```java\nstatic DiffResult diff(List> previousModels, List> newModels, unresolved_type differResult)\n``` +// display_name diff +// signature_documentation java static DiffResult diff(List> previousModels, List> newModels, unresolved_type differResult) +// kind StaticMethod // documentation The previous and new models are both non empty and a full differ pass was run on them.\n There may be no changes, however.\n @NonNull List> previousModels, // ^^^^^^^ reference semanticdb maven maven/androidx.annotation/annotation 1.1.0 androidx/annotation/NonNull# // ^^^^ reference semanticdb maven jdk 11 java/util/List# // ^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/EpoxyModel# // ^^^^^^^^^^^^^^ definition local 3 -// documentation ```java\n@NonNull\nList> previousModels\n``` +// display_name previousModels +// signature_documentation java @NonNull\nList> previousModels +// enclosing_symbol semanticdb maven . . com/airbnb/epoxy/DiffResult#diff(). @NonNull List> newModels, // ^^^^^^^ reference semanticdb maven maven/androidx.annotation/annotation 1.1.0 androidx/annotation/NonNull# // ^^^^ reference semanticdb maven jdk 11 java/util/List# // ^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/EpoxyModel# // ^^^^^^^^^ definition local 4 -// documentation ```java\n@NonNull\nList> newModels\n``` +// display_name newModels +// signature_documentation java @NonNull\nList> newModels +// enclosing_symbol semanticdb maven . . com/airbnb/epoxy/DiffResult#diff(). @NonNull DiffUtil.DiffResult differResult // ^^^^^^^ reference semanticdb maven maven/androidx.annotation/annotation 1.1.0 androidx/annotation/NonNull# // ^^^^^^^^ reference semanticdb maven . . DiffUtil/ // ^^^^^^^^^^ reference semanticdb maven . . DiffUtil/DiffResult# // ^^^^^^^^^^^^ definition local 5 -// documentation ```java\n@NonNull\nunresolved_type differResult\n``` +// display_name differResult +// signature_documentation java @NonNull\nunresolved_type differResult +// enclosing_symbol semanticdb maven . . com/airbnb/epoxy/DiffResult#diff(). ) { return new DiffResult(previousModels, newModels, differResult); // ^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/DiffResult#``(). @@ -171,25 +199,33 @@ static DiffResult diff( private DiffResult( // ^^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/DiffResult#``(). -// documentation ```java\nprivate DiffResult(List> previousModels, List> newModels, unresolved_type differResult)\n``` +// display_name +// signature_documentation java private DiffResult(List> previousModels, List> newModels, unresolved_type differResult) +// kind Constructor @NonNull List> previousModels, // ^^^^^^^ reference semanticdb maven maven/androidx.annotation/annotation 1.1.0 androidx/annotation/NonNull# // ^^^^ reference semanticdb maven jdk 11 java/util/List# // ^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/EpoxyModel# // ^^^^^^^^^^^^^^ definition local 6 -// documentation ```java\n@NonNull\nList> previousModels\n``` +// display_name previousModels +// signature_documentation java @NonNull\nList> previousModels +// enclosing_symbol semanticdb maven . . com/airbnb/epoxy/DiffResult#``(). @NonNull List> newModels, // ^^^^^^^ reference semanticdb maven maven/androidx.annotation/annotation 1.1.0 androidx/annotation/NonNull# // ^^^^ reference semanticdb maven jdk 11 java/util/List# // ^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/EpoxyModel# // ^^^^^^^^^ definition local 7 -// documentation ```java\n@NonNull\nList> newModels\n``` +// display_name newModels +// signature_documentation java @NonNull\nList> newModels +// enclosing_symbol semanticdb maven . . com/airbnb/epoxy/DiffResult#``(). @Nullable DiffUtil.DiffResult differResult // ^^^^^^^^ reference semanticdb maven maven/androidx.annotation/annotation 1.1.0 androidx/annotation/Nullable# // ^^^^^^^^ reference semanticdb maven . . DiffUtil/ // ^^^^^^^^^^ reference semanticdb maven . . DiffUtil/DiffResult# // ^^^^^^^^^^^^ definition local 8 -// documentation ```java\n@Nullable\nunresolved_type differResult\n``` +// display_name differResult +// signature_documentation java @Nullable\nunresolved_type differResult +// enclosing_symbol semanticdb maven . . com/airbnb/epoxy/DiffResult#``(). ) { this.previousModels = previousModels; // ^^^^^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/DiffResult#previousModels. @@ -204,10 +240,14 @@ private DiffResult( public void dispatchTo(Adapter adapter) { // ^^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/DiffResult#dispatchTo(). -// documentation ```java\npublic void dispatchTo(unresolved_type adapter)\n``` +// display_name dispatchTo +// signature_documentation java public void dispatchTo(unresolved_type adapter) +// kind Method // ^^^^^^^ reference semanticdb maven . . Adapter# // ^^^^^^^ definition local 9 -// documentation ```java\nunresolved_type adapter\n``` +// display_name adapter +// signature_documentation java unresolved_type adapter +// enclosing_symbol semanticdb maven . . com/airbnb/epoxy/DiffResult#dispatchTo(). dispatchTo(new AdapterListUpdateCallback(adapter)); // ^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/DiffResult#dispatchTo(). // ^^^^^^^ reference local 9 @@ -215,10 +255,14 @@ public void dispatchTo(Adapter adapter) { public void dispatchTo(ListUpdateCallback callback) { // ^^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/DiffResult#dispatchTo(+1). -// documentation ```java\npublic void dispatchTo(unresolved_type callback)\n``` +// display_name dispatchTo +// signature_documentation java public void dispatchTo(unresolved_type callback) +// kind Method // ^^^^^^^^^^^^^^^^^^ reference semanticdb maven . . ListUpdateCallback# // ^^^^^^^^ definition local 10 -// documentation ```java\nunresolved_type callback\n``` +// display_name callback +// signature_documentation java unresolved_type callback +// enclosing_symbol semanticdb maven . . com/airbnb/epoxy/DiffResult#dispatchTo(+1). if (differResult != null) { // ^^^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/DiffResult#differResult. differResult.dispatchUpdatesTo(callback); diff --git a/tests/snapshots/src/main/generated/com/airbnb/epoxy/EpoxyAdapter.java b/tests/snapshots/src/main/generated/com/airbnb/epoxy/EpoxyAdapter.java index cbbf7cec5..da1635792 100644 --- a/tests/snapshots/src/main/generated/com/airbnb/epoxy/EpoxyAdapter.java +++ b/tests/snapshots/src/main/generated/com/airbnb/epoxy/EpoxyAdapter.java @@ -36,18 +36,24 @@ //^^^^^^^^^^^^^^^ reference semanticdb maven jdk 11 java/lang/SuppressWarnings# public abstract class EpoxyAdapter extends BaseEpoxyAdapter { // ^^^^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/EpoxyAdapter# -// documentation ```java\n@SuppressWarnings("WeakerAccess")\npublic abstract class EpoxyAdapter\n``` +// display_name EpoxyAdapter +// signature_documentation java @SuppressWarnings("WeakerAccess")\npublic abstract class EpoxyAdapter +// kind Class // documentation Allows you to easily combine different view types in the same adapter, and handles view holder\n creation, binding, and ids for you. Subclasses just need to add their desired {@link EpoxyModel}\n objects and the rest is done automatically.\n

\n {@link androidx.recyclerview.widget.RecyclerView.Adapter#setHasStableIds(boolean)} is set to true\n by default, since {@link EpoxyModel} makes it easy to support unique ids. If you don't want to\n support this then disable it in your base class (not recommended).\n // relationship is_implementation semanticdb maven . . RecyclerView/Adapter# // relationship is_implementation semanticdb maven . . StickyHeaderCallbacks# // relationship is_implementation semanticdb maven . . com/airbnb/epoxy/BaseEpoxyAdapter# // ^^^^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/EpoxyAdapter#``(). -// documentation ```java\npublic EpoxyAdapter()\n``` +// display_name +// signature_documentation java public EpoxyAdapter() +// kind Constructor // ^^^^^^^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/BaseEpoxyAdapter# private final HiddenEpoxyModel hiddenModel = new HiddenEpoxyModel(); // ^^^^^^^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/HiddenEpoxyModel# // ^^^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/EpoxyAdapter#hiddenModel. -// documentation ```java\nprivate final HiddenEpoxyModel hiddenModel\n``` +// display_name hiddenModel +// signature_documentation java private final HiddenEpoxyModel hiddenModel +// kind Field // ^^^^^^^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/HiddenEpoxyModel#``(). /** @@ -58,13 +64,17 @@ public abstract class EpoxyAdapter extends BaseEpoxyAdapter { // ^^^^ reference semanticdb maven jdk 11 java/util/List# // ^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/EpoxyModel# // ^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/EpoxyAdapter#models. -// documentation ```java\nprotected final List> models\n``` +// display_name models +// signature_documentation java protected final List> models +// kind Field // documentation Subclasses should modify this list as necessary with the models they want to show. Subclasses\n are responsible for notifying data changes whenever this list is changed.\n // ^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/ModelList#``(+1). private DiffHelper diffHelper; // ^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/DiffHelper# // ^^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/EpoxyAdapter#diffHelper. -// documentation ```java\nprivate DiffHelper diffHelper\n``` +// display_name diffHelper +// signature_documentation java private DiffHelper diffHelper +// kind Field @Override // ^^^^^^^^ reference semanticdb maven jdk 11 java/lang/Override# @@ -72,7 +82,9 @@ List> getCurrentModels() { //^^^^ reference semanticdb maven jdk 11 java/util/List# // ^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/EpoxyModel# // ^^^^^^^^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/EpoxyAdapter#getCurrentModels(). -// documentation ```java\n@Override\nList> getCurrentModels()\n``` +// display_name getCurrentModels +// signature_documentation java @Override\nList> getCurrentModels() +// kind Method // relationship is_reference is_implementation semanticdb maven . . com/airbnb/epoxy/BaseEpoxyAdapter#getCurrentModels(). return models; // ^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/EpoxyAdapter#models. @@ -86,7 +98,9 @@ List> getCurrentModels() { */ protected void enableDiffing() { // ^^^^^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/EpoxyAdapter#enableDiffing(). -// documentation ```java\nprotected void enableDiffing()\n``` +// display_name enableDiffing +// signature_documentation java protected void enableDiffing() +// kind Method // documentation Enables support for automatically notifying model changes via {@link #notifyModelsChanged()}.\n If used, this should be called in the constructor, before any models are changed.\n\n @see #notifyModelsChanged()\n // relationship is_reference is_implementation semanticdb maven . . com/airbnb/epoxy/SimpleEpoxyAdapter#enableDiffing(). if (diffHelper != null) { @@ -118,14 +132,21 @@ protected void enableDiffing() { EpoxyModel getModelForPosition(int position) { //^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/EpoxyModel# // ^^^^^^^^^^^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/EpoxyAdapter#getModelForPosition(). -// documentation ```java\n@Override\nEpoxyModel getModelForPosition(int position)\n``` +// display_name getModelForPosition +// signature_documentation java @Override\nEpoxyModel getModelForPosition(int position) +// kind Method // relationship is_reference is_implementation semanticdb maven . . com/airbnb/epoxy/BaseEpoxyAdapter#getModelForPosition(). // ^^^^^^^^ definition local 0 -// documentation ```java\nint position\n``` +// display_name position +// signature_documentation java int position +// enclosing_symbol semanticdb maven . . com/airbnb/epoxy/EpoxyAdapter#getModelForPosition(). EpoxyModel model = models.get(position); // ^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/EpoxyModel# // ^^^^^ definition local 1 -// documentation ```java\nEpoxyModel model\n``` +// display_name model +// signature_documentation java EpoxyModel model +// enclosing_symbol semanticdb maven . . com/airbnb/epoxy/EpoxyAdapter#getModelForPosition(). +// kind Variable // ^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/EpoxyAdapter#models. // ^^^ reference semanticdb maven jdk 11 java/util/List#get(). // ^^^^^^^^ reference local 0 @@ -151,7 +172,9 @@ EpoxyModel getModelForPosition(int position) { protected void notifyModelsChanged() { // ^^^^^^^^^^^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/EpoxyAdapter#notifyModelsChanged(). -// documentation ```java\nprotected void notifyModelsChanged()\n``` +// display_name notifyModelsChanged +// signature_documentation java protected void notifyModelsChanged() +// kind Method // documentation Intelligently notify item changes by comparing the current {@link #models} list against the\n previous so you don't have to micromanage notification calls yourself. This may be\n prohibitively slow for large model lists (in the hundreds), in which case consider doing\n notification calls yourself. If you use this, all your view models must implement {@link\n EpoxyModel#hashCode()} and {@link EpoxyModel#equals(Object)} to completely identify their\n state, so that changes to a model's content can be detected. Before using this you must enable\n it with {@link #enableDiffing()}, since keeping track of the model state adds extra computation\n time to all other data change notifications.\n\n @see #enableDiffing()\n // relationship is_reference is_implementation semanticdb maven . . com/airbnb/epoxy/SimpleEpoxyAdapter#notifyModelsChanged(). if (diffHelper == null) { @@ -171,12 +194,16 @@ protected void notifyModelsChanged() { */ protected void notifyModelChanged(EpoxyModel model) { // ^^^^^^^^^^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/EpoxyAdapter#notifyModelChanged(). -// documentation ```java\nprotected void notifyModelChanged(EpoxyModel model)\n``` +// display_name notifyModelChanged +// signature_documentation java protected void notifyModelChanged(EpoxyModel model) +// kind Method // documentation Notify that the given model has had its data changed. It should only be called if the model\n retained the same position.\n // relationship is_reference is_implementation semanticdb maven . . com/airbnb/epoxy/SimpleEpoxyAdapter#notifyModelChanged(). // ^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/EpoxyModel# // ^^^^^ definition local 2 -// documentation ```java\nEpoxyModel model\n``` +// display_name model +// signature_documentation java EpoxyModel model +// enclosing_symbol semanticdb maven . . com/airbnb/epoxy/EpoxyAdapter#notifyModelChanged(). notifyModelChanged(model, null); // ^^^^^^^^^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/EpoxyAdapter#notifyModelChanged(+1). // ^^^^^ reference local 2 @@ -188,18 +215,27 @@ protected void notifyModelChanged(EpoxyModel model) { */ protected void notifyModelChanged(EpoxyModel model, @Nullable Object payload) { // ^^^^^^^^^^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/EpoxyAdapter#notifyModelChanged(+1). -// documentation ```java\nprotected void notifyModelChanged(EpoxyModel model, Object payload)\n``` +// display_name notifyModelChanged +// signature_documentation java protected void notifyModelChanged(EpoxyModel model, Object payload) +// kind Method // documentation Notify that the given model has had its data changed. It should only be called if the model\n retained the same position.\n // ^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/EpoxyModel# // ^^^^^ definition local 3 -// documentation ```java\nEpoxyModel model\n``` +// display_name model +// signature_documentation java EpoxyModel model +// enclosing_symbol semanticdb maven . . com/airbnb/epoxy/EpoxyAdapter#notifyModelChanged(+1). // ^^^^^^^^ reference semanticdb maven maven/androidx.annotation/annotation 1.1.0 androidx/annotation/Nullable# // ^^^^^^ reference semanticdb maven jdk 11 java/lang/Object# // ^^^^^^^ definition local 4 -// documentation ```java\n@Nullable\nObject payload\n``` +// display_name payload +// signature_documentation java @Nullable\nObject payload +// enclosing_symbol semanticdb maven . . com/airbnb/epoxy/EpoxyAdapter#notifyModelChanged(+1). int index = getModelPosition(model); // ^^^^^ definition local 5 -// documentation ```java\nint index\n``` +// display_name index +// signature_documentation java int index +// enclosing_symbol semanticdb maven . . com/airbnb/epoxy/EpoxyAdapter#notifyModelChanged(+1). +// kind Variable // ^^^^^^^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/BaseEpoxyAdapter#getModelPosition(). // ^^^^^ reference local 3 if (index != -1) { @@ -216,14 +252,21 @@ protected void notifyModelChanged(EpoxyModel model, @Nullable Object payload) */ protected void addModel(EpoxyModel modelToAdd) { // ^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/EpoxyAdapter#addModel(). -// documentation ```java\nprotected void addModel(EpoxyModel modelToAdd)\n``` +// display_name addModel +// signature_documentation java protected void addModel(EpoxyModel modelToAdd) +// kind Method // documentation Adds the model to the end of the {@link #models} list and notifies that the item was inserted.\n // ^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/EpoxyModel# // ^^^^^^^^^^ definition local 6 -// documentation ```java\nEpoxyModel modelToAdd\n``` +// display_name modelToAdd +// signature_documentation java EpoxyModel modelToAdd +// enclosing_symbol semanticdb maven . . com/airbnb/epoxy/EpoxyAdapter#addModel(). int initialSize = models.size(); // ^^^^^^^^^^^ definition local 7 -// documentation ```java\nint initialSize\n``` +// display_name initialSize +// signature_documentation java int initialSize +// enclosing_symbol semanticdb maven . . com/airbnb/epoxy/EpoxyAdapter#addModel(). +// kind Variable // ^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/EpoxyAdapter#models. // ^^^^ reference semanticdb maven jdk 11 java/util/List#size(). @@ -247,20 +290,30 @@ protected void addModel(EpoxyModel modelToAdd) { */ protected void addModels(EpoxyModel... modelsToAdd) { // ^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/EpoxyAdapter#addModels(). -// documentation ```java\nprotected void addModels(EpoxyModel[] modelsToAdd)\n``` +// display_name addModels +// signature_documentation java protected void addModels(EpoxyModel[] modelsToAdd) +// kind Method // documentation Adds the models to the end of the {@link #models} list and notifies that the items were\n inserted.\n // relationship is_reference is_implementation semanticdb maven . . com/airbnb/epoxy/SimpleEpoxyAdapter#addModels(). // ^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/EpoxyModel# // ^^^^^^^^^^^ definition local 8 -// documentation ```java\nEpoxyModel[] modelsToAdd\n``` +// display_name modelsToAdd +// signature_documentation java EpoxyModel[] modelsToAdd +// enclosing_symbol semanticdb maven . . com/airbnb/epoxy/EpoxyAdapter#addModels(). int initialSize = models.size(); // ^^^^^^^^^^^ definition local 9 -// documentation ```java\nint initialSize\n``` +// display_name initialSize +// signature_documentation java int initialSize +// enclosing_symbol semanticdb maven . . com/airbnb/epoxy/EpoxyAdapter#addModels(). +// kind Variable // ^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/EpoxyAdapter#models. // ^^^^ reference semanticdb maven jdk 11 java/util/List#size(). int numModelsToAdd = modelsToAdd.length; // ^^^^^^^^^^^^^^ definition local 10 -// documentation ```java\nint numModelsToAdd\n``` +// display_name numModelsToAdd +// signature_documentation java int numModelsToAdd +// enclosing_symbol semanticdb maven . . com/airbnb/epoxy/EpoxyAdapter#addModels(). +// kind Variable // ^^^^^^^^^^^ reference local 8 // ^^^^^^ reference semanticdb maven . . Array#length. @@ -293,16 +346,23 @@ protected void addModels(EpoxyModel... modelsToAdd) { */ protected void addModels(Collection> modelsToAdd) { // ^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/EpoxyAdapter#addModels(+1). -// documentation ```java\nprotected void addModels(Collection> modelsToAdd)\n``` +// display_name addModels +// signature_documentation java protected void addModels(Collection> modelsToAdd) +// kind Method // documentation Adds the models to the end of the {@link #models} list and notifies that the items were\n inserted.\n // relationship is_reference is_implementation semanticdb maven . . com/airbnb/epoxy/SimpleEpoxyAdapter#addModels(+1). // ^^^^^^^^^^ reference semanticdb maven jdk 11 java/util/Collection# // ^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/EpoxyModel# // ^^^^^^^^^^^ definition local 11 -// documentation ```java\nCollection> modelsToAdd\n``` +// display_name modelsToAdd +// signature_documentation java Collection> modelsToAdd +// enclosing_symbol semanticdb maven . . com/airbnb/epoxy/EpoxyAdapter#addModels(+1). int initialSize = models.size(); // ^^^^^^^^^^^ definition local 12 -// documentation ```java\nint initialSize\n``` +// display_name initialSize +// signature_documentation java int initialSize +// enclosing_symbol semanticdb maven . . com/airbnb/epoxy/EpoxyAdapter#addModels(+1). +// kind Variable // ^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/EpoxyAdapter#models. // ^^^^ reference semanticdb maven jdk 11 java/util/List#size(). @@ -328,18 +388,27 @@ protected void addModels(Collection> modelsToAdd) { */ protected void insertModelBefore(EpoxyModel modelToInsert, EpoxyModel modelToInsertBefore) { // ^^^^^^^^^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/EpoxyAdapter#insertModelBefore(). -// documentation ```java\nprotected void insertModelBefore(EpoxyModel modelToInsert, EpoxyModel modelToInsertBefore)\n``` +// display_name insertModelBefore +// signature_documentation java protected void insertModelBefore(EpoxyModel modelToInsert, EpoxyModel modelToInsertBefore) +// kind Method // documentation Inserts the given model before the other in the {@link #models} list, and notifies that the\n item was inserted.\n // relationship is_reference is_implementation semanticdb maven . . com/airbnb/epoxy/SimpleEpoxyAdapter#insertModelBefore(). // ^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/EpoxyModel# // ^^^^^^^^^^^^^ definition local 13 -// documentation ```java\nEpoxyModel modelToInsert\n``` +// display_name modelToInsert +// signature_documentation java EpoxyModel modelToInsert +// enclosing_symbol semanticdb maven . . com/airbnb/epoxy/EpoxyAdapter#insertModelBefore(). // ^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/EpoxyModel# // ^^^^^^^^^^^^^^^^^^^ definition local 14 -// documentation ```java\nEpoxyModel modelToInsertBefore\n``` +// display_name modelToInsertBefore +// signature_documentation java EpoxyModel modelToInsertBefore +// enclosing_symbol semanticdb maven . . com/airbnb/epoxy/EpoxyAdapter#insertModelBefore(). int targetIndex = getModelPosition(modelToInsertBefore); // ^^^^^^^^^^^ definition local 15 -// documentation ```java\nint targetIndex\n``` +// display_name targetIndex +// signature_documentation java int targetIndex +// enclosing_symbol semanticdb maven . . com/airbnb/epoxy/EpoxyAdapter#insertModelBefore(). +// kind Variable // ^^^^^^^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/BaseEpoxyAdapter#getModelPosition(). // ^^^^^^^^^^^^^^^^^^^ reference local 14 if (targetIndex == -1) { @@ -370,18 +439,27 @@ protected void insertModelBefore(EpoxyModel modelToInsert, EpoxyModel mode */ protected void insertModelAfter(EpoxyModel modelToInsert, EpoxyModel modelToInsertAfter) { // ^^^^^^^^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/EpoxyAdapter#insertModelAfter(). -// documentation ```java\nprotected void insertModelAfter(EpoxyModel modelToInsert, EpoxyModel modelToInsertAfter)\n``` +// display_name insertModelAfter +// signature_documentation java protected void insertModelAfter(EpoxyModel modelToInsert, EpoxyModel modelToInsertAfter) +// kind Method // documentation Inserts the given model after the other in the {@link #models} list, and notifies that the item\n was inserted.\n // relationship is_reference is_implementation semanticdb maven . . com/airbnb/epoxy/SimpleEpoxyAdapter#insertModelAfter(). // ^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/EpoxyModel# // ^^^^^^^^^^^^^ definition local 16 -// documentation ```java\nEpoxyModel modelToInsert\n``` +// display_name modelToInsert +// signature_documentation java EpoxyModel modelToInsert +// enclosing_symbol semanticdb maven . . com/airbnb/epoxy/EpoxyAdapter#insertModelAfter(). // ^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/EpoxyModel# // ^^^^^^^^^^^^^^^^^^ definition local 17 -// documentation ```java\nEpoxyModel modelToInsertAfter\n``` +// display_name modelToInsertAfter +// signature_documentation java EpoxyModel modelToInsertAfter +// enclosing_symbol semanticdb maven . . com/airbnb/epoxy/EpoxyAdapter#insertModelAfter(). int modelIndex = getModelPosition(modelToInsertAfter); // ^^^^^^^^^^ definition local 18 -// documentation ```java\nint modelIndex\n``` +// display_name modelIndex +// signature_documentation java int modelIndex +// enclosing_symbol semanticdb maven . . com/airbnb/epoxy/EpoxyAdapter#insertModelAfter(). +// kind Variable // ^^^^^^^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/BaseEpoxyAdapter#getModelPosition(). // ^^^^^^^^^^^^^^^^^^ reference local 17 if (modelIndex == -1) { @@ -393,7 +471,10 @@ protected void insertModelAfter(EpoxyModel modelToInsert, EpoxyModel model int targetIndex = modelIndex + 1; // ^^^^^^^^^^^ definition local 19 -// documentation ```java\nint targetIndex\n``` +// display_name targetIndex +// signature_documentation java int targetIndex +// enclosing_symbol semanticdb maven . . com/airbnb/epoxy/EpoxyAdapter#insertModelAfter(). +// kind Variable // ^^^^^^^^^^ reference local 18 pauseModelListNotifications(); // ^^^^^^^^^^^^^^^^^^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/EpoxyAdapter#pauseModelListNotifications(). @@ -416,15 +497,22 @@ protected void insertModelAfter(EpoxyModel modelToInsert, EpoxyModel model */ protected void removeModel(EpoxyModel model) { // ^^^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/EpoxyAdapter#removeModel(). -// documentation ```java\nprotected void removeModel(EpoxyModel model)\n``` +// display_name removeModel +// signature_documentation java protected void removeModel(EpoxyModel model) +// kind Method // documentation If the given model exists it is removed and an item removal is notified. Otherwise this does\n nothing.\n // relationship is_reference is_implementation semanticdb maven . . com/airbnb/epoxy/SimpleEpoxyAdapter#removeModel(). // ^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/EpoxyModel# // ^^^^^ definition local 20 -// documentation ```java\nEpoxyModel model\n``` +// display_name model +// signature_documentation java EpoxyModel model +// enclosing_symbol semanticdb maven . . com/airbnb/epoxy/EpoxyAdapter#removeModel(). int index = getModelPosition(model); // ^^^^^ definition local 21 -// documentation ```java\nint index\n``` +// display_name index +// signature_documentation java int index +// enclosing_symbol semanticdb maven . . com/airbnb/epoxy/EpoxyAdapter#removeModel(). +// kind Variable // ^^^^^^^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/BaseEpoxyAdapter#getModelPosition(). // ^^^^^ reference local 20 if (index != -1) { @@ -449,12 +537,17 @@ protected void removeModel(EpoxyModel model) { */ protected void removeAllModels() { // ^^^^^^^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/EpoxyAdapter#removeAllModels(). -// documentation ```java\nprotected void removeAllModels()\n``` +// display_name removeAllModels +// signature_documentation java protected void removeAllModels() +// kind Method // documentation Removes all models\n // relationship is_reference is_implementation semanticdb maven . . com/airbnb/epoxy/SimpleEpoxyAdapter#removeAllModels(). int numModelsRemoved = models.size(); // ^^^^^^^^^^^^^^^^ definition local 22 -// documentation ```java\nint numModelsRemoved\n``` +// display_name numModelsRemoved +// signature_documentation java int numModelsRemoved +// enclosing_symbol semanticdb maven . . com/airbnb/epoxy/EpoxyAdapter#removeAllModels(). +// kind Variable // ^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/EpoxyAdapter#models. // ^^^^ reference semanticdb maven jdk 11 java/util/List#size(). @@ -478,27 +571,40 @@ protected void removeAllModels() { */ protected void removeAllAfterModel(EpoxyModel model) { // ^^^^^^^^^^^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/EpoxyAdapter#removeAllAfterModel(). -// documentation ```java\nprotected void removeAllAfterModel(EpoxyModel model)\n``` +// display_name removeAllAfterModel +// signature_documentation java protected void removeAllAfterModel(EpoxyModel model) +// kind Method // documentation Removes all models after the given model, which must have already been added. An example use\n case is you want to keep a header but clear everything else, like in the case of refreshing\n data.\n // relationship is_reference is_implementation semanticdb maven . . com/airbnb/epoxy/SimpleEpoxyAdapter#removeAllAfterModel(). // ^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/EpoxyModel# // ^^^^^ definition local 23 -// documentation ```java\nEpoxyModel model\n``` +// display_name model +// signature_documentation java EpoxyModel model +// enclosing_symbol semanticdb maven . . com/airbnb/epoxy/EpoxyAdapter#removeAllAfterModel(). List> modelsToRemove = getAllModelsAfter(model); // ^^^^ reference semanticdb maven jdk 11 java/util/List# // ^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/EpoxyModel# // ^^^^^^^^^^^^^^ definition local 24 -// documentation ```java\nList> modelsToRemove\n``` +// display_name modelsToRemove +// signature_documentation java List> modelsToRemove +// enclosing_symbol semanticdb maven . . com/airbnb/epoxy/EpoxyAdapter#removeAllAfterModel(). +// kind Variable // ^^^^^^^^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/EpoxyAdapter#getAllModelsAfter(). // ^^^^^ reference local 23 int numModelsRemoved = modelsToRemove.size(); // ^^^^^^^^^^^^^^^^ definition local 25 -// documentation ```java\nint numModelsRemoved\n``` +// display_name numModelsRemoved +// signature_documentation java int numModelsRemoved +// enclosing_symbol semanticdb maven . . com/airbnb/epoxy/EpoxyAdapter#removeAllAfterModel(). +// kind Variable // ^^^^^^^^^^^^^^ reference local 24 // ^^^^ reference semanticdb maven jdk 11 java/util/List#size(). int initialModelCount = models.size(); // ^^^^^^^^^^^^^^^^^ definition local 26 -// documentation ```java\nint initialModelCount\n``` +// display_name initialModelCount +// signature_documentation java int initialModelCount +// enclosing_symbol semanticdb maven . . com/airbnb/epoxy/EpoxyAdapter#removeAllAfterModel(). +// kind Variable // ^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/EpoxyAdapter#models. // ^^^^ reference semanticdb maven jdk 11 java/util/List#size(). @@ -527,14 +633,20 @@ protected void removeAllAfterModel(EpoxyModel model) { */ protected void showModel(EpoxyModel model, boolean show) { // ^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/EpoxyAdapter#showModel(). -// documentation ```java\nprotected void showModel(EpoxyModel model, boolean show)\n``` +// display_name showModel +// signature_documentation java protected void showModel(EpoxyModel model, boolean show) +// kind Method // documentation Sets the visibility of the given model, and notifies that the item changed if the new\n visibility is different from the previous.\n\n @param model The model to show. It should already be added to the {@link #models} list.\n @param show True to show the model, false to hide it.\n // relationship is_reference is_implementation semanticdb maven . . com/airbnb/epoxy/SimpleEpoxyAdapter#showModel(). // ^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/EpoxyModel# // ^^^^^ definition local 27 -// documentation ```java\nEpoxyModel model\n``` +// display_name model +// signature_documentation java EpoxyModel model +// enclosing_symbol semanticdb maven . . com/airbnb/epoxy/EpoxyAdapter#showModel(). // ^^^^ definition local 28 -// documentation ```java\nboolean show\n``` +// display_name show +// signature_documentation java boolean show +// enclosing_symbol semanticdb maven . . com/airbnb/epoxy/EpoxyAdapter#showModel(). if (model.isShown() == show) { // ^^^^^ reference local 27 // ^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/EpoxyModel#isShown(). @@ -558,12 +670,16 @@ protected void showModel(EpoxyModel model, boolean show) { */ protected void showModel(EpoxyModel model) { // ^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/EpoxyAdapter#showModel(+1). -// documentation ```java\nprotected void showModel(EpoxyModel model)\n``` +// display_name showModel +// signature_documentation java protected void showModel(EpoxyModel model) +// kind Method // documentation Shows the given model, and notifies that the item changed if the item wasn't already shown.\n\n @param model The model to show. It should already be added to the {@link #models} list.\n // relationship is_reference is_implementation semanticdb maven . . com/airbnb/epoxy/SimpleEpoxyAdapter#showModel(+1). // ^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/EpoxyModel# // ^^^^^ definition local 29 -// documentation ```java\nEpoxyModel model\n``` +// display_name model +// signature_documentation java EpoxyModel model +// enclosing_symbol semanticdb maven . . com/airbnb/epoxy/EpoxyAdapter#showModel(+1). showModel(model, true); // ^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/EpoxyAdapter#showModel(). // ^^^^^ reference local 29 @@ -576,12 +692,16 @@ protected void showModel(EpoxyModel model) { */ protected void showModels(EpoxyModel... models) { // ^^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/EpoxyAdapter#showModels(). -// documentation ```java\nprotected void showModels(EpoxyModel[] models)\n``` +// display_name showModels +// signature_documentation java protected void showModels(EpoxyModel[] models) +// kind Method // documentation Shows the given models, and notifies that each item changed if the item wasn't already shown.\n\n @param models The models to show. They should already be added to the {@link #models} list.\n // relationship is_reference is_implementation semanticdb maven . . com/airbnb/epoxy/SimpleEpoxyAdapter#showModels(). // ^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/EpoxyModel# // ^^^^^^ definition local 30 -// documentation ```java\nEpoxyModel[] models\n``` +// display_name models +// signature_documentation java EpoxyModel[] models +// enclosing_symbol semanticdb maven . . com/airbnb/epoxy/EpoxyAdapter#showModels(). showModels(Arrays.asList(models)); // ^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/EpoxyAdapter#showModels(+2). // ^^^^^^ reference semanticdb maven jdk 11 java/util/Arrays# @@ -598,14 +718,20 @@ protected void showModels(EpoxyModel... models) { */ protected void showModels(boolean show, EpoxyModel... models) { // ^^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/EpoxyAdapter#showModels(+1). -// documentation ```java\nprotected void showModels(boolean show, EpoxyModel[] models)\n``` +// display_name showModels +// signature_documentation java protected void showModels(boolean show, EpoxyModel[] models) +// kind Method // documentation Sets the visibility of the given models, and notifies that the items changed if the new\n visibility is different from the previous.\n\n @param models The models to show. They should already be added to the {@link #models} list.\n @param show True to show the models, false to hide them.\n // relationship is_reference is_implementation semanticdb maven . . com/airbnb/epoxy/SimpleEpoxyAdapter#showModels(+1). // ^^^^ definition local 31 -// documentation ```java\nboolean show\n``` +// display_name show +// signature_documentation java boolean show +// enclosing_symbol semanticdb maven . . com/airbnb/epoxy/EpoxyAdapter#showModels(+1). // ^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/EpoxyModel# // ^^^^^^ definition local 32 -// documentation ```java\nEpoxyModel[] models\n``` +// display_name models +// signature_documentation java EpoxyModel[] models +// enclosing_symbol semanticdb maven . . com/airbnb/epoxy/EpoxyAdapter#showModels(+1). showModels(Arrays.asList(models), show); // ^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/EpoxyAdapter#showModels(+3). // ^^^^^^ reference semanticdb maven jdk 11 java/util/Arrays# @@ -621,13 +747,17 @@ protected void showModels(boolean show, EpoxyModel... models) { */ protected void showModels(Iterable> models) { // ^^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/EpoxyAdapter#showModels(+2). -// documentation ```java\nprotected void showModels(Iterable> models)\n``` +// display_name showModels +// signature_documentation java protected void showModels(Iterable> models) +// kind Method // documentation Shows the given models, and notifies that each item changed if the item wasn't already shown.\n\n @param models The models to show. They should already be added to the {@link #models} list.\n // relationship is_reference is_implementation semanticdb maven . . com/airbnb/epoxy/SimpleEpoxyAdapter#showModels(+2). // ^^^^^^^^ reference semanticdb maven jdk 11 java/lang/Iterable# // ^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/EpoxyModel# // ^^^^^^ definition local 33 -// documentation ```java\nIterable> models\n``` +// display_name models +// signature_documentation java Iterable> models +// enclosing_symbol semanticdb maven . . com/airbnb/epoxy/EpoxyAdapter#showModels(+2). showModels(models, true); // ^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/EpoxyAdapter#showModels(+3). // ^^^^^^ reference local 33 @@ -642,19 +772,28 @@ protected void showModels(Iterable> models) { */ protected void showModels(Iterable> models, boolean show) { // ^^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/EpoxyAdapter#showModels(+3). -// documentation ```java\nprotected void showModels(Iterable> models, boolean show)\n``` +// display_name showModels +// signature_documentation java protected void showModels(Iterable> models, boolean show) +// kind Method // documentation Sets the visibility of the given models, and notifies that the items changed if the new\n visibility is different from the previous.\n\n @param models The models to show. They should already be added to the {@link #models} list.\n @param show True to show the models, false to hide them.\n // relationship is_reference is_implementation semanticdb maven . . com/airbnb/epoxy/SimpleEpoxyAdapter#showModels(+3). // ^^^^^^^^ reference semanticdb maven jdk 11 java/lang/Iterable# // ^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/EpoxyModel# // ^^^^^^ definition local 34 -// documentation ```java\nIterable> models\n``` +// display_name models +// signature_documentation java Iterable> models +// enclosing_symbol semanticdb maven . . com/airbnb/epoxy/EpoxyAdapter#showModels(+3). // ^^^^ definition local 35 -// documentation ```java\nboolean show\n``` +// display_name show +// signature_documentation java boolean show +// enclosing_symbol semanticdb maven . . com/airbnb/epoxy/EpoxyAdapter#showModels(+3). for (EpoxyModel model : models) { // ^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/EpoxyModel# // ^^^^^ definition local 36 -// documentation ```java\nEpoxyModel model\n``` +// display_name model +// signature_documentation java EpoxyModel model +// enclosing_symbol semanticdb maven . . com/airbnb/epoxy/EpoxyAdapter#showModels(+3). +// kind Variable // ^^^^^^ reference local 34 showModel(model, show); // ^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/EpoxyAdapter#showModel(). @@ -670,12 +809,16 @@ protected void showModels(Iterable> models, boolean show) { */ protected void hideModel(EpoxyModel model) { // ^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/EpoxyAdapter#hideModel(). -// documentation ```java\nprotected void hideModel(EpoxyModel model)\n``` +// display_name hideModel +// signature_documentation java protected void hideModel(EpoxyModel model) +// kind Method // documentation Hides the given model, and notifies that the item changed if the item wasn't already hidden.\n\n @param model The model to hide. This should already be added to the {@link #models} list.\n // relationship is_reference is_implementation semanticdb maven . . com/airbnb/epoxy/SimpleEpoxyAdapter#hideModel(). // ^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/EpoxyModel# // ^^^^^ definition local 37 -// documentation ```java\nEpoxyModel model\n``` +// display_name model +// signature_documentation java EpoxyModel model +// enclosing_symbol semanticdb maven . . com/airbnb/epoxy/EpoxyAdapter#hideModel(). showModel(model, false); // ^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/EpoxyAdapter#showModel(). // ^^^^^ reference local 37 @@ -688,13 +831,17 @@ protected void hideModel(EpoxyModel model) { */ protected void hideModels(Iterable> models) { // ^^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/EpoxyAdapter#hideModels(). -// documentation ```java\nprotected void hideModels(Iterable> models)\n``` +// display_name hideModels +// signature_documentation java protected void hideModels(Iterable> models) +// kind Method // documentation Hides the given models, and notifies that each item changed if the item wasn't already hidden.\n\n @param models The models to hide. They should already be added to the {@link #models} list.\n // relationship is_reference is_implementation semanticdb maven . . com/airbnb/epoxy/SimpleEpoxyAdapter#hideModels(). // ^^^^^^^^ reference semanticdb maven jdk 11 java/lang/Iterable# // ^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/EpoxyModel# // ^^^^^^ definition local 38 -// documentation ```java\nIterable> models\n``` +// display_name models +// signature_documentation java Iterable> models +// enclosing_symbol semanticdb maven . . com/airbnb/epoxy/EpoxyAdapter#hideModels(). showModels(models, false); // ^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/EpoxyAdapter#showModels(+3). // ^^^^^^ reference local 38 @@ -707,12 +854,16 @@ protected void hideModels(Iterable> models) { */ protected void hideModels(EpoxyModel... models) { // ^^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/EpoxyAdapter#hideModels(+1). -// documentation ```java\nprotected void hideModels(EpoxyModel[] models)\n``` +// display_name hideModels +// signature_documentation java protected void hideModels(EpoxyModel[] models) +// kind Method // documentation Hides the given models, and notifies that each item changed if the item wasn't already hidden.\n\n @param models The models to hide. They should already be added to the {@link #models} list.\n // relationship is_reference is_implementation semanticdb maven . . com/airbnb/epoxy/SimpleEpoxyAdapter#hideModels(+1). // ^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/EpoxyModel# // ^^^^^^ definition local 39 -// documentation ```java\nEpoxyModel[] models\n``` +// display_name models +// signature_documentation java EpoxyModel[] models +// enclosing_symbol semanticdb maven . . com/airbnb/epoxy/EpoxyAdapter#hideModels(+1). hideModels(Arrays.asList(models)); // ^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/EpoxyAdapter#hideModels(). // ^^^^^^ reference semanticdb maven jdk 11 java/util/Arrays# @@ -727,12 +878,16 @@ protected void hideModels(EpoxyModel... models) { */ protected void hideAllAfterModel(EpoxyModel model) { // ^^^^^^^^^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/EpoxyAdapter#hideAllAfterModel(). -// documentation ```java\nprotected void hideAllAfterModel(EpoxyModel model)\n``` +// display_name hideAllAfterModel +// signature_documentation java protected void hideAllAfterModel(EpoxyModel model) +// kind Method // documentation Hides all models currently located after the given model in the {@link #models} list.\n\n @param model The model after which to hide. It must exist in the {@link #models} list.\n // relationship is_reference is_implementation semanticdb maven . . com/airbnb/epoxy/SimpleEpoxyAdapter#hideAllAfterModel(). // ^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/EpoxyModel# // ^^^^^ definition local 40 -// documentation ```java\nEpoxyModel model\n``` +// display_name model +// signature_documentation java EpoxyModel model +// enclosing_symbol semanticdb maven . . com/airbnb/epoxy/EpoxyAdapter#hideAllAfterModel(). hideModels(getAllModelsAfter(model)); // ^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/EpoxyAdapter#hideModels(). // ^^^^^^^^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/EpoxyAdapter#getAllModelsAfter(). @@ -750,15 +905,22 @@ protected List> getAllModelsAfter(EpoxyModel model) { // ^^^^ reference semanticdb maven jdk 11 java/util/List# // ^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/EpoxyModel# // ^^^^^^^^^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/EpoxyAdapter#getAllModelsAfter(). -// documentation ```java\nprotected List> getAllModelsAfter(EpoxyModel model)\n``` +// display_name getAllModelsAfter +// signature_documentation java protected List> getAllModelsAfter(EpoxyModel model) +// kind Method // documentation Returns a sub list of all items in {@link #models} that occur after the given model. This list\n is backed by the original models list, any changes to the returned list will be reflected in\n the original {@link #models} list.\n\n @param model Must exist in {@link #models}.\n // relationship is_reference is_implementation semanticdb maven . . com/airbnb/epoxy/SimpleEpoxyAdapter#getAllModelsAfter(). // ^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/EpoxyModel# // ^^^^^ definition local 41 -// documentation ```java\nEpoxyModel model\n``` +// display_name model +// signature_documentation java EpoxyModel model +// enclosing_symbol semanticdb maven . . com/airbnb/epoxy/EpoxyAdapter#getAllModelsAfter(). int index = getModelPosition(model); // ^^^^^ definition local 42 -// documentation ```java\nint index\n``` +// display_name index +// signature_documentation java int index +// enclosing_symbol semanticdb maven . . com/airbnb/epoxy/EpoxyAdapter#getAllModelsAfter(). +// kind Variable // ^^^^^^^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/BaseEpoxyAdapter#getModelPosition(). // ^^^^^ reference local 41 if (index == -1) { @@ -782,7 +944,9 @@ protected List> getAllModelsAfter(EpoxyModel model) { */ private void pauseModelListNotifications() { // ^^^^^^^^^^^^^^^^^^^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/EpoxyAdapter#pauseModelListNotifications(). -// documentation ```java\nprivate void pauseModelListNotifications()\n``` +// display_name pauseModelListNotifications +// signature_documentation java private void pauseModelListNotifications() +// kind Method // documentation We pause the list's notifications when we modify models internally, since we already do the\n proper adapter notifications for those modifications. By pausing these list notifications we\n prevent the differ having to do work to track them.\n ((ModelList) models).pauseNotifications(); // ^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/ModelList# @@ -792,7 +956,9 @@ private void pauseModelListNotifications() { private void resumeModelListNotifications() { // ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/EpoxyAdapter#resumeModelListNotifications(). -// documentation ```java\nprivate void resumeModelListNotifications()\n``` +// display_name resumeModelListNotifications +// signature_documentation java private void resumeModelListNotifications() +// kind Method ((ModelList) models).resumeNotifications(); // ^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/ModelList# // ^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/EpoxyAdapter#models. diff --git a/tests/snapshots/src/main/generated/com/airbnb/epoxy/EpoxyAsyncUtil.java b/tests/snapshots/src/main/generated/com/airbnb/epoxy/EpoxyAsyncUtil.java index 7699b8fb5..dfc62c92d 100644 --- a/tests/snapshots/src/main/generated/com/airbnb/epoxy/EpoxyAsyncUtil.java +++ b/tests/snapshots/src/main/generated/com/airbnb/epoxy/EpoxyAsyncUtil.java @@ -36,11 +36,15 @@ */ public final class EpoxyAsyncUtil { // ^^^^^^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/EpoxyAsyncUtil# -// documentation ```java\npublic final class EpoxyAsyncUtil\n``` +// display_name EpoxyAsyncUtil +// signature_documentation java public final class EpoxyAsyncUtil +// kind Class // documentation Various helpers for running Epoxy operations off the main thread.\n private EpoxyAsyncUtil() { // ^^^^^^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/EpoxyAsyncUtil#``(). -// documentation ```java\nprivate EpoxyAsyncUtil()\n``` +// display_name +// signature_documentation java private EpoxyAsyncUtil() +// kind Constructor } /** @@ -49,7 +53,9 @@ private EpoxyAsyncUtil() { public static final Handler MAIN_THREAD_HANDLER = // ^^^^^^^ reference semanticdb maven . . Handler# // ^^^^^^^^^^^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/EpoxyAsyncUtil#MAIN_THREAD_HANDLER. -// documentation ```java\npublic static final unresolved_type MAIN_THREAD_HANDLER\n``` +// display_name MAIN_THREAD_HANDLER +// signature_documentation java public static final unresolved_type MAIN_THREAD_HANDLER +// kind StaticField // documentation A Handler class that uses the main thread's Looper.\n createHandler(Looper.getMainLooper(), false); // ^^^^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/EpoxyAsyncUtil#createHandler(). @@ -64,7 +70,9 @@ private EpoxyAsyncUtil() { public static final Handler AYSNC_MAIN_THREAD_HANDLER = // ^^^^^^^ reference semanticdb maven . . Handler# // ^^^^^^^^^^^^^^^^^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/EpoxyAsyncUtil#AYSNC_MAIN_THREAD_HANDLER. -// documentation ```java\npublic static final unresolved_type AYSNC_MAIN_THREAD_HANDLER\n``` +// display_name AYSNC_MAIN_THREAD_HANDLER +// signature_documentation java public static final unresolved_type AYSNC_MAIN_THREAD_HANDLER +// kind StaticField // documentation A Handler class that uses the main thread's Looper. Additionally, this handler calls\n {@link Message#setAsynchronous(boolean)} for\n each {@link Message} that is sent to it or {@link Runnable} that is posted to it\n createHandler(Looper.getMainLooper(), true); // ^^^^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/EpoxyAsyncUtil#createHandler(). @@ -74,7 +82,9 @@ private EpoxyAsyncUtil() { private static Handler asyncBackgroundHandler; // ^^^^^^^ reference semanticdb maven . . Handler# // ^^^^^^^^^^^^^^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/EpoxyAsyncUtil#asyncBackgroundHandler. -// documentation ```java\nprivate static unresolved_type asyncBackgroundHandler\n``` +// display_name asyncBackgroundHandler +// signature_documentation java private static unresolved_type asyncBackgroundHandler +// kind StaticField /** * A Handler class that uses a separate background thread dedicated to Epoxy. Additionally, @@ -86,7 +96,9 @@ private EpoxyAsyncUtil() { public static Handler getAsyncBackgroundHandler() { // ^^^^^^^ reference semanticdb maven . . Handler# // ^^^^^^^^^^^^^^^^^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/EpoxyAsyncUtil#getAsyncBackgroundHandler(). -// documentation ```java\n@MainThread\npublic static unresolved_type getAsyncBackgroundHandler()\n``` +// display_name getAsyncBackgroundHandler +// signature_documentation java @MainThread\npublic static unresolved_type getAsyncBackgroundHandler() +// kind StaticMethod // documentation A Handler class that uses a separate background thread dedicated to Epoxy. Additionally,\n this handler calls {@link Message#setAsynchronous(boolean)} for\n each {@link Message} that is sent to it or {@link Runnable} that is posted to it\n // This is initialized lazily so we don't create the thread unless it will be used. // It isn't synchronized so it should only be accessed on the main thread. @@ -111,13 +123,19 @@ public static Handler getAsyncBackgroundHandler() { public static Handler createHandler(Looper looper, boolean async) { // ^^^^^^^ reference semanticdb maven . . Handler# // ^^^^^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/EpoxyAsyncUtil#createHandler(). -// documentation ```java\npublic static unresolved_type createHandler(unresolved_type looper, boolean async)\n``` +// display_name createHandler +// signature_documentation java public static unresolved_type createHandler(unresolved_type looper, boolean async) +// kind StaticMethod // documentation Create a Handler with the given Looper\n\n @param async If true the Handler will calls {@link Message#setAsynchronous(boolean)} for\n each {@link Message} that is sent to it or {@link Runnable} that is posted to it.\n // ^^^^^^ reference semanticdb maven . . Looper# // ^^^^^^ definition local 0 -// documentation ```java\nunresolved_type looper\n``` +// display_name looper +// signature_documentation java unresolved_type looper +// enclosing_symbol semanticdb maven . . com/airbnb/epoxy/EpoxyAsyncUtil#createHandler(). // ^^^^^ definition local 1 -// documentation ```java\nboolean async\n``` +// display_name async +// signature_documentation java boolean async +// enclosing_symbol semanticdb maven . . com/airbnb/epoxy/EpoxyAsyncUtil#createHandler(). if (!async) { // ^^^^^ reference local 1 return new Handler(looper); @@ -157,7 +175,9 @@ public static Handler createHandler(Looper looper, boolean async) { } catch (Throwable ignored) { // ^^^^^^^^^ reference semanticdb maven jdk 11 java/lang/Throwable# // ^^^^^^^ definition local 2 -// documentation ```java\nThrowable ignored\n``` +// display_name ignored +// signature_documentation java Throwable ignored +// enclosing_symbol semanticdb maven . . com/airbnb/epoxy/EpoxyAsyncUtil#createHandler(). } } @@ -171,15 +191,22 @@ public static Handler createHandler(Looper looper, boolean async) { public static Looper buildBackgroundLooper(String threadName) { // ^^^^^^ reference semanticdb maven . . Looper# // ^^^^^^^^^^^^^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/EpoxyAsyncUtil#buildBackgroundLooper(). -// documentation ```java\npublic static unresolved_type buildBackgroundLooper(String threadName)\n``` +// display_name buildBackgroundLooper +// signature_documentation java public static unresolved_type buildBackgroundLooper(String threadName) +// kind StaticMethod // documentation Create a new looper that runs on a new background thread.\n // ^^^^^^ reference semanticdb maven jdk 11 java/lang/String# // ^^^^^^^^^^ definition local 3 -// documentation ```java\nString threadName\n``` +// display_name threadName +// signature_documentation java String threadName +// enclosing_symbol semanticdb maven . . com/airbnb/epoxy/EpoxyAsyncUtil#buildBackgroundLooper(). HandlerThread handlerThread = new HandlerThread(threadName); // ^^^^^^^^^^^^^ reference semanticdb maven . . HandlerThread# // ^^^^^^^^^^^^^ definition local 4 -// documentation ```java\nunresolved_type handlerThread\n``` +// display_name handlerThread +// signature_documentation java unresolved_type handlerThread +// enclosing_symbol semanticdb maven . . com/airbnb/epoxy/EpoxyAsyncUtil#buildBackgroundLooper(). +// kind Variable // ^^^^^^^^^^ reference local 3 handlerThread.start(); // ^^^^^^^^^^^^^ reference local 4 diff --git a/tests/snapshots/src/main/generated/com/airbnb/epoxy/EpoxyController.java b/tests/snapshots/src/main/generated/com/airbnb/epoxy/EpoxyController.java index 00b2ae544..b6eb6e1b4 100644 --- a/tests/snapshots/src/main/generated/com/airbnb/epoxy/EpoxyController.java +++ b/tests/snapshots/src/main/generated/com/airbnb/epoxy/EpoxyController.java @@ -113,7 +113,9 @@ */ public abstract class EpoxyController implements ModelCollector, StickyHeaderCallbacks { // ^^^^^^^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/EpoxyController# -// documentation ```java\npublic abstract class EpoxyController\n``` +// display_name EpoxyController +// signature_documentation java public abstract class EpoxyController +// kind Class // documentation A controller for easily combining {@link EpoxyModel} instances in a {@link RecyclerView.Adapter}.\n Simply implement {@link #buildModels()} to declare which models should be used, and in which\n order. Call {@link #requestModelBuild()} whenever your data changes, and the controller will call\n {@link #buildModels()}, update the adapter with the new models, and notify any changes between\n the new and old models.\n

\n The controller maintains a {@link androidx.recyclerview.widget.RecyclerView.Adapter} with the\n latest models, which you can get via {@link #getAdapter()} to set on your RecyclerView.\n

\n All data change notifications are applied automatically via Epoxy's diffing algorithm. All of\n your models must have a unique id set on them for diffing to work. You may choose to use {@link\n AutoModel} annotations to have the controller create models with unique ids for you\n automatically.\n

\n Once a model is created and added to the controller in {@link #buildModels()} it should be\n treated as immutable and never modified again. This is necessary for adapter updates to be\n accurate.\n // relationship is_implementation semanticdb maven . . ModelCollector# // relationship is_implementation semanticdb maven . . StickyHeaderCallbacks# @@ -129,50 +131,70 @@ public abstract class EpoxyController implements ModelCollector, StickyHeaderCal */ private static final int DELAY_TO_CHECK_ADAPTER_COUNT_MS = 3000; // ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/EpoxyController#DELAY_TO_CHECK_ADAPTER_COUNT_MS. -// documentation ```java\nprivate static final int DELAY_TO_CHECK_ADAPTER_COUNT_MS\n``` +// display_name DELAY_TO_CHECK_ADAPTER_COUNT_MS +// signature_documentation java private static final int DELAY_TO_CHECK_ADAPTER_COUNT_MS +// kind StaticField // documentation We check that the adapter is not connected to multiple recyclerviews, but when a fragment has\n its view quickly destroyed and recreated it may temporarily attach the same adapter to the\n previous view and the new view (eg because of fragment transitions) if the controller is reused\n across views. We want to allow this case since it is a brief transient state. This should be\n enough time for screen transitions to happen.\n private static final Timer NO_OP_TIMER = new NoOpTimer(); // ^^^^^ reference semanticdb maven . . com/airbnb/epoxy/Timer# // ^^^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/EpoxyController#NO_OP_TIMER. -// documentation ```java\nprivate static final Timer NO_OP_TIMER\n``` +// display_name NO_OP_TIMER +// signature_documentation java private static final Timer NO_OP_TIMER +// kind StaticField // ^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/NoOpTimer#``(). public static Handler defaultModelBuildingHandler = MainThreadExecutor.INSTANCE.handler; // ^^^^^^^ reference semanticdb maven . . Handler# // ^^^^^^^^^^^^^^^^^^^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/EpoxyController#defaultModelBuildingHandler. -// documentation ```java\npublic static unresolved_type defaultModelBuildingHandler\n``` +// display_name defaultModelBuildingHandler +// signature_documentation java public static unresolved_type defaultModelBuildingHandler +// kind StaticField // ^^^^^^^^^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/MainThreadExecutor# // ^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/MainThreadExecutor#INSTANCE. // ^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/HandlerExecutor#handler. public static Handler defaultDiffingHandler = MainThreadExecutor.INSTANCE.handler; // ^^^^^^^ reference semanticdb maven . . Handler# // ^^^^^^^^^^^^^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/EpoxyController#defaultDiffingHandler. -// documentation ```java\npublic static unresolved_type defaultDiffingHandler\n``` +// display_name defaultDiffingHandler +// signature_documentation java public static unresolved_type defaultDiffingHandler +// kind StaticField // ^^^^^^^^^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/MainThreadExecutor# // ^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/MainThreadExecutor#INSTANCE. // ^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/HandlerExecutor#handler. private static boolean filterDuplicatesDefault = false; // ^^^^^^^^^^^^^^^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/EpoxyController#filterDuplicatesDefault. -// documentation ```java\nprivate static boolean filterDuplicatesDefault\n``` +// display_name filterDuplicatesDefault +// signature_documentation java private static boolean filterDuplicatesDefault +// kind StaticField private static boolean globalDebugLoggingEnabled = false; // ^^^^^^^^^^^^^^^^^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/EpoxyController#globalDebugLoggingEnabled. -// documentation ```java\nprivate static boolean globalDebugLoggingEnabled\n``` +// display_name globalDebugLoggingEnabled +// signature_documentation java private static boolean globalDebugLoggingEnabled +// kind StaticField private final EpoxyControllerAdapter adapter; // ^^^^^^^^^^^^^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/EpoxyControllerAdapter# // ^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/EpoxyController#adapter. -// documentation ```java\nprivate final EpoxyControllerAdapter adapter\n``` +// display_name adapter +// signature_documentation java private final EpoxyControllerAdapter adapter +// kind Field private EpoxyDiffLogger debugObserver; // ^^^^^^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/EpoxyDiffLogger# // ^^^^^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/EpoxyController#debugObserver. -// documentation ```java\nprivate EpoxyDiffLogger debugObserver\n``` +// display_name debugObserver +// signature_documentation java private EpoxyDiffLogger debugObserver +// kind Field private int recyclerViewAttachCount = 0; // ^^^^^^^^^^^^^^^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/EpoxyController#recyclerViewAttachCount. -// documentation ```java\nprivate int recyclerViewAttachCount\n``` +// display_name recyclerViewAttachCount +// signature_documentation java private int recyclerViewAttachCount +// kind Field private final Handler modelBuildHandler; // ^^^^^^^ reference semanticdb maven . . Handler# // ^^^^^^^^^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/EpoxyController#modelBuildHandler. -// documentation ```java\nprivate final unresolved_type modelBuildHandler\n``` +// display_name modelBuildHandler +// signature_documentation java private final unresolved_type modelBuildHandler +// kind Field /** * This is iterated over in the build models thread, but items can be inserted or removed from @@ -182,14 +204,18 @@ public abstract class EpoxyController implements ModelCollector, StickyHeaderCal // ^^^^ reference semanticdb maven jdk 11 java/util/List# // ^^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/EpoxyController#Interceptor# // ^^^^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/EpoxyController#interceptors. -// documentation ```java\nprivate final List interceptors\n``` +// display_name interceptors +// signature_documentation java private final List interceptors +// kind Field // documentation This is iterated over in the build models thread, but items can be inserted or removed from\n other threads at any time.\n // ^^^^^^^^^^^^^^^^^^^^ reference semanticdb maven jdk 11 java/util/concurrent/CopyOnWriteArrayList#``(). // Volatile because -> write only on main thread, read from builder thread private volatile boolean filterDuplicates = filterDuplicatesDefault; // ^^^^^^^^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/EpoxyController#filterDuplicates. -// documentation ```java\nprivate boolean filterDuplicates\n``` +// display_name filterDuplicates +// signature_documentation java private boolean filterDuplicates +// kind Field // ^^^^^^^^^^^^^^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/EpoxyController#filterDuplicatesDefault. /** * This is used to track whether we are currently building models. If it is non null it means @@ -201,7 +227,9 @@ public abstract class EpoxyController implements ModelCollector, StickyHeaderCal private volatile Thread threadBuildingModels = null; // ^^^^^^ reference semanticdb maven jdk 11 java/lang/Thread# // ^^^^^^^^^^^^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/EpoxyController#threadBuildingModels. -// documentation ```java\nprivate Thread threadBuildingModels\n``` +// display_name threadBuildingModels +// signature_documentation java private Thread threadBuildingModels +// kind Field // documentation This is used to track whether we are currently building models. If it is non null it means\n a thread is in the building models method. We store the thread so we can know which one\n is building models.\n

\n Volatile because -> write only on handler, read from any thread\n /** * Used to know that we should build models synchronously the first time. @@ -210,7 +238,9 @@ public abstract class EpoxyController implements ModelCollector, StickyHeaderCal */ private volatile boolean hasBuiltModelsEver; // ^^^^^^^^^^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/EpoxyController#hasBuiltModelsEver. -// documentation ```java\nprivate boolean hasBuiltModelsEver\n``` +// display_name hasBuiltModelsEver +// signature_documentation java private boolean hasBuiltModelsEver +// kind Field // documentation Used to know that we should build models synchronously the first time.\n

\n Volatile because -> written from the build models thread, read from the main thread.\n ////////////////////////////////////////////////////////////////////////////////////////// @@ -224,33 +254,45 @@ public abstract class EpoxyController implements ModelCollector, StickyHeaderCal private Timer timer = NO_OP_TIMER; // ^^^^^ reference semanticdb maven . . com/airbnb/epoxy/Timer# // ^^^^^ definition semanticdb maven . . com/airbnb/epoxy/EpoxyController#timer. -// documentation ```java\nprivate Timer timer\n``` +// display_name timer +// signature_documentation java private Timer timer +// kind Field // documentation Used to time operations and log their duration when in debug mode. // ^^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/EpoxyController#NO_OP_TIMER. private final ControllerHelper helper = getHelperForController(this); // ^^^^^^^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/ControllerHelper# // ^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/EpoxyController#helper. -// documentation ```java\nprivate final ControllerHelper helper\n``` +// display_name helper +// signature_documentation java private final ControllerHelper helper +// kind Field // ^^^^^^^^^^^^^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/ControllerHelperLookup#getHelperForController(). private ControllerModelList modelsBeingBuilt; // ^^^^^^^^^^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/ControllerModelList# // ^^^^^^^^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/EpoxyController#modelsBeingBuilt. -// documentation ```java\nprivate ControllerModelList modelsBeingBuilt\n``` +// display_name modelsBeingBuilt +// signature_documentation java private ControllerModelList modelsBeingBuilt +// kind Field private List modelInterceptorCallbacks; // ^^^^ reference semanticdb maven jdk 11 java/util/List# // ^^^^^^^^^^^^^^^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/EpoxyController#ModelInterceptorCallback# // ^^^^^^^^^^^^^^^^^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/EpoxyController#modelInterceptorCallbacks. -// documentation ```java\nprivate List modelInterceptorCallbacks\n``` +// display_name modelInterceptorCallbacks +// signature_documentation java private List modelInterceptorCallbacks +// kind Field private EpoxyModel stagedModel; // ^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/EpoxyModel# // ^^^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/EpoxyController#stagedModel. -// documentation ```java\nprivate EpoxyModel stagedModel\n``` +// display_name stagedModel +// signature_documentation java private EpoxyModel stagedModel +// kind Field ////////////////////////////////////////////////////////////////////////////////////////// public EpoxyController() { // ^^^^^^^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/EpoxyController#``(). -// documentation ```java\npublic EpoxyController()\n``` +// display_name +// signature_documentation java public EpoxyController() +// kind Constructor this(defaultModelBuildingHandler, defaultDiffingHandler); // ^^^^ reference semanticdb maven . . com/airbnb/epoxy/EpoxyController#``(+1). // ^^^^^^^^^^^^^^^^^^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/EpoxyController#defaultModelBuildingHandler. @@ -259,13 +301,19 @@ public EpoxyController() { public EpoxyController(Handler modelBuildingHandler, Handler diffingHandler) { // ^^^^^^^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/EpoxyController#``(+1). -// documentation ```java\npublic EpoxyController(unresolved_type modelBuildingHandler, unresolved_type diffingHandler)\n``` +// display_name +// signature_documentation java public EpoxyController(unresolved_type modelBuildingHandler, unresolved_type diffingHandler) +// kind Constructor // ^^^^^^^ reference semanticdb maven . . Handler# // ^^^^^^^^^^^^^^^^^^^^ definition local 0 -// documentation ```java\nunresolved_type modelBuildingHandler\n``` +// display_name modelBuildingHandler +// signature_documentation java unresolved_type modelBuildingHandler +// enclosing_symbol semanticdb maven . . com/airbnb/epoxy/EpoxyController#``(+1). // ^^^^^^^ reference semanticdb maven . . Handler# // ^^^^^^^^^^^^^^ definition local 1 -// documentation ```java\nunresolved_type diffingHandler\n``` +// display_name diffingHandler +// signature_documentation java unresolved_type diffingHandler +// enclosing_symbol semanticdb maven . . com/airbnb/epoxy/EpoxyController#``(+1). adapter = new EpoxyControllerAdapter(this, diffingHandler); // ^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/EpoxyController#adapter. // ^^^^^^^^^^^^^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/EpoxyControllerAdapter#``(). @@ -288,7 +336,9 @@ public EpoxyController(Handler modelBuildingHandler, Handler diffingHandler) { @RequestedModelBuildType private volatile int requestedModelBuildType = // ^^^^^^^^^^^^^^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/EpoxyController#RequestedModelBuildType# // ^^^^^^^^^^^^^^^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/EpoxyController#requestedModelBuildType. -// documentation ```java\n@RequestedModelBuildType\nprivate int requestedModelBuildType\n``` +// display_name requestedModelBuildType +// signature_documentation java @RequestedModelBuildType\nprivate int requestedModelBuildType +// kind Field // documentation Posting and canceling runnables is a bit expensive - it is synchronizes and iterates the\n list of runnables. We want clients to be able to request model builds as often as they want and\n have it act as a no-op if one is already requested, without being a performance hit. To do that\n we track whether we have a call to build models posted already so we can avoid canceling a\n current call and posting it again.\n RequestedModelBuildType.NONE; // ^^^^^^^^^^^^^^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/EpoxyController#RequestedModelBuildType# @@ -301,7 +351,9 @@ public EpoxyController(Handler modelBuildingHandler, Handler diffingHandler) { @IntDef({RequestedModelBuildType.NONE, // ^^^^^^ reference semanticdb maven maven/androidx.annotation/annotation 1.1.0 androidx/annotation/IntDef# // ^^^^^^^^^^^^^^^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/EpoxyController#RequestedModelBuildType# -// documentation ```java\n@Retention(RetentionPolicy.SOURCE)\n@IntDef({RequestedModelBuildType.NONE, RequestedModelBuildType.NEXT_FRAME, RequestedModelBuildType.DELAYED})\nprivate @interface RequestedModelBuildType\n``` +// display_name RequestedModelBuildType +// signature_documentation java @Retention(RetentionPolicy.SOURCE)\n@IntDef({RequestedModelBuildType.NONE, RequestedModelBuildType.NEXT_FRAME, RequestedModelBuildType.DELAYED})\nprivate @interface RequestedModelBuildType +// kind Interface // relationship is_implementation semanticdb maven jdk 11 java/lang/annotation/Annotation# // ^^^^^^^^^^^^^^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/EpoxyController#RequestedModelBuildType# // ^^^^ reference semanticdb maven . . com/airbnb/epoxy/EpoxyController#RequestedModelBuildType#NONE. @@ -314,16 +366,22 @@ public EpoxyController(Handler modelBuildingHandler, Handler diffingHandler) { private @interface RequestedModelBuildType { int NONE = 0; // ^^^^ definition semanticdb maven . . com/airbnb/epoxy/EpoxyController#RequestedModelBuildType#NONE. -// documentation ```java\npublic static final int NONE\n``` +// display_name NONE +// signature_documentation java public static final int NONE +// kind StaticField /** A request has been made to build models immediately. It is posted. */ int NEXT_FRAME = 1; // ^^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/EpoxyController#RequestedModelBuildType#NEXT_FRAME. -// documentation ```java\npublic static final int NEXT_FRAME\n``` +// display_name NEXT_FRAME +// signature_documentation java public static final int NEXT_FRAME +// kind StaticField // documentation A request has been made to build models immediately. It is posted. /** A request has been made to build models after a delay. It is post delayed. */ int DELAYED = 2; // ^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/EpoxyController#RequestedModelBuildType#DELAYED. -// documentation ```java\npublic static final int DELAYED\n``` +// display_name DELAYED +// signature_documentation java public static final int DELAYED +// kind StaticField // documentation A request has been made to build models after a delay. It is post delayed. } @@ -342,7 +400,9 @@ public EpoxyController(Handler modelBuildingHandler, Handler diffingHandler) { */ public void requestModelBuild() { // ^^^^^^^^^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/EpoxyController#requestModelBuild(). -// documentation ```java\npublic void requestModelBuild()\n``` +// display_name requestModelBuild +// signature_documentation java public void requestModelBuild() +// kind Method // documentation Call this to request a model update. The controller will schedule a call to {@link\n #buildModels()} so that models can be rebuilt for the current data. Once a build is requested\n all subsequent requests are ignored until the model build runs. Therefore, the calling code\n need not worry about calling this multiple times in a row.\n

\n The exception is that the first time this is called on a new instance of {@link\n EpoxyController} it is run synchronously. This allows state to be restored and the initial view\n to be draw quicker.\n

\n If you would like to be alerted when models have finished building use\n {@link #addModelBuildListener(OnModelBuildFinishedListener)}\n // relationship is_reference is_implementation semanticdb maven . . com/airbnb/epoxy/SimpleEpoxyController#requestModelBuild(). // relationship is_reference is_implementation semanticdb maven . . com/airbnb/epoxy/Typed2EpoxyController#requestModelBuild(). @@ -378,7 +438,9 @@ public void requestModelBuild() { */ public boolean hasPendingModelBuild() { // ^^^^^^^^^^^^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/EpoxyController#hasPendingModelBuild(). -// documentation ```java\npublic boolean hasPendingModelBuild()\n``` +// display_name hasPendingModelBuild +// signature_documentation java public boolean hasPendingModelBuild() +// kind Method // documentation Whether an update to models is currently pending. This can either be because\n {@link #requestModelBuild()} was called, or because models are currently being built or diff\n on a background thread.\n return requestedModelBuildType != RequestedModelBuildType.NONE // model build is posted // ^^^^^^^^^^^^^^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/EpoxyController#requestedModelBuildType. @@ -403,11 +465,15 @@ public boolean hasPendingModelBuild() { */ public void addModelBuildListener(OnModelBuildFinishedListener listener) { // ^^^^^^^^^^^^^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/EpoxyController#addModelBuildListener(). -// documentation ```java\npublic void addModelBuildListener(OnModelBuildFinishedListener listener)\n``` +// display_name addModelBuildListener +// signature_documentation java public void addModelBuildListener(OnModelBuildFinishedListener listener) +// kind Method // documentation Add a listener that will be called every time {@link #buildModels()} has finished running\n and changes have been dispatched to the RecyclerView.\n

\n Since buildModels can be called once for many calls to {@link #requestModelBuild()}, this is\n called just once for each buildModels execution, not for every request.\n

\n Use this to react to changes in your models that need to happen after the RecyclerView has\n been notified, such as scrolling.\n // ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/OnModelBuildFinishedListener# // ^^^^^^^^ definition local 2 -// documentation ```java\nOnModelBuildFinishedListener listener\n``` +// display_name listener +// signature_documentation java OnModelBuildFinishedListener listener +// enclosing_symbol semanticdb maven . . com/airbnb/epoxy/EpoxyController#addModelBuildListener(). adapter.addModelBuildListener(listener); // ^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/EpoxyController#adapter. // ^^^^^^^^^^^^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/EpoxyControllerAdapter#addModelBuildListener(). @@ -421,11 +487,15 @@ public void addModelBuildListener(OnModelBuildFinishedListener listener) { */ public void removeModelBuildListener(OnModelBuildFinishedListener listener) { // ^^^^^^^^^^^^^^^^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/EpoxyController#removeModelBuildListener(). -// documentation ```java\npublic void removeModelBuildListener(OnModelBuildFinishedListener listener)\n``` +// display_name removeModelBuildListener +// signature_documentation java public void removeModelBuildListener(OnModelBuildFinishedListener listener) +// kind Method // documentation Remove a listener added with {@link #addModelBuildListener(OnModelBuildFinishedListener)}.\n This is safe to call from inside the callback\n {@link OnModelBuildFinishedListener#onModelBuildFinished(DiffResult)}\n // ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/OnModelBuildFinishedListener# // ^^^^^^^^ definition local 3 -// documentation ```java\nOnModelBuildFinishedListener listener\n``` +// display_name listener +// signature_documentation java OnModelBuildFinishedListener listener +// enclosing_symbol semanticdb maven . . com/airbnb/epoxy/EpoxyController#removeModelBuildListener(). adapter.removeModelBuildListener(listener); // ^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/EpoxyController#adapter. // ^^^^^^^^^^^^^^^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/EpoxyControllerAdapter#removeModelBuildListener(). @@ -453,14 +523,18 @@ public void removeModelBuildListener(OnModelBuildFinishedListener listener) { */ public synchronized void requestDelayedModelBuild(int delayMs) { // ^^^^^^^^^^^^^^^^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/EpoxyController#requestDelayedModelBuild(). -// documentation ```java\npublic void requestDelayedModelBuild(int delayMs)\n``` +// display_name requestDelayedModelBuild +// signature_documentation java public void requestDelayedModelBuild(int delayMs) +// kind Method // documentation Call this to request a delayed model update. The controller will schedule a call to {@link\n #buildModels()} so that models can be rebuilt for the current data.\n

\n Using this to delay a model update may be helpful in cases where user input is causing many\n rapid changes in the models, such as typing. In that case, the view is already updated on\n screen and constantly rebuilding models is potentially slow and unnecessary. The downside to\n delaying the model build too long is that models will not be in sync with the data or view, and\n scrolling the view offscreen and back onscreen will cause the model to bind old data.\n

\n If a previous request is still pending it will be removed in favor of this new delay\n

\n Any call to {@link #requestModelBuild()} will override a delayed request.\n

\n In most cases you should use {@link #requestModelBuild()} instead of this.\n\n @param delayMs The time in milliseconds to delay the model build by. Should be greater than or\n equal to 0. A value of 0 is equivalent to calling {@link #requestModelBuild()}\n // relationship is_reference is_implementation semanticdb maven . . com/airbnb/epoxy/Typed2EpoxyController#requestDelayedModelBuild(). // relationship is_reference is_implementation semanticdb maven . . com/airbnb/epoxy/Typed3EpoxyController#requestDelayedModelBuild(). // relationship is_reference is_implementation semanticdb maven . . com/airbnb/epoxy/Typed4EpoxyController#requestDelayedModelBuild(). // relationship is_reference is_implementation semanticdb maven . . com/airbnb/epoxy/TypedEpoxyController#requestDelayedModelBuild(). // ^^^^^^^ definition local 4 -// documentation ```java\nint delayMs\n``` +// display_name delayMs +// signature_documentation java int delayMs +// enclosing_symbol semanticdb maven . . com/airbnb/epoxy/EpoxyController#requestDelayedModelBuild(). if (isBuildingModels()) { // ^^^^^^^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/EpoxyController#isBuildingModels(). throw new IllegalEpoxyUsage( @@ -503,7 +577,9 @@ public synchronized void requestDelayedModelBuild(int delayMs) { */ public synchronized void cancelPendingModelBuild() { // ^^^^^^^^^^^^^^^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/EpoxyController#cancelPendingModelBuild(). -// documentation ```java\npublic void cancelPendingModelBuild()\n``` +// display_name cancelPendingModelBuild +// signature_documentation java public void cancelPendingModelBuild() +// kind Method // documentation Cancels a pending call to {@link #buildModels()} if one has been queued by {@link\n #requestModelBuild()}.\n // Access to requestedModelBuildType is synchronized because the model building thread clears // it when model building starts, and the main thread needs to set it to indicate a build @@ -529,13 +605,18 @@ public synchronized void cancelPendingModelBuild() { private final Runnable buildModelsRunnable = new Runnable() { // ^^^^^^^^ reference semanticdb maven jdk 11 java/lang/Runnable# // ^^^^^^^^^^^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/EpoxyController#buildModelsRunnable. -// documentation ```java\nprivate final Runnable buildModelsRunnable\n``` +// display_name buildModelsRunnable +// signature_documentation java private final Runnable buildModelsRunnable +// kind Field // ^^^^^^^^ reference semanticdb maven jdk 11 java/lang/Runnable# @Override // ^^^^^^^^ reference semanticdb maven jdk 11 java/lang/Override# public void run() { // ^^^ definition local 6 -// documentation ```java\n@Override\npublic void run()\n``` +// display_name run +// signature_documentation java @Override\npublic void run() +// enclosing_symbol local 5 +// kind Method // relationship is_reference is_implementation semanticdb maven jdk 11 java/lang/Runnable#run(). // Do this first to mark the controller as being in the model building process. threadBuildingModels = Thread.currentThread(); @@ -573,7 +654,9 @@ public void run() { } catch (Throwable throwable) { // ^^^^^^^^^ reference semanticdb maven jdk 11 java/lang/Throwable# // ^^^^^^^^^ definition local 7 -// documentation ```java\nThrowable throwable\n``` +// display_name throwable +// signature_documentation java Throwable throwable +// enclosing_symbol local 6 timer.stop(); // ^^^^^ reference semanticdb maven . . com/airbnb/epoxy/EpoxyController#timer. // ^^^^ reference semanticdb maven . . com/airbnb/epoxy/Timer#stop(). @@ -628,11 +711,16 @@ public void run() { /** An estimate for how many models will be built in the next {@link #buildModels()} phase. */ private int getExpectedModelCount() { // ^^^^^^^^^^^^^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/EpoxyController#getExpectedModelCount(). -// documentation ```java\nprivate int getExpectedModelCount()\n``` +// display_name getExpectedModelCount +// signature_documentation java private int getExpectedModelCount() +// kind Method // documentation An estimate for how many models will be built in the next {@link #buildModels()} phase. int currentModelCount = adapter.getItemCount(); // ^^^^^^^^^^^^^^^^^ definition local 8 -// documentation ```java\nint currentModelCount\n``` +// display_name currentModelCount +// signature_documentation java int currentModelCount +// enclosing_symbol semanticdb maven . . com/airbnb/epoxy/EpoxyController#getExpectedModelCount(). +// kind Variable // ^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/EpoxyController#adapter. // ^^^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/EpoxyControllerAdapter#getItemCount(). return currentModelCount != 0 ? currentModelCount : 25; @@ -655,7 +743,9 @@ private int getExpectedModelCount() { */ protected abstract void buildModels(); // ^^^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/EpoxyController#buildModels(). -// documentation ```java\nprotected abstract void buildModels()\n``` +// display_name buildModels +// signature_documentation java protected abstract void buildModels() +// kind AbstractMethod // documentation Subclasses should implement this to describe what models should be shown for the current state.\n Implementations should call either {@link #add(EpoxyModel)}, {@link\n EpoxyModel#addTo(EpoxyController)}, or {@link EpoxyModel#addIf(boolean, EpoxyController)} with\n the models that should be shown, in the order that is desired.\n

\n Once a model is added to the controller it should be treated as immutable and never modified\n again. This is necessary for adapter updates to be accurate. If "validateEpoxyModelUsage" is\n enabled then runtime validations will be done to make sure models are not changed.\n

\n You CANNOT call this method directly. Instead, call {@link #requestModelBuild()} to have the\n controller schedule an update.\n // relationship is_reference is_implementation semanticdb maven . . com/airbnb/epoxy/SimpleEpoxyController#buildModels(). // relationship is_reference is_implementation semanticdb maven . . com/airbnb/epoxy/Typed2EpoxyController#buildModels(). @@ -665,21 +755,31 @@ private int getExpectedModelCount() { int getFirstIndexOfModelInBuildingList(EpoxyModel model) { // ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/EpoxyController#getFirstIndexOfModelInBuildingList(). -// documentation ```java\nint getFirstIndexOfModelInBuildingList(EpoxyModel model)\n``` +// display_name getFirstIndexOfModelInBuildingList +// signature_documentation java int getFirstIndexOfModelInBuildingList(EpoxyModel model) +// kind Method // ^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/EpoxyModel# // ^^^^^ definition local 9 -// documentation ```java\nEpoxyModel model\n``` +// display_name model +// signature_documentation java EpoxyModel model +// enclosing_symbol semanticdb maven . . com/airbnb/epoxy/EpoxyController#getFirstIndexOfModelInBuildingList(). assertIsBuildingModels(); // ^^^^^^^^^^^^^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/EpoxyController#assertIsBuildingModels(). int size = modelsBeingBuilt.size(); // ^^^^ definition local 10 -// documentation ```java\nint size\n``` +// display_name size +// signature_documentation java int size +// enclosing_symbol semanticdb maven . . com/airbnb/epoxy/EpoxyController#getFirstIndexOfModelInBuildingList(). +// kind Variable // ^^^^^^^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/EpoxyController#modelsBeingBuilt. // ^^^^ reference semanticdb maven jdk 11 java/util/ArrayList#size(). for (int i = 0; i < size; i++) { // ^ definition local 11 -// documentation ```java\nint i\n``` +// display_name i +// signature_documentation java int i +// enclosing_symbol semanticdb maven . . com/airbnb/epoxy/EpoxyController#getFirstIndexOfModelInBuildingList(). +// kind Variable // ^ reference local 11 // ^^^^ reference local 10 // ^ reference local 11 @@ -698,24 +798,37 @@ int getFirstIndexOfModelInBuildingList(EpoxyModel model) { boolean isModelAddedMultipleTimes(EpoxyModel model) { // ^^^^^^^^^^^^^^^^^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/EpoxyController#isModelAddedMultipleTimes(). -// documentation ```java\nboolean isModelAddedMultipleTimes(EpoxyModel model)\n``` +// display_name isModelAddedMultipleTimes +// signature_documentation java boolean isModelAddedMultipleTimes(EpoxyModel model) +// kind Method // ^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/EpoxyModel# // ^^^^^ definition local 12 -// documentation ```java\nEpoxyModel model\n``` +// display_name model +// signature_documentation java EpoxyModel model +// enclosing_symbol semanticdb maven . . com/airbnb/epoxy/EpoxyController#isModelAddedMultipleTimes(). assertIsBuildingModels(); // ^^^^^^^^^^^^^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/EpoxyController#assertIsBuildingModels(). int modelCount = 0; // ^^^^^^^^^^ definition local 13 -// documentation ```java\nint modelCount\n``` +// display_name modelCount +// signature_documentation java int modelCount +// enclosing_symbol semanticdb maven . . com/airbnb/epoxy/EpoxyController#isModelAddedMultipleTimes(). +// kind Variable int size = modelsBeingBuilt.size(); // ^^^^ definition local 14 -// documentation ```java\nint size\n``` +// display_name size +// signature_documentation java int size +// enclosing_symbol semanticdb maven . . com/airbnb/epoxy/EpoxyController#isModelAddedMultipleTimes(). +// kind Variable // ^^^^^^^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/EpoxyController#modelsBeingBuilt. // ^^^^ reference semanticdb maven jdk 11 java/util/ArrayList#size(). for (int i = 0; i < size; i++) { // ^ definition local 15 -// documentation ```java\nint i\n``` +// display_name i +// signature_documentation java int i +// enclosing_symbol semanticdb maven . . com/airbnb/epoxy/EpoxyController#isModelAddedMultipleTimes(). +// kind Variable // ^ reference local 15 // ^^^^ reference local 14 // ^ reference local 15 @@ -735,10 +848,14 @@ boolean isModelAddedMultipleTimes(EpoxyModel model) { void addAfterInterceptorCallback(ModelInterceptorCallback callback) { // ^^^^^^^^^^^^^^^^^^^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/EpoxyController#addAfterInterceptorCallback(). -// documentation ```java\nvoid addAfterInterceptorCallback(ModelInterceptorCallback callback)\n``` +// display_name addAfterInterceptorCallback +// signature_documentation java void addAfterInterceptorCallback(ModelInterceptorCallback callback) +// kind Method // ^^^^^^^^^^^^^^^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/EpoxyController#ModelInterceptorCallback# // ^^^^^^^^ definition local 16 -// documentation ```java\nModelInterceptorCallback callback\n``` +// display_name callback +// signature_documentation java ModelInterceptorCallback callback +// enclosing_symbol semanticdb maven . . com/airbnb/epoxy/EpoxyController#addAfterInterceptorCallback(). assertIsBuildingModels(); // ^^^^^^^^^^^^^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/EpoxyController#assertIsBuildingModels(). @@ -761,25 +878,37 @@ void addAfterInterceptorCallback(ModelInterceptorCallback callback) { */ interface ModelInterceptorCallback { // ^^^^^^^^^^^^^^^^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/EpoxyController#ModelInterceptorCallback# -// documentation ```java\ninterface ModelInterceptorCallback\n``` +// display_name ModelInterceptorCallback +// signature_documentation java interface ModelInterceptorCallback +// kind Interface // documentation Callbacks to each model for when interceptors are started and stopped, so the models know when\n to allow changes.\n void onInterceptorsStarted(EpoxyController controller); // ^^^^^^^^^^^^^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/EpoxyController#ModelInterceptorCallback#onInterceptorsStarted(). -// documentation ```java\npublic abstract void onInterceptorsStarted(EpoxyController controller)\n``` +// display_name onInterceptorsStarted +// signature_documentation java public abstract void onInterceptorsStarted(EpoxyController controller) +// kind AbstractMethod // ^^^^^^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/EpoxyController# // ^^^^^^^^^^ definition local 17 -// documentation ```java\nEpoxyController controller\n``` +// display_name controller +// signature_documentation java EpoxyController controller +// enclosing_symbol semanticdb maven . . com/airbnb/epoxy/EpoxyController#ModelInterceptorCallback#onInterceptorsStarted(). void onInterceptorsFinished(EpoxyController controller); // ^^^^^^^^^^^^^^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/EpoxyController#ModelInterceptorCallback#onInterceptorsFinished(). -// documentation ```java\npublic abstract void onInterceptorsFinished(EpoxyController controller)\n``` +// display_name onInterceptorsFinished +// signature_documentation java public abstract void onInterceptorsFinished(EpoxyController controller) +// kind AbstractMethod // ^^^^^^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/EpoxyController# // ^^^^^^^^^^ definition local 18 -// documentation ```java\nEpoxyController controller\n``` +// display_name controller +// signature_documentation java EpoxyController controller +// enclosing_symbol semanticdb maven . . com/airbnb/epoxy/EpoxyController#ModelInterceptorCallback#onInterceptorsFinished(). } private void runInterceptors() { // ^^^^^^^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/EpoxyController#runInterceptors(). -// documentation ```java\nprivate void runInterceptors()\n``` +// display_name runInterceptors +// signature_documentation java private void runInterceptors() +// kind Method if (!interceptors.isEmpty()) { // ^^^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/EpoxyController#interceptors. // ^^^^^^^ reference semanticdb maven jdk 11 java/util/List#isEmpty(). @@ -788,7 +917,10 @@ private void runInterceptors() { for (ModelInterceptorCallback callback : modelInterceptorCallbacks) { // ^^^^^^^^^^^^^^^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/EpoxyController#ModelInterceptorCallback# // ^^^^^^^^ definition local 19 -// documentation ```java\nModelInterceptorCallback callback\n``` +// display_name callback +// signature_documentation java ModelInterceptorCallback callback +// enclosing_symbol semanticdb maven . . com/airbnb/epoxy/EpoxyController#runInterceptors(). +// kind Variable // ^^^^^^^^^^^^^^^^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/EpoxyController#modelInterceptorCallbacks. callback.onInterceptorsStarted(this); // ^^^^^^^^ reference local 19 @@ -803,7 +935,10 @@ private void runInterceptors() { for (Interceptor interceptor : interceptors) { // ^^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/EpoxyController#Interceptor# // ^^^^^^^^^^^ definition local 20 -// documentation ```java\nInterceptor interceptor\n``` +// display_name interceptor +// signature_documentation java Interceptor interceptor +// enclosing_symbol semanticdb maven . . com/airbnb/epoxy/EpoxyController#runInterceptors(). +// kind Variable // ^^^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/EpoxyController#interceptors. interceptor.intercept(modelsBeingBuilt); // ^^^^^^^^^^^ reference local 20 @@ -820,7 +955,10 @@ private void runInterceptors() { for (ModelInterceptorCallback callback : modelInterceptorCallbacks) { // ^^^^^^^^^^^^^^^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/EpoxyController#ModelInterceptorCallback# // ^^^^^^^^ definition local 21 -// documentation ```java\nModelInterceptorCallback callback\n``` +// display_name callback +// signature_documentation java ModelInterceptorCallback callback +// enclosing_symbol semanticdb maven . . com/airbnb/epoxy/EpoxyController#runInterceptors(). +// kind Variable // ^^^^^^^^^^^^^^^^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/EpoxyController#modelInterceptorCallbacks. callback.onInterceptorsFinished(this); // ^^^^^^^^ reference local 21 @@ -839,7 +977,9 @@ private void runInterceptors() { /** A callback that is run after {@link #buildModels()} completes and before diffing is run. */ public interface Interceptor { // ^^^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/EpoxyController#Interceptor# -// documentation ```java\npublic interface Interceptor\n``` +// display_name Interceptor +// signature_documentation java public interface Interceptor +// kind Interface // documentation A callback that is run after {@link #buildModels()} completes and before diffing is run. /** * This is called immediately after {@link #buildModels()} and before diffing is run and the @@ -853,13 +993,17 @@ public interface Interceptor { */ void intercept(@NonNull List> models); // ^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/EpoxyController#Interceptor#intercept(). -// documentation ```java\npublic abstract void intercept(List> models)\n``` +// display_name intercept +// signature_documentation java public abstract void intercept(List> models) +// kind AbstractMethod // documentation This is called immediately after {@link #buildModels()} and before diffing is run and the\n models are set on the adapter. This is a final chance to make any changes to the the models\n added in {@link #buildModels()}. This may be useful for actions that act on all models in\n aggregate, such as toggling divider settings, or for cases such as rearranging models for an\n experiment.\n

\n The models list must not be changed after this method returns. Doing so will throw an\n exception.\n // ^^^^^^^ reference semanticdb maven maven/androidx.annotation/annotation 1.1.0 androidx/annotation/NonNull# // ^^^^ reference semanticdb maven jdk 11 java/util/List# // ^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/EpoxyModel# // ^^^^^^ definition local 22 -// documentation ```java\n@NonNull\nList> models\n``` +// display_name models +// signature_documentation java @NonNull\nList> models +// enclosing_symbol semanticdb maven . . com/airbnb/epoxy/EpoxyController#Interceptor#intercept(). } /** @@ -872,12 +1016,16 @@ public interface Interceptor { */ public void addInterceptor(@NonNull Interceptor interceptor) { // ^^^^^^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/EpoxyController#addInterceptor(). -// documentation ```java\npublic void addInterceptor(Interceptor interceptor)\n``` +// display_name addInterceptor +// signature_documentation java public void addInterceptor(Interceptor interceptor) +// kind Method // documentation Add an interceptor callback to be run after models are built, to make any last changes before\n they are set on the adapter. Interceptors are run in the order they are added.\n

\n Interceptors are run on the same thread that models are built on.\n\n @see Interceptor#intercept(List)\n // ^^^^^^^ reference semanticdb maven maven/androidx.annotation/annotation 1.1.0 androidx/annotation/NonNull# // ^^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/EpoxyController#Interceptor# // ^^^^^^^^^^^ definition local 23 -// documentation ```java\n@NonNull\nInterceptor interceptor\n``` +// display_name interceptor +// signature_documentation java @NonNull\nInterceptor interceptor +// enclosing_symbol semanticdb maven . . com/airbnb/epoxy/EpoxyController#addInterceptor(). interceptors.add(interceptor); // ^^^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/EpoxyController#interceptors. // ^^^ reference semanticdb maven jdk 11 java/util/List#add(). @@ -887,12 +1035,16 @@ public void addInterceptor(@NonNull Interceptor interceptor) { /** Remove an interceptor that was added with {@link #addInterceptor(Interceptor)}. */ public void removeInterceptor(@NonNull Interceptor interceptor) { // ^^^^^^^^^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/EpoxyController#removeInterceptor(). -// documentation ```java\npublic void removeInterceptor(Interceptor interceptor)\n``` +// display_name removeInterceptor +// signature_documentation java public void removeInterceptor(Interceptor interceptor) +// kind Method // documentation Remove an interceptor that was added with {@link #addInterceptor(Interceptor)}. // ^^^^^^^ reference semanticdb maven maven/androidx.annotation/annotation 1.1.0 androidx/annotation/NonNull# // ^^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/EpoxyController#Interceptor# // ^^^^^^^^^^^ definition local 24 -// documentation ```java\n@NonNull\nInterceptor interceptor\n``` +// display_name interceptor +// signature_documentation java @NonNull\nInterceptor interceptor +// enclosing_symbol semanticdb maven . . com/airbnb/epoxy/EpoxyController#removeInterceptor(). interceptors.remove(interceptor); // ^^^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/EpoxyController#interceptors. // ^^^^^^ reference semanticdb maven jdk 11 java/util/List#remove(). @@ -909,7 +1061,9 @@ public void removeInterceptor(@NonNull Interceptor interceptor) { */ protected int getModelCountBuiltSoFar() { // ^^^^^^^^^^^^^^^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/EpoxyController#getModelCountBuiltSoFar(). -// documentation ```java\nprotected int getModelCountBuiltSoFar()\n``` +// display_name getModelCountBuiltSoFar +// signature_documentation java protected int getModelCountBuiltSoFar() +// kind Method // documentation Get the number of models added so far during the {@link #buildModels()} phase. It is only valid\n to call this from within that method.\n

\n This is different from the number of models currently on the adapter, since models on the\n adapter are not updated until after models are finished being built. To access current adapter\n count call {@link #getAdapter()} and {@link EpoxyControllerAdapter#getItemCount()}\n assertIsBuildingModels(); // ^^^^^^^^^^^^^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/EpoxyController#assertIsBuildingModels(). @@ -920,7 +1074,9 @@ protected int getModelCountBuiltSoFar() { private void assertIsBuildingModels() { // ^^^^^^^^^^^^^^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/EpoxyController#assertIsBuildingModels(). -// documentation ```java\nprivate void assertIsBuildingModels()\n``` +// display_name assertIsBuildingModels +// signature_documentation java private void assertIsBuildingModels() +// kind Method if (!isBuildingModels()) { // ^^^^^^^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/EpoxyController#isBuildingModels(). throw new IllegalEpoxyUsage("Can only call this when inside the `buildModels` method"); @@ -930,7 +1086,9 @@ private void assertIsBuildingModels() { private void assertNotBuildingModels() { // ^^^^^^^^^^^^^^^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/EpoxyController#assertNotBuildingModels(). -// documentation ```java\nprivate void assertNotBuildingModels()\n``` +// display_name assertNotBuildingModels +// signature_documentation java private void assertNotBuildingModels() +// kind Method if (isBuildingModels()) { // ^^^^^^^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/EpoxyController#isBuildingModels(). throw new IllegalEpoxyUsage("Cannot call this from inside `buildModels`"); @@ -944,12 +1102,16 @@ private void assertNotBuildingModels() { */ public void add(@NonNull EpoxyModel model) { // ^^^ definition semanticdb maven . . com/airbnb/epoxy/EpoxyController#add(). -// documentation ```java\npublic void add(EpoxyModel model)\n``` +// display_name add +// signature_documentation java public void add(EpoxyModel model) +// kind Method // documentation Add the model to this controller. Can only be called from inside {@link\n EpoxyController#buildModels()}.\n // ^^^^^^^ reference semanticdb maven maven/androidx.annotation/annotation 1.1.0 androidx/annotation/NonNull# // ^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/EpoxyModel# // ^^^^^ definition local 25 -// documentation ```java\n@NonNull\nEpoxyModel model\n``` +// display_name model +// signature_documentation java @NonNull\nEpoxyModel model +// enclosing_symbol semanticdb maven . . com/airbnb/epoxy/EpoxyController#add(). model.addTo(this); // ^^^^^ reference local 25 // ^^^^^ reference semanticdb maven . . com/airbnb/epoxy/EpoxyModel#addTo(). @@ -961,12 +1123,16 @@ public void add(@NonNull EpoxyModel model) { */ protected void add(@NonNull EpoxyModel... modelsToAdd) { // ^^^ definition semanticdb maven . . com/airbnb/epoxy/EpoxyController#add(+1). -// documentation ```java\nprotected void add(EpoxyModel[] modelsToAdd)\n``` +// display_name add +// signature_documentation java protected void add(EpoxyModel[] modelsToAdd) +// kind Method // documentation Add the models to this controller. Can only be called from inside {@link\n EpoxyController#buildModels()}.\n // ^^^^^^^ reference semanticdb maven maven/androidx.annotation/annotation 1.1.0 androidx/annotation/NonNull# // ^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/EpoxyModel# // ^^^^^^^^^^^ definition local 26 -// documentation ```java\n@NonNull\nEpoxyModel[] modelsToAdd\n``` +// display_name modelsToAdd +// signature_documentation java @NonNull\nEpoxyModel[] modelsToAdd +// enclosing_symbol semanticdb maven . . com/airbnb/epoxy/EpoxyController#add(+1). modelsBeingBuilt.ensureCapacity(modelsBeingBuilt.size() + modelsToAdd.length); // ^^^^^^^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/EpoxyController#modelsBeingBuilt. // ^^^^^^^^^^^^^^ reference semanticdb maven jdk 11 java/util/ArrayList#ensureCapacity(). @@ -978,7 +1144,10 @@ protected void add(@NonNull EpoxyModel... modelsToAdd) { for (EpoxyModel model : modelsToAdd) { // ^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/EpoxyModel# // ^^^^^ definition local 27 -// documentation ```java\nEpoxyModel model\n``` +// display_name model +// signature_documentation java EpoxyModel model +// enclosing_symbol semanticdb maven . . com/airbnb/epoxy/EpoxyController#add(+1). +// kind Variable // ^^^^^^^^^^^ reference local 26 add(model); // ^^^ reference semanticdb maven . . com/airbnb/epoxy/EpoxyController#add(). @@ -992,13 +1161,17 @@ protected void add(@NonNull EpoxyModel... modelsToAdd) { */ protected void add(@NonNull List> modelsToAdd) { // ^^^ definition semanticdb maven . . com/airbnb/epoxy/EpoxyController#add(+2). -// documentation ```java\nprotected void add(List> modelsToAdd)\n``` +// display_name add +// signature_documentation java protected void add(List> modelsToAdd) +// kind Method // documentation Add the models to this controller. Can only be called from inside {@link\n EpoxyController#buildModels()}.\n // ^^^^^^^ reference semanticdb maven maven/androidx.annotation/annotation 1.1.0 androidx/annotation/NonNull# // ^^^^ reference semanticdb maven jdk 11 java/util/List# // ^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/EpoxyModel# // ^^^^^^^^^^^ definition local 28 -// documentation ```java\n@NonNull\nList> modelsToAdd\n``` +// display_name modelsToAdd +// signature_documentation java @NonNull\nList> modelsToAdd +// enclosing_symbol semanticdb maven . . com/airbnb/epoxy/EpoxyController#add(+2). modelsBeingBuilt.ensureCapacity(modelsBeingBuilt.size() + modelsToAdd.size()); // ^^^^^^^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/EpoxyController#modelsBeingBuilt. // ^^^^^^^^^^^^^^ reference semanticdb maven jdk 11 java/util/ArrayList#ensureCapacity(). @@ -1010,7 +1183,10 @@ protected void add(@NonNull List> modelsToAdd) { for (EpoxyModel model : modelsToAdd) { // ^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/EpoxyModel# // ^^^^^ definition local 29 -// documentation ```java\nEpoxyModel model\n``` +// display_name model +// signature_documentation java EpoxyModel model +// enclosing_symbol semanticdb maven . . com/airbnb/epoxy/EpoxyController#add(+2). +// kind Variable // ^^^^^^^^^^^ reference local 28 add(model); // ^^^ reference semanticdb maven . . com/airbnb/epoxy/EpoxyController#add(). @@ -1024,11 +1200,15 @@ protected void add(@NonNull List> modelsToAdd) { */ void addInternal(EpoxyModel modelToAdd) { // ^^^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/EpoxyController#addInternal(). -// documentation ```java\nvoid addInternal(EpoxyModel modelToAdd)\n``` +// display_name addInternal +// signature_documentation java void addInternal(EpoxyModel modelToAdd) +// kind Method // documentation Method to actually add the model to the list being built. Should be called after all\n validations are done.\n // ^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/EpoxyModel# // ^^^^^^^^^^ definition local 30 -// documentation ```java\nEpoxyModel modelToAdd\n``` +// display_name modelToAdd +// signature_documentation java EpoxyModel modelToAdd +// enclosing_symbol semanticdb maven . . com/airbnb/epoxy/EpoxyController#addInternal(). assertIsBuildingModels(); // ^^^^^^^^^^^^^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/EpoxyController#assertIsBuildingModels(). @@ -1076,11 +1256,15 @@ void addInternal(EpoxyModel modelToAdd) { */ void setStagedModel(EpoxyModel model) { // ^^^^^^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/EpoxyController#setStagedModel(). -// documentation ```java\nvoid setStagedModel(EpoxyModel model)\n``` +// display_name setStagedModel +// signature_documentation java void setStagedModel(EpoxyModel model) +// kind Method // documentation Staging models allows them to be implicitly added after the user finishes modifying them. This\n means that if a user has modified a model, and then moves on to modifying a different model,\n the first model is automatically added as soon as the second model is modified.\n

\n There are some edge cases for handling models that are added without modification, or models\n that are modified but then fail an `addIf` check.\n

\n This only works for AutoModels, and only if implicitly adding is enabled in configuration.\n // ^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/EpoxyModel# // ^^^^^ definition local 31 -// documentation ```java\nEpoxyModel model\n``` +// display_name model +// signature_documentation java EpoxyModel model +// enclosing_symbol semanticdb maven . . com/airbnb/epoxy/EpoxyController#setStagedModel(). if (model != stagedModel) { // ^^^^^ reference local 31 // ^^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/EpoxyController#stagedModel. @@ -1095,7 +1279,9 @@ void setStagedModel(EpoxyModel model) { void addCurrentlyStagedModelIfExists() { // ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/EpoxyController#addCurrentlyStagedModelIfExists(). -// documentation ```java\nvoid addCurrentlyStagedModelIfExists()\n``` +// display_name addCurrentlyStagedModelIfExists +// signature_documentation java void addCurrentlyStagedModelIfExists() +// kind Method if (stagedModel != null) { // ^^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/EpoxyController#stagedModel. stagedModel.addTo(this); @@ -1108,10 +1294,14 @@ void addCurrentlyStagedModelIfExists() { void clearModelFromStaging(EpoxyModel model) { // ^^^^^^^^^^^^^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/EpoxyController#clearModelFromStaging(). -// documentation ```java\nvoid clearModelFromStaging(EpoxyModel model)\n``` +// display_name clearModelFromStaging +// signature_documentation java void clearModelFromStaging(EpoxyModel model) +// kind Method // ^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/EpoxyModel# // ^^^^^ definition local 32 -// documentation ```java\nEpoxyModel model\n``` +// display_name model +// signature_documentation java EpoxyModel model +// enclosing_symbol semanticdb maven . . com/airbnb/epoxy/EpoxyController#clearModelFromStaging(). if (stagedModel != model) { // ^^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/EpoxyController#stagedModel. // ^^^^^ reference local 32 @@ -1125,7 +1315,9 @@ void clearModelFromStaging(EpoxyModel model) { /** True if the current callstack originated from the buildModels call, on the same thread. */ protected boolean isBuildingModels() { // ^^^^^^^^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/EpoxyController#isBuildingModels(). -// documentation ```java\nprotected boolean isBuildingModels()\n``` +// display_name isBuildingModels +// signature_documentation java protected boolean isBuildingModels() +// kind Method // documentation True if the current callstack originated from the buildModels call, on the same thread. return threadBuildingModels == Thread.currentThread(); // ^^^^^^^^^^^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/EpoxyController#threadBuildingModels. @@ -1135,11 +1327,15 @@ protected boolean isBuildingModels() { private void filterDuplicatesIfNeeded(List> models) { // ^^^^^^^^^^^^^^^^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/EpoxyController#filterDuplicatesIfNeeded(). -// documentation ```java\nprivate void filterDuplicatesIfNeeded(List> models)\n``` +// display_name filterDuplicatesIfNeeded +// signature_documentation java private void filterDuplicatesIfNeeded(List> models) +// kind Method // ^^^^ reference semanticdb maven jdk 11 java/util/List# // ^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/EpoxyModel# // ^^^^^^ definition local 33 -// documentation ```java\nList> models\n``` +// display_name models +// signature_documentation java List> models +// enclosing_symbol semanticdb maven . . com/airbnb/epoxy/EpoxyController#filterDuplicatesIfNeeded(). if (!filterDuplicates) { // ^^^^^^^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/EpoxyController#filterDuplicates. return; @@ -1152,7 +1348,10 @@ private void filterDuplicatesIfNeeded(List> models) { // ^^^ reference semanticdb maven jdk 11 java/util/Set# // ^^^^ reference semanticdb maven jdk 11 java/lang/Long# // ^^^^^^^^ definition local 34 -// documentation ```java\nSet modelIds\n``` +// display_name modelIds +// signature_documentation java Set modelIds +// enclosing_symbol semanticdb maven . . com/airbnb/epoxy/EpoxyController#filterDuplicatesIfNeeded(). +// kind Variable // ^^^^^^^ reference semanticdb maven jdk 11 java/util/HashSet#``(+3). // ^^^^^^ reference local 33 // ^^^^ reference semanticdb maven jdk 11 java/util/List#size(). @@ -1161,7 +1360,10 @@ private void filterDuplicatesIfNeeded(List> models) { // ^^^^^^^^^^^^ reference semanticdb maven jdk 11 java/util/ListIterator# // ^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/EpoxyModel# // ^^^^^^^^^^^^^ definition local 35 -// documentation ```java\nListIterator> modelIterator\n``` +// display_name modelIterator +// signature_documentation java ListIterator> modelIterator +// enclosing_symbol semanticdb maven . . com/airbnb/epoxy/EpoxyController#filterDuplicatesIfNeeded(). +// kind Variable // ^^^^^^ reference local 33 // ^^^^^^^^^^^^ reference semanticdb maven jdk 11 java/util/List#listIterator(). while (modelIterator.hasNext()) { @@ -1170,7 +1372,10 @@ private void filterDuplicatesIfNeeded(List> models) { EpoxyModel model = modelIterator.next(); // ^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/EpoxyModel# // ^^^^^ definition local 36 -// documentation ```java\nEpoxyModel model\n``` +// display_name model +// signature_documentation java EpoxyModel model +// enclosing_symbol semanticdb maven . . com/airbnb/epoxy/EpoxyController#filterDuplicatesIfNeeded(). +// kind Variable // ^^^^^^^^^^^^^ reference local 35 // ^^^^ reference semanticdb maven jdk 11 java/util/ListIterator#next(). if (!modelIds.add(model.id())) { @@ -1180,7 +1385,10 @@ private void filterDuplicatesIfNeeded(List> models) { // ^^ reference semanticdb maven . . com/airbnb/epoxy/EpoxyModel#id(). int indexOfDuplicate = modelIterator.previousIndex(); // ^^^^^^^^^^^^^^^^ definition local 37 -// documentation ```java\nint indexOfDuplicate\n``` +// display_name indexOfDuplicate +// signature_documentation java int indexOfDuplicate +// enclosing_symbol semanticdb maven . . com/airbnb/epoxy/EpoxyController#filterDuplicatesIfNeeded(). +// kind Variable // ^^^^^^^^^^^^^ reference local 35 // ^^^^^^^^^^^^^ reference semanticdb maven jdk 11 java/util/ListIterator#previousIndex(). modelIterator.remove(); @@ -1189,14 +1397,20 @@ private void filterDuplicatesIfNeeded(List> models) { int indexOfOriginal = findPositionOfDuplicate(models, model); // ^^^^^^^^^^^^^^^ definition local 38 -// documentation ```java\nint indexOfOriginal\n``` +// display_name indexOfOriginal +// signature_documentation java int indexOfOriginal +// enclosing_symbol semanticdb maven . . com/airbnb/epoxy/EpoxyController#filterDuplicatesIfNeeded(). +// kind Variable // ^^^^^^^^^^^^^^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/EpoxyController#findPositionOfDuplicate(). // ^^^^^^ reference local 33 // ^^^^^ reference local 36 EpoxyModel originalModel = models.get(indexOfOriginal); // ^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/EpoxyModel# // ^^^^^^^^^^^^^ definition local 39 -// documentation ```java\nEpoxyModel originalModel\n``` +// display_name originalModel +// signature_documentation java EpoxyModel originalModel +// enclosing_symbol semanticdb maven . . com/airbnb/epoxy/EpoxyController#filterDuplicatesIfNeeded(). +// kind Variable // ^^^^^^ reference local 33 // ^^^ reference semanticdb maven jdk 11 java/util/List#get(). // ^^^^^^^^^^^^^^^ reference local 38 @@ -1229,29 +1443,44 @@ private void filterDuplicatesIfNeeded(List> models) { private int findPositionOfDuplicate(List> models, EpoxyModel duplicateModel) { // ^^^^^^^^^^^^^^^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/EpoxyController#findPositionOfDuplicate(). -// documentation ```java\nprivate int findPositionOfDuplicate(List> models, EpoxyModel duplicateModel)\n``` +// display_name findPositionOfDuplicate +// signature_documentation java private int findPositionOfDuplicate(List> models, EpoxyModel duplicateModel) +// kind Method // ^^^^ reference semanticdb maven jdk 11 java/util/List# // ^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/EpoxyModel# // ^^^^^^ definition local 40 -// documentation ```java\nList> models\n``` +// display_name models +// signature_documentation java List> models +// enclosing_symbol semanticdb maven . . com/airbnb/epoxy/EpoxyController#findPositionOfDuplicate(). // ^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/EpoxyModel# // ^^^^^^^^^^^^^^ definition local 41 -// documentation ```java\nEpoxyModel duplicateModel\n``` +// display_name duplicateModel +// signature_documentation java EpoxyModel duplicateModel +// enclosing_symbol semanticdb maven . . com/airbnb/epoxy/EpoxyController#findPositionOfDuplicate(). int size = models.size(); // ^^^^ definition local 42 -// documentation ```java\nint size\n``` +// display_name size +// signature_documentation java int size +// enclosing_symbol semanticdb maven . . com/airbnb/epoxy/EpoxyController#findPositionOfDuplicate(). +// kind Variable // ^^^^^^ reference local 40 // ^^^^ reference semanticdb maven jdk 11 java/util/List#size(). for (int i = 0; i < size; i++) { // ^ definition local 43 -// documentation ```java\nint i\n``` +// display_name i +// signature_documentation java int i +// enclosing_symbol semanticdb maven . . com/airbnb/epoxy/EpoxyController#findPositionOfDuplicate(). +// kind Variable // ^ reference local 43 // ^^^^ reference local 42 // ^ reference local 43 EpoxyModel model = models.get(i); // ^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/EpoxyModel# // ^^^^^ definition local 44 -// documentation ```java\nEpoxyModel model\n``` +// display_name model +// signature_documentation java EpoxyModel model +// enclosing_symbol semanticdb maven . . com/airbnb/epoxy/EpoxyController#findPositionOfDuplicate(). +// kind Variable // ^^^^^^ reference local 40 // ^^^ reference semanticdb maven jdk 11 java/util/List#get(). // ^ reference local 43 @@ -1281,10 +1510,14 @@ private int findPositionOfDuplicate(List> models, EpoxyModel du */ public void setFilterDuplicates(boolean filterDuplicates) { // ^^^^^^^^^^^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/EpoxyController#setFilterDuplicates(). -// documentation ```java\npublic void setFilterDuplicates(boolean filterDuplicates)\n``` +// display_name setFilterDuplicates +// signature_documentation java public void setFilterDuplicates(boolean filterDuplicates) +// kind Method // documentation If set to true, Epoxy will search for models with duplicate ids added during {@link\n #buildModels()} and remove any duplicates found. If models with the same id are found, the\n first one is left in the adapter and any subsequent models are removed. {@link\n #onExceptionSwallowed(RuntimeException)} will be called for each duplicate removed.\n

\n This may be useful if your models are created via server supplied data, in which case the\n server may erroneously send duplicate items. Duplicate items are otherwise left in and can\n result in undefined behavior.\n // ^^^^^^^^^^^^^^^^ definition local 45 -// documentation ```java\nboolean filterDuplicates\n``` +// display_name filterDuplicates +// signature_documentation java boolean filterDuplicates +// enclosing_symbol semanticdb maven . . com/airbnb/epoxy/EpoxyController#setFilterDuplicates(). this.filterDuplicates = filterDuplicates; // ^^^^^^^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/EpoxyController#filterDuplicates. // ^^^^^^^^^^^^^^^^ reference local 45 @@ -1292,7 +1525,9 @@ public void setFilterDuplicates(boolean filterDuplicates) { public boolean isDuplicateFilteringEnabled() { // ^^^^^^^^^^^^^^^^^^^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/EpoxyController#isDuplicateFilteringEnabled(). -// documentation ```java\npublic boolean isDuplicateFilteringEnabled()\n``` +// display_name isDuplicateFilteringEnabled +// signature_documentation java public boolean isDuplicateFilteringEnabled() +// kind Method return filterDuplicates; // ^^^^^^^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/EpoxyController#filterDuplicates. } @@ -1304,10 +1539,14 @@ public boolean isDuplicateFilteringEnabled() { */ public static void setGlobalDuplicateFilteringDefault(boolean filterDuplicatesByDefault) { // ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/EpoxyController#setGlobalDuplicateFilteringDefault(). -// documentation ```java\npublic static void setGlobalDuplicateFilteringDefault(boolean filterDuplicatesByDefault)\n``` +// display_name setGlobalDuplicateFilteringDefault +// signature_documentation java public static void setGlobalDuplicateFilteringDefault(boolean filterDuplicatesByDefault) +// kind StaticMethod // documentation {@link #setFilterDuplicates(boolean)} is disabled in each EpoxyController by default. It can be\n toggled individually in each controller, or alternatively you can use this to change the\n default value for all EpoxyControllers.\n // ^^^^^^^^^^^^^^^^^^^^^^^^^ definition local 46 -// documentation ```java\nboolean filterDuplicatesByDefault\n``` +// display_name filterDuplicatesByDefault +// signature_documentation java boolean filterDuplicatesByDefault +// enclosing_symbol semanticdb maven . . com/airbnb/epoxy/EpoxyController#setGlobalDuplicateFilteringDefault(). EpoxyController.filterDuplicatesDefault = filterDuplicatesByDefault; // ^^^^^^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/EpoxyController# // ^^^^^^^^^^^^^^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/EpoxyController#filterDuplicatesDefault. @@ -1327,10 +1566,14 @@ public static void setGlobalDuplicateFilteringDefault(boolean filterDuplicatesBy */ public void setDebugLoggingEnabled(boolean enabled) { // ^^^^^^^^^^^^^^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/EpoxyController#setDebugLoggingEnabled(). -// documentation ```java\npublic void setDebugLoggingEnabled(boolean enabled)\n``` +// display_name setDebugLoggingEnabled +// signature_documentation java public void setDebugLoggingEnabled(boolean enabled) +// kind Method // documentation If enabled, DEBUG logcat messages will be printed to show when models are rebuilt, the time\n taken to build them, the time taken to diff them, and the item change outcomes from the\n differ. The tag of the logcat message is the class name of your EpoxyController.\n

\n This is useful to verify that models are being diffed as expected, as well as to watch for\n slowdowns in model building or diffing to indicate when you should optimize model building or\n model hashCode/equals implementations (which can often slow down diffing).\n

\n This should only be used in debug builds to avoid a performance hit in prod.\n // ^^^^^^^ definition local 47 -// documentation ```java\nboolean enabled\n``` +// display_name enabled +// signature_documentation java boolean enabled +// enclosing_symbol semanticdb maven . . com/airbnb/epoxy/EpoxyController#setDebugLoggingEnabled(). assertNotBuildingModels(); // ^^^^^^^^^^^^^^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/EpoxyController#assertNotBuildingModels(). @@ -1369,7 +1612,9 @@ public void setDebugLoggingEnabled(boolean enabled) { public boolean isDebugLoggingEnabled() { // ^^^^^^^^^^^^^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/EpoxyController#isDebugLoggingEnabled(). -// documentation ```java\npublic boolean isDebugLoggingEnabled()\n``` +// display_name isDebugLoggingEnabled +// signature_documentation java public boolean isDebugLoggingEnabled() +// kind Method return timer != NO_OP_TIMER; // ^^^^^ reference semanticdb maven . . com/airbnb/epoxy/EpoxyController#timer. // ^^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/EpoxyController#NO_OP_TIMER. @@ -1383,10 +1628,14 @@ public boolean isDebugLoggingEnabled() { */ public static void setGlobalDebugLoggingEnabled(boolean globalDebugLoggingEnabled) { // ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/EpoxyController#setGlobalDebugLoggingEnabled(). -// documentation ```java\npublic static void setGlobalDebugLoggingEnabled(boolean globalDebugLoggingEnabled)\n``` +// display_name setGlobalDebugLoggingEnabled +// signature_documentation java public static void setGlobalDebugLoggingEnabled(boolean globalDebugLoggingEnabled) +// kind StaticMethod // documentation Similar to {@link #setDebugLoggingEnabled(boolean)}, but this changes the global default for\n all EpoxyControllers.\n

\n The default is false.\n // ^^^^^^^^^^^^^^^^^^^^^^^^^ definition local 48 -// documentation ```java\nboolean globalDebugLoggingEnabled\n``` +// display_name globalDebugLoggingEnabled +// signature_documentation java boolean globalDebugLoggingEnabled +// enclosing_symbol semanticdb maven . . com/airbnb/epoxy/EpoxyController#setGlobalDebugLoggingEnabled(). EpoxyController.globalDebugLoggingEnabled = globalDebugLoggingEnabled; // ^^^^^^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/EpoxyController# // ^^^^^^^^^^^^^^^^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/EpoxyController#globalDebugLoggingEnabled. @@ -1409,16 +1658,22 @@ public static void setGlobalDebugLoggingEnabled(boolean globalDebugLoggingEnable */ public void moveModel(int fromPosition, int toPosition) { // ^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/EpoxyController#moveModel(). -// documentation ```java\npublic void moveModel(int fromPosition, int toPosition)\n``` +// display_name moveModel +// signature_documentation java public void moveModel(int fromPosition, int toPosition) +// kind Method // documentation An optimized way to move a model from one position to another without rebuilding all models.\n This is intended to be used with {@link androidx.recyclerview.widget.ItemTouchHelper} to\n allow for efficient item dragging and rearranging. It cannot be\n

\n If you call this you MUST also update the data backing your models as necessary.\n

\n This will immediately change the model's position and notify the change to the RecyclerView.\n However, a delayed request to rebuild models will be scheduled for the future to guarantee that\n models are in sync with data.\n\n @param fromPosition Previous position of the item.\n @param toPosition New position of the item.\n // relationship is_reference is_implementation semanticdb maven . . com/airbnb/epoxy/Typed2EpoxyController#moveModel(). // relationship is_reference is_implementation semanticdb maven . . com/airbnb/epoxy/Typed3EpoxyController#moveModel(). // relationship is_reference is_implementation semanticdb maven . . com/airbnb/epoxy/Typed4EpoxyController#moveModel(). // relationship is_reference is_implementation semanticdb maven . . com/airbnb/epoxy/TypedEpoxyController#moveModel(). // ^^^^^^^^^^^^ definition local 49 -// documentation ```java\nint fromPosition\n``` +// display_name fromPosition +// signature_documentation java int fromPosition +// enclosing_symbol semanticdb maven . . com/airbnb/epoxy/EpoxyController#moveModel(). // ^^^^^^^^^^ definition local 50 -// documentation ```java\nint toPosition\n``` +// display_name toPosition +// signature_documentation java int toPosition +// enclosing_symbol semanticdb maven . . com/airbnb/epoxy/EpoxyController#moveModel(). assertNotBuildingModels(); // ^^^^^^^^^^^^^^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/EpoxyController#assertNotBuildingModels(). @@ -1443,10 +1698,14 @@ public void moveModel(int fromPosition, int toPosition) { */ public void notifyModelChanged(int position) { // ^^^^^^^^^^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/EpoxyController#notifyModelChanged(). -// documentation ```java\npublic void notifyModelChanged(int position)\n``` +// display_name notifyModelChanged +// signature_documentation java public void notifyModelChanged(int position) +// kind Method // documentation An way to notify the adapter that a model has changed. This is intended to be used with\n {@link androidx.recyclerview.widget.ItemTouchHelper} to allow revert swiping a model.\n

\n This will immediately notify the change to the RecyclerView.\n\n @param position Position of the item.\n // ^^^^^^^^ definition local 51 -// documentation ```java\nint position\n``` +// display_name position +// signature_documentation java int position +// enclosing_symbol semanticdb maven . . com/airbnb/epoxy/EpoxyController#notifyModelChanged(). assertNotBuildingModels(); // ^^^^^^^^^^^^^^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/EpoxyController#assertNotBuildingModels(). @@ -1466,7 +1725,9 @@ public void notifyModelChanged(int position) { public EpoxyControllerAdapter getAdapter() { // ^^^^^^^^^^^^^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/EpoxyControllerAdapter# // ^^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/EpoxyController#getAdapter(). -// documentation ```java\n@NonNull\npublic EpoxyControllerAdapter getAdapter()\n``` +// display_name getAdapter +// signature_documentation java @NonNull\npublic EpoxyControllerAdapter getAdapter() +// kind Method // documentation Get the underlying adapter built by this controller. Use this to get the adapter to set on a\n RecyclerView, or to get information about models currently in use.\n return adapter; // ^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/EpoxyController#adapter. @@ -1474,11 +1735,15 @@ public EpoxyControllerAdapter getAdapter() { public void onSaveInstanceState(@NonNull Bundle outState) { // ^^^^^^^^^^^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/EpoxyController#onSaveInstanceState(). -// documentation ```java\npublic void onSaveInstanceState(unresolved_type outState)\n``` +// display_name onSaveInstanceState +// signature_documentation java public void onSaveInstanceState(unresolved_type outState) +// kind Method // ^^^^^^^ reference semanticdb maven maven/androidx.annotation/annotation 1.1.0 androidx/annotation/NonNull# // ^^^^^^ reference semanticdb maven . . Bundle# // ^^^^^^^^ definition local 52 -// documentation ```java\n@NonNull\nunresolved_type outState\n``` +// display_name outState +// signature_documentation java @NonNull\nunresolved_type outState +// enclosing_symbol semanticdb maven . . com/airbnb/epoxy/EpoxyController#onSaveInstanceState(). adapter.onSaveInstanceState(outState); // ^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/EpoxyController#adapter. // ^^^^^^^^^^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/BaseEpoxyAdapter#onSaveInstanceState(). @@ -1487,11 +1752,15 @@ public void onSaveInstanceState(@NonNull Bundle outState) { public void onRestoreInstanceState(@Nullable Bundle inState) { // ^^^^^^^^^^^^^^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/EpoxyController#onRestoreInstanceState(). -// documentation ```java\npublic void onRestoreInstanceState(unresolved_type inState)\n``` +// display_name onRestoreInstanceState +// signature_documentation java public void onRestoreInstanceState(unresolved_type inState) +// kind Method // ^^^^^^^^ reference semanticdb maven maven/androidx.annotation/annotation 1.1.0 androidx/annotation/Nullable# // ^^^^^^ reference semanticdb maven . . Bundle# // ^^^^^^^ definition local 53 -// documentation ```java\n@Nullable\nunresolved_type inState\n``` +// display_name inState +// signature_documentation java @Nullable\nunresolved_type inState +// enclosing_symbol semanticdb maven . . com/airbnb/epoxy/EpoxyController#onRestoreInstanceState(). adapter.onRestoreInstanceState(inState); // ^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/EpoxyController#adapter. // ^^^^^^^^^^^^^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/BaseEpoxyAdapter#onRestoreInstanceState(). @@ -1509,7 +1778,9 @@ public void onRestoreInstanceState(@Nullable Bundle inState) { public SpanSizeLookup getSpanSizeLookup() { // ^^^^^^^^^^^^^^ reference semanticdb maven . . SpanSizeLookup# // ^^^^^^^^^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/EpoxyController#getSpanSizeLookup(). -// documentation ```java\n@NonNull\npublic unresolved_type getSpanSizeLookup()\n``` +// display_name getSpanSizeLookup +// signature_documentation java @NonNull\npublic unresolved_type getSpanSizeLookup() +// kind Method // documentation For use with a grid layout manager - use this to get the {@link SpanSizeLookup} for models in\n this controller. This will delegate span look up calls to each model's {@link\n EpoxyModel#getSpanSize(int, int, int)}. Make sure to also call {@link #setSpanCount(int)} so\n the span count is correct.\n return adapter.getSpanSizeLookup(); // ^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/EpoxyController#adapter. @@ -1525,10 +1796,14 @@ public SpanSizeLookup getSpanSizeLookup() { */ public void setSpanCount(int spanCount) { // ^^^^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/EpoxyController#setSpanCount(). -// documentation ```java\npublic void setSpanCount(int spanCount)\n``` +// display_name setSpanCount +// signature_documentation java public void setSpanCount(int spanCount) +// kind Method // documentation If you are using a grid layout manager you must call this to set the span count of the grid.\n This span count will be passed on to the models so models can choose which span count to be.\n\n @see #getSpanSizeLookup()\n @see EpoxyModel#getSpanSize(int, int, int)\n // ^^^^^^^^^ definition local 54 -// documentation ```java\nint spanCount\n``` +// display_name spanCount +// signature_documentation java int spanCount +// enclosing_symbol semanticdb maven . . com/airbnb/epoxy/EpoxyController#setSpanCount(). adapter.setSpanCount(spanCount); // ^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/EpoxyController#adapter. // ^^^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/BaseEpoxyAdapter#setSpanCount(). @@ -1537,7 +1812,9 @@ public void setSpanCount(int spanCount) { public int getSpanCount() { // ^^^^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/EpoxyController#getSpanCount(). -// documentation ```java\npublic int getSpanCount()\n``` +// display_name getSpanCount +// signature_documentation java public int getSpanCount() +// kind Method return adapter.getSpanCount(); // ^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/EpoxyController#adapter. // ^^^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/BaseEpoxyAdapter#getSpanCount(). @@ -1545,7 +1822,9 @@ public int getSpanCount() { public boolean isMultiSpan() { // ^^^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/EpoxyController#isMultiSpan(). -// documentation ```java\npublic boolean isMultiSpan()\n``` +// display_name isMultiSpan +// signature_documentation java public boolean isMultiSpan() +// kind Method return adapter.isMultiSpan(); // ^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/EpoxyController#adapter. // ^^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/BaseEpoxyAdapter#isMultiSpan(). @@ -1565,12 +1844,16 @@ public boolean isMultiSpan() { */ protected void onExceptionSwallowed(@NonNull RuntimeException exception) { // ^^^^^^^^^^^^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/EpoxyController#onExceptionSwallowed(). -// documentation ```java\nprotected void onExceptionSwallowed(RuntimeException exception)\n``` +// display_name onExceptionSwallowed +// signature_documentation java protected void onExceptionSwallowed(RuntimeException exception) +// kind Method // documentation This is called when recoverable exceptions occur at runtime. By default they are ignored and\n Epoxy will recover, but you can override this to be aware of when they happen.\n

\n A common use for this is being aware of duplicates when {@link #setFilterDuplicates(boolean)}\n is enabled.\n

\n By default the global exception handler provided by\n {@link #setGlobalExceptionHandler(ExceptionHandler)}\n is called with the exception. Overriding this allows you to provide your own handling for a\n controller.\n // ^^^^^^^ reference semanticdb maven maven/androidx.annotation/annotation 1.1.0 androidx/annotation/NonNull# // ^^^^^^^^^^^^^^^^ reference semanticdb maven jdk 11 java/lang/RuntimeException# // ^^^^^^^^^ definition local 55 -// documentation ```java\n@NonNull\nRuntimeException exception\n``` +// display_name exception +// signature_documentation java @NonNull\nRuntimeException exception +// enclosing_symbol semanticdb maven . . com/airbnb/epoxy/EpoxyController#onExceptionSwallowed(). globalExceptionHandler.onException(this, exception); // ^^^^^^^^^^^^^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/EpoxyController#globalExceptionHandler. // ^^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/EpoxyController#ExceptionHandler#onException(). @@ -1584,7 +1867,9 @@ protected void onExceptionSwallowed(@NonNull RuntimeException exception) { private static ExceptionHandler globalExceptionHandler = // ^^^^^^^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/EpoxyController#ExceptionHandler# // ^^^^^^^^^^^^^^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/EpoxyController#globalExceptionHandler. -// documentation ```java\nprivate static ExceptionHandler globalExceptionHandler\n``` +// display_name globalExceptionHandler +// signature_documentation java private static ExceptionHandler globalExceptionHandler +// kind StaticField // documentation Default handler for exceptions in all EpoxyControllers. Set with {@link\n #setGlobalExceptionHandler(ExceptionHandler)}\n new ExceptionHandler() { // ^^^^^^^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/EpoxyController#ExceptionHandler# @@ -1593,17 +1878,24 @@ protected void onExceptionSwallowed(@NonNull RuntimeException exception) { // ^^^^^^^^ reference semanticdb maven jdk 11 java/lang/Override# public void onException(@NonNull EpoxyController controller, // ^^^^^^^^^^^ definition local 57 -// documentation ```java\n@Override\npublic void onException(EpoxyController controller, RuntimeException exception)\n``` +// display_name onException +// signature_documentation java @Override\npublic void onException(EpoxyController controller, RuntimeException exception) +// enclosing_symbol local 56 +// kind Method // relationship is_reference is_implementation semanticdb maven . . com/airbnb/epoxy/EpoxyController#ExceptionHandler#onException(). // ^^^^^^^ reference semanticdb maven maven/androidx.annotation/annotation 1.1.0 androidx/annotation/NonNull# // ^^^^^^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/EpoxyController# // ^^^^^^^^^^ definition local 58 -// documentation ```java\n@NonNull\nEpoxyController controller\n``` +// display_name controller +// signature_documentation java @NonNull\nEpoxyController controller +// enclosing_symbol local 57 @NonNull RuntimeException exception) { // ^^^^^^^ reference semanticdb maven maven/androidx.annotation/annotation 1.1.0 androidx/annotation/NonNull# // ^^^^^^^^^^^^^^^^ reference semanticdb maven jdk 11 java/lang/RuntimeException# // ^^^^^^^^^ definition local 59 -// documentation ```java\n@NonNull\nRuntimeException exception\n``` +// display_name exception +// signature_documentation java @NonNull\nRuntimeException exception +// enclosing_symbol local 57 // Ignore exceptions as the default } }; @@ -1624,13 +1916,17 @@ public void onException(@NonNull EpoxyController controller, */ public static void setGlobalExceptionHandler( // ^^^^^^^^^^^^^^^^^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/EpoxyController#setGlobalExceptionHandler(). -// documentation ```java\npublic static void setGlobalExceptionHandler(ExceptionHandler globalExceptionHandler)\n``` +// display_name setGlobalExceptionHandler +// signature_documentation java public static void setGlobalExceptionHandler(ExceptionHandler globalExceptionHandler) +// kind StaticMethod // documentation Set a callback to be notified when a recoverable exception occurs at runtime. By default these\n are ignored and Epoxy will recover, but you can override this to be aware of when they happen.\n

\n For example, you could choose to rethrow the exception in development builds, or log them in\n production.\n

\n A common use for this is being aware of duplicates when {@link #setFilterDuplicates(boolean)}\n is enabled.\n

\n This callback will be used in all EpoxyController classes. If you would like specific handling\n in a certain controller you can override {@link #onExceptionSwallowed(RuntimeException)} in\n that controller.\n @NonNull ExceptionHandler globalExceptionHandler) { // ^^^^^^^ reference semanticdb maven maven/androidx.annotation/annotation 1.1.0 androidx/annotation/NonNull# // ^^^^^^^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/EpoxyController#ExceptionHandler# // ^^^^^^^^^^^^^^^^^^^^^^ definition local 60 -// documentation ```java\n@NonNull\nExceptionHandler globalExceptionHandler\n``` +// display_name globalExceptionHandler +// signature_documentation java @NonNull\nExceptionHandler globalExceptionHandler +// enclosing_symbol semanticdb maven . . com/airbnb/epoxy/EpoxyController#setGlobalExceptionHandler(). EpoxyController.globalExceptionHandler = globalExceptionHandler; // ^^^^^^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/EpoxyController# // ^^^^^^^^^^^^^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/EpoxyController#globalExceptionHandler. @@ -1639,7 +1935,9 @@ public static void setGlobalExceptionHandler( public interface ExceptionHandler { // ^^^^^^^^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/EpoxyController#ExceptionHandler# -// documentation ```java\npublic interface ExceptionHandler\n``` +// display_name ExceptionHandler +// signature_documentation java public interface ExceptionHandler +// kind Interface /** * This is called when recoverable exceptions happen at runtime. They can be ignored and Epoxy * will recover, but you can override this to be aware of when they happen. @@ -1651,24 +1949,34 @@ public interface ExceptionHandler { */ void onException(@NonNull EpoxyController controller, @NonNull RuntimeException exception); // ^^^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/EpoxyController#ExceptionHandler#onException(). -// documentation ```java\npublic abstract void onException(EpoxyController controller, RuntimeException exception)\n``` +// display_name onException +// signature_documentation java public abstract void onException(EpoxyController controller, RuntimeException exception) +// kind AbstractMethod // documentation This is called when recoverable exceptions happen at runtime. They can be ignored and Epoxy\n will recover, but you can override this to be aware of when they happen.\n

\n For example, you could choose to rethrow the exception in development builds, or log them in\n production.\n\n @param controller The EpoxyController that the error occurred in.\n // ^^^^^^^ reference semanticdb maven maven/androidx.annotation/annotation 1.1.0 androidx/annotation/NonNull# // ^^^^^^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/EpoxyController# // ^^^^^^^^^^ definition local 61 -// documentation ```java\n@NonNull\nEpoxyController controller\n``` +// display_name controller +// signature_documentation java @NonNull\nEpoxyController controller +// enclosing_symbol semanticdb maven . . com/airbnb/epoxy/EpoxyController#ExceptionHandler#onException(). // ^^^^^^^ reference semanticdb maven maven/androidx.annotation/annotation 1.1.0 androidx/annotation/NonNull# // ^^^^^^^^^^^^^^^^ reference semanticdb maven jdk 11 java/lang/RuntimeException# // ^^^^^^^^^ definition local 62 -// documentation ```java\n@NonNull\nRuntimeException exception\n``` +// display_name exception +// signature_documentation java @NonNull\nRuntimeException exception +// enclosing_symbol semanticdb maven . . com/airbnb/epoxy/EpoxyController#ExceptionHandler#onException(). } void onAttachedToRecyclerViewInternal(RecyclerView recyclerView) { // ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/EpoxyController#onAttachedToRecyclerViewInternal(). -// documentation ```java\nvoid onAttachedToRecyclerViewInternal(unresolved_type recyclerView)\n``` +// display_name onAttachedToRecyclerViewInternal +// signature_documentation java void onAttachedToRecyclerViewInternal(unresolved_type recyclerView) +// kind Method // ^^^^^^^^^^^^ reference semanticdb maven . . RecyclerView# // ^^^^^^^^^^^^ definition local 63 -// documentation ```java\nunresolved_type recyclerView\n``` +// display_name recyclerView +// signature_documentation java unresolved_type recyclerView +// enclosing_symbol semanticdb maven . . com/airbnb/epoxy/EpoxyController#onAttachedToRecyclerViewInternal(). recyclerViewAttachCount++; // ^^^^^^^^^^^^^^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/EpoxyController#recyclerViewAttachCount. @@ -1684,7 +1992,10 @@ void onAttachedToRecyclerViewInternal(RecyclerView recyclerView) { // ^^^^^^^^ reference semanticdb maven jdk 11 java/lang/Override# public void run() { // ^^^ definition local 65 -// documentation ```java\n@Override\npublic void run()\n``` +// display_name run +// signature_documentation java @Override\npublic void run() +// enclosing_symbol local 64 +// kind Method // relationship is_reference is_implementation semanticdb maven jdk 11 java/lang/Runnable#run(). // Only warn if there are still multiple adapters attached after a delay, to allow for // a grace period @@ -1716,10 +2027,14 @@ public void run() { void onDetachedFromRecyclerViewInternal(RecyclerView recyclerView) { // ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/EpoxyController#onDetachedFromRecyclerViewInternal(). -// documentation ```java\nvoid onDetachedFromRecyclerViewInternal(unresolved_type recyclerView)\n``` +// display_name onDetachedFromRecyclerViewInternal +// signature_documentation java void onDetachedFromRecyclerViewInternal(unresolved_type recyclerView) +// kind Method // ^^^^^^^^^^^^ reference semanticdb maven . . RecyclerView# // ^^^^^^^^^^^^ definition local 66 -// documentation ```java\nunresolved_type recyclerView\n``` +// display_name recyclerView +// signature_documentation java unresolved_type recyclerView +// enclosing_symbol semanticdb maven . . com/airbnb/epoxy/EpoxyController#onDetachedFromRecyclerViewInternal(). recyclerViewAttachCount--; // ^^^^^^^^^^^^^^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/EpoxyController#recyclerViewAttachCount. onDetachedFromRecyclerView(recyclerView); @@ -1730,24 +2045,32 @@ void onDetachedFromRecyclerViewInternal(RecyclerView recyclerView) { /** Called when the controller's adapter is attach to a recyclerview. */ protected void onAttachedToRecyclerView(@NonNull RecyclerView recyclerView) { // ^^^^^^^^^^^^^^^^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/EpoxyController#onAttachedToRecyclerView(). -// documentation ```java\nprotected void onAttachedToRecyclerView(unresolved_type recyclerView)\n``` +// display_name onAttachedToRecyclerView +// signature_documentation java protected void onAttachedToRecyclerView(unresolved_type recyclerView) +// kind Method // documentation Called when the controller's adapter is attach to a recyclerview. // ^^^^^^^ reference semanticdb maven maven/androidx.annotation/annotation 1.1.0 androidx/annotation/NonNull# // ^^^^^^^^^^^^ reference semanticdb maven . . RecyclerView# // ^^^^^^^^^^^^ definition local 67 -// documentation ```java\n@NonNull\nunresolved_type recyclerView\n``` +// display_name recyclerView +// signature_documentation java @NonNull\nunresolved_type recyclerView +// enclosing_symbol semanticdb maven . . com/airbnb/epoxy/EpoxyController#onAttachedToRecyclerView(). } /** Called when the controller's adapter is detached from a recyclerview. */ protected void onDetachedFromRecyclerView(@NonNull RecyclerView recyclerView) { // ^^^^^^^^^^^^^^^^^^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/EpoxyController#onDetachedFromRecyclerView(). -// documentation ```java\nprotected void onDetachedFromRecyclerView(unresolved_type recyclerView)\n``` +// display_name onDetachedFromRecyclerView +// signature_documentation java protected void onDetachedFromRecyclerView(unresolved_type recyclerView) +// kind Method // documentation Called when the controller's adapter is detached from a recyclerview. // ^^^^^^^ reference semanticdb maven maven/androidx.annotation/annotation 1.1.0 androidx/annotation/NonNull# // ^^^^^^^^^^^^ reference semanticdb maven . . RecyclerView# // ^^^^^^^^^^^^ definition local 68 -// documentation ```java\n@NonNull\nunresolved_type recyclerView\n``` +// display_name recyclerView +// signature_documentation java @NonNull\nunresolved_type recyclerView +// enclosing_symbol semanticdb maven . . com/airbnb/epoxy/EpoxyController#onDetachedFromRecyclerView(). } @@ -1786,24 +2109,34 @@ protected void onDetachedFromRecyclerView(@NonNull RecyclerView recyclerView) { */ protected void onModelBound(@NonNull EpoxyViewHolder holder, @NonNull EpoxyModel boundModel, // ^^^^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/EpoxyController#onModelBound(). -// documentation ```java\nprotected void onModelBound(EpoxyViewHolder holder, EpoxyModel boundModel, int position, EpoxyModel previouslyBoundModel)\n``` +// display_name onModelBound +// signature_documentation java protected void onModelBound(EpoxyViewHolder holder, EpoxyModel boundModel, int position, EpoxyModel previouslyBoundModel) +// kind Method // documentation Called immediately after a model is bound to a view holder. Subclasses can override this if\n they want alerts on when a model is bound. Alternatively you may attach a listener directly to\n a generated model with model.onBind(...)\n\n @param previouslyBoundModel If non null, this is a model with the same id as the newly bound\n model, and was previously bound to a view. This means that {@link\n #buildModels()} returned a model that is different from the\n previouslyBoundModel and the view is being rebound to incorporate\n the change. You can compare this previous model with the new one to\n see exactly what changed.\n

\n The newly bound model and the previously bound model are guaranteed\n to have the same id, but will not necessarily be of the same type\n depending on your implementation of {@link #buildModels()}. With\n common usage patterns of Epoxy they should be the same type, and\n will only differ if you are using different model classes with the\n same id.\n

\n Comparing the newly bound model with the previous model allows you\n to be more intelligent when updating your view. This may help you\n optimize, or make it easier to work with animations.\n

\n If the new model and the previous model have the same view type\n (given by {@link EpoxyModel#getViewType()}), and if you are using\n the default ReyclerView item animator, the same view will be kept.\n If you are using a custom item animator then the view will be the\n same if the animator returns true in canReuseUpdatedViewHolder.\n

\n This previously bound model is taken as a payload from the diffing\n process, and follows the same general conditions for all\n recyclerview change payloads.\n // ^^^^^^^ reference semanticdb maven maven/androidx.annotation/annotation 1.1.0 androidx/annotation/NonNull# // ^^^^^^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/EpoxyViewHolder# // ^^^^^^ definition local 69 -// documentation ```java\n@NonNull\nEpoxyViewHolder holder\n``` +// display_name holder +// signature_documentation java @NonNull\nEpoxyViewHolder holder +// enclosing_symbol semanticdb maven . . com/airbnb/epoxy/EpoxyController#onModelBound(). // ^^^^^^^ reference semanticdb maven maven/androidx.annotation/annotation 1.1.0 androidx/annotation/NonNull# // ^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/EpoxyModel# // ^^^^^^^^^^ definition local 70 -// documentation ```java\n@NonNull\nEpoxyModel boundModel\n``` +// display_name boundModel +// signature_documentation java @NonNull\nEpoxyModel boundModel +// enclosing_symbol semanticdb maven . . com/airbnb/epoxy/EpoxyController#onModelBound(). int position, // ^^^^^^^^ definition local 71 -// documentation ```java\nint position\n``` +// display_name position +// signature_documentation java int position +// enclosing_symbol semanticdb maven . . com/airbnb/epoxy/EpoxyController#onModelBound(). @Nullable EpoxyModel previouslyBoundModel) { // ^^^^^^^^ reference semanticdb maven maven/androidx.annotation/annotation 1.1.0 androidx/annotation/Nullable# // ^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/EpoxyModel# // ^^^^^^^^^^^^^^^^^^^^ definition local 72 -// documentation ```java\n@Nullable\nEpoxyModel previouslyBoundModel\n``` +// display_name previouslyBoundModel +// signature_documentation java @Nullable\nEpoxyModel previouslyBoundModel +// enclosing_symbol semanticdb maven . . com/airbnb/epoxy/EpoxyController#onModelBound(). } /** @@ -1813,16 +2146,22 @@ protected void onModelBound(@NonNull EpoxyViewHolder holder, @NonNull EpoxyModel */ protected void onModelUnbound(@NonNull EpoxyViewHolder holder, @NonNull EpoxyModel model) { // ^^^^^^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/EpoxyController#onModelUnbound(). -// documentation ```java\nprotected void onModelUnbound(EpoxyViewHolder holder, EpoxyModel model)\n``` +// display_name onModelUnbound +// signature_documentation java protected void onModelUnbound(EpoxyViewHolder holder, EpoxyModel model) +// kind Method // documentation Called immediately after a model is unbound from a view holder. Subclasses can override this if\n they want alerts on when a model is unbound. Alternatively you may attach a listener directly\n to a generated model with model.onUnbind(...)\n // ^^^^^^^ reference semanticdb maven maven/androidx.annotation/annotation 1.1.0 androidx/annotation/NonNull# // ^^^^^^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/EpoxyViewHolder# // ^^^^^^ definition local 73 -// documentation ```java\n@NonNull\nEpoxyViewHolder holder\n``` +// display_name holder +// signature_documentation java @NonNull\nEpoxyViewHolder holder +// enclosing_symbol semanticdb maven . . com/airbnb/epoxy/EpoxyController#onModelUnbound(). // ^^^^^^^ reference semanticdb maven maven/androidx.annotation/annotation 1.1.0 androidx/annotation/NonNull# // ^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/EpoxyModel# // ^^^^^ definition local 74 -// documentation ```java\n@NonNull\nEpoxyModel model\n``` +// display_name model +// signature_documentation java @NonNull\nEpoxyModel model +// enclosing_symbol semanticdb maven . . com/airbnb/epoxy/EpoxyController#onModelUnbound(). } @@ -1834,17 +2173,23 @@ protected void onModelUnbound(@NonNull EpoxyViewHolder holder, @NonNull EpoxyMod */ protected void onViewAttachedToWindow(@NonNull EpoxyViewHolder holder, // ^^^^^^^^^^^^^^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/EpoxyController#onViewAttachedToWindow(). -// documentation ```java\nprotected void onViewAttachedToWindow(EpoxyViewHolder holder, EpoxyModel model)\n``` +// display_name onViewAttachedToWindow +// signature_documentation java protected void onViewAttachedToWindow(EpoxyViewHolder holder, EpoxyModel model) +// kind Method // documentation Called when the given viewholder is attached to the window, along with the model it is bound\n to.\n\n @see BaseEpoxyAdapter#onViewAttachedToWindow(EpoxyViewHolder)\n // ^^^^^^^ reference semanticdb maven maven/androidx.annotation/annotation 1.1.0 androidx/annotation/NonNull# // ^^^^^^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/EpoxyViewHolder# // ^^^^^^ definition local 75 -// documentation ```java\n@NonNull\nEpoxyViewHolder holder\n``` +// display_name holder +// signature_documentation java @NonNull\nEpoxyViewHolder holder +// enclosing_symbol semanticdb maven . . com/airbnb/epoxy/EpoxyController#onViewAttachedToWindow(). @NonNull EpoxyModel model) { // ^^^^^^^ reference semanticdb maven maven/androidx.annotation/annotation 1.1.0 androidx/annotation/NonNull# // ^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/EpoxyModel# // ^^^^^ definition local 76 -// documentation ```java\n@NonNull\nEpoxyModel model\n``` +// display_name model +// signature_documentation java @NonNull\nEpoxyModel model +// enclosing_symbol semanticdb maven . . com/airbnb/epoxy/EpoxyController#onViewAttachedToWindow(). } @@ -1856,17 +2201,23 @@ protected void onViewAttachedToWindow(@NonNull EpoxyViewHolder holder, */ protected void onViewDetachedFromWindow(@NonNull EpoxyViewHolder holder, // ^^^^^^^^^^^^^^^^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/EpoxyController#onViewDetachedFromWindow(). -// documentation ```java\nprotected void onViewDetachedFromWindow(EpoxyViewHolder holder, EpoxyModel model)\n``` +// display_name onViewDetachedFromWindow +// signature_documentation java protected void onViewDetachedFromWindow(EpoxyViewHolder holder, EpoxyModel model) +// kind Method // documentation Called when the given viewholder is detechaed from the window, along with the model it is bound\n to.\n\n @see BaseEpoxyAdapter#onViewDetachedFromWindow(EpoxyViewHolder)\n // ^^^^^^^ reference semanticdb maven maven/androidx.annotation/annotation 1.1.0 androidx/annotation/NonNull# // ^^^^^^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/EpoxyViewHolder# // ^^^^^^ definition local 77 -// documentation ```java\n@NonNull\nEpoxyViewHolder holder\n``` +// display_name holder +// signature_documentation java @NonNull\nEpoxyViewHolder holder +// enclosing_symbol semanticdb maven . . com/airbnb/epoxy/EpoxyController#onViewDetachedFromWindow(). @NonNull EpoxyModel model) { // ^^^^^^^ reference semanticdb maven maven/androidx.annotation/annotation 1.1.0 androidx/annotation/NonNull# // ^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/EpoxyModel# // ^^^^^ definition local 78 -// documentation ```java\n@NonNull\nEpoxyModel model\n``` +// display_name model +// signature_documentation java @NonNull\nEpoxyModel model +// enclosing_symbol semanticdb maven . . com/airbnb/epoxy/EpoxyController#onViewDetachedFromWindow(). } @@ -1883,12 +2234,16 @@ protected void onViewDetachedFromWindow(@NonNull EpoxyViewHolder holder, // ^^^^^^^^ reference semanticdb maven jdk 11 java/lang/Override# public void setupStickyHeaderView(@NotNull View stickyHeader) { // ^^^^^^^^^^^^^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/EpoxyController#setupStickyHeaderView(). -// documentation ```java\n@Override\npublic void setupStickyHeaderView(unresolved_type stickyHeader)\n``` +// display_name setupStickyHeaderView +// signature_documentation java @Override\npublic void setupStickyHeaderView(unresolved_type stickyHeader) +// kind Method // documentation Optional callback to setup the sticky view,\n by default it doesn't do anything.\n\n The sub-classes should override the function if they are\n using sticky header feature.\n // ^^^^^^^ reference semanticdb maven maven/org.jetbrains/annotations 13.0 org/jetbrains/annotations/NotNull# // ^^^^ reference semanticdb maven . . View# // ^^^^^^^^^^^^ definition local 79 -// documentation ```java\n@NotNull\nunresolved_type stickyHeader\n``` +// display_name stickyHeader +// signature_documentation java @NotNull\nunresolved_type stickyHeader +// enclosing_symbol semanticdb maven . . com/airbnb/epoxy/EpoxyController#setupStickyHeaderView(). // no-op } @@ -1903,12 +2258,16 @@ public void setupStickyHeaderView(@NotNull View stickyHeader) { // ^^^^^^^^ reference semanticdb maven jdk 11 java/lang/Override# public void teardownStickyHeaderView(@NotNull View stickyHeader) { // ^^^^^^^^^^^^^^^^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/EpoxyController#teardownStickyHeaderView(). -// documentation ```java\n@Override\npublic void teardownStickyHeaderView(unresolved_type stickyHeader)\n``` +// display_name teardownStickyHeaderView +// signature_documentation java @Override\npublic void teardownStickyHeaderView(unresolved_type stickyHeader) +// kind Method // documentation Optional callback to perform tear down operation on the\n sticky view, by default it doesn't do anything.\n\n The sub-classes should override the function if they are\n using sticky header feature.\n // ^^^^^^^ reference semanticdb maven maven/org.jetbrains/annotations 13.0 org/jetbrains/annotations/NotNull# // ^^^^ reference semanticdb maven . . View# // ^^^^^^^^^^^^ definition local 80 -// documentation ```java\n@NotNull\nunresolved_type stickyHeader\n``` +// display_name stickyHeader +// signature_documentation java @NotNull\nunresolved_type stickyHeader +// enclosing_symbol semanticdb maven . . com/airbnb/epoxy/EpoxyController#teardownStickyHeaderView(). // no-op } @@ -1923,10 +2282,14 @@ public void teardownStickyHeaderView(@NotNull View stickyHeader) { // ^^^^^^^^ reference semanticdb maven jdk 11 java/lang/Override# public boolean isStickyHeader(int position) { // ^^^^^^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/EpoxyController#isStickyHeader(). -// documentation ```java\n@Override\npublic boolean isStickyHeader(int position)\n``` +// display_name isStickyHeader +// signature_documentation java @Override\npublic boolean isStickyHeader(int position) +// kind Method // documentation Called to check if the item at the position is a sticky item,\n by default returns false.\n\n The sub-classes should override the function if they are\n using sticky header feature.\n // ^^^^^^^^ definition local 81 -// documentation ```java\nint position\n``` +// display_name position +// signature_documentation java int position +// enclosing_symbol semanticdb maven . . com/airbnb/epoxy/EpoxyController#isStickyHeader(). return false; } diff --git a/tests/snapshots/src/main/generated/com/airbnb/epoxy/EpoxyControllerAdapter.java b/tests/snapshots/src/main/generated/com/airbnb/epoxy/EpoxyControllerAdapter.java index ee752fdc7..106a0c057 100644 --- a/tests/snapshots/src/main/generated/com/airbnb/epoxy/EpoxyControllerAdapter.java +++ b/tests/snapshots/src/main/generated/com/airbnb/epoxy/EpoxyControllerAdapter.java @@ -57,7 +57,9 @@ public final class EpoxyControllerAdapter extends BaseEpoxyAdapter implements ResultCallback { // ^^^^^^^^^^^^^^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/EpoxyControllerAdapter# -// documentation ```java\npublic final class EpoxyControllerAdapter\n``` +// display_name EpoxyControllerAdapter +// signature_documentation java public final class EpoxyControllerAdapter +// kind Class // relationship is_implementation semanticdb maven . . RecyclerView/Adapter# // relationship is_implementation semanticdb maven . . StickyHeaderCallbacks# // relationship is_implementation semanticdb maven . . com/airbnb/epoxy/AsyncEpoxyDiffer#ResultCallback# @@ -67,36 +69,52 @@ public final class EpoxyControllerAdapter extends BaseEpoxyAdapter implements Re private final NotifyBlocker notifyBlocker = new NotifyBlocker(); // ^^^^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/NotifyBlocker# // ^^^^^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/EpoxyControllerAdapter#notifyBlocker. -// documentation ```java\nprivate final NotifyBlocker notifyBlocker\n``` +// display_name notifyBlocker +// signature_documentation java private final NotifyBlocker notifyBlocker +// kind Field // ^^^^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/NotifyBlocker#``(). private final AsyncEpoxyDiffer differ; // ^^^^^^^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/AsyncEpoxyDiffer# // ^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/EpoxyControllerAdapter#differ. -// documentation ```java\nprivate final AsyncEpoxyDiffer differ\n``` +// display_name differ +// signature_documentation java private final AsyncEpoxyDiffer differ +// kind Field private final EpoxyController epoxyController; // ^^^^^^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/EpoxyController# // ^^^^^^^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/EpoxyControllerAdapter#epoxyController. -// documentation ```java\nprivate final EpoxyController epoxyController\n``` +// display_name epoxyController +// signature_documentation java private final EpoxyController epoxyController +// kind Field private int itemCount; // ^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/EpoxyControllerAdapter#itemCount. -// documentation ```java\nprivate int itemCount\n``` +// display_name itemCount +// signature_documentation java private int itemCount +// kind Field private final List modelBuildListeners = new ArrayList<>(); // ^^^^ reference semanticdb maven jdk 11 java/util/List# // ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/OnModelBuildFinishedListener# // ^^^^^^^^^^^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/EpoxyControllerAdapter#modelBuildListeners. -// documentation ```java\nprivate final List modelBuildListeners\n``` +// display_name modelBuildListeners +// signature_documentation java private final List modelBuildListeners +// kind Field // ^^^^^^^^^ reference semanticdb maven jdk 11 java/util/ArrayList#``(+1). EpoxyControllerAdapter(@NonNull EpoxyController epoxyController, Handler diffingHandler) { //^^^^^^^^^^^^^^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/EpoxyControllerAdapter#``(). -// documentation ```java\nEpoxyControllerAdapter(EpoxyController epoxyController, unresolved_type diffingHandler)\n``` +// display_name +// signature_documentation java EpoxyControllerAdapter(EpoxyController epoxyController, unresolved_type diffingHandler) +// kind Constructor // ^^^^^^^ reference semanticdb maven maven/androidx.annotation/annotation 1.1.0 androidx/annotation/NonNull# // ^^^^^^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/EpoxyController# // ^^^^^^^^^^^^^^^ definition local 0 -// documentation ```java\n@NonNull\nEpoxyController epoxyController\n``` +// display_name epoxyController +// signature_documentation java @NonNull\nEpoxyController epoxyController +// enclosing_symbol semanticdb maven . . com/airbnb/epoxy/EpoxyControllerAdapter#``(). // ^^^^^^^ reference semanticdb maven . . Handler# // ^^^^^^^^^^^^^^ definition local 1 -// documentation ```java\nunresolved_type diffingHandler\n``` +// display_name diffingHandler +// signature_documentation java unresolved_type diffingHandler +// enclosing_symbol semanticdb maven . . com/airbnb/epoxy/EpoxyControllerAdapter#``(). this.epoxyController = epoxyController; // ^^^^^^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/EpoxyControllerAdapter#epoxyController. // ^^^^^^^^^^^^^^^ reference local 0 @@ -118,12 +136,16 @@ public final class EpoxyControllerAdapter extends BaseEpoxyAdapter implements Re // ^^^^^^^^ reference semanticdb maven jdk 11 java/lang/Override# protected void onExceptionSwallowed(@NonNull RuntimeException exception) { // ^^^^^^^^^^^^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/EpoxyControllerAdapter#onExceptionSwallowed(). -// documentation ```java\n@Override\nprotected void onExceptionSwallowed(RuntimeException exception)\n``` +// display_name onExceptionSwallowed +// signature_documentation java @Override\nprotected void onExceptionSwallowed(RuntimeException exception) +// kind Method // relationship is_reference is_implementation semanticdb maven . . com/airbnb/epoxy/BaseEpoxyAdapter#onExceptionSwallowed(). // ^^^^^^^ reference semanticdb maven maven/androidx.annotation/annotation 1.1.0 androidx/annotation/NonNull# // ^^^^^^^^^^^^^^^^ reference semanticdb maven jdk 11 java/lang/RuntimeException# // ^^^^^^^^^ definition local 2 -// documentation ```java\n@NonNull\nRuntimeException exception\n``` +// display_name exception +// signature_documentation java @NonNull\nRuntimeException exception +// enclosing_symbol semanticdb maven . . com/airbnb/epoxy/EpoxyControllerAdapter#onExceptionSwallowed(). epoxyController.onExceptionSwallowed(exception); // ^^^^^^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/EpoxyControllerAdapter#epoxyController. // ^^^^^^^^^^^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/EpoxyController#onExceptionSwallowed(). @@ -138,7 +160,9 @@ List> getCurrentModels() { //^^^^ reference semanticdb maven jdk 11 java/util/List# // ^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/EpoxyModel# // ^^^^^^^^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/EpoxyControllerAdapter#getCurrentModels(). -// documentation ```java\n@NonNull\n@Override\nList> getCurrentModels()\n``` +// display_name getCurrentModels +// signature_documentation java @NonNull\n@Override\nList> getCurrentModels() +// kind Method // relationship is_reference is_implementation semanticdb maven . . com/airbnb/epoxy/BaseEpoxyAdapter#getCurrentModels(). return differ.getCurrentList(); // ^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/EpoxyControllerAdapter#differ. @@ -149,7 +173,9 @@ List> getCurrentModels() { // ^^^^^^^^ reference semanticdb maven jdk 11 java/lang/Override# public int getItemCount() { // ^^^^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/EpoxyControllerAdapter#getItemCount(). -// documentation ```java\n@Override\npublic int getItemCount()\n``` +// display_name getItemCount +// signature_documentation java @Override\npublic int getItemCount() +// kind Method // relationship is_reference is_implementation semanticdb maven . . com/airbnb/epoxy/BaseEpoxyAdapter#getItemCount(). // RecyclerView calls this A LOT. The base class implementation does // getCurrentModels().size() which adds some overhead because of the method calls. @@ -161,12 +187,16 @@ public int getItemCount() { /** This is set from whatever thread model building happened on, so must be thread safe. */ void setModels(@NonNull ControllerModelList models) { // ^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/EpoxyControllerAdapter#setModels(). -// documentation ```java\nvoid setModels(ControllerModelList models)\n``` +// display_name setModels +// signature_documentation java void setModels(ControllerModelList models) +// kind Method // documentation This is set from whatever thread model building happened on, so must be thread safe. // ^^^^^^^ reference semanticdb maven maven/androidx.annotation/annotation 1.1.0 androidx/annotation/NonNull# // ^^^^^^^^^^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/ControllerModelList# // ^^^^^^ definition local 3 -// documentation ```java\n@NonNull\nControllerModelList models\n``` +// display_name models +// signature_documentation java @NonNull\nControllerModelList models +// enclosing_symbol semanticdb maven . . com/airbnb/epoxy/EpoxyControllerAdapter#setModels(). // If debug model validations are on then we should help detect the error case where models // were incorrectly mutated once they were added. That check is also done before and after // bind, but there is no other check after that to see if a model is incorrectly @@ -180,7 +210,10 @@ void setModels(@NonNull ControllerModelList models) { // ^^^^ reference semanticdb maven jdk 11 java/util/List# // ^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/EpoxyModel# // ^^^^^^^^^^^^^ definition local 4 -// documentation ```java\nList> currentModels\n``` +// display_name currentModels +// signature_documentation java List> currentModels +// enclosing_symbol semanticdb maven . . com/airbnb/epoxy/EpoxyControllerAdapter#setModels(). +// kind Variable // ^^^^^^^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/EpoxyControllerAdapter#getCurrentModels(). if (!currentModels.isEmpty() && currentModels.get(0).isDebugValidationEnabled()) { // ^^^^^^^^^^^^^ reference local 4 @@ -190,7 +223,10 @@ void setModels(@NonNull ControllerModelList models) { // ^^^^^^^^^^^^^^^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/EpoxyModel#isDebugValidationEnabled(). for (int i = 0; i < currentModels.size(); i++) { // ^ definition local 5 -// documentation ```java\nint i\n``` +// display_name i +// signature_documentation java int i +// enclosing_symbol semanticdb maven . . com/airbnb/epoxy/EpoxyControllerAdapter#setModels(). +// kind Variable // ^ reference local 5 // ^^^^^^^^^^^^^ reference local 4 // ^^^^ reference semanticdb maven jdk 11 java/util/List#size(). @@ -198,7 +234,10 @@ void setModels(@NonNull ControllerModelList models) { EpoxyModel model = currentModels.get(i); // ^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/EpoxyModel# // ^^^^^ definition local 6 -// documentation ```java\nEpoxyModel model\n``` +// display_name model +// signature_documentation java EpoxyModel model +// enclosing_symbol semanticdb maven . . com/airbnb/epoxy/EpoxyControllerAdapter#setModels(). +// kind Variable // ^^^^^^^^^^^^^ reference local 4 // ^^^ reference semanticdb maven jdk 11 java/util/List#get(). // ^ reference local 5 @@ -223,7 +262,9 @@ void setModels(@NonNull ControllerModelList models) { */ public boolean isDiffInProgress() { // ^^^^^^^^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/EpoxyControllerAdapter#isDiffInProgress(). -// documentation ```java\npublic boolean isDiffInProgress()\n``` +// display_name isDiffInProgress +// signature_documentation java public boolean isDiffInProgress() +// kind Method // documentation @return True if a diff operation is in progress.\n return differ.isDiffInProgress(); // ^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/EpoxyControllerAdapter#differ. @@ -235,12 +276,16 @@ public boolean isDiffInProgress() { // ^^^^^^^^ reference semanticdb maven jdk 11 java/lang/Override# public void onResult(@NonNull DiffResult result) { // ^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/EpoxyControllerAdapter#onResult(). -// documentation ```java\n@Override\npublic void onResult(DiffResult result)\n``` +// display_name onResult +// signature_documentation java @Override\npublic void onResult(DiffResult result) +// kind Method // relationship is_reference is_implementation semanticdb maven . . com/airbnb/epoxy/AsyncEpoxyDiffer#ResultCallback#onResult(). // ^^^^^^^ reference semanticdb maven maven/androidx.annotation/annotation 1.1.0 androidx/annotation/NonNull# // ^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/DiffResult# // ^^^^^^ definition local 7 -// documentation ```java\n@NonNull\nDiffResult result\n``` +// display_name result +// signature_documentation java @NonNull\nDiffResult result +// enclosing_symbol semanticdb maven . . com/airbnb/epoxy/EpoxyControllerAdapter#onResult(). itemCount = result.newModels.size(); // ^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/EpoxyControllerAdapter#itemCount. // ^^^^^^ reference local 7 @@ -258,7 +303,10 @@ public void onResult(@NonNull DiffResult result) { for (int i = modelBuildListeners.size() - 1; i >= 0; i--) { // ^ definition local 8 -// documentation ```java\nint i\n``` +// display_name i +// signature_documentation java int i +// enclosing_symbol semanticdb maven . . com/airbnb/epoxy/EpoxyControllerAdapter#onResult(). +// kind Variable // ^^^^^^^^^^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/EpoxyControllerAdapter#modelBuildListeners. // ^^^^ reference semanticdb maven jdk 11 java/util/List#size(). // ^ reference local 8 @@ -274,10 +322,14 @@ public void onResult(@NonNull DiffResult result) { public void addModelBuildListener(OnModelBuildFinishedListener listener) { // ^^^^^^^^^^^^^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/EpoxyControllerAdapter#addModelBuildListener(). -// documentation ```java\npublic void addModelBuildListener(OnModelBuildFinishedListener listener)\n``` +// display_name addModelBuildListener +// signature_documentation java public void addModelBuildListener(OnModelBuildFinishedListener listener) +// kind Method // ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/OnModelBuildFinishedListener# // ^^^^^^^^ definition local 9 -// documentation ```java\nOnModelBuildFinishedListener listener\n``` +// display_name listener +// signature_documentation java OnModelBuildFinishedListener listener +// enclosing_symbol semanticdb maven . . com/airbnb/epoxy/EpoxyControllerAdapter#addModelBuildListener(). modelBuildListeners.add(listener); // ^^^^^^^^^^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/EpoxyControllerAdapter#modelBuildListeners. // ^^^ reference semanticdb maven jdk 11 java/util/List#add(). @@ -286,10 +338,14 @@ public void addModelBuildListener(OnModelBuildFinishedListener listener) { public void removeModelBuildListener(OnModelBuildFinishedListener listener) { // ^^^^^^^^^^^^^^^^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/EpoxyControllerAdapter#removeModelBuildListener(). -// documentation ```java\npublic void removeModelBuildListener(OnModelBuildFinishedListener listener)\n``` +// display_name removeModelBuildListener +// signature_documentation java public void removeModelBuildListener(OnModelBuildFinishedListener listener) +// kind Method // ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/OnModelBuildFinishedListener# // ^^^^^^^^ definition local 10 -// documentation ```java\nOnModelBuildFinishedListener listener\n``` +// display_name listener +// signature_documentation java OnModelBuildFinishedListener listener +// enclosing_symbol semanticdb maven . . com/airbnb/epoxy/EpoxyControllerAdapter#removeModelBuildListener(). modelBuildListeners.remove(listener); // ^^^^^^^^^^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/EpoxyControllerAdapter#modelBuildListeners. // ^^^^^^ reference semanticdb maven jdk 11 java/util/List#remove(). @@ -300,7 +356,9 @@ public void removeModelBuildListener(OnModelBuildFinishedListener listener) { // ^^^^^^^^ reference semanticdb maven jdk 11 java/lang/Override# boolean diffPayloadsEnabled() { // ^^^^^^^^^^^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/EpoxyControllerAdapter#diffPayloadsEnabled(). -// documentation ```java\n@Override\nboolean diffPayloadsEnabled()\n``` +// display_name diffPayloadsEnabled +// signature_documentation java @Override\nboolean diffPayloadsEnabled() +// kind Method // relationship is_reference is_implementation semanticdb maven . . com/airbnb/epoxy/BaseEpoxyAdapter#diffPayloadsEnabled(). return true; } @@ -309,11 +367,15 @@ boolean diffPayloadsEnabled() { // ^^^^^^^^ reference semanticdb maven jdk 11 java/lang/Override# public void onAttachedToRecyclerView(@NonNull RecyclerView recyclerView) { // ^^^^^^^^^^^^^^^^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/EpoxyControllerAdapter#onAttachedToRecyclerView(). -// documentation ```java\n@Override\npublic void onAttachedToRecyclerView(unresolved_type recyclerView)\n``` +// display_name onAttachedToRecyclerView +// signature_documentation java @Override\npublic void onAttachedToRecyclerView(unresolved_type recyclerView) +// kind Method // ^^^^^^^ reference semanticdb maven maven/androidx.annotation/annotation 1.1.0 androidx/annotation/NonNull# // ^^^^^^^^^^^^ reference semanticdb maven . . RecyclerView# // ^^^^^^^^^^^^ definition local 11 -// documentation ```java\n@NonNull\nunresolved_type recyclerView\n``` +// display_name recyclerView +// signature_documentation java @NonNull\nunresolved_type recyclerView +// enclosing_symbol semanticdb maven . . com/airbnb/epoxy/EpoxyControllerAdapter#onAttachedToRecyclerView(). super.onAttachedToRecyclerView(recyclerView); // ^^^^^ reference semanticdb maven . . com/airbnb/epoxy/EpoxyControllerAdapter#super. // ^^^^^^^^^^^^^^^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/BaseEpoxyAdapter#onAttachedToRecyclerView# @@ -328,12 +390,16 @@ public void onAttachedToRecyclerView(@NonNull RecyclerView recyclerView) { // ^^^^^^^^ reference semanticdb maven jdk 11 java/lang/Override# public void onDetachedFromRecyclerView(@NonNull RecyclerView recyclerView) { // ^^^^^^^^^^^^^^^^^^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/EpoxyControllerAdapter#onDetachedFromRecyclerView(). -// documentation ```java\n@Override\npublic void onDetachedFromRecyclerView(unresolved_type recyclerView)\n``` +// display_name onDetachedFromRecyclerView +// signature_documentation java @Override\npublic void onDetachedFromRecyclerView(unresolved_type recyclerView) +// kind Method // relationship is_reference is_implementation semanticdb maven . . com/airbnb/epoxy/BaseEpoxyAdapter#onDetachedFromRecyclerView(). // ^^^^^^^ reference semanticdb maven maven/androidx.annotation/annotation 1.1.0 androidx/annotation/NonNull# // ^^^^^^^^^^^^ reference semanticdb maven . . RecyclerView# // ^^^^^^^^^^^^ definition local 12 -// documentation ```java\n@NonNull\nunresolved_type recyclerView\n``` +// display_name recyclerView +// signature_documentation java @NonNull\nunresolved_type recyclerView +// enclosing_symbol semanticdb maven . . com/airbnb/epoxy/EpoxyControllerAdapter#onDetachedFromRecyclerView(). super.onDetachedFromRecyclerView(recyclerView); // ^^^^^ reference semanticdb maven . . com/airbnb/epoxy/EpoxyControllerAdapter#super. // ^^^^^^^^^^^^^^^^^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/BaseEpoxyAdapter#onDetachedFromRecyclerView(). @@ -348,12 +414,16 @@ public void onDetachedFromRecyclerView(@NonNull RecyclerView recyclerView) { // ^^^^^^^^ reference semanticdb maven jdk 11 java/lang/Override# public void onViewAttachedToWindow(@NonNull EpoxyViewHolder holder) { // ^^^^^^^^^^^^^^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/EpoxyControllerAdapter#onViewAttachedToWindow(). -// documentation ```java\n@Override\npublic void onViewAttachedToWindow(EpoxyViewHolder holder)\n``` +// display_name onViewAttachedToWindow +// signature_documentation java @Override\npublic void onViewAttachedToWindow(EpoxyViewHolder holder) +// kind Method // relationship is_reference is_implementation semanticdb maven . . com/airbnb/epoxy/BaseEpoxyAdapter#onViewAttachedToWindow(). // ^^^^^^^ reference semanticdb maven maven/androidx.annotation/annotation 1.1.0 androidx/annotation/NonNull# // ^^^^^^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/EpoxyViewHolder# // ^^^^^^ definition local 13 -// documentation ```java\n@NonNull\nEpoxyViewHolder holder\n``` +// display_name holder +// signature_documentation java @NonNull\nEpoxyViewHolder holder +// enclosing_symbol semanticdb maven . . com/airbnb/epoxy/EpoxyControllerAdapter#onViewAttachedToWindow(). super.onViewAttachedToWindow(holder); // ^^^^^ reference semanticdb maven . . com/airbnb/epoxy/EpoxyControllerAdapter#super. // ^^^^^^^^^^^^^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/BaseEpoxyAdapter#onViewAttachedToWindow(). @@ -370,12 +440,16 @@ public void onViewAttachedToWindow(@NonNull EpoxyViewHolder holder) { // ^^^^^^^^ reference semanticdb maven jdk 11 java/lang/Override# public void onViewDetachedFromWindow(@NonNull EpoxyViewHolder holder) { // ^^^^^^^^^^^^^^^^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/EpoxyControllerAdapter#onViewDetachedFromWindow(). -// documentation ```java\n@Override\npublic void onViewDetachedFromWindow(EpoxyViewHolder holder)\n``` +// display_name onViewDetachedFromWindow +// signature_documentation java @Override\npublic void onViewDetachedFromWindow(EpoxyViewHolder holder) +// kind Method // relationship is_reference is_implementation semanticdb maven . . com/airbnb/epoxy/BaseEpoxyAdapter#onViewDetachedFromWindow(). // ^^^^^^^ reference semanticdb maven maven/androidx.annotation/annotation 1.1.0 androidx/annotation/NonNull# // ^^^^^^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/EpoxyViewHolder# // ^^^^^^ definition local 14 -// documentation ```java\n@NonNull\nEpoxyViewHolder holder\n``` +// display_name holder +// signature_documentation java @NonNull\nEpoxyViewHolder holder +// enclosing_symbol semanticdb maven . . com/airbnb/epoxy/EpoxyControllerAdapter#onViewDetachedFromWindow(). super.onViewDetachedFromWindow(holder); // ^^^^^ reference semanticdb maven . . com/airbnb/epoxy/EpoxyControllerAdapter#super. // ^^^^^^^^^^^^^^^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/BaseEpoxyAdapter#onViewDetachedFromWindow(). @@ -392,23 +466,33 @@ public void onViewDetachedFromWindow(@NonNull EpoxyViewHolder holder) { // ^^^^^^^^ reference semanticdb maven jdk 11 java/lang/Override# protected void onModelBound(@NonNull EpoxyViewHolder holder, @NonNull EpoxyModel model, // ^^^^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/EpoxyControllerAdapter#onModelBound(). -// documentation ```java\n@Override\nprotected void onModelBound(EpoxyViewHolder holder, EpoxyModel model, int position, EpoxyModel previouslyBoundModel)\n``` +// display_name onModelBound +// signature_documentation java @Override\nprotected void onModelBound(EpoxyViewHolder holder, EpoxyModel model, int position, EpoxyModel previouslyBoundModel) +// kind Method // relationship is_reference is_implementation semanticdb maven . . com/airbnb/epoxy/BaseEpoxyAdapter#onModelBound(+1). // ^^^^^^^ reference semanticdb maven maven/androidx.annotation/annotation 1.1.0 androidx/annotation/NonNull# // ^^^^^^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/EpoxyViewHolder# // ^^^^^^ definition local 15 -// documentation ```java\n@NonNull\nEpoxyViewHolder holder\n``` +// display_name holder +// signature_documentation java @NonNull\nEpoxyViewHolder holder +// enclosing_symbol semanticdb maven . . com/airbnb/epoxy/EpoxyControllerAdapter#onModelBound(). // ^^^^^^^ reference semanticdb maven maven/androidx.annotation/annotation 1.1.0 androidx/annotation/NonNull# // ^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/EpoxyModel# // ^^^^^ definition local 16 -// documentation ```java\n@NonNull\nEpoxyModel model\n``` +// display_name model +// signature_documentation java @NonNull\nEpoxyModel model +// enclosing_symbol semanticdb maven . . com/airbnb/epoxy/EpoxyControllerAdapter#onModelBound(). int position, @Nullable EpoxyModel previouslyBoundModel) { // ^^^^^^^^ definition local 17 -// documentation ```java\nint position\n``` +// display_name position +// signature_documentation java int position +// enclosing_symbol semanticdb maven . . com/airbnb/epoxy/EpoxyControllerAdapter#onModelBound(). // ^^^^^^^^ reference semanticdb maven maven/androidx.annotation/annotation 1.1.0 androidx/annotation/Nullable# // ^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/EpoxyModel# // ^^^^^^^^^^^^^^^^^^^^ definition local 18 -// documentation ```java\n@Nullable\nEpoxyModel previouslyBoundModel\n``` +// display_name previouslyBoundModel +// signature_documentation java @Nullable\nEpoxyModel previouslyBoundModel +// enclosing_symbol semanticdb maven . . com/airbnb/epoxy/EpoxyControllerAdapter#onModelBound(). epoxyController.onModelBound(holder, model, position, previouslyBoundModel); // ^^^^^^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/EpoxyControllerAdapter#epoxyController. // ^^^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/EpoxyController#onModelBound(). @@ -422,16 +506,22 @@ protected void onModelBound(@NonNull EpoxyViewHolder holder, @NonNull EpoxyModel // ^^^^^^^^ reference semanticdb maven jdk 11 java/lang/Override# protected void onModelUnbound(@NonNull EpoxyViewHolder holder, @NonNull EpoxyModel model) { // ^^^^^^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/EpoxyControllerAdapter#onModelUnbound(). -// documentation ```java\n@Override\nprotected void onModelUnbound(EpoxyViewHolder holder, EpoxyModel model)\n``` +// display_name onModelUnbound +// signature_documentation java @Override\nprotected void onModelUnbound(EpoxyViewHolder holder, EpoxyModel model) +// kind Method // relationship is_reference is_implementation semanticdb maven . . com/airbnb/epoxy/BaseEpoxyAdapter#onModelUnbound(). // ^^^^^^^ reference semanticdb maven maven/androidx.annotation/annotation 1.1.0 androidx/annotation/NonNull# // ^^^^^^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/EpoxyViewHolder# // ^^^^^^ definition local 19 -// documentation ```java\n@NonNull\nEpoxyViewHolder holder\n``` +// display_name holder +// signature_documentation java @NonNull\nEpoxyViewHolder holder +// enclosing_symbol semanticdb maven . . com/airbnb/epoxy/EpoxyControllerAdapter#onModelUnbound(). // ^^^^^^^ reference semanticdb maven maven/androidx.annotation/annotation 1.1.0 androidx/annotation/NonNull# // ^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/EpoxyModel# // ^^^^^ definition local 20 -// documentation ```java\n@NonNull\nEpoxyModel model\n``` +// display_name model +// signature_documentation java @NonNull\nEpoxyModel model +// enclosing_symbol semanticdb maven . . com/airbnb/epoxy/EpoxyControllerAdapter#onModelUnbound(). epoxyController.onModelUnbound(holder, model); // ^^^^^^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/EpoxyControllerAdapter#epoxyController. // ^^^^^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/EpoxyController#onModelUnbound(). @@ -446,7 +536,9 @@ public List> getCopyOfModels() { // ^^^^ reference semanticdb maven jdk 11 java/util/List# // ^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/EpoxyModel# // ^^^^^^^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/EpoxyControllerAdapter#getCopyOfModels(). -// documentation ```java\n@NonNull\npublic List> getCopyOfModels()\n``` +// display_name getCopyOfModels +// signature_documentation java @NonNull\npublic List> getCopyOfModels() +// kind Method // documentation Get an unmodifiable copy of the current models set on the adapter. //noinspection unchecked return (List>) getCurrentModels(); @@ -464,10 +556,14 @@ public List> getCopyOfModels() { public EpoxyModel getModelAtPosition(int position) { // ^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/EpoxyModel# // ^^^^^^^^^^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/EpoxyControllerAdapter#getModelAtPosition(). -// documentation ```java\n@NonNull\npublic EpoxyModel getModelAtPosition(int position)\n``` +// display_name getModelAtPosition +// signature_documentation java @NonNull\npublic EpoxyModel getModelAtPosition(int position) +// kind Method // documentation @throws IndexOutOfBoundsException If the given position is out of range of the current model\n list.\n // ^^^^^^^^ definition local 21 -// documentation ```java\nint position\n``` +// display_name position +// signature_documentation java int position +// enclosing_symbol semanticdb maven . . com/airbnb/epoxy/EpoxyControllerAdapter#getModelAtPosition(). return getCurrentModels().get(position); // ^^^^^^^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/EpoxyControllerAdapter#getCurrentModels(). // ^^^ reference semanticdb maven jdk 11 java/util/List#get(). @@ -483,14 +579,21 @@ public EpoxyModel getModelAtPosition(int position) { public EpoxyModel getModelById(long id) { // ^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/EpoxyModel# // ^^^^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/EpoxyControllerAdapter#getModelById(). -// documentation ```java\n@Nullable\npublic EpoxyModel getModelById(long id)\n``` +// display_name getModelById +// signature_documentation java @Nullable\npublic EpoxyModel getModelById(long id) +// kind Method // documentation Searches the current model list for the model with the given id. Returns the matching model if\n one is found, otherwise null is returned.\n // ^^ definition local 22 -// documentation ```java\nlong id\n``` +// display_name id +// signature_documentation java long id +// enclosing_symbol semanticdb maven . . com/airbnb/epoxy/EpoxyControllerAdapter#getModelById(). for (EpoxyModel model : getCurrentModels()) { // ^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/EpoxyModel# // ^^^^^ definition local 23 -// documentation ```java\nEpoxyModel model\n``` +// display_name model +// signature_documentation java EpoxyModel model +// enclosing_symbol semanticdb maven . . com/airbnb/epoxy/EpoxyControllerAdapter#getModelById(). +// kind Variable // ^^^^^^^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/EpoxyControllerAdapter#getCurrentModels(). if (model.id() == id) { // ^^^^^ reference local 23 @@ -508,27 +611,40 @@ public EpoxyModel getModelById(long id) { // ^^^^^^^^ reference semanticdb maven jdk 11 java/lang/Override# public int getModelPosition(@NonNull EpoxyModel targetModel) { // ^^^^^^^^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/EpoxyControllerAdapter#getModelPosition(). -// documentation ```java\n@Override\npublic int getModelPosition(EpoxyModel targetModel)\n``` +// display_name getModelPosition +// signature_documentation java @Override\npublic int getModelPosition(EpoxyModel targetModel) +// kind Method // relationship is_reference is_implementation semanticdb maven . . com/airbnb/epoxy/BaseEpoxyAdapter#getModelPosition(). // ^^^^^^^ reference semanticdb maven maven/androidx.annotation/annotation 1.1.0 androidx/annotation/NonNull# // ^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/EpoxyModel# // ^^^^^^^^^^^ definition local 24 -// documentation ```java\n@NonNull\nEpoxyModel targetModel\n``` +// display_name targetModel +// signature_documentation java @NonNull\nEpoxyModel targetModel +// enclosing_symbol semanticdb maven . . com/airbnb/epoxy/EpoxyControllerAdapter#getModelPosition(). int size = getCurrentModels().size(); // ^^^^ definition local 25 -// documentation ```java\nint size\n``` +// display_name size +// signature_documentation java int size +// enclosing_symbol semanticdb maven . . com/airbnb/epoxy/EpoxyControllerAdapter#getModelPosition(). +// kind Variable // ^^^^^^^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/EpoxyControllerAdapter#getCurrentModels(). // ^^^^ reference semanticdb maven jdk 11 java/util/List#size(). for (int i = 0; i < size; i++) { // ^ definition local 26 -// documentation ```java\nint i\n``` +// display_name i +// signature_documentation java int i +// enclosing_symbol semanticdb maven . . com/airbnb/epoxy/EpoxyControllerAdapter#getModelPosition(). +// kind Variable // ^ reference local 26 // ^^^^ reference local 25 // ^ reference local 26 EpoxyModel model = getCurrentModels().get(i); // ^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/EpoxyModel# // ^^^^^ definition local 27 -// documentation ```java\nEpoxyModel model\n``` +// display_name model +// signature_documentation java EpoxyModel model +// enclosing_symbol semanticdb maven . . com/airbnb/epoxy/EpoxyControllerAdapter#getModelPosition(). +// kind Variable // ^^^^^^^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/EpoxyControllerAdapter#getCurrentModels(). // ^^^ reference semanticdb maven jdk 11 java/util/List#get(). // ^ reference local 26 @@ -552,7 +668,9 @@ public int getModelPosition(@NonNull EpoxyModel targetModel) { public BoundViewHolders getBoundViewHolders() { // ^^^^^^^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/BoundViewHolders# // ^^^^^^^^^^^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/EpoxyControllerAdapter#getBoundViewHolders(). -// documentation ```java\n@NonNull\n@Override\npublic BoundViewHolders getBoundViewHolders()\n``` +// display_name getBoundViewHolders +// signature_documentation java @NonNull\n@Override\npublic BoundViewHolders getBoundViewHolders() +// kind Method // relationship is_reference is_implementation semanticdb maven . . com/airbnb/epoxy/BaseEpoxyAdapter#getBoundViewHolders(). return super.getBoundViewHolders(); // ^^^^^ reference semanticdb maven . . com/airbnb/epoxy/EpoxyControllerAdapter#super. @@ -563,16 +681,25 @@ public BoundViewHolders getBoundViewHolders() { // ^^^^^^^^ reference semanticdb maven maven/androidx.annotation/annotation 1.1.0 androidx/annotation/UiThread# void moveModel(int fromPosition, int toPosition) { // ^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/EpoxyControllerAdapter#moveModel(). -// documentation ```java\n@UiThread\nvoid moveModel(int fromPosition, int toPosition)\n``` +// display_name moveModel +// signature_documentation java @UiThread\nvoid moveModel(int fromPosition, int toPosition) +// kind Method // ^^^^^^^^^^^^ definition local 28 -// documentation ```java\nint fromPosition\n``` +// display_name fromPosition +// signature_documentation java int fromPosition +// enclosing_symbol semanticdb maven . . com/airbnb/epoxy/EpoxyControllerAdapter#moveModel(). // ^^^^^^^^^^ definition local 29 -// documentation ```java\nint toPosition\n``` +// display_name toPosition +// signature_documentation java int toPosition +// enclosing_symbol semanticdb maven . . com/airbnb/epoxy/EpoxyControllerAdapter#moveModel(). ArrayList> updatedList = new ArrayList<>(getCurrentModels()); // ^^^^^^^^^ reference semanticdb maven jdk 11 java/util/ArrayList# // ^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/EpoxyModel# // ^^^^^^^^^^^ definition local 30 -// documentation ```java\nArrayList> updatedList\n``` +// display_name updatedList +// signature_documentation java ArrayList> updatedList +// enclosing_symbol semanticdb maven . . com/airbnb/epoxy/EpoxyControllerAdapter#moveModel(). +// kind Variable // ^^^^^^^^^ reference semanticdb maven jdk 11 java/util/ArrayList#``(+2). // ^^^^^^^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/EpoxyControllerAdapter#getCurrentModels(). @@ -596,7 +723,10 @@ void moveModel(int fromPosition, int toPosition) { boolean interruptedDiff = differ.forceListOverride(updatedList); // ^^^^^^^^^^^^^^^ definition local 31 -// documentation ```java\nboolean interruptedDiff\n``` +// display_name interruptedDiff +// signature_documentation java boolean interruptedDiff +// enclosing_symbol semanticdb maven . . com/airbnb/epoxy/EpoxyControllerAdapter#moveModel(). +// kind Variable // ^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/EpoxyControllerAdapter#differ. // ^^^^^^^^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/AsyncEpoxyDiffer#forceListOverride(). // ^^^^^^^^^^^ reference local 30 @@ -615,14 +745,21 @@ void moveModel(int fromPosition, int toPosition) { // ^^^^^^^^ reference semanticdb maven maven/androidx.annotation/annotation 1.1.0 androidx/annotation/UiThread# void notifyModelChanged(int position) { // ^^^^^^^^^^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/EpoxyControllerAdapter#notifyModelChanged(). -// documentation ```java\n@UiThread\nvoid notifyModelChanged(int position)\n``` +// display_name notifyModelChanged +// signature_documentation java @UiThread\nvoid notifyModelChanged(int position) +// kind Method // ^^^^^^^^ definition local 32 -// documentation ```java\nint position\n``` +// display_name position +// signature_documentation java int position +// enclosing_symbol semanticdb maven . . com/airbnb/epoxy/EpoxyControllerAdapter#notifyModelChanged(). ArrayList> updatedList = new ArrayList<>(getCurrentModels()); // ^^^^^^^^^ reference semanticdb maven jdk 11 java/util/ArrayList# // ^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/EpoxyModel# // ^^^^^^^^^^^ definition local 33 -// documentation ```java\nArrayList> updatedList\n``` +// display_name updatedList +// signature_documentation java ArrayList> updatedList +// enclosing_symbol semanticdb maven . . com/airbnb/epoxy/EpoxyControllerAdapter#notifyModelChanged(). +// kind Variable // ^^^^^^^^^ reference semanticdb maven jdk 11 java/util/ArrayList#``(+2). // ^^^^^^^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/EpoxyControllerAdapter#getCurrentModels(). @@ -638,7 +775,10 @@ void notifyModelChanged(int position) { boolean interruptedDiff = differ.forceListOverride(updatedList); // ^^^^^^^^^^^^^^^ definition local 34 -// documentation ```java\nboolean interruptedDiff\n``` +// display_name interruptedDiff +// signature_documentation java boolean interruptedDiff +// enclosing_symbol semanticdb maven . . com/airbnb/epoxy/EpoxyControllerAdapter#notifyModelChanged(). +// kind Variable // ^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/EpoxyControllerAdapter#differ. // ^^^^^^^^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/AsyncEpoxyDiffer#forceListOverride(). // ^^^^^^^^^^^ reference local 33 @@ -657,7 +797,9 @@ void notifyModelChanged(int position) { // ^^^^^^^^^^^^ reference semanticdb maven . . ItemCallback# // ^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/EpoxyModel# // ^^^^^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/EpoxyControllerAdapter#ITEM_CALLBACK. -// documentation ```java\nprivate static final unresolved_type ITEM_CALLBACK\n``` +// display_name ITEM_CALLBACK +// signature_documentation java private static final unresolved_type ITEM_CALLBACK +// kind StaticField new ItemCallback>() { // ^^^^^^^^^^^^ reference semanticdb maven . . ItemCallback# // ^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/EpoxyModel# @@ -685,11 +827,15 @@ public Object getChangePayload(EpoxyModel oldItem, EpoxyModel newItem) { // ^^^^^^^^ reference semanticdb maven jdk 11 java/lang/Override# public boolean isStickyHeader(int position) { // ^^^^^^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/EpoxyControllerAdapter#isStickyHeader(). -// documentation ```java\n@Override\npublic boolean isStickyHeader(int position)\n``` +// display_name isStickyHeader +// signature_documentation java @Override\npublic boolean isStickyHeader(int position) +// kind Method // documentation Delegates the callbacks received in the adapter\n to the controller.\n // relationship is_reference is_implementation semanticdb maven . . com/airbnb/epoxy/BaseEpoxyAdapter#isStickyHeader(). // ^^^^^^^^ definition local 35 -// documentation ```java\nint position\n``` +// display_name position +// signature_documentation java int position +// enclosing_symbol semanticdb maven . . com/airbnb/epoxy/EpoxyControllerAdapter#isStickyHeader(). return epoxyController.isStickyHeader(position); // ^^^^^^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/EpoxyControllerAdapter#epoxyController. // ^^^^^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/EpoxyController#isStickyHeader(). @@ -704,13 +850,17 @@ public boolean isStickyHeader(int position) { // ^^^^^^^^ reference semanticdb maven jdk 11 java/lang/Override# public void setupStickyHeaderView(@NotNull View stickyHeader) { // ^^^^^^^^^^^^^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/EpoxyControllerAdapter#setupStickyHeaderView(). -// documentation ```java\n@Override\npublic void setupStickyHeaderView(unresolved_type stickyHeader)\n``` +// display_name setupStickyHeaderView +// signature_documentation java @Override\npublic void setupStickyHeaderView(unresolved_type stickyHeader) +// kind Method // documentation Delegates the callbacks received in the adapter\n to the controller.\n // relationship is_reference is_implementation semanticdb maven . . com/airbnb/epoxy/BaseEpoxyAdapter#setupStickyHeaderView(). // ^^^^^^^ reference semanticdb maven maven/org.jetbrains/annotations 13.0 org/jetbrains/annotations/NotNull# // ^^^^ reference semanticdb maven . . View# // ^^^^^^^^^^^^ definition local 36 -// documentation ```java\n@NotNull\nunresolved_type stickyHeader\n``` +// display_name stickyHeader +// signature_documentation java @NotNull\nunresolved_type stickyHeader +// enclosing_symbol semanticdb maven . . com/airbnb/epoxy/EpoxyControllerAdapter#setupStickyHeaderView(). epoxyController.setupStickyHeaderView(stickyHeader); // ^^^^^^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/EpoxyControllerAdapter#epoxyController. // ^^^^^^^^^^^^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/EpoxyController#setupStickyHeaderView(). @@ -725,13 +875,17 @@ public void setupStickyHeaderView(@NotNull View stickyHeader) { // ^^^^^^^^ reference semanticdb maven jdk 11 java/lang/Override# public void teardownStickyHeaderView(@NotNull View stickyHeader) { // ^^^^^^^^^^^^^^^^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/EpoxyControllerAdapter#teardownStickyHeaderView(). -// documentation ```java\n@Override\npublic void teardownStickyHeaderView(unresolved_type stickyHeader)\n``` +// display_name teardownStickyHeaderView +// signature_documentation java @Override\npublic void teardownStickyHeaderView(unresolved_type stickyHeader) +// kind Method // documentation Delegates the callbacks received in the adapter\n to the controller.\n // relationship is_reference is_implementation semanticdb maven . . com/airbnb/epoxy/BaseEpoxyAdapter#teardownStickyHeaderView(). // ^^^^^^^ reference semanticdb maven maven/org.jetbrains/annotations 13.0 org/jetbrains/annotations/NotNull# // ^^^^ reference semanticdb maven . . View# // ^^^^^^^^^^^^ definition local 37 -// documentation ```java\n@NotNull\nunresolved_type stickyHeader\n``` +// display_name stickyHeader +// signature_documentation java @NotNull\nunresolved_type stickyHeader +// enclosing_symbol semanticdb maven . . com/airbnb/epoxy/EpoxyControllerAdapter#teardownStickyHeaderView(). epoxyController.teardownStickyHeaderView(stickyHeader); // ^^^^^^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/EpoxyControllerAdapter#epoxyController. // ^^^^^^^^^^^^^^^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/EpoxyController#teardownStickyHeaderView(). diff --git a/tests/snapshots/src/main/generated/com/airbnb/epoxy/EpoxyDiffLogger.java b/tests/snapshots/src/main/generated/com/airbnb/epoxy/EpoxyDiffLogger.java index 83ca871bd..ec64e659b 100644 --- a/tests/snapshots/src/main/generated/com/airbnb/epoxy/EpoxyDiffLogger.java +++ b/tests/snapshots/src/main/generated/com/airbnb/epoxy/EpoxyDiffLogger.java @@ -29,21 +29,29 @@ */ public class EpoxyDiffLogger extends AdapterDataObserver { // ^^^^^^^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/EpoxyDiffLogger# -// documentation ```java\npublic class EpoxyDiffLogger\n``` +// display_name EpoxyDiffLogger +// signature_documentation java public class EpoxyDiffLogger +// kind Class // documentation This data observer can be registered with an Epoxy adapter or controller to log all item change\n events. This may be useful to use in debug builds in order to observe model updates and monitor\n for issues.\n

\n You may want to look for unexpected item updates to catch improper hashCode/equals\n implementations in your models.\n

\n Additionally, you may want to look for frequent or unnecessary updates as an opportunity for\n optimization.\n // relationship is_implementation semanticdb maven . . AdapterDataObserver# // ^^^^^^^^^^^^^^^^^^^ reference semanticdb maven . . AdapterDataObserver# private final String tag; // ^^^^^^ reference semanticdb maven jdk 11 java/lang/String# // ^^^ definition semanticdb maven . . com/airbnb/epoxy/EpoxyDiffLogger#tag. -// documentation ```java\nprivate final String tag\n``` +// display_name tag +// signature_documentation java private final String tag +// kind Field public EpoxyDiffLogger(String tag) { // ^^^^^^^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/EpoxyDiffLogger#``(). -// documentation ```java\npublic EpoxyDiffLogger(String tag)\n``` +// display_name +// signature_documentation java public EpoxyDiffLogger(String tag) +// kind Constructor // ^^^^^^ reference semanticdb maven jdk 11 java/lang/String# // ^^^ definition local 0 -// documentation ```java\nString tag\n``` +// display_name tag +// signature_documentation java String tag +// enclosing_symbol semanticdb maven . . com/airbnb/epoxy/EpoxyDiffLogger#``(). this.tag = tag; // ^^^ reference semanticdb maven . . com/airbnb/epoxy/EpoxyDiffLogger#tag. // ^^^ reference local 0 @@ -53,11 +61,17 @@ public EpoxyDiffLogger(String tag) { // ^^^^^^^^ reference semanticdb maven jdk 11 java/lang/Override# public void onItemRangeChanged(int positionStart, int itemCount) { // ^^^^^^^^^^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/EpoxyDiffLogger#onItemRangeChanged(). -// documentation ```java\n@Override\npublic void onItemRangeChanged(int positionStart, int itemCount)\n``` +// display_name onItemRangeChanged +// signature_documentation java @Override\npublic void onItemRangeChanged(int positionStart, int itemCount) +// kind Method // ^^^^^^^^^^^^^ definition local 1 -// documentation ```java\nint positionStart\n``` +// display_name positionStart +// signature_documentation java int positionStart +// enclosing_symbol semanticdb maven . . com/airbnb/epoxy/EpoxyDiffLogger#onItemRangeChanged(). // ^^^^^^^^^ definition local 2 -// documentation ```java\nint itemCount\n``` +// display_name itemCount +// signature_documentation java int itemCount +// enclosing_symbol semanticdb maven . . com/airbnb/epoxy/EpoxyDiffLogger#onItemRangeChanged(). Log.d(tag, "Item range changed. Start: " + positionStart + " Count: " + itemCount); // ^^^ reference semanticdb maven . . Log# // ^ reference semanticdb maven . . Log#d# @@ -70,15 +84,23 @@ public void onItemRangeChanged(int positionStart, int itemCount) { // ^^^^^^^^ reference semanticdb maven jdk 11 java/lang/Override# public void onItemRangeChanged(int positionStart, int itemCount, @Nullable Object payload) { // ^^^^^^^^^^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/EpoxyDiffLogger#onItemRangeChanged(+1). -// documentation ```java\n@Override\npublic void onItemRangeChanged(int positionStart, int itemCount, Object payload)\n``` +// display_name onItemRangeChanged +// signature_documentation java @Override\npublic void onItemRangeChanged(int positionStart, int itemCount, Object payload) +// kind Method // ^^^^^^^^^^^^^ definition local 3 -// documentation ```java\nint positionStart\n``` +// display_name positionStart +// signature_documentation java int positionStart +// enclosing_symbol semanticdb maven . . com/airbnb/epoxy/EpoxyDiffLogger#onItemRangeChanged(+1). // ^^^^^^^^^ definition local 4 -// documentation ```java\nint itemCount\n``` +// display_name itemCount +// signature_documentation java int itemCount +// enclosing_symbol semanticdb maven . . com/airbnb/epoxy/EpoxyDiffLogger#onItemRangeChanged(+1). // ^^^^^^^^ reference semanticdb maven maven/androidx.annotation/annotation 1.1.0 androidx/annotation/Nullable# // ^^^^^^ reference semanticdb maven jdk 11 java/lang/Object# // ^^^^^^^ definition local 5 -// documentation ```java\n@Nullable\nObject payload\n``` +// display_name payload +// signature_documentation java @Nullable\nObject payload +// enclosing_symbol semanticdb maven . . com/airbnb/epoxy/EpoxyDiffLogger#onItemRangeChanged(+1). if (payload == null) { // ^^^^^^^ reference local 5 onItemRangeChanged(positionStart, itemCount); @@ -100,11 +122,17 @@ public void onItemRangeChanged(int positionStart, int itemCount, @Nullable Objec // ^^^^^^^^ reference semanticdb maven jdk 11 java/lang/Override# public void onItemRangeInserted(int positionStart, int itemCount) { // ^^^^^^^^^^^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/EpoxyDiffLogger#onItemRangeInserted(). -// documentation ```java\n@Override\npublic void onItemRangeInserted(int positionStart, int itemCount)\n``` +// display_name onItemRangeInserted +// signature_documentation java @Override\npublic void onItemRangeInserted(int positionStart, int itemCount) +// kind Method // ^^^^^^^^^^^^^ definition local 6 -// documentation ```java\nint positionStart\n``` +// display_name positionStart +// signature_documentation java int positionStart +// enclosing_symbol semanticdb maven . . com/airbnb/epoxy/EpoxyDiffLogger#onItemRangeInserted(). // ^^^^^^^^^ definition local 7 -// documentation ```java\nint itemCount\n``` +// display_name itemCount +// signature_documentation java int itemCount +// enclosing_symbol semanticdb maven . . com/airbnb/epoxy/EpoxyDiffLogger#onItemRangeInserted(). Log.d(tag, "Item range inserted. Start: " + positionStart + " Count: " + itemCount); // ^^^ reference semanticdb maven . . Log# // ^ reference semanticdb maven . . Log#d# @@ -117,11 +145,17 @@ public void onItemRangeInserted(int positionStart, int itemCount) { // ^^^^^^^^ reference semanticdb maven jdk 11 java/lang/Override# public void onItemRangeRemoved(int positionStart, int itemCount) { // ^^^^^^^^^^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/EpoxyDiffLogger#onItemRangeRemoved(). -// documentation ```java\n@Override\npublic void onItemRangeRemoved(int positionStart, int itemCount)\n``` +// display_name onItemRangeRemoved +// signature_documentation java @Override\npublic void onItemRangeRemoved(int positionStart, int itemCount) +// kind Method // ^^^^^^^^^^^^^ definition local 8 -// documentation ```java\nint positionStart\n``` +// display_name positionStart +// signature_documentation java int positionStart +// enclosing_symbol semanticdb maven . . com/airbnb/epoxy/EpoxyDiffLogger#onItemRangeRemoved(). // ^^^^^^^^^ definition local 9 -// documentation ```java\nint itemCount\n``` +// display_name itemCount +// signature_documentation java int itemCount +// enclosing_symbol semanticdb maven . . com/airbnb/epoxy/EpoxyDiffLogger#onItemRangeRemoved(). Log.d(tag, "Item range removed. Start: " + positionStart + " Count: " + itemCount); // ^^^ reference semanticdb maven . . Log# // ^ reference semanticdb maven . . Log#d# @@ -134,13 +168,21 @@ public void onItemRangeRemoved(int positionStart, int itemCount) { // ^^^^^^^^ reference semanticdb maven jdk 11 java/lang/Override# public void onItemRangeMoved(int fromPosition, int toPosition, int itemCount) { // ^^^^^^^^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/EpoxyDiffLogger#onItemRangeMoved(). -// documentation ```java\n@Override\npublic void onItemRangeMoved(int fromPosition, int toPosition, int itemCount)\n``` +// display_name onItemRangeMoved +// signature_documentation java @Override\npublic void onItemRangeMoved(int fromPosition, int toPosition, int itemCount) +// kind Method // ^^^^^^^^^^^^ definition local 10 -// documentation ```java\nint fromPosition\n``` +// display_name fromPosition +// signature_documentation java int fromPosition +// enclosing_symbol semanticdb maven . . com/airbnb/epoxy/EpoxyDiffLogger#onItemRangeMoved(). // ^^^^^^^^^^ definition local 11 -// documentation ```java\nint toPosition\n``` +// display_name toPosition +// signature_documentation java int toPosition +// enclosing_symbol semanticdb maven . . com/airbnb/epoxy/EpoxyDiffLogger#onItemRangeMoved(). // ^^^^^^^^^ definition local 12 -// documentation ```java\nint itemCount\n``` +// display_name itemCount +// signature_documentation java int itemCount +// enclosing_symbol semanticdb maven . . com/airbnb/epoxy/EpoxyDiffLogger#onItemRangeMoved(). Log.d(tag, "Item moved. From: " + fromPosition + " To: " + toPosition); // ^^^ reference semanticdb maven . . Log# // ^ reference semanticdb maven . . Log#d# diff --git a/tests/snapshots/src/main/generated/com/airbnb/epoxy/EpoxyDragCallback.java b/tests/snapshots/src/main/generated/com/airbnb/epoxy/EpoxyDragCallback.java index 196656ef3..b2ff70804 100644 --- a/tests/snapshots/src/main/generated/com/airbnb/epoxy/EpoxyDragCallback.java +++ b/tests/snapshots/src/main/generated/com/airbnb/epoxy/EpoxyDragCallback.java @@ -10,11 +10,15 @@ */ public interface EpoxyDragCallback extends BaseEpoxyTouchCallback { // ^^^^^^^^^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/EpoxyDragCallback# -// documentation ```java\npublic interface EpoxyDragCallback\n``` +// display_name EpoxyDragCallback +// signature_documentation java public interface EpoxyDragCallback +// kind Interface // documentation For use with {@link EpoxyModelTouchCallback}\n // relationship is_implementation semanticdb maven . . com/airbnb/epoxy/BaseEpoxyTouchCallback# // ^ definition semanticdb maven . . com/airbnb/epoxy/EpoxyDragCallback#[T] -// documentation ```java\nT extends EpoxyModel\n``` +// display_name T +// signature_documentation java T extends EpoxyModel +// kind TypeParameter // ^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/EpoxyModel# // ^^^^^^^^^^^^^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/BaseEpoxyTouchCallback# // ^ reference semanticdb maven . . com/airbnb/epoxy/EpoxyDragCallback#[T] @@ -32,18 +36,26 @@ public interface EpoxyDragCallback extends BaseEpoxyTouchC */ void onDragStarted(T model, View itemView, int adapterPosition); // ^^^^^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/EpoxyDragCallback#onDragStarted(). -// documentation ```java\npublic abstract void onDragStarted(T model, unresolved_type itemView, int adapterPosition)\n``` +// display_name onDragStarted +// signature_documentation java public abstract void onDragStarted(T model, unresolved_type itemView, int adapterPosition) +// kind AbstractMethod // documentation Called when the view switches from an idle state to a dragged state, as the user begins a drag\n interaction with it. You can use this callback to modify the view to indicate it is being\n dragged.\n

\n This is the first callback in the lifecycle of a drag event.\n\n @param model The model representing the view that is being dragged\n @param itemView The view that is being dragged\n @param adapterPosition The adapter position of the model\n // relationship is_reference is_implementation semanticdb maven . . com/airbnb/epoxy/EpoxyModelTouchCallback#onDragStarted(). // relationship is_reference is_implementation semanticdb maven . . com/airbnb/epoxy/EpoxyTouchHelper#DragCallbacks#onDragStarted(). // ^ reference semanticdb maven . . com/airbnb/epoxy/EpoxyDragCallback#[T] // ^^^^^ definition local 0 -// documentation ```java\nT model\n``` +// display_name model +// signature_documentation java T model +// enclosing_symbol semanticdb maven . . com/airbnb/epoxy/EpoxyDragCallback#onDragStarted(). // ^^^^ reference semanticdb maven . . View# // ^^^^^^^^ definition local 1 -// documentation ```java\nunresolved_type itemView\n``` +// display_name itemView +// signature_documentation java unresolved_type itemView +// enclosing_symbol semanticdb maven . . com/airbnb/epoxy/EpoxyDragCallback#onDragStarted(). // ^^^^^^^^^^^^^^^ definition local 2 -// documentation ```java\nint adapterPosition\n``` +// display_name adapterPosition +// signature_documentation java int adapterPosition +// enclosing_symbol semanticdb maven . . com/airbnb/epoxy/EpoxyDragCallback#onDragStarted(). /** * Called after {@link #onDragStarted(EpoxyModel, View, int)} when the dragged view is dropped to @@ -61,20 +73,30 @@ public interface EpoxyDragCallback extends BaseEpoxyTouchC */ void onModelMoved(int fromPosition, int toPosition, T modelBeingMoved, View itemView); // ^^^^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/EpoxyDragCallback#onModelMoved(). -// documentation ```java\npublic abstract void onModelMoved(int fromPosition, int toPosition, T modelBeingMoved, unresolved_type itemView)\n``` +// display_name onModelMoved +// signature_documentation java public abstract void onModelMoved(int fromPosition, int toPosition, T modelBeingMoved, unresolved_type itemView) +// kind AbstractMethod // documentation Called after {@link #onDragStarted(EpoxyModel, View, int)} when the dragged view is dropped to\n a new position. The EpoxyController will be updated automatically for you to reposition the\n models and notify the RecyclerView of the change.\n

\n You MUST use this callback to modify your data backing the models to reflect the change.\n

\n The next callback in the drag lifecycle will be {@link #onDragStarted(EpoxyModel, View, int)}\n\n @param modelBeingMoved The model representing the view that was moved\n @param itemView The view that was moved\n @param fromPosition The adapter position that the model came from\n @param toPosition The new adapter position of the model\n // relationship is_reference is_implementation semanticdb maven . . com/airbnb/epoxy/EpoxyModelTouchCallback#onModelMoved(). // relationship is_reference is_implementation semanticdb maven . . com/airbnb/epoxy/EpoxyTouchHelper#DragCallbacks#onModelMoved(). // ^^^^^^^^^^^^ definition local 3 -// documentation ```java\nint fromPosition\n``` +// display_name fromPosition +// signature_documentation java int fromPosition +// enclosing_symbol semanticdb maven . . com/airbnb/epoxy/EpoxyDragCallback#onModelMoved(). // ^^^^^^^^^^ definition local 4 -// documentation ```java\nint toPosition\n``` +// display_name toPosition +// signature_documentation java int toPosition +// enclosing_symbol semanticdb maven . . com/airbnb/epoxy/EpoxyDragCallback#onModelMoved(). // ^ reference semanticdb maven . . com/airbnb/epoxy/EpoxyDragCallback#[T] // ^^^^^^^^^^^^^^^ definition local 5 -// documentation ```java\nT modelBeingMoved\n``` +// display_name modelBeingMoved +// signature_documentation java T modelBeingMoved +// enclosing_symbol semanticdb maven . . com/airbnb/epoxy/EpoxyDragCallback#onModelMoved(). // ^^^^ reference semanticdb maven . . View# // ^^^^^^^^ definition local 6 -// documentation ```java\nunresolved_type itemView\n``` +// display_name itemView +// signature_documentation java unresolved_type itemView +// enclosing_symbol semanticdb maven . . com/airbnb/epoxy/EpoxyDragCallback#onModelMoved(). /** * Called after {@link #onDragStarted(EpoxyModel, View, int)} when the view being dragged is @@ -92,14 +114,20 @@ public interface EpoxyDragCallback extends BaseEpoxyTouchC */ void onDragReleased(T model, View itemView); // ^^^^^^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/EpoxyDragCallback#onDragReleased(). -// documentation ```java\npublic abstract void onDragReleased(T model, unresolved_type itemView)\n``` +// display_name onDragReleased +// signature_documentation java public abstract void onDragReleased(T model, unresolved_type itemView) +// kind AbstractMethod // documentation Called after {@link #onDragStarted(EpoxyModel, View, int)} when the view being dragged is\n released. If the view was dragged to a new, valid location then {@link #onModelMoved(int, int,\n EpoxyModel, View)} will be called before this and the view will settle to the new location.\n Otherwise the view will animate back to its original position.\n

\n You can use this callback to modify the view as it animates back into position.\n

\n {@link BaseEpoxyTouchCallback#clearView(EpoxyModel, View)} will be called after this, when the\n view has finished animating. Final cleanup of the view should be done there.\n\n @param model The model representing the view that is being released\n @param itemView The view that was being dragged\n // relationship is_reference is_implementation semanticdb maven . . com/airbnb/epoxy/EpoxyModelTouchCallback#onDragReleased(). // relationship is_reference is_implementation semanticdb maven . . com/airbnb/epoxy/EpoxyTouchHelper#DragCallbacks#onDragReleased(). // ^ reference semanticdb maven . . com/airbnb/epoxy/EpoxyDragCallback#[T] // ^^^^^ definition local 7 -// documentation ```java\nT model\n``` +// display_name model +// signature_documentation java T model +// enclosing_symbol semanticdb maven . . com/airbnb/epoxy/EpoxyDragCallback#onDragReleased(). // ^^^^ reference semanticdb maven . . View# // ^^^^^^^^ definition local 8 -// documentation ```java\nunresolved_type itemView\n``` +// display_name itemView +// signature_documentation java unresolved_type itemView +// enclosing_symbol semanticdb maven . . com/airbnb/epoxy/EpoxyDragCallback#onDragReleased(). } diff --git a/tests/snapshots/src/main/generated/com/airbnb/epoxy/EpoxyHolder.java b/tests/snapshots/src/main/generated/com/airbnb/epoxy/EpoxyHolder.java index a7047e898..fc4c38fc8 100644 --- a/tests/snapshots/src/main/generated/com/airbnb/epoxy/EpoxyHolder.java +++ b/tests/snapshots/src/main/generated/com/airbnb/epoxy/EpoxyHolder.java @@ -20,23 +20,31 @@ */ public abstract class EpoxyHolder { // ^^^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/EpoxyHolder# -// documentation ```java\npublic abstract class EpoxyHolder\n``` +// display_name EpoxyHolder +// signature_documentation java public abstract class EpoxyHolder +// kind Class // documentation Used in conjunction with {@link com.airbnb.epoxy.EpoxyModelWithHolder} to provide a view holder\n pattern when binding to a model.\n public EpoxyHolder(@NonNull ViewParent parent) { // ^^^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/EpoxyHolder#``(). -// documentation ```java\npublic EpoxyHolder(unresolved_type parent)\n``` +// display_name +// signature_documentation java public EpoxyHolder(unresolved_type parent) +// kind Constructor // ^^^^^^^ reference semanticdb maven maven/androidx.annotation/annotation 1.1.0 androidx/annotation/NonNull# // ^^^^^^^^^^ reference semanticdb maven . . ViewParent# // ^^^^^^ definition local 0 -// documentation ```java\n@NonNull\nunresolved_type parent\n``` +// display_name parent +// signature_documentation java @NonNull\nunresolved_type parent +// enclosing_symbol semanticdb maven . . com/airbnb/epoxy/EpoxyHolder#``(). this(); // ^^^^ reference semanticdb maven . . com/airbnb/epoxy/EpoxyHolder#``(+1). } public EpoxyHolder() { // ^^^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/EpoxyHolder#``(+1). -// documentation ```java\npublic EpoxyHolder()\n``` +// display_name +// signature_documentation java public EpoxyHolder() +// kind Constructor } /** @@ -49,10 +57,14 @@ public EpoxyHolder() { */ protected abstract void bindView(@NonNull View itemView); // ^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/EpoxyHolder#bindView(). -// documentation ```java\nprotected abstract void bindView(unresolved_type itemView)\n``` +// display_name bindView +// signature_documentation java protected abstract void bindView(unresolved_type itemView) +// kind AbstractMethod // documentation Called when this holder is created, with the view that it should hold. You can use this\n opportunity to find views by id, and do any other initialization you need. This is called only\n once for the lifetime of the class.\n\n @param itemView A view inflated from the layout provided by\n {@link EpoxyModelWithHolder#getLayout()}\n // ^^^^^^^ reference semanticdb maven maven/androidx.annotation/annotation 1.1.0 androidx/annotation/NonNull# // ^^^^ reference semanticdb maven . . View# // ^^^^^^^^ definition local 1 -// documentation ```java\n@NonNull\nunresolved_type itemView\n``` +// display_name itemView +// signature_documentation java @NonNull\nunresolved_type itemView +// enclosing_symbol semanticdb maven . . com/airbnb/epoxy/EpoxyHolder#bindView(). } diff --git a/tests/snapshots/src/main/generated/com/airbnb/epoxy/EpoxyItemSpacingDecorator.java b/tests/snapshots/src/main/generated/com/airbnb/epoxy/EpoxyItemSpacingDecorator.java index 380b1d499..731b8ef49 100644 --- a/tests/snapshots/src/main/generated/com/airbnb/epoxy/EpoxyItemSpacingDecorator.java +++ b/tests/snapshots/src/main/generated/com/airbnb/epoxy/EpoxyItemSpacingDecorator.java @@ -58,56 +58,84 @@ */ public class EpoxyItemSpacingDecorator extends RecyclerView.ItemDecoration { // ^^^^^^^^^^^^^^^^^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/EpoxyItemSpacingDecorator# -// documentation ```java\npublic class EpoxyItemSpacingDecorator\n``` +// display_name EpoxyItemSpacingDecorator +// signature_documentation java public class EpoxyItemSpacingDecorator +// kind Class // documentation Modifies item spacing in a recycler view so that items are equally spaced no matter where they\n are on the grid. Only designed to work with standard linear or grid layout managers.\n // relationship is_implementation semanticdb maven . . RecyclerView/ItemDecoration# // ^^^^^^^^^^^^ reference semanticdb maven . . RecyclerView/ // ^^^^^^^^^^^^^^ reference semanticdb maven . . RecyclerView/ItemDecoration# private int pxBetweenItems; // ^^^^^^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/EpoxyItemSpacingDecorator#pxBetweenItems. -// documentation ```java\nprivate int pxBetweenItems\n``` +// display_name pxBetweenItems +// signature_documentation java private int pxBetweenItems +// kind Field private boolean verticallyScrolling; // ^^^^^^^^^^^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/EpoxyItemSpacingDecorator#verticallyScrolling. -// documentation ```java\nprivate boolean verticallyScrolling\n``` +// display_name verticallyScrolling +// signature_documentation java private boolean verticallyScrolling +// kind Field private boolean horizontallyScrolling; // ^^^^^^^^^^^^^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/EpoxyItemSpacingDecorator#horizontallyScrolling. -// documentation ```java\nprivate boolean horizontallyScrolling\n``` +// display_name horizontallyScrolling +// signature_documentation java private boolean horizontallyScrolling +// kind Field private boolean firstItem; // ^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/EpoxyItemSpacingDecorator#firstItem. -// documentation ```java\nprivate boolean firstItem\n``` +// display_name firstItem +// signature_documentation java private boolean firstItem +// kind Field private boolean lastItem; // ^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/EpoxyItemSpacingDecorator#lastItem. -// documentation ```java\nprivate boolean lastItem\n``` +// display_name lastItem +// signature_documentation java private boolean lastItem +// kind Field private boolean grid; // ^^^^ definition semanticdb maven . . com/airbnb/epoxy/EpoxyItemSpacingDecorator#grid. -// documentation ```java\nprivate boolean grid\n``` +// display_name grid +// signature_documentation java private boolean grid +// kind Field private boolean isFirstItemInRow; // ^^^^^^^^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/EpoxyItemSpacingDecorator#isFirstItemInRow. -// documentation ```java\nprivate boolean isFirstItemInRow\n``` +// display_name isFirstItemInRow +// signature_documentation java private boolean isFirstItemInRow +// kind Field private boolean fillsLastSpan; // ^^^^^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/EpoxyItemSpacingDecorator#fillsLastSpan. -// documentation ```java\nprivate boolean fillsLastSpan\n``` +// display_name fillsLastSpan +// signature_documentation java private boolean fillsLastSpan +// kind Field private boolean isInFirstRow; // ^^^^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/EpoxyItemSpacingDecorator#isInFirstRow. -// documentation ```java\nprivate boolean isInFirstRow\n``` +// display_name isInFirstRow +// signature_documentation java private boolean isInFirstRow +// kind Field private boolean isInLastRow; // ^^^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/EpoxyItemSpacingDecorator#isInLastRow. -// documentation ```java\nprivate boolean isInLastRow\n``` +// display_name isInLastRow +// signature_documentation java private boolean isInLastRow +// kind Field public EpoxyItemSpacingDecorator() { // ^^^^^^^^^^^^^^^^^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/EpoxyItemSpacingDecorator#``(). -// documentation ```java\npublic EpoxyItemSpacingDecorator()\n``` +// display_name +// signature_documentation java public EpoxyItemSpacingDecorator() +// kind Constructor this(0); // ^^^^ reference semanticdb maven . . com/airbnb/epoxy/EpoxyItemSpacingDecorator#``(+1). } public EpoxyItemSpacingDecorator(@Px int pxBetweenItems) { // ^^^^^^^^^^^^^^^^^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/EpoxyItemSpacingDecorator#``(+1). -// documentation ```java\npublic EpoxyItemSpacingDecorator(int pxBetweenItems)\n``` +// display_name +// signature_documentation java public EpoxyItemSpacingDecorator(int pxBetweenItems) +// kind Constructor // ^^ reference semanticdb maven maven/androidx.annotation/annotation 1.1.0 androidx/annotation/Px# // ^^^^^^^^^^^^^^ definition local 0 -// documentation ```java\n@Px\nint pxBetweenItems\n``` +// display_name pxBetweenItems +// signature_documentation java @Px\nint pxBetweenItems +// enclosing_symbol semanticdb maven . . com/airbnb/epoxy/EpoxyItemSpacingDecorator#``(+1). setPxBetweenItems(pxBetweenItems); // ^^^^^^^^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/EpoxyItemSpacingDecorator#setPxBetweenItems(). // ^^^^^^^^^^^^^^ reference local 0 @@ -115,10 +143,14 @@ public EpoxyItemSpacingDecorator(@Px int pxBetweenItems) { public void setPxBetweenItems(@Px int pxBetweenItems) { // ^^^^^^^^^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/EpoxyItemSpacingDecorator#setPxBetweenItems(). -// documentation ```java\npublic void setPxBetweenItems(int pxBetweenItems)\n``` +// display_name setPxBetweenItems +// signature_documentation java public void setPxBetweenItems(int pxBetweenItems) +// kind Method // ^^ reference semanticdb maven maven/androidx.annotation/annotation 1.1.0 androidx/annotation/Px# // ^^^^^^^^^^^^^^ definition local 1 -// documentation ```java\n@Px\nint pxBetweenItems\n``` +// display_name pxBetweenItems +// signature_documentation java @Px\nint pxBetweenItems +// enclosing_symbol semanticdb maven . . com/airbnb/epoxy/EpoxyItemSpacingDecorator#setPxBetweenItems(). this.pxBetweenItems = pxBetweenItems; // ^^^^^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/EpoxyItemSpacingDecorator#pxBetweenItems. // ^^^^^^^^^^^^^^ reference local 1 @@ -128,7 +160,9 @@ public void setPxBetweenItems(@Px int pxBetweenItems) { // ^^ reference semanticdb maven maven/androidx.annotation/annotation 1.1.0 androidx/annotation/Px# public int getPxBetweenItems() { // ^^^^^^^^^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/EpoxyItemSpacingDecorator#getPxBetweenItems(). -// documentation ```java\n@Px\npublic int getPxBetweenItems()\n``` +// display_name getPxBetweenItems +// signature_documentation java @Px\npublic int getPxBetweenItems() +// kind Method return pxBetweenItems; // ^^^^^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/EpoxyItemSpacingDecorator#pxBetweenItems. } @@ -137,19 +171,29 @@ public int getPxBetweenItems() { // ^^^^^^^^ reference semanticdb maven jdk 11 java/lang/Override# public void getItemOffsets(Rect outRect, View view, RecyclerView parent, State state) { // ^^^^^^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/EpoxyItemSpacingDecorator#getItemOffsets(). -// documentation ```java\n@Override\npublic void getItemOffsets(unresolved_type outRect, unresolved_type view, unresolved_type parent, unresolved_type state)\n``` +// display_name getItemOffsets +// signature_documentation java @Override\npublic void getItemOffsets(unresolved_type outRect, unresolved_type view, unresolved_type parent, unresolved_type state) +// kind Method // ^^^^ reference semanticdb maven . . Rect# // ^^^^^^^ definition local 2 -// documentation ```java\nunresolved_type outRect\n``` +// display_name outRect +// signature_documentation java unresolved_type outRect +// enclosing_symbol semanticdb maven . . com/airbnb/epoxy/EpoxyItemSpacingDecorator#getItemOffsets(). // ^^^^ reference semanticdb maven . . View# // ^^^^ definition local 3 -// documentation ```java\nunresolved_type view\n``` +// display_name view +// signature_documentation java unresolved_type view +// enclosing_symbol semanticdb maven . . com/airbnb/epoxy/EpoxyItemSpacingDecorator#getItemOffsets(). // ^^^^^^^^^^^^ reference semanticdb maven . . RecyclerView# // ^^^^^^ definition local 4 -// documentation ```java\nunresolved_type parent\n``` +// display_name parent +// signature_documentation java unresolved_type parent +// enclosing_symbol semanticdb maven . . com/airbnb/epoxy/EpoxyItemSpacingDecorator#getItemOffsets(). // ^^^^^ reference semanticdb maven . . State# // ^^^^^ definition local 5 -// documentation ```java\nunresolved_type state\n``` +// display_name state +// signature_documentation java unresolved_type state +// enclosing_symbol semanticdb maven . . com/airbnb/epoxy/EpoxyItemSpacingDecorator#getItemOffsets(). // Zero everything out for the common case outRect.setEmpty(); // ^^^^^^^ reference local 2 @@ -157,7 +201,10 @@ public void getItemOffsets(Rect outRect, View view, RecyclerView parent, State s int position = parent.getChildAdapterPosition(view); // ^^^^^^^^ definition local 6 -// documentation ```java\nint position\n``` +// display_name position +// signature_documentation java int position +// enclosing_symbol semanticdb maven . . com/airbnb/epoxy/EpoxyItemSpacingDecorator#getItemOffsets(). +// kind Variable // ^^^^^^ reference local 4 // ^^^^^^^^^^^^^^^^^^^^^^^ reference semanticdb maven . . RecyclerView#getChildAdapterPosition# // ^^^^ reference local 3 @@ -173,7 +220,10 @@ public void getItemOffsets(Rect outRect, View view, RecyclerView parent, State s // ^^^^^^^^^^^^ reference semanticdb maven . . RecyclerView/ // ^^^^^^^^^^^^^ reference semanticdb maven . . RecyclerView/LayoutManager# // ^^^^^^ definition local 7 -// documentation ```java\nunresolved_type layout\n``` +// display_name layout +// signature_documentation java unresolved_type layout +// enclosing_symbol semanticdb maven . . com/airbnb/epoxy/EpoxyItemSpacingDecorator#getItemOffsets(). +// kind Variable // ^^^^^^ reference local 4 // ^^^^^^^^^^^^^^^^ reference semanticdb maven . . RecyclerView#getLayoutManager# calculatePositionDetails(parent, position, layout); @@ -184,19 +234,31 @@ public void getItemOffsets(Rect outRect, View view, RecyclerView parent, State s boolean left = useLeftPadding(); // ^^^^ definition local 8 -// documentation ```java\nboolean left\n``` +// display_name left +// signature_documentation java boolean left +// enclosing_symbol semanticdb maven . . com/airbnb/epoxy/EpoxyItemSpacingDecorator#getItemOffsets(). +// kind Variable // ^^^^^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/EpoxyItemSpacingDecorator#useLeftPadding(). boolean right = useRightPadding(); // ^^^^^ definition local 9 -// documentation ```java\nboolean right\n``` +// display_name right +// signature_documentation java boolean right +// enclosing_symbol semanticdb maven . . com/airbnb/epoxy/EpoxyItemSpacingDecorator#getItemOffsets(). +// kind Variable // ^^^^^^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/EpoxyItemSpacingDecorator#useRightPadding(). boolean top = useTopPadding(); // ^^^ definition local 10 -// documentation ```java\nboolean top\n``` +// display_name top +// signature_documentation java boolean top +// enclosing_symbol semanticdb maven . . com/airbnb/epoxy/EpoxyItemSpacingDecorator#getItemOffsets(). +// kind Variable // ^^^^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/EpoxyItemSpacingDecorator#useTopPadding(). boolean bottom = useBottomPadding(); // ^^^^^^ definition local 11 -// documentation ```java\nboolean bottom\n``` +// display_name bottom +// signature_documentation java boolean bottom +// enclosing_symbol semanticdb maven . . com/airbnb/epoxy/EpoxyItemSpacingDecorator#getItemOffsets(). +// kind Variable // ^^^^^^^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/EpoxyItemSpacingDecorator#useBottomPadding(). if (shouldReverseLayout(layout, horizontallyScrolling)) { @@ -207,7 +269,10 @@ public void getItemOffsets(Rect outRect, View view, RecyclerView parent, State s // ^^^^^^^^^^^^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/EpoxyItemSpacingDecorator#horizontallyScrolling. boolean temp = left; // ^^^^ definition local 12 -// documentation ```java\nboolean temp\n``` +// display_name temp +// signature_documentation java boolean temp +// enclosing_symbol semanticdb maven . . com/airbnb/epoxy/EpoxyItemSpacingDecorator#getItemOffsets(). +// kind Variable // ^^^^ reference local 8 left = right; // ^^^^ reference local 8 @@ -218,7 +283,10 @@ public void getItemOffsets(Rect outRect, View view, RecyclerView parent, State s } else { boolean temp = top; // ^^^^ definition local 13 -// documentation ```java\nboolean temp\n``` +// display_name temp +// signature_documentation java boolean temp +// enclosing_symbol semanticdb maven . . com/airbnb/epoxy/EpoxyItemSpacingDecorator#getItemOffsets(). +// kind Variable // ^^^ reference local 10 top = bottom; // ^^^ reference local 10 @@ -233,7 +301,10 @@ public void getItemOffsets(Rect outRect, View view, RecyclerView parent, State s // to add up to the total desired space int padding = pxBetweenItems / 2; // ^^^^^^^ definition local 14 -// documentation ```java\nint padding\n``` +// display_name padding +// signature_documentation java int padding +// enclosing_symbol semanticdb maven . . com/airbnb/epoxy/EpoxyItemSpacingDecorator#getItemOffsets(). +// kind Variable // ^^^^^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/EpoxyItemSpacingDecorator#pxBetweenItems. outRect.right = right ? padding : 0; // ^^^^^^^ reference local 2 @@ -259,18 +330,29 @@ public void getItemOffsets(Rect outRect, View view, RecyclerView parent, State s private void calculatePositionDetails(RecyclerView parent, int position, LayoutManager layout) { // ^^^^^^^^^^^^^^^^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/EpoxyItemSpacingDecorator#calculatePositionDetails(). -// documentation ```java\nprivate void calculatePositionDetails(unresolved_type parent, int position, unresolved_type layout)\n``` +// display_name calculatePositionDetails +// signature_documentation java private void calculatePositionDetails(unresolved_type parent, int position, unresolved_type layout) +// kind Method // ^^^^^^^^^^^^ reference semanticdb maven . . RecyclerView# // ^^^^^^ definition local 15 -// documentation ```java\nunresolved_type parent\n``` +// display_name parent +// signature_documentation java unresolved_type parent +// enclosing_symbol semanticdb maven . . com/airbnb/epoxy/EpoxyItemSpacingDecorator#calculatePositionDetails(). // ^^^^^^^^ definition local 16 -// documentation ```java\nint position\n``` +// display_name position +// signature_documentation java int position +// enclosing_symbol semanticdb maven . . com/airbnb/epoxy/EpoxyItemSpacingDecorator#calculatePositionDetails(). // ^^^^^^^^^^^^^ reference semanticdb maven . . LayoutManager# // ^^^^^^ definition local 17 -// documentation ```java\nunresolved_type layout\n``` +// display_name layout +// signature_documentation java unresolved_type layout +// enclosing_symbol semanticdb maven . . com/airbnb/epoxy/EpoxyItemSpacingDecorator#calculatePositionDetails(). int itemCount = parent.getAdapter().getItemCount(); // ^^^^^^^^^ definition local 18 -// documentation ```java\nint itemCount\n``` +// display_name itemCount +// signature_documentation java int itemCount +// enclosing_symbol semanticdb maven . . com/airbnb/epoxy/EpoxyItemSpacingDecorator#calculatePositionDetails(). +// kind Variable // ^^^^^^ reference local 15 // ^^^^^^^^^^ reference semanticdb maven . . RecyclerView#getAdapter# // ^^^^^^^^^^^^ reference semanticdb maven . . RecyclerView#getAdapter#getItemCount# @@ -299,29 +381,44 @@ private void calculatePositionDetails(RecyclerView parent, int position, LayoutM GridLayoutManager grid = (GridLayoutManager) layout; // ^^^^^^^^^^^^^^^^^ reference semanticdb maven . . GridLayoutManager# // ^^^^ definition local 19 -// documentation ```java\nunresolved_type grid\n``` +// display_name grid +// signature_documentation java unresolved_type grid +// enclosing_symbol semanticdb maven . . com/airbnb/epoxy/EpoxyItemSpacingDecorator#calculatePositionDetails(). +// kind Variable // ^^^^^^^^^^^^^^^^^ reference semanticdb maven . . GridLayoutManager# // ^^^^^^ reference local 17 final SpanSizeLookup spanSizeLookup = grid.getSpanSizeLookup(); // ^^^^^^^^^^^^^^ reference semanticdb maven . . SpanSizeLookup# // ^^^^^^^^^^^^^^ definition local 20 -// documentation ```java\nfinal unresolved_type spanSizeLookup\n``` +// display_name spanSizeLookup +// signature_documentation java final unresolved_type spanSizeLookup +// enclosing_symbol semanticdb maven . . com/airbnb/epoxy/EpoxyItemSpacingDecorator#calculatePositionDetails(). +// kind Variable // ^^^^ reference local 19 // ^^^^^^^^^^^^^^^^^ reference semanticdb maven . . GridLayoutManager#getSpanSizeLookup# int spanSize = spanSizeLookup.getSpanSize(position); // ^^^^^^^^ definition local 21 -// documentation ```java\nint spanSize\n``` +// display_name spanSize +// signature_documentation java int spanSize +// enclosing_symbol semanticdb maven . . com/airbnb/epoxy/EpoxyItemSpacingDecorator#calculatePositionDetails(). +// kind Variable // ^^^^^^^^^^^^^^ reference local 20 // ^^^^^^^^^^^ reference semanticdb maven . . SpanSizeLookup#getSpanSize# // ^^^^^^^^ reference local 16 int spanCount = grid.getSpanCount(); // ^^^^^^^^^ definition local 22 -// documentation ```java\nint spanCount\n``` +// display_name spanCount +// signature_documentation java int spanCount +// enclosing_symbol semanticdb maven . . com/airbnb/epoxy/EpoxyItemSpacingDecorator#calculatePositionDetails(). +// kind Variable // ^^^^ reference local 19 // ^^^^^^^^^^^^ reference semanticdb maven . . GridLayoutManager#getSpanCount# int spanIndex = spanSizeLookup.getSpanIndex(position, spanCount); // ^^^^^^^^^ definition local 23 -// documentation ```java\nint spanIndex\n``` +// display_name spanIndex +// signature_documentation java int spanIndex +// enclosing_symbol semanticdb maven . . com/airbnb/epoxy/EpoxyItemSpacingDecorator#calculatePositionDetails(). +// kind Variable // ^^^^^^^^^^^^^^ reference local 20 // ^^^^^^^^^^^^ reference semanticdb maven . . SpanSizeLookup#getSpanIndex# // ^^^^^^^^ reference local 16 @@ -354,15 +451,24 @@ private void calculatePositionDetails(RecyclerView parent, int position, LayoutM private static boolean shouldReverseLayout(LayoutManager layout, boolean horizontallyScrolling) { // ^^^^^^^^^^^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/EpoxyItemSpacingDecorator#shouldReverseLayout(). -// documentation ```java\nprivate static boolean shouldReverseLayout(unresolved_type layout, boolean horizontallyScrolling)\n``` +// display_name shouldReverseLayout +// signature_documentation java private static boolean shouldReverseLayout(unresolved_type layout, boolean horizontallyScrolling) +// kind StaticMethod // ^^^^^^^^^^^^^ reference semanticdb maven . . LayoutManager# // ^^^^^^ definition local 24 -// documentation ```java\nunresolved_type layout\n``` +// display_name layout +// signature_documentation java unresolved_type layout +// enclosing_symbol semanticdb maven . . com/airbnb/epoxy/EpoxyItemSpacingDecorator#shouldReverseLayout(). // ^^^^^^^^^^^^^^^^^^^^^ definition local 25 -// documentation ```java\nboolean horizontallyScrolling\n``` +// display_name horizontallyScrolling +// signature_documentation java boolean horizontallyScrolling +// enclosing_symbol semanticdb maven . . com/airbnb/epoxy/EpoxyItemSpacingDecorator#shouldReverseLayout(). boolean reverseLayout = // ^^^^^^^^^^^^^ definition local 26 -// documentation ```java\nboolean reverseLayout\n``` +// display_name reverseLayout +// signature_documentation java boolean reverseLayout +// enclosing_symbol semanticdb maven . . com/airbnb/epoxy/EpoxyItemSpacingDecorator#shouldReverseLayout(). +// kind Variable layout instanceof LinearLayoutManager && ((LinearLayoutManager) layout).getReverseLayout(); // ^^^^^^ reference local 24 // ^^^^^^^^^^^^^^^^^^^ reference semanticdb maven . . LinearLayoutManager# @@ -371,7 +477,10 @@ private static boolean shouldReverseLayout(LayoutManager layout, boolean horizon // ^^^^^^^^^^^^^^^^ reference semanticdb maven . . LinearLayoutManager#getReverseLayout# boolean rtl = layout.getLayoutDirection() == ViewCompat.LAYOUT_DIRECTION_RTL; // ^^^ definition local 27 -// documentation ```java\nboolean rtl\n``` +// display_name rtl +// signature_documentation java boolean rtl +// enclosing_symbol semanticdb maven . . com/airbnb/epoxy/EpoxyItemSpacingDecorator#shouldReverseLayout(). +// kind Variable // ^^^^^^ reference local 24 // ^^^^^^^^^^^^^^^^^^ reference semanticdb maven . . LayoutManager#getLayoutDirection# // ^^^^^^^^^^ reference semanticdb maven . . ViewCompat# @@ -391,7 +500,9 @@ private static boolean shouldReverseLayout(LayoutManager layout, boolean horizon private boolean useBottomPadding() { // ^^^^^^^^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/EpoxyItemSpacingDecorator#useBottomPadding(). -// documentation ```java\nprivate boolean useBottomPadding()\n``` +// display_name useBottomPadding +// signature_documentation java private boolean useBottomPadding() +// kind Method if (grid) { // ^^^^ reference semanticdb maven . . com/airbnb/epoxy/EpoxyItemSpacingDecorator#grid. return (horizontallyScrolling && !fillsLastSpan) @@ -409,7 +520,9 @@ private boolean useBottomPadding() { private boolean useTopPadding() { // ^^^^^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/EpoxyItemSpacingDecorator#useTopPadding(). -// documentation ```java\nprivate boolean useTopPadding()\n``` +// display_name useTopPadding +// signature_documentation java private boolean useTopPadding() +// kind Method if (grid) { // ^^^^ reference semanticdb maven . . com/airbnb/epoxy/EpoxyItemSpacingDecorator#grid. return (horizontallyScrolling && !isFirstItemInRow) @@ -427,7 +540,9 @@ private boolean useTopPadding() { private boolean useRightPadding() { // ^^^^^^^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/EpoxyItemSpacingDecorator#useRightPadding(). -// documentation ```java\nprivate boolean useRightPadding()\n``` +// display_name useRightPadding +// signature_documentation java private boolean useRightPadding() +// kind Method if (grid) { // ^^^^ reference semanticdb maven . . com/airbnb/epoxy/EpoxyItemSpacingDecorator#grid. return (horizontallyScrolling && !isInLastRow) @@ -445,7 +560,9 @@ private boolean useRightPadding() { private boolean useLeftPadding() { // ^^^^^^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/EpoxyItemSpacingDecorator#useLeftPadding(). -// documentation ```java\nprivate boolean useLeftPadding()\n``` +// display_name useLeftPadding +// signature_documentation java private boolean useLeftPadding() +// kind Method if (grid) { // ^^^^ reference semanticdb maven . . com/airbnb/epoxy/EpoxyItemSpacingDecorator#grid. return (horizontallyScrolling && !isInFirstRow) @@ -463,20 +580,34 @@ private boolean useLeftPadding() { private static boolean isInFirstRow(int position, SpanSizeLookup spanSizeLookup, int spanCount) { // ^^^^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/EpoxyItemSpacingDecorator#isInFirstRow(). -// documentation ```java\nprivate static boolean isInFirstRow(int position, unresolved_type spanSizeLookup, int spanCount)\n``` +// display_name isInFirstRow +// signature_documentation java private static boolean isInFirstRow(int position, unresolved_type spanSizeLookup, int spanCount) +// kind StaticMethod // ^^^^^^^^ definition local 28 -// documentation ```java\nint position\n``` +// display_name position +// signature_documentation java int position +// enclosing_symbol semanticdb maven . . com/airbnb/epoxy/EpoxyItemSpacingDecorator#isInFirstRow(). // ^^^^^^^^^^^^^^ reference semanticdb maven . . SpanSizeLookup# // ^^^^^^^^^^^^^^ definition local 29 -// documentation ```java\nunresolved_type spanSizeLookup\n``` +// display_name spanSizeLookup +// signature_documentation java unresolved_type spanSizeLookup +// enclosing_symbol semanticdb maven . . com/airbnb/epoxy/EpoxyItemSpacingDecorator#isInFirstRow(). // ^^^^^^^^^ definition local 30 -// documentation ```java\nint spanCount\n``` +// display_name spanCount +// signature_documentation java int spanCount +// enclosing_symbol semanticdb maven . . com/airbnb/epoxy/EpoxyItemSpacingDecorator#isInFirstRow(). int totalSpan = 0; // ^^^^^^^^^ definition local 31 -// documentation ```java\nint totalSpan\n``` +// display_name totalSpan +// signature_documentation java int totalSpan +// enclosing_symbol semanticdb maven . . com/airbnb/epoxy/EpoxyItemSpacingDecorator#isInFirstRow(). +// kind Variable for (int i = 0; i <= position; i++) { // ^ definition local 32 -// documentation ```java\nint i\n``` +// display_name i +// signature_documentation java int i +// enclosing_symbol semanticdb maven . . com/airbnb/epoxy/EpoxyItemSpacingDecorator#isInFirstRow(). +// kind Variable // ^ reference local 32 // ^^^^^^^^ reference local 28 // ^ reference local 32 @@ -497,23 +628,39 @@ private static boolean isInFirstRow(int position, SpanSizeLookup spanSizeLookup, private static boolean isInLastRow(int position, int itemCount, SpanSizeLookup spanSizeLookup, // ^^^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/EpoxyItemSpacingDecorator#isInLastRow(). -// documentation ```java\nprivate static boolean isInLastRow(int position, int itemCount, unresolved_type spanSizeLookup, int spanCount)\n``` +// display_name isInLastRow +// signature_documentation java private static boolean isInLastRow(int position, int itemCount, unresolved_type spanSizeLookup, int spanCount) +// kind StaticMethod // ^^^^^^^^ definition local 33 -// documentation ```java\nint position\n``` +// display_name position +// signature_documentation java int position +// enclosing_symbol semanticdb maven . . com/airbnb/epoxy/EpoxyItemSpacingDecorator#isInLastRow(). // ^^^^^^^^^ definition local 34 -// documentation ```java\nint itemCount\n``` +// display_name itemCount +// signature_documentation java int itemCount +// enclosing_symbol semanticdb maven . . com/airbnb/epoxy/EpoxyItemSpacingDecorator#isInLastRow(). // ^^^^^^^^^^^^^^ reference semanticdb maven . . SpanSizeLookup# // ^^^^^^^^^^^^^^ definition local 35 -// documentation ```java\nunresolved_type spanSizeLookup\n``` +// display_name spanSizeLookup +// signature_documentation java unresolved_type spanSizeLookup +// enclosing_symbol semanticdb maven . . com/airbnb/epoxy/EpoxyItemSpacingDecorator#isInLastRow(). int spanCount) { // ^^^^^^^^^ definition local 36 -// documentation ```java\nint spanCount\n``` +// display_name spanCount +// signature_documentation java int spanCount +// enclosing_symbol semanticdb maven . . com/airbnb/epoxy/EpoxyItemSpacingDecorator#isInLastRow(). int totalSpan = 0; // ^^^^^^^^^ definition local 37 -// documentation ```java\nint totalSpan\n``` +// display_name totalSpan +// signature_documentation java int totalSpan +// enclosing_symbol semanticdb maven . . com/airbnb/epoxy/EpoxyItemSpacingDecorator#isInLastRow(). +// kind Variable for (int i = itemCount - 1; i >= position; i--) { // ^ definition local 38 -// documentation ```java\nint i\n``` +// display_name i +// signature_documentation java int i +// enclosing_symbol semanticdb maven . . com/airbnb/epoxy/EpoxyItemSpacingDecorator#isInLastRow(). +// kind Variable // ^^^^^^^^^ reference local 34 // ^ reference local 38 // ^^^^^^^^ reference local 33 diff --git a/tests/snapshots/src/main/generated/com/airbnb/epoxy/EpoxyModel.java b/tests/snapshots/src/main/generated/com/airbnb/epoxy/EpoxyModel.java index 5775b731c..34b333f1b 100644 --- a/tests/snapshots/src/main/generated/com/airbnb/epoxy/EpoxyModel.java +++ b/tests/snapshots/src/main/generated/com/airbnb/epoxy/EpoxyModel.java @@ -72,10 +72,14 @@ */ public abstract class EpoxyModel { // ^^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/EpoxyModel# -// documentation ```java\npublic abstract class EpoxyModel\n``` +// display_name EpoxyModel +// signature_documentation java public abstract class EpoxyModel +// kind Class // documentation Helper to bind data to a view using a builder style. The parameterized type should extend\n Android's View or EpoxyHolder.\n\n @see EpoxyModelWithHolder\n @see EpoxyModelWithView\n // ^ definition semanticdb maven . . com/airbnb/epoxy/EpoxyModel#[T] -// documentation ```java\nT\n``` +// display_name T +// signature_documentation java T +// kind TypeParameter /** * Counts how many of these objects are created, so that each new object can have a unique id . @@ -84,7 +88,9 @@ public abstract class EpoxyModel { */ private static long idCounter = -1; // ^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/EpoxyModel#idCounter. -// documentation ```java\nprivate static long idCounter\n``` +// display_name idCounter +// signature_documentation java private static long idCounter +// kind StaticField // documentation Counts how many of these objects are created, so that each new object can have a unique id .\n Uses negative values so that these autogenerated ids don't clash with database ids that may be\n set with {@link #id(long)}\n /** @@ -94,22 +100,30 @@ public abstract class EpoxyModel { */ private long id; // ^^ definition semanticdb maven . . com/airbnb/epoxy/EpoxyModel#id. -// documentation ```java\nprivate long id\n``` +// display_name id +// signature_documentation java private long id +// kind Field // documentation An id that can be used to uniquely identify this {@link EpoxyModel} for use in RecyclerView\n stable ids. It defaults to a unique id for this object instance, if you want to maintain the\n same id across instances use {@link #id(long)}\n @LayoutRes private int layout; // ^^^^^^^^^ reference semanticdb maven maven/androidx.annotation/annotation 1.1.0 androidx/annotation/LayoutRes# // ^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/EpoxyModel#layout. -// documentation ```java\n@LayoutRes\nprivate int layout\n``` +// display_name layout +// signature_documentation java @LayoutRes\nprivate int layout +// kind Field private boolean shown = true; // ^^^^^ definition semanticdb maven . . com/airbnb/epoxy/EpoxyModel#shown. -// documentation ```java\nprivate boolean shown\n``` +// display_name shown +// signature_documentation java private boolean shown +// kind Field /** * Set to true once this model is diffed in an adapter. Used to ensure that this model's id * doesn't change after being diffed. */ boolean addedToAdapter; // ^^^^^^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/EpoxyModel#addedToAdapter. -// documentation ```java\nboolean addedToAdapter\n``` +// display_name addedToAdapter +// signature_documentation java boolean addedToAdapter +// kind Field // documentation Set to true once this model is diffed in an adapter. Used to ensure that this model's id\n doesn't change after being diffed.\n /** * The first controller this model was added to. A reference is kept in debug mode in order to run @@ -119,7 +133,9 @@ public abstract class EpoxyModel { private EpoxyController firstControllerAddedTo; // ^^^^^^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/EpoxyController# // ^^^^^^^^^^^^^^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/EpoxyModel#firstControllerAddedTo. -// documentation ```java\nprivate EpoxyController firstControllerAddedTo\n``` +// display_name firstControllerAddedTo +// signature_documentation java private EpoxyController firstControllerAddedTo +// kind Field // documentation The first controller this model was added to. A reference is kept in debug mode in order to run\n validations. The model is allowed to be added to other controllers, but we only keep a\n reference to the first.\n /** * Models are staged when they are changed. This allows them to be automatically added when they @@ -129,28 +145,42 @@ public abstract class EpoxyModel { EpoxyController controllerToStageTo; //^^^^^^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/EpoxyController# // ^^^^^^^^^^^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/EpoxyModel#controllerToStageTo. -// documentation ```java\nEpoxyController controllerToStageTo\n``` +// display_name controllerToStageTo +// signature_documentation java EpoxyController controllerToStageTo +// kind Field // documentation Models are staged when they are changed. This allows them to be automatically added when they\n are done being changed (eg the next model is changed/added or buildModels finishes). It is only\n allowed for AutoModels, and only if implicit adding is enabled.\n private boolean currentlyInInterceptors; // ^^^^^^^^^^^^^^^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/EpoxyModel#currentlyInInterceptors. -// documentation ```java\nprivate boolean currentlyInInterceptors\n``` +// display_name currentlyInInterceptors +// signature_documentation java private boolean currentlyInInterceptors +// kind Field private int hashCodeWhenAdded; // ^^^^^^^^^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/EpoxyModel#hashCodeWhenAdded. -// documentation ```java\nprivate int hashCodeWhenAdded\n``` +// display_name hashCodeWhenAdded +// signature_documentation java private int hashCodeWhenAdded +// kind Field private boolean hasDefaultId; // ^^^^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/EpoxyModel#hasDefaultId. -// documentation ```java\nprivate boolean hasDefaultId\n``` +// display_name hasDefaultId +// signature_documentation java private boolean hasDefaultId +// kind Field @Nullable private SpanSizeOverrideCallback spanSizeOverride; // ^^^^^^^^ reference semanticdb maven maven/androidx.annotation/annotation 1.1.0 androidx/annotation/Nullable# // ^^^^^^^^^^^^^^^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/EpoxyModel#SpanSizeOverrideCallback# // ^^^^^^^^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/EpoxyModel#spanSizeOverride. -// documentation ```java\n@Nullable\nprivate SpanSizeOverrideCallback spanSizeOverride\n``` +// display_name spanSizeOverride +// signature_documentation java @Nullable\nprivate SpanSizeOverrideCallback spanSizeOverride +// kind Field protected EpoxyModel(long id) { // ^^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/EpoxyModel#``(). -// documentation ```java\nprotected EpoxyModel(long id)\n``` +// display_name +// signature_documentation java protected EpoxyModel(long id) +// kind Constructor // ^^ definition local 0 -// documentation ```java\nlong id\n``` +// display_name id +// signature_documentation java long id +// enclosing_symbol semanticdb maven . . com/airbnb/epoxy/EpoxyModel#``(). id(id); // ^^ reference semanticdb maven . . com/airbnb/epoxy/EpoxyModel#id(+1). // ^^ reference local 0 @@ -158,7 +188,9 @@ protected EpoxyModel(long id) { public EpoxyModel() { // ^^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/EpoxyModel#``(+1). -// documentation ```java\npublic EpoxyModel()\n``` +// display_name +// signature_documentation java public EpoxyModel() +// kind Constructor this(idCounter--); // ^^^^ reference semanticdb maven . . com/airbnb/epoxy/EpoxyModel#``(). // ^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/EpoxyModel#idCounter. @@ -168,7 +200,9 @@ public EpoxyModel() { boolean hasDefaultId() { // ^^^^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/EpoxyModel#hasDefaultId(). -// documentation ```java\nboolean hasDefaultId()\n``` +// display_name hasDefaultId +// signature_documentation java boolean hasDefaultId() +// kind Method return hasDefaultId; // ^^^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/EpoxyModel#hasDefaultId. } @@ -183,7 +217,9 @@ boolean hasDefaultId() { */ protected int getViewType() { // ^^^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/EpoxyModel#getViewType(). -// documentation ```java\nprotected int getViewType()\n``` +// display_name getViewType +// signature_documentation java protected int getViewType() +// kind Method // documentation Get the view type to associate with this model in the recyclerview. For models that use a\n layout resource, the view type is simply the layout resource value by default.\n

\n If this returns 0 Epoxy will assign a unique view type for this model at run time.\n\n @see androidx.recyclerview.widget.RecyclerView.Adapter#getItemViewType(int)\n // relationship is_reference is_implementation semanticdb maven . . com/airbnb/epoxy/EpoxyModelWithView#getViewType(). return getLayout(); @@ -197,13 +233,17 @@ protected int getViewType() { protected View buildView(@NonNull ViewGroup parent) { // ^^^^ reference semanticdb maven . . View# // ^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/EpoxyModel#buildView(). -// documentation ```java\nprotected unresolved_type buildView(unresolved_type parent)\n``` +// display_name buildView +// signature_documentation java protected unresolved_type buildView(unresolved_type parent) +// kind Method // documentation Create and return a new instance of a view for this model. By default a view is created by\n inflating the layout resource.\n // relationship is_reference is_implementation semanticdb maven . . com/airbnb/epoxy/EpoxyModelWithView#buildView(). // ^^^^^^^ reference semanticdb maven maven/androidx.annotation/annotation 1.1.0 androidx/annotation/NonNull# // ^^^^^^^^^ reference semanticdb maven . . ViewGroup# // ^^^^^^ definition local 1 -// documentation ```java\n@NonNull\nunresolved_type parent\n``` +// display_name parent +// signature_documentation java @NonNull\nunresolved_type parent +// enclosing_symbol semanticdb maven . . com/airbnb/epoxy/EpoxyModel#buildView(). return LayoutInflater.from(parent.getContext()).inflate(getLayout(), parent, false); // ^^^^^^^^^^^^^^ reference semanticdb maven . . LayoutInflater# // ^^^^ reference semanticdb maven . . LayoutInflater#from# @@ -220,7 +260,9 @@ protected View buildView(@NonNull ViewGroup parent) { */ public void bind(@NonNull T view) { // ^^^^ definition semanticdb maven . . com/airbnb/epoxy/EpoxyModel#bind(). -// documentation ```java\npublic void bind(T view)\n``` +// display_name bind +// signature_documentation java public void bind(T view) +// kind Method // documentation Binds the current data to the given view. You should bind all fields including unset/empty\n fields to ensure proper recycling.\n // relationship is_reference is_implementation semanticdb maven . . com/airbnb/epoxy/EpoxyModelGroup#bind(). // relationship is_reference is_implementation semanticdb maven . . com/airbnb/epoxy/EpoxyModelWithHolder#bind(). @@ -228,7 +270,9 @@ public void bind(@NonNull T view) { // ^^^^^^^ reference semanticdb maven maven/androidx.annotation/annotation 1.1.0 androidx/annotation/NonNull# // ^ reference semanticdb maven . . com/airbnb/epoxy/EpoxyModel#[T] // ^^^^ definition local 2 -// documentation ```java\n@NonNull\nT view\n``` +// display_name view +// signature_documentation java @NonNull\nT view +// enclosing_symbol semanticdb maven . . com/airbnb/epoxy/EpoxyModel#bind(). } @@ -242,19 +286,25 @@ public void bind(@NonNull T view) { */ public void bind(@NonNull T view, @NonNull List payloads) { // ^^^^ definition semanticdb maven . . com/airbnb/epoxy/EpoxyModel#bind(+1). -// documentation ```java\npublic void bind(T view, List payloads)\n``` +// display_name bind +// signature_documentation java public void bind(T view, List payloads) +// kind Method // documentation Similar to {@link #bind(Object)}, but provides a non null, non empty list of payloads\n describing what changed. This is the payloads list specified in the adapter's notifyItemChanged\n method. This is a useful optimization to allow you to only change part of a view instead of\n updating the whole thing, which may prevent unnecessary layout calls. If there are no payloads\n then {@link #bind(Object)} is called instead. This will only be used if the model is used with\n an {@link EpoxyAdapter}\n // relationship is_reference is_implementation semanticdb maven . . com/airbnb/epoxy/EpoxyModelGroup#bind(+1). // relationship is_reference is_implementation semanticdb maven . . com/airbnb/epoxy/EpoxyModelWithHolder#bind(+1). // ^^^^^^^ reference semanticdb maven maven/androidx.annotation/annotation 1.1.0 androidx/annotation/NonNull# // ^ reference semanticdb maven . . com/airbnb/epoxy/EpoxyModel#[T] // ^^^^ definition local 3 -// documentation ```java\n@NonNull\nT view\n``` +// display_name view +// signature_documentation java @NonNull\nT view +// enclosing_symbol semanticdb maven . . com/airbnb/epoxy/EpoxyModel#bind(+1). // ^^^^^^^ reference semanticdb maven maven/androidx.annotation/annotation 1.1.0 androidx/annotation/NonNull# // ^^^^ reference semanticdb maven jdk 11 java/util/List# // ^^^^^^ reference semanticdb maven jdk 11 java/lang/Object# // ^^^^^^^^ definition local 4 -// documentation ```java\n@NonNull\nList payloads\n``` +// display_name payloads +// signature_documentation java @NonNull\nList payloads +// enclosing_symbol semanticdb maven . . com/airbnb/epoxy/EpoxyModel#bind(+1). bind(view); // ^^^^ reference semanticdb maven . . com/airbnb/epoxy/EpoxyModel#bind(). // ^^^^ reference local 3 @@ -293,18 +343,24 @@ public void bind(@NonNull T view, @NonNull List payloads) { */ public void bind(@NonNull T view, @NonNull EpoxyModel previouslyBoundModel) { // ^^^^ definition semanticdb maven . . com/airbnb/epoxy/EpoxyModel#bind(+2). -// documentation ```java\npublic void bind(T view, EpoxyModel previouslyBoundModel)\n``` +// display_name bind +// signature_documentation java public void bind(T view, EpoxyModel previouslyBoundModel) +// kind Method // documentation Similar to {@link #bind(Object)}, but provides a non null model which was previously bound to\n this view. This will only be called if the model is used with an {@link EpoxyController}.\n\n @param previouslyBoundModel This is a model with the same id that was previously bound. You can\n compare this previous model with the current one to see exactly\n what changed.\n

\n This model and the previously bound model are guaranteed to have\n the same id, but will not necessarily be of the same type depending\n on your implementation of {@link EpoxyController#buildModels()}.\n With common usage patterns of Epoxy they should be the same type,\n and will only differ if you are using different model classes with\n the same id.\n

\n Comparing the newly bound model with the previous model allows you\n to be more intelligent when binding your view. This may help you\n optimize view binding, or make it easier to work with animations.\n

\n If the new model and the previous model have the same view type\n (given by {@link EpoxyModel#getViewType()}), and if you are using\n the default ReyclerView item animator, the same view will be\n reused. This means that you only need to update the view to reflect\n the data that changed. If you are using a custom item animator then\n the view will be the same if the animator returns true in\n canReuseUpdatedViewHolder.\n

\n This previously bound model is taken as a payload from the diffing\n process, and follows the same general conditions for all\n recyclerview change payloads.\n // relationship is_reference is_implementation semanticdb maven . . com/airbnb/epoxy/EpoxyModelGroup#bind(+2). // relationship is_reference is_implementation semanticdb maven . . com/airbnb/epoxy/EpoxyModelWithHolder#bind(+2). // ^^^^^^^ reference semanticdb maven maven/androidx.annotation/annotation 1.1.0 androidx/annotation/NonNull# // ^ reference semanticdb maven . . com/airbnb/epoxy/EpoxyModel#[T] // ^^^^ definition local 5 -// documentation ```java\n@NonNull\nT view\n``` +// display_name view +// signature_documentation java @NonNull\nT view +// enclosing_symbol semanticdb maven . . com/airbnb/epoxy/EpoxyModel#bind(+2). // ^^^^^^^ reference semanticdb maven maven/androidx.annotation/annotation 1.1.0 androidx/annotation/NonNull# // ^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/EpoxyModel# // ^^^^^^^^^^^^^^^^^^^^ definition local 6 -// documentation ```java\n@NonNull\nEpoxyModel previouslyBoundModel\n``` +// display_name previouslyBoundModel +// signature_documentation java @NonNull\nEpoxyModel previouslyBoundModel +// enclosing_symbol semanticdb maven . . com/airbnb/epoxy/EpoxyModel#bind(+2). bind(view); // ^^^^ reference semanticdb maven . . com/airbnb/epoxy/EpoxyModel#bind(). // ^^^^ reference local 5 @@ -322,7 +378,9 @@ public void bind(@NonNull T view, @NonNull EpoxyModel previouslyBoundModel) { */ public void unbind(@NonNull T view) { // ^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/EpoxyModel#unbind(). -// documentation ```java\npublic void unbind(T view)\n``` +// display_name unbind +// signature_documentation java public void unbind(T view) +// kind Method // documentation Called when the view bound to this model is recycled. Subclasses can override this if their\n view should release resources when it's recycled.\n

\n Note that {@link #bind(Object)} can be called multiple times without an unbind call in between\n if the view has remained on screen to be reused across item changes. This means that you should\n not rely on unbind to clear a view or model's state before bind is called again.\n\n @see EpoxyAdapter#onViewRecycled(EpoxyViewHolder)\n // relationship is_reference is_implementation semanticdb maven . . com/airbnb/epoxy/EpoxyModelGroup#unbind(). // relationship is_reference is_implementation semanticdb maven . . com/airbnb/epoxy/EpoxyModelWithHolder#unbind(). @@ -330,7 +388,9 @@ public void unbind(@NonNull T view) { // ^^^^^^^ reference semanticdb maven maven/androidx.annotation/annotation 1.1.0 androidx/annotation/NonNull# // ^ reference semanticdb maven . . com/airbnb/epoxy/EpoxyModel#[T] // ^^^^ definition local 7 -// documentation ```java\n@NonNull\nT view\n``` +// display_name view +// signature_documentation java @NonNull\nT view +// enclosing_symbol semanticdb maven . . com/airbnb/epoxy/EpoxyModel#unbind(). } /** @@ -340,16 +400,22 @@ public void unbind(@NonNull T view) { */ public void onVisibilityStateChanged(@Visibility int visibilityState, @NonNull T view) { // ^^^^^^^^^^^^^^^^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/EpoxyModel#onVisibilityStateChanged(). -// documentation ```java\npublic void onVisibilityStateChanged(int visibilityState, T view)\n``` +// display_name onVisibilityStateChanged +// signature_documentation java public void onVisibilityStateChanged(int visibilityState, T view) +// kind Method // documentation TODO link to the wiki\n\n @see OnVisibilityStateChanged annotation\n // relationship is_reference is_implementation semanticdb maven . . com/airbnb/epoxy/EpoxyModelWithHolder#onVisibilityStateChanged(). // ^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/VisibilityState#Visibility# // ^^^^^^^^^^^^^^^ definition local 8 -// documentation ```java\n@Visibility\nint visibilityState\n``` +// display_name visibilityState +// signature_documentation java @Visibility\nint visibilityState +// enclosing_symbol semanticdb maven . . com/airbnb/epoxy/EpoxyModel#onVisibilityStateChanged(). // ^^^^^^^ reference semanticdb maven maven/androidx.annotation/annotation 1.1.0 androidx/annotation/NonNull# // ^ reference semanticdb maven . . com/airbnb/epoxy/EpoxyModel#[T] // ^^^^ definition local 9 -// documentation ```java\n@NonNull\nT view\n``` +// display_name view +// signature_documentation java @NonNull\nT view +// enclosing_symbol semanticdb maven . . com/airbnb/epoxy/EpoxyModel#onVisibilityStateChanged(). } /** @@ -359,7 +425,9 @@ public void onVisibilityStateChanged(@Visibility int visibilityState, @NonNull T */ public void onVisibilityChanged( // ^^^^^^^^^^^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/EpoxyModel#onVisibilityChanged(). -// documentation ```java\npublic void onVisibilityChanged(float percentVisibleHeight, float percentVisibleWidth, int visibleHeight, int visibleWidth, T view)\n``` +// display_name onVisibilityChanged +// signature_documentation java public void onVisibilityChanged(float percentVisibleHeight, float percentVisibleWidth, int visibleHeight, int visibleWidth, T view) +// kind Method // documentation TODO link to the wiki\n\n @see OnVisibilityChanged annotation\n // relationship is_reference is_implementation semanticdb maven . . com/airbnb/epoxy/EpoxyModelWithHolder#onVisibilityChanged(). @FloatRange(from = 0.0f, to = 100.0f) float percentVisibleHeight, @@ -367,32 +435,44 @@ public void onVisibilityChanged( // ^^^^ reference semanticdb maven maven/androidx.annotation/annotation 1.1.0 androidx/annotation/FloatRange#from(). // ^^ reference semanticdb maven maven/androidx.annotation/annotation 1.1.0 androidx/annotation/FloatRange#to(). // ^^^^^^^^^^^^^^^^^^^^ definition local 10 -// documentation ```java\n@FloatRange(from = 0.0f, to = 100.0f)\nfloat percentVisibleHeight\n``` +// display_name percentVisibleHeight +// signature_documentation java @FloatRange(from = 0.0f, to = 100.0f)\nfloat percentVisibleHeight +// enclosing_symbol semanticdb maven . . com/airbnb/epoxy/EpoxyModel#onVisibilityChanged(). @FloatRange(from = 0.0f, to = 100.0f) float percentVisibleWidth, // ^^^^^^^^^^ reference semanticdb maven maven/androidx.annotation/annotation 1.1.0 androidx/annotation/FloatRange# // ^^^^ reference semanticdb maven maven/androidx.annotation/annotation 1.1.0 androidx/annotation/FloatRange#from(). // ^^ reference semanticdb maven maven/androidx.annotation/annotation 1.1.0 androidx/annotation/FloatRange#to(). // ^^^^^^^^^^^^^^^^^^^ definition local 11 -// documentation ```java\n@FloatRange(from = 0.0f, to = 100.0f)\nfloat percentVisibleWidth\n``` +// display_name percentVisibleWidth +// signature_documentation java @FloatRange(from = 0.0f, to = 100.0f)\nfloat percentVisibleWidth +// enclosing_symbol semanticdb maven . . com/airbnb/epoxy/EpoxyModel#onVisibilityChanged(). @Px int visibleHeight, // ^^ reference semanticdb maven maven/androidx.annotation/annotation 1.1.0 androidx/annotation/Px# // ^^^^^^^^^^^^^ definition local 12 -// documentation ```java\n@Px\nint visibleHeight\n``` +// display_name visibleHeight +// signature_documentation java @Px\nint visibleHeight +// enclosing_symbol semanticdb maven . . com/airbnb/epoxy/EpoxyModel#onVisibilityChanged(). @Px int visibleWidth, // ^^ reference semanticdb maven maven/androidx.annotation/annotation 1.1.0 androidx/annotation/Px# // ^^^^^^^^^^^^ definition local 13 -// documentation ```java\n@Px\nint visibleWidth\n``` +// display_name visibleWidth +// signature_documentation java @Px\nint visibleWidth +// enclosing_symbol semanticdb maven . . com/airbnb/epoxy/EpoxyModel#onVisibilityChanged(). @NonNull T view // ^^^^^^^ reference semanticdb maven maven/androidx.annotation/annotation 1.1.0 androidx/annotation/NonNull# // ^ reference semanticdb maven . . com/airbnb/epoxy/EpoxyModel#[T] // ^^^^ definition local 14 -// documentation ```java\n@NonNull\nT view\n``` +// display_name view +// signature_documentation java @NonNull\nT view +// enclosing_symbol semanticdb maven . . com/airbnb/epoxy/EpoxyModel#onVisibilityChanged(). ) { } public long id() { // ^^ definition semanticdb maven . . com/airbnb/epoxy/EpoxyModel#id(). -// documentation ```java\npublic long id()\n``` +// display_name id +// signature_documentation java public long id() +// kind Method return id; // ^^ reference semanticdb maven . . com/airbnb/epoxy/EpoxyModel#id. } @@ -406,10 +486,14 @@ public EpoxyModel id(long id) { // ^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/EpoxyModel# // ^ reference semanticdb maven . . com/airbnb/epoxy/EpoxyModel#[T] // ^^ definition semanticdb maven . . com/airbnb/epoxy/EpoxyModel#id(+1). -// documentation ```java\npublic EpoxyModel id(long id)\n``` +// display_name id +// signature_documentation java public EpoxyModel id(long id) +// kind Method // documentation Override the default id in cases where the data subject naturally has an id, like an object\n from a database. This id can only be set before the model is added to the adapter, it is an\n error to change the id after that.\n // ^^ definition local 15 -// documentation ```java\nlong id\n``` +// display_name id +// signature_documentation java long id +// enclosing_symbol semanticdb maven . . com/airbnb/epoxy/EpoxyModel#id(+1). if ((addedToAdapter || firstControllerAddedTo != null) && id != this.id) { // ^^^^^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/EpoxyModel#addedToAdapter. // ^^^^^^^^^^^^^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/EpoxyModel#firstControllerAddedTo. @@ -438,22 +522,32 @@ public EpoxyModel id(@Nullable Number... ids) { // ^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/EpoxyModel# // ^ reference semanticdb maven . . com/airbnb/epoxy/EpoxyModel#[T] // ^^ definition semanticdb maven . . com/airbnb/epoxy/EpoxyModel#id(+2). -// documentation ```java\npublic EpoxyModel id(Number[] ids)\n``` +// display_name id +// signature_documentation java public EpoxyModel id(Number[] ids) +// kind Method // documentation Use multiple numbers as the id for this model. Useful when you don't have a single long that\n represents a unique id.\n

\n This hashes the numbers, so there is a tiny risk of collision with other ids.\n // ^^^^^^^^ reference semanticdb maven maven/androidx.annotation/annotation 1.1.0 androidx/annotation/Nullable# // ^^^^^^ reference semanticdb maven jdk 11 java/lang/Number# // ^^^ definition local 16 -// documentation ```java\n@Nullable\nNumber[] ids\n``` +// display_name ids +// signature_documentation java @Nullable\nNumber[] ids +// enclosing_symbol semanticdb maven . . com/airbnb/epoxy/EpoxyModel#id(+2). long result = 0; // ^^^^^^ definition local 17 -// documentation ```java\nlong result\n``` +// display_name result +// signature_documentation java long result +// enclosing_symbol semanticdb maven . . com/airbnb/epoxy/EpoxyModel#id(+2). +// kind Variable if (ids != null) { // ^^^ reference local 16 for (@Nullable Number id : ids) { // ^^^^^^^^ reference semanticdb maven maven/androidx.annotation/annotation 1.1.0 androidx/annotation/Nullable# // ^^^^^^ reference semanticdb maven jdk 11 java/lang/Number# // ^^ definition local 18 -// documentation ```java\n@Nullable\nNumber id\n``` +// display_name id +// signature_documentation java @Nullable\nNumber id +// enclosing_symbol semanticdb maven . . com/airbnb/epoxy/EpoxyModel#id(+2). +// kind Variable // ^^^ reference local 16 result = 31 * result + hashLong64Bit(id == null ? 0 : id.hashCode()); // ^^^^^^ reference local 17 @@ -479,15 +573,24 @@ public EpoxyModel id(long id1, long id2) { // ^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/EpoxyModel# // ^ reference semanticdb maven . . com/airbnb/epoxy/EpoxyModel#[T] // ^^ definition semanticdb maven . . com/airbnb/epoxy/EpoxyModel#id(+3). -// documentation ```java\npublic EpoxyModel id(long id1, long id2)\n``` +// display_name id +// signature_documentation java public EpoxyModel id(long id1, long id2) +// kind Method // documentation Use two numbers as the id for this model. Useful when you don't have a single long that\n represents a unique id.\n

\n This hashes the two numbers, so there is a tiny risk of collision with other ids.\n // ^^^ definition local 19 -// documentation ```java\nlong id1\n``` +// display_name id1 +// signature_documentation java long id1 +// enclosing_symbol semanticdb maven . . com/airbnb/epoxy/EpoxyModel#id(+3). // ^^^ definition local 20 -// documentation ```java\nlong id2\n``` +// display_name id2 +// signature_documentation java long id2 +// enclosing_symbol semanticdb maven . . com/airbnb/epoxy/EpoxyModel#id(+3). long result = hashLong64Bit(id1); // ^^^^^^ definition local 21 -// documentation ```java\nlong result\n``` +// display_name result +// signature_documentation java long result +// enclosing_symbol semanticdb maven . . com/airbnb/epoxy/EpoxyModel#id(+3). +// kind Variable // ^^^^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/IdUtils#hashLong64Bit(). // ^^^ reference local 19 result = 31 * result + hashLong64Bit(id2); @@ -516,12 +619,16 @@ public EpoxyModel id(@Nullable CharSequence key) { // ^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/EpoxyModel# // ^ reference semanticdb maven . . com/airbnb/epoxy/EpoxyModel#[T] // ^^ definition semanticdb maven . . com/airbnb/epoxy/EpoxyModel#id(+4). -// documentation ```java\npublic EpoxyModel id(CharSequence key)\n``` +// display_name id +// signature_documentation java public EpoxyModel id(CharSequence key) +// kind Method // documentation Use a string as the model id. Useful for models that don't clearly map to a numerical id. This\n is preferable to using {@link String#hashCode()} because that is a 32 bit hash and this is a 64\n bit hash, giving better spread and less chance of collision with other ids.\n

\n Since this uses a hashcode method to convert the String to a long there is a very small chance\n that you may have a collision with another id. Assuming an even spread of hashcodes, and\n several hundred models in the adapter, there would be roughly 1 in 100 trillion chance of a\n collision. (http://preshing.com/20110504/hash-collision-probabilities/)\n\n @see IdUtils#hashString64Bit(CharSequence)\n // ^^^^^^^^ reference semanticdb maven maven/androidx.annotation/annotation 1.1.0 androidx/annotation/Nullable# // ^^^^^^^^^^^^ reference semanticdb maven jdk 11 java/lang/CharSequence# // ^^^ definition local 22 -// documentation ```java\n@Nullable\nCharSequence key\n``` +// display_name key +// signature_documentation java @Nullable\nCharSequence key +// enclosing_symbol semanticdb maven . . com/airbnb/epoxy/EpoxyModel#id(+4). id(hashString64Bit(key)); // ^^ reference semanticdb maven . . com/airbnb/epoxy/EpoxyModel#id(+1). // ^^^^^^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/IdUtils#hashString64Bit(). @@ -538,19 +645,28 @@ public EpoxyModel id(@Nullable CharSequence key, @Nullable CharSequence... ot // ^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/EpoxyModel# // ^ reference semanticdb maven . . com/airbnb/epoxy/EpoxyModel#[T] // ^^ definition semanticdb maven . . com/airbnb/epoxy/EpoxyModel#id(+5). -// documentation ```java\npublic EpoxyModel id(CharSequence key, CharSequence[] otherKeys)\n``` +// display_name id +// signature_documentation java public EpoxyModel id(CharSequence key, CharSequence[] otherKeys) +// kind Method // documentation Use several strings to define the id of the model.\n

\n Similar to {@link #id(CharSequence)}, but with additional strings.\n // ^^^^^^^^ reference semanticdb maven maven/androidx.annotation/annotation 1.1.0 androidx/annotation/Nullable# // ^^^^^^^^^^^^ reference semanticdb maven jdk 11 java/lang/CharSequence# // ^^^ definition local 23 -// documentation ```java\n@Nullable\nCharSequence key\n``` +// display_name key +// signature_documentation java @Nullable\nCharSequence key +// enclosing_symbol semanticdb maven . . com/airbnb/epoxy/EpoxyModel#id(+5). // ^^^^^^^^ reference semanticdb maven maven/androidx.annotation/annotation 1.1.0 androidx/annotation/Nullable# // ^^^^^^^^^^^^ reference semanticdb maven jdk 11 java/lang/CharSequence# // ^^^^^^^^^ definition local 24 -// documentation ```java\n@Nullable\nCharSequence[] otherKeys\n``` +// display_name otherKeys +// signature_documentation java @Nullable\nCharSequence[] otherKeys +// enclosing_symbol semanticdb maven . . com/airbnb/epoxy/EpoxyModel#id(+5). long result = hashString64Bit(key); // ^^^^^^ definition local 25 -// documentation ```java\nlong result\n``` +// display_name result +// signature_documentation java long result +// enclosing_symbol semanticdb maven . . com/airbnb/epoxy/EpoxyModel#id(+5). +// kind Variable // ^^^^^^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/IdUtils#hashString64Bit(). // ^^^ reference local 23 if (otherKeys != null) { @@ -558,7 +674,10 @@ public EpoxyModel id(@Nullable CharSequence key, @Nullable CharSequence... ot for (CharSequence otherKey : otherKeys) { // ^^^^^^^^^^^^ reference semanticdb maven jdk 11 java/lang/CharSequence# // ^^^^^^^^ definition local 26 -// documentation ```java\nCharSequence otherKey\n``` +// display_name otherKey +// signature_documentation java CharSequence otherKey +// enclosing_symbol semanticdb maven . . com/airbnb/epoxy/EpoxyModel#id(+5). +// kind Variable // ^^^^^^^^^ reference local 24 result = 31 * result + hashString64Bit(otherKey); // ^^^^^^ reference local 25 @@ -588,17 +707,26 @@ public EpoxyModel id(@Nullable CharSequence key, long id) { // ^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/EpoxyModel# // ^ reference semanticdb maven . . com/airbnb/epoxy/EpoxyModel#[T] // ^^ definition semanticdb maven . . com/airbnb/epoxy/EpoxyModel#id(+6). -// documentation ```java\npublic EpoxyModel id(CharSequence key, long id)\n``` +// display_name id +// signature_documentation java public EpoxyModel id(CharSequence key, long id) +// kind Method // documentation Set an id that is namespaced with a string. This is useful when you need to show models of\n multiple types, side by side and don't want to risk id collisions.\n

\n Since this uses a hashcode method to convert the String to a long there is a very small chance\n that you may have a collision with another id. Assuming an even spread of hashcodes, and\n several hundred models in the adapter, there would be roughly 1 in 100 trillion chance of a\n collision. (http://preshing.com/20110504/hash-collision-probabilities/)\n\n @see IdUtils#hashString64Bit(CharSequence)\n @see IdUtils#hashLong64Bit(long)\n // ^^^^^^^^ reference semanticdb maven maven/androidx.annotation/annotation 1.1.0 androidx/annotation/Nullable# // ^^^^^^^^^^^^ reference semanticdb maven jdk 11 java/lang/CharSequence# // ^^^ definition local 27 -// documentation ```java\n@Nullable\nCharSequence key\n``` +// display_name key +// signature_documentation java @Nullable\nCharSequence key +// enclosing_symbol semanticdb maven . . com/airbnb/epoxy/EpoxyModel#id(+6). // ^^ definition local 28 -// documentation ```java\nlong id\n``` +// display_name id +// signature_documentation java long id +// enclosing_symbol semanticdb maven . . com/airbnb/epoxy/EpoxyModel#id(+6). long result = hashString64Bit(key); // ^^^^^^ definition local 29 -// documentation ```java\nlong result\n``` +// display_name result +// signature_documentation java long result +// enclosing_symbol semanticdb maven . . com/airbnb/epoxy/EpoxyModel#id(+6). +// kind Variable // ^^^^^^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/IdUtils#hashString64Bit(). // ^^^ reference local 27 result = 31 * result + hashLong64Bit(id); @@ -627,7 +755,9 @@ public EpoxyModel id(@Nullable CharSequence key, long id) { // ^^^^^^^^^ reference semanticdb maven maven/androidx.annotation/annotation 1.1.0 androidx/annotation/LayoutRes# protected abstract int getDefaultLayout(); // ^^^^^^^^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/EpoxyModel#getDefaultLayout(). -// documentation ```java\n@LayoutRes\nprotected abstract int getDefaultLayout()\n``` +// display_name getDefaultLayout +// signature_documentation java @LayoutRes\nprotected abstract int getDefaultLayout() +// kind AbstractMethod // documentation Return the default layout resource to be used when creating views for this model. The resource\n will be inflated to create a view for the model; additionally the layout int is used as the\n views type in the RecyclerView.\n

\n This can be left unimplemented if you use the {@link EpoxyModelClass} annotation to define a\n layout.\n

\n This default value can be overridden with {@link #layout(int)} at runtime to change the layout\n dynamically.\n // relationship is_reference is_implementation semanticdb maven . . com/airbnb/epoxy/EpoxyModelGroup#getDefaultLayout(). // relationship is_reference is_implementation semanticdb maven . . com/airbnb/epoxy/EpoxyModelWithView#getDefaultLayout(). @@ -640,11 +770,15 @@ public EpoxyModel layout(@LayoutRes int layoutRes) { // ^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/EpoxyModel# // ^ reference semanticdb maven . . com/airbnb/epoxy/EpoxyModel#[T] // ^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/EpoxyModel#layout(). -// documentation ```java\n@NonNull\npublic EpoxyModel layout(int layoutRes)\n``` +// display_name layout +// signature_documentation java @NonNull\npublic EpoxyModel layout(int layoutRes) +// kind Method // relationship is_reference is_implementation semanticdb maven . . com/airbnb/epoxy/EpoxyModelWithView#layout(). // ^^^^^^^^^ reference semanticdb maven maven/androidx.annotation/annotation 1.1.0 androidx/annotation/LayoutRes# // ^^^^^^^^^ definition local 30 -// documentation ```java\n@LayoutRes\nint layoutRes\n``` +// display_name layoutRes +// signature_documentation java @LayoutRes\nint layoutRes +// enclosing_symbol semanticdb maven . . com/airbnb/epoxy/EpoxyModel#layout(). onMutation(); // ^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/EpoxyModel#onMutation(). layout = layoutRes; @@ -657,7 +791,9 @@ public EpoxyModel layout(@LayoutRes int layoutRes) { // ^^^^^^^^^ reference semanticdb maven maven/androidx.annotation/annotation 1.1.0 androidx/annotation/LayoutRes# public final int getLayout() { // ^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/EpoxyModel#getLayout(). -// documentation ```java\n@LayoutRes\npublic final int getLayout()\n``` +// display_name getLayout +// signature_documentation java @LayoutRes\npublic final int getLayout() +// kind Method if (layout == 0) { // ^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/EpoxyModel#layout. return getDefaultLayout(); @@ -677,7 +813,9 @@ public EpoxyModel reset() { // ^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/EpoxyModel# // ^ reference semanticdb maven . . com/airbnb/epoxy/EpoxyModel#[T] // ^^^^^ definition semanticdb maven . . com/airbnb/epoxy/EpoxyModel#reset(). -// documentation ```java\n@NonNull\npublic EpoxyModel reset()\n``` +// display_name reset +// signature_documentation java @NonNull\npublic EpoxyModel reset() +// kind Method // documentation Sets fields of the model to default ones.\n onMutation(); // ^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/EpoxyModel#onMutation(). @@ -696,12 +834,16 @@ public EpoxyModel reset() { */ public void addTo(@NonNull EpoxyController controller) { // ^^^^^ definition semanticdb maven . . com/airbnb/epoxy/EpoxyModel#addTo(). -// documentation ```java\npublic void addTo(EpoxyController controller)\n``` +// display_name addTo +// signature_documentation java public void addTo(EpoxyController controller) +// kind Method // documentation Add this model to the given controller. Can only be called from inside {@link\n EpoxyController#buildModels()}.\n // ^^^^^^^ reference semanticdb maven maven/androidx.annotation/annotation 1.1.0 androidx/annotation/NonNull# // ^^^^^^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/EpoxyController# // ^^^^^^^^^^ definition local 31 -// documentation ```java\n@NonNull\nEpoxyController controller\n``` +// display_name controller +// signature_documentation java @NonNull\nEpoxyController controller +// enclosing_symbol semanticdb maven . . com/airbnb/epoxy/EpoxyModel#addTo(). controller.addInternal(this); // ^^^^^^^^^^ reference local 31 // ^^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/EpoxyController#addInternal(). @@ -713,14 +855,20 @@ public void addTo(@NonNull EpoxyController controller) { */ public void addIf(boolean condition, @NonNull EpoxyController controller) { // ^^^^^ definition semanticdb maven . . com/airbnb/epoxy/EpoxyModel#addIf(). -// documentation ```java\npublic void addIf(boolean condition, EpoxyController controller)\n``` +// display_name addIf +// signature_documentation java public void addIf(boolean condition, EpoxyController controller) +// kind Method // documentation Add this model to the given controller if the condition is true. Can only be called from inside\n {@link EpoxyController#buildModels()}.\n // ^^^^^^^^^ definition local 32 -// documentation ```java\nboolean condition\n``` +// display_name condition +// signature_documentation java boolean condition +// enclosing_symbol semanticdb maven . . com/airbnb/epoxy/EpoxyModel#addIf(). // ^^^^^^^ reference semanticdb maven maven/androidx.annotation/annotation 1.1.0 androidx/annotation/NonNull# // ^^^^^^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/EpoxyController# // ^^^^^^^^^^ definition local 33 -// documentation ```java\n@NonNull\nEpoxyController controller\n``` +// display_name controller +// signature_documentation java @NonNull\nEpoxyController controller +// enclosing_symbol semanticdb maven . . com/airbnb/epoxy/EpoxyModel#addIf(). if (condition) { // ^^^^^^^^^ reference local 32 addTo(controller); @@ -745,16 +893,22 @@ public void addIf(boolean condition, @NonNull EpoxyController controller) { */ public void addIf(@NonNull AddPredicate predicate, @NonNull EpoxyController controller) { // ^^^^^ definition semanticdb maven . . com/airbnb/epoxy/EpoxyModel#addIf(+1). -// documentation ```java\npublic void addIf(AddPredicate predicate, EpoxyController controller)\n``` +// display_name addIf +// signature_documentation java public void addIf(AddPredicate predicate, EpoxyController controller) +// kind Method // documentation Add this model to the given controller if the {@link AddPredicate} return true. Can only be\n called from inside {@link EpoxyController#buildModels()}.\n // ^^^^^^^ reference semanticdb maven maven/androidx.annotation/annotation 1.1.0 androidx/annotation/NonNull# // ^^^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/EpoxyModel#AddPredicate# // ^^^^^^^^^ definition local 34 -// documentation ```java\n@NonNull\nAddPredicate predicate\n``` +// display_name predicate +// signature_documentation java @NonNull\nAddPredicate predicate +// enclosing_symbol semanticdb maven . . com/airbnb/epoxy/EpoxyModel#addIf(+1). // ^^^^^^^ reference semanticdb maven maven/androidx.annotation/annotation 1.1.0 androidx/annotation/NonNull# // ^^^^^^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/EpoxyController# // ^^^^^^^^^^ definition local 35 -// documentation ```java\n@NonNull\nEpoxyController controller\n``` +// display_name controller +// signature_documentation java @NonNull\nEpoxyController controller +// enclosing_symbol semanticdb maven . . com/airbnb/epoxy/EpoxyModel#addIf(+1). addIf(predicate.addIf(), controller); // ^^^^^ reference semanticdb maven . . com/airbnb/epoxy/EpoxyModel#addIf(). // ^^^^^^^^^ reference local 34 @@ -767,11 +921,15 @@ public void addIf(@NonNull AddPredicate predicate, @NonNull EpoxyController cont */ public interface AddPredicate { // ^^^^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/EpoxyModel#AddPredicate# -// documentation ```java\npublic interface AddPredicate\n``` +// display_name AddPredicate +// signature_documentation java public interface AddPredicate +// kind Interface // documentation @see #addIf(AddPredicate, EpoxyController)\n boolean addIf(); // ^^^^^ definition semanticdb maven . . com/airbnb/epoxy/EpoxyModel#AddPredicate#addIf(). -// documentation ```java\npublic abstract boolean addIf()\n``` +// display_name addIf +// signature_documentation java public abstract boolean addIf() +// kind AbstractMethod } /** @@ -780,12 +938,16 @@ public interface AddPredicate { */ protected final void addWithDebugValidation(@NonNull EpoxyController controller) { // ^^^^^^^^^^^^^^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/EpoxyModel#addWithDebugValidation(). -// documentation ```java\nprotected final void addWithDebugValidation(EpoxyController controller)\n``` +// display_name addWithDebugValidation +// signature_documentation java protected final void addWithDebugValidation(EpoxyController controller) +// kind Method // documentation This is used internally by generated models to turn on validation checking when\n "validateEpoxyModelUsage" is enabled and the model is used with an {@link EpoxyController}.\n // ^^^^^^^ reference semanticdb maven maven/androidx.annotation/annotation 1.1.0 androidx/annotation/NonNull# // ^^^^^^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/EpoxyController# // ^^^^^^^^^^ definition local 36 -// documentation ```java\n@NonNull\nEpoxyController controller\n``` +// display_name controller +// signature_documentation java @NonNull\nEpoxyController controller +// enclosing_symbol semanticdb maven . . com/airbnb/epoxy/EpoxyModel#addWithDebugValidation(). if (controller == null) { // ^^^^^^^^^^ reference local 36 throw new IllegalArgumentException("Controller cannot be null"); @@ -827,11 +989,16 @@ protected final void addWithDebugValidation(@NonNull EpoxyController controller) // ^^^^^^^^ reference semanticdb maven jdk 11 java/lang/Override# public void onInterceptorsStarted(EpoxyController controller) { // ^^^^^^^^^^^^^^^^^^^^^ definition local 38 -// documentation ```java\n@Override\npublic void onInterceptorsStarted(EpoxyController controller)\n``` +// display_name onInterceptorsStarted +// signature_documentation java @Override\npublic void onInterceptorsStarted(EpoxyController controller) +// enclosing_symbol local 37 +// kind Method // relationship is_reference is_implementation semanticdb maven . . com/airbnb/epoxy/EpoxyController#ModelInterceptorCallback#onInterceptorsStarted(). // ^^^^^^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/EpoxyController# // ^^^^^^^^^^ definition local 39 -// documentation ```java\nEpoxyController controller\n``` +// display_name controller +// signature_documentation java EpoxyController controller +// enclosing_symbol local 38 currentlyInInterceptors = true; // ^^^^^^^^^^^^^^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/EpoxyModel#currentlyInInterceptors. } @@ -840,11 +1007,16 @@ public void onInterceptorsStarted(EpoxyController controller) { // ^^^^^^^^ reference semanticdb maven jdk 11 java/lang/Override# public void onInterceptorsFinished(EpoxyController controller) { // ^^^^^^^^^^^^^^^^^^^^^^ definition local 40 -// documentation ```java\n@Override\npublic void onInterceptorsFinished(EpoxyController controller)\n``` +// display_name onInterceptorsFinished +// signature_documentation java @Override\npublic void onInterceptorsFinished(EpoxyController controller) +// enclosing_symbol local 37 +// kind Method // relationship is_reference is_implementation semanticdb maven . . com/airbnb/epoxy/EpoxyController#ModelInterceptorCallback#onInterceptorsFinished(). // ^^^^^^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/EpoxyController# // ^^^^^^^^^^ definition local 41 -// documentation ```java\nEpoxyController controller\n``` +// display_name controller +// signature_documentation java EpoxyController controller +// enclosing_symbol local 40 hashCodeWhenAdded = EpoxyModel.this.hashCode(); // ^^^^^^^^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/EpoxyModel#hashCodeWhenAdded. // ^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/EpoxyModel# @@ -859,7 +1031,9 @@ public void onInterceptorsFinished(EpoxyController controller) { boolean isDebugValidationEnabled() { // ^^^^^^^^^^^^^^^^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/EpoxyModel#isDebugValidationEnabled(). -// documentation ```java\nboolean isDebugValidationEnabled()\n``` +// display_name isDebugValidationEnabled +// signature_documentation java boolean isDebugValidationEnabled() +// kind Method return firstControllerAddedTo != null; // ^^^^^^^^^^^^^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/EpoxyModel#firstControllerAddedTo. } @@ -876,7 +1050,9 @@ boolean isDebugValidationEnabled() { */ protected final void onMutation() { // ^^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/EpoxyModel#onMutation(). -// documentation ```java\nprotected final void onMutation()\n``` +// display_name onMutation +// signature_documentation java protected final void onMutation() +// kind Method // documentation This is used internally by generated models to do validation checking when\n "validateEpoxyModelUsage" is enabled and the model is used with an {@link EpoxyController}.\n This method validates that it is ok to change this model. It is only valid if the model hasn't\n yet been added, or the change is being done from an {@link EpoxyController.Interceptor}\n callback.\n

\n This is also used to stage the model for implicitly adding it, if it is an AutoModel and\n implicit adding is enabled.\n // The model may be added to multiple controllers, in which case if it was already diffed // and added to an adapter in one controller we don't want to even allow interceptors @@ -901,16 +1077,22 @@ protected final void onMutation() { private static int getPosition(@NonNull EpoxyController controller, // ^^^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/EpoxyModel#getPosition(). -// documentation ```java\nprivate static int getPosition(EpoxyController controller, EpoxyModel model)\n``` +// display_name getPosition +// signature_documentation java private static int getPosition(EpoxyController controller, EpoxyModel model) +// kind StaticMethod // ^^^^^^^ reference semanticdb maven maven/androidx.annotation/annotation 1.1.0 androidx/annotation/NonNull# // ^^^^^^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/EpoxyController# // ^^^^^^^^^^ definition local 42 -// documentation ```java\n@NonNull\nEpoxyController controller\n``` +// display_name controller +// signature_documentation java @NonNull\nEpoxyController controller +// enclosing_symbol semanticdb maven . . com/airbnb/epoxy/EpoxyModel#getPosition(). @NonNull EpoxyModel model) { // ^^^^^^^ reference semanticdb maven maven/androidx.annotation/annotation 1.1.0 androidx/annotation/NonNull# // ^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/EpoxyModel# // ^^^^^ definition local 43 -// documentation ```java\n@NonNull\nEpoxyModel model\n``` +// display_name model +// signature_documentation java @NonNull\nEpoxyModel model +// enclosing_symbol semanticdb maven . . com/airbnb/epoxy/EpoxyModel#getPosition(). // If the model was added to multiple controllers, or was removed from the controller and then // modified, this won't be correct. But those should be very rare cases that we don't need to // worry about @@ -941,14 +1123,20 @@ private static int getPosition(@NonNull EpoxyController controller, */ protected final void validateStateHasNotChangedSinceAdded(String descriptionOfChange, // ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/EpoxyModel#validateStateHasNotChangedSinceAdded(). -// documentation ```java\nprotected final void validateStateHasNotChangedSinceAdded(String descriptionOfChange, int modelPosition)\n``` +// display_name validateStateHasNotChangedSinceAdded +// signature_documentation java protected final void validateStateHasNotChangedSinceAdded(String descriptionOfChange, int modelPosition) +// kind Method // documentation This is used internally by generated models to do validation checking when\n "validateEpoxyModelUsage" is enabled and the model is used with a {@link EpoxyController}. This\n method validates that the model's hashCode hasn't been changed since it was added to the\n controller. This is similar to {@link #onMutation()}, but that method is only used for\n specific model changes such as calling a setter. By checking the hashCode, this method allows\n us to catch more subtle changes, such as through setting a field directly or through changing\n an object that is set on the model.\n // ^^^^^^ reference semanticdb maven jdk 11 java/lang/String# // ^^^^^^^^^^^^^^^^^^^ definition local 44 -// documentation ```java\nString descriptionOfChange\n``` +// display_name descriptionOfChange +// signature_documentation java String descriptionOfChange +// enclosing_symbol semanticdb maven . . com/airbnb/epoxy/EpoxyModel#validateStateHasNotChangedSinceAdded(). int modelPosition) { // ^^^^^^^^^^^^^ definition local 45 -// documentation ```java\nint modelPosition\n``` +// display_name modelPosition +// signature_documentation java int modelPosition +// enclosing_symbol semanticdb maven . . com/airbnb/epoxy/EpoxyModel#validateStateHasNotChangedSinceAdded(). if (isDebugValidationEnabled() // ^^^^^^^^^^^^^^^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/EpoxyModel#isDebugValidationEnabled(). && !currentlyInInterceptors @@ -967,13 +1155,17 @@ protected final void validateStateHasNotChangedSinceAdded(String descriptionOfCh // ^^^^^^^^ reference semanticdb maven jdk 11 java/lang/Override# public boolean equals(Object o) { // ^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/EpoxyModel#equals(). -// documentation ```java\n@Override\npublic boolean equals(Object o)\n``` +// display_name equals +// signature_documentation java @Override\npublic boolean equals(Object o) +// kind Method // relationship is_reference is_implementation semanticdb maven . . com/airbnb/epoxy/EpoxyModelGroup#equals(). // relationship is_reference is_implementation semanticdb maven . . com/airbnb/epoxy/SimpleEpoxyModel#equals(). // relationship is_reference is_implementation semanticdb maven jdk 11 java/lang/Object#equals(). // ^^^^^^ reference semanticdb maven jdk 11 java/lang/Object# // ^ definition local 46 -// documentation ```java\nObject o\n``` +// display_name o +// signature_documentation java Object o +// enclosing_symbol semanticdb maven . . com/airbnb/epoxy/EpoxyModel#equals(). if (this == o) { // ^ reference local 46 return true; @@ -987,7 +1179,10 @@ public boolean equals(Object o) { EpoxyModel that = (EpoxyModel) o; // ^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/EpoxyModel# // ^^^^ definition local 47 -// documentation ```java\nEpoxyModel that\n``` +// display_name that +// signature_documentation java EpoxyModel that +// enclosing_symbol semanticdb maven . . com/airbnb/epoxy/EpoxyModel#equals(). +// kind Variable // ^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/EpoxyModel# // ^ reference local 46 @@ -1013,13 +1208,18 @@ public boolean equals(Object o) { // ^^^^^^^^ reference semanticdb maven jdk 11 java/lang/Override# public int hashCode() { // ^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/EpoxyModel#hashCode(). -// documentation ```java\n@Override\npublic int hashCode()\n``` +// display_name hashCode +// signature_documentation java @Override\npublic int hashCode() +// kind Method // relationship is_reference is_implementation semanticdb maven . . com/airbnb/epoxy/EpoxyModelGroup#hashCode(). // relationship is_reference is_implementation semanticdb maven . . com/airbnb/epoxy/SimpleEpoxyModel#hashCode(). // relationship is_reference is_implementation semanticdb maven jdk 11 java/lang/Object#hashCode(). int result = (int) (id ^ (id >>> 32)); // ^^^^^^ definition local 48 -// documentation ```java\nint result\n``` +// display_name result +// signature_documentation java int result +// enclosing_symbol semanticdb maven . . com/airbnb/epoxy/EpoxyModel#hashCode(). +// kind Variable // ^^ reference semanticdb maven . . com/airbnb/epoxy/EpoxyModel#id. // ^^ reference semanticdb maven . . com/airbnb/epoxy/EpoxyModel#id. result = 31 * result + getViewType(); @@ -1044,17 +1244,25 @@ public int hashCode() { */ public int getSpanSize(int totalSpanCount, int position, int itemCount) { // ^^^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/EpoxyModel#getSpanSize(). -// documentation ```java\npublic int getSpanSize(int totalSpanCount, int position, int itemCount)\n``` +// display_name getSpanSize +// signature_documentation java public int getSpanSize(int totalSpanCount, int position, int itemCount) +// kind Method // documentation Subclasses can override this if they want their view to take up more than one span in a grid\n layout.\n\n @param totalSpanCount The number of spans in the grid\n @param position The position of the model\n @param itemCount The total number of items in the adapter\n // relationship is_reference is_implementation semanticdb maven . . com/airbnb/epoxy/EpoxyModelGroup#getSpanSize(). // relationship is_reference is_implementation semanticdb maven . . com/airbnb/epoxy/HiddenEpoxyModel#getSpanSize(). // relationship is_reference is_implementation semanticdb maven . . com/airbnb/epoxy/SimpleEpoxyModel#getSpanSize(). // ^^^^^^^^^^^^^^ definition local 49 -// documentation ```java\nint totalSpanCount\n``` +// display_name totalSpanCount +// signature_documentation java int totalSpanCount +// enclosing_symbol semanticdb maven . . com/airbnb/epoxy/EpoxyModel#getSpanSize(). // ^^^^^^^^ definition local 50 -// documentation ```java\nint position\n``` +// display_name position +// signature_documentation java int position +// enclosing_symbol semanticdb maven . . com/airbnb/epoxy/EpoxyModel#getSpanSize(). // ^^^^^^^^^ definition local 51 -// documentation ```java\nint itemCount\n``` +// display_name itemCount +// signature_documentation java int itemCount +// enclosing_symbol semanticdb maven . . com/airbnb/epoxy/EpoxyModel#getSpanSize(). return 1; } @@ -1062,11 +1270,15 @@ public EpoxyModel spanSizeOverride(@Nullable SpanSizeOverrideCallback spanSiz // ^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/EpoxyModel# // ^ reference semanticdb maven . . com/airbnb/epoxy/EpoxyModel#[T] // ^^^^^^^^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/EpoxyModel#spanSizeOverride(). -// documentation ```java\npublic EpoxyModel spanSizeOverride(SpanSizeOverrideCallback spanSizeCallback)\n``` +// display_name spanSizeOverride +// signature_documentation java public EpoxyModel spanSizeOverride(SpanSizeOverrideCallback spanSizeCallback) +// kind Method // ^^^^^^^^ reference semanticdb maven maven/androidx.annotation/annotation 1.1.0 androidx/annotation/Nullable# // ^^^^^^^^^^^^^^^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/EpoxyModel#SpanSizeOverrideCallback# // ^^^^^^^^^^^^^^^^ definition local 52 -// documentation ```java\n@Nullable\nSpanSizeOverrideCallback spanSizeCallback\n``` +// display_name spanSizeCallback +// signature_documentation java @Nullable\nSpanSizeOverrideCallback spanSizeCallback +// enclosing_symbol semanticdb maven . . com/airbnb/epoxy/EpoxyModel#spanSizeOverride(). this.spanSizeOverride = spanSizeCallback; // ^^^^^^^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/EpoxyModel#spanSizeOverride. // ^^^^^^^^^^^^^^^^ reference local 52 @@ -1075,16 +1287,26 @@ public EpoxyModel spanSizeOverride(@Nullable SpanSizeOverrideCallback spanSiz public interface SpanSizeOverrideCallback { // ^^^^^^^^^^^^^^^^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/EpoxyModel#SpanSizeOverrideCallback# -// documentation ```java\npublic interface SpanSizeOverrideCallback\n``` +// display_name SpanSizeOverrideCallback +// signature_documentation java public interface SpanSizeOverrideCallback +// kind Interface int getSpanSize(int totalSpanCount, int position, int itemCount); // ^^^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/EpoxyModel#SpanSizeOverrideCallback#getSpanSize(). -// documentation ```java\npublic abstract int getSpanSize(int totalSpanCount, int position, int itemCount)\n``` +// display_name getSpanSize +// signature_documentation java public abstract int getSpanSize(int totalSpanCount, int position, int itemCount) +// kind AbstractMethod // ^^^^^^^^^^^^^^ definition local 53 -// documentation ```java\nint totalSpanCount\n``` +// display_name totalSpanCount +// signature_documentation java int totalSpanCount +// enclosing_symbol semanticdb maven . . com/airbnb/epoxy/EpoxyModel#SpanSizeOverrideCallback#getSpanSize(). // ^^^^^^^^ definition local 54 -// documentation ```java\nint position\n``` +// display_name position +// signature_documentation java int position +// enclosing_symbol semanticdb maven . . com/airbnb/epoxy/EpoxyModel#SpanSizeOverrideCallback#getSpanSize(). // ^^^^^^^^^ definition local 55 -// documentation ```java\nint itemCount\n``` +// display_name itemCount +// signature_documentation java int itemCount +// enclosing_symbol semanticdb maven . . com/airbnb/epoxy/EpoxyModel#SpanSizeOverrideCallback#getSpanSize(). } /** @@ -1093,14 +1315,22 @@ public interface SpanSizeOverrideCallback { */ public final int spanSize(int totalSpanCount, int position, int itemCount) { // ^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/EpoxyModel#spanSize(). -// documentation ```java\npublic final int spanSize(int totalSpanCount, int position, int itemCount)\n``` +// display_name spanSize +// signature_documentation java public final int spanSize(int totalSpanCount, int position, int itemCount) +// kind Method // documentation Returns the actual span size of this model, using the {@link SpanSizeOverrideCallback} if one\n was set, otherwise using the value from {@link #getSpanSize(int, int, int)}\n // ^^^^^^^^^^^^^^ definition local 56 -// documentation ```java\nint totalSpanCount\n``` +// display_name totalSpanCount +// signature_documentation java int totalSpanCount +// enclosing_symbol semanticdb maven . . com/airbnb/epoxy/EpoxyModel#spanSize(). // ^^^^^^^^ definition local 57 -// documentation ```java\nint position\n``` +// display_name position +// signature_documentation java int position +// enclosing_symbol semanticdb maven . . com/airbnb/epoxy/EpoxyModel#spanSize(). // ^^^^^^^^^ definition local 58 -// documentation ```java\nint itemCount\n``` +// display_name itemCount +// signature_documentation java int itemCount +// enclosing_symbol semanticdb maven . . com/airbnb/epoxy/EpoxyModel#spanSize(). if (spanSizeOverride != null) { // ^^^^^^^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/EpoxyModel#spanSizeOverride. return spanSizeOverride.getSpanSize(totalSpanCount, position, itemCount); @@ -1129,7 +1359,9 @@ public EpoxyModel show() { // ^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/EpoxyModel# // ^ reference semanticdb maven . . com/airbnb/epoxy/EpoxyModel#[T] // ^^^^ definition semanticdb maven . . com/airbnb/epoxy/EpoxyModel#show(). -// documentation ```java\n@NonNull\npublic EpoxyModel show()\n``` +// display_name show +// signature_documentation java @NonNull\npublic EpoxyModel show() +// kind Method // documentation Change the visibility of the model so that it's view is shown. This only works if the model is\n used in {@link EpoxyAdapter} or a {@link EpoxyModelGroup}, but is not supported in {@link\n EpoxyController}\n return show(true); // ^^^^ reference semanticdb maven . . com/airbnb/epoxy/EpoxyModel#show(+1). @@ -1146,10 +1378,14 @@ public EpoxyModel show(boolean show) { // ^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/EpoxyModel# // ^ reference semanticdb maven . . com/airbnb/epoxy/EpoxyModel#[T] // ^^^^ definition semanticdb maven . . com/airbnb/epoxy/EpoxyModel#show(+1). -// documentation ```java\n@NonNull\npublic EpoxyModel show(boolean show)\n``` +// display_name show +// signature_documentation java @NonNull\npublic EpoxyModel show(boolean show) +// kind Method // documentation Change the visibility of the model's view. This only works if the model is\n used in {@link EpoxyAdapter} or a {@link EpoxyModelGroup}, but is not supported in {@link\n EpoxyController}\n // ^^^^ definition local 59 -// documentation ```java\nboolean show\n``` +// display_name show +// signature_documentation java boolean show +// enclosing_symbol semanticdb maven . . com/airbnb/epoxy/EpoxyModel#show(+1). onMutation(); // ^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/EpoxyModel#onMutation(). shown = show; @@ -1169,7 +1405,9 @@ public EpoxyModel hide() { // ^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/EpoxyModel# // ^ reference semanticdb maven . . com/airbnb/epoxy/EpoxyModel#[T] // ^^^^ definition semanticdb maven . . com/airbnb/epoxy/EpoxyModel#hide(). -// documentation ```java\n@NonNull\npublic EpoxyModel hide()\n``` +// display_name hide +// signature_documentation java @NonNull\npublic EpoxyModel hide() +// kind Method // documentation Change the visibility of the model so that it's view is hidden. This only works if the model is\n used in {@link EpoxyAdapter} or a {@link EpoxyModelGroup}, but is not supported in {@link\n EpoxyController}\n return show(false); // ^^^^ reference semanticdb maven . . com/airbnb/epoxy/EpoxyModel#show(+1). @@ -1181,7 +1419,9 @@ public EpoxyModel hide() { */ public boolean isShown() { // ^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/EpoxyModel#isShown(). -// documentation ```java\npublic boolean isShown()\n``` +// display_name isShown +// signature_documentation java public boolean isShown() +// kind Method // documentation Whether the model's view should be shown on screen. If false it won't be inflated and drawn,\n and will be like it was never added to the recycler view.\n return shown; // ^^^^^ reference semanticdb maven . . com/airbnb/epoxy/EpoxyModel#shown. @@ -1192,7 +1432,9 @@ public boolean isShown() { */ public boolean shouldSaveViewState() { // ^^^^^^^^^^^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/EpoxyModel#shouldSaveViewState(). -// documentation ```java\npublic boolean shouldSaveViewState()\n``` +// display_name shouldSaveViewState +// signature_documentation java public boolean shouldSaveViewState() +// kind Method // documentation Whether the adapter should save the state of the view bound to this model.\n // relationship is_reference is_implementation semanticdb maven . . com/airbnb/epoxy/EpoxyModelGroup#shouldSaveViewState(+1). return false; @@ -1209,13 +1451,17 @@ public boolean shouldSaveViewState() { */ public boolean onFailedToRecycleView(@NonNull T view) { // ^^^^^^^^^^^^^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/EpoxyModel#onFailedToRecycleView(). -// documentation ```java\npublic boolean onFailedToRecycleView(T view)\n``` +// display_name onFailedToRecycleView +// signature_documentation java public boolean onFailedToRecycleView(T view) +// kind Method // documentation Called if the RecyclerView failed to recycle this model's view. You can take this opportunity\n to clear the animation(s) that affect the View's transient state and return true\n so that the View can be recycled. Keep in mind that the View in question is already removed\n from the RecyclerView.\n\n @return True if the View should be recycled, false otherwise\n @see EpoxyAdapter#onFailedToRecycleView(androidx.recyclerview.widget.RecyclerView.ViewHolder)\n // relationship is_reference is_implementation semanticdb maven . . com/airbnb/epoxy/EpoxyModelWithHolder#onFailedToRecycleView(). // ^^^^^^^ reference semanticdb maven maven/androidx.annotation/annotation 1.1.0 androidx/annotation/NonNull# // ^ reference semanticdb maven . . com/airbnb/epoxy/EpoxyModel#[T] // ^^^^ definition local 60 -// documentation ```java\n@NonNull\nT view\n``` +// display_name view +// signature_documentation java @NonNull\nT view +// enclosing_symbol semanticdb maven . . com/airbnb/epoxy/EpoxyModel#onFailedToRecycleView(). return false; } @@ -1226,14 +1472,18 @@ public boolean onFailedToRecycleView(@NonNull T view) { */ public void onViewAttachedToWindow(@NonNull T view) { // ^^^^^^^^^^^^^^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/EpoxyModel#onViewAttachedToWindow(). -// documentation ```java\npublic void onViewAttachedToWindow(T view)\n``` +// display_name onViewAttachedToWindow +// signature_documentation java public void onViewAttachedToWindow(T view) +// kind Method // documentation Called when this model's view is attached to the window.\n\n @see EpoxyAdapter#onViewAttachedToWindow(androidx.recyclerview.widget.RecyclerView.ViewHolder)\n // relationship is_reference is_implementation semanticdb maven . . com/airbnb/epoxy/EpoxyModelGroup#onViewAttachedToWindow(). // relationship is_reference is_implementation semanticdb maven . . com/airbnb/epoxy/EpoxyModelWithHolder#onViewAttachedToWindow(). // ^^^^^^^ reference semanticdb maven maven/androidx.annotation/annotation 1.1.0 androidx/annotation/NonNull# // ^ reference semanticdb maven . . com/airbnb/epoxy/EpoxyModel#[T] // ^^^^ definition local 61 -// documentation ```java\n@NonNull\nT view\n``` +// display_name view +// signature_documentation java @NonNull\nT view +// enclosing_symbol semanticdb maven . . com/airbnb/epoxy/EpoxyModel#onViewAttachedToWindow(). } @@ -1245,14 +1495,18 @@ public void onViewAttachedToWindow(@NonNull T view) { */ public void onViewDetachedFromWindow(@NonNull T view) { // ^^^^^^^^^^^^^^^^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/EpoxyModel#onViewDetachedFromWindow(). -// documentation ```java\npublic void onViewDetachedFromWindow(T view)\n``` +// display_name onViewDetachedFromWindow +// signature_documentation java public void onViewDetachedFromWindow(T view) +// kind Method // documentation Called when this model's view is detached from the the window.\n\n @see EpoxyAdapter#onViewDetachedFromWindow(androidx.recyclerview.widget.RecyclerView\n .ViewHolder)\n // relationship is_reference is_implementation semanticdb maven . . com/airbnb/epoxy/EpoxyModelGroup#onViewDetachedFromWindow(). // relationship is_reference is_implementation semanticdb maven . . com/airbnb/epoxy/EpoxyModelWithHolder#onViewDetachedFromWindow(). // ^^^^^^^ reference semanticdb maven maven/androidx.annotation/annotation 1.1.0 androidx/annotation/NonNull# // ^ reference semanticdb maven . . com/airbnb/epoxy/EpoxyModel#[T] // ^^^^ definition local 62 -// documentation ```java\n@NonNull\nT view\n``` +// display_name view +// signature_documentation java @NonNull\nT view +// enclosing_symbol semanticdb maven . . com/airbnb/epoxy/EpoxyModel#onViewDetachedFromWindow(). } @@ -1261,7 +1515,9 @@ public void onViewDetachedFromWindow(@NonNull T view) { public String toString() { // ^^^^^^ reference semanticdb maven jdk 11 java/lang/String# // ^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/EpoxyModel#toString(). -// documentation ```java\n@Override\npublic String toString()\n``` +// display_name toString +// signature_documentation java @Override\npublic String toString() +// kind Method // relationship is_reference is_implementation semanticdb maven jdk 11 java/lang/Object#toString(). return getClass().getSimpleName() + "{" // ^^^^^^^^ reference semanticdb maven jdk 11 java/lang/Object#getClass(). diff --git a/tests/snapshots/src/main/generated/com/airbnb/epoxy/EpoxyModelGroup.java b/tests/snapshots/src/main/generated/com/airbnb/epoxy/EpoxyModelGroup.java index e6e5691bd..bf981263b 100644 --- a/tests/snapshots/src/main/generated/com/airbnb/epoxy/EpoxyModelGroup.java +++ b/tests/snapshots/src/main/generated/com/airbnb/epoxy/EpoxyModelGroup.java @@ -98,7 +98,9 @@ //^^^^^^^^^^^^^^^ reference semanticdb maven jdk 11 java/lang/SuppressWarnings# public class EpoxyModelGroup extends EpoxyModelWithHolder { // ^^^^^^^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/EpoxyModelGroup# -// documentation ```java\n@SuppressWarnings("rawtypes")\npublic class EpoxyModelGroup\n``` +// display_name EpoxyModelGroup +// signature_documentation java @SuppressWarnings("rawtypes")\npublic class EpoxyModelGroup +// kind Class // documentation An {@link EpoxyModel} that contains other models, and allows you to combine those models in\n whatever view configuration you want.\n

\n The constructors take a list of models and a layout resource. The layout must have a viewgroup as\n its top level view; it determines how the view of each model is laid out. There are two ways to\n specify this\n

\n 1. Leave the viewgroup empty. The view for each model will be inflated and added in order. This\n works fine if you don't need to include any other views, your model views don't need their layout\n params changed, and your views don't need ids (eg for saving state).\n

\n Alternatively you can have nested view groups, with the innermost viewgroup given the id\n "epoxy_model_group_child_container" to mark it as the viewgroup that should have the model views\n added to it. The viewgroup marked with this id should be empty. This allows you to nest\n viewgroups, such as a LinearLayout inside of a CardView.\n

\n 2. Include a {@link ViewStub} for each of the models in the list. There should be at least as\n many view stubs as models. Extra stubs will be ignored. Each model will have its view replace the\n stub in order of the view stub's position in the view group. That is, the view group's children\n will be iterated through in order. The first view stub found will be used for the first model in\n the models list, the second view stub will be used for the second model, and so on. A depth first\n recursive search through nested viewgroups is done to find these viewstubs.\n

\n The layout can be of any ViewGroup subclass, and can have arbitrary other child views besides the\n view stubs. It can arrange the views and view stubs however is needed.\n

\n Any layout param options set on the view stubs will be transferred to the corresponding model\n view by default. If you want a model to keep the layout params from it's own layout resource you\n can override {@link #useViewStubLayoutParams(EpoxyModel, int)}\n

\n If you want to override the id used for a model's view you can set {@link\n ViewStub#setInflatedId(int)} via xml. That id will be transferred over to the view taking that\n stub's place. This is necessary if you want your model to save view state, since without this the\n model's view won't have an id to associate the saved state with.\n

\n By default this model inherits the same id as the first model in the list. Call {@link #id(long)}\n to override that if needed.\n

\n When a model group is recycled, its child views are automatically recycled to a pool that is\n shared with all other model groups in the activity. This enables model groups to more efficiently\n manage their children. The shared pool is cleaned up when the activity is destroyed.\n // relationship is_implementation semanticdb maven . . com/airbnb/epoxy/EpoxyModel# // relationship is_implementation semanticdb maven . . com/airbnb/epoxy/EpoxyModelWithHolder# @@ -109,18 +111,24 @@ public class EpoxyModelGroup extends EpoxyModelWithHolder { // ^^^^ reference semanticdb maven jdk 11 java/util/List# // ^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/EpoxyModel# // ^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/EpoxyModelGroup#models. -// documentation ```java\nprotected final List> models\n``` +// display_name models +// signature_documentation java protected final List> models +// kind Field private boolean shouldSaveViewStateDefault = false; // ^^^^^^^^^^^^^^^^^^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/EpoxyModelGroup#shouldSaveViewStateDefault. -// documentation ```java\nprivate boolean shouldSaveViewStateDefault\n``` +// display_name shouldSaveViewStateDefault +// signature_documentation java private boolean shouldSaveViewStateDefault +// kind Field @Nullable // ^^^^^^^^ reference semanticdb maven maven/androidx.annotation/annotation 1.1.0 androidx/annotation/Nullable# private Boolean shouldSaveViewState = null; // ^^^^^^^ reference semanticdb maven jdk 11 java/lang/Boolean# // ^^^^^^^^^^^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/EpoxyModelGroup#shouldSaveViewState. -// documentation ```java\n@Nullable\nprivate Boolean shouldSaveViewState\n``` +// display_name shouldSaveViewState +// signature_documentation java @Nullable\nprivate Boolean shouldSaveViewState +// kind Field /** * @param layoutRes The layout to use with these models. @@ -128,15 +136,21 @@ public class EpoxyModelGroup extends EpoxyModelWithHolder { */ public EpoxyModelGroup(@LayoutRes int layoutRes, Collection> models) { // ^^^^^^^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/EpoxyModelGroup#``(). -// documentation ```java\npublic EpoxyModelGroup(int layoutRes, Collection> models)\n``` +// display_name +// signature_documentation java public EpoxyModelGroup(int layoutRes, Collection> models) +// kind Constructor // documentation @param layoutRes The layout to use with these models.\n @param models The models that will be used to bind the views in the given layout.\n // ^^^^^^^^^ reference semanticdb maven maven/androidx.annotation/annotation 1.1.0 androidx/annotation/LayoutRes# // ^^^^^^^^^ definition local 0 -// documentation ```java\n@LayoutRes\nint layoutRes\n``` +// display_name layoutRes +// signature_documentation java @LayoutRes\nint layoutRes +// enclosing_symbol semanticdb maven . . com/airbnb/epoxy/EpoxyModelGroup#``(). // ^^^^^^^^^^ reference semanticdb maven jdk 11 java/util/Collection# // ^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/EpoxyModel# // ^^^^^^ definition local 1 -// documentation ```java\nCollection> models\n``` +// display_name models +// signature_documentation java Collection> models +// enclosing_symbol semanticdb maven . . com/airbnb/epoxy/EpoxyModelGroup#``(). this(layoutRes, new ArrayList<>(models)); // ^^^^ reference semanticdb maven . . com/airbnb/epoxy/EpoxyModelGroup#``(+2). // ^^^^^^^^^ reference local 0 @@ -150,14 +164,20 @@ public EpoxyModelGroup(@LayoutRes int layoutRes, Collection... models) { // ^^^^^^^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/EpoxyModelGroup#``(+1). -// documentation ```java\npublic EpoxyModelGroup(int layoutRes, EpoxyModel[] models)\n``` +// display_name +// signature_documentation java public EpoxyModelGroup(int layoutRes, EpoxyModel[] models) +// kind Constructor // documentation @param layoutRes The layout to use with these models.\n @param models The models that will be used to bind the views in the given layout.\n // ^^^^^^^^^ reference semanticdb maven maven/androidx.annotation/annotation 1.1.0 androidx/annotation/LayoutRes# // ^^^^^^^^^ definition local 2 -// documentation ```java\n@LayoutRes\nint layoutRes\n``` +// display_name layoutRes +// signature_documentation java @LayoutRes\nint layoutRes +// enclosing_symbol semanticdb maven . . com/airbnb/epoxy/EpoxyModelGroup#``(+1). // ^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/EpoxyModel# // ^^^^^^ definition local 3 -// documentation ```java\nEpoxyModel[] models\n``` +// display_name models +// signature_documentation java EpoxyModel[] models +// enclosing_symbol semanticdb maven . . com/airbnb/epoxy/EpoxyModelGroup#``(+1). this(layoutRes, new ArrayList<>(Arrays.asList(models))); // ^^^^ reference semanticdb maven . . com/airbnb/epoxy/EpoxyModelGroup#``(+2). // ^^^^^^^^^ reference local 2 @@ -173,15 +193,21 @@ public EpoxyModelGroup(@LayoutRes int layoutRes, EpoxyModel... models) { */ private EpoxyModelGroup(@LayoutRes int layoutRes, List> models) { // ^^^^^^^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/EpoxyModelGroup#``(+2). -// documentation ```java\nprivate EpoxyModelGroup(int layoutRes, List> models)\n``` +// display_name +// signature_documentation java private EpoxyModelGroup(int layoutRes, List> models) +// kind Constructor // documentation @param layoutRes The layout to use with these models.\n @param models The models that will be used to bind the views in the given layout.\n // ^^^^^^^^^ reference semanticdb maven maven/androidx.annotation/annotation 1.1.0 androidx/annotation/LayoutRes# // ^^^^^^^^^ definition local 4 -// documentation ```java\n@LayoutRes\nint layoutRes\n``` +// display_name layoutRes +// signature_documentation java @LayoutRes\nint layoutRes +// enclosing_symbol semanticdb maven . . com/airbnb/epoxy/EpoxyModelGroup#``(+2). // ^^^^ reference semanticdb maven jdk 11 java/util/List# // ^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/EpoxyModel# // ^^^^^^ definition local 5 -// documentation ```java\nList> models\n``` +// display_name models +// signature_documentation java List> models +// enclosing_symbol semanticdb maven . . com/airbnb/epoxy/EpoxyModelGroup#``(+2). if (models.isEmpty()) { // ^^^^^^ reference local 5 // ^^^^^^^ reference semanticdb maven jdk 11 java/util/List#isEmpty(). @@ -203,11 +229,17 @@ private EpoxyModelGroup(@LayoutRes int layoutRes, List> models) { boolean saveState = false; // ^^^^^^^^^ definition local 6 -// documentation ```java\nboolean saveState\n``` +// display_name saveState +// signature_documentation java boolean saveState +// enclosing_symbol semanticdb maven . . com/airbnb/epoxy/EpoxyModelGroup#``(+2). +// kind Variable for (EpoxyModel model : models) { // ^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/EpoxyModel# // ^^^^^ definition local 7 -// documentation ```java\nEpoxyModel model\n``` +// display_name model +// signature_documentation java EpoxyModel model +// enclosing_symbol semanticdb maven . . com/airbnb/epoxy/EpoxyModelGroup#``(+2). +// kind Variable // ^^^^^^ reference local 5 if (model.shouldSaveViewState()) { // ^^^^^ reference local 7 @@ -228,7 +260,9 @@ private EpoxyModelGroup(@LayoutRes int layoutRes, List> models) { */ protected EpoxyModelGroup() { // ^^^^^^^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/EpoxyModelGroup#``(+3). -// documentation ```java\nprotected EpoxyModelGroup()\n``` +// display_name +// signature_documentation java protected EpoxyModelGroup() +// kind Constructor // documentation Constructor use for DSL\n models = new ArrayList<>(); // ^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/EpoxyModelGroup#models. @@ -242,11 +276,15 @@ protected EpoxyModelGroup() { */ protected EpoxyModelGroup(@LayoutRes int layoutRes) { // ^^^^^^^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/EpoxyModelGroup#``(+4). -// documentation ```java\nprotected EpoxyModelGroup(int layoutRes)\n``` +// display_name +// signature_documentation java protected EpoxyModelGroup(int layoutRes) +// kind Constructor // documentation Constructor use for DSL\n // ^^^^^^^^^ reference semanticdb maven maven/androidx.annotation/annotation 1.1.0 androidx/annotation/LayoutRes# // ^^^^^^^^^ definition local 8 -// documentation ```java\n@LayoutRes\nint layoutRes\n``` +// display_name layoutRes +// signature_documentation java @LayoutRes\nint layoutRes +// enclosing_symbol semanticdb maven . . com/airbnb/epoxy/EpoxyModelGroup#``(+4). this(); // ^^^^ reference semanticdb maven . . com/airbnb/epoxy/EpoxyModelGroup#``(+3). layout(layoutRes); @@ -256,11 +294,15 @@ protected EpoxyModelGroup(@LayoutRes int layoutRes) { protected void addModel(@NonNull EpoxyModel model) { // ^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/EpoxyModelGroup#addModel(). -// documentation ```java\nprotected void addModel(EpoxyModel model)\n``` +// display_name addModel +// signature_documentation java protected void addModel(EpoxyModel model) +// kind Method // ^^^^^^^ reference semanticdb maven maven/androidx.annotation/annotation 1.1.0 androidx/annotation/NonNull# // ^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/EpoxyModel# // ^^^^^ definition local 9 -// documentation ```java\n@NonNull\nEpoxyModel model\n``` +// display_name model +// signature_documentation java @NonNull\nEpoxyModel model +// enclosing_symbol semanticdb maven . . com/airbnb/epoxy/EpoxyModelGroup#addModel(). // By default we save view state if any of the models need to save state. shouldSaveViewStateDefault |= model.shouldSaveViewState(); // ^^^^^^^^^^^^^^^^^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/EpoxyModelGroup#shouldSaveViewStateDefault. @@ -278,13 +320,17 @@ protected void addModel(@NonNull EpoxyModel model) { // ^^^^^^^^ reference semanticdb maven jdk 11 java/lang/Override# public void bind(@NonNull ModelGroupHolder holder) { // ^^^^ definition semanticdb maven . . com/airbnb/epoxy/EpoxyModelGroup#bind(). -// documentation ```java\n@CallSuper\n@Override\npublic void bind(unresolved_type holder)\n``` +// display_name bind +// signature_documentation java @CallSuper\n@Override\npublic void bind(unresolved_type holder) +// kind Method // relationship is_reference is_implementation semanticdb maven . . com/airbnb/epoxy/EpoxyModel#bind(). // relationship is_reference is_implementation semanticdb maven . . com/airbnb/epoxy/EpoxyModelWithHolder#bind(). // ^^^^^^^ reference semanticdb maven maven/androidx.annotation/annotation 1.1.0 androidx/annotation/NonNull# // ^^^^^^^^^^^^^^^^ reference semanticdb maven . . ModelGroupHolder# // ^^^^^^ definition local 10 -// documentation ```java\n@NonNull\nunresolved_type holder\n``` +// display_name holder +// signature_documentation java @NonNull\nunresolved_type holder +// enclosing_symbol semanticdb maven . . com/airbnb/epoxy/EpoxyModelGroup#bind(). iterateModels(holder, new IterateModelsCallback() { // ^^^^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/EpoxyModelGroup#iterateModels(). // ^^^^^^ reference local 10 @@ -293,16 +339,25 @@ public void bind(@NonNull ModelGroupHolder holder) { // ^^^^^^^^ reference semanticdb maven jdk 11 java/lang/Override# public void onModel(EpoxyModel model, EpoxyViewHolder viewHolder, int modelIndex) { // ^^^^^^^ definition local 12 -// documentation ```java\n@Override\npublic void onModel(EpoxyModel model, EpoxyViewHolder viewHolder, int modelIndex)\n``` +// display_name onModel +// signature_documentation java @Override\npublic void onModel(EpoxyModel model, EpoxyViewHolder viewHolder, int modelIndex) +// enclosing_symbol local 11 +// kind Method // relationship is_reference is_implementation semanticdb maven . . com/airbnb/epoxy/EpoxyModelGroup#IterateModelsCallback#onModel(). // ^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/EpoxyModel# // ^^^^^ definition local 13 -// documentation ```java\nEpoxyModel model\n``` +// display_name model +// signature_documentation java EpoxyModel model +// enclosing_symbol local 12 // ^^^^^^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/EpoxyViewHolder# // ^^^^^^^^^^ definition local 14 -// documentation ```java\nEpoxyViewHolder viewHolder\n``` +// display_name viewHolder +// signature_documentation java EpoxyViewHolder viewHolder +// enclosing_symbol local 12 // ^^^^^^^^^^ definition local 15 -// documentation ```java\nint modelIndex\n``` +// display_name modelIndex +// signature_documentation java int modelIndex +// enclosing_symbol local 12 setViewVisibility(model, viewHolder); // ^^^^^^^^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/EpoxyModelGroup#setViewVisibility(). // ^^^^^ reference local 13 @@ -324,18 +379,24 @@ public void onModel(EpoxyModel model, EpoxyViewHolder viewHolder, int modelIndex // ^^^^^^^^ reference semanticdb maven jdk 11 java/lang/Override# public void bind(@NonNull ModelGroupHolder holder, @NonNull final List payloads) { // ^^^^ definition semanticdb maven . . com/airbnb/epoxy/EpoxyModelGroup#bind(+1). -// documentation ```java\n@CallSuper\n@Override\npublic void bind(unresolved_type holder, List payloads)\n``` +// display_name bind +// signature_documentation java @CallSuper\n@Override\npublic void bind(unresolved_type holder, List payloads) +// kind Method // relationship is_reference is_implementation semanticdb maven . . com/airbnb/epoxy/EpoxyModel#bind(+1). // relationship is_reference is_implementation semanticdb maven . . com/airbnb/epoxy/EpoxyModelWithHolder#bind(+1). // ^^^^^^^ reference semanticdb maven maven/androidx.annotation/annotation 1.1.0 androidx/annotation/NonNull# // ^^^^^^^^^^^^^^^^ reference semanticdb maven . . ModelGroupHolder# // ^^^^^^ definition local 16 -// documentation ```java\n@NonNull\nunresolved_type holder\n``` +// display_name holder +// signature_documentation java @NonNull\nunresolved_type holder +// enclosing_symbol semanticdb maven . . com/airbnb/epoxy/EpoxyModelGroup#bind(+1). // ^^^^^^^ reference semanticdb maven maven/androidx.annotation/annotation 1.1.0 androidx/annotation/NonNull# // ^^^^ reference semanticdb maven jdk 11 java/util/List# // ^^^^^^ reference semanticdb maven jdk 11 java/lang/Object# // ^^^^^^^^ definition local 17 -// documentation ```java\n@NonNull\nfinal List payloads\n``` +// display_name payloads +// signature_documentation java @NonNull\nfinal List payloads +// enclosing_symbol semanticdb maven . . com/airbnb/epoxy/EpoxyModelGroup#bind(+1). iterateModels(holder, new IterateModelsCallback() { // ^^^^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/EpoxyModelGroup#iterateModels(). // ^^^^^^ reference local 16 @@ -344,16 +405,25 @@ public void bind(@NonNull ModelGroupHolder holder, @NonNull final List p // ^^^^^^^^ reference semanticdb maven jdk 11 java/lang/Override# public void onModel(EpoxyModel model, EpoxyViewHolder viewHolder, int modelIndex) { // ^^^^^^^ definition local 19 -// documentation ```java\n@Override\npublic void onModel(EpoxyModel model, EpoxyViewHolder viewHolder, int modelIndex)\n``` +// display_name onModel +// signature_documentation java @Override\npublic void onModel(EpoxyModel model, EpoxyViewHolder viewHolder, int modelIndex) +// enclosing_symbol local 18 +// kind Method // relationship is_reference is_implementation semanticdb maven . . com/airbnb/epoxy/EpoxyModelGroup#IterateModelsCallback#onModel(). // ^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/EpoxyModel# // ^^^^^ definition local 20 -// documentation ```java\nEpoxyModel model\n``` +// display_name model +// signature_documentation java EpoxyModel model +// enclosing_symbol local 19 // ^^^^^^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/EpoxyViewHolder# // ^^^^^^^^^^ definition local 21 -// documentation ```java\nEpoxyViewHolder viewHolder\n``` +// display_name viewHolder +// signature_documentation java EpoxyViewHolder viewHolder +// enclosing_symbol local 19 // ^^^^^^^^^^ definition local 22 -// documentation ```java\nint modelIndex\n``` +// display_name modelIndex +// signature_documentation java int modelIndex +// enclosing_symbol local 19 setViewVisibility(model, viewHolder); // ^^^^^^^^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/EpoxyModelGroup#setViewVisibility(). // ^^^^^ reference local 20 @@ -373,17 +443,23 @@ public void onModel(EpoxyModel model, EpoxyViewHolder viewHolder, int modelIndex // ^^^^^^^^ reference semanticdb maven jdk 11 java/lang/Override# public void bind(@NonNull ModelGroupHolder holder, @NonNull EpoxyModel previouslyBoundModel) { // ^^^^ definition semanticdb maven . . com/airbnb/epoxy/EpoxyModelGroup#bind(+2). -// documentation ```java\n@Override\npublic void bind(unresolved_type holder, EpoxyModel previouslyBoundModel)\n``` +// display_name bind +// signature_documentation java @Override\npublic void bind(unresolved_type holder, EpoxyModel previouslyBoundModel) +// kind Method // relationship is_reference is_implementation semanticdb maven . . com/airbnb/epoxy/EpoxyModel#bind(+2). // relationship is_reference is_implementation semanticdb maven . . com/airbnb/epoxy/EpoxyModelWithHolder#bind(+2). // ^^^^^^^ reference semanticdb maven maven/androidx.annotation/annotation 1.1.0 androidx/annotation/NonNull# // ^^^^^^^^^^^^^^^^ reference semanticdb maven . . ModelGroupHolder# // ^^^^^^ definition local 23 -// documentation ```java\n@NonNull\nunresolved_type holder\n``` +// display_name holder +// signature_documentation java @NonNull\nunresolved_type holder +// enclosing_symbol semanticdb maven . . com/airbnb/epoxy/EpoxyModelGroup#bind(+2). // ^^^^^^^ reference semanticdb maven maven/androidx.annotation/annotation 1.1.0 androidx/annotation/NonNull# // ^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/EpoxyModel# // ^^^^^^^^^^^^^^^^^^^^ definition local 24 -// documentation ```java\n@NonNull\nEpoxyModel previouslyBoundModel\n``` +// display_name previouslyBoundModel +// signature_documentation java @NonNull\nEpoxyModel previouslyBoundModel +// enclosing_symbol semanticdb maven . . com/airbnb/epoxy/EpoxyModelGroup#bind(+2). if (!(previouslyBoundModel instanceof EpoxyModelGroup)) { // ^^^^^^^^^^^^^^^^^^^^ reference local 24 // ^^^^^^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/EpoxyModelGroup# @@ -396,7 +472,10 @@ public void bind(@NonNull ModelGroupHolder holder, @NonNull EpoxyModel previo final EpoxyModelGroup previousGroup = (EpoxyModelGroup) previouslyBoundModel; // ^^^^^^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/EpoxyModelGroup# // ^^^^^^^^^^^^^ definition local 25 -// documentation ```java\nfinal EpoxyModelGroup previousGroup\n``` +// display_name previousGroup +// signature_documentation java final EpoxyModelGroup previousGroup +// enclosing_symbol semanticdb maven . . com/airbnb/epoxy/EpoxyModelGroup#bind(+2). +// kind Variable // ^^^^^^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/EpoxyModelGroup# // ^^^^^^^^^^^^^^^^^^^^ reference local 24 @@ -408,16 +487,25 @@ public void bind(@NonNull ModelGroupHolder holder, @NonNull EpoxyModel previo // ^^^^^^^^ reference semanticdb maven jdk 11 java/lang/Override# public void onModel(EpoxyModel model, EpoxyViewHolder viewHolder, int modelIndex) { // ^^^^^^^ definition local 27 -// documentation ```java\n@Override\npublic void onModel(EpoxyModel model, EpoxyViewHolder viewHolder, int modelIndex)\n``` +// display_name onModel +// signature_documentation java @Override\npublic void onModel(EpoxyModel model, EpoxyViewHolder viewHolder, int modelIndex) +// enclosing_symbol local 26 +// kind Method // relationship is_reference is_implementation semanticdb maven . . com/airbnb/epoxy/EpoxyModelGroup#IterateModelsCallback#onModel(). // ^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/EpoxyModel# // ^^^^^ definition local 28 -// documentation ```java\nEpoxyModel model\n``` +// display_name model +// signature_documentation java EpoxyModel model +// enclosing_symbol local 27 // ^^^^^^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/EpoxyViewHolder# // ^^^^^^^^^^ definition local 29 -// documentation ```java\nEpoxyViewHolder viewHolder\n``` +// display_name viewHolder +// signature_documentation java EpoxyViewHolder viewHolder +// enclosing_symbol local 27 // ^^^^^^^^^^ definition local 30 -// documentation ```java\nint modelIndex\n``` +// display_name modelIndex +// signature_documentation java int modelIndex +// enclosing_symbol local 27 setViewVisibility(model, viewHolder); // ^^^^^^^^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/EpoxyModelGroup#setViewVisibility(). // ^^^^^ reference local 28 @@ -431,7 +519,10 @@ public void onModel(EpoxyModel model, EpoxyViewHolder viewHolder, int modelIndex EpoxyModel previousModel = previousGroup.models.get(modelIndex); // ^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/EpoxyModel# // ^^^^^^^^^^^^^ definition local 31 -// documentation ```java\nEpoxyModel previousModel\n``` +// display_name previousModel +// signature_documentation java EpoxyModel previousModel +// enclosing_symbol local 27 +// kind Variable // ^^^^^^^^^^^^^ reference local 25 // ^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/EpoxyModelGroup#models. // ^^^ reference semanticdb maven jdk 11 java/util/List#get(). @@ -466,13 +557,19 @@ public void onModel(EpoxyModel model, EpoxyViewHolder viewHolder, int modelIndex private static void setViewVisibility(EpoxyModel model, EpoxyViewHolder viewHolder) { // ^^^^^^^^^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/EpoxyModelGroup#setViewVisibility(). -// documentation ```java\nprivate static void setViewVisibility(EpoxyModel model, EpoxyViewHolder viewHolder)\n``` +// display_name setViewVisibility +// signature_documentation java private static void setViewVisibility(EpoxyModel model, EpoxyViewHolder viewHolder) +// kind StaticMethod // ^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/EpoxyModel# // ^^^^^ definition local 32 -// documentation ```java\nEpoxyModel model\n``` +// display_name model +// signature_documentation java EpoxyModel model +// enclosing_symbol semanticdb maven . . com/airbnb/epoxy/EpoxyModelGroup#setViewVisibility(). // ^^^^^^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/EpoxyViewHolder# // ^^^^^^^^^^ definition local 33 -// documentation ```java\nEpoxyViewHolder viewHolder\n``` +// display_name viewHolder +// signature_documentation java EpoxyViewHolder viewHolder +// enclosing_symbol semanticdb maven . . com/airbnb/epoxy/EpoxyModelGroup#setViewVisibility(). if (model.isShown()) { // ^^^^^ reference local 32 // ^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/EpoxyModel#isShown(). @@ -498,13 +595,17 @@ private static void setViewVisibility(EpoxyModel model, EpoxyViewHolder viewHold // ^^^^^^^^ reference semanticdb maven jdk 11 java/lang/Override# public void unbind(@NonNull ModelGroupHolder holder) { // ^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/EpoxyModelGroup#unbind(). -// documentation ```java\n@CallSuper\n@Override\npublic void unbind(unresolved_type holder)\n``` +// display_name unbind +// signature_documentation java @CallSuper\n@Override\npublic void unbind(unresolved_type holder) +// kind Method // relationship is_reference is_implementation semanticdb maven . . com/airbnb/epoxy/EpoxyModel#unbind(). // relationship is_reference is_implementation semanticdb maven . . com/airbnb/epoxy/EpoxyModelWithHolder#unbind(). // ^^^^^^^ reference semanticdb maven maven/androidx.annotation/annotation 1.1.0 androidx/annotation/NonNull# // ^^^^^^^^^^^^^^^^ reference semanticdb maven . . ModelGroupHolder# // ^^^^^^ definition local 34 -// documentation ```java\n@NonNull\nunresolved_type holder\n``` +// display_name holder +// signature_documentation java @NonNull\nunresolved_type holder +// enclosing_symbol semanticdb maven . . com/airbnb/epoxy/EpoxyModelGroup#unbind(). holder.unbindGroup(); // ^^^^^^ reference local 34 // ^^^^^^^^^^^ reference semanticdb maven . . ModelGroupHolder#unbindGroup# @@ -516,12 +617,16 @@ public void unbind(@NonNull ModelGroupHolder holder) { // ^^^^^^^^ reference semanticdb maven jdk 11 java/lang/Override# public void onViewAttachedToWindow(ModelGroupHolder holder) { // ^^^^^^^^^^^^^^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/EpoxyModelGroup#onViewAttachedToWindow(). -// documentation ```java\n@CallSuper\n@Override\npublic void onViewAttachedToWindow(unresolved_type holder)\n``` +// display_name onViewAttachedToWindow +// signature_documentation java @CallSuper\n@Override\npublic void onViewAttachedToWindow(unresolved_type holder) +// kind Method // relationship is_reference is_implementation semanticdb maven . . com/airbnb/epoxy/EpoxyModel#onViewAttachedToWindow(). // relationship is_reference is_implementation semanticdb maven . . com/airbnb/epoxy/EpoxyModelWithHolder#onViewAttachedToWindow(). // ^^^^^^^^^^^^^^^^ reference semanticdb maven . . ModelGroupHolder# // ^^^^^^ definition local 35 -// documentation ```java\nunresolved_type holder\n``` +// display_name holder +// signature_documentation java unresolved_type holder +// enclosing_symbol semanticdb maven . . com/airbnb/epoxy/EpoxyModelGroup#onViewAttachedToWindow(). iterateModels(holder, new IterateModelsCallback() { // ^^^^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/EpoxyModelGroup#iterateModels(). // ^^^^^^ reference local 35 @@ -530,16 +635,25 @@ public void onViewAttachedToWindow(ModelGroupHolder holder) { // ^^^^^^^^ reference semanticdb maven jdk 11 java/lang/Override# public void onModel(EpoxyModel model, EpoxyViewHolder viewHolder, int modelIndex) { // ^^^^^^^ definition local 37 -// documentation ```java\n@Override\npublic void onModel(EpoxyModel model, EpoxyViewHolder viewHolder, int modelIndex)\n``` +// display_name onModel +// signature_documentation java @Override\npublic void onModel(EpoxyModel model, EpoxyViewHolder viewHolder, int modelIndex) +// enclosing_symbol local 36 +// kind Method // relationship is_reference is_implementation semanticdb maven . . com/airbnb/epoxy/EpoxyModelGroup#IterateModelsCallback#onModel(). // ^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/EpoxyModel# // ^^^^^ definition local 38 -// documentation ```java\nEpoxyModel model\n``` +// display_name model +// signature_documentation java EpoxyModel model +// enclosing_symbol local 37 // ^^^^^^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/EpoxyViewHolder# // ^^^^^^^^^^ definition local 39 -// documentation ```java\nEpoxyViewHolder viewHolder\n``` +// display_name viewHolder +// signature_documentation java EpoxyViewHolder viewHolder +// enclosing_symbol local 37 // ^^^^^^^^^^ definition local 40 -// documentation ```java\nint modelIndex\n``` +// display_name modelIndex +// signature_documentation java int modelIndex +// enclosing_symbol local 37 //noinspection unchecked model.onViewAttachedToWindow(viewHolder.objectToBind()); // ^^^^^ reference local 38 @@ -556,12 +670,16 @@ public void onModel(EpoxyModel model, EpoxyViewHolder viewHolder, int modelIndex // ^^^^^^^^ reference semanticdb maven jdk 11 java/lang/Override# public void onViewDetachedFromWindow(ModelGroupHolder holder) { // ^^^^^^^^^^^^^^^^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/EpoxyModelGroup#onViewDetachedFromWindow(). -// documentation ```java\n@CallSuper\n@Override\npublic void onViewDetachedFromWindow(unresolved_type holder)\n``` +// display_name onViewDetachedFromWindow +// signature_documentation java @CallSuper\n@Override\npublic void onViewDetachedFromWindow(unresolved_type holder) +// kind Method // relationship is_reference is_implementation semanticdb maven . . com/airbnb/epoxy/EpoxyModel#onViewDetachedFromWindow(). // relationship is_reference is_implementation semanticdb maven . . com/airbnb/epoxy/EpoxyModelWithHolder#onViewDetachedFromWindow(). // ^^^^^^^^^^^^^^^^ reference semanticdb maven . . ModelGroupHolder# // ^^^^^^ definition local 41 -// documentation ```java\nunresolved_type holder\n``` +// display_name holder +// signature_documentation java unresolved_type holder +// enclosing_symbol semanticdb maven . . com/airbnb/epoxy/EpoxyModelGroup#onViewDetachedFromWindow(). iterateModels(holder, new IterateModelsCallback() { // ^^^^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/EpoxyModelGroup#iterateModels(). // ^^^^^^ reference local 41 @@ -570,16 +688,25 @@ public void onViewDetachedFromWindow(ModelGroupHolder holder) { // ^^^^^^^^ reference semanticdb maven jdk 11 java/lang/Override# public void onModel(EpoxyModel model, EpoxyViewHolder viewHolder, int modelIndex) { // ^^^^^^^ definition local 43 -// documentation ```java\n@Override\npublic void onModel(EpoxyModel model, EpoxyViewHolder viewHolder, int modelIndex)\n``` +// display_name onModel +// signature_documentation java @Override\npublic void onModel(EpoxyModel model, EpoxyViewHolder viewHolder, int modelIndex) +// enclosing_symbol local 42 +// kind Method // relationship is_reference is_implementation semanticdb maven . . com/airbnb/epoxy/EpoxyModelGroup#IterateModelsCallback#onModel(). // ^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/EpoxyModel# // ^^^^^ definition local 44 -// documentation ```java\nEpoxyModel model\n``` +// display_name model +// signature_documentation java EpoxyModel model +// enclosing_symbol local 43 // ^^^^^^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/EpoxyViewHolder# // ^^^^^^^^^^ definition local 45 -// documentation ```java\nEpoxyViewHolder viewHolder\n``` +// display_name viewHolder +// signature_documentation java EpoxyViewHolder viewHolder +// enclosing_symbol local 43 // ^^^^^^^^^^ definition local 46 -// documentation ```java\nint modelIndex\n``` +// display_name modelIndex +// signature_documentation java int modelIndex +// enclosing_symbol local 43 //noinspection unchecked model.onViewDetachedFromWindow(viewHolder.objectToBind()); // ^^^^^ reference local 44 @@ -592,25 +719,37 @@ public void onModel(EpoxyModel model, EpoxyViewHolder viewHolder, int modelIndex private void iterateModels(ModelGroupHolder holder, IterateModelsCallback callback) { // ^^^^^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/EpoxyModelGroup#iterateModels(). -// documentation ```java\nprivate void iterateModels(unresolved_type holder, IterateModelsCallback callback)\n``` +// display_name iterateModels +// signature_documentation java private void iterateModels(unresolved_type holder, IterateModelsCallback callback) +// kind Method // ^^^^^^^^^^^^^^^^ reference semanticdb maven . . ModelGroupHolder# // ^^^^^^ definition local 47 -// documentation ```java\nunresolved_type holder\n``` +// display_name holder +// signature_documentation java unresolved_type holder +// enclosing_symbol semanticdb maven . . com/airbnb/epoxy/EpoxyModelGroup#iterateModels(). // ^^^^^^^^^^^^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/EpoxyModelGroup#IterateModelsCallback# // ^^^^^^^^ definition local 48 -// documentation ```java\nIterateModelsCallback callback\n``` +// display_name callback +// signature_documentation java IterateModelsCallback callback +// enclosing_symbol semanticdb maven . . com/airbnb/epoxy/EpoxyModelGroup#iterateModels(). holder.bindGroupIfNeeded(this); // ^^^^^^ reference local 47 // ^^^^^^^^^^^^^^^^^ reference semanticdb maven . . ModelGroupHolder#bindGroupIfNeeded# int modelCount = models.size(); // ^^^^^^^^^^ definition local 49 -// documentation ```java\nint modelCount\n``` +// display_name modelCount +// signature_documentation java int modelCount +// enclosing_symbol semanticdb maven . . com/airbnb/epoxy/EpoxyModelGroup#iterateModels(). +// kind Variable // ^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/EpoxyModelGroup#models. // ^^^^ reference semanticdb maven jdk 11 java/util/List#size(). for (int i = 0; i < modelCount; i++) { // ^ definition local 50 -// documentation ```java\nint i\n``` +// display_name i +// signature_documentation java int i +// enclosing_symbol semanticdb maven . . com/airbnb/epoxy/EpoxyModelGroup#iterateModels(). +// kind Variable // ^ reference local 50 // ^^^^^^^^^^ reference local 49 // ^ reference local 50 @@ -630,32 +769,50 @@ private void iterateModels(ModelGroupHolder holder, IterateModelsCallback callba private interface IterateModelsCallback { // ^^^^^^^^^^^^^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/EpoxyModelGroup#IterateModelsCallback# -// documentation ```java\nprivate interface IterateModelsCallback\n``` +// display_name IterateModelsCallback +// signature_documentation java private interface IterateModelsCallback +// kind Interface void onModel(EpoxyModel model, EpoxyViewHolder viewHolder, int modelIndex); // ^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/EpoxyModelGroup#IterateModelsCallback#onModel(). -// documentation ```java\npublic abstract void onModel(EpoxyModel model, EpoxyViewHolder viewHolder, int modelIndex)\n``` +// display_name onModel +// signature_documentation java public abstract void onModel(EpoxyModel model, EpoxyViewHolder viewHolder, int modelIndex) +// kind AbstractMethod // ^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/EpoxyModel# // ^^^^^ definition local 51 -// documentation ```java\nEpoxyModel model\n``` +// display_name model +// signature_documentation java EpoxyModel model +// enclosing_symbol semanticdb maven . . com/airbnb/epoxy/EpoxyModelGroup#IterateModelsCallback#onModel(). // ^^^^^^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/EpoxyViewHolder# // ^^^^^^^^^^ definition local 52 -// documentation ```java\nEpoxyViewHolder viewHolder\n``` +// display_name viewHolder +// signature_documentation java EpoxyViewHolder viewHolder +// enclosing_symbol semanticdb maven . . com/airbnb/epoxy/EpoxyModelGroup#IterateModelsCallback#onModel(). // ^^^^^^^^^^ definition local 53 -// documentation ```java\nint modelIndex\n``` +// display_name modelIndex +// signature_documentation java int modelIndex +// enclosing_symbol semanticdb maven . . com/airbnb/epoxy/EpoxyModelGroup#IterateModelsCallback#onModel(). } @Override // ^^^^^^^^ reference semanticdb maven jdk 11 java/lang/Override# public int getSpanSize(int totalSpanCount, int position, int itemCount) { // ^^^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/EpoxyModelGroup#getSpanSize(). -// documentation ```java\n@Override\npublic int getSpanSize(int totalSpanCount, int position, int itemCount)\n``` +// display_name getSpanSize +// signature_documentation java @Override\npublic int getSpanSize(int totalSpanCount, int position, int itemCount) +// kind Method // relationship is_reference is_implementation semanticdb maven . . com/airbnb/epoxy/EpoxyModel#getSpanSize(). // ^^^^^^^^^^^^^^ definition local 54 -// documentation ```java\nint totalSpanCount\n``` +// display_name totalSpanCount +// signature_documentation java int totalSpanCount +// enclosing_symbol semanticdb maven . . com/airbnb/epoxy/EpoxyModelGroup#getSpanSize(). // ^^^^^^^^ definition local 55 -// documentation ```java\nint position\n``` +// display_name position +// signature_documentation java int position +// enclosing_symbol semanticdb maven . . com/airbnb/epoxy/EpoxyModelGroup#getSpanSize(). // ^^^^^^^^^ definition local 56 -// documentation ```java\nint itemCount\n``` +// display_name itemCount +// signature_documentation java int itemCount +// enclosing_symbol semanticdb maven . . com/airbnb/epoxy/EpoxyModelGroup#getSpanSize(). // Defaults to using the span size of the first model. Override this if you need to customize it return models.get(0).spanSize(totalSpanCount, position, itemCount); // ^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/EpoxyModelGroup#models. @@ -670,7 +827,9 @@ public int getSpanSize(int totalSpanCount, int position, int itemCount) { // ^^^^^^^^ reference semanticdb maven jdk 11 java/lang/Override# protected final int getDefaultLayout() { // ^^^^^^^^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/EpoxyModelGroup#getDefaultLayout(). -// documentation ```java\n@Override\nprotected final int getDefaultLayout()\n``` +// display_name getDefaultLayout +// signature_documentation java @Override\nprotected final int getDefaultLayout() +// kind Method // relationship is_reference is_implementation semanticdb maven . . com/airbnb/epoxy/EpoxyModel#getDefaultLayout(). throw new UnsupportedOperationException( // ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ reference semanticdb maven jdk 11 java/lang/UnsupportedOperationException#``(+1). @@ -682,9 +841,13 @@ protected final int getDefaultLayout() { public EpoxyModelGroup shouldSaveViewState(boolean shouldSaveViewState) { // ^^^^^^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/EpoxyModelGroup# // ^^^^^^^^^^^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/EpoxyModelGroup#shouldSaveViewState(). -// documentation ```java\n@NonNull\npublic EpoxyModelGroup shouldSaveViewState(boolean shouldSaveViewState)\n``` +// display_name shouldSaveViewState +// signature_documentation java @NonNull\npublic EpoxyModelGroup shouldSaveViewState(boolean shouldSaveViewState) +// kind Method // ^^^^^^^^^^^^^^^^^^^ definition local 57 -// documentation ```java\nboolean shouldSaveViewState\n``` +// display_name shouldSaveViewState +// signature_documentation java boolean shouldSaveViewState +// enclosing_symbol semanticdb maven . . com/airbnb/epoxy/EpoxyModelGroup#shouldSaveViewState(). onMutation(); // ^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/EpoxyModel#onMutation(). this.shouldSaveViewState = shouldSaveViewState; @@ -697,7 +860,9 @@ public EpoxyModelGroup shouldSaveViewState(boolean shouldSaveViewState) { // ^^^^^^^^ reference semanticdb maven jdk 11 java/lang/Override# public boolean shouldSaveViewState() { // ^^^^^^^^^^^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/EpoxyModelGroup#shouldSaveViewState(+1). -// documentation ```java\n@Override\npublic boolean shouldSaveViewState()\n``` +// display_name shouldSaveViewState +// signature_documentation java @Override\npublic boolean shouldSaveViewState() +// kind Method // relationship is_reference is_implementation semanticdb maven . . com/airbnb/epoxy/EpoxyModel#shouldSaveViewState(). // By default state is saved if any of the models have saved state enabled. // Override this if you need custom behavior. @@ -722,13 +887,19 @@ public boolean shouldSaveViewState() { */ protected boolean useViewStubLayoutParams(EpoxyModel model, int modelPosition) { // ^^^^^^^^^^^^^^^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/EpoxyModelGroup#useViewStubLayoutParams(). -// documentation ```java\nprotected boolean useViewStubLayoutParams(EpoxyModel model, int modelPosition)\n``` +// display_name useViewStubLayoutParams +// signature_documentation java protected boolean useViewStubLayoutParams(EpoxyModel model, int modelPosition) +// kind Method // documentation Whether the layout params set on the view stub for the given model should be carried over to\n the model's view. Default is true\n

\n Set this to false if you want the layout params on the model's layout resource to be kept.\n\n @param model The model who's view is being created\n @param modelPosition The position of the model in the models list\n // ^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/EpoxyModel# // ^^^^^ definition local 58 -// documentation ```java\nEpoxyModel model\n``` +// display_name model +// signature_documentation java EpoxyModel model +// enclosing_symbol semanticdb maven . . com/airbnb/epoxy/EpoxyModelGroup#useViewStubLayoutParams(). // ^^^^^^^^^^^^^ definition local 59 -// documentation ```java\nint modelPosition\n``` +// display_name modelPosition +// signature_documentation java int modelPosition +// enclosing_symbol semanticdb maven . . com/airbnb/epoxy/EpoxyModelGroup#useViewStubLayoutParams(). return true; } @@ -737,12 +908,16 @@ protected boolean useViewStubLayoutParams(EpoxyModel model, int modelPosition protected final ModelGroupHolder createNewHolder(@NonNull ViewParent parent) { // ^^^^^^^^^^^^^^^^ reference semanticdb maven . . ModelGroupHolder# // ^^^^^^^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/EpoxyModelGroup#createNewHolder(). -// documentation ```java\n@Override\nprotected final unresolved_type createNewHolder(unresolved_type parent)\n``` +// display_name createNewHolder +// signature_documentation java @Override\nprotected final unresolved_type createNewHolder(unresolved_type parent) +// kind Method // relationship is_reference is_implementation semanticdb maven . . com/airbnb/epoxy/EpoxyModelWithHolder#createNewHolder(). // ^^^^^^^ reference semanticdb maven maven/androidx.annotation/annotation 1.1.0 androidx/annotation/NonNull# // ^^^^^^^^^^ reference semanticdb maven . . ViewParent# // ^^^^^^ definition local 60 -// documentation ```java\n@NonNull\nunresolved_type parent\n``` +// display_name parent +// signature_documentation java @NonNull\nunresolved_type parent +// enclosing_symbol semanticdb maven . . com/airbnb/epoxy/EpoxyModelGroup#createNewHolder(). return new ModelGroupHolder(parent); // ^^^^^^ reference local 60 } @@ -751,12 +926,16 @@ protected final ModelGroupHolder createNewHolder(@NonNull ViewParent parent) { // ^^^^^^^^ reference semanticdb maven jdk 11 java/lang/Override# public boolean equals(Object o) { // ^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/EpoxyModelGroup#equals(). -// documentation ```java\n@Override\npublic boolean equals(Object o)\n``` +// display_name equals +// signature_documentation java @Override\npublic boolean equals(Object o) +// kind Method // relationship is_reference is_implementation semanticdb maven . . com/airbnb/epoxy/EpoxyModel#equals(). // relationship is_reference is_implementation semanticdb maven jdk 11 java/lang/Object#equals(). // ^^^^^^ reference semanticdb maven jdk 11 java/lang/Object# // ^ definition local 61 -// documentation ```java\nObject o\n``` +// display_name o +// signature_documentation java Object o +// enclosing_symbol semanticdb maven . . com/airbnb/epoxy/EpoxyModelGroup#equals(). if (this == o) { // ^ reference local 61 return true; @@ -776,7 +955,10 @@ public boolean equals(Object o) { EpoxyModelGroup that = (EpoxyModelGroup) o; // ^^^^^^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/EpoxyModelGroup# // ^^^^ definition local 62 -// documentation ```java\nEpoxyModelGroup that\n``` +// display_name that +// signature_documentation java EpoxyModelGroup that +// enclosing_symbol semanticdb maven . . com/airbnb/epoxy/EpoxyModelGroup#equals(). +// kind Variable // ^^^^^^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/EpoxyModelGroup# // ^ reference local 61 @@ -791,12 +973,17 @@ public boolean equals(Object o) { // ^^^^^^^^ reference semanticdb maven jdk 11 java/lang/Override# public int hashCode() { // ^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/EpoxyModelGroup#hashCode(). -// documentation ```java\n@Override\npublic int hashCode()\n``` +// display_name hashCode +// signature_documentation java @Override\npublic int hashCode() +// kind Method // relationship is_reference is_implementation semanticdb maven . . com/airbnb/epoxy/EpoxyModel#hashCode(). // relationship is_reference is_implementation semanticdb maven jdk 11 java/lang/Object#hashCode(). int result = super.hashCode(); // ^^^^^^ definition local 63 -// documentation ```java\nint result\n``` +// display_name result +// signature_documentation java int result +// enclosing_symbol semanticdb maven . . com/airbnb/epoxy/EpoxyModelGroup#hashCode(). +// kind Variable // ^^^^^ reference semanticdb maven . . com/airbnb/epoxy/EpoxyModelGroup#super. // ^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/EpoxyModel#hashCode(). result = 31 * result + models.hashCode(); diff --git a/tests/snapshots/src/main/generated/com/airbnb/epoxy/EpoxyModelTouchCallback.java b/tests/snapshots/src/main/generated/com/airbnb/epoxy/EpoxyModelTouchCallback.java index 358389c3f..bfb581aad 100644 --- a/tests/snapshots/src/main/generated/com/airbnb/epoxy/EpoxyModelTouchCallback.java +++ b/tests/snapshots/src/main/generated/com/airbnb/epoxy/EpoxyModelTouchCallback.java @@ -40,7 +40,9 @@ */ public abstract class EpoxyModelTouchCallback // ^^^^^^^^^^^^^^^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/EpoxyModelTouchCallback# -// documentation ```java\npublic abstract class EpoxyModelTouchCallback\n``` +// display_name EpoxyModelTouchCallback +// signature_documentation java public abstract class EpoxyModelTouchCallback +// kind Class // documentation A wrapper around {@link androidx.recyclerview.widget.ItemTouchHelper.Callback} to enable\n easier touch support when working with Epoxy models.\n

\n For simplicity you can use {@link EpoxyTouchHelper} to set up touch handling via this class for\n you instead of using this class directly. However, you may choose to use this class directly with\n your own {@link ItemTouchHelper} if you need extra flexibility or customization.\n // relationship is_implementation semanticdb maven . . ItemTouchHelper/Callback# // relationship is_implementation semanticdb maven . . com/airbnb/epoxy/BaseEpoxyTouchCallback# @@ -48,7 +50,9 @@ public abstract class EpoxyModelTouchCallback // relationship is_implementation semanticdb maven . . com/airbnb/epoxy/EpoxySwipeCallback# // relationship is_implementation semanticdb maven . . com/airbnb/epoxy/EpoxyTouchHelperCallback# // ^ definition semanticdb maven . . com/airbnb/epoxy/EpoxyModelTouchCallback#[T] -// documentation ```java\nT extends EpoxyModel\n``` +// display_name T +// signature_documentation java T extends EpoxyModel +// kind TypeParameter // ^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/EpoxyModel# extends EpoxyTouchHelperCallback implements EpoxyDragCallback, EpoxySwipeCallback { // ^^^^^^^^^^^^^^^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/EpoxyTouchHelperCallback# @@ -59,38 +63,54 @@ public abstract class EpoxyModelTouchCallback private static final int TOUCH_DEBOUNCE_MILLIS = 300; // ^^^^^^^^^^^^^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/EpoxyModelTouchCallback#TOUCH_DEBOUNCE_MILLIS. -// documentation ```java\nprivate static final int TOUCH_DEBOUNCE_MILLIS\n``` +// display_name TOUCH_DEBOUNCE_MILLIS +// signature_documentation java private static final int TOUCH_DEBOUNCE_MILLIS +// kind StaticField @Nullable private final EpoxyController controller; // ^^^^^^^^ reference semanticdb maven maven/androidx.annotation/annotation 1.1.0 androidx/annotation/Nullable# // ^^^^^^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/EpoxyController# // ^^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/EpoxyModelTouchCallback#controller. -// documentation ```java\n@Nullable\nprivate final EpoxyController controller\n``` +// display_name controller +// signature_documentation java @Nullable\nprivate final EpoxyController controller +// kind Field private final Class targetModelClass; // ^^^^^ reference semanticdb maven jdk 11 java/lang/Class# // ^ reference semanticdb maven . . com/airbnb/epoxy/EpoxyModelTouchCallback#[T] // ^^^^^^^^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/EpoxyModelTouchCallback#targetModelClass. -// documentation ```java\nprivate final Class targetModelClass\n``` +// display_name targetModelClass +// signature_documentation java private final Class targetModelClass +// kind Field private EpoxyViewHolder holderBeingDragged; // ^^^^^^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/EpoxyViewHolder# // ^^^^^^^^^^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/EpoxyModelTouchCallback#holderBeingDragged. -// documentation ```java\nprivate EpoxyViewHolder holderBeingDragged\n``` +// display_name holderBeingDragged +// signature_documentation java private EpoxyViewHolder holderBeingDragged +// kind Field private EpoxyViewHolder holderBeingSwiped; // ^^^^^^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/EpoxyViewHolder# // ^^^^^^^^^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/EpoxyModelTouchCallback#holderBeingSwiped. -// documentation ```java\nprivate EpoxyViewHolder holderBeingSwiped\n``` +// display_name holderBeingSwiped +// signature_documentation java private EpoxyViewHolder holderBeingSwiped +// kind Field public EpoxyModelTouchCallback(@Nullable EpoxyController controller, Class targetModelClass) { // ^^^^^^^^^^^^^^^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/EpoxyModelTouchCallback#``(). -// documentation ```java\npublic EpoxyModelTouchCallback(EpoxyController controller, Class targetModelClass)\n``` +// display_name +// signature_documentation java public EpoxyModelTouchCallback(EpoxyController controller, Class targetModelClass) +// kind Constructor // ^^^^^^^^ reference semanticdb maven maven/androidx.annotation/annotation 1.1.0 androidx/annotation/Nullable# // ^^^^^^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/EpoxyController# // ^^^^^^^^^^ definition local 0 -// documentation ```java\n@Nullable\nEpoxyController controller\n``` +// display_name controller +// signature_documentation java @Nullable\nEpoxyController controller +// enclosing_symbol semanticdb maven . . com/airbnb/epoxy/EpoxyModelTouchCallback#``(). // ^^^^^ reference semanticdb maven jdk 11 java/lang/Class# // ^ reference semanticdb maven . . com/airbnb/epoxy/EpoxyModelTouchCallback#[T] // ^^^^^^^^^^^^^^^^ definition local 1 -// documentation ```java\nClass targetModelClass\n``` +// display_name targetModelClass +// signature_documentation java Class targetModelClass +// enclosing_symbol semanticdb maven . . com/airbnb/epoxy/EpoxyModelTouchCallback#``(). this.controller = controller; // ^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/EpoxyModelTouchCallback#controller. // ^^^^^^^^^^ reference local 0 @@ -103,19 +123,28 @@ public EpoxyModelTouchCallback(@Nullable EpoxyController controller, Class ta // ^^^^^^^^ reference semanticdb maven jdk 11 java/lang/Override# protected int getMovementFlags(RecyclerView recyclerView, EpoxyViewHolder viewHolder) { // ^^^^^^^^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/EpoxyModelTouchCallback#getMovementFlags(). -// documentation ```java\n@Override\nprotected int getMovementFlags(unresolved_type recyclerView, EpoxyViewHolder viewHolder)\n``` +// display_name getMovementFlags +// signature_documentation java @Override\nprotected int getMovementFlags(unresolved_type recyclerView, EpoxyViewHolder viewHolder) +// kind Method // relationship is_reference is_implementation semanticdb maven . . com/airbnb/epoxy/EpoxyTouchHelperCallback#getMovementFlags(). // relationship is_reference is_implementation semanticdb maven . . com/airbnb/epoxy/EpoxyTouchHelperCallback#getMovementFlags(+1). // ^^^^^^^^^^^^ reference semanticdb maven . . RecyclerView# // ^^^^^^^^^^^^ definition local 2 -// documentation ```java\nunresolved_type recyclerView\n``` +// display_name recyclerView +// signature_documentation java unresolved_type recyclerView +// enclosing_symbol semanticdb maven . . com/airbnb/epoxy/EpoxyModelTouchCallback#getMovementFlags(). // ^^^^^^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/EpoxyViewHolder# // ^^^^^^^^^^ definition local 3 -// documentation ```java\nEpoxyViewHolder viewHolder\n``` +// display_name viewHolder +// signature_documentation java EpoxyViewHolder viewHolder +// enclosing_symbol semanticdb maven . . com/airbnb/epoxy/EpoxyModelTouchCallback#getMovementFlags(). EpoxyModel model = viewHolder.getModel(); // ^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/EpoxyModel# // ^^^^^ definition local 4 -// documentation ```java\nEpoxyModel model\n``` +// display_name model +// signature_documentation java EpoxyModel model +// enclosing_symbol semanticdb maven . . com/airbnb/epoxy/EpoxyModelTouchCallback#getMovementFlags(). +// kind Variable // ^^^^^^^^^^ reference local 3 // ^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/EpoxyViewHolder#getModel(). @@ -124,7 +153,10 @@ protected int getMovementFlags(RecyclerView recyclerView, EpoxyViewHolder viewHo // callback has a view actively selected. boolean isOtherCallbackActive = // ^^^^^^^^^^^^^^^^^^^^^ definition local 5 -// documentation ```java\nboolean isOtherCallbackActive\n``` +// display_name isOtherCallbackActive +// signature_documentation java boolean isOtherCallbackActive +// enclosing_symbol semanticdb maven . . com/airbnb/epoxy/EpoxyModelTouchCallback#getMovementFlags(). +// kind Variable holderBeingDragged == null // ^^^^^^^^^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/EpoxyModelTouchCallback#holderBeingDragged. && holderBeingSwiped == null @@ -153,19 +185,27 @@ protected int getMovementFlags(RecyclerView recyclerView, EpoxyViewHolder viewHo // ^^^^^^^^ reference semanticdb maven jdk 11 java/lang/Override# protected boolean canDropOver(RecyclerView recyclerView, EpoxyViewHolder current, // ^^^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/EpoxyModelTouchCallback#canDropOver(). -// documentation ```java\n@Override\nprotected boolean canDropOver(unresolved_type recyclerView, EpoxyViewHolder current, EpoxyViewHolder target)\n``` +// display_name canDropOver +// signature_documentation java @Override\nprotected boolean canDropOver(unresolved_type recyclerView, EpoxyViewHolder current, EpoxyViewHolder target) +// kind Method // relationship is_reference is_implementation semanticdb maven . . com/airbnb/epoxy/EpoxyTouchHelperCallback#canDropOver(). // relationship is_reference is_implementation semanticdb maven . . com/airbnb/epoxy/EpoxyTouchHelperCallback#canDropOver(+1). // ^^^^^^^^^^^^ reference semanticdb maven . . RecyclerView# // ^^^^^^^^^^^^ definition local 6 -// documentation ```java\nunresolved_type recyclerView\n``` +// display_name recyclerView +// signature_documentation java unresolved_type recyclerView +// enclosing_symbol semanticdb maven . . com/airbnb/epoxy/EpoxyModelTouchCallback#canDropOver(). // ^^^^^^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/EpoxyViewHolder# // ^^^^^^^ definition local 7 -// documentation ```java\nEpoxyViewHolder current\n``` +// display_name current +// signature_documentation java EpoxyViewHolder current +// enclosing_symbol semanticdb maven . . com/airbnb/epoxy/EpoxyModelTouchCallback#canDropOver(). EpoxyViewHolder target) { // ^^^^^^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/EpoxyViewHolder# // ^^^^^^ definition local 8 -// documentation ```java\nEpoxyViewHolder target\n``` +// display_name target +// signature_documentation java EpoxyViewHolder target +// enclosing_symbol semanticdb maven . . com/airbnb/epoxy/EpoxyModelTouchCallback#canDropOver(). // By default we don't allow dropping on a model that isn't a drag target return isTouchableModel(target.getModel()); // ^^^^^^^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/EpoxyModelTouchCallback#isTouchableModel(). @@ -175,10 +215,14 @@ protected boolean canDropOver(RecyclerView recyclerView, EpoxyViewHolder current protected boolean isTouchableModel(EpoxyModel model) { // ^^^^^^^^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/EpoxyModelTouchCallback#isTouchableModel(). -// documentation ```java\nprotected boolean isTouchableModel(EpoxyModel model)\n``` +// display_name isTouchableModel +// signature_documentation java protected boolean isTouchableModel(EpoxyModel model) +// kind Method // ^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/EpoxyModel# // ^^^^^ definition local 9 -// documentation ```java\nEpoxyModel model\n``` +// display_name model +// signature_documentation java EpoxyModel model +// enclosing_symbol semanticdb maven . . com/airbnb/epoxy/EpoxyModelTouchCallback#isTouchableModel(). return targetModelClass.isInstance(model); // ^^^^^^^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/EpoxyModelTouchCallback#targetModelClass. // ^^^^^^^^^^ reference semanticdb maven jdk 11 java/lang/Class#isInstance(). @@ -189,19 +233,27 @@ protected boolean isTouchableModel(EpoxyModel model) { // ^^^^^^^^ reference semanticdb maven jdk 11 java/lang/Override# protected boolean onMove(RecyclerView recyclerView, EpoxyViewHolder viewHolder, // ^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/EpoxyModelTouchCallback#onMove(). -// documentation ```java\n@Override\nprotected boolean onMove(unresolved_type recyclerView, EpoxyViewHolder viewHolder, EpoxyViewHolder target)\n``` +// display_name onMove +// signature_documentation java @Override\nprotected boolean onMove(unresolved_type recyclerView, EpoxyViewHolder viewHolder, EpoxyViewHolder target) +// kind Method // relationship is_reference is_implementation semanticdb maven . . com/airbnb/epoxy/EpoxyTouchHelperCallback#onMove(). // relationship is_reference is_implementation semanticdb maven . . com/airbnb/epoxy/EpoxyTouchHelperCallback#onMove(+1). // ^^^^^^^^^^^^ reference semanticdb maven . . RecyclerView# // ^^^^^^^^^^^^ definition local 10 -// documentation ```java\nunresolved_type recyclerView\n``` +// display_name recyclerView +// signature_documentation java unresolved_type recyclerView +// enclosing_symbol semanticdb maven . . com/airbnb/epoxy/EpoxyModelTouchCallback#onMove(). // ^^^^^^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/EpoxyViewHolder# // ^^^^^^^^^^ definition local 11 -// documentation ```java\nEpoxyViewHolder viewHolder\n``` +// display_name viewHolder +// signature_documentation java EpoxyViewHolder viewHolder +// enclosing_symbol semanticdb maven . . com/airbnb/epoxy/EpoxyModelTouchCallback#onMove(). EpoxyViewHolder target) { // ^^^^^^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/EpoxyViewHolder# // ^^^^^^ definition local 12 -// documentation ```java\nEpoxyViewHolder target\n``` +// display_name target +// signature_documentation java EpoxyViewHolder target +// enclosing_symbol semanticdb maven . . com/airbnb/epoxy/EpoxyModelTouchCallback#onMove(). if (controller == null) { // ^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/EpoxyModelTouchCallback#controller. @@ -212,12 +264,18 @@ protected boolean onMove(RecyclerView recyclerView, EpoxyViewHolder viewHolder, int fromPosition = viewHolder.getAdapterPosition(); // ^^^^^^^^^^^^ definition local 13 -// documentation ```java\nint fromPosition\n``` +// display_name fromPosition +// signature_documentation java int fromPosition +// enclosing_symbol semanticdb maven . . com/airbnb/epoxy/EpoxyModelTouchCallback#onMove(). +// kind Variable // ^^^^^^^^^^ reference local 11 // ^^^^^^^^^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/EpoxyViewHolder#getAdapterPosition# int toPosition = target.getAdapterPosition(); // ^^^^^^^^^^ definition local 14 -// documentation ```java\nint toPosition\n``` +// display_name toPosition +// signature_documentation java int toPosition +// enclosing_symbol semanticdb maven . . com/airbnb/epoxy/EpoxyModelTouchCallback#onMove(). +// kind Variable // ^^^^^^ reference local 12 // ^^^^^^^^^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/EpoxyViewHolder#getAdapterPosition# controller.moveModel(fromPosition, toPosition); @@ -229,7 +287,10 @@ protected boolean onMove(RecyclerView recyclerView, EpoxyViewHolder viewHolder, EpoxyModel model = viewHolder.getModel(); // ^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/EpoxyModel# // ^^^^^ definition local 15 -// documentation ```java\nEpoxyModel model\n``` +// display_name model +// signature_documentation java EpoxyModel model +// enclosing_symbol semanticdb maven . . com/airbnb/epoxy/EpoxyModelTouchCallback#onMove(). +// kind Variable // ^^^^^^^^^^ reference local 11 // ^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/EpoxyViewHolder#getModel(). if (!isTouchableModel(model)) { @@ -258,18 +319,28 @@ protected boolean onMove(RecyclerView recyclerView, EpoxyViewHolder viewHolder, // ^^^^^^^^ reference semanticdb maven jdk 11 java/lang/Override# public void onModelMoved(int fromPosition, int toPosition, T modelBeingMoved, View itemView) { // ^^^^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/EpoxyModelTouchCallback#onModelMoved(). -// documentation ```java\n@Override\npublic void onModelMoved(int fromPosition, int toPosition, T modelBeingMoved, unresolved_type itemView)\n``` +// display_name onModelMoved +// signature_documentation java @Override\npublic void onModelMoved(int fromPosition, int toPosition, T modelBeingMoved, unresolved_type itemView) +// kind Method // relationship is_reference is_implementation semanticdb maven . . com/airbnb/epoxy/EpoxyDragCallback#onModelMoved(). // ^^^^^^^^^^^^ definition local 16 -// documentation ```java\nint fromPosition\n``` +// display_name fromPosition +// signature_documentation java int fromPosition +// enclosing_symbol semanticdb maven . . com/airbnb/epoxy/EpoxyModelTouchCallback#onModelMoved(). // ^^^^^^^^^^ definition local 17 -// documentation ```java\nint toPosition\n``` +// display_name toPosition +// signature_documentation java int toPosition +// enclosing_symbol semanticdb maven . . com/airbnb/epoxy/EpoxyModelTouchCallback#onModelMoved(). // ^ reference semanticdb maven . . com/airbnb/epoxy/EpoxyModelTouchCallback#[T] // ^^^^^^^^^^^^^^^ definition local 18 -// documentation ```java\nT modelBeingMoved\n``` +// display_name modelBeingMoved +// signature_documentation java T modelBeingMoved +// enclosing_symbol semanticdb maven . . com/airbnb/epoxy/EpoxyModelTouchCallback#onModelMoved(). // ^^^^ reference semanticdb maven . . View# // ^^^^^^^^ definition local 19 -// documentation ```java\nunresolved_type itemView\n``` +// display_name itemView +// signature_documentation java unresolved_type itemView +// enclosing_symbol semanticdb maven . . com/airbnb/epoxy/EpoxyModelTouchCallback#onModelMoved(). } @@ -277,28 +348,43 @@ public void onModelMoved(int fromPosition, int toPosition, T modelBeingMoved, Vi // ^^^^^^^^ reference semanticdb maven jdk 11 java/lang/Override# protected void onSwiped(EpoxyViewHolder viewHolder, int direction) { // ^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/EpoxyModelTouchCallback#onSwiped(). -// documentation ```java\n@Override\nprotected void onSwiped(EpoxyViewHolder viewHolder, int direction)\n``` +// display_name onSwiped +// signature_documentation java @Override\nprotected void onSwiped(EpoxyViewHolder viewHolder, int direction) +// kind Method // relationship is_reference is_implementation semanticdb maven . . com/airbnb/epoxy/EpoxyTouchHelperCallback#onSwiped(). // ^^^^^^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/EpoxyViewHolder# // ^^^^^^^^^^ definition local 20 -// documentation ```java\nEpoxyViewHolder viewHolder\n``` +// display_name viewHolder +// signature_documentation java EpoxyViewHolder viewHolder +// enclosing_symbol semanticdb maven . . com/airbnb/epoxy/EpoxyModelTouchCallback#onSwiped(). // ^^^^^^^^^ definition local 21 -// documentation ```java\nint direction\n``` +// display_name direction +// signature_documentation java int direction +// enclosing_symbol semanticdb maven . . com/airbnb/epoxy/EpoxyModelTouchCallback#onSwiped(). EpoxyModel model = viewHolder.getModel(); // ^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/EpoxyModel# // ^^^^^ definition local 22 -// documentation ```java\nEpoxyModel model\n``` +// display_name model +// signature_documentation java EpoxyModel model +// enclosing_symbol semanticdb maven . . com/airbnb/epoxy/EpoxyModelTouchCallback#onSwiped(). +// kind Variable // ^^^^^^^^^^ reference local 20 // ^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/EpoxyViewHolder#getModel(). View view = viewHolder.itemView; // ^^^^ reference semanticdb maven . . View# // ^^^^ definition local 23 -// documentation ```java\nunresolved_type view\n``` +// display_name view +// signature_documentation java unresolved_type view +// enclosing_symbol semanticdb maven . . com/airbnb/epoxy/EpoxyModelTouchCallback#onSwiped(). +// kind Variable // ^^^^^^^^^^ reference local 20 // ^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/EpoxyViewHolder#itemView# int position = viewHolder.getAdapterPosition(); // ^^^^^^^^ definition local 24 -// documentation ```java\nint position\n``` +// display_name position +// signature_documentation java int position +// enclosing_symbol semanticdb maven . . com/airbnb/epoxy/EpoxyModelTouchCallback#onSwiped(). +// kind Variable // ^^^^^^^^^^ reference local 20 // ^^^^^^^^^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/EpoxyViewHolder#getAdapterPosition# @@ -326,18 +412,28 @@ protected void onSwiped(EpoxyViewHolder viewHolder, int direction) { // ^^^^^^^^ reference semanticdb maven jdk 11 java/lang/Override# public void onSwipeCompleted(T model, View itemView, int position, int direction) { // ^^^^^^^^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/EpoxyModelTouchCallback#onSwipeCompleted(). -// documentation ```java\n@Override\npublic void onSwipeCompleted(T model, unresolved_type itemView, int position, int direction)\n``` +// display_name onSwipeCompleted +// signature_documentation java @Override\npublic void onSwipeCompleted(T model, unresolved_type itemView, int position, int direction) +// kind Method // relationship is_reference is_implementation semanticdb maven . . com/airbnb/epoxy/EpoxySwipeCallback#onSwipeCompleted(). // ^ reference semanticdb maven . . com/airbnb/epoxy/EpoxyModelTouchCallback#[T] // ^^^^^ definition local 25 -// documentation ```java\nT model\n``` +// display_name model +// signature_documentation java T model +// enclosing_symbol semanticdb maven . . com/airbnb/epoxy/EpoxyModelTouchCallback#onSwipeCompleted(). // ^^^^ reference semanticdb maven . . View# // ^^^^^^^^ definition local 26 -// documentation ```java\nunresolved_type itemView\n``` +// display_name itemView +// signature_documentation java unresolved_type itemView +// enclosing_symbol semanticdb maven . . com/airbnb/epoxy/EpoxyModelTouchCallback#onSwipeCompleted(). // ^^^^^^^^ definition local 27 -// documentation ```java\nint position\n``` +// display_name position +// signature_documentation java int position +// enclosing_symbol semanticdb maven . . com/airbnb/epoxy/EpoxyModelTouchCallback#onSwipeCompleted(). // ^^^^^^^^^ definition local 28 -// documentation ```java\nint direction\n``` +// display_name direction +// signature_documentation java int direction +// enclosing_symbol semanticdb maven . . com/airbnb/epoxy/EpoxyModelTouchCallback#onSwipeCompleted(). } @@ -345,14 +441,20 @@ public void onSwipeCompleted(T model, View itemView, int position, int direction // ^^^^^^^^ reference semanticdb maven jdk 11 java/lang/Override# protected void onSelectedChanged(@Nullable EpoxyViewHolder viewHolder, int actionState) { // ^^^^^^^^^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/EpoxyModelTouchCallback#onSelectedChanged(). -// documentation ```java\n@Override\nprotected void onSelectedChanged(EpoxyViewHolder viewHolder, int actionState)\n``` +// display_name onSelectedChanged +// signature_documentation java @Override\nprotected void onSelectedChanged(EpoxyViewHolder viewHolder, int actionState) +// kind Method // relationship is_reference is_implementation semanticdb maven . . com/airbnb/epoxy/EpoxyTouchHelperCallback#onSelectedChanged(). // ^^^^^^^^ reference semanticdb maven maven/androidx.annotation/annotation 1.1.0 androidx/annotation/Nullable# // ^^^^^^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/EpoxyViewHolder# // ^^^^^^^^^^ definition local 29 -// documentation ```java\n@Nullable\nEpoxyViewHolder viewHolder\n``` +// display_name viewHolder +// signature_documentation java @Nullable\nEpoxyViewHolder viewHolder +// enclosing_symbol semanticdb maven . . com/airbnb/epoxy/EpoxyModelTouchCallback#onSelectedChanged(). // ^^^^^^^^^^^ definition local 30 -// documentation ```java\nint actionState\n``` +// display_name actionState +// signature_documentation java int actionState +// enclosing_symbol semanticdb maven . . com/airbnb/epoxy/EpoxyModelTouchCallback#onSelectedChanged(). super.onSelectedChanged(viewHolder, actionState); // ^^^^^ reference semanticdb maven . . com/airbnb/epoxy/EpoxyModelTouchCallback#super. // ^^^^^^^^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/EpoxyTouchHelperCallback#onSelectedChanged(). @@ -364,7 +466,10 @@ protected void onSelectedChanged(@Nullable EpoxyViewHolder viewHolder, int actio EpoxyModel model = viewHolder.getModel(); // ^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/EpoxyModel# // ^^^^^ definition local 31 -// documentation ```java\nEpoxyModel model\n``` +// display_name model +// signature_documentation java EpoxyModel model +// enclosing_symbol semanticdb maven . . com/airbnb/epoxy/EpoxyModelTouchCallback#onSelectedChanged(). +// kind Variable // ^^^^^^^^^^ reference local 29 // ^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/EpoxyViewHolder#getModel(). if (!isTouchableModel(model)) { @@ -446,10 +551,14 @@ protected void onSelectedChanged(@Nullable EpoxyViewHolder viewHolder, int actio private void markRecyclerViewHasSelection(RecyclerView recyclerView) { // ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/EpoxyModelTouchCallback#markRecyclerViewHasSelection(). -// documentation ```java\nprivate void markRecyclerViewHasSelection(unresolved_type recyclerView)\n``` +// display_name markRecyclerViewHasSelection +// signature_documentation java private void markRecyclerViewHasSelection(unresolved_type recyclerView) +// kind Method // ^^^^^^^^^^^^ reference semanticdb maven . . RecyclerView# // ^^^^^^^^^^^^ definition local 32 -// documentation ```java\nunresolved_type recyclerView\n``` +// display_name recyclerView +// signature_documentation java unresolved_type recyclerView +// enclosing_symbol semanticdb maven . . com/airbnb/epoxy/EpoxyModelTouchCallback#markRecyclerViewHasSelection(). recyclerView.setTag(R.id.epoxy_touch_helper_selection_status, Boolean.TRUE); // ^^^^^^^^^^^^ reference local 32 // ^^^^^^ reference semanticdb maven . . RecyclerView#setTag# @@ -462,10 +571,14 @@ private void markRecyclerViewHasSelection(RecyclerView recyclerView) { private boolean recyclerViewHasSelection(RecyclerView recyclerView) { // ^^^^^^^^^^^^^^^^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/EpoxyModelTouchCallback#recyclerViewHasSelection(). -// documentation ```java\nprivate boolean recyclerViewHasSelection(unresolved_type recyclerView)\n``` +// display_name recyclerViewHasSelection +// signature_documentation java private boolean recyclerViewHasSelection(unresolved_type recyclerView) +// kind Method // ^^^^^^^^^^^^ reference semanticdb maven . . RecyclerView# // ^^^^^^^^^^^^ definition local 33 -// documentation ```java\nunresolved_type recyclerView\n``` +// display_name recyclerView +// signature_documentation java unresolved_type recyclerView +// enclosing_symbol semanticdb maven . . com/airbnb/epoxy/EpoxyModelTouchCallback#recyclerViewHasSelection(). return recyclerView.getTag(R.id.epoxy_touch_helper_selection_status) != null; // ^^^^^^^^^^^^ reference local 33 // ^^^^^^ reference semanticdb maven . . RecyclerView#getTag# @@ -476,10 +589,14 @@ private boolean recyclerViewHasSelection(RecyclerView recyclerView) { private void clearRecyclerViewSelectionMarker(RecyclerView recyclerView) { // ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/EpoxyModelTouchCallback#clearRecyclerViewSelectionMarker(). -// documentation ```java\nprivate void clearRecyclerViewSelectionMarker(unresolved_type recyclerView)\n``` +// display_name clearRecyclerViewSelectionMarker +// signature_documentation java private void clearRecyclerViewSelectionMarker(unresolved_type recyclerView) +// kind Method // ^^^^^^^^^^^^ reference semanticdb maven . . RecyclerView# // ^^^^^^^^^^^^ definition local 34 -// documentation ```java\nunresolved_type recyclerView\n``` +// display_name recyclerView +// signature_documentation java unresolved_type recyclerView +// enclosing_symbol semanticdb maven . . com/airbnb/epoxy/EpoxyModelTouchCallback#clearRecyclerViewSelectionMarker(). recyclerView.setTag(R.id.epoxy_touch_helper_selection_status, null); // ^^^^^^^^^^^^ reference local 34 // ^^^^^^ reference semanticdb maven . . RecyclerView#setTag# @@ -492,16 +609,24 @@ private void clearRecyclerViewSelectionMarker(RecyclerView recyclerView) { // ^^^^^^^^ reference semanticdb maven jdk 11 java/lang/Override# public void onSwipeStarted(T model, View itemView, int adapterPosition) { // ^^^^^^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/EpoxyModelTouchCallback#onSwipeStarted(). -// documentation ```java\n@Override\npublic void onSwipeStarted(T model, unresolved_type itemView, int adapterPosition)\n``` +// display_name onSwipeStarted +// signature_documentation java @Override\npublic void onSwipeStarted(T model, unresolved_type itemView, int adapterPosition) +// kind Method // relationship is_reference is_implementation semanticdb maven . . com/airbnb/epoxy/EpoxySwipeCallback#onSwipeStarted(). // ^ reference semanticdb maven . . com/airbnb/epoxy/EpoxyModelTouchCallback#[T] // ^^^^^ definition local 35 -// documentation ```java\nT model\n``` +// display_name model +// signature_documentation java T model +// enclosing_symbol semanticdb maven . . com/airbnb/epoxy/EpoxyModelTouchCallback#onSwipeStarted(). // ^^^^ reference semanticdb maven . . View# // ^^^^^^^^ definition local 36 -// documentation ```java\nunresolved_type itemView\n``` +// display_name itemView +// signature_documentation java unresolved_type itemView +// enclosing_symbol semanticdb maven . . com/airbnb/epoxy/EpoxyModelTouchCallback#onSwipeStarted(). // ^^^^^^^^^^^^^^^ definition local 37 -// documentation ```java\nint adapterPosition\n``` +// display_name adapterPosition +// signature_documentation java int adapterPosition +// enclosing_symbol semanticdb maven . . com/airbnb/epoxy/EpoxyModelTouchCallback#onSwipeStarted(). } @@ -509,14 +634,20 @@ public void onSwipeStarted(T model, View itemView, int adapterPosition) { // ^^^^^^^^ reference semanticdb maven jdk 11 java/lang/Override# public void onSwipeReleased(T model, View itemView) { // ^^^^^^^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/EpoxyModelTouchCallback#onSwipeReleased(). -// documentation ```java\n@Override\npublic void onSwipeReleased(T model, unresolved_type itemView)\n``` +// display_name onSwipeReleased +// signature_documentation java @Override\npublic void onSwipeReleased(T model, unresolved_type itemView) +// kind Method // relationship is_reference is_implementation semanticdb maven . . com/airbnb/epoxy/EpoxySwipeCallback#onSwipeReleased(). // ^ reference semanticdb maven . . com/airbnb/epoxy/EpoxyModelTouchCallback#[T] // ^^^^^ definition local 38 -// documentation ```java\nT model\n``` +// display_name model +// signature_documentation java T model +// enclosing_symbol semanticdb maven . . com/airbnb/epoxy/EpoxyModelTouchCallback#onSwipeReleased(). // ^^^^ reference semanticdb maven . . View# // ^^^^^^^^ definition local 39 -// documentation ```java\nunresolved_type itemView\n``` +// display_name itemView +// signature_documentation java unresolved_type itemView +// enclosing_symbol semanticdb maven . . com/airbnb/epoxy/EpoxyModelTouchCallback#onSwipeReleased(). } @@ -524,16 +655,24 @@ public void onSwipeReleased(T model, View itemView) { // ^^^^^^^^ reference semanticdb maven jdk 11 java/lang/Override# public void onDragStarted(T model, View itemView, int adapterPosition) { // ^^^^^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/EpoxyModelTouchCallback#onDragStarted(). -// documentation ```java\n@Override\npublic void onDragStarted(T model, unresolved_type itemView, int adapterPosition)\n``` +// display_name onDragStarted +// signature_documentation java @Override\npublic void onDragStarted(T model, unresolved_type itemView, int adapterPosition) +// kind Method // relationship is_reference is_implementation semanticdb maven . . com/airbnb/epoxy/EpoxyDragCallback#onDragStarted(). // ^ reference semanticdb maven . . com/airbnb/epoxy/EpoxyModelTouchCallback#[T] // ^^^^^ definition local 40 -// documentation ```java\nT model\n``` +// display_name model +// signature_documentation java T model +// enclosing_symbol semanticdb maven . . com/airbnb/epoxy/EpoxyModelTouchCallback#onDragStarted(). // ^^^^ reference semanticdb maven . . View# // ^^^^^^^^ definition local 41 -// documentation ```java\nunresolved_type itemView\n``` +// display_name itemView +// signature_documentation java unresolved_type itemView +// enclosing_symbol semanticdb maven . . com/airbnb/epoxy/EpoxyModelTouchCallback#onDragStarted(). // ^^^^^^^^^^^^^^^ definition local 42 -// documentation ```java\nint adapterPosition\n``` +// display_name adapterPosition +// signature_documentation java int adapterPosition +// enclosing_symbol semanticdb maven . . com/airbnb/epoxy/EpoxyModelTouchCallback#onDragStarted(). } @@ -541,14 +680,20 @@ public void onDragStarted(T model, View itemView, int adapterPosition) { // ^^^^^^^^ reference semanticdb maven jdk 11 java/lang/Override# public void onDragReleased(T model, View itemView) { // ^^^^^^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/EpoxyModelTouchCallback#onDragReleased(). -// documentation ```java\n@Override\npublic void onDragReleased(T model, unresolved_type itemView)\n``` +// display_name onDragReleased +// signature_documentation java @Override\npublic void onDragReleased(T model, unresolved_type itemView) +// kind Method // relationship is_reference is_implementation semanticdb maven . . com/airbnb/epoxy/EpoxyDragCallback#onDragReleased(). // ^ reference semanticdb maven . . com/airbnb/epoxy/EpoxyModelTouchCallback#[T] // ^^^^^ definition local 43 -// documentation ```java\nT model\n``` +// display_name model +// signature_documentation java T model +// enclosing_symbol semanticdb maven . . com/airbnb/epoxy/EpoxyModelTouchCallback#onDragReleased(). // ^^^^ reference semanticdb maven . . View# // ^^^^^^^^ definition local 44 -// documentation ```java\nunresolved_type itemView\n``` +// display_name itemView +// signature_documentation java unresolved_type itemView +// enclosing_symbol semanticdb maven . . com/airbnb/epoxy/EpoxyModelTouchCallback#onDragReleased(). } @@ -556,16 +701,22 @@ public void onDragReleased(T model, View itemView) { // ^^^^^^^^ reference semanticdb maven jdk 11 java/lang/Override# protected void clearView(final RecyclerView recyclerView, EpoxyViewHolder viewHolder) { // ^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/EpoxyModelTouchCallback#clearView(). -// documentation ```java\n@Override\nprotected void clearView(unresolved_type recyclerView, EpoxyViewHolder viewHolder)\n``` +// display_name clearView +// signature_documentation java @Override\nprotected void clearView(unresolved_type recyclerView, EpoxyViewHolder viewHolder) +// kind Method // relationship is_reference is_implementation semanticdb maven . . com/airbnb/epoxy/BaseEpoxyTouchCallback#clearView(). // relationship is_reference is_implementation semanticdb maven . . com/airbnb/epoxy/EpoxyTouchHelperCallback#clearView(). // relationship is_reference is_implementation semanticdb maven . . com/airbnb/epoxy/EpoxyTouchHelperCallback#clearView(+1). // ^^^^^^^^^^^^ reference semanticdb maven . . RecyclerView# // ^^^^^^^^^^^^ definition local 45 -// documentation ```java\nfinal unresolved_type recyclerView\n``` +// display_name recyclerView +// signature_documentation java final unresolved_type recyclerView +// enclosing_symbol semanticdb maven . . com/airbnb/epoxy/EpoxyModelTouchCallback#clearView(). // ^^^^^^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/EpoxyViewHolder# // ^^^^^^^^^^ definition local 46 -// documentation ```java\nEpoxyViewHolder viewHolder\n``` +// display_name viewHolder +// signature_documentation java EpoxyViewHolder viewHolder +// enclosing_symbol semanticdb maven . . com/airbnb/epoxy/EpoxyModelTouchCallback#clearView(). super.clearView(recyclerView, viewHolder); // ^^^^^ reference semanticdb maven . . com/airbnb/epoxy/EpoxyModelTouchCallback#super. // ^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/EpoxyTouchHelperCallback#clearView(). @@ -593,7 +744,10 @@ protected void clearView(final RecyclerView recyclerView, EpoxyViewHolder viewHo // ^^^^^^^^ reference semanticdb maven jdk 11 java/lang/Override# public void run() { // ^^^ definition local 48 -// documentation ```java\n@Override\npublic void run()\n``` +// display_name run +// signature_documentation java @Override\npublic void run() +// enclosing_symbol local 47 +// kind Method // relationship is_reference is_implementation semanticdb maven jdk 11 java/lang/Runnable#run(). clearRecyclerViewSelectionMarker(recyclerView); // ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/EpoxyModelTouchCallback#clearRecyclerViewSelectionMarker(). @@ -607,16 +761,22 @@ public void run() { // ^^^^^^^^ reference semanticdb maven jdk 11 java/lang/Override# public void clearView(T model, View itemView) { // ^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/EpoxyModelTouchCallback#clearView(+1). -// documentation ```java\n@Override\npublic void clearView(T model, unresolved_type itemView)\n``` +// display_name clearView +// signature_documentation java @Override\npublic void clearView(T model, unresolved_type itemView) +// kind Method // relationship is_reference is_implementation semanticdb maven . . com/airbnb/epoxy/BaseEpoxyTouchCallback#clearView(). // relationship is_reference is_implementation semanticdb maven . . com/airbnb/epoxy/EpoxyTouchHelperCallback#clearView(). // relationship is_reference is_implementation semanticdb maven . . com/airbnb/epoxy/EpoxyTouchHelperCallback#clearView(+1). // ^ reference semanticdb maven . . com/airbnb/epoxy/EpoxyModelTouchCallback#[T] // ^^^^^ definition local 49 -// documentation ```java\nT model\n``` +// display_name model +// signature_documentation java T model +// enclosing_symbol semanticdb maven . . com/airbnb/epoxy/EpoxyModelTouchCallback#clearView(+1). // ^^^^ reference semanticdb maven . . View# // ^^^^^^^^ definition local 50 -// documentation ```java\nunresolved_type itemView\n``` +// display_name itemView +// signature_documentation java unresolved_type itemView +// enclosing_symbol semanticdb maven . . com/airbnb/epoxy/EpoxyModelTouchCallback#clearView(+1). } @@ -624,27 +784,43 @@ public void clearView(T model, View itemView) { // ^^^^^^^^ reference semanticdb maven jdk 11 java/lang/Override# protected void onChildDraw(Canvas c, RecyclerView recyclerView, EpoxyViewHolder viewHolder, // ^^^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/EpoxyModelTouchCallback#onChildDraw(). -// documentation ```java\n@Override\nprotected void onChildDraw(unresolved_type c, unresolved_type recyclerView, EpoxyViewHolder viewHolder, float dX, float dY, int actionState, boolean isCurrentlyActive)\n``` +// display_name onChildDraw +// signature_documentation java @Override\nprotected void onChildDraw(unresolved_type c, unresolved_type recyclerView, EpoxyViewHolder viewHolder, float dX, float dY, int actionState, boolean isCurrentlyActive) +// kind Method // relationship is_reference is_implementation semanticdb maven . . com/airbnb/epoxy/EpoxyTouchHelperCallback#onChildDraw(). // relationship is_reference is_implementation semanticdb maven . . com/airbnb/epoxy/EpoxyTouchHelperCallback#onChildDraw(+1). // ^^^^^^ reference semanticdb maven . . Canvas# // ^ definition local 51 -// documentation ```java\nunresolved_type c\n``` +// display_name c +// signature_documentation java unresolved_type c +// enclosing_symbol semanticdb maven . . com/airbnb/epoxy/EpoxyModelTouchCallback#onChildDraw(). // ^^^^^^^^^^^^ reference semanticdb maven . . RecyclerView# // ^^^^^^^^^^^^ definition local 52 -// documentation ```java\nunresolved_type recyclerView\n``` +// display_name recyclerView +// signature_documentation java unresolved_type recyclerView +// enclosing_symbol semanticdb maven . . com/airbnb/epoxy/EpoxyModelTouchCallback#onChildDraw(). // ^^^^^^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/EpoxyViewHolder# // ^^^^^^^^^^ definition local 53 -// documentation ```java\nEpoxyViewHolder viewHolder\n``` +// display_name viewHolder +// signature_documentation java EpoxyViewHolder viewHolder +// enclosing_symbol semanticdb maven . . com/airbnb/epoxy/EpoxyModelTouchCallback#onChildDraw(). float dX, float dY, int actionState, boolean isCurrentlyActive) { // ^^ definition local 54 -// documentation ```java\nfloat dX\n``` +// display_name dX +// signature_documentation java float dX +// enclosing_symbol semanticdb maven . . com/airbnb/epoxy/EpoxyModelTouchCallback#onChildDraw(). // ^^ definition local 55 -// documentation ```java\nfloat dY\n``` +// display_name dY +// signature_documentation java float dY +// enclosing_symbol semanticdb maven . . com/airbnb/epoxy/EpoxyModelTouchCallback#onChildDraw(). // ^^^^^^^^^^^ definition local 56 -// documentation ```java\nint actionState\n``` +// display_name actionState +// signature_documentation java int actionState +// enclosing_symbol semanticdb maven . . com/airbnb/epoxy/EpoxyModelTouchCallback#onChildDraw(). // ^^^^^^^^^^^^^^^^^ definition local 57 -// documentation ```java\nboolean isCurrentlyActive\n``` +// display_name isCurrentlyActive +// signature_documentation java boolean isCurrentlyActive +// enclosing_symbol semanticdb maven . . com/airbnb/epoxy/EpoxyModelTouchCallback#onChildDraw(). super.onChildDraw(c, recyclerView, viewHolder, dX, dY, actionState, isCurrentlyActive); // ^^^^^ reference semanticdb maven . . com/airbnb/epoxy/EpoxyModelTouchCallback#super. // ^^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/EpoxyTouchHelperCallback#onChildDraw(). @@ -659,7 +835,10 @@ protected void onChildDraw(Canvas c, RecyclerView recyclerView, EpoxyViewHolder EpoxyModel model = viewHolder.getModel(); // ^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/EpoxyModel# // ^^^^^ definition local 58 -// documentation ```java\nEpoxyModel model\n``` +// display_name model +// signature_documentation java EpoxyModel model +// enclosing_symbol semanticdb maven . . com/airbnb/epoxy/EpoxyModelTouchCallback#onChildDraw(). +// kind Variable // ^^^^^^^^^^ reference local 53 // ^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/EpoxyViewHolder#getModel(). if (!isTouchableModel(model)) { @@ -675,13 +854,19 @@ protected void onChildDraw(Canvas c, RecyclerView recyclerView, EpoxyViewHolder View itemView = viewHolder.itemView; // ^^^^ reference semanticdb maven . . View# // ^^^^^^^^ definition local 59 -// documentation ```java\nunresolved_type itemView\n``` +// display_name itemView +// signature_documentation java unresolved_type itemView +// enclosing_symbol semanticdb maven . . com/airbnb/epoxy/EpoxyModelTouchCallback#onChildDraw(). +// kind Variable // ^^^^^^^^^^ reference local 53 // ^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/EpoxyViewHolder#itemView# float swipeProgress; // ^^^^^^^^^^^^^ definition local 60 -// documentation ```java\nfloat swipeProgress\n``` +// display_name swipeProgress +// signature_documentation java float swipeProgress +// enclosing_symbol semanticdb maven . . com/airbnb/epoxy/EpoxyModelTouchCallback#onChildDraw(). +// kind Variable if (Math.abs(dX) > Math.abs(dY)) { // ^^^^ reference semanticdb maven jdk 11 java/lang/Math# // ^^^ reference semanticdb maven jdk 11 java/lang/Math#abs(+2). @@ -705,7 +890,10 @@ protected void onChildDraw(Canvas c, RecyclerView recyclerView, EpoxyViewHolder // Clamp to 1/-1 in the case of side padding where the view can be swiped extra float clampedProgress = Math.max(-1f, Math.min(1f, swipeProgress)); // ^^^^^^^^^^^^^^^ definition local 61 -// documentation ```java\nfloat clampedProgress\n``` +// display_name clampedProgress +// signature_documentation java float clampedProgress +// enclosing_symbol semanticdb maven . . com/airbnb/epoxy/EpoxyModelTouchCallback#onChildDraw(). +// kind Variable // ^^^^ reference semanticdb maven jdk 11 java/lang/Math# // ^^^ reference semanticdb maven jdk 11 java/lang/Math#max(+2). // ^^^^ reference semanticdb maven jdk 11 java/lang/Math# @@ -726,20 +914,30 @@ protected void onChildDraw(Canvas c, RecyclerView recyclerView, EpoxyViewHolder // ^^^^^^^^ reference semanticdb maven jdk 11 java/lang/Override# public void onSwipeProgressChanged(T model, View itemView, float swipeProgress, // ^^^^^^^^^^^^^^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/EpoxyModelTouchCallback#onSwipeProgressChanged(). -// documentation ```java\n@Override\npublic void onSwipeProgressChanged(T model, unresolved_type itemView, float swipeProgress, unresolved_type canvas)\n``` +// display_name onSwipeProgressChanged +// signature_documentation java @Override\npublic void onSwipeProgressChanged(T model, unresolved_type itemView, float swipeProgress, unresolved_type canvas) +// kind Method // relationship is_reference is_implementation semanticdb maven . . com/airbnb/epoxy/EpoxySwipeCallback#onSwipeProgressChanged(). // ^ reference semanticdb maven . . com/airbnb/epoxy/EpoxyModelTouchCallback#[T] // ^^^^^ definition local 62 -// documentation ```java\nT model\n``` +// display_name model +// signature_documentation java T model +// enclosing_symbol semanticdb maven . . com/airbnb/epoxy/EpoxyModelTouchCallback#onSwipeProgressChanged(). // ^^^^ reference semanticdb maven . . View# // ^^^^^^^^ definition local 63 -// documentation ```java\nunresolved_type itemView\n``` +// display_name itemView +// signature_documentation java unresolved_type itemView +// enclosing_symbol semanticdb maven . . com/airbnb/epoxy/EpoxyModelTouchCallback#onSwipeProgressChanged(). // ^^^^^^^^^^^^^ definition local 64 -// documentation ```java\nfloat swipeProgress\n``` +// display_name swipeProgress +// signature_documentation java float swipeProgress +// enclosing_symbol semanticdb maven . . com/airbnb/epoxy/EpoxyModelTouchCallback#onSwipeProgressChanged(). Canvas canvas) { // ^^^^^^ reference semanticdb maven . . Canvas# // ^^^^^^ definition local 65 -// documentation ```java\nunresolved_type canvas\n``` +// display_name canvas +// signature_documentation java unresolved_type canvas +// enclosing_symbol semanticdb maven . . com/airbnb/epoxy/EpoxyModelTouchCallback#onSwipeProgressChanged(). } } diff --git a/tests/snapshots/src/main/generated/com/airbnb/epoxy/EpoxyModelWithHolder.java b/tests/snapshots/src/main/generated/com/airbnb/epoxy/EpoxyModelWithHolder.java index 7f54407cd..2173fea47 100644 --- a/tests/snapshots/src/main/generated/com/airbnb/epoxy/EpoxyModelWithHolder.java +++ b/tests/snapshots/src/main/generated/com/airbnb/epoxy/EpoxyModelWithHolder.java @@ -36,25 +36,35 @@ */ public abstract class EpoxyModelWithHolder extends EpoxyModel { // ^^^^^^^^^^^^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/EpoxyModelWithHolder# -// documentation ```java\npublic abstract class EpoxyModelWithHolder\n``` +// display_name EpoxyModelWithHolder +// signature_documentation java public abstract class EpoxyModelWithHolder +// kind Class // documentation A version of {@link com.airbnb.epoxy.EpoxyModel} that allows you to use a view holder pattern\n instead of a specific view when binding to your model.\n // relationship is_implementation semanticdb maven . . com/airbnb/epoxy/EpoxyModel# // ^ definition semanticdb maven . . com/airbnb/epoxy/EpoxyModelWithHolder#[T] -// documentation ```java\nT extends EpoxyHolder\n``` +// display_name T +// signature_documentation java T extends EpoxyHolder +// kind TypeParameter // ^^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/EpoxyHolder# // ^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/EpoxyModel# // ^ reference semanticdb maven . . com/airbnb/epoxy/EpoxyModelWithHolder#[T] public EpoxyModelWithHolder() { // ^^^^^^^^^^^^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/EpoxyModelWithHolder#``(). -// documentation ```java\npublic EpoxyModelWithHolder()\n``` +// display_name +// signature_documentation java public EpoxyModelWithHolder() +// kind Constructor } public EpoxyModelWithHolder(long id) { // ^^^^^^^^^^^^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/EpoxyModelWithHolder#``(+1). -// documentation ```java\npublic EpoxyModelWithHolder(long id)\n``` +// display_name +// signature_documentation java public EpoxyModelWithHolder(long id) +// kind Constructor // ^^ definition local 0 -// documentation ```java\nlong id\n``` +// display_name id +// signature_documentation java long id +// enclosing_symbol semanticdb maven . . com/airbnb/epoxy/EpoxyModelWithHolder#``(+1). super(id); // ^^^^^ reference semanticdb maven . . com/airbnb/epoxy/EpoxyModel#``(). // ^^ reference local 0 @@ -64,25 +74,33 @@ public EpoxyModelWithHolder(long id) { protected abstract T createNewHolder(@NonNull ViewParent parent); // ^ reference semanticdb maven . . com/airbnb/epoxy/EpoxyModelWithHolder#[T] // ^^^^^^^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/EpoxyModelWithHolder#createNewHolder(). -// documentation ```java\nprotected abstract T createNewHolder(unresolved_type parent)\n``` +// display_name createNewHolder +// signature_documentation java protected abstract T createNewHolder(unresolved_type parent) +// kind AbstractMethod // documentation This should return a new instance of your {@link com.airbnb.epoxy.EpoxyHolder} class. // relationship is_reference is_implementation semanticdb maven . . com/airbnb/epoxy/EpoxyModelGroup#createNewHolder(). // ^^^^^^^ reference semanticdb maven maven/androidx.annotation/annotation 1.1.0 androidx/annotation/NonNull# // ^^^^^^^^^^ reference semanticdb maven . . ViewParent# // ^^^^^^ definition local 1 -// documentation ```java\n@NonNull\nunresolved_type parent\n``` +// display_name parent +// signature_documentation java @NonNull\nunresolved_type parent +// enclosing_symbol semanticdb maven . . com/airbnb/epoxy/EpoxyModelWithHolder#createNewHolder(). @Override // ^^^^^^^^ reference semanticdb maven jdk 11 java/lang/Override# public void bind(@NonNull T holder) { // ^^^^ definition semanticdb maven . . com/airbnb/epoxy/EpoxyModelWithHolder#bind(). -// documentation ```java\n@Override\npublic void bind(T holder)\n``` +// display_name bind +// signature_documentation java @Override\npublic void bind(T holder) +// kind Method // relationship is_reference is_implementation semanticdb maven . . com/airbnb/epoxy/EpoxyModel#bind(). // relationship is_reference is_implementation semanticdb maven . . com/airbnb/epoxy/EpoxyModelGroup#bind(). // ^^^^^^^ reference semanticdb maven maven/androidx.annotation/annotation 1.1.0 androidx/annotation/NonNull# // ^ reference semanticdb maven . . com/airbnb/epoxy/EpoxyModelWithHolder#[T] // ^^^^^^ definition local 2 -// documentation ```java\n@NonNull\nT holder\n``` +// display_name holder +// signature_documentation java @NonNull\nT holder +// enclosing_symbol semanticdb maven . . com/airbnb/epoxy/EpoxyModelWithHolder#bind(). super.bind(holder); // ^^^^^ reference semanticdb maven . . com/airbnb/epoxy/EpoxyModelWithHolder#super. // ^^^^ reference semanticdb maven . . com/airbnb/epoxy/EpoxyModel#bind(). @@ -93,18 +111,24 @@ public void bind(@NonNull T holder) { // ^^^^^^^^ reference semanticdb maven jdk 11 java/lang/Override# public void bind(@NonNull T holder, @NonNull List payloads) { // ^^^^ definition semanticdb maven . . com/airbnb/epoxy/EpoxyModelWithHolder#bind(+1). -// documentation ```java\n@Override\npublic void bind(T holder, List payloads)\n``` +// display_name bind +// signature_documentation java @Override\npublic void bind(T holder, List payloads) +// kind Method // relationship is_reference is_implementation semanticdb maven . . com/airbnb/epoxy/EpoxyModel#bind(+1). // relationship is_reference is_implementation semanticdb maven . . com/airbnb/epoxy/EpoxyModelGroup#bind(+1). // ^^^^^^^ reference semanticdb maven maven/androidx.annotation/annotation 1.1.0 androidx/annotation/NonNull# // ^ reference semanticdb maven . . com/airbnb/epoxy/EpoxyModelWithHolder#[T] // ^^^^^^ definition local 3 -// documentation ```java\n@NonNull\nT holder\n``` +// display_name holder +// signature_documentation java @NonNull\nT holder +// enclosing_symbol semanticdb maven . . com/airbnb/epoxy/EpoxyModelWithHolder#bind(+1). // ^^^^^^^ reference semanticdb maven maven/androidx.annotation/annotation 1.1.0 androidx/annotation/NonNull# // ^^^^ reference semanticdb maven jdk 11 java/util/List# // ^^^^^^ reference semanticdb maven jdk 11 java/lang/Object# // ^^^^^^^^ definition local 4 -// documentation ```java\n@NonNull\nList payloads\n``` +// display_name payloads +// signature_documentation java @NonNull\nList payloads +// enclosing_symbol semanticdb maven . . com/airbnb/epoxy/EpoxyModelWithHolder#bind(+1). super.bind(holder, payloads); // ^^^^^ reference semanticdb maven . . com/airbnb/epoxy/EpoxyModelWithHolder#super. // ^^^^ reference semanticdb maven . . com/airbnb/epoxy/EpoxyModel#bind(+1). @@ -116,17 +140,23 @@ public void bind(@NonNull T holder, @NonNull List payloads) { // ^^^^^^^^ reference semanticdb maven jdk 11 java/lang/Override# public void bind(@NonNull T holder, @NonNull EpoxyModel previouslyBoundModel) { // ^^^^ definition semanticdb maven . . com/airbnb/epoxy/EpoxyModelWithHolder#bind(+2). -// documentation ```java\n@Override\npublic void bind(T holder, EpoxyModel previouslyBoundModel)\n``` +// display_name bind +// signature_documentation java @Override\npublic void bind(T holder, EpoxyModel previouslyBoundModel) +// kind Method // relationship is_reference is_implementation semanticdb maven . . com/airbnb/epoxy/EpoxyModel#bind(+2). // relationship is_reference is_implementation semanticdb maven . . com/airbnb/epoxy/EpoxyModelGroup#bind(+2). // ^^^^^^^ reference semanticdb maven maven/androidx.annotation/annotation 1.1.0 androidx/annotation/NonNull# // ^ reference semanticdb maven . . com/airbnb/epoxy/EpoxyModelWithHolder#[T] // ^^^^^^ definition local 5 -// documentation ```java\n@NonNull\nT holder\n``` +// display_name holder +// signature_documentation java @NonNull\nT holder +// enclosing_symbol semanticdb maven . . com/airbnb/epoxy/EpoxyModelWithHolder#bind(+2). // ^^^^^^^ reference semanticdb maven maven/androidx.annotation/annotation 1.1.0 androidx/annotation/NonNull# // ^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/EpoxyModel# // ^^^^^^^^^^^^^^^^^^^^ definition local 6 -// documentation ```java\n@NonNull\nEpoxyModel previouslyBoundModel\n``` +// display_name previouslyBoundModel +// signature_documentation java @NonNull\nEpoxyModel previouslyBoundModel +// enclosing_symbol semanticdb maven . . com/airbnb/epoxy/EpoxyModelWithHolder#bind(+2). super.bind(holder, previouslyBoundModel); // ^^^^^ reference semanticdb maven . . com/airbnb/epoxy/EpoxyModelWithHolder#super. // ^^^^ reference semanticdb maven . . com/airbnb/epoxy/EpoxyModel#bind(+2). @@ -138,13 +168,17 @@ public void bind(@NonNull T holder, @NonNull EpoxyModel previouslyBoundModel) // ^^^^^^^^ reference semanticdb maven jdk 11 java/lang/Override# public void unbind(@NonNull T holder) { // ^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/EpoxyModelWithHolder#unbind(). -// documentation ```java\n@Override\npublic void unbind(T holder)\n``` +// display_name unbind +// signature_documentation java @Override\npublic void unbind(T holder) +// kind Method // relationship is_reference is_implementation semanticdb maven . . com/airbnb/epoxy/EpoxyModel#unbind(). // relationship is_reference is_implementation semanticdb maven . . com/airbnb/epoxy/EpoxyModelGroup#unbind(). // ^^^^^^^ reference semanticdb maven maven/androidx.annotation/annotation 1.1.0 androidx/annotation/NonNull# // ^ reference semanticdb maven . . com/airbnb/epoxy/EpoxyModelWithHolder#[T] // ^^^^^^ definition local 7 -// documentation ```java\n@NonNull\nT holder\n``` +// display_name holder +// signature_documentation java @NonNull\nT holder +// enclosing_symbol semanticdb maven . . com/airbnb/epoxy/EpoxyModelWithHolder#unbind(). super.unbind(holder); // ^^^^^ reference semanticdb maven . . com/airbnb/epoxy/EpoxyModelWithHolder#super. // ^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/EpoxyModel#unbind(). @@ -156,15 +190,21 @@ public void unbind(@NonNull T holder) { // ^^^^^^^^ reference semanticdb maven jdk 11 java/lang/Override# public void onVisibilityStateChanged(@Visibility int visibilityState, @NonNull T holder) { // ^^^^^^^^^^^^^^^^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/EpoxyModelWithHolder#onVisibilityStateChanged(). -// documentation ```java\n@Override\npublic void onVisibilityStateChanged(int visibilityState, T holder)\n``` +// display_name onVisibilityStateChanged +// signature_documentation java @Override\npublic void onVisibilityStateChanged(int visibilityState, T holder) +// kind Method // relationship is_reference is_implementation semanticdb maven . . com/airbnb/epoxy/EpoxyModel#onVisibilityStateChanged(). // ^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/VisibilityState#Visibility# // ^^^^^^^^^^^^^^^ definition local 8 -// documentation ```java\n@Visibility\nint visibilityState\n``` +// display_name visibilityState +// signature_documentation java @Visibility\nint visibilityState +// enclosing_symbol semanticdb maven . . com/airbnb/epoxy/EpoxyModelWithHolder#onVisibilityStateChanged(). // ^^^^^^^ reference semanticdb maven maven/androidx.annotation/annotation 1.1.0 androidx/annotation/NonNull# // ^ reference semanticdb maven . . com/airbnb/epoxy/EpoxyModelWithHolder#[T] // ^^^^^^ definition local 9 -// documentation ```java\n@NonNull\nT holder\n``` +// display_name holder +// signature_documentation java @NonNull\nT holder +// enclosing_symbol semanticdb maven . . com/airbnb/epoxy/EpoxyModelWithHolder#onVisibilityStateChanged(). super.onVisibilityStateChanged(visibilityState, holder); // ^^^^^ reference semanticdb maven . . com/airbnb/epoxy/EpoxyModelWithHolder#super. // ^^^^^^^^^^^^^^^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/EpoxyModel#onVisibilityStateChanged(). @@ -176,32 +216,44 @@ public void onVisibilityStateChanged(@Visibility int visibilityState, @NonNull T // ^^^^^^^^ reference semanticdb maven jdk 11 java/lang/Override# public void onVisibilityChanged( // ^^^^^^^^^^^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/EpoxyModelWithHolder#onVisibilityChanged(). -// documentation ```java\n@Override\npublic void onVisibilityChanged(float percentVisibleHeight, float percentVisibleWidth, int visibleHeight, int visibleWidth, T holder)\n``` +// display_name onVisibilityChanged +// signature_documentation java @Override\npublic void onVisibilityChanged(float percentVisibleHeight, float percentVisibleWidth, int visibleHeight, int visibleWidth, T holder) +// kind Method // relationship is_reference is_implementation semanticdb maven . . com/airbnb/epoxy/EpoxyModel#onVisibilityChanged(). @FloatRange(from = 0, to = 100) float percentVisibleHeight, // ^^^^^^^^^^ reference semanticdb maven maven/androidx.annotation/annotation 1.1.0 androidx/annotation/FloatRange# // ^^^^ reference semanticdb maven maven/androidx.annotation/annotation 1.1.0 androidx/annotation/FloatRange#from(). // ^^ reference semanticdb maven maven/androidx.annotation/annotation 1.1.0 androidx/annotation/FloatRange#to(). // ^^^^^^^^^^^^^^^^^^^^ definition local 10 -// documentation ```java\n@FloatRange(from = 0, to = 100)\nfloat percentVisibleHeight\n``` +// display_name percentVisibleHeight +// signature_documentation java @FloatRange(from = 0, to = 100)\nfloat percentVisibleHeight +// enclosing_symbol semanticdb maven . . com/airbnb/epoxy/EpoxyModelWithHolder#onVisibilityChanged(). @FloatRange(from = 0, to = 100) float percentVisibleWidth, // ^^^^^^^^^^ reference semanticdb maven maven/androidx.annotation/annotation 1.1.0 androidx/annotation/FloatRange# // ^^^^ reference semanticdb maven maven/androidx.annotation/annotation 1.1.0 androidx/annotation/FloatRange#from(). // ^^ reference semanticdb maven maven/androidx.annotation/annotation 1.1.0 androidx/annotation/FloatRange#to(). // ^^^^^^^^^^^^^^^^^^^ definition local 11 -// documentation ```java\n@FloatRange(from = 0, to = 100)\nfloat percentVisibleWidth\n``` +// display_name percentVisibleWidth +// signature_documentation java @FloatRange(from = 0, to = 100)\nfloat percentVisibleWidth +// enclosing_symbol semanticdb maven . . com/airbnb/epoxy/EpoxyModelWithHolder#onVisibilityChanged(). @Px int visibleHeight, @Px int visibleWidth, // ^^ reference semanticdb maven maven/androidx.annotation/annotation 1.1.0 androidx/annotation/Px# // ^^^^^^^^^^^^^ definition local 12 -// documentation ```java\n@Px\nint visibleHeight\n``` +// display_name visibleHeight +// signature_documentation java @Px\nint visibleHeight +// enclosing_symbol semanticdb maven . . com/airbnb/epoxy/EpoxyModelWithHolder#onVisibilityChanged(). // ^^ reference semanticdb maven maven/androidx.annotation/annotation 1.1.0 androidx/annotation/Px# // ^^^^^^^^^^^^ definition local 13 -// documentation ```java\n@Px\nint visibleWidth\n``` +// display_name visibleWidth +// signature_documentation java @Px\nint visibleWidth +// enclosing_symbol semanticdb maven . . com/airbnb/epoxy/EpoxyModelWithHolder#onVisibilityChanged(). @NonNull T holder) { // ^^^^^^^ reference semanticdb maven maven/androidx.annotation/annotation 1.1.0 androidx/annotation/NonNull# // ^ reference semanticdb maven . . com/airbnb/epoxy/EpoxyModelWithHolder#[T] // ^^^^^^ definition local 14 -// documentation ```java\n@NonNull\nT holder\n``` +// display_name holder +// signature_documentation java @NonNull\nT holder +// enclosing_symbol semanticdb maven . . com/airbnb/epoxy/EpoxyModelWithHolder#onVisibilityChanged(). super.onVisibilityChanged( // ^^^^^ reference semanticdb maven . . com/airbnb/epoxy/EpoxyModelWithHolder#super. // ^^^^^^^^^^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/EpoxyModel#onVisibilityChanged(). @@ -219,11 +271,15 @@ public void onVisibilityChanged( // ^^^^^^^^ reference semanticdb maven jdk 11 java/lang/Override# public boolean onFailedToRecycleView(T holder) { // ^^^^^^^^^^^^^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/EpoxyModelWithHolder#onFailedToRecycleView(). -// documentation ```java\n@Override\npublic boolean onFailedToRecycleView(T holder)\n``` +// display_name onFailedToRecycleView +// signature_documentation java @Override\npublic boolean onFailedToRecycleView(T holder) +// kind Method // relationship is_reference is_implementation semanticdb maven . . com/airbnb/epoxy/EpoxyModel#onFailedToRecycleView(). // ^ reference semanticdb maven . . com/airbnb/epoxy/EpoxyModelWithHolder#[T] // ^^^^^^ definition local 15 -// documentation ```java\nT holder\n``` +// display_name holder +// signature_documentation java T holder +// enclosing_symbol semanticdb maven . . com/airbnb/epoxy/EpoxyModelWithHolder#onFailedToRecycleView(). return super.onFailedToRecycleView(holder); // ^^^^^ reference semanticdb maven . . com/airbnb/epoxy/EpoxyModelWithHolder#super. // ^^^^^^^^^^^^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/EpoxyModel#onFailedToRecycleView(). @@ -234,12 +290,16 @@ public boolean onFailedToRecycleView(T holder) { // ^^^^^^^^ reference semanticdb maven jdk 11 java/lang/Override# public void onViewAttachedToWindow(T holder) { // ^^^^^^^^^^^^^^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/EpoxyModelWithHolder#onViewAttachedToWindow(). -// documentation ```java\n@Override\npublic void onViewAttachedToWindow(T holder)\n``` +// display_name onViewAttachedToWindow +// signature_documentation java @Override\npublic void onViewAttachedToWindow(T holder) +// kind Method // relationship is_reference is_implementation semanticdb maven . . com/airbnb/epoxy/EpoxyModel#onViewAttachedToWindow(). // relationship is_reference is_implementation semanticdb maven . . com/airbnb/epoxy/EpoxyModelGroup#onViewAttachedToWindow(). // ^ reference semanticdb maven . . com/airbnb/epoxy/EpoxyModelWithHolder#[T] // ^^^^^^ definition local 16 -// documentation ```java\nT holder\n``` +// display_name holder +// signature_documentation java T holder +// enclosing_symbol semanticdb maven . . com/airbnb/epoxy/EpoxyModelWithHolder#onViewAttachedToWindow(). super.onViewAttachedToWindow(holder); // ^^^^^ reference semanticdb maven . . com/airbnb/epoxy/EpoxyModelWithHolder#super. // ^^^^^^^^^^^^^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/EpoxyModel#onViewAttachedToWindow(). @@ -250,12 +310,16 @@ public void onViewAttachedToWindow(T holder) { // ^^^^^^^^ reference semanticdb maven jdk 11 java/lang/Override# public void onViewDetachedFromWindow(T holder) { // ^^^^^^^^^^^^^^^^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/EpoxyModelWithHolder#onViewDetachedFromWindow(). -// documentation ```java\n@Override\npublic void onViewDetachedFromWindow(T holder)\n``` +// display_name onViewDetachedFromWindow +// signature_documentation java @Override\npublic void onViewDetachedFromWindow(T holder) +// kind Method // relationship is_reference is_implementation semanticdb maven . . com/airbnb/epoxy/EpoxyModel#onViewDetachedFromWindow(). // relationship is_reference is_implementation semanticdb maven . . com/airbnb/epoxy/EpoxyModelGroup#onViewDetachedFromWindow(). // ^ reference semanticdb maven . . com/airbnb/epoxy/EpoxyModelWithHolder#[T] // ^^^^^^ definition local 17 -// documentation ```java\nT holder\n``` +// display_name holder +// signature_documentation java T holder +// enclosing_symbol semanticdb maven . . com/airbnb/epoxy/EpoxyModelWithHolder#onViewDetachedFromWindow(). super.onViewDetachedFromWindow(holder); // ^^^^^ reference semanticdb maven . . com/airbnb/epoxy/EpoxyModelWithHolder#super. // ^^^^^^^^^^^^^^^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/EpoxyModel#onViewDetachedFromWindow(). diff --git a/tests/snapshots/src/main/generated/com/airbnb/epoxy/EpoxyModelWithView.java b/tests/snapshots/src/main/generated/com/airbnb/epoxy/EpoxyModelWithView.java index ddf437e2a..470891095 100644 --- a/tests/snapshots/src/main/generated/com/airbnb/epoxy/EpoxyModelWithView.java +++ b/tests/snapshots/src/main/generated/com/airbnb/epoxy/EpoxyModelWithView.java @@ -36,13 +36,19 @@ */ public abstract class EpoxyModelWithView extends EpoxyModel { // ^^^^^^^^^^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/EpoxyModelWithView# -// documentation ```java\npublic abstract class EpoxyModelWithView\n``` +// display_name EpoxyModelWithView +// signature_documentation java public abstract class EpoxyModelWithView +// kind Class // documentation A model that allows its view to be built programmatically instead of by inflating a layout\n resource. Just implement {@link #buildView} so the adapter can create a new view for this model\n when needed.\n

\n {@link #getViewType()} is used by the adapter to know how to reuse views for this model. This\n means that all models that return the same type should be able to share the same view, and the\n view won't be shared with models of any other type.\n

\n If it is left unimplemented then at runtime a unique view type will be created to use for all\n models of that class. The generated view type will be negative so that it cannot collide with\n values from resource files, which are used in normal Epoxy models. If you would like to share\n the same view between models of different classes you can have those classes return the same view\n type. A good way to manually create a view type value is by creating an R.id. value in an ids\n resource file.\n // relationship is_implementation semanticdb maven . . com/airbnb/epoxy/EpoxyModel# // ^^^^^^^^^^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/EpoxyModelWithView#``(). -// documentation ```java\npublic EpoxyModelWithView()\n``` +// display_name +// signature_documentation java public EpoxyModelWithView() +// kind Constructor // ^ definition semanticdb maven . . com/airbnb/epoxy/EpoxyModelWithView#[T] -// documentation ```java\nT extends unresolved_type\n``` +// display_name T +// signature_documentation java T extends unresolved_type +// kind TypeParameter // ^^^^ reference semanticdb maven . . View# // ^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/EpoxyModel# // ^ reference semanticdb maven . . com/airbnb/epoxy/EpoxyModelWithView#[T] @@ -57,7 +63,9 @@ public abstract class EpoxyModelWithView extends EpoxyModel { // ^^^^^^^^ reference semanticdb maven jdk 11 java/lang/Override# protected int getViewType() { // ^^^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/EpoxyModelWithView#getViewType(). -// documentation ```java\n@Override\nprotected int getViewType()\n``` +// display_name getViewType +// signature_documentation java @Override\nprotected int getViewType() +// kind Method // documentation Get the view type associated with this model's view. Any models with the same view type will\n have views recycled between them.\n\n @see androidx.recyclerview.widget.RecyclerView.Adapter#getItemViewType(int)\n // relationship is_reference is_implementation semanticdb maven . . com/airbnb/epoxy/EpoxyModel#getViewType(). return 0; @@ -74,19 +82,25 @@ protected int getViewType() { protected abstract T buildView(@NonNull ViewGroup parent); // ^ reference semanticdb maven . . com/airbnb/epoxy/EpoxyModelWithView#[T] // ^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/EpoxyModelWithView#buildView(). -// documentation ```java\n@Override\nprotected abstract T buildView(unresolved_type parent)\n``` +// display_name buildView +// signature_documentation java @Override\nprotected abstract T buildView(unresolved_type parent) +// kind AbstractMethod // documentation Create and return a new instance of a view for this model. If no layout params are set on the\n returned view then default layout params will be used.\n\n @param parent The parent ViewGroup that the returned view will be added to.\n // relationship is_reference is_implementation semanticdb maven . . com/airbnb/epoxy/EpoxyModel#buildView(). // ^^^^^^^ reference semanticdb maven maven/androidx.annotation/annotation 1.1.0 androidx/annotation/NonNull# // ^^^^^^^^^ reference semanticdb maven . . ViewGroup# // ^^^^^^ definition local 0 -// documentation ```java\n@NonNull\nunresolved_type parent\n``` +// display_name parent +// signature_documentation java @NonNull\nunresolved_type parent +// enclosing_symbol semanticdb maven . . com/airbnb/epoxy/EpoxyModelWithView#buildView(). @Override // ^^^^^^^^ reference semanticdb maven jdk 11 java/lang/Override# protected final int getDefaultLayout() { // ^^^^^^^^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/EpoxyModelWithView#getDefaultLayout(). -// documentation ```java\n@Override\nprotected final int getDefaultLayout()\n``` +// display_name getDefaultLayout +// signature_documentation java @Override\nprotected final int getDefaultLayout() +// kind Method // relationship is_reference is_implementation semanticdb maven . . com/airbnb/epoxy/EpoxyModel#getDefaultLayout(). throw new UnsupportedOperationException( // ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ reference semanticdb maven jdk 11 java/lang/UnsupportedOperationException#``(+1). @@ -99,11 +113,15 @@ public EpoxyModel layout(@LayoutRes int layoutRes) { // ^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/EpoxyModel# // ^ reference semanticdb maven . . com/airbnb/epoxy/EpoxyModelWithView#[T] // ^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/EpoxyModelWithView#layout(). -// documentation ```java\n@Override\npublic EpoxyModel layout(int layoutRes)\n``` +// display_name layout +// signature_documentation java @Override\npublic EpoxyModel layout(int layoutRes) +// kind Method // relationship is_reference is_implementation semanticdb maven . . com/airbnb/epoxy/EpoxyModel#layout(). // ^^^^^^^^^ reference semanticdb maven maven/androidx.annotation/annotation 1.1.0 androidx/annotation/LayoutRes# // ^^^^^^^^^ definition local 1 -// documentation ```java\n@LayoutRes\nint layoutRes\n``` +// display_name layoutRes +// signature_documentation java @LayoutRes\nint layoutRes +// enclosing_symbol semanticdb maven . . com/airbnb/epoxy/EpoxyModelWithView#layout(). throw new UnsupportedOperationException( // ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ reference semanticdb maven jdk 11 java/lang/UnsupportedOperationException#``(+1). "Layout resources are unsupported. Views must be created with `buildView`"); diff --git a/tests/snapshots/src/main/generated/com/airbnb/epoxy/EpoxyRecyclerView.kt b/tests/snapshots/src/main/generated/com/airbnb/epoxy/EpoxyRecyclerView.kt index d0390d0e4..bc4f409e0 100644 --- a/tests/snapshots/src/main/generated/com/airbnb/epoxy/EpoxyRecyclerView.kt +++ b/tests/snapshots/src/main/generated/com/airbnb/epoxy/EpoxyRecyclerView.kt @@ -96,18 +96,23 @@ import com.airbnb.viewmodeladapter.R */ open class EpoxyRecyclerView @JvmOverloads constructor( // ^^^^^^^^^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/EpoxyRecyclerView# +// display_name EpoxyRecyclerView // documentation ```kt\npublic open class EpoxyRecyclerView\n```\n\n----\n\n\n A RecyclerView implementation that makes for easier integration with Epoxy. The goal of this\n class is to reduce boilerplate in setting up a RecyclerView by applying common defaults.\n Additionally, several performance optimizations are made.\n\n Improvements in this class are:\n\n 1. A single view pool is automatically shared between all [EpoxyRecyclerView] instances in\n the same activity. This should increase view recycling potential and increase performance when\n nested RecyclerViews are used. See [.initViewPool].\n\n 2. A layout manager is automatically added with assumed defaults. See [createLayoutManager]\n\n 3. Fixed size is enabled if this view's size is MATCH_PARENT\n\n 4. If a [GridLayoutManager] is used this will automatically sync the span count with the\n [EpoxyController]. See [syncSpanCount]\n\n 5. Helper methods like [withModels], [setModels], [buildModelsWith]\n make it simpler to set up simple RecyclerViews.\n\n 6. Set an EpoxyController and build models in one step -\n [setControllerAndBuildModels] or [withModels]\n\n 7. Support for automatic item spacing. See [.setItemSpacingPx]\n\n 8. Defaults for usage as a nested recyclerview are provided in [Carousel].\n\n 9. [setClipToPadding] is set to false by default since that behavior is commonly\n desired in a scrolling list\n // ^^^^^^^^^^^^ reference semanticdb maven maven/org.jetbrains.kotlin/kotlin-stdlib 1.4.20-RC kotlin/jvm/JvmOverloads#``(). // ^^^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/EpoxyRecyclerView#``(). +// display_name EpoxyRecyclerView // documentation ```kt\npublic constructor EpoxyRecyclerView(context: [Error type: Unresolved type for Context], attrs: [Error type: Unresolved type for AttributeSet]? = ..., defStyleAttr: kotlin.Int = ...)\n``` context: Context, // ^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/EpoxyRecyclerView#``().(context) +// display_name context // documentation ```kt\nvalue-parameter context: [Error type: Unresolved type for Context]\n``` attrs: AttributeSet? = null, // ^^^^^ definition semanticdb maven . . com/airbnb/epoxy/EpoxyRecyclerView#``().(attrs) +// display_name attrs // documentation ```kt\nvalue-parameter attrs: [Error type: Unresolved type for AttributeSet]? = ...\n``` defStyleAttr: Int = 0 // ^^^^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/EpoxyRecyclerView#``().(defStyleAttr) +// display_name defStyleAttr // documentation ```kt\nvalue-parameter defStyleAttr: kotlin.Int = ...\n``` // ^^^ reference semanticdb maven . . kotlin/Int# ) : RecyclerView(context, attrs, defStyleAttr) { @@ -117,16 +122,21 @@ open class EpoxyRecyclerView @JvmOverloads constructor( protected val spacingDecorator = EpoxyItemSpacingDecorator() // ^^^^^^^^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/EpoxyRecyclerView#getSpacingDecorator(). +// display_name spacingDecorator // documentation ```kt\nprotected final val spacingDecorator: [Error type: Not found recorded type for EpoxyItemSpacingDecorator()]\n``` // ^^^^^^^^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/EpoxyRecyclerView#spacingDecorator. +// display_name spacingDecorator // documentation ```kt\nprotected final val spacingDecorator: [Error type: Not found recorded type for EpoxyItemSpacingDecorator()]\n``` private var epoxyController: EpoxyController? = null // ^^^^^^^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/EpoxyRecyclerView#epoxyController. +// display_name epoxyController // documentation ```kt\nprivate final var epoxyController: [Error type: Unresolved type for EpoxyController]?\n``` // ^^^^^^^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/EpoxyRecyclerView#getEpoxyController(). +// display_name epoxyController // documentation ```kt\nprivate final var epoxyController: [Error type: Unresolved type for EpoxyController]?\n``` // ^^^^^^^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/EpoxyRecyclerView#setEpoxyController(). +// display_name epoxyController // documentation ```kt\nprivate final var epoxyController: [Error type: Unresolved type for EpoxyController]?\n``` /** @@ -145,26 +155,35 @@ open class EpoxyRecyclerView @JvmOverloads constructor( */ private var removedAdapter: RecyclerView.Adapter<*>? = null // ^^^^^^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/EpoxyRecyclerView#getRemovedAdapter(). +// display_name removedAdapter // documentation ```kt\nprivate final var removedAdapter: [Error type: Unresolved type for RecyclerView.Adapter<*>]?\n```\n\n----\n\n\n The adapter that was removed because the RecyclerView was detached from the window. We save it\n so we can reattach it if the RecyclerView is reattached to window. This allows us to\n automatically restore the adapter, without risking leaking the RecyclerView if this view is\n never used again.\n\n Since the adapter is removed this recyclerview won't get adapter changes, but that's fine since\n the view isn't attached to window and isn't being drawn.\n\n This reference is cleared if another adapter is manually set, so we don't override the user's\n adapter choice.\n\n @see .setRemoveAdapterWhenDetachedFromWindow\n // ^^^^^^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/EpoxyRecyclerView#removedAdapter. +// display_name removedAdapter // documentation ```kt\nprivate final var removedAdapter: [Error type: Unresolved type for RecyclerView.Adapter<*>]?\n```\n\n----\n\n\n The adapter that was removed because the RecyclerView was detached from the window. We save it\n so we can reattach it if the RecyclerView is reattached to window. This allows us to\n automatically restore the adapter, without risking leaking the RecyclerView if this view is\n never used again.\n\n Since the adapter is removed this recyclerview won't get adapter changes, but that's fine since\n the view isn't attached to window and isn't being drawn.\n\n This reference is cleared if another adapter is manually set, so we don't override the user's\n adapter choice.\n\n @see .setRemoveAdapterWhenDetachedFromWindow\n // ^^^^^^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/EpoxyRecyclerView#setRemovedAdapter(). +// display_name removedAdapter // documentation ```kt\nprivate final var removedAdapter: [Error type: Unresolved type for RecyclerView.Adapter<*>]?\n```\n\n----\n\n\n The adapter that was removed because the RecyclerView was detached from the window. We save it\n so we can reattach it if the RecyclerView is reattached to window. This allows us to\n automatically restore the adapter, without risking leaking the RecyclerView if this view is\n never used again.\n\n Since the adapter is removed this recyclerview won't get adapter changes, but that's fine since\n the view isn't attached to window and isn't being drawn.\n\n This reference is cleared if another adapter is manually set, so we don't override the user's\n adapter choice.\n\n @see .setRemoveAdapterWhenDetachedFromWindow\n private var removeAdapterWhenDetachedFromWindow = true // ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/EpoxyRecyclerView#getRemoveAdapterWhenDetachedFromWindow(). +// display_name removeAdapterWhenDetachedFromWindow // documentation ```kt\nprivate final var removeAdapterWhenDetachedFromWindow: kotlin.Boolean\n``` // ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/EpoxyRecyclerView#removeAdapterWhenDetachedFromWindow. +// display_name removeAdapterWhenDetachedFromWindow // documentation ```kt\nprivate final var removeAdapterWhenDetachedFromWindow: kotlin.Boolean\n``` // ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/EpoxyRecyclerView#setRemoveAdapterWhenDetachedFromWindow(). +// display_name setRemoveAdapterWhenDetachedFromWindow // documentation ```kt\npublic final fun setRemoveAdapterWhenDetachedFromWindow(removeAdapterWhenDetachedFromWindow: kotlin.Boolean)\n```\n\n----\n\n\n If set to true, any adapter set on this recyclerview will be removed when this view is detached\n from the window. This is useful to prevent leaking a reference to this RecyclerView. This is\n useful in cases where the same adapter can be used across multiple views (views which can be\n destroyed and recreated), such as with fragments. In that case the adapter is not necessarily\n cleared from previous RecyclerViews, so the adapter will continue to hold a reference to those\n views and leak them. More details at https://github.com/airbnb/epoxy/wiki/Avoiding-Memory-Leaks#parent-view\n\n The default is true, but you can disable this if you don't want your adapter detached\n automatically.\n\n If the adapter is removed via this setting, it will be re-set on the RecyclerView if the\n RecyclerView is re-attached to the window at a later point.\n private var delayMsWhenRemovingAdapterOnDetach: Int = DEFAULT_ADAPTER_REMOVAL_DELAY_MS // ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/EpoxyRecyclerView#delayMsWhenRemovingAdapterOnDetach. +// display_name delayMsWhenRemovingAdapterOnDetach // documentation ```kt\nprivate final var delayMsWhenRemovingAdapterOnDetach: kotlin.Int\n``` // ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/EpoxyRecyclerView#getDelayMsWhenRemovingAdapterOnDetach(). +// display_name delayMsWhenRemovingAdapterOnDetach // documentation ```kt\nprivate final var delayMsWhenRemovingAdapterOnDetach: kotlin.Int\n``` // ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/EpoxyRecyclerView#setDelayMsWhenRemovingAdapterOnDetach(). +// display_name setDelayMsWhenRemovingAdapterOnDetach // documentation ```kt\npublic final fun setDelayMsWhenRemovingAdapterOnDetach(delayMsWhenRemovingAdapterOnDetach: kotlin.Int)\n```\n\n----\n\n\n If [.setRemoveAdapterWhenDetachedFromWindow] is set to true, this is the delay\n in milliseconds between when [.onDetachedFromWindow] is called and when the adapter is\n actually removed.\n\n By default a delay of {@value #DEFAULT_ADAPTER_REMOVAL_DELAY_MS} ms is used so that view\n transitions can complete before the adapter is removed. Otherwise if the adapter is removed\n before transitions finish it can clear the screen and break the transition. A notable case is\n fragment transitions, in which the fragment view is detached from window before the transition\n ends.\n // ^^^ reference semanticdb maven . . kotlin/Int# // ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/EpoxyRecyclerView#Companion#DEFAULT_ADAPTER_REMOVAL_DELAY_MS. @@ -177,16 +196,21 @@ open class EpoxyRecyclerView @JvmOverloads constructor( */ private var isRemoveAdapterRunnablePosted: Boolean = false // ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/EpoxyRecyclerView#getIsRemoveAdapterRunnablePosted(). +// display_name isRemoveAdapterRunnablePosted // documentation ```kt\nprivate final var isRemoveAdapterRunnablePosted: kotlin.Boolean\n```\n\n----\n\n\n Tracks whether [.removeAdapterRunnable] has been posted to run\n later. This lets us know if we should cancel the runnable at certain times. This removes the\n overhead of needlessly attempting to remove the runnable when it isn't posted.\n // ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/EpoxyRecyclerView#isRemoveAdapterRunnablePosted. +// display_name isRemoveAdapterRunnablePosted // documentation ```kt\nprivate final var isRemoveAdapterRunnablePosted: kotlin.Boolean\n```\n\n----\n\n\n Tracks whether [.removeAdapterRunnable] has been posted to run\n later. This lets us know if we should cancel the runnable at certain times. This removes the\n overhead of needlessly attempting to remove the runnable when it isn't posted.\n // ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/EpoxyRecyclerView#setIsRemoveAdapterRunnablePosted(). +// display_name isRemoveAdapterRunnablePosted // documentation ```kt\nprivate final var isRemoveAdapterRunnablePosted: kotlin.Boolean\n```\n\n----\n\n\n Tracks whether [.removeAdapterRunnable] has been posted to run\n later. This lets us know if we should cancel the runnable at certain times. This removes the\n overhead of needlessly attempting to remove the runnable when it isn't posted.\n // ^^^^^^^ reference semanticdb maven . . kotlin/Boolean# private val removeAdapterRunnable = Runnable { // ^^^^^^^^^^^^^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/EpoxyRecyclerView#getRemoveAdapterRunnable(). +// display_name removeAdapterRunnable // documentation ```kt\nprivate final val removeAdapterRunnable: java.lang.Runnable\n``` // ^^^^^^^^^^^^^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/EpoxyRecyclerView#removeAdapterRunnable. +// display_name removeAdapterRunnable // documentation ```kt\nprivate final val removeAdapterRunnable: java.lang.Runnable\n``` // ^^^^^^^^ reference semanticdb maven jdk 11 java/lang/Runnable# if (isRemoveAdapterRunnablePosted) { @@ -206,8 +230,10 @@ open class EpoxyRecyclerView @JvmOverloads constructor( private val preloadScrollListeners: MutableList> = mutableListOf() // ^^^^^^^^^^^^^^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/EpoxyRecyclerView#getPreloadScrollListeners(). +// display_name preloadScrollListeners // documentation ```kt\nprivate final val preloadScrollListeners: kotlin.collections.MutableList>\n``` // ^^^^^^^^^^^^^^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/EpoxyRecyclerView#preloadScrollListeners. +// display_name preloadScrollListeners // documentation ```kt\nprivate final val preloadScrollListeners: kotlin.collections.MutableList>\n``` // ^^^^^^^^^^^ reference semanticdb maven . . kotlin/collections/MutableList# // ^^^^^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/preload/EpoxyPreloader# @@ -215,8 +241,10 @@ open class EpoxyRecyclerView @JvmOverloads constructor( private val preloadConfigs: MutableList> = mutableListOf() // ^^^^^^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/EpoxyRecyclerView#getPreloadConfigs(). +// display_name preloadConfigs // documentation ```kt\nprivate final val preloadConfigs: kotlin.collections.MutableList>\n``` // ^^^^^^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/EpoxyRecyclerView#preloadConfigs. +// display_name preloadConfigs // documentation ```kt\nprivate final val preloadConfigs: kotlin.collections.MutableList>\n``` // ^^^^^^^^^^^ reference semanticdb maven . . kotlin/collections/MutableList# // ^^^^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/EpoxyRecyclerView#PreloadConfig# @@ -224,39 +252,53 @@ open class EpoxyRecyclerView @JvmOverloads constructor( private class PreloadConfig, U : ViewMetadata?, P : PreloadRequestHolder>( // ^^^^^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/EpoxyRecyclerView#PreloadConfig# +// display_name PreloadConfig // documentation ```kt\nprivate final class PreloadConfig\n``` // ^^^^^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/EpoxyRecyclerView#PreloadConfig#``(). +// display_name PreloadConfig // documentation ```kt\npublic constructor PreloadConfig(maxPreload: kotlin.Int, errorHandler: com.airbnb.epoxy.preload.PreloadErrorHandler /* = ([Error type: Unresolved type for Context], kotlin.RuntimeException /* = java.lang.RuntimeException */) -> kotlin.Unit */, preloader: com.airbnb.epoxy.preload.EpoxyModelPreloader, requestHolderFactory: () -> P)\n``` // ^ definition semanticdb maven . . com/airbnb/epoxy/EpoxyRecyclerView#PreloadConfig#[T] +// display_name T // documentation ```kt\n\n``` // ^ definition semanticdb maven . . com/airbnb/epoxy/EpoxyRecyclerView#PreloadConfig#[U] +// display_name U // documentation ```kt\n\n``` // ^^^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/preload/ViewMetadata# // ^ definition semanticdb maven . . com/airbnb/epoxy/EpoxyRecyclerView#PreloadConfig#[P] +// display_name P // documentation ```kt\n

\n``` // ^^^^^^^^^^^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/preload/PreloadRequestHolder# val maxPreload: Int, // ^^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/EpoxyRecyclerView#PreloadConfig#``().(maxPreload) +// display_name maxPreload // documentation ```kt\nvalue-parameter maxPreload: kotlin.Int\n``` // ^^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/EpoxyRecyclerView#PreloadConfig#getMaxPreload(). +// display_name maxPreload // documentation ```kt\npublic final val maxPreload: kotlin.Int\n``` // ^^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/EpoxyRecyclerView#PreloadConfig#maxPreload. +// display_name maxPreload // documentation ```kt\npublic final val maxPreload: kotlin.Int\n``` // ^^^ reference semanticdb maven . . kotlin/Int# val errorHandler: PreloadErrorHandler, // ^^^^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/EpoxyRecyclerView#PreloadConfig#``().(errorHandler) +// display_name errorHandler // documentation ```kt\nvalue-parameter errorHandler: com.airbnb.epoxy.preload.PreloadErrorHandler /* = ([Error type: Unresolved type for Context], kotlin.RuntimeException /* = java.lang.RuntimeException */) -> kotlin.Unit */\n``` // ^^^^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/EpoxyRecyclerView#PreloadConfig#errorHandler. +// display_name errorHandler // documentation ```kt\npublic final val errorHandler: com.airbnb.epoxy.preload.PreloadErrorHandler /* = ([Error type: Unresolved type for Context], kotlin.RuntimeException /* = java.lang.RuntimeException */) -> kotlin.Unit */\n``` // ^^^^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/EpoxyRecyclerView#PreloadConfig#getErrorHandler(). +// display_name errorHandler // documentation ```kt\npublic final val errorHandler: com.airbnb.epoxy.preload.PreloadErrorHandler /* = ([Error type: Unresolved type for Context], kotlin.RuntimeException /* = java.lang.RuntimeException */) -> kotlin.Unit */\n``` // ^^^^^^^^^^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/preload/PreloadErrorHandler# val preloader: EpoxyModelPreloader, // ^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/EpoxyRecyclerView#PreloadConfig#``().(preloader) +// display_name preloader // documentation ```kt\nvalue-parameter preloader: com.airbnb.epoxy.preload.EpoxyModelPreloader\n``` // ^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/EpoxyRecyclerView#PreloadConfig#getPreloader(). +// display_name preloader // documentation ```kt\npublic final val preloader: com.airbnb.epoxy.preload.EpoxyModelPreloader\n``` // ^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/EpoxyRecyclerView#PreloadConfig#preloader. +// display_name preloader // documentation ```kt\npublic final val preloader: com.airbnb.epoxy.preload.EpoxyModelPreloader\n``` // ^^^^^^^^^^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/preload/EpoxyModelPreloader# // ^ reference semanticdb maven . . com/airbnb/epoxy/EpoxyRecyclerView#PreloadConfig#[T] @@ -264,10 +306,13 @@ open class EpoxyRecyclerView @JvmOverloads constructor( // ^ reference semanticdb maven . . com/airbnb/epoxy/EpoxyRecyclerView#PreloadConfig#[P] val requestHolderFactory: () -> P // ^^^^^^^^^^^^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/EpoxyRecyclerView#PreloadConfig#``().(requestHolderFactory) +// display_name requestHolderFactory // documentation ```kt\nvalue-parameter requestHolderFactory: () -> P\n``` // ^^^^^^^^^^^^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/EpoxyRecyclerView#PreloadConfig#getRequestHolderFactory(). +// display_name requestHolderFactory // documentation ```kt\npublic final val requestHolderFactory: () -> P\n``` // ^^^^^^^^^^^^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/EpoxyRecyclerView#PreloadConfig#requestHolderFactory. +// display_name requestHolderFactory // documentation ```kt\npublic final val requestHolderFactory: () -> P\n``` // ^ reference semanticdb maven . . com/airbnb/epoxy/EpoxyRecyclerView#PreloadConfig#[P] ) @@ -287,25 +332,32 @@ open class EpoxyRecyclerView @JvmOverloads constructor( */ fun , U : ViewMetadata?, P : PreloadRequestHolder> addPreloader( // ^ definition semanticdb maven . . com/airbnb/epoxy/EpoxyRecyclerView#addPreloader().[T] +// display_name T // documentation ```kt\n\n``` // ^ definition semanticdb maven . . com/airbnb/epoxy/EpoxyRecyclerView#addPreloader().[U] +// display_name U // documentation ```kt\n\n``` // ^^^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/preload/ViewMetadata# // ^ definition semanticdb maven . . com/airbnb/epoxy/EpoxyRecyclerView#addPreloader().[P] +// display_name P // documentation ```kt\n

\n``` // ^^^^^^^^^^^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/preload/PreloadRequestHolder# // ^^^^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/EpoxyRecyclerView#addPreloader(). +// display_name addPreloader // documentation ```kt\npublic final fun addPreloader(maxPreloadDistance: kotlin.Int = ..., errorHandler: com.airbnb.epoxy.preload.PreloadErrorHandler /* = ([Error type: Unresolved type for Context], kotlin.RuntimeException /* = java.lang.RuntimeException */) -> kotlin.Unit */, preloader: com.airbnb.epoxy.preload.EpoxyModelPreloader, requestHolderFactory: () -> P)\n```\n\n----\n\n\n Setup a preloader to fetch content for a model's view before it is bound.\n This can be called multiple times if you would like to add separate preloaders\n for different models or content types.\n\n Preloaders are automatically attached and run, and are updated if the adapter changes.\n\n @param maxPreloadDistance How many items to prefetch ahead of the last bound item\n @param errorHandler Called when the preloader encounters an exception. We recommend throwing an\n exception in debug builds, and logging an error in production.\n @param preloader Describes how view content for the EpoxyModel should be preloaded\n @param requestHolderFactory Should create and return a new [PreloadRequestHolder] each time it is invoked\n maxPreloadDistance: Int = 3, // ^^^^^^^^^^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/EpoxyRecyclerView#addPreloader().(maxPreloadDistance) +// display_name maxPreloadDistance // documentation ```kt\nvalue-parameter maxPreloadDistance: kotlin.Int = ...\n``` // ^^^ reference semanticdb maven . . kotlin/Int# errorHandler: PreloadErrorHandler, // ^^^^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/EpoxyRecyclerView#addPreloader().(errorHandler) +// display_name errorHandler // documentation ```kt\nvalue-parameter errorHandler: com.airbnb.epoxy.preload.PreloadErrorHandler /* = ([Error type: Unresolved type for Context], kotlin.RuntimeException /* = java.lang.RuntimeException */) -> kotlin.Unit */\n``` // ^^^^^^^^^^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/preload/PreloadErrorHandler# preloader: EpoxyModelPreloader, // ^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/EpoxyRecyclerView#addPreloader().(preloader) +// display_name preloader // documentation ```kt\nvalue-parameter preloader: com.airbnb.epoxy.preload.EpoxyModelPreloader\n``` // ^^^^^^^^^^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/preload/EpoxyModelPreloader# // ^ reference semanticdb maven . . com/airbnb/epoxy/EpoxyRecyclerView#addPreloader().[T] @@ -313,6 +365,7 @@ open class EpoxyRecyclerView @JvmOverloads constructor( // ^ reference semanticdb maven . . com/airbnb/epoxy/EpoxyRecyclerView#addPreloader().[P] requestHolderFactory: () -> P // ^^^^^^^^^^^^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/EpoxyRecyclerView#addPreloader().(requestHolderFactory) +// display_name requestHolderFactory // documentation ```kt\nvalue-parameter requestHolderFactory: () -> P\n``` // ^ reference semanticdb maven . . com/airbnb/epoxy/EpoxyRecyclerView#addPreloader().[P] ) { @@ -342,6 +395,7 @@ open class EpoxyRecyclerView @JvmOverloads constructor( */ fun clearPreloaders() { // ^^^^^^^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/EpoxyRecyclerView#clearPreloaders(). +// display_name clearPreloaders // documentation ```kt\npublic final fun clearPreloaders()\n```\n\n----\n\n\n Clears all preloaders added with [addPreloader]\n preloadConfigs.clear() // ^^^^^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/EpoxyRecyclerView#getPreloadConfigs(). @@ -353,6 +407,7 @@ open class EpoxyRecyclerView @JvmOverloads constructor( private fun updatePreloaders() { // ^^^^^^^^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/EpoxyRecyclerView#updatePreloaders(). +// display_name updatePreloaders // documentation ```kt\nprivate final fun updatePreloaders()\n``` preloadScrollListeners.forEach { removeOnScrollListener(it) } // ^^^^^^^^^^^^^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/EpoxyRecyclerView#getPreloadScrollListeners(). @@ -365,6 +420,7 @@ open class EpoxyRecyclerView @JvmOverloads constructor( // ^^^^^ reference semanticdb maven . . kotlin/collections/MutableList#clear(). val currAdapter = adapter ?: return // ^^^^^^^^^^^ definition local 1 +// display_name currAdapter // documentation ```kt\nval currAdapter: [Error type: Not found recorded type for adapter ?: return]\n``` preloadConfigs.forEach { preloadConfig -> @@ -372,6 +428,7 @@ open class EpoxyRecyclerView @JvmOverloads constructor( // ^^^^^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/EpoxyRecyclerView#preloadConfigs. // ^^^^^^^ reference semanticdb maven maven/org.jetbrains.kotlin/kotlin-stdlib 1.4.20-RC kotlin/collections/CollectionsKt#forEach(+10). // ^^^^^^^^^^^^^ definition local 2 +// display_name preloadConfig // documentation ```kt\nvalue-parameter preloadConfig: com.airbnb.epoxy.EpoxyRecyclerView.PreloadConfig<*, *, *>\n``` if (currAdapter is EpoxyAdapter) { @@ -451,8 +508,10 @@ open class EpoxyRecyclerView @JvmOverloads constructor( */ fun setRemoveAdapterWhenDetachedFromWindow(removeAdapterWhenDetachedFromWindow: Boolean) { // ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/EpoxyRecyclerView#setRemoveAdapterWhenDetachedFromWindow(). +// display_name setRemoveAdapterWhenDetachedFromWindow // documentation ```kt\npublic final fun setRemoveAdapterWhenDetachedFromWindow(removeAdapterWhenDetachedFromWindow: kotlin.Boolean)\n```\n\n----\n\n\n If set to true, any adapter set on this recyclerview will be removed when this view is detached\n from the window. This is useful to prevent leaking a reference to this RecyclerView. This is\n useful in cases where the same adapter can be used across multiple views (views which can be\n destroyed and recreated), such as with fragments. In that case the adapter is not necessarily\n cleared from previous RecyclerViews, so the adapter will continue to hold a reference to those\n views and leak them. More details at https://github.com/airbnb/epoxy/wiki/Avoiding-Memory-Leaks#parent-view\n\n The default is true, but you can disable this if you don't want your adapter detached\n automatically.\n\n If the adapter is removed via this setting, it will be re-set on the RecyclerView if the\n RecyclerView is re-attached to the window at a later point.\n // ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/EpoxyRecyclerView#setRemoveAdapterWhenDetachedFromWindow().(removeAdapterWhenDetachedFromWindow) +// display_name removeAdapterWhenDetachedFromWindow // documentation ```kt\nvalue-parameter removeAdapterWhenDetachedFromWindow: kotlin.Boolean\n``` // ^^^^^^^ reference semanticdb maven . . kotlin/Boolean# this.removeAdapterWhenDetachedFromWindow = removeAdapterWhenDetachedFromWindow @@ -476,8 +535,10 @@ open class EpoxyRecyclerView @JvmOverloads constructor( */ fun setDelayMsWhenRemovingAdapterOnDetach(delayMsWhenRemovingAdapterOnDetach: Int) { // ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/EpoxyRecyclerView#setDelayMsWhenRemovingAdapterOnDetach(). +// display_name setDelayMsWhenRemovingAdapterOnDetach // documentation ```kt\npublic final fun setDelayMsWhenRemovingAdapterOnDetach(delayMsWhenRemovingAdapterOnDetach: kotlin.Int)\n```\n\n----\n\n\n If [.setRemoveAdapterWhenDetachedFromWindow] is set to true, this is the delay\n in milliseconds between when [.onDetachedFromWindow] is called and when the adapter is\n actually removed.\n\n By default a delay of {@value #DEFAULT_ADAPTER_REMOVAL_DELAY_MS} ms is used so that view\n transitions can complete before the adapter is removed. Otherwise if the adapter is removed\n before transitions finish it can clear the screen and break the transition. A notable case is\n fragment transitions, in which the fragment view is detached from window before the transition\n ends.\n // ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/EpoxyRecyclerView#setDelayMsWhenRemovingAdapterOnDetach().(delayMsWhenRemovingAdapterOnDetach) +// display_name delayMsWhenRemovingAdapterOnDetach // documentation ```kt\nvalue-parameter delayMsWhenRemovingAdapterOnDetach: kotlin.Int\n``` // ^^^ reference semanticdb maven . . kotlin/Int# this.delayMsWhenRemovingAdapterOnDetach = delayMsWhenRemovingAdapterOnDetach @@ -494,6 +555,7 @@ open class EpoxyRecyclerView @JvmOverloads constructor( // ^^^^^ reference semanticdb maven . . com/airbnb/epoxy/EpoxyRecyclerView#``().(attrs) val a = context.obtainStyledAttributes( // ^ definition local 3 +// display_name a // documentation ```kt\nval a: [Error type: Return type for function cannot be resolved]\n``` // ^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/EpoxyRecyclerView#``().(context) attrs, R.styleable.EpoxyRecyclerView, @@ -521,6 +583,7 @@ open class EpoxyRecyclerView @JvmOverloads constructor( // ^^^^^^^^^ reference semanticdb maven maven/androidx.annotation/annotation 1.1.0 androidx/annotation/CallSuper#``(). protected open fun init() { // ^^^^ definition semanticdb maven . . com/airbnb/epoxy/EpoxyRecyclerView#init(). +// display_name init // documentation ```kt\nprotected open fun init()\n``` clipToPadding = false initViewPool() @@ -536,6 +599,7 @@ open class EpoxyRecyclerView @JvmOverloads constructor( */ private fun initViewPool() { // ^^^^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/EpoxyRecyclerView#initViewPool(). +// display_name initViewPool // documentation ```kt\nprivate final fun initViewPool()\n```\n\n----\n\n\n Get or create a view pool to use for this RecyclerView. By default the same pool is shared for\n all [EpoxyRecyclerView] usages in the same Activity.\n\n @see .createViewPool\n @see .shouldShareViewPoolAcrossContext\n if (!shouldShareViewPoolAcrossContext()) { // ^ reference semanticdb maven . . kotlin/Boolean#not(). @@ -563,6 +627,7 @@ open class EpoxyRecyclerView @JvmOverloads constructor( */ protected open fun createViewPool(): RecyclerView.RecycledViewPool { // ^^^^^^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/EpoxyRecyclerView#createViewPool(). +// display_name createViewPool // documentation ```kt\nprotected open fun createViewPool(): [Error type: Unresolved type for RecyclerView.RecycledViewPool]\n```\n\n----\n\n\n Create a new instance of a view pool to use with this recyclerview. By default a [ ] is used.\n return UnboundedViewPool() // ^^^^^^^^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/UnboundedViewPool#``(). @@ -574,6 +639,7 @@ open class EpoxyRecyclerView @JvmOverloads constructor( */ open fun shouldShareViewPoolAcrossContext(): Boolean { // ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/EpoxyRecyclerView#shouldShareViewPoolAcrossContext(). +// display_name shouldShareViewPoolAcrossContext // documentation ```kt\npublic open fun shouldShareViewPoolAcrossContext(): kotlin.Boolean\n```\n\n----\n\n\n To maximize view recycling by default we share the same view pool across all instances in the same Activity. This behavior can be disabled by returning\n false here.\n // ^^^^^^^ reference semanticdb maven . . kotlin/Boolean# return true @@ -581,11 +647,14 @@ open class EpoxyRecyclerView @JvmOverloads constructor( override fun setLayoutParams(params: ViewGroup.LayoutParams) { // ^^^^^^^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/EpoxyRecyclerView#setLayoutParams(). +// display_name setLayoutParams // documentation ```kt\npublic open fun setLayoutParams(params: [Error type: Unresolved type for ViewGroup.LayoutParams])\n``` // ^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/EpoxyRecyclerView#setLayoutParams().(params) +// display_name params // documentation ```kt\nvalue-parameter params: [Error type: Unresolved type for ViewGroup.LayoutParams]\n``` val isFirstParams = layoutParams == null // ^^^^^^^^^^^^^ definition local 4 +// display_name isFirstParams // documentation ```kt\nval isFirstParams: kotlin.Boolean\n``` super.setLayoutParams(params) // ^^^^^ reference semanticdb maven . . kotlin/Any# @@ -617,9 +686,11 @@ open class EpoxyRecyclerView @JvmOverloads constructor( */ protected open fun createLayoutManager(): RecyclerView.LayoutManager { // ^^^^^^^^^^^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/EpoxyRecyclerView#createLayoutManager(). +// display_name createLayoutManager // documentation ```kt\nprotected open fun createLayoutManager(): [Error type: Unresolved type for RecyclerView.LayoutManager]\n```\n\n----\n\n\n Create a new [androidx.recyclerview.widget.RecyclerView.LayoutManager]\n instance to use for this RecyclerView.\n\n By default a LinearLayoutManager is used, and a reasonable default is chosen for scrolling\n direction based on layout params.\n\n If the RecyclerView is set to match parent size then the scrolling orientation is set to\n vertical and [.setHasFixedSize] is set to true.\n\n If the height is set to wrap_content then the scrolling orientation is set to horizontal, and\n [.setClipToPadding] is set to false.\n val layoutParams = layoutParams // ^^^^^^^^^^^^ definition local 5 +// display_name layoutParams // documentation ```kt\nval layoutParams: [Error type: Not found recorded type for layoutParams]\n``` // 0 represents matching constraints in a LinearLayout or ConstraintLayout @@ -645,8 +716,10 @@ open class EpoxyRecyclerView @JvmOverloads constructor( override fun setLayoutManager(layout: RecyclerView.LayoutManager?) { // ^^^^^^^^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/EpoxyRecyclerView#setLayoutManager(). +// display_name setLayoutManager // documentation ```kt\npublic open fun setLayoutManager(layout: [Error type: Unresolved type for RecyclerView.LayoutManager]?)\n``` // ^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/EpoxyRecyclerView#setLayoutManager().(layout) +// display_name layout // documentation ```kt\nvalue-parameter layout: [Error type: Unresolved type for RecyclerView.LayoutManager]?\n``` super.setLayoutManager(layout) // ^^^^^ reference semanticdb maven . . kotlin/Any# @@ -661,12 +734,15 @@ open class EpoxyRecyclerView @JvmOverloads constructor( */ private fun syncSpanCount() { // ^^^^^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/EpoxyRecyclerView#syncSpanCount(). +// display_name syncSpanCount // documentation ```kt\nprivate final fun syncSpanCount()\n```\n\n----\n\n\n If a grid layout manager is set we sync the span count between the layout and the epoxy\n adapter automatically.\n val layout = layoutManager // ^^^^^^ definition local 6 +// display_name layout // documentation ```kt\nval layout: [Error type: Not found recorded type for layoutManager]\n``` val controller = epoxyController // ^^^^^^^^^^ definition local 7 +// display_name controller // documentation ```kt\nval controller: [Error type: Unresolved type for EpoxyController]?\n``` // ^^^^^^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/EpoxyRecyclerView#epoxyController. // ^^^^^^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/EpoxyRecyclerView#getEpoxyController(). @@ -692,6 +768,7 @@ open class EpoxyRecyclerView @JvmOverloads constructor( override fun requestLayout() { // ^^^^^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/EpoxyRecyclerView#requestLayout(). +// display_name requestLayout // documentation ```kt\npublic open fun requestLayout()\n``` // Grid layout manager calls this when the span count is changed. Its the easiest way to // detect a span count change and update our controller accordingly. @@ -703,9 +780,11 @@ open class EpoxyRecyclerView @JvmOverloads constructor( fun setItemSpacingRes(@DimenRes itemSpacingRes: Int) { // ^^^^^^^^^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/EpoxyRecyclerView#setItemSpacingRes(). +// display_name setItemSpacingRes // documentation ```kt\npublic final fun setItemSpacingRes(itemSpacingRes: kotlin.Int)\n``` // ^^^^^^^^ reference semanticdb maven maven/androidx.annotation/annotation 1.1.0 androidx/annotation/DimenRes#``(). // ^^^^^^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/EpoxyRecyclerView#setItemSpacingRes().(itemSpacingRes) +// display_name itemSpacingRes // documentation ```kt\nvalue-parameter itemSpacingRes: kotlin.Int\n``` // ^^^ reference semanticdb maven . . kotlin/Int# setItemSpacingPx(resToPx(itemSpacingRes)) @@ -716,12 +795,14 @@ open class EpoxyRecyclerView @JvmOverloads constructor( fun setItemSpacingDp(@Dimension(unit = Dimension.DP) dp: Int) { // ^^^^^^^^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/EpoxyRecyclerView#setItemSpacingDp(). +// display_name setItemSpacingDp // documentation ```kt\npublic final fun setItemSpacingDp(dp: kotlin.Int)\n``` // ^^^^^^^^^ reference semanticdb maven maven/androidx.annotation/annotation 1.1.0 androidx/annotation/Dimension#``(). // ^^^^ reference semanticdb maven maven/androidx.annotation/annotation 1.1.0 androidx/annotation/Dimension#``().(unit) // ^^^^^^^^^ reference semanticdb maven maven/androidx.annotation/annotation 1.1.0 androidx/annotation/Dimension# // ^^ reference semanticdb maven maven/androidx.annotation/annotation 1.1.0 androidx/annotation/Dimension#DP. // ^^ definition semanticdb maven . . com/airbnb/epoxy/EpoxyRecyclerView#setItemSpacingDp().(dp) +// display_name dp // documentation ```kt\nvalue-parameter dp: kotlin.Int\n``` // ^^^ reference semanticdb maven . . kotlin/Int# setItemSpacingPx(dpToPx(dp)) @@ -745,9 +826,11 @@ open class EpoxyRecyclerView @JvmOverloads constructor( */ open fun setItemSpacingPx(@Px spacingPx: Int) { // ^^^^^^^^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/EpoxyRecyclerView#setItemSpacingPx(). +// display_name setItemSpacingPx // documentation ```kt\npublic open fun setItemSpacingPx(spacingPx: kotlin.Int)\n```\n\n----\n\n\n Set a pixel value to use as spacing between items. If this is a positive number an item\n decoration will be added to space all items this far apart from each other. If the value is 0\n or negative no extra spacing will be used, and any previous spacing will be removed.\n\n This only works if a [LinearLayoutManager] or [GridLayoutManager] is used with this\n RecyclerView.\n\n This can also be set via the `app:itemSpacing` styleable attribute.\n\n @see .setItemSpacingDp\n @see .setItemSpacingRes\n // ^^ reference semanticdb maven maven/androidx.annotation/annotation 1.1.0 androidx/annotation/Px#``(). // ^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/EpoxyRecyclerView#setItemSpacingPx().(spacingPx) +// display_name spacingPx // documentation ```kt\nvalue-parameter spacingPx: kotlin.Int\n``` // ^^^ reference semanticdb maven . . kotlin/Int# removeItemDecoration(spacingDecorator) @@ -780,12 +863,15 @@ open class EpoxyRecyclerView @JvmOverloads constructor( open fun setModels(models: List>) { // ^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/EpoxyRecyclerView#setModels(). +// display_name setModels // documentation ```kt\npublic open fun setModels(models: kotlin.collections.List<[Error type: Unresolved type for EpoxyModel<*>]>)\n```\n\n----\n\n\n Set a list of [EpoxyModel]'s to show in this RecyclerView.\n\n Alternatively you can set an [EpoxyController] to handle building models dynamically.\n\n @see withModels\n @see setController\n @see setControllerAndBuildModels\n @see buildModelsWith\n // ^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/EpoxyRecyclerView#setModels().(models) +// display_name models // documentation ```kt\nvalue-parameter models: kotlin.collections.List<[Error type: Unresolved type for EpoxyModel<*>]>\n``` // ^^^^ reference semanticdb maven . . kotlin/collections/List# val controller = (epoxyController as? SimpleEpoxyController) // ^^^^^^^^^^ definition local 8 +// display_name controller // documentation ```kt\nval controller: ???\n``` // ^^^^^^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/EpoxyRecyclerView#epoxyController. // ^^^^^^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/EpoxyRecyclerView#getEpoxyController(). @@ -819,8 +905,10 @@ open class EpoxyRecyclerView @JvmOverloads constructor( fun setController(controller: EpoxyController) { // ^^^^^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/EpoxyRecyclerView#setController(). +// display_name setController // documentation ```kt\npublic final fun setController(controller: [Error type: Unresolved type for EpoxyController])\n```\n\n----\n\n\n Set an EpoxyController to populate this RecyclerView. This does not make the controller build\n its models, that must be done separately via [requestModelBuild].\n\n Use this if you don't want [requestModelBuild] called automatically. Common cases\n are if you are using [TypedEpoxyController] (in which case you must call setData on the\n controller), or if you have not otherwise populated your controller's data yet.\n\n Otherwise if you want models built automatically for you use [setControllerAndBuildModels]\n\n The controller can be cleared with [clear]\n\n @see .setControllerAndBuildModels\n @see .buildModelsWith\n @see .setModels\n // ^^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/EpoxyRecyclerView#setController().(controller) +// display_name controller // documentation ```kt\nvalue-parameter controller: [Error type: Unresolved type for EpoxyController]\n``` epoxyController = controller // ^^^^^^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/EpoxyRecyclerView#epoxyController. @@ -845,8 +933,10 @@ open class EpoxyRecyclerView @JvmOverloads constructor( */ fun setControllerAndBuildModels(controller: EpoxyController) { // ^^^^^^^^^^^^^^^^^^^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/EpoxyRecyclerView#setControllerAndBuildModels(). +// display_name setControllerAndBuildModels // documentation ```kt\npublic final fun setControllerAndBuildModels(controller: [Error type: Unresolved type for EpoxyController])\n```\n\n----\n\n\n Set an EpoxyController to populate this RecyclerView, and tell the controller to build\n models.\n\n The controller can be cleared with [clear]\n\n @see setController\n @see buildModelsWith\n @see setModels\n // ^^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/EpoxyRecyclerView#setControllerAndBuildModels().(controller) +// display_name controller // documentation ```kt\nvalue-parameter controller: [Error type: Unresolved type for EpoxyController]\n``` controller.requestModelBuild() // ^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/EpoxyRecyclerView#setControllerAndBuildModels().(controller) @@ -867,12 +957,15 @@ open class EpoxyRecyclerView @JvmOverloads constructor( */ fun withModels(buildModels: EpoxyController.() -> Unit) { // ^^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/EpoxyRecyclerView#withModels(). +// display_name withModels // documentation ```kt\npublic final fun withModels(buildModels: [Error type: Unresolved type for EpoxyController].() -> kotlin.Unit)\n```\n\n----\n\n\n The simplest way to add models to the RecyclerView without needing to create an EpoxyController.\n This is intended for Kotlin usage, and has the EpoxyController as the lambda receiver so\n models can be added easily.\n\n Multiple calls to this will reuse the same underlying EpoxyController so views in the\n RecyclerView will be reused.\n\n The Java equivalent is [buildModelsWith].\n // ^^^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/EpoxyRecyclerView#withModels().(buildModels) +// display_name buildModels // documentation ```kt\nvalue-parameter buildModels: [Error type: Unresolved type for EpoxyController].() -> kotlin.Unit\n``` // ^^^^ reference semanticdb maven maven/org.jetbrains.kotlin/kotlin-stdlib 1.4.20-RC kotlin/Unit# val controller = (epoxyController as? WithModelsController) // ^^^^^^^^^^ definition local 9 +// display_name controller // documentation ```kt\nval controller: com.airbnb.epoxy.EpoxyRecyclerView.WithModelsController\n``` // ^^^^^^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/EpoxyRecyclerView#epoxyController. // ^^^^^^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/EpoxyRecyclerView#getEpoxyController(). @@ -896,20 +989,26 @@ open class EpoxyRecyclerView @JvmOverloads constructor( private class WithModelsController : EpoxyController() { // ^^^^^^^^^^^^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/EpoxyRecyclerView#WithModelsController# +// display_name WithModelsController // documentation ```kt\nprivate final class WithModelsController\n``` // ^^^^^^^^^^^^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/EpoxyRecyclerView#WithModelsController#``(). +// display_name WithModelsController // documentation ```kt\npublic constructor WithModelsController()\n``` var callback: EpoxyController.() -> Unit = {} // ^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/EpoxyRecyclerView#WithModelsController#callback. +// display_name callback // documentation ```kt\npublic final var callback: [Error type: Unresolved type for EpoxyController].() -> kotlin.Unit\n``` // ^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/EpoxyRecyclerView#WithModelsController#getCallback(). +// display_name callback // documentation ```kt\npublic final var callback: [Error type: Unresolved type for EpoxyController].() -> kotlin.Unit\n``` // ^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/EpoxyRecyclerView#WithModelsController#setCallback(). +// display_name callback // documentation ```kt\npublic final var callback: [Error type: Unresolved type for EpoxyController].() -> kotlin.Unit\n``` // ^^^^ reference semanticdb maven maven/org.jetbrains.kotlin/kotlin-stdlib 1.4.20-RC kotlin/Unit# override fun buildModels() { // ^^^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/EpoxyRecyclerView#WithModelsController#buildModels(). +// display_name buildModels // documentation ```kt\npublic open fun buildModels()\n``` callback(this) // ^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/EpoxyRecyclerView#WithModelsController#callback. @@ -937,12 +1036,15 @@ open class EpoxyRecyclerView @JvmOverloads constructor( */ fun buildModelsWith(callback: ModelBuilderCallback) { // ^^^^^^^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/EpoxyRecyclerView#buildModelsWith(). +// display_name buildModelsWith // documentation ```kt\npublic final fun buildModelsWith(callback: com.airbnb.epoxy.EpoxyRecyclerView.ModelBuilderCallback)\n```\n\n----\n\n\n Allows you to build models via a callback instead of needing to create a new EpoxyController\n class. This is useful if your models are simple and you would like to simply declare them in\n your activity/fragment.\n\n Multiple calls to this will reuse the same underlying EpoxyController so views in the\n RecyclerView will be reused.\n\n Another useful pattern is having your Activity or Fragment implement [ModelBuilderCallback].\n\n If you're using Kotlin, prefer [withModels].\n\n @see setController\n @see setControllerAndBuildModels\n @see setModels\n // ^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/EpoxyRecyclerView#buildModelsWith().(callback) +// display_name callback // documentation ```kt\nvalue-parameter callback: com.airbnb.epoxy.EpoxyRecyclerView.ModelBuilderCallback\n``` // ^^^^^^^^^^^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/EpoxyRecyclerView#ModelBuilderCallback# val controller = (epoxyController as? ModelBuilderCallbackController) // ^^^^^^^^^^ definition local 11 +// display_name controller // documentation ```kt\nval controller: com.airbnb.epoxy.EpoxyRecyclerView.ModelBuilderCallbackController\n``` // ^^^^^^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/EpoxyRecyclerView#epoxyController. // ^^^^^^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/EpoxyRecyclerView#getEpoxyController(). @@ -966,29 +1068,37 @@ open class EpoxyRecyclerView @JvmOverloads constructor( private class ModelBuilderCallbackController : EpoxyController() { // ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/EpoxyRecyclerView#ModelBuilderCallbackController# +// display_name ModelBuilderCallbackController // documentation ```kt\nprivate final class ModelBuilderCallbackController\n``` // ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/EpoxyRecyclerView#ModelBuilderCallbackController#``(). +// display_name ModelBuilderCallbackController // documentation ```kt\npublic constructor ModelBuilderCallbackController()\n``` var callback: ModelBuilderCallback = object : ModelBuilderCallback { // ^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/EpoxyRecyclerView#ModelBuilderCallbackController#callback. +// display_name callback // documentation ```kt\npublic final var callback: com.airbnb.epoxy.EpoxyRecyclerView.ModelBuilderCallback\n``` // ^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/EpoxyRecyclerView#ModelBuilderCallbackController#getCallback(). +// display_name callback // documentation ```kt\npublic final var callback: com.airbnb.epoxy.EpoxyRecyclerView.ModelBuilderCallback\n``` // ^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/EpoxyRecyclerView#ModelBuilderCallbackController#setCallback(). +// display_name callback // documentation ```kt\npublic final var callback: com.airbnb.epoxy.EpoxyRecyclerView.ModelBuilderCallback\n``` // ^^^^^^^^^^^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/EpoxyRecyclerView#ModelBuilderCallback# // ^^^^^^^^^^^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/EpoxyRecyclerView#ModelBuilderCallback# override fun buildModels(controller: EpoxyController) { // ^^^^^^^^^^^ definition local 13 +// display_name buildModels // documentation ```kt\npublic open fun buildModels(controller: [Error type: Unresolved type for EpoxyController])\n``` // relationship is_reference is_implementation semanticdb maven . . com/airbnb/epoxy/EpoxyRecyclerView#ModelBuilderCallback#buildModels(). // ^^^^^^^^^^ definition local 14 +// display_name controller // documentation ```kt\nvalue-parameter controller: [Error type: Unresolved type for EpoxyController]\n``` } } override fun buildModels() { // ^^^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/EpoxyRecyclerView#ModelBuilderCallbackController#buildModels(). +// display_name buildModels // documentation ```kt\npublic open fun buildModels()\n``` callback.buildModels(this) // ^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/EpoxyRecyclerView#ModelBuilderCallbackController#callback. @@ -1004,6 +1114,7 @@ open class EpoxyRecyclerView @JvmOverloads constructor( */ interface ModelBuilderCallback { // ^^^^^^^^^^^^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/EpoxyRecyclerView#ModelBuilderCallback# +// display_name ModelBuilderCallback // documentation ```kt\npublic interface ModelBuilderCallback\n```\n\n----\n\n\n A callback for creating models without needing a custom EpoxyController class. Used with [buildModelsWith]\n /** * Analagous to [EpoxyController.buildModels]. You should create new model instances and @@ -1012,8 +1123,10 @@ open class EpoxyRecyclerView @JvmOverloads constructor( */ fun buildModels(controller: EpoxyController) // ^^^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/EpoxyRecyclerView#ModelBuilderCallback#buildModels(). +// display_name buildModels // documentation ```kt\npublic abstract fun buildModels(controller: [Error type: Unresolved type for EpoxyController])\n```\n\n----\n\n\n Analagous to [EpoxyController.buildModels]. You should create new model instances and\n add them to the given controller. [AutoModel] cannot be used with models added this\n way.\n // ^^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/EpoxyRecyclerView#ModelBuilderCallback#buildModels().(controller) +// display_name controller // documentation ```kt\nvalue-parameter controller: [Error type: Unresolved type for EpoxyController]\n``` } @@ -1027,6 +1140,7 @@ open class EpoxyRecyclerView @JvmOverloads constructor( */ fun requestModelBuild() { // ^^^^^^^^^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/EpoxyRecyclerView#requestModelBuild(). +// display_name requestModelBuild // documentation ```kt\npublic final fun requestModelBuild()\n```\n\n----\n\n\n Request that the currently set EpoxyController has its models rebuilt. You can use this to\n avoid saving your controller as a field.\n\n You cannot use this if your controller is a [TypedEpoxyController] or if you set\n models via [setModels]. In that case you must set data directly on the\n controller or set models again.\n if (epoxyController == null) { // ^^^^^^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/EpoxyRecyclerView#epoxyController. @@ -1059,6 +1173,7 @@ open class EpoxyRecyclerView @JvmOverloads constructor( */ open fun clear() { // ^^^^^ definition semanticdb maven . . com/airbnb/epoxy/EpoxyRecyclerView#clear(). +// display_name clear // documentation ```kt\npublic open fun clear()\n```\n\n----\n\n\n Clear the currently set EpoxyController or Adapter as well as any models that are displayed.\n\n Any pending requests to the EpoxyController to build models are canceled.\n\n Any existing child views are recycled to the view pool.\n // The controller is cleared so the next time models are set we can create a fresh one. epoxyController?.cancelPendingModelBuild() @@ -1081,12 +1196,14 @@ open class EpoxyRecyclerView @JvmOverloads constructor( // ^^ reference semanticdb maven maven/androidx.annotation/annotation 1.1.0 androidx/annotation/Px#``(). protected fun dpToPx(@Dimension(unit = Dimension.DP) dp: Int): Int { // ^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/EpoxyRecyclerView#dpToPx(). +// display_name dpToPx // documentation ```kt\nprotected final fun dpToPx(dp: kotlin.Int): kotlin.Int\n``` // ^^^^^^^^^ reference semanticdb maven maven/androidx.annotation/annotation 1.1.0 androidx/annotation/Dimension#``(). // ^^^^ reference semanticdb maven maven/androidx.annotation/annotation 1.1.0 androidx/annotation/Dimension#``().(unit) // ^^^^^^^^^ reference semanticdb maven maven/androidx.annotation/annotation 1.1.0 androidx/annotation/Dimension# // ^^ reference semanticdb maven maven/androidx.annotation/annotation 1.1.0 androidx/annotation/Dimension#DP. // ^^ definition semanticdb maven . . com/airbnb/epoxy/EpoxyRecyclerView#dpToPx().(dp) +// display_name dp // documentation ```kt\nvalue-parameter dp: kotlin.Int\n``` // ^^^ reference semanticdb maven . . kotlin/Int# // ^^^ reference semanticdb maven . . kotlin/Int# @@ -1103,9 +1220,11 @@ open class EpoxyRecyclerView @JvmOverloads constructor( // ^^ reference semanticdb maven maven/androidx.annotation/annotation 1.1.0 androidx/annotation/Px#``(). protected fun resToPx(@DimenRes itemSpacingRes: Int): Int { // ^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/EpoxyRecyclerView#resToPx(). +// display_name resToPx // documentation ```kt\nprotected final fun resToPx(itemSpacingRes: kotlin.Int): kotlin.Int\n``` // ^^^^^^^^ reference semanticdb maven maven/androidx.annotation/annotation 1.1.0 androidx/annotation/DimenRes#``(). // ^^^^^^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/EpoxyRecyclerView#resToPx().(itemSpacingRes) +// display_name itemSpacingRes // documentation ```kt\nvalue-parameter itemSpacingRes: kotlin.Int\n``` // ^^^ reference semanticdb maven . . kotlin/Int# // ^^^ reference semanticdb maven . . kotlin/Int# @@ -1115,8 +1234,10 @@ open class EpoxyRecyclerView @JvmOverloads constructor( override fun setAdapter(adapter: RecyclerView.Adapter<*>?) { // ^^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/EpoxyRecyclerView#setAdapter(). +// display_name setAdapter // documentation ```kt\npublic open fun setAdapter(adapter: [Error type: Unresolved type for RecyclerView.Adapter<*>]?)\n``` // ^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/EpoxyRecyclerView#setAdapter().(adapter) +// display_name adapter // documentation ```kt\nvalue-parameter adapter: [Error type: Unresolved type for RecyclerView.Adapter<*>]?\n``` super.setAdapter(adapter) // ^^^^^ reference semanticdb maven . . kotlin/Any# @@ -1130,12 +1251,15 @@ open class EpoxyRecyclerView @JvmOverloads constructor( override fun swapAdapter( // ^^^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/EpoxyRecyclerView#swapAdapter(). +// display_name swapAdapter // documentation ```kt\npublic open fun swapAdapter(adapter: [Error type: Unresolved type for RecyclerView.Adapter<*>]?, removeAndRecycleExistingViews: kotlin.Boolean)\n``` adapter: RecyclerView.Adapter<*>?, // ^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/EpoxyRecyclerView#swapAdapter().(adapter) +// display_name adapter // documentation ```kt\nvalue-parameter adapter: [Error type: Unresolved type for RecyclerView.Adapter<*>]?\n``` removeAndRecycleExistingViews: Boolean // ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/EpoxyRecyclerView#swapAdapter().(removeAndRecycleExistingViews) +// display_name removeAndRecycleExistingViews // documentation ```kt\nvalue-parameter removeAndRecycleExistingViews: kotlin.Boolean\n``` // ^^^^^^^ reference semanticdb maven . . kotlin/Boolean# ) { @@ -1152,6 +1276,7 @@ open class EpoxyRecyclerView @JvmOverloads constructor( public override fun onAttachedToWindow() { // ^^^^^^^^^^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/EpoxyRecyclerView#onAttachedToWindow(). +// display_name onAttachedToWindow // documentation ```kt\npublic open fun onAttachedToWindow()\n``` super.onAttachedToWindow() // ^^^^^ reference semanticdb maven . . kotlin/Any# @@ -1173,6 +1298,7 @@ open class EpoxyRecyclerView @JvmOverloads constructor( public override fun onDetachedFromWindow() { // ^^^^^^^^^^^^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/EpoxyRecyclerView#onDetachedFromWindow(). +// display_name onDetachedFromWindow // documentation ```kt\npublic open fun onDetachedFromWindow()\n``` super.onDetachedFromWindow() // ^^^^^ reference semanticdb maven . . kotlin/Any# @@ -1215,9 +1341,11 @@ open class EpoxyRecyclerView @JvmOverloads constructor( private fun removeAdapter() { // ^^^^^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/EpoxyRecyclerView#removeAdapter(). +// display_name removeAdapter // documentation ```kt\nprivate final fun removeAdapter()\n``` val currentAdapter = adapter // ^^^^^^^^^^^^^^ definition local 16 +// display_name currentAdapter // documentation ```kt\nval currentAdapter: [Error type: Not found recorded type for adapter]\n``` if (currentAdapter != null) { // ^^^^^^^^^^^^^^ reference local 16 @@ -1242,6 +1370,7 @@ open class EpoxyRecyclerView @JvmOverloads constructor( private fun clearRemovedAdapterAndCancelRunnable() { // ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/EpoxyRecyclerView#clearRemovedAdapterAndCancelRunnable(). +// display_name clearRemovedAdapterAndCancelRunnable // documentation ```kt\nprivate final fun clearRemovedAdapterAndCancelRunnable()\n``` removedAdapter = null // ^^^^^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/EpoxyRecyclerView#getRemovedAdapter(). @@ -1263,6 +1392,7 @@ open class EpoxyRecyclerView @JvmOverloads constructor( private fun clearPoolIfActivityIsDestroyed() { // ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/EpoxyRecyclerView#clearPoolIfActivityIsDestroyed(). +// display_name clearPoolIfActivityIsDestroyed // documentation ```kt\nprivate final fun clearPoolIfActivityIsDestroyed()\n``` // Views in the pool hold context references which can keep the activity from being GC'd, // plus they can hold significant memory resources. We should clear it asap after the pool @@ -1274,11 +1404,14 @@ open class EpoxyRecyclerView @JvmOverloads constructor( companion object { // ^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/EpoxyRecyclerView#Companion# 1:0 +// display_name Companion // documentation ```kt\npublic companion object\n``` private const val DEFAULT_ADAPTER_REMOVAL_DELAY_MS = 2000 // ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/EpoxyRecyclerView#Companion#DEFAULT_ADAPTER_REMOVAL_DELAY_MS. +// display_name DEFAULT_ADAPTER_REMOVAL_DELAY_MS // documentation ```kt\nprivate const final val DEFAULT_ADAPTER_REMOVAL_DELAY_MS: kotlin.Int\n``` // ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/EpoxyRecyclerView#Companion#getDEFAULT_ADAPTER_REMOVAL_DELAY_MS(). +// display_name DEFAULT_ADAPTER_REMOVAL_DELAY_MS // documentation ```kt\nprivate const final val DEFAULT_ADAPTER_REMOVAL_DELAY_MS: kotlin.Int\n``` /** @@ -1287,8 +1420,10 @@ open class EpoxyRecyclerView @JvmOverloads constructor( */ private val ACTIVITY_RECYCLER_POOL = ActivityRecyclerPool() // ^^^^^^^^^^^^^^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/EpoxyRecyclerView#Companion#ACTIVITY_RECYCLER_POOL. +// display_name ACTIVITY_RECYCLER_POOL // documentation ```kt\nprivate final val ACTIVITY_RECYCLER_POOL: com.airbnb.epoxy.ActivityRecyclerPool\n```\n\n----\n\n\n Store one unique pool per activity. They are cleared out when activities are destroyed, so this\n only needs to hold pools for active activities.\n // ^^^^^^^^^^^^^^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/EpoxyRecyclerView#Companion#getACTIVITY_RECYCLER_POOL(). +// display_name ACTIVITY_RECYCLER_POOL // documentation ```kt\nprivate final val ACTIVITY_RECYCLER_POOL: com.airbnb.epoxy.ActivityRecyclerPool\n```\n\n----\n\n\n Store one unique pool per activity. They are cleared out when activities are destroyed, so this\n only needs to hold pools for active activities.\n // ^^^^^^^^^^^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/ActivityRecyclerPool#``(). } diff --git a/tests/snapshots/src/main/generated/com/airbnb/epoxy/EpoxySwipeCallback.java b/tests/snapshots/src/main/generated/com/airbnb/epoxy/EpoxySwipeCallback.java index c3da8ac17..c9bf1afd0 100644 --- a/tests/snapshots/src/main/generated/com/airbnb/epoxy/EpoxySwipeCallback.java +++ b/tests/snapshots/src/main/generated/com/airbnb/epoxy/EpoxySwipeCallback.java @@ -20,11 +20,15 @@ */ public interface EpoxySwipeCallback extends BaseEpoxyTouchCallback { // ^^^^^^^^^^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/EpoxySwipeCallback# -// documentation ```java\npublic interface EpoxySwipeCallback\n``` +// display_name EpoxySwipeCallback +// signature_documentation java public interface EpoxySwipeCallback +// kind Interface // documentation For use with {@link EpoxyModelTouchCallback}\n // relationship is_implementation semanticdb maven . . com/airbnb/epoxy/BaseEpoxyTouchCallback# // ^ definition semanticdb maven . . com/airbnb/epoxy/EpoxySwipeCallback#[T] -// documentation ```java\nT extends EpoxyModel\n``` +// display_name T +// signature_documentation java T extends EpoxyModel +// kind TypeParameter // ^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/EpoxyModel# // ^^^^^^^^^^^^^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/BaseEpoxyTouchCallback# // ^ reference semanticdb maven . . com/airbnb/epoxy/EpoxySwipeCallback#[T] @@ -42,18 +46,26 @@ public interface EpoxySwipeCallback extends BaseEpoxyTouch */ void onSwipeStarted(T model, View itemView, int adapterPosition); // ^^^^^^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/EpoxySwipeCallback#onSwipeStarted(). -// documentation ```java\npublic abstract void onSwipeStarted(T model, unresolved_type itemView, int adapterPosition)\n``` +// display_name onSwipeStarted +// signature_documentation java public abstract void onSwipeStarted(T model, unresolved_type itemView, int adapterPosition) +// kind AbstractMethod // documentation Called when the view switches from an idle state to a swiped state, as the user begins a swipe\n interaction with it. You can use this callback to modify the view to indicate it is being\n swiped.\n

\n This is the first callback made in the lifecycle of a swipe event.\n\n @param model The model representing the view that is being swiped\n @param itemView The view that is being swiped\n @param adapterPosition The adapter position of the model\n // relationship is_reference is_implementation semanticdb maven . . com/airbnb/epoxy/EpoxyModelTouchCallback#onSwipeStarted(). // relationship is_reference is_implementation semanticdb maven . . com/airbnb/epoxy/EpoxyTouchHelper#SwipeCallbacks#onSwipeStarted(). // ^ reference semanticdb maven . . com/airbnb/epoxy/EpoxySwipeCallback#[T] // ^^^^^ definition local 0 -// documentation ```java\nT model\n``` +// display_name model +// signature_documentation java T model +// enclosing_symbol semanticdb maven . . com/airbnb/epoxy/EpoxySwipeCallback#onSwipeStarted(). // ^^^^ reference semanticdb maven . . View# // ^^^^^^^^ definition local 1 -// documentation ```java\nunresolved_type itemView\n``` +// display_name itemView +// signature_documentation java unresolved_type itemView +// enclosing_symbol semanticdb maven . . com/airbnb/epoxy/EpoxySwipeCallback#onSwipeStarted(). // ^^^^^^^^^^^^^^^ definition local 2 -// documentation ```java\nint adapterPosition\n``` +// display_name adapterPosition +// signature_documentation java int adapterPosition +// enclosing_symbol semanticdb maven . . com/airbnb/epoxy/EpoxySwipeCallback#onSwipeStarted(). /** * Once a view has begun swiping with {@link #onSwipeStarted(EpoxyModel, View, int)} it will @@ -71,22 +83,32 @@ public interface EpoxySwipeCallback extends BaseEpoxyTouch */ void onSwipeProgressChanged(T model, View itemView, float swipeProgress, // ^^^^^^^^^^^^^^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/EpoxySwipeCallback#onSwipeProgressChanged(). -// documentation ```java\npublic abstract void onSwipeProgressChanged(T model, unresolved_type itemView, float swipeProgress, unresolved_type canvas)\n``` +// display_name onSwipeProgressChanged +// signature_documentation java public abstract void onSwipeProgressChanged(T model, unresolved_type itemView, float swipeProgress, unresolved_type canvas) +// kind AbstractMethod // documentation Once a view has begun swiping with {@link #onSwipeStarted(EpoxyModel, View, int)} it will\n receive this callback as the swipe distance changes. This can be called multiple times as the\n swipe interaction progresses.\n\n @param model The model representing the view that is being swiped\n @param itemView The view that is being swiped\n @param swipeProgress A float from -1 to 1 representing the percentage that the view has been\n swiped relative to its width. This will be positive if the view is being\n swiped to the right and negative if it is swiped to the left. For\n example,\n @param canvas The canvas on which RecyclerView is drawing its children. You can draw to\n this to support custom swipe animations.\n // relationship is_reference is_implementation semanticdb maven . . com/airbnb/epoxy/EpoxyModelTouchCallback#onSwipeProgressChanged(). // relationship is_reference is_implementation semanticdb maven . . com/airbnb/epoxy/EpoxyTouchHelper#SwipeCallbacks#onSwipeProgressChanged(). // ^ reference semanticdb maven . . com/airbnb/epoxy/EpoxySwipeCallback#[T] // ^^^^^ definition local 3 -// documentation ```java\nT model\n``` +// display_name model +// signature_documentation java T model +// enclosing_symbol semanticdb maven . . com/airbnb/epoxy/EpoxySwipeCallback#onSwipeProgressChanged(). // ^^^^ reference semanticdb maven . . View# // ^^^^^^^^ definition local 4 -// documentation ```java\nunresolved_type itemView\n``` +// display_name itemView +// signature_documentation java unresolved_type itemView +// enclosing_symbol semanticdb maven . . com/airbnb/epoxy/EpoxySwipeCallback#onSwipeProgressChanged(). // ^^^^^^^^^^^^^ definition local 5 -// documentation ```java\nfloat swipeProgress\n``` +// display_name swipeProgress +// signature_documentation java float swipeProgress +// enclosing_symbol semanticdb maven . . com/airbnb/epoxy/EpoxySwipeCallback#onSwipeProgressChanged(). Canvas canvas); // ^^^^^^ reference semanticdb maven . . Canvas# // ^^^^^^ definition local 6 -// documentation ```java\nunresolved_type canvas\n``` +// display_name canvas +// signature_documentation java unresolved_type canvas +// enclosing_symbol semanticdb maven . . com/airbnb/epoxy/EpoxySwipeCallback#onSwipeProgressChanged(). /** * Called when the user has released their touch on the view. If the displacement passed the swipe @@ -99,16 +121,22 @@ void onSwipeProgressChanged(T model, View itemView, float swipeProgress, */ void onSwipeReleased(T model, View itemView); // ^^^^^^^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/EpoxySwipeCallback#onSwipeReleased(). -// documentation ```java\npublic abstract void onSwipeReleased(T model, unresolved_type itemView)\n``` +// display_name onSwipeReleased +// signature_documentation java public abstract void onSwipeReleased(T model, unresolved_type itemView) +// kind AbstractMethod // documentation Called when the user has released their touch on the view. If the displacement passed the swipe\n threshold then {@link #onSwipeCompleted(EpoxyModel, View, int, int)} will be called after this\n and the view will be animated off screen. Otherwise the view will animate back to its original\n position.\n\n @param model The model representing the view that was being swiped\n @param itemView The view that was being swiped\n // relationship is_reference is_implementation semanticdb maven . . com/airbnb/epoxy/EpoxyModelTouchCallback#onSwipeReleased(). // relationship is_reference is_implementation semanticdb maven . . com/airbnb/epoxy/EpoxyTouchHelper#SwipeCallbacks#onSwipeReleased(). // ^ reference semanticdb maven . . com/airbnb/epoxy/EpoxySwipeCallback#[T] // ^^^^^ definition local 7 -// documentation ```java\nT model\n``` +// display_name model +// signature_documentation java T model +// enclosing_symbol semanticdb maven . . com/airbnb/epoxy/EpoxySwipeCallback#onSwipeReleased(). // ^^^^ reference semanticdb maven . . View# // ^^^^^^^^ definition local 8 -// documentation ```java\nunresolved_type itemView\n``` +// display_name itemView +// signature_documentation java unresolved_type itemView +// enclosing_symbol semanticdb maven . . com/airbnb/epoxy/EpoxySwipeCallback#onSwipeReleased(). /** * Called after {@link #onSwipeReleased(EpoxyModel, View)} if the swipe surpassed the threshold to @@ -129,18 +157,28 @@ void onSwipeProgressChanged(T model, View itemView, float swipeProgress, */ void onSwipeCompleted(T model, View itemView, int position, int direction); // ^^^^^^^^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/EpoxySwipeCallback#onSwipeCompleted(). -// documentation ```java\npublic abstract void onSwipeCompleted(T model, unresolved_type itemView, int position, int direction)\n``` +// display_name onSwipeCompleted +// signature_documentation java public abstract void onSwipeCompleted(T model, unresolved_type itemView, int position, int direction) +// kind AbstractMethod // documentation Called after {@link #onSwipeReleased(EpoxyModel, View)} if the swipe surpassed the threshold to\n be considered a full swipe. The view will now be animated off screen.\n

\n You MUST use this callback to remove this item from your backing data and request a model\n update.\n

\n {@link #clearView(EpoxyModel, View)} will be called after this.\n\n @param model The model representing the view that was being swiped\n @param itemView The view that was being swiped\n @param position The adapter position of the model\n @param direction The direction that the view was swiped. Can be any of {@link\n ItemTouchHelper#LEFT}, {@link ItemTouchHelper#RIGHT}, {@link\n ItemTouchHelper#UP}, {@link ItemTouchHelper#DOWN} depending on what swipe\n directions were enabled.\n // relationship is_reference is_implementation semanticdb maven . . com/airbnb/epoxy/EpoxyModelTouchCallback#onSwipeCompleted(). // relationship is_reference is_implementation semanticdb maven . . com/airbnb/epoxy/EpoxyTouchHelper#SwipeCallbacks#onSwipeCompleted(). // ^ reference semanticdb maven . . com/airbnb/epoxy/EpoxySwipeCallback#[T] // ^^^^^ definition local 9 -// documentation ```java\nT model\n``` +// display_name model +// signature_documentation java T model +// enclosing_symbol semanticdb maven . . com/airbnb/epoxy/EpoxySwipeCallback#onSwipeCompleted(). // ^^^^ reference semanticdb maven . . View# // ^^^^^^^^ definition local 10 -// documentation ```java\nunresolved_type itemView\n``` +// display_name itemView +// signature_documentation java unresolved_type itemView +// enclosing_symbol semanticdb maven . . com/airbnb/epoxy/EpoxySwipeCallback#onSwipeCompleted(). // ^^^^^^^^ definition local 11 -// documentation ```java\nint position\n``` +// display_name position +// signature_documentation java int position +// enclosing_symbol semanticdb maven . . com/airbnb/epoxy/EpoxySwipeCallback#onSwipeCompleted(). // ^^^^^^^^^ definition local 12 -// documentation ```java\nint direction\n``` +// display_name direction +// signature_documentation java int direction +// enclosing_symbol semanticdb maven . . com/airbnb/epoxy/EpoxySwipeCallback#onSwipeCompleted(). } diff --git a/tests/snapshots/src/main/generated/com/airbnb/epoxy/EpoxyTouchHelper.java b/tests/snapshots/src/main/generated/com/airbnb/epoxy/EpoxyTouchHelper.java index d2fc2af6c..013dd7c95 100644 --- a/tests/snapshots/src/main/generated/com/airbnb/epoxy/EpoxyTouchHelper.java +++ b/tests/snapshots/src/main/generated/com/airbnb/epoxy/EpoxyTouchHelper.java @@ -64,10 +64,14 @@ */ public abstract class EpoxyTouchHelper { // ^^^^^^^^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/EpoxyTouchHelper# -// documentation ```java\npublic abstract class EpoxyTouchHelper\n``` +// display_name EpoxyTouchHelper +// signature_documentation java public abstract class EpoxyTouchHelper +// kind Class // documentation A simple way to set up drag or swipe interactions with Epoxy.\n

\n Drag events work with the EpoxyController and automatically update the controller and\n RecyclerView when an item is moved. You just need to implement a callback to update your data to\n reflect the change.\n

\n Both swipe and drag events implement a small lifecycle to help you style the views as they are\n moved. You can register callbacks for the lifecycle events you care about.\n

\n If you want to set up multiple drag and swipe rules for the same RecyclerView, you can use this\n class multiple times to specify different targets or swipe and drag directions and callbacks.\n

\n If you want more control over configuration and handling, you can opt to not use this class and\n instead you can implement {@link EpoxyModelTouchCallback} directly with your own {@link\n ItemTouchHelper}. That class provides an interface that makes it easier to work with Epoxy models\n and simplifies touch callbacks.\n

\n If you want even more control you can implement {@link EpoxyTouchHelperCallback}. This is just a\n light layer over the normal RecyclerView touch callbacks, but it converts all view holders to\n Epoxy view holders to remove some boilerplate for you.\n // ^^^^^^^^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/EpoxyTouchHelper#``(). -// documentation ```java\npublic EpoxyTouchHelper()\n``` +// display_name +// signature_documentation java public EpoxyTouchHelper() +// kind Constructor /** * The entry point for setting up drag support. @@ -79,11 +83,15 @@ public abstract class EpoxyTouchHelper { public static DragBuilder initDragging(EpoxyController controller) { // ^^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/EpoxyTouchHelper#DragBuilder# // ^^^^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/EpoxyTouchHelper#initDragging(). -// documentation ```java\npublic static DragBuilder initDragging(EpoxyController controller)\n``` +// display_name initDragging +// signature_documentation java public static DragBuilder initDragging(EpoxyController controller) +// kind StaticMethod // documentation The entry point for setting up drag support.\n\n @param controller The EpoxyController with the models that will be dragged. The controller will\n be updated for you when a model is dragged and moved by a user's touch\n interaction.\n // ^^^^^^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/EpoxyController# // ^^^^^^^^^^ definition local 0 -// documentation ```java\nEpoxyController controller\n``` +// display_name controller +// signature_documentation java EpoxyController controller +// enclosing_symbol semanticdb maven . . com/airbnb/epoxy/EpoxyTouchHelper#initDragging(). return new DragBuilder(controller); // ^^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/EpoxyTouchHelper#DragBuilder#``(). // ^^^^^^^^^^ reference local 0 @@ -91,19 +99,27 @@ public static DragBuilder initDragging(EpoxyController controller) { public static class DragBuilder { // ^^^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/EpoxyTouchHelper#DragBuilder# -// documentation ```java\npublic static class DragBuilder\n``` +// display_name DragBuilder +// signature_documentation java public static class DragBuilder +// kind Class private final EpoxyController controller; // ^^^^^^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/EpoxyController# // ^^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/EpoxyTouchHelper#DragBuilder#controller. -// documentation ```java\nprivate final EpoxyController controller\n``` +// display_name controller +// signature_documentation java private final EpoxyController controller +// kind Field private DragBuilder(EpoxyController controller) { // ^^^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/EpoxyTouchHelper#DragBuilder#``(). -// documentation ```java\nprivate DragBuilder(EpoxyController controller)\n``` +// display_name +// signature_documentation java private DragBuilder(EpoxyController controller) +// kind Constructor // ^^^^^^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/EpoxyController# // ^^^^^^^^^^ definition local 1 -// documentation ```java\nEpoxyController controller\n``` +// display_name controller +// signature_documentation java EpoxyController controller +// enclosing_symbol semanticdb maven . . com/airbnb/epoxy/EpoxyTouchHelper#DragBuilder#``(). this.controller = controller; // ^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/EpoxyTouchHelper#DragBuilder#controller. // ^^^^^^^^^^ reference local 1 @@ -117,11 +133,15 @@ private DragBuilder(EpoxyController controller) { public DragBuilder2 withRecyclerView(RecyclerView recyclerView) { // ^^^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/EpoxyTouchHelper#DragBuilder2# // ^^^^^^^^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/EpoxyTouchHelper#DragBuilder#withRecyclerView(). -// documentation ```java\npublic DragBuilder2 withRecyclerView(unresolved_type recyclerView)\n``` +// display_name withRecyclerView +// signature_documentation java public DragBuilder2 withRecyclerView(unresolved_type recyclerView) +// kind Method // documentation The recyclerview that the EpoxyController has its adapter added to. An {@link\n androidx.recyclerview.widget.ItemTouchHelper} will be created and configured for you, and\n attached to this RecyclerView.\n // ^^^^^^^^^^^^ reference semanticdb maven . . RecyclerView# // ^^^^^^^^^^^^ definition local 2 -// documentation ```java\nunresolved_type recyclerView\n``` +// display_name recyclerView +// signature_documentation java unresolved_type recyclerView +// enclosing_symbol semanticdb maven . . com/airbnb/epoxy/EpoxyTouchHelper#DragBuilder#withRecyclerView(). return new DragBuilder2(controller, recyclerView); // ^^^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/EpoxyTouchHelper#DragBuilder2#``(). // ^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/EpoxyTouchHelper#DragBuilder#controller. @@ -131,26 +151,38 @@ public DragBuilder2 withRecyclerView(RecyclerView recyclerView) { public static class DragBuilder2 { // ^^^^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/EpoxyTouchHelper#DragBuilder2# -// documentation ```java\npublic static class DragBuilder2\n``` +// display_name DragBuilder2 +// signature_documentation java public static class DragBuilder2 +// kind Class private final EpoxyController controller; // ^^^^^^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/EpoxyController# // ^^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/EpoxyTouchHelper#DragBuilder2#controller. -// documentation ```java\nprivate final EpoxyController controller\n``` +// display_name controller +// signature_documentation java private final EpoxyController controller +// kind Field private final RecyclerView recyclerView; // ^^^^^^^^^^^^ reference semanticdb maven . . RecyclerView# // ^^^^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/EpoxyTouchHelper#DragBuilder2#recyclerView. -// documentation ```java\nprivate final unresolved_type recyclerView\n``` +// display_name recyclerView +// signature_documentation java private final unresolved_type recyclerView +// kind Field private DragBuilder2(EpoxyController controller, RecyclerView recyclerView) { // ^^^^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/EpoxyTouchHelper#DragBuilder2#``(). -// documentation ```java\nprivate DragBuilder2(EpoxyController controller, unresolved_type recyclerView)\n``` +// display_name +// signature_documentation java private DragBuilder2(EpoxyController controller, unresolved_type recyclerView) +// kind Constructor // ^^^^^^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/EpoxyController# // ^^^^^^^^^^ definition local 3 -// documentation ```java\nEpoxyController controller\n``` +// display_name controller +// signature_documentation java EpoxyController controller +// enclosing_symbol semanticdb maven . . com/airbnb/epoxy/EpoxyTouchHelper#DragBuilder2#``(). // ^^^^^^^^^^^^ reference semanticdb maven . . RecyclerView# // ^^^^^^^^^^^^ definition local 4 -// documentation ```java\nunresolved_type recyclerView\n``` +// display_name recyclerView +// signature_documentation java unresolved_type recyclerView +// enclosing_symbol semanticdb maven . . com/airbnb/epoxy/EpoxyTouchHelper#DragBuilder2#``(). this.controller = controller; // ^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/EpoxyTouchHelper#DragBuilder2#controller. // ^^^^^^^^^^ reference local 3 @@ -163,7 +195,9 @@ private DragBuilder2(EpoxyController controller, RecyclerView recyclerView) { public DragBuilder3 forVerticalList() { // ^^^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/EpoxyTouchHelper#DragBuilder3# // ^^^^^^^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/EpoxyTouchHelper#DragBuilder2#forVerticalList(). -// documentation ```java\npublic DragBuilder3 forVerticalList()\n``` +// display_name forVerticalList +// signature_documentation java public DragBuilder3 forVerticalList() +// kind Method // documentation Enable dragging vertically, up and down. return withDirections(ItemTouchHelper.UP | ItemTouchHelper.DOWN); // ^^^^^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/EpoxyTouchHelper#DragBuilder2#withDirections(). @@ -177,7 +211,9 @@ public DragBuilder3 forVerticalList() { public DragBuilder3 forHorizontalList() { // ^^^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/EpoxyTouchHelper#DragBuilder3# // ^^^^^^^^^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/EpoxyTouchHelper#DragBuilder2#forHorizontalList(). -// documentation ```java\npublic DragBuilder3 forHorizontalList()\n``` +// display_name forHorizontalList +// signature_documentation java public DragBuilder3 forHorizontalList() +// kind Method // documentation Enable dragging horizontally, left and right. return withDirections(ItemTouchHelper.LEFT | ItemTouchHelper.RIGHT); // ^^^^^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/EpoxyTouchHelper#DragBuilder2#withDirections(). @@ -191,7 +227,9 @@ public DragBuilder3 forHorizontalList() { public DragBuilder3 forGrid() { // ^^^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/EpoxyTouchHelper#DragBuilder3# // ^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/EpoxyTouchHelper#DragBuilder2#forGrid(). -// documentation ```java\npublic DragBuilder3 forGrid()\n``` +// display_name forGrid +// signature_documentation java public DragBuilder3 forGrid() +// kind Method // documentation Enable dragging in all directions. return withDirections(ItemTouchHelper.UP | ItemTouchHelper.DOWN | ItemTouchHelper.LEFT // ^^^^^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/EpoxyTouchHelper#DragBuilder2#withDirections(). @@ -218,10 +256,14 @@ public DragBuilder3 forGrid() { public DragBuilder3 withDirections(int directionFlags) { // ^^^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/EpoxyTouchHelper#DragBuilder3# // ^^^^^^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/EpoxyTouchHelper#DragBuilder2#withDirections(). -// documentation ```java\npublic DragBuilder3 withDirections(int directionFlags)\n``` +// display_name withDirections +// signature_documentation java public DragBuilder3 withDirections(int directionFlags) +// kind Method // documentation Set custom movement flags to dictate which drag directions should be allowed.\n

\n Can be any of {@link ItemTouchHelper#LEFT}, {@link ItemTouchHelper#RIGHT}, {@link\n ItemTouchHelper#UP}, {@link ItemTouchHelper#DOWN}, {@link ItemTouchHelper#START}, {@link\n ItemTouchHelper#END}\n

\n Flags can be OR'd together to allow multiple directions.\n // ^^^^^^^^^^^^^^ definition local 5 -// documentation ```java\nint directionFlags\n``` +// display_name directionFlags +// signature_documentation java int directionFlags +// enclosing_symbol semanticdb maven . . com/airbnb/epoxy/EpoxyTouchHelper#DragBuilder2#withDirections(). return new DragBuilder3(controller, recyclerView, makeMovementFlags(directionFlags, 0)); // ^^^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/EpoxyTouchHelper#DragBuilder3#``(). // ^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/EpoxyTouchHelper#DragBuilder2#controller. @@ -233,31 +275,47 @@ public DragBuilder3 withDirections(int directionFlags) { public static class DragBuilder3 { // ^^^^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/EpoxyTouchHelper#DragBuilder3# -// documentation ```java\npublic static class DragBuilder3\n``` +// display_name DragBuilder3 +// signature_documentation java public static class DragBuilder3 +// kind Class private final EpoxyController controller; // ^^^^^^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/EpoxyController# // ^^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/EpoxyTouchHelper#DragBuilder3#controller. -// documentation ```java\nprivate final EpoxyController controller\n``` +// display_name controller +// signature_documentation java private final EpoxyController controller +// kind Field private final RecyclerView recyclerView; // ^^^^^^^^^^^^ reference semanticdb maven . . RecyclerView# // ^^^^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/EpoxyTouchHelper#DragBuilder3#recyclerView. -// documentation ```java\nprivate final unresolved_type recyclerView\n``` +// display_name recyclerView +// signature_documentation java private final unresolved_type recyclerView +// kind Field private final int movementFlags; // ^^^^^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/EpoxyTouchHelper#DragBuilder3#movementFlags. -// documentation ```java\nprivate final int movementFlags\n``` +// display_name movementFlags +// signature_documentation java private final int movementFlags +// kind Field private DragBuilder3(EpoxyController controller, RecyclerView recyclerView, int movementFlags) { // ^^^^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/EpoxyTouchHelper#DragBuilder3#``(). -// documentation ```java\nprivate DragBuilder3(EpoxyController controller, unresolved_type recyclerView, int movementFlags)\n``` +// display_name +// signature_documentation java private DragBuilder3(EpoxyController controller, unresolved_type recyclerView, int movementFlags) +// kind Constructor // ^^^^^^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/EpoxyController# // ^^^^^^^^^^ definition local 6 -// documentation ```java\nEpoxyController controller\n``` +// display_name controller +// signature_documentation java EpoxyController controller +// enclosing_symbol semanticdb maven . . com/airbnb/epoxy/EpoxyTouchHelper#DragBuilder3#``(). // ^^^^^^^^^^^^ reference semanticdb maven . . RecyclerView# // ^^^^^^^^^^^^ definition local 7 -// documentation ```java\nunresolved_type recyclerView\n``` +// display_name recyclerView +// signature_documentation java unresolved_type recyclerView +// enclosing_symbol semanticdb maven . . com/airbnb/epoxy/EpoxyTouchHelper#DragBuilder3#``(). // ^^^^^^^^^^^^^ definition local 8 -// documentation ```java\nint movementFlags\n``` +// display_name movementFlags +// signature_documentation java int movementFlags +// enclosing_symbol semanticdb maven . . com/airbnb/epoxy/EpoxyTouchHelper#DragBuilder3#``(). this.controller = controller; // ^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/EpoxyTouchHelper#DragBuilder3#controller. // ^^^^^^^^^^ reference local 6 @@ -275,23 +333,32 @@ private DragBuilder3(EpoxyController controller, RecyclerView recyclerView, int */ public DragBuilder4 withTarget(Class targetModelClass) { // ^ definition semanticdb maven . . com/airbnb/epoxy/EpoxyTouchHelper#DragBuilder3#withTarget().[U] -// documentation ```java\nU extends EpoxyModel\n``` +// display_name U +// signature_documentation java U extends EpoxyModel +// kind TypeParameter // ^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/EpoxyModel# // ^^^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/EpoxyTouchHelper#DragBuilder4# // ^ reference semanticdb maven . . com/airbnb/epoxy/EpoxyTouchHelper#DragBuilder3#withTarget().[U] // ^^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/EpoxyTouchHelper#DragBuilder3#withTarget(). -// documentation ```java\npublic DragBuilder4 withTarget(Class targetModelClass)\n``` +// display_name withTarget +// signature_documentation java public DragBuilder4 withTarget(Class targetModelClass) +// kind Method // documentation Set the type of Epoxy model that is draggable. This approach works well if you only have one\n draggable type.\n // ^^^^^ reference semanticdb maven jdk 11 java/lang/Class# // ^ reference semanticdb maven . . com/airbnb/epoxy/EpoxyTouchHelper#DragBuilder3#withTarget().[U] // ^^^^^^^^^^^^^^^^ definition local 9 -// documentation ```java\nClass targetModelClass\n``` +// display_name targetModelClass +// signature_documentation java Class targetModelClass +// enclosing_symbol semanticdb maven . . com/airbnb/epoxy/EpoxyTouchHelper#DragBuilder3#withTarget(). List> targetClasses = new ArrayList<>(1); // ^^^^ reference semanticdb maven jdk 11 java/util/List# // ^^^^^ reference semanticdb maven jdk 11 java/lang/Class# // ^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/EpoxyModel# // ^^^^^^^^^^^^^ definition local 10 -// documentation ```java\nList> targetClasses\n``` +// display_name targetClasses +// signature_documentation java List> targetClasses +// enclosing_symbol semanticdb maven . . com/airbnb/epoxy/EpoxyTouchHelper#DragBuilder3#withTarget(). +// kind Variable // ^^^^^^^^^ reference semanticdb maven jdk 11 java/util/ArrayList#``(). targetClasses.add(targetModelClass); // ^^^^^^^^^^^^^ reference local 10 @@ -318,12 +385,16 @@ public DragBuilder4 withTargets(Class... targe // ^^^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/EpoxyTouchHelper#DragBuilder4# // ^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/EpoxyModel# // ^^^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/EpoxyTouchHelper#DragBuilder3#withTargets(). -// documentation ```java\npublic DragBuilder4 withTargets(Class[] targetModelClasses)\n``` +// display_name withTargets +// signature_documentation java public DragBuilder4 withTargets(Class[] targetModelClasses) +// kind Method // documentation Specify which Epoxy model types are draggable. Use this if you have more than one type that\n is draggable.\n

\n If you only have one draggable type you should use {@link #withTarget(Class)}\n // ^^^^^ reference semanticdb maven jdk 11 java/lang/Class# // ^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/EpoxyModel# // ^^^^^^^^^^^^^^^^^^ definition local 11 -// documentation ```java\nClass[] targetModelClasses\n``` +// display_name targetModelClasses +// signature_documentation java Class[] targetModelClasses +// enclosing_symbol semanticdb maven . . com/airbnb/epoxy/EpoxyTouchHelper#DragBuilder3#withTargets(). return new DragBuilder4<>(controller, recyclerView, movementFlags, EpoxyModel.class, // ^^^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/EpoxyTouchHelper#DragBuilder4#``(). // ^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/EpoxyTouchHelper#DragBuilder3#controller. @@ -347,7 +418,9 @@ public DragBuilder4 forAllModels() { // ^^^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/EpoxyTouchHelper#DragBuilder4# // ^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/EpoxyModel# // ^^^^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/EpoxyTouchHelper#DragBuilder3#forAllModels(). -// documentation ```java\npublic DragBuilder4 forAllModels()\n``` +// display_name forAllModels +// signature_documentation java public DragBuilder4 forAllModels() +// kind Method // documentation Use this if all models in the controller should be draggable, and if there are multiple types\n of models in the controller.\n

\n If you only have one model type you should use {@link #withTarget(Class)}\n return withTarget(EpoxyModel.class); // ^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/EpoxyTouchHelper#DragBuilder3#withTarget(). @@ -358,56 +431,82 @@ public DragBuilder4 forAllModels() { public static class DragBuilder4 { // ^^^^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/EpoxyTouchHelper#DragBuilder4# -// documentation ```java\npublic static class DragBuilder4\n``` +// display_name DragBuilder4 +// signature_documentation java public static class DragBuilder4 +// kind Class // ^ definition semanticdb maven . . com/airbnb/epoxy/EpoxyTouchHelper#DragBuilder4#[U] -// documentation ```java\nU extends EpoxyModel\n``` +// display_name U +// signature_documentation java U extends EpoxyModel +// kind TypeParameter // ^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/EpoxyModel# private final EpoxyController controller; // ^^^^^^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/EpoxyController# // ^^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/EpoxyTouchHelper#DragBuilder4#controller. -// documentation ```java\nprivate final EpoxyController controller\n``` +// display_name controller +// signature_documentation java private final EpoxyController controller +// kind Field private final RecyclerView recyclerView; // ^^^^^^^^^^^^ reference semanticdb maven . . RecyclerView# // ^^^^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/EpoxyTouchHelper#DragBuilder4#recyclerView. -// documentation ```java\nprivate final unresolved_type recyclerView\n``` +// display_name recyclerView +// signature_documentation java private final unresolved_type recyclerView +// kind Field private final int movementFlags; // ^^^^^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/EpoxyTouchHelper#DragBuilder4#movementFlags. -// documentation ```java\nprivate final int movementFlags\n``` +// display_name movementFlags +// signature_documentation java private final int movementFlags +// kind Field private final Class targetModelClass; // ^^^^^ reference semanticdb maven jdk 11 java/lang/Class# // ^ reference semanticdb maven . . com/airbnb/epoxy/EpoxyTouchHelper#DragBuilder4#[U] // ^^^^^^^^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/EpoxyTouchHelper#DragBuilder4#targetModelClass. -// documentation ```java\nprivate final Class targetModelClass\n``` +// display_name targetModelClass +// signature_documentation java private final Class targetModelClass +// kind Field private final List> targetModelClasses; // ^^^^ reference semanticdb maven jdk 11 java/util/List# // ^^^^^ reference semanticdb maven jdk 11 java/lang/Class# // ^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/EpoxyModel# // ^^^^^^^^^^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/EpoxyTouchHelper#DragBuilder4#targetModelClasses. -// documentation ```java\nprivate final List> targetModelClasses\n``` +// display_name targetModelClasses +// signature_documentation java private final List> targetModelClasses +// kind Field private DragBuilder4(EpoxyController controller, // ^^^^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/EpoxyTouchHelper#DragBuilder4#``(). -// documentation ```java\nprivate DragBuilder4(EpoxyController controller, unresolved_type recyclerView, int movementFlags, Class targetModelClass, List> targetModelClasses)\n``` +// display_name +// signature_documentation java private DragBuilder4(EpoxyController controller, unresolved_type recyclerView, int movementFlags, Class targetModelClass, List> targetModelClasses) +// kind Constructor // ^^^^^^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/EpoxyController# // ^^^^^^^^^^ definition local 12 -// documentation ```java\nEpoxyController controller\n``` +// display_name controller +// signature_documentation java EpoxyController controller +// enclosing_symbol semanticdb maven . . com/airbnb/epoxy/EpoxyTouchHelper#DragBuilder4#``(). RecyclerView recyclerView, int movementFlags, // ^^^^^^^^^^^^ reference semanticdb maven . . RecyclerView# // ^^^^^^^^^^^^ definition local 13 -// documentation ```java\nunresolved_type recyclerView\n``` +// display_name recyclerView +// signature_documentation java unresolved_type recyclerView +// enclosing_symbol semanticdb maven . . com/airbnb/epoxy/EpoxyTouchHelper#DragBuilder4#``(). // ^^^^^^^^^^^^^ definition local 14 -// documentation ```java\nint movementFlags\n``` +// display_name movementFlags +// signature_documentation java int movementFlags +// enclosing_symbol semanticdb maven . . com/airbnb/epoxy/EpoxyTouchHelper#DragBuilder4#``(). Class targetModelClass, List> targetModelClasses) { // ^^^^^ reference semanticdb maven jdk 11 java/lang/Class# // ^ reference semanticdb maven . . com/airbnb/epoxy/EpoxyTouchHelper#DragBuilder4#[U] // ^^^^^^^^^^^^^^^^ definition local 15 -// documentation ```java\nClass targetModelClass\n``` +// display_name targetModelClass +// signature_documentation java Class targetModelClass +// enclosing_symbol semanticdb maven . . com/airbnb/epoxy/EpoxyTouchHelper#DragBuilder4#``(). // ^^^^ reference semanticdb maven jdk 11 java/util/List# // ^^^^^ reference semanticdb maven jdk 11 java/lang/Class# // ^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/EpoxyModel# // ^^^^^^^^^^^^^^^^^^ definition local 16 -// documentation ```java\nList> targetModelClasses\n``` +// display_name targetModelClasses +// signature_documentation java List> targetModelClasses +// enclosing_symbol semanticdb maven . . com/airbnb/epoxy/EpoxyTouchHelper#DragBuilder4#``(). this.controller = controller; // ^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/EpoxyTouchHelper#DragBuilder4#controller. @@ -443,16 +542,23 @@ private DragBuilder4(EpoxyController controller, public ItemTouchHelper andCallbacks(final DragCallbacks callbacks) { // ^^^^^^^^^^^^^^^ reference semanticdb maven . . ItemTouchHelper# // ^^^^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/EpoxyTouchHelper#DragBuilder4#andCallbacks(). -// documentation ```java\npublic unresolved_type andCallbacks(DragCallbacks callbacks)\n``` +// display_name andCallbacks +// signature_documentation java public unresolved_type andCallbacks(DragCallbacks callbacks) +// kind Method // documentation Set callbacks to handle drag actions and lifecycle events.\n

\n You MUST implement {@link DragCallbacks#onModelMoved(int, int, EpoxyModel,\n View)} to update your data to reflect an item move.\n

\n You can optionally implement the other callbacks to modify the view being dragged. This is\n useful if you want to change things like the view background, size, color, etc\n\n @return An {@link ItemTouchHelper} instance that has been initialized and attached to a\n recyclerview. The touch helper has already been fully set up and can be ignored, but you may\n want to hold a reference to it if you need to later detach the recyclerview to disable touch\n events via setting null on {@link ItemTouchHelper#attachToRecyclerView(RecyclerView)}\n // ^^^^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/EpoxyTouchHelper#DragCallbacks# // ^ reference semanticdb maven . . com/airbnb/epoxy/EpoxyTouchHelper#DragBuilder4#[U] // ^^^^^^^^^ definition local 17 -// documentation ```java\nfinal DragCallbacks callbacks\n``` +// display_name callbacks +// signature_documentation java final DragCallbacks callbacks +// enclosing_symbol semanticdb maven . . com/airbnb/epoxy/EpoxyTouchHelper#DragBuilder4#andCallbacks(). ItemTouchHelper itemTouchHelper = // ^^^^^^^^^^^^^^^ reference semanticdb maven . . ItemTouchHelper# // ^^^^^^^^^^^^^^^ definition local 18 -// documentation ```java\nunresolved_type itemTouchHelper\n``` +// display_name itemTouchHelper +// signature_documentation java unresolved_type itemTouchHelper +// enclosing_symbol semanticdb maven . . com/airbnb/epoxy/EpoxyTouchHelper#DragBuilder4#andCallbacks(). +// kind Variable new ItemTouchHelper(new EpoxyModelTouchCallback(controller, targetModelClass) { // ^^^^^^^^^^^^^^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/EpoxyModelTouchCallback# // ^ reference semanticdb maven . . com/airbnb/epoxy/EpoxyTouchHelper#DragBuilder4#[U] @@ -463,13 +569,20 @@ public ItemTouchHelper andCallbacks(final DragCallbacks callbacks) { // ^^^^^^^^ reference semanticdb maven jdk 11 java/lang/Override# public int getMovementFlagsForModel(U model, int adapterPosition) { // ^^^^^^^^^^^^^^^^^^^^^^^^ definition local 23 -// documentation ```java\n@Override\npublic int getMovementFlagsForModel(U model, int adapterPosition)\n``` +// display_name getMovementFlagsForModel +// signature_documentation java @Override\npublic int getMovementFlagsForModel(U model, int adapterPosition) +// enclosing_symbol local 20 +// kind Method // relationship is_reference is_implementation semanticdb maven . . com/airbnb/epoxy/BaseEpoxyTouchCallback#getMovementFlagsForModel(). // ^ reference semanticdb maven . . com/airbnb/epoxy/EpoxyTouchHelper#DragBuilder4#[U] // ^^^^^ definition local 24 -// documentation ```java\nU model\n``` +// display_name model +// signature_documentation java U model +// enclosing_symbol local 23 // ^^^^^^^^^^^^^^^ definition local 25 -// documentation ```java\nint adapterPosition\n``` +// display_name adapterPosition +// signature_documentation java int adapterPosition +// enclosing_symbol local 23 return movementFlags; // ^^^^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/EpoxyTouchHelper#DragBuilder4#movementFlags. } @@ -478,14 +591,22 @@ public int getMovementFlagsForModel(U model, int adapterPosition) { // ^^^^^^^^ reference semanticdb maven jdk 11 java/lang/Override# protected boolean isTouchableModel(EpoxyModel model) { // ^^^^^^^^^^^^^^^^ definition local 26 -// documentation ```java\n@Override\nprotected boolean isTouchableModel(EpoxyModel model)\n``` +// display_name isTouchableModel +// signature_documentation java @Override\nprotected boolean isTouchableModel(EpoxyModel model) +// enclosing_symbol local 20 +// kind Method // relationship is_reference is_implementation semanticdb maven . . com/airbnb/epoxy/EpoxyModelTouchCallback#isTouchableModel(). // ^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/EpoxyModel# // ^^^^^ definition local 27 -// documentation ```java\nEpoxyModel model\n``` +// display_name model +// signature_documentation java EpoxyModel model +// enclosing_symbol local 26 boolean isTargetType = targetModelClasses.size() == 1 // ^^^^^^^^^^^^ definition local 28 -// documentation ```java\nboolean isTargetType\n``` +// display_name isTargetType +// signature_documentation java boolean isTargetType +// enclosing_symbol local 26 +// kind Variable // ^^^^^^^^^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/EpoxyTouchHelper#DragBuilder4#targetModelClasses. // ^^^^ reference semanticdb maven jdk 11 java/util/List#size(). ? super.isTouchableModel(model) @@ -511,17 +632,26 @@ protected boolean isTouchableModel(EpoxyModel model) { // ^^^^^^^^ reference semanticdb maven jdk 11 java/lang/Override# public void onDragStarted(U model, View itemView, int adapterPosition) { // ^^^^^^^^^^^^^ definition local 30 -// documentation ```java\n@Override\npublic void onDragStarted(U model, unresolved_type itemView, int adapterPosition)\n``` +// display_name onDragStarted +// signature_documentation java @Override\npublic void onDragStarted(U model, unresolved_type itemView, int adapterPosition) +// enclosing_symbol local 20 +// kind Method // relationship is_reference is_implementation semanticdb maven . . com/airbnb/epoxy/EpoxyDragCallback#onDragStarted(). // relationship is_reference is_implementation semanticdb maven . . com/airbnb/epoxy/EpoxyModelTouchCallback#onDragStarted(). // ^ reference semanticdb maven . . com/airbnb/epoxy/EpoxyTouchHelper#DragBuilder4#[U] // ^^^^^ definition local 31 -// documentation ```java\nU model\n``` +// display_name model +// signature_documentation java U model +// enclosing_symbol local 30 // ^^^^ reference semanticdb maven . . View# // ^^^^^^^^ definition local 32 -// documentation ```java\nunresolved_type itemView\n``` +// display_name itemView +// signature_documentation java unresolved_type itemView +// enclosing_symbol local 30 // ^^^^^^^^^^^^^^^ definition local 33 -// documentation ```java\nint adapterPosition\n``` +// display_name adapterPosition +// signature_documentation java int adapterPosition +// enclosing_symbol local 30 callbacks.onDragStarted(model, itemView, adapterPosition); // ^^^^^^^^^ reference local 17 // ^^^^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/EpoxyTouchHelper#DragCallbacks#onDragStarted(). @@ -534,15 +664,22 @@ public void onDragStarted(U model, View itemView, int adapterPosition) { // ^^^^^^^^ reference semanticdb maven jdk 11 java/lang/Override# public void onDragReleased(U model, View itemView) { // ^^^^^^^^^^^^^^ definition local 34 -// documentation ```java\n@Override\npublic void onDragReleased(U model, unresolved_type itemView)\n``` +// display_name onDragReleased +// signature_documentation java @Override\npublic void onDragReleased(U model, unresolved_type itemView) +// enclosing_symbol local 20 +// kind Method // relationship is_reference is_implementation semanticdb maven . . com/airbnb/epoxy/EpoxyDragCallback#onDragReleased(). // relationship is_reference is_implementation semanticdb maven . . com/airbnb/epoxy/EpoxyModelTouchCallback#onDragReleased(). // ^ reference semanticdb maven . . com/airbnb/epoxy/EpoxyTouchHelper#DragBuilder4#[U] // ^^^^^ definition local 35 -// documentation ```java\nU model\n``` +// display_name model +// signature_documentation java U model +// enclosing_symbol local 34 // ^^^^ reference semanticdb maven . . View# // ^^^^^^^^ definition local 36 -// documentation ```java\nunresolved_type itemView\n``` +// display_name itemView +// signature_documentation java unresolved_type itemView +// enclosing_symbol local 34 callbacks.onDragReleased(model, itemView); // ^^^^^^^^^ reference local 17 // ^^^^^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/EpoxyTouchHelper#DragCallbacks#onDragReleased(). @@ -554,20 +691,31 @@ public void onDragReleased(U model, View itemView) { // ^^^^^^^^ reference semanticdb maven jdk 11 java/lang/Override# public void onModelMoved(int fromPosition, int toPosition, U modelBeingMoved, // ^^^^^^^^^^^^ definition local 37 -// documentation ```java\n@Override\npublic void onModelMoved(int fromPosition, int toPosition, U modelBeingMoved, unresolved_type itemView)\n``` +// display_name onModelMoved +// signature_documentation java @Override\npublic void onModelMoved(int fromPosition, int toPosition, U modelBeingMoved, unresolved_type itemView) +// enclosing_symbol local 20 +// kind Method // relationship is_reference is_implementation semanticdb maven . . com/airbnb/epoxy/EpoxyDragCallback#onModelMoved(). // relationship is_reference is_implementation semanticdb maven . . com/airbnb/epoxy/EpoxyModelTouchCallback#onModelMoved(). // ^^^^^^^^^^^^ definition local 38 -// documentation ```java\nint fromPosition\n``` +// display_name fromPosition +// signature_documentation java int fromPosition +// enclosing_symbol local 37 // ^^^^^^^^^^ definition local 39 -// documentation ```java\nint toPosition\n``` +// display_name toPosition +// signature_documentation java int toPosition +// enclosing_symbol local 37 // ^ reference semanticdb maven . . com/airbnb/epoxy/EpoxyTouchHelper#DragBuilder4#[U] // ^^^^^^^^^^^^^^^ definition local 40 -// documentation ```java\nU modelBeingMoved\n``` +// display_name modelBeingMoved +// signature_documentation java U modelBeingMoved +// enclosing_symbol local 37 View itemView) { // ^^^^ reference semanticdb maven . . View# // ^^^^^^^^ definition local 41 -// documentation ```java\nunresolved_type itemView\n``` +// display_name itemView +// signature_documentation java unresolved_type itemView +// enclosing_symbol local 37 callbacks.onModelMoved(fromPosition, toPosition, modelBeingMoved, itemView); // ^^^^^^^^^ reference local 17 // ^^^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/EpoxyTouchHelper#DragCallbacks#onModelMoved(). @@ -581,7 +729,10 @@ public void onModelMoved(int fromPosition, int toPosition, U modelBeingMoved, // ^^^^^^^^ reference semanticdb maven jdk 11 java/lang/Override# public void clearView(U model, View itemView) { // ^^^^^^^^^ definition local 42 -// documentation ```java\n@Override\npublic void clearView(U model, unresolved_type itemView)\n``` +// display_name clearView +// signature_documentation java @Override\npublic void clearView(U model, unresolved_type itemView) +// enclosing_symbol local 20 +// kind Method // relationship is_reference is_implementation semanticdb maven . . com/airbnb/epoxy/BaseEpoxyTouchCallback#clearView(). // relationship is_reference is_implementation semanticdb maven . . com/airbnb/epoxy/EpoxyModelTouchCallback#clearView(). // relationship is_reference is_implementation semanticdb maven . . com/airbnb/epoxy/EpoxyModelTouchCallback#clearView(+1). @@ -589,10 +740,14 @@ public void clearView(U model, View itemView) { // relationship is_reference is_implementation semanticdb maven . . com/airbnb/epoxy/EpoxyTouchHelperCallback#clearView(+1). // ^ reference semanticdb maven . . com/airbnb/epoxy/EpoxyTouchHelper#DragBuilder4#[U] // ^^^^^ definition local 43 -// documentation ```java\nU model\n``` +// display_name model +// signature_documentation java U model +// enclosing_symbol local 42 // ^^^^ reference semanticdb maven . . View# // ^^^^^^^^ definition local 44 -// documentation ```java\nunresolved_type itemView\n``` +// display_name itemView +// signature_documentation java unresolved_type itemView +// enclosing_symbol local 42 callbacks.clearView(model, itemView); // ^^^^^^^^^ reference local 17 // ^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/EpoxyTouchHelper#DragCallbacks#clearView(). @@ -613,13 +768,19 @@ public void clearView(U model, View itemView) { public abstract static class DragCallbacks // ^^^^^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/EpoxyTouchHelper#DragCallbacks# -// documentation ```java\npublic abstract static class DragCallbacks\n``` +// display_name DragCallbacks +// signature_documentation java public abstract static class DragCallbacks +// kind Class // relationship is_implementation semanticdb maven . . com/airbnb/epoxy/BaseEpoxyTouchCallback# // relationship is_implementation semanticdb maven . . com/airbnb/epoxy/EpoxyDragCallback# // ^^^^^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/EpoxyTouchHelper#DragCallbacks#``(). -// documentation ```java\npublic DragCallbacks()\n``` +// display_name +// signature_documentation java public DragCallbacks() +// kind Constructor // ^ definition semanticdb maven . . com/airbnb/epoxy/EpoxyTouchHelper#DragCallbacks#[T] -// documentation ```java\nT extends EpoxyModel\n``` +// display_name T +// signature_documentation java T extends EpoxyModel +// kind TypeParameter // ^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/EpoxyModel# implements EpoxyDragCallback { // ^^^^^^^^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/EpoxyDragCallback# @@ -629,16 +790,24 @@ public abstract static class DragCallbacks // ^^^^^^^^ reference semanticdb maven jdk 11 java/lang/Override# public void onDragStarted(T model, View itemView, int adapterPosition) { // ^^^^^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/EpoxyTouchHelper#DragCallbacks#onDragStarted(). -// documentation ```java\n@Override\npublic void onDragStarted(T model, unresolved_type itemView, int adapterPosition)\n``` +// display_name onDragStarted +// signature_documentation java @Override\npublic void onDragStarted(T model, unresolved_type itemView, int adapterPosition) +// kind Method // relationship is_reference is_implementation semanticdb maven . . com/airbnb/epoxy/EpoxyDragCallback#onDragStarted(). // ^ reference semanticdb maven . . com/airbnb/epoxy/EpoxyTouchHelper#DragCallbacks#[T] // ^^^^^ definition local 45 -// documentation ```java\nT model\n``` +// display_name model +// signature_documentation java T model +// enclosing_symbol semanticdb maven . . com/airbnb/epoxy/EpoxyTouchHelper#DragCallbacks#onDragStarted(). // ^^^^ reference semanticdb maven . . View# // ^^^^^^^^ definition local 46 -// documentation ```java\nunresolved_type itemView\n``` +// display_name itemView +// signature_documentation java unresolved_type itemView +// enclosing_symbol semanticdb maven . . com/airbnb/epoxy/EpoxyTouchHelper#DragCallbacks#onDragStarted(). // ^^^^^^^^^^^^^^^ definition local 47 -// documentation ```java\nint adapterPosition\n``` +// display_name adapterPosition +// signature_documentation java int adapterPosition +// enclosing_symbol semanticdb maven . . com/airbnb/epoxy/EpoxyTouchHelper#DragCallbacks#onDragStarted(). } @@ -646,14 +815,20 @@ public void onDragStarted(T model, View itemView, int adapterPosition) { // ^^^^^^^^ reference semanticdb maven jdk 11 java/lang/Override# public void onDragReleased(T model, View itemView) { // ^^^^^^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/EpoxyTouchHelper#DragCallbacks#onDragReleased(). -// documentation ```java\n@Override\npublic void onDragReleased(T model, unresolved_type itemView)\n``` +// display_name onDragReleased +// signature_documentation java @Override\npublic void onDragReleased(T model, unresolved_type itemView) +// kind Method // relationship is_reference is_implementation semanticdb maven . . com/airbnb/epoxy/EpoxyDragCallback#onDragReleased(). // ^ reference semanticdb maven . . com/airbnb/epoxy/EpoxyTouchHelper#DragCallbacks#[T] // ^^^^^ definition local 48 -// documentation ```java\nT model\n``` +// display_name model +// signature_documentation java T model +// enclosing_symbol semanticdb maven . . com/airbnb/epoxy/EpoxyTouchHelper#DragCallbacks#onDragReleased(). // ^^^^ reference semanticdb maven . . View# // ^^^^^^^^ definition local 49 -// documentation ```java\nunresolved_type itemView\n``` +// display_name itemView +// signature_documentation java unresolved_type itemView +// enclosing_symbol semanticdb maven . . com/airbnb/epoxy/EpoxyTouchHelper#DragCallbacks#onDragReleased(). } @@ -661,32 +836,48 @@ public void onDragReleased(T model, View itemView) { // ^^^^^^^^ reference semanticdb maven jdk 11 java/lang/Override# public abstract void onModelMoved(int fromPosition, int toPosition, T modelBeingMoved, // ^^^^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/EpoxyTouchHelper#DragCallbacks#onModelMoved(). -// documentation ```java\n@Override\npublic abstract void onModelMoved(int fromPosition, int toPosition, T modelBeingMoved, unresolved_type itemView)\n``` +// display_name onModelMoved +// signature_documentation java @Override\npublic abstract void onModelMoved(int fromPosition, int toPosition, T modelBeingMoved, unresolved_type itemView) +// kind AbstractMethod // relationship is_reference is_implementation semanticdb maven . . com/airbnb/epoxy/EpoxyDragCallback#onModelMoved(). // ^^^^^^^^^^^^ definition local 50 -// documentation ```java\nint fromPosition\n``` +// display_name fromPosition +// signature_documentation java int fromPosition +// enclosing_symbol semanticdb maven . . com/airbnb/epoxy/EpoxyTouchHelper#DragCallbacks#onModelMoved(). // ^^^^^^^^^^ definition local 51 -// documentation ```java\nint toPosition\n``` +// display_name toPosition +// signature_documentation java int toPosition +// enclosing_symbol semanticdb maven . . com/airbnb/epoxy/EpoxyTouchHelper#DragCallbacks#onModelMoved(). // ^ reference semanticdb maven . . com/airbnb/epoxy/EpoxyTouchHelper#DragCallbacks#[T] // ^^^^^^^^^^^^^^^ definition local 52 -// documentation ```java\nT modelBeingMoved\n``` +// display_name modelBeingMoved +// signature_documentation java T modelBeingMoved +// enclosing_symbol semanticdb maven . . com/airbnb/epoxy/EpoxyTouchHelper#DragCallbacks#onModelMoved(). View itemView); // ^^^^ reference semanticdb maven . . View# // ^^^^^^^^ definition local 53 -// documentation ```java\nunresolved_type itemView\n``` +// display_name itemView +// signature_documentation java unresolved_type itemView +// enclosing_symbol semanticdb maven . . com/airbnb/epoxy/EpoxyTouchHelper#DragCallbacks#onModelMoved(). @Override // ^^^^^^^^ reference semanticdb maven jdk 11 java/lang/Override# public void clearView(T model, View itemView) { // ^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/EpoxyTouchHelper#DragCallbacks#clearView(). -// documentation ```java\n@Override\npublic void clearView(T model, unresolved_type itemView)\n``` +// display_name clearView +// signature_documentation java @Override\npublic void clearView(T model, unresolved_type itemView) +// kind Method // relationship is_reference is_implementation semanticdb maven . . com/airbnb/epoxy/BaseEpoxyTouchCallback#clearView(). // ^ reference semanticdb maven . . com/airbnb/epoxy/EpoxyTouchHelper#DragCallbacks#[T] // ^^^^^ definition local 54 -// documentation ```java\nT model\n``` +// display_name model +// signature_documentation java T model +// enclosing_symbol semanticdb maven . . com/airbnb/epoxy/EpoxyTouchHelper#DragCallbacks#clearView(). // ^^^^ reference semanticdb maven . . View# // ^^^^^^^^ definition local 55 -// documentation ```java\nunresolved_type itemView\n``` +// display_name itemView +// signature_documentation java unresolved_type itemView +// enclosing_symbol semanticdb maven . . com/airbnb/epoxy/EpoxyTouchHelper#DragCallbacks#clearView(). } @@ -697,11 +888,15 @@ public void clearView(T model, View itemView) { */ public boolean isDragEnabledForModel(T model) { // ^^^^^^^^^^^^^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/EpoxyTouchHelper#DragCallbacks#isDragEnabledForModel(). -// documentation ```java\npublic boolean isDragEnabledForModel(T model)\n``` +// display_name isDragEnabledForModel +// signature_documentation java public boolean isDragEnabledForModel(T model) +// kind Method // documentation Whether the given model should be draggable.\n

\n True by default. You may override this to toggle draggability for a model.\n // ^ reference semanticdb maven . . com/airbnb/epoxy/EpoxyTouchHelper#DragCallbacks#[T] // ^^^^^ definition local 56 -// documentation ```java\nT model\n``` +// display_name model +// signature_documentation java T model +// enclosing_symbol semanticdb maven . . com/airbnb/epoxy/EpoxyTouchHelper#DragCallbacks#isDragEnabledForModel(). return true; } @@ -709,13 +904,19 @@ public boolean isDragEnabledForModel(T model) { // ^^^^^^^^ reference semanticdb maven jdk 11 java/lang/Override# public final int getMovementFlagsForModel(T model, int adapterPosition) { // ^^^^^^^^^^^^^^^^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/EpoxyTouchHelper#DragCallbacks#getMovementFlagsForModel(). -// documentation ```java\n@Override\npublic final int getMovementFlagsForModel(T model, int adapterPosition)\n``` +// display_name getMovementFlagsForModel +// signature_documentation java @Override\npublic final int getMovementFlagsForModel(T model, int adapterPosition) +// kind Method // relationship is_reference is_implementation semanticdb maven . . com/airbnb/epoxy/BaseEpoxyTouchCallback#getMovementFlagsForModel(). // ^ reference semanticdb maven . . com/airbnb/epoxy/EpoxyTouchHelper#DragCallbacks#[T] // ^^^^^ definition local 57 -// documentation ```java\nT model\n``` +// display_name model +// signature_documentation java T model +// enclosing_symbol semanticdb maven . . com/airbnb/epoxy/EpoxyTouchHelper#DragCallbacks#getMovementFlagsForModel(). // ^^^^^^^^^^^^^^^ definition local 58 -// documentation ```java\nint adapterPosition\n``` +// display_name adapterPosition +// signature_documentation java int adapterPosition +// enclosing_symbol semanticdb maven . . com/airbnb/epoxy/EpoxyTouchHelper#DragCallbacks#getMovementFlagsForModel(). // No-Op this is not used return 0; } @@ -725,16 +926,22 @@ public final int getMovementFlagsForModel(T model, int adapterPosition) { * The entry point for setting up swipe support for a RecyclerView. The RecyclerView must be set * with an Epoxy adapter or controller. // ^^^^^^^^^^ definition local 19 -// documentation ```java\nEpoxyController controller\n``` +// display_name controller +// signature_documentation java EpoxyController controller +// enclosing_symbol local 21 */ public static SwipeBuilder initSwiping(RecyclerView recyclerView) { // ^^^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/EpoxyTouchHelper#SwipeBuilder# // ^^^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/EpoxyTouchHelper#initSwiping(). -// documentation ```java\npublic static SwipeBuilder initSwiping(unresolved_type recyclerView)\n``` +// display_name initSwiping +// signature_documentation java public static SwipeBuilder initSwiping(unresolved_type recyclerView) +// kind StaticMethod // documentation The entry point for setting up swipe support for a RecyclerView. The RecyclerView must be set\n with an Epoxy adapter or controller.\n // ^^^^^^^^^^^^ reference semanticdb maven . . RecyclerView# // ^^^^^^^^^^^^ definition local 59 -// documentation ```java\nunresolved_type recyclerView\n``` +// display_name recyclerView +// signature_documentation java unresolved_type recyclerView +// enclosing_symbol semanticdb maven . . com/airbnb/epoxy/EpoxyTouchHelper#initSwiping(). return new SwipeBuilder(recyclerView); // ^^^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/EpoxyTouchHelper#SwipeBuilder#``(). // ^^^^^^^^^^^^ reference local 59 @@ -742,19 +949,27 @@ public static SwipeBuilder initSwiping(RecyclerView recyclerView) { public static class SwipeBuilder { // ^^^^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/EpoxyTouchHelper#SwipeBuilder# -// documentation ```java\npublic static class SwipeBuilder\n``` +// display_name SwipeBuilder +// signature_documentation java public static class SwipeBuilder +// kind Class private final RecyclerView recyclerView; // ^^^^^^^^^^^^ reference semanticdb maven . . RecyclerView# // ^^^^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/EpoxyTouchHelper#SwipeBuilder#recyclerView. -// documentation ```java\nprivate final unresolved_type recyclerView\n``` +// display_name recyclerView +// signature_documentation java private final unresolved_type recyclerView +// kind Field private SwipeBuilder(RecyclerView recyclerView) { // ^^^^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/EpoxyTouchHelper#SwipeBuilder#``(). -// documentation ```java\nprivate SwipeBuilder(unresolved_type recyclerView)\n``` +// display_name +// signature_documentation java private SwipeBuilder(unresolved_type recyclerView) +// kind Constructor // ^^^^^^^^^^^^ reference semanticdb maven . . RecyclerView# // ^^^^^^^^^^^^ definition local 60 -// documentation ```java\nunresolved_type recyclerView\n``` +// display_name recyclerView +// signature_documentation java unresolved_type recyclerView +// enclosing_symbol semanticdb maven . . com/airbnb/epoxy/EpoxyTouchHelper#SwipeBuilder#``(). this.recyclerView = recyclerView; // ^^^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/EpoxyTouchHelper#SwipeBuilder#recyclerView. // ^^^^^^^^^^^^ reference local 60 @@ -764,7 +979,9 @@ private SwipeBuilder(RecyclerView recyclerView) { public SwipeBuilder2 right() { // ^^^^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/EpoxyTouchHelper#SwipeBuilder2# // ^^^^^ definition semanticdb maven . . com/airbnb/epoxy/EpoxyTouchHelper#SwipeBuilder#right(). -// documentation ```java\npublic SwipeBuilder2 right()\n``` +// display_name right +// signature_documentation java public SwipeBuilder2 right() +// kind Method // documentation Enable swiping right. return withDirections(ItemTouchHelper.RIGHT); // ^^^^^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/EpoxyTouchHelper#SwipeBuilder#withDirections(). @@ -776,7 +993,9 @@ public SwipeBuilder2 right() { public SwipeBuilder2 left() { // ^^^^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/EpoxyTouchHelper#SwipeBuilder2# // ^^^^ definition semanticdb maven . . com/airbnb/epoxy/EpoxyTouchHelper#SwipeBuilder#left(). -// documentation ```java\npublic SwipeBuilder2 left()\n``` +// display_name left +// signature_documentation java public SwipeBuilder2 left() +// kind Method // documentation Enable swiping left. return withDirections(ItemTouchHelper.LEFT); // ^^^^^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/EpoxyTouchHelper#SwipeBuilder#withDirections(). @@ -788,7 +1007,9 @@ public SwipeBuilder2 left() { public SwipeBuilder2 leftAndRight() { // ^^^^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/EpoxyTouchHelper#SwipeBuilder2# // ^^^^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/EpoxyTouchHelper#SwipeBuilder#leftAndRight(). -// documentation ```java\npublic SwipeBuilder2 leftAndRight()\n``` +// display_name leftAndRight +// signature_documentation java public SwipeBuilder2 leftAndRight() +// kind Method // documentation Enable swiping horizontally, left and right. return withDirections(ItemTouchHelper.LEFT | ItemTouchHelper.RIGHT); // ^^^^^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/EpoxyTouchHelper#SwipeBuilder#withDirections(). @@ -810,10 +1031,14 @@ public SwipeBuilder2 leftAndRight() { public SwipeBuilder2 withDirections(int directionFlags) { // ^^^^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/EpoxyTouchHelper#SwipeBuilder2# // ^^^^^^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/EpoxyTouchHelper#SwipeBuilder#withDirections(). -// documentation ```java\npublic SwipeBuilder2 withDirections(int directionFlags)\n``` +// display_name withDirections +// signature_documentation java public SwipeBuilder2 withDirections(int directionFlags) +// kind Method // documentation Set custom movement flags to dictate which swipe directions should be allowed.\n

\n Can be any of {@link ItemTouchHelper#LEFT}, {@link ItemTouchHelper#RIGHT}, {@link\n ItemTouchHelper#UP}, {@link ItemTouchHelper#DOWN}, {@link ItemTouchHelper#START}, {@link\n ItemTouchHelper#END}\n

\n Flags can be OR'd together to allow multiple directions.\n // ^^^^^^^^^^^^^^ definition local 61 -// documentation ```java\nint directionFlags\n``` +// display_name directionFlags +// signature_documentation java int directionFlags +// enclosing_symbol semanticdb maven . . com/airbnb/epoxy/EpoxyTouchHelper#SwipeBuilder#withDirections(). return new SwipeBuilder2(recyclerView, makeMovementFlags(0, directionFlags)); // ^^^^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/EpoxyTouchHelper#SwipeBuilder2#``(). // ^^^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/EpoxyTouchHelper#SwipeBuilder#recyclerView. @@ -824,25 +1049,37 @@ public SwipeBuilder2 withDirections(int directionFlags) { public static class SwipeBuilder2 { // ^^^^^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/EpoxyTouchHelper#SwipeBuilder2# -// documentation ```java\npublic static class SwipeBuilder2\n``` +// display_name SwipeBuilder2 +// signature_documentation java public static class SwipeBuilder2 +// kind Class private final RecyclerView recyclerView; // ^^^^^^^^^^^^ reference semanticdb maven . . RecyclerView# // ^^^^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/EpoxyTouchHelper#SwipeBuilder2#recyclerView. -// documentation ```java\nprivate final unresolved_type recyclerView\n``` +// display_name recyclerView +// signature_documentation java private final unresolved_type recyclerView +// kind Field private final int movementFlags; // ^^^^^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/EpoxyTouchHelper#SwipeBuilder2#movementFlags. -// documentation ```java\nprivate final int movementFlags\n``` +// display_name movementFlags +// signature_documentation java private final int movementFlags +// kind Field private SwipeBuilder2(RecyclerView recyclerView, // ^^^^^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/EpoxyTouchHelper#SwipeBuilder2#``(). -// documentation ```java\nprivate SwipeBuilder2(unresolved_type recyclerView, int movementFlags)\n``` +// display_name +// signature_documentation java private SwipeBuilder2(unresolved_type recyclerView, int movementFlags) +// kind Constructor // ^^^^^^^^^^^^ reference semanticdb maven . . RecyclerView# // ^^^^^^^^^^^^ definition local 62 -// documentation ```java\nunresolved_type recyclerView\n``` +// display_name recyclerView +// signature_documentation java unresolved_type recyclerView +// enclosing_symbol semanticdb maven . . com/airbnb/epoxy/EpoxyTouchHelper#SwipeBuilder2#``(). int movementFlags) { // ^^^^^^^^^^^^^ definition local 63 -// documentation ```java\nint movementFlags\n``` +// display_name movementFlags +// signature_documentation java int movementFlags +// enclosing_symbol semanticdb maven . . com/airbnb/epoxy/EpoxyTouchHelper#SwipeBuilder2#``(). this.recyclerView = recyclerView; // ^^^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/EpoxyTouchHelper#SwipeBuilder2#recyclerView. // ^^^^^^^^^^^^ reference local 62 @@ -857,25 +1094,36 @@ private SwipeBuilder2(RecyclerView recyclerView, */ public SwipeBuilder3 withTarget(Class targetModelClass) { // ^ definition semanticdb maven . . com/airbnb/epoxy/EpoxyTouchHelper#SwipeBuilder2#withTarget().[U] -// documentation ```java\nU extends EpoxyModel\n``` +// display_name U +// signature_documentation java U extends EpoxyModel +// kind TypeParameter // ^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/EpoxyModel# // ^^^^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/EpoxyTouchHelper#SwipeBuilder3# // ^ reference semanticdb maven . . com/airbnb/epoxy/EpoxyTouchHelper#SwipeBuilder2#withTarget().[U] // ^^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/EpoxyTouchHelper#SwipeBuilder2#withTarget(). -// documentation ```java\npublic SwipeBuilder3 withTarget(Class targetModelClass)\n``` +// display_name withTarget +// signature_documentation java public SwipeBuilder3 withTarget(Class targetModelClass) +// kind Method // documentation Set the type of Epoxy model that is swipable. Use this if you only have one\n swipable type.\n // ^^^^^ reference semanticdb maven jdk 11 java/lang/Class# // ^ reference semanticdb maven . . com/airbnb/epoxy/EpoxyTouchHelper#SwipeBuilder2#withTarget().[U] // ^^^^^^^^^^^^^^^^ definition local 22 -// documentation ```java\nClass targetModelClass\n``` +// display_name targetModelClass +// signature_documentation java Class targetModelClass +// enclosing_symbol local 21 // ^^^^^^^^^^^^^^^^ definition local 64 -// documentation ```java\nClass targetModelClass\n``` +// display_name targetModelClass +// signature_documentation java Class targetModelClass +// enclosing_symbol semanticdb maven . . com/airbnb/epoxy/EpoxyTouchHelper#SwipeBuilder2#withTarget(). List> targetClasses = new ArrayList<>(1); // ^^^^ reference semanticdb maven jdk 11 java/util/List# // ^^^^^ reference semanticdb maven jdk 11 java/lang/Class# // ^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/EpoxyModel# // ^^^^^^^^^^^^^ definition local 65 -// documentation ```java\nList> targetClasses\n``` +// display_name targetClasses +// signature_documentation java List> targetClasses +// enclosing_symbol semanticdb maven . . com/airbnb/epoxy/EpoxyTouchHelper#SwipeBuilder2#withTarget(). +// kind Variable // ^^^^^^^^^ reference semanticdb maven jdk 11 java/util/ArrayList#``(). targetClasses.add(targetModelClass); // ^^^^^^^^^^^^^ reference local 65 @@ -901,13 +1149,17 @@ public SwipeBuilder3 withTargets( // ^^^^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/EpoxyTouchHelper#SwipeBuilder3# // ^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/EpoxyModel# // ^^^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/EpoxyTouchHelper#SwipeBuilder2#withTargets(). -// documentation ```java\npublic SwipeBuilder3 withTargets(Class[] targetModelClasses)\n``` +// display_name withTargets +// signature_documentation java public SwipeBuilder3 withTargets(Class[] targetModelClasses) +// kind Method // documentation Specify which Epoxy model types are swipable. Use this if you have more than one type that\n is swipable.\n

\n If you only have one swipable type you should use {@link #withTarget(Class)}\n Class... targetModelClasses) { // ^^^^^ reference semanticdb maven jdk 11 java/lang/Class# // ^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/EpoxyModel# // ^^^^^^^^^^^^^^^^^^ definition local 66 -// documentation ```java\nClass[] targetModelClasses\n``` +// display_name targetModelClasses +// signature_documentation java Class[] targetModelClasses +// enclosing_symbol semanticdb maven . . com/airbnb/epoxy/EpoxyTouchHelper#SwipeBuilder2#withTargets(). return new SwipeBuilder3<>(recyclerView, movementFlags, EpoxyModel.class, // ^^^^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/EpoxyTouchHelper#SwipeBuilder3#``(). // ^^^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/EpoxyTouchHelper#SwipeBuilder2#recyclerView. @@ -930,7 +1182,9 @@ public SwipeBuilder3 forAllModels() { // ^^^^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/EpoxyTouchHelper#SwipeBuilder3# // ^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/EpoxyModel# // ^^^^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/EpoxyTouchHelper#SwipeBuilder2#forAllModels(). -// documentation ```java\npublic SwipeBuilder3 forAllModels()\n``` +// display_name forAllModels +// signature_documentation java public SwipeBuilder3 forAllModels() +// kind Method // documentation Use this if all models in the controller should be swipable, and if there are multiple types\n of models in the controller.\n

\n If you only have one model type you should use {@link #withTarget(Class)}\n return withTarget(EpoxyModel.class); // ^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/EpoxyTouchHelper#SwipeBuilder2#withTarget(). @@ -941,49 +1195,71 @@ public SwipeBuilder3 forAllModels() { public static class SwipeBuilder3 { // ^^^^^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/EpoxyTouchHelper#SwipeBuilder3# -// documentation ```java\npublic static class SwipeBuilder3\n``` +// display_name SwipeBuilder3 +// signature_documentation java public static class SwipeBuilder3 +// kind Class // ^ definition semanticdb maven . . com/airbnb/epoxy/EpoxyTouchHelper#SwipeBuilder3#[U] -// documentation ```java\nU extends EpoxyModel\n``` +// display_name U +// signature_documentation java U extends EpoxyModel +// kind TypeParameter // ^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/EpoxyModel# private final RecyclerView recyclerView; // ^^^^^^^^^^^^ reference semanticdb maven . . RecyclerView# // ^^^^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/EpoxyTouchHelper#SwipeBuilder3#recyclerView. -// documentation ```java\nprivate final unresolved_type recyclerView\n``` +// display_name recyclerView +// signature_documentation java private final unresolved_type recyclerView +// kind Field private final int movementFlags; // ^^^^^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/EpoxyTouchHelper#SwipeBuilder3#movementFlags. -// documentation ```java\nprivate final int movementFlags\n``` +// display_name movementFlags +// signature_documentation java private final int movementFlags +// kind Field private final Class targetModelClass; // ^^^^^ reference semanticdb maven jdk 11 java/lang/Class# // ^ reference semanticdb maven . . com/airbnb/epoxy/EpoxyTouchHelper#SwipeBuilder3#[U] // ^^^^^^^^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/EpoxyTouchHelper#SwipeBuilder3#targetModelClass. -// documentation ```java\nprivate final Class targetModelClass\n``` +// display_name targetModelClass +// signature_documentation java private final Class targetModelClass +// kind Field private final List> targetModelClasses; // ^^^^ reference semanticdb maven jdk 11 java/util/List# // ^^^^^ reference semanticdb maven jdk 11 java/lang/Class# // ^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/EpoxyModel# // ^^^^^^^^^^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/EpoxyTouchHelper#SwipeBuilder3#targetModelClasses. -// documentation ```java\nprivate final List> targetModelClasses\n``` +// display_name targetModelClasses +// signature_documentation java private final List> targetModelClasses +// kind Field private SwipeBuilder3( // ^^^^^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/EpoxyTouchHelper#SwipeBuilder3#``(). -// documentation ```java\nprivate SwipeBuilder3(unresolved_type recyclerView, int movementFlags, Class targetModelClass, List> targetModelClasses)\n``` +// display_name +// signature_documentation java private SwipeBuilder3(unresolved_type recyclerView, int movementFlags, Class targetModelClass, List> targetModelClasses) +// kind Constructor RecyclerView recyclerView, int movementFlags, // ^^^^^^^^^^^^ reference semanticdb maven . . RecyclerView# // ^^^^^^^^^^^^ definition local 67 -// documentation ```java\nunresolved_type recyclerView\n``` +// display_name recyclerView +// signature_documentation java unresolved_type recyclerView +// enclosing_symbol semanticdb maven . . com/airbnb/epoxy/EpoxyTouchHelper#SwipeBuilder3#``(). // ^^^^^^^^^^^^^ definition local 68 -// documentation ```java\nint movementFlags\n``` +// display_name movementFlags +// signature_documentation java int movementFlags +// enclosing_symbol semanticdb maven . . com/airbnb/epoxy/EpoxyTouchHelper#SwipeBuilder3#``(). Class targetModelClass, List> targetModelClasses) { // ^^^^^ reference semanticdb maven jdk 11 java/lang/Class# // ^ reference semanticdb maven . . com/airbnb/epoxy/EpoxyTouchHelper#SwipeBuilder3#[U] // ^^^^^^^^^^^^^^^^ definition local 69 -// documentation ```java\nClass targetModelClass\n``` +// display_name targetModelClass +// signature_documentation java Class targetModelClass +// enclosing_symbol semanticdb maven . . com/airbnb/epoxy/EpoxyTouchHelper#SwipeBuilder3#``(). // ^^^^ reference semanticdb maven jdk 11 java/util/List# // ^^^^^ reference semanticdb maven jdk 11 java/lang/Class# // ^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/EpoxyModel# // ^^^^^^^^^^^^^^^^^^ definition local 70 -// documentation ```java\nList> targetModelClasses\n``` +// display_name targetModelClasses +// signature_documentation java List> targetModelClasses +// enclosing_symbol semanticdb maven . . com/airbnb/epoxy/EpoxyTouchHelper#SwipeBuilder3#``(). this.recyclerView = recyclerView; // ^^^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/EpoxyTouchHelper#SwipeBuilder3#recyclerView. @@ -1015,16 +1291,23 @@ private SwipeBuilder3( public ItemTouchHelper andCallbacks(final SwipeCallbacks callbacks) { // ^^^^^^^^^^^^^^^ reference semanticdb maven . . ItemTouchHelper# // ^^^^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/EpoxyTouchHelper#SwipeBuilder3#andCallbacks(). -// documentation ```java\npublic unresolved_type andCallbacks(SwipeCallbacks callbacks)\n``` +// display_name andCallbacks +// signature_documentation java public unresolved_type andCallbacks(SwipeCallbacks callbacks) +// kind Method // documentation Set callbacks to handle swipe actions and lifecycle events.\n

\n You MUST implement {@link SwipeCallbacks#onSwipeCompleted(EpoxyModel, View, int, int)} to\n remove the swiped item from your data and request a model build.\n

\n You can optionally implement the other callbacks to modify the view as it is being swiped.\n\n @return An {@link ItemTouchHelper} instance that has been initialized and attached to a\n recyclerview. The touch helper has already been fully set up and can be ignored, but you may\n want to hold a reference to it if you need to later detach the recyclerview to disable touch\n events via setting null on {@link ItemTouchHelper#attachToRecyclerView(RecyclerView)}\n // ^^^^^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/EpoxyTouchHelper#SwipeCallbacks# // ^ reference semanticdb maven . . com/airbnb/epoxy/EpoxyTouchHelper#SwipeBuilder3#[U] // ^^^^^^^^^ definition local 71 -// documentation ```java\nfinal SwipeCallbacks callbacks\n``` +// display_name callbacks +// signature_documentation java final SwipeCallbacks callbacks +// enclosing_symbol semanticdb maven . . com/airbnb/epoxy/EpoxyTouchHelper#SwipeBuilder3#andCallbacks(). ItemTouchHelper itemTouchHelper = // ^^^^^^^^^^^^^^^ reference semanticdb maven . . ItemTouchHelper# // ^^^^^^^^^^^^^^^ definition local 72 -// documentation ```java\nunresolved_type itemTouchHelper\n``` +// display_name itemTouchHelper +// signature_documentation java unresolved_type itemTouchHelper +// enclosing_symbol semanticdb maven . . com/airbnb/epoxy/EpoxyTouchHelper#SwipeBuilder3#andCallbacks(). +// kind Variable new ItemTouchHelper(new EpoxyModelTouchCallback(null, targetModelClass) { // ^^^^^^^^^^^^^^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/EpoxyModelTouchCallback# // ^ reference semanticdb maven . . com/airbnb/epoxy/EpoxyTouchHelper#SwipeBuilder3#[U] @@ -1034,13 +1317,20 @@ public ItemTouchHelper andCallbacks(final SwipeCallbacks callbacks) { // ^^^^^^^^ reference semanticdb maven jdk 11 java/lang/Override# public int getMovementFlagsForModel(U model, int adapterPosition) { // ^^^^^^^^^^^^^^^^^^^^^^^^ definition local 77 -// documentation ```java\n@Override\npublic int getMovementFlagsForModel(U model, int adapterPosition)\n``` +// display_name getMovementFlagsForModel +// signature_documentation java @Override\npublic int getMovementFlagsForModel(U model, int adapterPosition) +// enclosing_symbol local 74 +// kind Method // relationship is_reference is_implementation semanticdb maven . . com/airbnb/epoxy/BaseEpoxyTouchCallback#getMovementFlagsForModel(). // ^ reference semanticdb maven . . com/airbnb/epoxy/EpoxyTouchHelper#SwipeBuilder3#[U] // ^^^^^ definition local 78 -// documentation ```java\nU model\n``` +// display_name model +// signature_documentation java U model +// enclosing_symbol local 77 // ^^^^^^^^^^^^^^^ definition local 79 -// documentation ```java\nint adapterPosition\n``` +// display_name adapterPosition +// signature_documentation java int adapterPosition +// enclosing_symbol local 77 return movementFlags; // ^^^^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/EpoxyTouchHelper#SwipeBuilder3#movementFlags. } @@ -1049,14 +1339,22 @@ public int getMovementFlagsForModel(U model, int adapterPosition) { // ^^^^^^^^ reference semanticdb maven jdk 11 java/lang/Override# protected boolean isTouchableModel(EpoxyModel model) { // ^^^^^^^^^^^^^^^^ definition local 80 -// documentation ```java\n@Override\nprotected boolean isTouchableModel(EpoxyModel model)\n``` +// display_name isTouchableModel +// signature_documentation java @Override\nprotected boolean isTouchableModel(EpoxyModel model) +// enclosing_symbol local 74 +// kind Method // relationship is_reference is_implementation semanticdb maven . . com/airbnb/epoxy/EpoxyModelTouchCallback#isTouchableModel(). // ^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/EpoxyModel# // ^^^^^ definition local 81 -// documentation ```java\nEpoxyModel model\n``` +// display_name model +// signature_documentation java EpoxyModel model +// enclosing_symbol local 80 boolean isTargetType = targetModelClasses.size() == 1 // ^^^^^^^^^^^^ definition local 82 -// documentation ```java\nboolean isTargetType\n``` +// display_name isTargetType +// signature_documentation java boolean isTargetType +// enclosing_symbol local 80 +// kind Variable // ^^^^^^^^^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/EpoxyTouchHelper#SwipeBuilder3#targetModelClasses. // ^^^^ reference semanticdb maven jdk 11 java/util/List#size(). ? super.isTouchableModel(model) @@ -1082,17 +1380,26 @@ protected boolean isTouchableModel(EpoxyModel model) { // ^^^^^^^^ reference semanticdb maven jdk 11 java/lang/Override# public void onSwipeStarted(U model, View itemView, int adapterPosition) { // ^^^^^^^^^^^^^^ definition local 84 -// documentation ```java\n@Override\npublic void onSwipeStarted(U model, unresolved_type itemView, int adapterPosition)\n``` +// display_name onSwipeStarted +// signature_documentation java @Override\npublic void onSwipeStarted(U model, unresolved_type itemView, int adapterPosition) +// enclosing_symbol local 74 +// kind Method // relationship is_reference is_implementation semanticdb maven . . com/airbnb/epoxy/EpoxyModelTouchCallback#onSwipeStarted(). // relationship is_reference is_implementation semanticdb maven . . com/airbnb/epoxy/EpoxySwipeCallback#onSwipeStarted(). // ^ reference semanticdb maven . . com/airbnb/epoxy/EpoxyTouchHelper#SwipeBuilder3#[U] // ^^^^^ definition local 85 -// documentation ```java\nU model\n``` +// display_name model +// signature_documentation java U model +// enclosing_symbol local 84 // ^^^^ reference semanticdb maven . . View# // ^^^^^^^^ definition local 86 -// documentation ```java\nunresolved_type itemView\n``` +// display_name itemView +// signature_documentation java unresolved_type itemView +// enclosing_symbol local 84 // ^^^^^^^^^^^^^^^ definition local 87 -// documentation ```java\nint adapterPosition\n``` +// display_name adapterPosition +// signature_documentation java int adapterPosition +// enclosing_symbol local 84 callbacks.onSwipeStarted(model, itemView, adapterPosition); // ^^^^^^^^^ reference local 71 // ^^^^^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/EpoxyTouchHelper#SwipeCallbacks#onSwipeStarted(). @@ -1105,21 +1412,32 @@ public void onSwipeStarted(U model, View itemView, int adapterPosition) { // ^^^^^^^^ reference semanticdb maven jdk 11 java/lang/Override# public void onSwipeProgressChanged(U model, View itemView, float swipeProgress, // ^^^^^^^^^^^^^^^^^^^^^^ definition local 88 -// documentation ```java\n@Override\npublic void onSwipeProgressChanged(U model, unresolved_type itemView, float swipeProgress, unresolved_type canvas)\n``` +// display_name onSwipeProgressChanged +// signature_documentation java @Override\npublic void onSwipeProgressChanged(U model, unresolved_type itemView, float swipeProgress, unresolved_type canvas) +// enclosing_symbol local 74 +// kind Method // relationship is_reference is_implementation semanticdb maven . . com/airbnb/epoxy/EpoxyModelTouchCallback#onSwipeProgressChanged(). // relationship is_reference is_implementation semanticdb maven . . com/airbnb/epoxy/EpoxySwipeCallback#onSwipeProgressChanged(). // ^ reference semanticdb maven . . com/airbnb/epoxy/EpoxyTouchHelper#SwipeBuilder3#[U] // ^^^^^ definition local 89 -// documentation ```java\nU model\n``` +// display_name model +// signature_documentation java U model +// enclosing_symbol local 88 // ^^^^ reference semanticdb maven . . View# // ^^^^^^^^ definition local 90 -// documentation ```java\nunresolved_type itemView\n``` +// display_name itemView +// signature_documentation java unresolved_type itemView +// enclosing_symbol local 88 // ^^^^^^^^^^^^^ definition local 91 -// documentation ```java\nfloat swipeProgress\n``` +// display_name swipeProgress +// signature_documentation java float swipeProgress +// enclosing_symbol local 88 Canvas canvas) { // ^^^^^^ reference semanticdb maven . . Canvas# // ^^^^^^ definition local 92 -// documentation ```java\nunresolved_type canvas\n``` +// display_name canvas +// signature_documentation java unresolved_type canvas +// enclosing_symbol local 88 callbacks.onSwipeProgressChanged(model, itemView, swipeProgress, canvas); // ^^^^^^^^^ reference local 71 // ^^^^^^^^^^^^^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/EpoxyTouchHelper#SwipeCallbacks#onSwipeProgressChanged(). @@ -1133,19 +1451,30 @@ public void onSwipeProgressChanged(U model, View itemView, float swipeProgress, // ^^^^^^^^ reference semanticdb maven jdk 11 java/lang/Override# public void onSwipeCompleted(U model, View itemView, int position, int direction) { // ^^^^^^^^^^^^^^^^ definition local 93 -// documentation ```java\n@Override\npublic void onSwipeCompleted(U model, unresolved_type itemView, int position, int direction)\n``` +// display_name onSwipeCompleted +// signature_documentation java @Override\npublic void onSwipeCompleted(U model, unresolved_type itemView, int position, int direction) +// enclosing_symbol local 74 +// kind Method // relationship is_reference is_implementation semanticdb maven . . com/airbnb/epoxy/EpoxyModelTouchCallback#onSwipeCompleted(). // relationship is_reference is_implementation semanticdb maven . . com/airbnb/epoxy/EpoxySwipeCallback#onSwipeCompleted(). // ^ reference semanticdb maven . . com/airbnb/epoxy/EpoxyTouchHelper#SwipeBuilder3#[U] // ^^^^^ definition local 94 -// documentation ```java\nU model\n``` +// display_name model +// signature_documentation java U model +// enclosing_symbol local 93 // ^^^^ reference semanticdb maven . . View# // ^^^^^^^^ definition local 95 -// documentation ```java\nunresolved_type itemView\n``` +// display_name itemView +// signature_documentation java unresolved_type itemView +// enclosing_symbol local 93 // ^^^^^^^^ definition local 96 -// documentation ```java\nint position\n``` +// display_name position +// signature_documentation java int position +// enclosing_symbol local 93 // ^^^^^^^^^ definition local 97 -// documentation ```java\nint direction\n``` +// display_name direction +// signature_documentation java int direction +// enclosing_symbol local 93 callbacks.onSwipeCompleted(model, itemView, position, direction); // ^^^^^^^^^ reference local 71 // ^^^^^^^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/EpoxyTouchHelper#SwipeCallbacks#onSwipeCompleted(). @@ -1159,15 +1488,22 @@ public void onSwipeCompleted(U model, View itemView, int position, int direction // ^^^^^^^^ reference semanticdb maven jdk 11 java/lang/Override# public void onSwipeReleased(U model, View itemView) { // ^^^^^^^^^^^^^^^ definition local 98 -// documentation ```java\n@Override\npublic void onSwipeReleased(U model, unresolved_type itemView)\n``` +// display_name onSwipeReleased +// signature_documentation java @Override\npublic void onSwipeReleased(U model, unresolved_type itemView) +// enclosing_symbol local 74 +// kind Method // relationship is_reference is_implementation semanticdb maven . . com/airbnb/epoxy/EpoxyModelTouchCallback#onSwipeReleased(). // relationship is_reference is_implementation semanticdb maven . . com/airbnb/epoxy/EpoxySwipeCallback#onSwipeReleased(). // ^ reference semanticdb maven . . com/airbnb/epoxy/EpoxyTouchHelper#SwipeBuilder3#[U] // ^^^^^ definition local 99 -// documentation ```java\nU model\n``` +// display_name model +// signature_documentation java U model +// enclosing_symbol local 98 // ^^^^ reference semanticdb maven . . View# // ^^^^^^^^ definition local 100 -// documentation ```java\nunresolved_type itemView\n``` +// display_name itemView +// signature_documentation java unresolved_type itemView +// enclosing_symbol local 98 callbacks.onSwipeReleased(model, itemView); // ^^^^^^^^^ reference local 71 // ^^^^^^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/EpoxyTouchHelper#SwipeCallbacks#onSwipeReleased(). @@ -1179,7 +1515,10 @@ public void onSwipeReleased(U model, View itemView) { // ^^^^^^^^ reference semanticdb maven jdk 11 java/lang/Override# public void clearView(U model, View itemView) { // ^^^^^^^^^ definition local 101 -// documentation ```java\n@Override\npublic void clearView(U model, unresolved_type itemView)\n``` +// display_name clearView +// signature_documentation java @Override\npublic void clearView(U model, unresolved_type itemView) +// enclosing_symbol local 74 +// kind Method // relationship is_reference is_implementation semanticdb maven . . com/airbnb/epoxy/BaseEpoxyTouchCallback#clearView(). // relationship is_reference is_implementation semanticdb maven . . com/airbnb/epoxy/EpoxyModelTouchCallback#clearView(). // relationship is_reference is_implementation semanticdb maven . . com/airbnb/epoxy/EpoxyModelTouchCallback#clearView(+1). @@ -1187,10 +1526,14 @@ public void clearView(U model, View itemView) { // relationship is_reference is_implementation semanticdb maven . . com/airbnb/epoxy/EpoxyTouchHelperCallback#clearView(+1). // ^ reference semanticdb maven . . com/airbnb/epoxy/EpoxyTouchHelper#SwipeBuilder3#[U] // ^^^^^ definition local 102 -// documentation ```java\nU model\n``` +// display_name model +// signature_documentation java U model +// enclosing_symbol local 101 // ^^^^ reference semanticdb maven . . View# // ^^^^^^^^ definition local 103 -// documentation ```java\nunresolved_type itemView\n``` +// display_name itemView +// signature_documentation java unresolved_type itemView +// enclosing_symbol local 101 callbacks.clearView(model, itemView); // ^^^^^^^^^ reference local 71 // ^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/EpoxyTouchHelper#SwipeCallbacks#clearView(). @@ -1211,13 +1554,19 @@ public void clearView(U model, View itemView) { public abstract static class SwipeCallbacks // ^^^^^^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/EpoxyTouchHelper#SwipeCallbacks# -// documentation ```java\npublic abstract static class SwipeCallbacks\n``` +// display_name SwipeCallbacks +// signature_documentation java public abstract static class SwipeCallbacks +// kind Class // relationship is_implementation semanticdb maven . . com/airbnb/epoxy/BaseEpoxyTouchCallback# // relationship is_implementation semanticdb maven . . com/airbnb/epoxy/EpoxySwipeCallback# // ^^^^^^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/EpoxyTouchHelper#SwipeCallbacks#``(). -// documentation ```java\npublic SwipeCallbacks()\n``` +// display_name +// signature_documentation java public SwipeCallbacks() +// kind Constructor // ^ definition semanticdb maven . . com/airbnb/epoxy/EpoxyTouchHelper#SwipeCallbacks#[T] -// documentation ```java\nT extends EpoxyModel\n``` +// display_name T +// signature_documentation java T extends EpoxyModel +// kind TypeParameter // ^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/EpoxyModel# implements EpoxySwipeCallback { // ^^^^^^^^^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/EpoxySwipeCallback# @@ -1227,16 +1576,24 @@ public abstract static class SwipeCallbacks // ^^^^^^^^ reference semanticdb maven jdk 11 java/lang/Override# public void onSwipeStarted(T model, View itemView, int adapterPosition) { // ^^^^^^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/EpoxyTouchHelper#SwipeCallbacks#onSwipeStarted(). -// documentation ```java\n@Override\npublic void onSwipeStarted(T model, unresolved_type itemView, int adapterPosition)\n``` +// display_name onSwipeStarted +// signature_documentation java @Override\npublic void onSwipeStarted(T model, unresolved_type itemView, int adapterPosition) +// kind Method // relationship is_reference is_implementation semanticdb maven . . com/airbnb/epoxy/EpoxySwipeCallback#onSwipeStarted(). // ^ reference semanticdb maven . . com/airbnb/epoxy/EpoxyTouchHelper#SwipeCallbacks#[T] // ^^^^^ definition local 104 -// documentation ```java\nT model\n``` +// display_name model +// signature_documentation java T model +// enclosing_symbol semanticdb maven . . com/airbnb/epoxy/EpoxyTouchHelper#SwipeCallbacks#onSwipeStarted(). // ^^^^ reference semanticdb maven . . View# // ^^^^^^^^ definition local 105 -// documentation ```java\nunresolved_type itemView\n``` +// display_name itemView +// signature_documentation java unresolved_type itemView +// enclosing_symbol semanticdb maven . . com/airbnb/epoxy/EpoxyTouchHelper#SwipeCallbacks#onSwipeStarted(). // ^^^^^^^^^^^^^^^ definition local 106 -// documentation ```java\nint adapterPosition\n``` +// display_name adapterPosition +// signature_documentation java int adapterPosition +// enclosing_symbol semanticdb maven . . com/airbnb/epoxy/EpoxyTouchHelper#SwipeCallbacks#onSwipeStarted(). } @@ -1244,20 +1601,30 @@ public void onSwipeStarted(T model, View itemView, int adapterPosition) { // ^^^^^^^^ reference semanticdb maven jdk 11 java/lang/Override# public void onSwipeProgressChanged(T model, View itemView, float swipeProgress, // ^^^^^^^^^^^^^^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/EpoxyTouchHelper#SwipeCallbacks#onSwipeProgressChanged(). -// documentation ```java\n@Override\npublic void onSwipeProgressChanged(T model, unresolved_type itemView, float swipeProgress, unresolved_type canvas)\n``` +// display_name onSwipeProgressChanged +// signature_documentation java @Override\npublic void onSwipeProgressChanged(T model, unresolved_type itemView, float swipeProgress, unresolved_type canvas) +// kind Method // relationship is_reference is_implementation semanticdb maven . . com/airbnb/epoxy/EpoxySwipeCallback#onSwipeProgressChanged(). // ^ reference semanticdb maven . . com/airbnb/epoxy/EpoxyTouchHelper#SwipeCallbacks#[T] // ^^^^^ definition local 107 -// documentation ```java\nT model\n``` +// display_name model +// signature_documentation java T model +// enclosing_symbol semanticdb maven . . com/airbnb/epoxy/EpoxyTouchHelper#SwipeCallbacks#onSwipeProgressChanged(). // ^^^^ reference semanticdb maven . . View# // ^^^^^^^^ definition local 108 -// documentation ```java\nunresolved_type itemView\n``` +// display_name itemView +// signature_documentation java unresolved_type itemView +// enclosing_symbol semanticdb maven . . com/airbnb/epoxy/EpoxyTouchHelper#SwipeCallbacks#onSwipeProgressChanged(). // ^^^^^^^^^^^^^ definition local 109 -// documentation ```java\nfloat swipeProgress\n``` +// display_name swipeProgress +// signature_documentation java float swipeProgress +// enclosing_symbol semanticdb maven . . com/airbnb/epoxy/EpoxyTouchHelper#SwipeCallbacks#onSwipeProgressChanged(). Canvas canvas) { // ^^^^^^ reference semanticdb maven . . Canvas# // ^^^^^^ definition local 110 -// documentation ```java\nunresolved_type canvas\n``` +// display_name canvas +// signature_documentation java unresolved_type canvas +// enclosing_symbol semanticdb maven . . com/airbnb/epoxy/EpoxyTouchHelper#SwipeCallbacks#onSwipeProgressChanged(). } @@ -1265,31 +1632,47 @@ public void onSwipeProgressChanged(T model, View itemView, float swipeProgress, // ^^^^^^^^ reference semanticdb maven jdk 11 java/lang/Override# public abstract void onSwipeCompleted(T model, View itemView, int position, int direction); // ^^^^^^^^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/EpoxyTouchHelper#SwipeCallbacks#onSwipeCompleted(). -// documentation ```java\n@Override\npublic abstract void onSwipeCompleted(T model, unresolved_type itemView, int position, int direction)\n``` +// display_name onSwipeCompleted +// signature_documentation java @Override\npublic abstract void onSwipeCompleted(T model, unresolved_type itemView, int position, int direction) +// kind AbstractMethod // relationship is_reference is_implementation semanticdb maven . . com/airbnb/epoxy/EpoxySwipeCallback#onSwipeCompleted(). // ^ reference semanticdb maven . . com/airbnb/epoxy/EpoxyTouchHelper#SwipeCallbacks#[T] // ^^^^^ definition local 111 -// documentation ```java\nT model\n``` +// display_name model +// signature_documentation java T model +// enclosing_symbol semanticdb maven . . com/airbnb/epoxy/EpoxyTouchHelper#SwipeCallbacks#onSwipeCompleted(). // ^^^^ reference semanticdb maven . . View# // ^^^^^^^^ definition local 112 -// documentation ```java\nunresolved_type itemView\n``` +// display_name itemView +// signature_documentation java unresolved_type itemView +// enclosing_symbol semanticdb maven . . com/airbnb/epoxy/EpoxyTouchHelper#SwipeCallbacks#onSwipeCompleted(). // ^^^^^^^^ definition local 113 -// documentation ```java\nint position\n``` +// display_name position +// signature_documentation java int position +// enclosing_symbol semanticdb maven . . com/airbnb/epoxy/EpoxyTouchHelper#SwipeCallbacks#onSwipeCompleted(). // ^^^^^^^^^ definition local 114 -// documentation ```java\nint direction\n``` +// display_name direction +// signature_documentation java int direction +// enclosing_symbol semanticdb maven . . com/airbnb/epoxy/EpoxyTouchHelper#SwipeCallbacks#onSwipeCompleted(). @Override // ^^^^^^^^ reference semanticdb maven jdk 11 java/lang/Override# public void onSwipeReleased(T model, View itemView) { // ^^^^^^^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/EpoxyTouchHelper#SwipeCallbacks#onSwipeReleased(). -// documentation ```java\n@Override\npublic void onSwipeReleased(T model, unresolved_type itemView)\n``` +// display_name onSwipeReleased +// signature_documentation java @Override\npublic void onSwipeReleased(T model, unresolved_type itemView) +// kind Method // relationship is_reference is_implementation semanticdb maven . . com/airbnb/epoxy/EpoxySwipeCallback#onSwipeReleased(). // ^ reference semanticdb maven . . com/airbnb/epoxy/EpoxyTouchHelper#SwipeCallbacks#[T] // ^^^^^ definition local 115 -// documentation ```java\nT model\n``` +// display_name model +// signature_documentation java T model +// enclosing_symbol semanticdb maven . . com/airbnb/epoxy/EpoxyTouchHelper#SwipeCallbacks#onSwipeReleased(). // ^^^^ reference semanticdb maven . . View# // ^^^^^^^^ definition local 116 -// documentation ```java\nunresolved_type itemView\n``` +// display_name itemView +// signature_documentation java unresolved_type itemView +// enclosing_symbol semanticdb maven . . com/airbnb/epoxy/EpoxyTouchHelper#SwipeCallbacks#onSwipeReleased(). } @@ -1297,14 +1680,20 @@ public void onSwipeReleased(T model, View itemView) { // ^^^^^^^^ reference semanticdb maven jdk 11 java/lang/Override# public void clearView(T model, View itemView) { // ^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/EpoxyTouchHelper#SwipeCallbacks#clearView(). -// documentation ```java\n@Override\npublic void clearView(T model, unresolved_type itemView)\n``` +// display_name clearView +// signature_documentation java @Override\npublic void clearView(T model, unresolved_type itemView) +// kind Method // relationship is_reference is_implementation semanticdb maven . . com/airbnb/epoxy/BaseEpoxyTouchCallback#clearView(). // ^ reference semanticdb maven . . com/airbnb/epoxy/EpoxyTouchHelper#SwipeCallbacks#[T] // ^^^^^ definition local 117 -// documentation ```java\nT model\n``` +// display_name model +// signature_documentation java T model +// enclosing_symbol semanticdb maven . . com/airbnb/epoxy/EpoxyTouchHelper#SwipeCallbacks#clearView(). // ^^^^ reference semanticdb maven . . View# // ^^^^^^^^ definition local 118 -// documentation ```java\nunresolved_type itemView\n``` +// display_name itemView +// signature_documentation java unresolved_type itemView +// enclosing_symbol semanticdb maven . . com/airbnb/epoxy/EpoxyTouchHelper#SwipeCallbacks#clearView(). } @@ -1315,11 +1704,15 @@ public void clearView(T model, View itemView) { */ public boolean isSwipeEnabledForModel(T model) { // ^^^^^^^^^^^^^^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/EpoxyTouchHelper#SwipeCallbacks#isSwipeEnabledForModel(). -// documentation ```java\npublic boolean isSwipeEnabledForModel(T model)\n``` +// display_name isSwipeEnabledForModel +// signature_documentation java public boolean isSwipeEnabledForModel(T model) +// kind Method // documentation Whether the given model should be swipable.\n

\n True by default. You may override this to toggle swipabaility for a model.\n // ^ reference semanticdb maven . . com/airbnb/epoxy/EpoxyTouchHelper#SwipeCallbacks#[T] // ^^^^^ definition local 119 -// documentation ```java\nT model\n``` +// display_name model +// signature_documentation java T model +// enclosing_symbol semanticdb maven . . com/airbnb/epoxy/EpoxyTouchHelper#SwipeCallbacks#isSwipeEnabledForModel(). return true; } @@ -1327,13 +1720,19 @@ public boolean isSwipeEnabledForModel(T model) { // ^^^^^^^^ reference semanticdb maven jdk 11 java/lang/Override# public final int getMovementFlagsForModel(T model, int adapterPosition) { // ^^^^^^^^^^^^^^^^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/EpoxyTouchHelper#SwipeCallbacks#getMovementFlagsForModel(). -// documentation ```java\n@Override\npublic final int getMovementFlagsForModel(T model, int adapterPosition)\n``` +// display_name getMovementFlagsForModel +// signature_documentation java @Override\npublic final int getMovementFlagsForModel(T model, int adapterPosition) +// kind Method // relationship is_reference is_implementation semanticdb maven . . com/airbnb/epoxy/BaseEpoxyTouchCallback#getMovementFlagsForModel(). // ^ reference semanticdb maven . . com/airbnb/epoxy/EpoxyTouchHelper#SwipeCallbacks#[T] // ^^^^^ definition local 120 -// documentation ```java\nT model\n``` +// display_name model +// signature_documentation java T model +// enclosing_symbol semanticdb maven . . com/airbnb/epoxy/EpoxyTouchHelper#SwipeCallbacks#getMovementFlagsForModel(). // ^^^^^^^^^^^^^^^ definition local 121 -// documentation ```java\nint adapterPosition\n``` +// display_name adapterPosition +// signature_documentation java int adapterPosition +// enclosing_symbol semanticdb maven . . com/airbnb/epoxy/EpoxyTouchHelper#SwipeCallbacks#getMovementFlagsForModel(). // Not used return 0; } diff --git a/tests/snapshots/src/main/generated/com/airbnb/epoxy/EpoxyTouchHelperCallback.java b/tests/snapshots/src/main/generated/com/airbnb/epoxy/EpoxyTouchHelperCallback.java index b4fda9700..6896a3edf 100644 --- a/tests/snapshots/src/main/generated/com/airbnb/epoxy/EpoxyTouchHelperCallback.java +++ b/tests/snapshots/src/main/generated/com/airbnb/epoxy/EpoxyTouchHelperCallback.java @@ -33,11 +33,15 @@ */ public abstract class EpoxyTouchHelperCallback extends ItemTouchHelper.Callback { // ^^^^^^^^^^^^^^^^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/EpoxyTouchHelperCallback# -// documentation ```java\npublic abstract class EpoxyTouchHelperCallback\n``` +// display_name EpoxyTouchHelperCallback +// signature_documentation java public abstract class EpoxyTouchHelperCallback +// kind Class // documentation A wrapper around {@link androidx.recyclerview.widget.ItemTouchHelper.Callback} to cast all\n view holders to {@link com.airbnb.epoxy.EpoxyViewHolder} for simpler use with Epoxy.\n // relationship is_implementation semanticdb maven . . ItemTouchHelper/Callback# // ^^^^^^^^^^^^^^^^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/EpoxyTouchHelperCallback#``(). -// documentation ```java\npublic EpoxyTouchHelperCallback()\n``` +// display_name +// signature_documentation java public EpoxyTouchHelperCallback() +// kind Constructor // ^^^^^^^^^^^^^^^ reference semanticdb maven . . ItemTouchHelper/ // ^^^^^^^^ reference semanticdb maven . . ItemTouchHelper/Callback# @@ -45,14 +49,20 @@ public abstract class EpoxyTouchHelperCallback extends ItemTouchHelper.Callback // ^^^^^^^^ reference semanticdb maven jdk 11 java/lang/Override# public final int getMovementFlags(RecyclerView recyclerView, ViewHolder viewHolder) { // ^^^^^^^^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/EpoxyTouchHelperCallback#getMovementFlags(). -// documentation ```java\n@Override\npublic final int getMovementFlags(unresolved_type recyclerView, unresolved_type viewHolder)\n``` +// display_name getMovementFlags +// signature_documentation java @Override\npublic final int getMovementFlags(unresolved_type recyclerView, unresolved_type viewHolder) +// kind Method // relationship is_reference is_implementation semanticdb maven . . com/airbnb/epoxy/EpoxyModelTouchCallback#getMovementFlags(). // ^^^^^^^^^^^^ reference semanticdb maven . . RecyclerView# // ^^^^^^^^^^^^ definition local 0 -// documentation ```java\nunresolved_type recyclerView\n``` +// display_name recyclerView +// signature_documentation java unresolved_type recyclerView +// enclosing_symbol semanticdb maven . . com/airbnb/epoxy/EpoxyTouchHelperCallback#getMovementFlags(). // ^^^^^^^^^^ reference semanticdb maven . . ViewHolder# // ^^^^^^^^^^ definition local 1 -// documentation ```java\nunresolved_type viewHolder\n``` +// display_name viewHolder +// signature_documentation java unresolved_type viewHolder +// enclosing_symbol semanticdb maven . . com/airbnb/epoxy/EpoxyTouchHelperCallback#getMovementFlags(). return getMovementFlags(recyclerView, (EpoxyViewHolder) viewHolder); // ^^^^^^^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/EpoxyTouchHelperCallback#getMovementFlags(). // ^^^^^^^^^^^^ reference local 0 @@ -65,31 +75,45 @@ public final int getMovementFlags(RecyclerView recyclerView, ViewHolder viewHold */ protected abstract int getMovementFlags(RecyclerView recyclerView, EpoxyViewHolder viewHolder); // ^^^^^^^^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/EpoxyTouchHelperCallback#getMovementFlags(+1). -// documentation ```java\nprotected abstract int getMovementFlags(unresolved_type recyclerView, EpoxyViewHolder viewHolder)\n``` +// display_name getMovementFlags +// signature_documentation java protected abstract int getMovementFlags(unresolved_type recyclerView, EpoxyViewHolder viewHolder) +// kind AbstractMethod // documentation @see #getMovementFlags(RecyclerView, ViewHolder)\n // relationship is_reference is_implementation semanticdb maven . . com/airbnb/epoxy/EpoxyModelTouchCallback#getMovementFlags(). // ^^^^^^^^^^^^ reference semanticdb maven . . RecyclerView# // ^^^^^^^^^^^^ definition local 2 -// documentation ```java\nunresolved_type recyclerView\n``` +// display_name recyclerView +// signature_documentation java unresolved_type recyclerView +// enclosing_symbol semanticdb maven . . com/airbnb/epoxy/EpoxyTouchHelperCallback#getMovementFlags(+1). // ^^^^^^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/EpoxyViewHolder# // ^^^^^^^^^^ definition local 3 -// documentation ```java\nEpoxyViewHolder viewHolder\n``` +// display_name viewHolder +// signature_documentation java EpoxyViewHolder viewHolder +// enclosing_symbol semanticdb maven . . com/airbnb/epoxy/EpoxyTouchHelperCallback#getMovementFlags(+1). @Override // ^^^^^^^^ reference semanticdb maven jdk 11 java/lang/Override# public final boolean onMove(RecyclerView recyclerView, ViewHolder viewHolder, ViewHolder target) { // ^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/EpoxyTouchHelperCallback#onMove(). -// documentation ```java\n@Override\npublic final boolean onMove(unresolved_type recyclerView, unresolved_type viewHolder, unresolved_type target)\n``` +// display_name onMove +// signature_documentation java @Override\npublic final boolean onMove(unresolved_type recyclerView, unresolved_type viewHolder, unresolved_type target) +// kind Method // relationship is_reference is_implementation semanticdb maven . . com/airbnb/epoxy/EpoxyModelTouchCallback#onMove(). // ^^^^^^^^^^^^ reference semanticdb maven . . RecyclerView# // ^^^^^^^^^^^^ definition local 4 -// documentation ```java\nunresolved_type recyclerView\n``` +// display_name recyclerView +// signature_documentation java unresolved_type recyclerView +// enclosing_symbol semanticdb maven . . com/airbnb/epoxy/EpoxyTouchHelperCallback#onMove(). // ^^^^^^^^^^ reference semanticdb maven . . ViewHolder# // ^^^^^^^^^^ definition local 5 -// documentation ```java\nunresolved_type viewHolder\n``` +// display_name viewHolder +// signature_documentation java unresolved_type viewHolder +// enclosing_symbol semanticdb maven . . com/airbnb/epoxy/EpoxyTouchHelperCallback#onMove(). // ^^^^^^^^^^ reference semanticdb maven . . ViewHolder# // ^^^^^^ definition local 6 -// documentation ```java\nunresolved_type target\n``` +// display_name target +// signature_documentation java unresolved_type target +// enclosing_symbol semanticdb maven . . com/airbnb/epoxy/EpoxyTouchHelperCallback#onMove(). return onMove(recyclerView, (EpoxyViewHolder) viewHolder, (EpoxyViewHolder) target); // ^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/EpoxyTouchHelperCallback#onMove(). // ^^^^^^^^^^^^ reference local 4 @@ -104,31 +128,45 @@ public final boolean onMove(RecyclerView recyclerView, ViewHolder viewHolder, Vi */ protected abstract boolean onMove(RecyclerView recyclerView, EpoxyViewHolder viewHolder, // ^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/EpoxyTouchHelperCallback#onMove(+1). -// documentation ```java\nprotected abstract boolean onMove(unresolved_type recyclerView, EpoxyViewHolder viewHolder, EpoxyViewHolder target)\n``` +// display_name onMove +// signature_documentation java protected abstract boolean onMove(unresolved_type recyclerView, EpoxyViewHolder viewHolder, EpoxyViewHolder target) +// kind AbstractMethod // documentation @see #onMove(RecyclerView, ViewHolder, ViewHolder)\n // relationship is_reference is_implementation semanticdb maven . . com/airbnb/epoxy/EpoxyModelTouchCallback#onMove(). // ^^^^^^^^^^^^ reference semanticdb maven . . RecyclerView# // ^^^^^^^^^^^^ definition local 7 -// documentation ```java\nunresolved_type recyclerView\n``` +// display_name recyclerView +// signature_documentation java unresolved_type recyclerView +// enclosing_symbol semanticdb maven . . com/airbnb/epoxy/EpoxyTouchHelperCallback#onMove(+1). // ^^^^^^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/EpoxyViewHolder# // ^^^^^^^^^^ definition local 8 -// documentation ```java\nEpoxyViewHolder viewHolder\n``` +// display_name viewHolder +// signature_documentation java EpoxyViewHolder viewHolder +// enclosing_symbol semanticdb maven . . com/airbnb/epoxy/EpoxyTouchHelperCallback#onMove(+1). EpoxyViewHolder target); // ^^^^^^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/EpoxyViewHolder# // ^^^^^^ definition local 9 -// documentation ```java\nEpoxyViewHolder target\n``` +// display_name target +// signature_documentation java EpoxyViewHolder target +// enclosing_symbol semanticdb maven . . com/airbnb/epoxy/EpoxyTouchHelperCallback#onMove(+1). @Override // ^^^^^^^^ reference semanticdb maven jdk 11 java/lang/Override# public final void onSwiped(ViewHolder viewHolder, int direction) { // ^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/EpoxyTouchHelperCallback#onSwiped(). -// documentation ```java\n@Override\npublic final void onSwiped(unresolved_type viewHolder, int direction)\n``` +// display_name onSwiped +// signature_documentation java @Override\npublic final void onSwiped(unresolved_type viewHolder, int direction) +// kind Method // relationship is_reference is_implementation semanticdb maven . . com/airbnb/epoxy/EpoxyModelTouchCallback#onSwiped(). // ^^^^^^^^^^ reference semanticdb maven . . ViewHolder# // ^^^^^^^^^^ definition local 10 -// documentation ```java\nunresolved_type viewHolder\n``` +// display_name viewHolder +// signature_documentation java unresolved_type viewHolder +// enclosing_symbol semanticdb maven . . com/airbnb/epoxy/EpoxyTouchHelperCallback#onSwiped(). // ^^^^^^^^^ definition local 11 -// documentation ```java\nint direction\n``` +// display_name direction +// signature_documentation java int direction +// enclosing_symbol semanticdb maven . . com/airbnb/epoxy/EpoxyTouchHelperCallback#onSwiped(). onSwiped((EpoxyViewHolder) viewHolder, direction); // ^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/EpoxyTouchHelperCallback#onSwiped(). // ^^^^^^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/EpoxyViewHolder# @@ -141,30 +179,44 @@ public final void onSwiped(ViewHolder viewHolder, int direction) { */ protected abstract void onSwiped(EpoxyViewHolder viewHolder, int direction); // ^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/EpoxyTouchHelperCallback#onSwiped(+-1). -// documentation ```java\nprotected abstract void onSwiped(EpoxyViewHolder viewHolder, int direction)\n``` +// display_name onSwiped +// signature_documentation java protected abstract void onSwiped(EpoxyViewHolder viewHolder, int direction) +// kind AbstractMethod // documentation @see #onSwiped(ViewHolder, int)\n // ^^^^^^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/EpoxyViewHolder# // ^^^^^^^^^^ definition local 12 -// documentation ```java\nEpoxyViewHolder viewHolder\n``` +// display_name viewHolder +// signature_documentation java EpoxyViewHolder viewHolder +// enclosing_symbol semanticdb maven . . com/airbnb/epoxy/EpoxyTouchHelperCallback#onSwiped(+-1). // ^^^^^^^^^ definition local 13 -// documentation ```java\nint direction\n``` +// display_name direction +// signature_documentation java int direction +// enclosing_symbol semanticdb maven . . com/airbnb/epoxy/EpoxyTouchHelperCallback#onSwiped(+-1). @Override // ^^^^^^^^ reference semanticdb maven jdk 11 java/lang/Override# public final boolean canDropOver(RecyclerView recyclerView, ViewHolder current, // ^^^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/EpoxyTouchHelperCallback#canDropOver(). -// documentation ```java\n@Override\npublic final boolean canDropOver(unresolved_type recyclerView, unresolved_type current, unresolved_type target)\n``` +// display_name canDropOver +// signature_documentation java @Override\npublic final boolean canDropOver(unresolved_type recyclerView, unresolved_type current, unresolved_type target) +// kind Method // relationship is_reference is_implementation semanticdb maven . . com/airbnb/epoxy/EpoxyModelTouchCallback#canDropOver(). // ^^^^^^^^^^^^ reference semanticdb maven . . RecyclerView# // ^^^^^^^^^^^^ definition local 14 -// documentation ```java\nunresolved_type recyclerView\n``` +// display_name recyclerView +// signature_documentation java unresolved_type recyclerView +// enclosing_symbol semanticdb maven . . com/airbnb/epoxy/EpoxyTouchHelperCallback#canDropOver(). // ^^^^^^^^^^ reference semanticdb maven . . ViewHolder# // ^^^^^^^ definition local 15 -// documentation ```java\nunresolved_type current\n``` +// display_name current +// signature_documentation java unresolved_type current +// enclosing_symbol semanticdb maven . . com/airbnb/epoxy/EpoxyTouchHelperCallback#canDropOver(). ViewHolder target) { // ^^^^^^^^^^ reference semanticdb maven . . ViewHolder# // ^^^^^^ definition local 16 -// documentation ```java\nunresolved_type target\n``` +// display_name target +// signature_documentation java unresolved_type target +// enclosing_symbol semanticdb maven . . com/airbnb/epoxy/EpoxyTouchHelperCallback#canDropOver(). return canDropOver(recyclerView, (EpoxyViewHolder) current, (EpoxyViewHolder) target); // ^^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/EpoxyTouchHelperCallback#canDropOver(). // ^^^^^^^^^^^^ reference local 14 @@ -179,19 +231,27 @@ public final boolean canDropOver(RecyclerView recyclerView, ViewHolder current, */ protected boolean canDropOver(RecyclerView recyclerView, EpoxyViewHolder current, // ^^^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/EpoxyTouchHelperCallback#canDropOver(+1). -// documentation ```java\nprotected boolean canDropOver(unresolved_type recyclerView, EpoxyViewHolder current, EpoxyViewHolder target)\n``` +// display_name canDropOver +// signature_documentation java protected boolean canDropOver(unresolved_type recyclerView, EpoxyViewHolder current, EpoxyViewHolder target) +// kind Method // documentation @see #canDropOver(RecyclerView, ViewHolder, ViewHolder)\n // relationship is_reference is_implementation semanticdb maven . . com/airbnb/epoxy/EpoxyModelTouchCallback#canDropOver(). // ^^^^^^^^^^^^ reference semanticdb maven . . RecyclerView# // ^^^^^^^^^^^^ definition local 17 -// documentation ```java\nunresolved_type recyclerView\n``` +// display_name recyclerView +// signature_documentation java unresolved_type recyclerView +// enclosing_symbol semanticdb maven . . com/airbnb/epoxy/EpoxyTouchHelperCallback#canDropOver(+1). // ^^^^^^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/EpoxyViewHolder# // ^^^^^^^ definition local 18 -// documentation ```java\nEpoxyViewHolder current\n``` +// display_name current +// signature_documentation java EpoxyViewHolder current +// enclosing_symbol semanticdb maven . . com/airbnb/epoxy/EpoxyTouchHelperCallback#canDropOver(+1). EpoxyViewHolder target) { // ^^^^^^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/EpoxyViewHolder# // ^^^^^^ definition local 19 -// documentation ```java\nEpoxyViewHolder target\n``` +// display_name target +// signature_documentation java EpoxyViewHolder target +// enclosing_symbol semanticdb maven . . com/airbnb/epoxy/EpoxyTouchHelperCallback#canDropOver(+1). return super.canDropOver(recyclerView, current, target); // ^^^^^ reference semanticdb maven . . super# // ^^^^^^^^^^^ reference semanticdb maven . . super#canDropOver# @@ -204,10 +264,14 @@ protected boolean canDropOver(RecyclerView recyclerView, EpoxyViewHolder current // ^^^^^^^^ reference semanticdb maven jdk 11 java/lang/Override# public final float getSwipeThreshold(ViewHolder viewHolder) { // ^^^^^^^^^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/EpoxyTouchHelperCallback#getSwipeThreshold(). -// documentation ```java\n@Override\npublic final float getSwipeThreshold(unresolved_type viewHolder)\n``` +// display_name getSwipeThreshold +// signature_documentation java @Override\npublic final float getSwipeThreshold(unresolved_type viewHolder) +// kind Method // ^^^^^^^^^^ reference semanticdb maven . . ViewHolder# // ^^^^^^^^^^ definition local 20 -// documentation ```java\nunresolved_type viewHolder\n``` +// display_name viewHolder +// signature_documentation java unresolved_type viewHolder +// enclosing_symbol semanticdb maven . . com/airbnb/epoxy/EpoxyTouchHelperCallback#getSwipeThreshold(). return getSwipeThreshold((EpoxyViewHolder) viewHolder); // ^^^^^^^^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/EpoxyTouchHelperCallback#getSwipeThreshold(). // ^^^^^^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/EpoxyViewHolder# @@ -219,11 +283,15 @@ public final float getSwipeThreshold(ViewHolder viewHolder) { */ protected float getSwipeThreshold(EpoxyViewHolder viewHolder) { // ^^^^^^^^^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/EpoxyTouchHelperCallback#getSwipeThreshold(+-1). -// documentation ```java\nprotected float getSwipeThreshold(EpoxyViewHolder viewHolder)\n``` +// display_name getSwipeThreshold +// signature_documentation java protected float getSwipeThreshold(EpoxyViewHolder viewHolder) +// kind Method // documentation @see #getSwipeThreshold(ViewHolder)\n // ^^^^^^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/EpoxyViewHolder# // ^^^^^^^^^^ definition local 21 -// documentation ```java\nEpoxyViewHolder viewHolder\n``` +// display_name viewHolder +// signature_documentation java EpoxyViewHolder viewHolder +// enclosing_symbol semanticdb maven . . com/airbnb/epoxy/EpoxyTouchHelperCallback#getSwipeThreshold(+-1). return super.getSwipeThreshold(viewHolder); // ^^^^^ reference semanticdb maven . . super# // ^^^^^^^^^^^^^^^^^ reference semanticdb maven . . super#getSwipeThreshold# @@ -234,10 +302,14 @@ protected float getSwipeThreshold(EpoxyViewHolder viewHolder) { // ^^^^^^^^ reference semanticdb maven jdk 11 java/lang/Override# public final float getMoveThreshold(ViewHolder viewHolder) { // ^^^^^^^^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/EpoxyTouchHelperCallback#getMoveThreshold(). -// documentation ```java\n@Override\npublic final float getMoveThreshold(unresolved_type viewHolder)\n``` +// display_name getMoveThreshold +// signature_documentation java @Override\npublic final float getMoveThreshold(unresolved_type viewHolder) +// kind Method // ^^^^^^^^^^ reference semanticdb maven . . ViewHolder# // ^^^^^^^^^^ definition local 22 -// documentation ```java\nunresolved_type viewHolder\n``` +// display_name viewHolder +// signature_documentation java unresolved_type viewHolder +// enclosing_symbol semanticdb maven . . com/airbnb/epoxy/EpoxyTouchHelperCallback#getMoveThreshold(). return getMoveThreshold((EpoxyViewHolder) viewHolder); // ^^^^^^^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/EpoxyTouchHelperCallback#getMoveThreshold(). // ^^^^^^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/EpoxyViewHolder# @@ -249,11 +321,15 @@ public final float getMoveThreshold(ViewHolder viewHolder) { */ protected float getMoveThreshold(EpoxyViewHolder viewHolder) { // ^^^^^^^^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/EpoxyTouchHelperCallback#getMoveThreshold(+-1). -// documentation ```java\nprotected float getMoveThreshold(EpoxyViewHolder viewHolder)\n``` +// display_name getMoveThreshold +// signature_documentation java protected float getMoveThreshold(EpoxyViewHolder viewHolder) +// kind Method // documentation @see #getMoveThreshold(ViewHolder)\n // ^^^^^^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/EpoxyViewHolder# // ^^^^^^^^^^ definition local 23 -// documentation ```java\nEpoxyViewHolder viewHolder\n``` +// display_name viewHolder +// signature_documentation java EpoxyViewHolder viewHolder +// enclosing_symbol semanticdb maven . . com/airbnb/epoxy/EpoxyTouchHelperCallback#getMoveThreshold(+-1). return super.getMoveThreshold(viewHolder); // ^^^^^ reference semanticdb maven . . super# // ^^^^^^^^^^^^^^^^ reference semanticdb maven . . super#getMoveThreshold# @@ -265,18 +341,28 @@ protected float getMoveThreshold(EpoxyViewHolder viewHolder) { public final ViewHolder chooseDropTarget(ViewHolder selected, List dropTargets, int curX, // ^^^^^^^^^^ reference semanticdb maven . . ViewHolder# // ^^^^^^^^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/EpoxyTouchHelperCallback#chooseDropTarget(). -// documentation ```java\n@Override\npublic final unresolved_type chooseDropTarget(unresolved_type selected, List dropTargets, int curX, int curY)\n``` +// display_name chooseDropTarget +// signature_documentation java @Override\npublic final unresolved_type chooseDropTarget(unresolved_type selected, List dropTargets, int curX, int curY) +// kind Method // ^^^^^^^^^^ reference semanticdb maven . . ViewHolder# // ^^^^^^^^ definition local 24 -// documentation ```java\nunresolved_type selected\n``` +// display_name selected +// signature_documentation java unresolved_type selected +// enclosing_symbol semanticdb maven . . com/airbnb/epoxy/EpoxyTouchHelperCallback#chooseDropTarget(). // ^^^^ reference semanticdb maven jdk 11 java/util/List# // ^^^^^^^^^^^ definition local 25 -// documentation ```java\nList dropTargets\n``` +// display_name dropTargets +// signature_documentation java List dropTargets +// enclosing_symbol semanticdb maven . . com/airbnb/epoxy/EpoxyTouchHelperCallback#chooseDropTarget(). // ^^^^ definition local 26 -// documentation ```java\nint curX\n``` +// display_name curX +// signature_documentation java int curX +// enclosing_symbol semanticdb maven . . com/airbnb/epoxy/EpoxyTouchHelperCallback#chooseDropTarget(). int curY) { // ^^^^ definition local 27 -// documentation ```java\nint curY\n``` +// display_name curY +// signature_documentation java int curY +// enclosing_symbol semanticdb maven . . com/airbnb/epoxy/EpoxyTouchHelperCallback#chooseDropTarget(). //noinspection unchecked return chooseDropTarget((EpoxyViewHolder) selected, (List) dropTargets, curX, // ^^^^^^^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/EpoxyTouchHelperCallback#chooseDropTarget(+1). @@ -296,20 +382,30 @@ public final ViewHolder chooseDropTarget(ViewHolder selected, List dropTargets, protected EpoxyViewHolder chooseDropTarget(EpoxyViewHolder selected, // ^^^^^^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/EpoxyViewHolder# // ^^^^^^^^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/EpoxyTouchHelperCallback#chooseDropTarget(+1). -// documentation ```java\nprotected EpoxyViewHolder chooseDropTarget(EpoxyViewHolder selected, List dropTargets, int curX, int curY)\n``` +// display_name chooseDropTarget +// signature_documentation java protected EpoxyViewHolder chooseDropTarget(EpoxyViewHolder selected, List dropTargets, int curX, int curY) +// kind Method // documentation @see #chooseDropTarget(ViewHolder, List, int, int)\n // ^^^^^^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/EpoxyViewHolder# // ^^^^^^^^ definition local 28 -// documentation ```java\nEpoxyViewHolder selected\n``` +// display_name selected +// signature_documentation java EpoxyViewHolder selected +// enclosing_symbol semanticdb maven . . com/airbnb/epoxy/EpoxyTouchHelperCallback#chooseDropTarget(+1). List dropTargets, int curX, int curY) { // ^^^^ reference semanticdb maven jdk 11 java/util/List# // ^^^^^^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/EpoxyViewHolder# // ^^^^^^^^^^^ definition local 29 -// documentation ```java\nList dropTargets\n``` +// display_name dropTargets +// signature_documentation java List dropTargets +// enclosing_symbol semanticdb maven . . com/airbnb/epoxy/EpoxyTouchHelperCallback#chooseDropTarget(+1). // ^^^^ definition local 30 -// documentation ```java\nint curX\n``` +// display_name curX +// signature_documentation java int curX +// enclosing_symbol semanticdb maven . . com/airbnb/epoxy/EpoxyTouchHelperCallback#chooseDropTarget(+1). // ^^^^ definition local 31 -// documentation ```java\nint curY\n``` +// display_name curY +// signature_documentation java int curY +// enclosing_symbol semanticdb maven . . com/airbnb/epoxy/EpoxyTouchHelperCallback#chooseDropTarget(+1). //noinspection unchecked return (EpoxyViewHolder) super.chooseDropTarget(selected, (List) dropTargets, curX, curY); @@ -327,13 +423,19 @@ protected EpoxyViewHolder chooseDropTarget(EpoxyViewHolder selected, // ^^^^^^^^ reference semanticdb maven jdk 11 java/lang/Override# public final void onSelectedChanged(ViewHolder viewHolder, int actionState) { // ^^^^^^^^^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/EpoxyTouchHelperCallback#onSelectedChanged(). -// documentation ```java\n@Override\npublic final void onSelectedChanged(unresolved_type viewHolder, int actionState)\n``` +// display_name onSelectedChanged +// signature_documentation java @Override\npublic final void onSelectedChanged(unresolved_type viewHolder, int actionState) +// kind Method // relationship is_reference is_implementation semanticdb maven . . com/airbnb/epoxy/EpoxyModelTouchCallback#onSelectedChanged(). // ^^^^^^^^^^ reference semanticdb maven . . ViewHolder# // ^^^^^^^^^^ definition local 32 -// documentation ```java\nunresolved_type viewHolder\n``` +// display_name viewHolder +// signature_documentation java unresolved_type viewHolder +// enclosing_symbol semanticdb maven . . com/airbnb/epoxy/EpoxyTouchHelperCallback#onSelectedChanged(). // ^^^^^^^^^^^ definition local 33 -// documentation ```java\nint actionState\n``` +// display_name actionState +// signature_documentation java int actionState +// enclosing_symbol semanticdb maven . . com/airbnb/epoxy/EpoxyTouchHelperCallback#onSelectedChanged(). onSelectedChanged((EpoxyViewHolder) viewHolder, actionState); // ^^^^^^^^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/EpoxyTouchHelperCallback#onSelectedChanged(). // ^^^^^^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/EpoxyViewHolder# @@ -346,13 +448,19 @@ public final void onSelectedChanged(ViewHolder viewHolder, int actionState) { */ protected void onSelectedChanged(EpoxyViewHolder viewHolder, int actionState) { // ^^^^^^^^^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/EpoxyTouchHelperCallback#onSelectedChanged(+-1). -// documentation ```java\nprotected void onSelectedChanged(EpoxyViewHolder viewHolder, int actionState)\n``` +// display_name onSelectedChanged +// signature_documentation java protected void onSelectedChanged(EpoxyViewHolder viewHolder, int actionState) +// kind Method // documentation @see #onSelectedChanged(ViewHolder, int)\n // ^^^^^^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/EpoxyViewHolder# // ^^^^^^^^^^ definition local 34 -// documentation ```java\nEpoxyViewHolder viewHolder\n``` +// display_name viewHolder +// signature_documentation java EpoxyViewHolder viewHolder +// enclosing_symbol semanticdb maven . . com/airbnb/epoxy/EpoxyTouchHelperCallback#onSelectedChanged(+-1). // ^^^^^^^^^^^ definition local 35 -// documentation ```java\nint actionState\n``` +// display_name actionState +// signature_documentation java int actionState +// enclosing_symbol semanticdb maven . . com/airbnb/epoxy/EpoxyTouchHelperCallback#onSelectedChanged(+-1). super.onSelectedChanged(viewHolder, actionState); // ^^^^^ reference semanticdb maven . . super# // ^^^^^^^^^^^^^^^^^ reference semanticdb maven . . super#onSelectedChanged# @@ -364,25 +472,41 @@ protected void onSelectedChanged(EpoxyViewHolder viewHolder, int actionState) { // ^^^^^^^^ reference semanticdb maven jdk 11 java/lang/Override# public final void onMoved(RecyclerView recyclerView, ViewHolder viewHolder, int fromPos, // ^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/EpoxyTouchHelperCallback#onMoved(). -// documentation ```java\n@Override\npublic final void onMoved(unresolved_type recyclerView, unresolved_type viewHolder, int fromPos, unresolved_type target, int toPos, int x, int y)\n``` +// display_name onMoved +// signature_documentation java @Override\npublic final void onMoved(unresolved_type recyclerView, unresolved_type viewHolder, int fromPos, unresolved_type target, int toPos, int x, int y) +// kind Method // ^^^^^^^^^^^^ reference semanticdb maven . . RecyclerView# // ^^^^^^^^^^^^ definition local 36 -// documentation ```java\nunresolved_type recyclerView\n``` +// display_name recyclerView +// signature_documentation java unresolved_type recyclerView +// enclosing_symbol semanticdb maven . . com/airbnb/epoxy/EpoxyTouchHelperCallback#onMoved(). // ^^^^^^^^^^ reference semanticdb maven . . ViewHolder# // ^^^^^^^^^^ definition local 37 -// documentation ```java\nunresolved_type viewHolder\n``` +// display_name viewHolder +// signature_documentation java unresolved_type viewHolder +// enclosing_symbol semanticdb maven . . com/airbnb/epoxy/EpoxyTouchHelperCallback#onMoved(). // ^^^^^^^ definition local 38 -// documentation ```java\nint fromPos\n``` +// display_name fromPos +// signature_documentation java int fromPos +// enclosing_symbol semanticdb maven . . com/airbnb/epoxy/EpoxyTouchHelperCallback#onMoved(). ViewHolder target, int toPos, int x, int y) { // ^^^^^^^^^^ reference semanticdb maven . . ViewHolder# // ^^^^^^ definition local 39 -// documentation ```java\nunresolved_type target\n``` +// display_name target +// signature_documentation java unresolved_type target +// enclosing_symbol semanticdb maven . . com/airbnb/epoxy/EpoxyTouchHelperCallback#onMoved(). // ^^^^^ definition local 40 -// documentation ```java\nint toPos\n``` +// display_name toPos +// signature_documentation java int toPos +// enclosing_symbol semanticdb maven . . com/airbnb/epoxy/EpoxyTouchHelperCallback#onMoved(). // ^ definition local 41 -// documentation ```java\nint x\n``` +// display_name x +// signature_documentation java int x +// enclosing_symbol semanticdb maven . . com/airbnb/epoxy/EpoxyTouchHelperCallback#onMoved(). // ^ definition local 42 -// documentation ```java\nint y\n``` +// display_name y +// signature_documentation java int y +// enclosing_symbol semanticdb maven . . com/airbnb/epoxy/EpoxyTouchHelperCallback#onMoved(). onMoved(recyclerView, (EpoxyViewHolder) viewHolder, fromPos, (EpoxyViewHolder) target, toPos, x, // ^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/EpoxyTouchHelperCallback#onMoved(). @@ -403,26 +527,42 @@ public final void onMoved(RecyclerView recyclerView, ViewHolder viewHolder, int */ protected void onMoved(RecyclerView recyclerView, EpoxyViewHolder viewHolder, int fromPos, // ^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/EpoxyTouchHelperCallback#onMoved(+1). -// documentation ```java\nprotected void onMoved(unresolved_type recyclerView, EpoxyViewHolder viewHolder, int fromPos, EpoxyViewHolder target, int toPos, int x, int y)\n``` +// display_name onMoved +// signature_documentation java protected void onMoved(unresolved_type recyclerView, EpoxyViewHolder viewHolder, int fromPos, EpoxyViewHolder target, int toPos, int x, int y) +// kind Method // documentation @see #onMoved(RecyclerView, ViewHolder, int, ViewHolder, int, int, int)\n // ^^^^^^^^^^^^ reference semanticdb maven . . RecyclerView# // ^^^^^^^^^^^^ definition local 43 -// documentation ```java\nunresolved_type recyclerView\n``` +// display_name recyclerView +// signature_documentation java unresolved_type recyclerView +// enclosing_symbol semanticdb maven . . com/airbnb/epoxy/EpoxyTouchHelperCallback#onMoved(+1). // ^^^^^^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/EpoxyViewHolder# // ^^^^^^^^^^ definition local 44 -// documentation ```java\nEpoxyViewHolder viewHolder\n``` +// display_name viewHolder +// signature_documentation java EpoxyViewHolder viewHolder +// enclosing_symbol semanticdb maven . . com/airbnb/epoxy/EpoxyTouchHelperCallback#onMoved(+1). // ^^^^^^^ definition local 45 -// documentation ```java\nint fromPos\n``` +// display_name fromPos +// signature_documentation java int fromPos +// enclosing_symbol semanticdb maven . . com/airbnb/epoxy/EpoxyTouchHelperCallback#onMoved(+1). EpoxyViewHolder target, int toPos, int x, int y) { // ^^^^^^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/EpoxyViewHolder# // ^^^^^^ definition local 46 -// documentation ```java\nEpoxyViewHolder target\n``` +// display_name target +// signature_documentation java EpoxyViewHolder target +// enclosing_symbol semanticdb maven . . com/airbnb/epoxy/EpoxyTouchHelperCallback#onMoved(+1). // ^^^^^ definition local 47 -// documentation ```java\nint toPos\n``` +// display_name toPos +// signature_documentation java int toPos +// enclosing_symbol semanticdb maven . . com/airbnb/epoxy/EpoxyTouchHelperCallback#onMoved(+1). // ^ definition local 48 -// documentation ```java\nint x\n``` +// display_name x +// signature_documentation java int x +// enclosing_symbol semanticdb maven . . com/airbnb/epoxy/EpoxyTouchHelperCallback#onMoved(+1). // ^ definition local 49 -// documentation ```java\nint y\n``` +// display_name y +// signature_documentation java int y +// enclosing_symbol semanticdb maven . . com/airbnb/epoxy/EpoxyTouchHelperCallback#onMoved(+1). super.onMoved(recyclerView, viewHolder, fromPos, target, toPos, x, y); // ^^^^^ reference semanticdb maven . . super# // ^^^^^^^ reference semanticdb maven . . super#onMoved# @@ -439,15 +579,21 @@ protected void onMoved(RecyclerView recyclerView, EpoxyViewHolder viewHolder, in // ^^^^^^^^ reference semanticdb maven jdk 11 java/lang/Override# public final void clearView(RecyclerView recyclerView, ViewHolder viewHolder) { // ^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/EpoxyTouchHelperCallback#clearView(). -// documentation ```java\n@Override\npublic final void clearView(unresolved_type recyclerView, unresolved_type viewHolder)\n``` +// display_name clearView +// signature_documentation java @Override\npublic final void clearView(unresolved_type recyclerView, unresolved_type viewHolder) +// kind Method // relationship is_reference is_implementation semanticdb maven . . com/airbnb/epoxy/EpoxyModelTouchCallback#clearView(). // relationship is_reference is_implementation semanticdb maven . . com/airbnb/epoxy/EpoxyModelTouchCallback#clearView(+1). // ^^^^^^^^^^^^ reference semanticdb maven . . RecyclerView# // ^^^^^^^^^^^^ definition local 50 -// documentation ```java\nunresolved_type recyclerView\n``` +// display_name recyclerView +// signature_documentation java unresolved_type recyclerView +// enclosing_symbol semanticdb maven . . com/airbnb/epoxy/EpoxyTouchHelperCallback#clearView(). // ^^^^^^^^^^ reference semanticdb maven . . ViewHolder# // ^^^^^^^^^^ definition local 51 -// documentation ```java\nunresolved_type viewHolder\n``` +// display_name viewHolder +// signature_documentation java unresolved_type viewHolder +// enclosing_symbol semanticdb maven . . com/airbnb/epoxy/EpoxyTouchHelperCallback#clearView(). clearView(recyclerView, (EpoxyViewHolder) viewHolder); // ^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/EpoxyTouchHelperCallback#clearView(). // ^^^^^^^^^^^^ reference local 50 @@ -460,16 +606,22 @@ public final void clearView(RecyclerView recyclerView, ViewHolder viewHolder) { */ protected void clearView(RecyclerView recyclerView, EpoxyViewHolder viewHolder) { // ^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/EpoxyTouchHelperCallback#clearView(+1). -// documentation ```java\nprotected void clearView(unresolved_type recyclerView, EpoxyViewHolder viewHolder)\n``` +// display_name clearView +// signature_documentation java protected void clearView(unresolved_type recyclerView, EpoxyViewHolder viewHolder) +// kind Method // documentation @see #clearView(RecyclerView, ViewHolder)\n // relationship is_reference is_implementation semanticdb maven . . com/airbnb/epoxy/EpoxyModelTouchCallback#clearView(). // relationship is_reference is_implementation semanticdb maven . . com/airbnb/epoxy/EpoxyModelTouchCallback#clearView(+1). // ^^^^^^^^^^^^ reference semanticdb maven . . RecyclerView# // ^^^^^^^^^^^^ definition local 52 -// documentation ```java\nunresolved_type recyclerView\n``` +// display_name recyclerView +// signature_documentation java unresolved_type recyclerView +// enclosing_symbol semanticdb maven . . com/airbnb/epoxy/EpoxyTouchHelperCallback#clearView(+1). // ^^^^^^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/EpoxyViewHolder# // ^^^^^^^^^^ definition local 53 -// documentation ```java\nEpoxyViewHolder viewHolder\n``` +// display_name viewHolder +// signature_documentation java EpoxyViewHolder viewHolder +// enclosing_symbol semanticdb maven . . com/airbnb/epoxy/EpoxyTouchHelperCallback#clearView(+1). super.clearView(recyclerView, viewHolder); // ^^^^^ reference semanticdb maven . . super# // ^^^^^^^^^ reference semanticdb maven . . super#clearView# @@ -481,27 +633,43 @@ protected void clearView(RecyclerView recyclerView, EpoxyViewHolder viewHolder) // ^^^^^^^^ reference semanticdb maven jdk 11 java/lang/Override# public final void onChildDraw(Canvas c, RecyclerView recyclerView, ViewHolder viewHolder, // ^^^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/EpoxyTouchHelperCallback#onChildDraw(). -// documentation ```java\n@Override\npublic final void onChildDraw(unresolved_type c, unresolved_type recyclerView, unresolved_type viewHolder, float dX, float dY, int actionState, boolean isCurrentlyActive)\n``` +// display_name onChildDraw +// signature_documentation java @Override\npublic final void onChildDraw(unresolved_type c, unresolved_type recyclerView, unresolved_type viewHolder, float dX, float dY, int actionState, boolean isCurrentlyActive) +// kind Method // relationship is_reference is_implementation semanticdb maven . . com/airbnb/epoxy/EpoxyModelTouchCallback#onChildDraw(). // ^^^^^^ reference semanticdb maven . . Canvas# // ^ definition local 54 -// documentation ```java\nunresolved_type c\n``` +// display_name c +// signature_documentation java unresolved_type c +// enclosing_symbol semanticdb maven . . com/airbnb/epoxy/EpoxyTouchHelperCallback#onChildDraw(). // ^^^^^^^^^^^^ reference semanticdb maven . . RecyclerView# // ^^^^^^^^^^^^ definition local 55 -// documentation ```java\nunresolved_type recyclerView\n``` +// display_name recyclerView +// signature_documentation java unresolved_type recyclerView +// enclosing_symbol semanticdb maven . . com/airbnb/epoxy/EpoxyTouchHelperCallback#onChildDraw(). // ^^^^^^^^^^ reference semanticdb maven . . ViewHolder# // ^^^^^^^^^^ definition local 56 -// documentation ```java\nunresolved_type viewHolder\n``` +// display_name viewHolder +// signature_documentation java unresolved_type viewHolder +// enclosing_symbol semanticdb maven . . com/airbnb/epoxy/EpoxyTouchHelperCallback#onChildDraw(). float dX, // ^^ definition local 57 -// documentation ```java\nfloat dX\n``` +// display_name dX +// signature_documentation java float dX +// enclosing_symbol semanticdb maven . . com/airbnb/epoxy/EpoxyTouchHelperCallback#onChildDraw(). float dY, int actionState, boolean isCurrentlyActive) { // ^^ definition local 58 -// documentation ```java\nfloat dY\n``` +// display_name dY +// signature_documentation java float dY +// enclosing_symbol semanticdb maven . . com/airbnb/epoxy/EpoxyTouchHelperCallback#onChildDraw(). // ^^^^^^^^^^^ definition local 59 -// documentation ```java\nint actionState\n``` +// display_name actionState +// signature_documentation java int actionState +// enclosing_symbol semanticdb maven . . com/airbnb/epoxy/EpoxyTouchHelperCallback#onChildDraw(). // ^^^^^^^^^^^^^^^^^ definition local 60 -// documentation ```java\nboolean isCurrentlyActive\n``` +// display_name isCurrentlyActive +// signature_documentation java boolean isCurrentlyActive +// enclosing_symbol semanticdb maven . . com/airbnb/epoxy/EpoxyTouchHelperCallback#onChildDraw(). onChildDraw(c, recyclerView, (EpoxyViewHolder) viewHolder, dX, dY, actionState, // ^^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/EpoxyTouchHelperCallback#onChildDraw(). @@ -521,27 +689,43 @@ public final void onChildDraw(Canvas c, RecyclerView recyclerView, ViewHolder vi */ protected void onChildDraw(Canvas c, RecyclerView recyclerView, EpoxyViewHolder viewHolder, // ^^^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/EpoxyTouchHelperCallback#onChildDraw(+1). -// documentation ```java\nprotected void onChildDraw(unresolved_type c, unresolved_type recyclerView, EpoxyViewHolder viewHolder, float dX, float dY, int actionState, boolean isCurrentlyActive)\n``` +// display_name onChildDraw +// signature_documentation java protected void onChildDraw(unresolved_type c, unresolved_type recyclerView, EpoxyViewHolder viewHolder, float dX, float dY, int actionState, boolean isCurrentlyActive) +// kind Method // documentation @see #onChildDraw(Canvas, RecyclerView, ViewHolder, float, float, int, boolean)\n // relationship is_reference is_implementation semanticdb maven . . com/airbnb/epoxy/EpoxyModelTouchCallback#onChildDraw(). // ^^^^^^ reference semanticdb maven . . Canvas# // ^ definition local 61 -// documentation ```java\nunresolved_type c\n``` +// display_name c +// signature_documentation java unresolved_type c +// enclosing_symbol semanticdb maven . . com/airbnb/epoxy/EpoxyTouchHelperCallback#onChildDraw(+1). // ^^^^^^^^^^^^ reference semanticdb maven . . RecyclerView# // ^^^^^^^^^^^^ definition local 62 -// documentation ```java\nunresolved_type recyclerView\n``` +// display_name recyclerView +// signature_documentation java unresolved_type recyclerView +// enclosing_symbol semanticdb maven . . com/airbnb/epoxy/EpoxyTouchHelperCallback#onChildDraw(+1). // ^^^^^^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/EpoxyViewHolder# // ^^^^^^^^^^ definition local 63 -// documentation ```java\nEpoxyViewHolder viewHolder\n``` +// display_name viewHolder +// signature_documentation java EpoxyViewHolder viewHolder +// enclosing_symbol semanticdb maven . . com/airbnb/epoxy/EpoxyTouchHelperCallback#onChildDraw(+1). float dX, float dY, int actionState, boolean isCurrentlyActive) { // ^^ definition local 64 -// documentation ```java\nfloat dX\n``` +// display_name dX +// signature_documentation java float dX +// enclosing_symbol semanticdb maven . . com/airbnb/epoxy/EpoxyTouchHelperCallback#onChildDraw(+1). // ^^ definition local 65 -// documentation ```java\nfloat dY\n``` +// display_name dY +// signature_documentation java float dY +// enclosing_symbol semanticdb maven . . com/airbnb/epoxy/EpoxyTouchHelperCallback#onChildDraw(+1). // ^^^^^^^^^^^ definition local 66 -// documentation ```java\nint actionState\n``` +// display_name actionState +// signature_documentation java int actionState +// enclosing_symbol semanticdb maven . . com/airbnb/epoxy/EpoxyTouchHelperCallback#onChildDraw(+1). // ^^^^^^^^^^^^^^^^^ definition local 67 -// documentation ```java\nboolean isCurrentlyActive\n``` +// display_name isCurrentlyActive +// signature_documentation java boolean isCurrentlyActive +// enclosing_symbol semanticdb maven . . com/airbnb/epoxy/EpoxyTouchHelperCallback#onChildDraw(+1). super.onChildDraw(c, recyclerView, viewHolder, dX, dY, actionState, isCurrentlyActive); // ^^^^^ reference semanticdb maven . . super# // ^^^^^^^^^^^ reference semanticdb maven . . super#onChildDraw# @@ -558,26 +742,42 @@ protected void onChildDraw(Canvas c, RecyclerView recyclerView, EpoxyViewHolder // ^^^^^^^^ reference semanticdb maven jdk 11 java/lang/Override# public final void onChildDrawOver(Canvas c, RecyclerView recyclerView, ViewHolder viewHolder, // ^^^^^^^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/EpoxyTouchHelperCallback#onChildDrawOver(). -// documentation ```java\n@Override\npublic final void onChildDrawOver(unresolved_type c, unresolved_type recyclerView, unresolved_type viewHolder, float dX, float dY, int actionState, boolean isCurrentlyActive)\n``` +// display_name onChildDrawOver +// signature_documentation java @Override\npublic final void onChildDrawOver(unresolved_type c, unresolved_type recyclerView, unresolved_type viewHolder, float dX, float dY, int actionState, boolean isCurrentlyActive) +// kind Method // ^^^^^^ reference semanticdb maven . . Canvas# // ^ definition local 68 -// documentation ```java\nunresolved_type c\n``` +// display_name c +// signature_documentation java unresolved_type c +// enclosing_symbol semanticdb maven . . com/airbnb/epoxy/EpoxyTouchHelperCallback#onChildDrawOver(). // ^^^^^^^^^^^^ reference semanticdb maven . . RecyclerView# // ^^^^^^^^^^^^ definition local 69 -// documentation ```java\nunresolved_type recyclerView\n``` +// display_name recyclerView +// signature_documentation java unresolved_type recyclerView +// enclosing_symbol semanticdb maven . . com/airbnb/epoxy/EpoxyTouchHelperCallback#onChildDrawOver(). // ^^^^^^^^^^ reference semanticdb maven . . ViewHolder# // ^^^^^^^^^^ definition local 70 -// documentation ```java\nunresolved_type viewHolder\n``` +// display_name viewHolder +// signature_documentation java unresolved_type viewHolder +// enclosing_symbol semanticdb maven . . com/airbnb/epoxy/EpoxyTouchHelperCallback#onChildDrawOver(). float dX, // ^^ definition local 71 -// documentation ```java\nfloat dX\n``` +// display_name dX +// signature_documentation java float dX +// enclosing_symbol semanticdb maven . . com/airbnb/epoxy/EpoxyTouchHelperCallback#onChildDrawOver(). float dY, int actionState, boolean isCurrentlyActive) { // ^^ definition local 72 -// documentation ```java\nfloat dY\n``` +// display_name dY +// signature_documentation java float dY +// enclosing_symbol semanticdb maven . . com/airbnb/epoxy/EpoxyTouchHelperCallback#onChildDrawOver(). // ^^^^^^^^^^^ definition local 73 -// documentation ```java\nint actionState\n``` +// display_name actionState +// signature_documentation java int actionState +// enclosing_symbol semanticdb maven . . com/airbnb/epoxy/EpoxyTouchHelperCallback#onChildDrawOver(). // ^^^^^^^^^^^^^^^^^ definition local 74 -// documentation ```java\nboolean isCurrentlyActive\n``` +// display_name isCurrentlyActive +// signature_documentation java boolean isCurrentlyActive +// enclosing_symbol semanticdb maven . . com/airbnb/epoxy/EpoxyTouchHelperCallback#onChildDrawOver(). onChildDrawOver(c, recyclerView, (EpoxyViewHolder) viewHolder, dX, dY, actionState, // ^^^^^^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/EpoxyTouchHelperCallback#onChildDrawOver(). @@ -597,26 +797,42 @@ public final void onChildDrawOver(Canvas c, RecyclerView recyclerView, ViewHolde */ protected void onChildDrawOver(Canvas c, RecyclerView recyclerView, EpoxyViewHolder viewHolder, // ^^^^^^^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/EpoxyTouchHelperCallback#onChildDrawOver(+1). -// documentation ```java\nprotected void onChildDrawOver(unresolved_type c, unresolved_type recyclerView, EpoxyViewHolder viewHolder, float dX, float dY, int actionState, boolean isCurrentlyActive)\n``` +// display_name onChildDrawOver +// signature_documentation java protected void onChildDrawOver(unresolved_type c, unresolved_type recyclerView, EpoxyViewHolder viewHolder, float dX, float dY, int actionState, boolean isCurrentlyActive) +// kind Method // documentation @see #onChildDrawOver(Canvas, RecyclerView, ViewHolder, float, float, int, boolean)\n // ^^^^^^ reference semanticdb maven . . Canvas# // ^ definition local 75 -// documentation ```java\nunresolved_type c\n``` +// display_name c +// signature_documentation java unresolved_type c +// enclosing_symbol semanticdb maven . . com/airbnb/epoxy/EpoxyTouchHelperCallback#onChildDrawOver(+1). // ^^^^^^^^^^^^ reference semanticdb maven . . RecyclerView# // ^^^^^^^^^^^^ definition local 76 -// documentation ```java\nunresolved_type recyclerView\n``` +// display_name recyclerView +// signature_documentation java unresolved_type recyclerView +// enclosing_symbol semanticdb maven . . com/airbnb/epoxy/EpoxyTouchHelperCallback#onChildDrawOver(+1). // ^^^^^^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/EpoxyViewHolder# // ^^^^^^^^^^ definition local 77 -// documentation ```java\nEpoxyViewHolder viewHolder\n``` +// display_name viewHolder +// signature_documentation java EpoxyViewHolder viewHolder +// enclosing_symbol semanticdb maven . . com/airbnb/epoxy/EpoxyTouchHelperCallback#onChildDrawOver(+1). float dX, float dY, int actionState, boolean isCurrentlyActive) { // ^^ definition local 78 -// documentation ```java\nfloat dX\n``` +// display_name dX +// signature_documentation java float dX +// enclosing_symbol semanticdb maven . . com/airbnb/epoxy/EpoxyTouchHelperCallback#onChildDrawOver(+1). // ^^ definition local 79 -// documentation ```java\nfloat dY\n``` +// display_name dY +// signature_documentation java float dY +// enclosing_symbol semanticdb maven . . com/airbnb/epoxy/EpoxyTouchHelperCallback#onChildDrawOver(+1). // ^^^^^^^^^^^ definition local 80 -// documentation ```java\nint actionState\n``` +// display_name actionState +// signature_documentation java int actionState +// enclosing_symbol semanticdb maven . . com/airbnb/epoxy/EpoxyTouchHelperCallback#onChildDrawOver(+1). // ^^^^^^^^^^^^^^^^^ definition local 81 -// documentation ```java\nboolean isCurrentlyActive\n``` +// display_name isCurrentlyActive +// signature_documentation java boolean isCurrentlyActive +// enclosing_symbol semanticdb maven . . com/airbnb/epoxy/EpoxyTouchHelperCallback#onChildDrawOver(+1). super.onChildDrawOver(c, recyclerView, viewHolder, dX, dY, actionState, isCurrentlyActive); // ^^^^^ reference semanticdb maven . . super# diff --git a/tests/snapshots/src/main/generated/com/airbnb/epoxy/EpoxyViewHolder.java b/tests/snapshots/src/main/generated/com/airbnb/epoxy/EpoxyViewHolder.java index cbfd48e1d..94e1e7575 100644 --- a/tests/snapshots/src/main/generated/com/airbnb/epoxy/EpoxyViewHolder.java +++ b/tests/snapshots/src/main/generated/com/airbnb/epoxy/EpoxyViewHolder.java @@ -53,7 +53,9 @@ //^^^^^^^^^^^^^^^ reference semanticdb maven jdk 11 java/lang/SuppressWarnings# public class EpoxyViewHolder extends RecyclerView.ViewHolder { // ^^^^^^^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/EpoxyViewHolder# -// documentation ```java\n@SuppressWarnings("WeakerAccess")\npublic class EpoxyViewHolder\n``` +// display_name EpoxyViewHolder +// signature_documentation java @SuppressWarnings("WeakerAccess")\npublic class EpoxyViewHolder +// kind Class // relationship is_implementation semanticdb maven . . RecyclerView/ViewHolder# // ^^^^^^^^^^^^ reference semanticdb maven . . RecyclerView/ // ^^^^^^^^^^ reference semanticdb maven . . RecyclerView/ViewHolder# @@ -61,40 +63,58 @@ public class EpoxyViewHolder extends RecyclerView.ViewHolder { // ^^^^^^^^^^^^^^^^ reference semanticdb maven jdk 11 java/lang/SuppressWarnings# // ^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/EpoxyModel# // ^^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/EpoxyViewHolder#epoxyModel. -// documentation ```java\n@SuppressWarnings("rawtypes")\nprivate EpoxyModel epoxyModel\n``` +// display_name epoxyModel +// signature_documentation java @SuppressWarnings("rawtypes")\nprivate EpoxyModel epoxyModel +// kind Field private List payloads; // ^^^^ reference semanticdb maven jdk 11 java/util/List# // ^^^^^^ reference semanticdb maven jdk 11 java/lang/Object# // ^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/EpoxyViewHolder#payloads. -// documentation ```java\nprivate List payloads\n``` +// display_name payloads +// signature_documentation java private List payloads +// kind Field private EpoxyHolder epoxyHolder; // ^^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/EpoxyHolder# // ^^^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/EpoxyViewHolder#epoxyHolder. -// documentation ```java\nprivate EpoxyHolder epoxyHolder\n``` +// display_name epoxyHolder +// signature_documentation java private EpoxyHolder epoxyHolder +// kind Field @Nullable ViewHolderState.ViewState initialViewState; // ^^^^^^^^ reference semanticdb maven maven/androidx.annotation/annotation 1.1.0 androidx/annotation/Nullable# // ^^^^^^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/ViewHolderState# // ^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/ViewHolderState#ViewState# // ^^^^^^^^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/EpoxyViewHolder#initialViewState. -// documentation ```java\n@Nullable\nViewState initialViewState\n``` +// display_name initialViewState +// signature_documentation java @Nullable\nViewState initialViewState +// kind Field // Once the EpoxyHolder is created parent will be set to null. private ViewParent parent; // ^^^^^^^^^^ reference semanticdb maven . . ViewParent# // ^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/EpoxyViewHolder#parent. -// documentation ```java\nprivate unresolved_type parent\n``` +// display_name parent +// signature_documentation java private unresolved_type parent +// kind Field public EpoxyViewHolder(ViewParent parent, View view, boolean saveInitialState) { // ^^^^^^^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/EpoxyViewHolder#``(). -// documentation ```java\npublic EpoxyViewHolder(unresolved_type parent, unresolved_type view, boolean saveInitialState)\n``` +// display_name +// signature_documentation java public EpoxyViewHolder(unresolved_type parent, unresolved_type view, boolean saveInitialState) +// kind Constructor // ^^^^^^^^^^ reference semanticdb maven . . ViewParent# // ^^^^^^ definition local 0 -// documentation ```java\nunresolved_type parent\n``` +// display_name parent +// signature_documentation java unresolved_type parent +// enclosing_symbol semanticdb maven . . com/airbnb/epoxy/EpoxyViewHolder#``(). // ^^^^ reference semanticdb maven . . View# // ^^^^ definition local 1 -// documentation ```java\nunresolved_type view\n``` +// display_name view +// signature_documentation java unresolved_type view +// enclosing_symbol semanticdb maven . . com/airbnb/epoxy/EpoxyViewHolder#``(). // ^^^^^^^^^^^^^^^^ definition local 2 -// documentation ```java\nboolean saveInitialState\n``` +// display_name saveInitialState +// signature_documentation java boolean saveInitialState +// enclosing_symbol semanticdb maven . . com/airbnb/epoxy/EpoxyViewHolder#``(). super(view); // ^^^^ reference local 1 @@ -118,7 +138,9 @@ public EpoxyViewHolder(ViewParent parent, View view, boolean saveInitialState) { void restoreInitialViewState() { // ^^^^^^^^^^^^^^^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/EpoxyViewHolder#restoreInitialViewState(). -// documentation ```java\nvoid restoreInitialViewState()\n``` +// display_name restoreInitialViewState +// signature_documentation java void restoreInitialViewState() +// kind Method if (initialViewState != null) { // ^^^^^^^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/EpoxyViewHolder#initialViewState. initialViewState.restore(itemView); @@ -130,22 +152,32 @@ void restoreInitialViewState() { public void bind(@SuppressWarnings("rawtypes") EpoxyModel model, // ^^^^ definition semanticdb maven . . com/airbnb/epoxy/EpoxyViewHolder#bind(). -// documentation ```java\npublic void bind(EpoxyModel model, EpoxyModel previouslyBoundModel, List payloads, int position)\n``` +// display_name bind +// signature_documentation java public void bind(EpoxyModel model, EpoxyModel previouslyBoundModel, List payloads, int position) +// kind Method // ^^^^^^^^^^^^^^^^ reference semanticdb maven jdk 11 java/lang/SuppressWarnings# // ^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/EpoxyModel# // ^^^^^ definition local 3 -// documentation ```java\n@SuppressWarnings("rawtypes")\nEpoxyModel model\n``` +// display_name model +// signature_documentation java @SuppressWarnings("rawtypes")\nEpoxyModel model +// enclosing_symbol semanticdb maven . . com/airbnb/epoxy/EpoxyViewHolder#bind(). @Nullable EpoxyModel previouslyBoundModel, List payloads, int position) { // ^^^^^^^^ reference semanticdb maven maven/androidx.annotation/annotation 1.1.0 androidx/annotation/Nullable# // ^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/EpoxyModel# // ^^^^^^^^^^^^^^^^^^^^ definition local 4 -// documentation ```java\n@Nullable\nEpoxyModel previouslyBoundModel\n``` +// display_name previouslyBoundModel +// signature_documentation java @Nullable\nEpoxyModel previouslyBoundModel +// enclosing_symbol semanticdb maven . . com/airbnb/epoxy/EpoxyViewHolder#bind(). // ^^^^ reference semanticdb maven jdk 11 java/util/List# // ^^^^^^ reference semanticdb maven jdk 11 java/lang/Object# // ^^^^^^^^ definition local 5 -// documentation ```java\nList payloads\n``` +// display_name payloads +// signature_documentation java List payloads +// enclosing_symbol semanticdb maven . . com/airbnb/epoxy/EpoxyViewHolder#bind(). // ^^^^^^^^ definition local 6 -// documentation ```java\nint position\n``` +// display_name position +// signature_documentation java int position +// enclosing_symbol semanticdb maven . . com/airbnb/epoxy/EpoxyViewHolder#bind(). this.payloads = payloads; // ^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/EpoxyViewHolder#payloads. // ^^^^^^^^ reference local 5 @@ -230,7 +262,9 @@ public void bind(@SuppressWarnings("rawtypes") EpoxyModel model, Object objectToBind() { //^^^^^^ reference semanticdb maven jdk 11 java/lang/Object# // ^^^^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/EpoxyViewHolder#objectToBind(). -// documentation ```java\n@NonNull\nObject objectToBind()\n``` +// display_name objectToBind +// signature_documentation java @NonNull\nObject objectToBind() +// kind Method return epoxyHolder != null ? epoxyHolder : itemView; // ^^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/EpoxyViewHolder#epoxyHolder. // ^^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/EpoxyViewHolder#epoxyHolder. @@ -239,7 +273,9 @@ Object objectToBind() { public void unbind() { // ^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/EpoxyViewHolder#unbind(). -// documentation ```java\npublic void unbind()\n``` +// display_name unbind +// signature_documentation java public void unbind() +// kind Method assertBound(); // ^^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/EpoxyViewHolder#assertBound(). // noinspection unchecked @@ -256,10 +292,14 @@ public void unbind() { public void visibilityStateChanged(@Visibility int visibilityState) { // ^^^^^^^^^^^^^^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/EpoxyViewHolder#visibilityStateChanged(). -// documentation ```java\npublic void visibilityStateChanged(int visibilityState)\n``` +// display_name visibilityStateChanged +// signature_documentation java public void visibilityStateChanged(int visibilityState) +// kind Method // ^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/VisibilityState#Visibility# // ^^^^^^^^^^^^^^^ definition local 7 -// documentation ```java\n@Visibility\nint visibilityState\n``` +// display_name visibilityState +// signature_documentation java @Visibility\nint visibilityState +// enclosing_symbol semanticdb maven . . com/airbnb/epoxy/EpoxyViewHolder#visibilityStateChanged(). assertBound(); // ^^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/EpoxyViewHolder#assertBound(). // noinspection unchecked @@ -272,27 +312,37 @@ public void visibilityStateChanged(@Visibility int visibilityState) { public void visibilityChanged( // ^^^^^^^^^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/EpoxyViewHolder#visibilityChanged(). -// documentation ```java\npublic void visibilityChanged(float percentVisibleHeight, float percentVisibleWidth, int visibleHeight, int visibleWidth)\n``` +// display_name visibilityChanged +// signature_documentation java public void visibilityChanged(float percentVisibleHeight, float percentVisibleWidth, int visibleHeight, int visibleWidth) +// kind Method @FloatRange(from = 0.0f, to = 100.0f) float percentVisibleHeight, // ^^^^^^^^^^ reference semanticdb maven maven/androidx.annotation/annotation 1.1.0 androidx/annotation/FloatRange# // ^^^^ reference semanticdb maven maven/androidx.annotation/annotation 1.1.0 androidx/annotation/FloatRange#from(). // ^^ reference semanticdb maven maven/androidx.annotation/annotation 1.1.0 androidx/annotation/FloatRange#to(). // ^^^^^^^^^^^^^^^^^^^^ definition local 8 -// documentation ```java\n@FloatRange(from = 0.0f, to = 100.0f)\nfloat percentVisibleHeight\n``` +// display_name percentVisibleHeight +// signature_documentation java @FloatRange(from = 0.0f, to = 100.0f)\nfloat percentVisibleHeight +// enclosing_symbol semanticdb maven . . com/airbnb/epoxy/EpoxyViewHolder#visibilityChanged(). @FloatRange(from = 0.0f, to = 100.0f) float percentVisibleWidth, // ^^^^^^^^^^ reference semanticdb maven maven/androidx.annotation/annotation 1.1.0 androidx/annotation/FloatRange# // ^^^^ reference semanticdb maven maven/androidx.annotation/annotation 1.1.0 androidx/annotation/FloatRange#from(). // ^^ reference semanticdb maven maven/androidx.annotation/annotation 1.1.0 androidx/annotation/FloatRange#to(). // ^^^^^^^^^^^^^^^^^^^ definition local 9 -// documentation ```java\n@FloatRange(from = 0.0f, to = 100.0f)\nfloat percentVisibleWidth\n``` +// display_name percentVisibleWidth +// signature_documentation java @FloatRange(from = 0.0f, to = 100.0f)\nfloat percentVisibleWidth +// enclosing_symbol semanticdb maven . . com/airbnb/epoxy/EpoxyViewHolder#visibilityChanged(). @Px int visibleHeight, // ^^ reference semanticdb maven maven/androidx.annotation/annotation 1.1.0 androidx/annotation/Px# // ^^^^^^^^^^^^^ definition local 10 -// documentation ```java\n@Px\nint visibleHeight\n``` +// display_name visibleHeight +// signature_documentation java @Px\nint visibleHeight +// enclosing_symbol semanticdb maven . . com/airbnb/epoxy/EpoxyViewHolder#visibilityChanged(). @Px int visibleWidth // ^^ reference semanticdb maven maven/androidx.annotation/annotation 1.1.0 androidx/annotation/Px# // ^^^^^^^^^^^^ definition local 11 -// documentation ```java\n@Px\nint visibleWidth\n``` +// display_name visibleWidth +// signature_documentation java @Px\nint visibleWidth +// enclosing_symbol semanticdb maven . . com/airbnb/epoxy/EpoxyViewHolder#visibilityChanged(). ) { assertBound(); // ^^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/EpoxyViewHolder#assertBound(). @@ -312,7 +362,9 @@ public List getPayloads() { // ^^^^ reference semanticdb maven jdk 11 java/util/List# // ^^^^^^ reference semanticdb maven jdk 11 java/lang/Object# // ^^^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/EpoxyViewHolder#getPayloads(). -// documentation ```java\npublic List getPayloads()\n``` +// display_name getPayloads +// signature_documentation java public List getPayloads() +// kind Method assertBound(); // ^^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/EpoxyViewHolder#assertBound(). return payloads; @@ -322,7 +374,9 @@ public List getPayloads() { public EpoxyModel getModel() { // ^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/EpoxyModel# // ^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/EpoxyViewHolder#getModel(). -// documentation ```java\npublic EpoxyModel getModel()\n``` +// display_name getModel +// signature_documentation java public EpoxyModel getModel() +// kind Method assertBound(); // ^^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/EpoxyViewHolder#assertBound(). return epoxyModel; @@ -332,7 +386,9 @@ public EpoxyModel getModel() { public EpoxyHolder getHolder() { // ^^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/EpoxyHolder# // ^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/EpoxyViewHolder#getHolder(). -// documentation ```java\npublic EpoxyHolder getHolder()\n``` +// display_name getHolder +// signature_documentation java public EpoxyHolder getHolder() +// kind Method assertBound(); // ^^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/EpoxyViewHolder#assertBound(). return epoxyHolder; @@ -341,7 +397,9 @@ public EpoxyHolder getHolder() { private void assertBound() { // ^^^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/EpoxyViewHolder#assertBound(). -// documentation ```java\nprivate void assertBound()\n``` +// display_name assertBound +// signature_documentation java private void assertBound() +// kind Method if (epoxyModel == null) { // ^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/EpoxyViewHolder#epoxyModel. throw new IllegalStateException("This holder is not currently bound."); @@ -354,7 +412,9 @@ private void assertBound() { public String toString() { // ^^^^^^ reference semanticdb maven jdk 11 java/lang/String# // ^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/EpoxyViewHolder#toString(). -// documentation ```java\n@Override\npublic String toString()\n``` +// display_name toString +// signature_documentation java @Override\npublic String toString() +// kind Method return "EpoxyViewHolder{" + "epoxyModel=" + epoxyModel // ^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/EpoxyViewHolder#epoxyModel. diff --git a/tests/snapshots/src/main/generated/com/airbnb/epoxy/EpoxyVisibilityItem.kt b/tests/snapshots/src/main/generated/com/airbnb/epoxy/EpoxyVisibilityItem.kt index 5f99cd22d..8169210d4 100644 --- a/tests/snapshots/src/main/generated/com/airbnb/epoxy/EpoxyVisibilityItem.kt +++ b/tests/snapshots/src/main/generated/com/airbnb/epoxy/EpoxyVisibilityItem.kt @@ -39,146 +39,196 @@ import androidx.recyclerview.widget.RecyclerView // ^^^^^^^^^^^^^^^ reference semanticdb maven maven/androidx.annotation/annotation 1.1.0 androidx/annotation/VisibleForTesting#PACKAGE_PRIVATE. class EpoxyVisibilityItem(adapterPosition: Int? = null) { // ^^^^^^^^^^^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/EpoxyVisibilityItem# +// display_name EpoxyVisibilityItem // documentation ```kt\npublic final class EpoxyVisibilityItem\n```\n\n----\n\n\n This class represent an item in a [android.view.ViewGroup] and it is\n being reused with multiple model via the update method. There is 1:1 relationship between an\n EpoxyVisibilityItem and a child within the [android.view.ViewGroup].\n\n It contains the logic to compute the visibility state of an item. It will also invoke the\n visibility callbacks on [com.airbnb.epoxy.EpoxyViewHolder]\n\n This class should remain non-public and is intended to be used by [EpoxyVisibilityTracker]\n only.\n // ^^^^^^^^^^^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/EpoxyVisibilityItem#``(). +// display_name EpoxyVisibilityItem // documentation ```kt\npublic constructor EpoxyVisibilityItem(adapterPosition: kotlin.Int? = ...)\n``` // ^^^^^^^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/EpoxyVisibilityItem#``().(adapterPosition) +// display_name adapterPosition // documentation ```kt\nvalue-parameter adapterPosition: kotlin.Int? = ...\n``` // ^^^ reference semanticdb maven . . kotlin/Int# private val localVisibleRect = Rect() // ^^^^^^^^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/EpoxyVisibilityItem#getLocalVisibleRect(). +// display_name localVisibleRect // documentation ```kt\nprivate final val localVisibleRect: [Error type: Not found recorded type for Rect()]\n``` // ^^^^^^^^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/EpoxyVisibilityItem#localVisibleRect. +// display_name localVisibleRect // documentation ```kt\nprivate final val localVisibleRect: [Error type: Not found recorded type for Rect()]\n``` var adapterPosition = RecyclerView.NO_POSITION // ^^^^^^^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/EpoxyVisibilityItem#adapterPosition. +// display_name adapterPosition // documentation ```kt\npublic final var adapterPosition: [Error type: Error property type]\n``` // ^^^^^^^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/EpoxyVisibilityItem#getAdapterPosition(). +// display_name adapterPosition // documentation ```kt\npublic final var adapterPosition: [Error type: Error property type]\n``` private set // ^^^ definition semanticdb maven . . com/airbnb/epoxy/EpoxyVisibilityItem#setAdapterPosition(). +// display_name set // documentation ```kt\nprivate final fun ``(``: [Error type: Error property type])\n``` @Px // ^^ reference semanticdb maven maven/androidx.annotation/annotation 1.1.0 androidx/annotation/Px#``(). private var height = 0 // ^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/EpoxyVisibilityItem#getHeight(). +// display_name height // documentation ```kt\nprivate final var height: kotlin.Int\n``` // ^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/EpoxyVisibilityItem#height. +// display_name height // documentation ```kt\nprivate final var height: kotlin.Int\n``` // ^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/EpoxyVisibilityItem#setHeight(). +// display_name height // documentation ```kt\nprivate final var height: kotlin.Int\n``` @Px // ^^ reference semanticdb maven maven/androidx.annotation/annotation 1.1.0 androidx/annotation/Px#``(). private var width = 0 // ^^^^^ definition semanticdb maven . . com/airbnb/epoxy/EpoxyVisibilityItem#getWidth(). +// display_name width // documentation ```kt\nprivate final var width: kotlin.Int\n``` // ^^^^^ definition semanticdb maven . . com/airbnb/epoxy/EpoxyVisibilityItem#setWidth(). +// display_name width // documentation ```kt\nprivate final var width: kotlin.Int\n``` // ^^^^^ definition semanticdb maven . . com/airbnb/epoxy/EpoxyVisibilityItem#width. +// display_name width // documentation ```kt\nprivate final var width: kotlin.Int\n``` @Px // ^^ reference semanticdb maven maven/androidx.annotation/annotation 1.1.0 androidx/annotation/Px#``(). private var visibleHeight = 0 // ^^^^^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/EpoxyVisibilityItem#getVisibleHeight(). +// display_name visibleHeight // documentation ```kt\nprivate final var visibleHeight: kotlin.Int\n``` // ^^^^^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/EpoxyVisibilityItem#setVisibleHeight(). +// display_name visibleHeight // documentation ```kt\nprivate final var visibleHeight: kotlin.Int\n``` // ^^^^^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/EpoxyVisibilityItem#visibleHeight. +// display_name visibleHeight // documentation ```kt\nprivate final var visibleHeight: kotlin.Int\n``` @Px // ^^ reference semanticdb maven maven/androidx.annotation/annotation 1.1.0 androidx/annotation/Px#``(). private var visibleWidth = 0 // ^^^^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/EpoxyVisibilityItem#getVisibleWidth(). +// display_name visibleWidth // documentation ```kt\nprivate final var visibleWidth: kotlin.Int\n``` // ^^^^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/EpoxyVisibilityItem#setVisibleWidth(). +// display_name visibleWidth // documentation ```kt\nprivate final var visibleWidth: kotlin.Int\n``` // ^^^^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/EpoxyVisibilityItem#visibleWidth. +// display_name visibleWidth // documentation ```kt\nprivate final var visibleWidth: kotlin.Int\n``` @Px // ^^ reference semanticdb maven maven/androidx.annotation/annotation 1.1.0 androidx/annotation/Px#``(). private var viewportHeight = 0 // ^^^^^^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/EpoxyVisibilityItem#getViewportHeight(). +// display_name viewportHeight // documentation ```kt\nprivate final var viewportHeight: kotlin.Int\n``` // ^^^^^^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/EpoxyVisibilityItem#setViewportHeight(). +// display_name viewportHeight // documentation ```kt\nprivate final var viewportHeight: kotlin.Int\n``` // ^^^^^^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/EpoxyVisibilityItem#viewportHeight. +// display_name viewportHeight // documentation ```kt\nprivate final var viewportHeight: kotlin.Int\n``` @Px // ^^ reference semanticdb maven maven/androidx.annotation/annotation 1.1.0 androidx/annotation/Px#``(). private var viewportWidth = 0 // ^^^^^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/EpoxyVisibilityItem#getViewportWidth(). +// display_name viewportWidth // documentation ```kt\nprivate final var viewportWidth: kotlin.Int\n``` // ^^^^^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/EpoxyVisibilityItem#setViewportWidth(). +// display_name viewportWidth // documentation ```kt\nprivate final var viewportWidth: kotlin.Int\n``` // ^^^^^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/EpoxyVisibilityItem#viewportWidth. +// display_name viewportWidth // documentation ```kt\nprivate final var viewportWidth: kotlin.Int\n``` private var partiallyVisible = false // ^^^^^^^^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/EpoxyVisibilityItem#getPartiallyVisible(). +// display_name partiallyVisible // documentation ```kt\nprivate final var partiallyVisible: kotlin.Boolean\n``` // ^^^^^^^^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/EpoxyVisibilityItem#partiallyVisible. +// display_name partiallyVisible // documentation ```kt\nprivate final var partiallyVisible: kotlin.Boolean\n``` // ^^^^^^^^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/EpoxyVisibilityItem#setPartiallyVisible(). +// display_name partiallyVisible // documentation ```kt\nprivate final var partiallyVisible: kotlin.Boolean\n``` private var fullyVisible = false // ^^^^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/EpoxyVisibilityItem#fullyVisible. +// display_name fullyVisible // documentation ```kt\nprivate final var fullyVisible: kotlin.Boolean\n``` // ^^^^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/EpoxyVisibilityItem#getFullyVisible(). +// display_name fullyVisible // documentation ```kt\nprivate final var fullyVisible: kotlin.Boolean\n``` // ^^^^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/EpoxyVisibilityItem#setFullyVisible(). +// display_name fullyVisible // documentation ```kt\nprivate final var fullyVisible: kotlin.Boolean\n``` private var visible = false // ^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/EpoxyVisibilityItem#getVisible(). +// display_name visible // documentation ```kt\nprivate final var visible: kotlin.Boolean\n``` // ^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/EpoxyVisibilityItem#setVisible(). +// display_name visible // documentation ```kt\nprivate final var visible: kotlin.Boolean\n``` // ^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/EpoxyVisibilityItem#visible. +// display_name visible // documentation ```kt\nprivate final var visible: kotlin.Boolean\n``` private var focusedVisible = false // ^^^^^^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/EpoxyVisibilityItem#focusedVisible. +// display_name focusedVisible // documentation ```kt\nprivate final var focusedVisible: kotlin.Boolean\n``` // ^^^^^^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/EpoxyVisibilityItem#getFocusedVisible(). +// display_name focusedVisible // documentation ```kt\nprivate final var focusedVisible: kotlin.Boolean\n``` // ^^^^^^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/EpoxyVisibilityItem#setFocusedVisible(). +// display_name focusedVisible // documentation ```kt\nprivate final var focusedVisible: kotlin.Boolean\n``` private var viewVisibility = View.GONE // ^^^^^^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/EpoxyVisibilityItem#getViewVisibility(). +// display_name viewVisibility // documentation ```kt\nprivate final var viewVisibility: [Error type: Error property type]\n``` // ^^^^^^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/EpoxyVisibilityItem#setViewVisibility(). +// display_name viewVisibility // documentation ```kt\nprivate final var viewVisibility: [Error type: Error property type]\n``` // ^^^^^^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/EpoxyVisibilityItem#viewVisibility. +// display_name viewVisibility // documentation ```kt\nprivate final var viewVisibility: [Error type: Error property type]\n``` /** Store last value for de-duping */ private var lastVisibleHeightNotified: Int? = null // ^^^^^^^^^^^^^^^^^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/EpoxyVisibilityItem#getLastVisibleHeightNotified(). +// display_name lastVisibleHeightNotified // documentation ```kt\nprivate final var lastVisibleHeightNotified: kotlin.Int?\n```\n\n----\n\n Store last value for de-duping // ^^^^^^^^^^^^^^^^^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/EpoxyVisibilityItem#lastVisibleHeightNotified. +// display_name lastVisibleHeightNotified // documentation ```kt\nprivate final var lastVisibleHeightNotified: kotlin.Int?\n```\n\n----\n\n Store last value for de-duping // ^^^^^^^^^^^^^^^^^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/EpoxyVisibilityItem#setLastVisibleHeightNotified(). +// display_name lastVisibleHeightNotified // documentation ```kt\nprivate final var lastVisibleHeightNotified: kotlin.Int?\n```\n\n----\n\n Store last value for de-duping // ^^^ reference semanticdb maven . . kotlin/Int# private var lastVisibleWidthNotified: Int? = null // ^^^^^^^^^^^^^^^^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/EpoxyVisibilityItem#getLastVisibleWidthNotified(). +// display_name lastVisibleWidthNotified // documentation ```kt\nprivate final var lastVisibleWidthNotified: kotlin.Int?\n``` // ^^^^^^^^^^^^^^^^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/EpoxyVisibilityItem#lastVisibleWidthNotified. +// display_name lastVisibleWidthNotified // documentation ```kt\nprivate final var lastVisibleWidthNotified: kotlin.Int?\n``` // ^^^^^^^^^^^^^^^^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/EpoxyVisibilityItem#setLastVisibleWidthNotified(). +// display_name lastVisibleWidthNotified // documentation ```kt\nprivate final var lastVisibleWidthNotified: kotlin.Int?\n``` // ^^^ reference semanticdb maven . . kotlin/Int# private var lastVisibilityNotified: Int? = null // ^^^^^^^^^^^^^^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/EpoxyVisibilityItem#getLastVisibilityNotified(). +// display_name lastVisibilityNotified // documentation ```kt\nprivate final var lastVisibilityNotified: kotlin.Int?\n``` // ^^^^^^^^^^^^^^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/EpoxyVisibilityItem#lastVisibilityNotified. +// display_name lastVisibilityNotified // documentation ```kt\nprivate final var lastVisibilityNotified: kotlin.Int?\n``` // ^^^^^^^^^^^^^^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/EpoxyVisibilityItem#setLastVisibilityNotified(). +// display_name lastVisibilityNotified // documentation ```kt\nprivate final var lastVisibilityNotified: kotlin.Int?\n``` // ^^^ reference semanticdb maven . . kotlin/Int# @@ -201,12 +251,16 @@ class EpoxyVisibilityItem(adapterPosition: Int? = null) { */ fun update(view: View, parent: ViewGroup, detachEvent: Boolean): Boolean { // ^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/EpoxyVisibilityItem#update(). +// display_name update // documentation ```kt\npublic final fun update(view: [Error type: Unresolved type for View], parent: [Error type: Unresolved type for ViewGroup], detachEvent: kotlin.Boolean): kotlin.Boolean\n```\n\n----\n\n\n Update the visibility item according the current layout.\n\n @param view the current [com.airbnb.epoxy.EpoxyViewHolder]'s itemView\n @param parent the [android.view.ViewGroup]\n @return true if the view has been measured\n // ^^^^ definition semanticdb maven . . com/airbnb/epoxy/EpoxyVisibilityItem#update().(view) +// display_name view // documentation ```kt\nvalue-parameter view: [Error type: Unresolved type for View]\n``` // ^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/EpoxyVisibilityItem#update().(parent) +// display_name parent // documentation ```kt\nvalue-parameter parent: [Error type: Unresolved type for ViewGroup]\n``` // ^^^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/EpoxyVisibilityItem#update().(detachEvent) +// display_name detachEvent // documentation ```kt\nvalue-parameter detachEvent: kotlin.Boolean\n``` // ^^^^^^^ reference semanticdb maven . . kotlin/Boolean# // ^^^^^^^ reference semanticdb maven . . kotlin/Boolean# @@ -216,6 +270,7 @@ class EpoxyVisibilityItem(adapterPosition: Int? = null) { // ^^^^^^^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/EpoxyVisibilityItem#localVisibleRect. val viewDrawn = view.getLocalVisibleRect(localVisibleRect) && !detachEvent // ^^^^^^^^^ definition local 1 +// display_name viewDrawn // documentation ```kt\nval viewDrawn: kotlin.Boolean\n``` // ^^^^ reference semanticdb maven . . com/airbnb/epoxy/EpoxyVisibilityItem#update().(view) // ^^^^^^^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/EpoxyVisibilityItem#getLocalVisibleRect(). @@ -274,8 +329,10 @@ class EpoxyVisibilityItem(adapterPosition: Int? = null) { fun reset(newAdapterPosition: Int) { // ^^^^^ definition semanticdb maven . . com/airbnb/epoxy/EpoxyVisibilityItem#reset(). +// display_name reset // documentation ```kt\npublic final fun reset(newAdapterPosition: kotlin.Int)\n``` // ^^^^^^^^^^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/EpoxyVisibilityItem#reset().(newAdapterPosition) +// display_name newAdapterPosition // documentation ```kt\nvalue-parameter newAdapterPosition: kotlin.Int\n``` // ^^^ reference semanticdb maven . . kotlin/Int# fullyVisible = false @@ -310,14 +367,18 @@ class EpoxyVisibilityItem(adapterPosition: Int? = null) { fun handleVisible(epoxyHolder: EpoxyViewHolder, detachEvent: Boolean) { // ^^^^^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/EpoxyVisibilityItem#handleVisible(). +// display_name handleVisible // documentation ```kt\npublic final fun handleVisible(epoxyHolder: [Error type: Unresolved type for EpoxyViewHolder], detachEvent: kotlin.Boolean)\n``` // ^^^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/EpoxyVisibilityItem#handleVisible().(epoxyHolder) +// display_name epoxyHolder // documentation ```kt\nvalue-parameter epoxyHolder: [Error type: Unresolved type for EpoxyViewHolder]\n``` // ^^^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/EpoxyVisibilityItem#handleVisible().(detachEvent) +// display_name detachEvent // documentation ```kt\nvalue-parameter detachEvent: kotlin.Boolean\n``` // ^^^^^^^ reference semanticdb maven . . kotlin/Boolean# val previousVisible = visible // ^^^^^^^^^^^^^^^ definition local 2 +// display_name previousVisible // documentation ```kt\nval previousVisible: kotlin.Boolean\n``` // ^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/EpoxyVisibilityItem#getVisible(). // ^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/EpoxyVisibilityItem#setVisible(). @@ -350,14 +411,18 @@ class EpoxyVisibilityItem(adapterPosition: Int? = null) { fun handleFocus(epoxyHolder: EpoxyViewHolder, detachEvent: Boolean) { // ^^^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/EpoxyVisibilityItem#handleFocus(). +// display_name handleFocus // documentation ```kt\npublic final fun handleFocus(epoxyHolder: [Error type: Unresolved type for EpoxyViewHolder], detachEvent: kotlin.Boolean)\n``` // ^^^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/EpoxyVisibilityItem#handleFocus().(epoxyHolder) +// display_name epoxyHolder // documentation ```kt\nvalue-parameter epoxyHolder: [Error type: Unresolved type for EpoxyViewHolder]\n``` // ^^^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/EpoxyVisibilityItem#handleFocus().(detachEvent) +// display_name detachEvent // documentation ```kt\nvalue-parameter detachEvent: kotlin.Boolean\n``` // ^^^^^^^ reference semanticdb maven . . kotlin/Boolean# val previousFocusedVisible = focusedVisible // ^^^^^^^^^^^^^^^^^^^^^^ definition local 3 +// display_name previousFocusedVisible // documentation ```kt\nval previousFocusedVisible: kotlin.Boolean\n``` // ^^^^^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/EpoxyVisibilityItem#focusedVisible. // ^^^^^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/EpoxyVisibilityItem#getFocusedVisible(). @@ -390,12 +455,15 @@ class EpoxyVisibilityItem(adapterPosition: Int? = null) { fun handlePartialImpressionVisible( // ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/EpoxyVisibilityItem#handlePartialImpressionVisible(). +// display_name handlePartialImpressionVisible // documentation ```kt\npublic final fun handlePartialImpressionVisible(epoxyHolder: [Error type: Unresolved type for EpoxyViewHolder], detachEvent: kotlin.Boolean, thresholdPercentage: kotlin.Int)\n``` epoxyHolder: EpoxyViewHolder, // ^^^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/EpoxyVisibilityItem#handlePartialImpressionVisible().(epoxyHolder) +// display_name epoxyHolder // documentation ```kt\nvalue-parameter epoxyHolder: [Error type: Unresolved type for EpoxyViewHolder]\n``` detachEvent: Boolean, // ^^^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/EpoxyVisibilityItem#handlePartialImpressionVisible().(detachEvent) +// display_name detachEvent // documentation ```kt\nvalue-parameter detachEvent: kotlin.Boolean\n``` // ^^^^^^^ reference semanticdb maven . . kotlin/Boolean# @IntRange(from = 0, to = 100) thresholdPercentage: Int @@ -403,11 +471,13 @@ class EpoxyVisibilityItem(adapterPosition: Int? = null) { // ^^^^ reference semanticdb maven maven/androidx.annotation/annotation 1.1.0 androidx/annotation/IntRange#``().(from) // ^^ reference semanticdb maven maven/androidx.annotation/annotation 1.1.0 androidx/annotation/IntRange#``().(to) // ^^^^^^^^^^^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/EpoxyVisibilityItem#handlePartialImpressionVisible().(thresholdPercentage) +// display_name thresholdPercentage // documentation ```kt\nvalue-parameter thresholdPercentage: kotlin.Int\n``` // ^^^ reference semanticdb maven . . kotlin/Int# ) { val previousPartiallyVisible = partiallyVisible // ^^^^^^^^^^^^^^^^^^^^^^^^ definition local 4 +// display_name previousPartiallyVisible // documentation ```kt\nval previousPartiallyVisible: kotlin.Boolean\n``` // ^^^^^^^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/EpoxyVisibilityItem#getPartiallyVisible(). // ^^^^^^^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/EpoxyVisibilityItem#partiallyVisible. @@ -441,14 +511,18 @@ class EpoxyVisibilityItem(adapterPosition: Int? = null) { fun handleFullImpressionVisible(epoxyHolder: EpoxyViewHolder, detachEvent: Boolean) { // ^^^^^^^^^^^^^^^^^^^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/EpoxyVisibilityItem#handleFullImpressionVisible(). +// display_name handleFullImpressionVisible // documentation ```kt\npublic final fun handleFullImpressionVisible(epoxyHolder: [Error type: Unresolved type for EpoxyViewHolder], detachEvent: kotlin.Boolean)\n``` // ^^^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/EpoxyVisibilityItem#handleFullImpressionVisible().(epoxyHolder) +// display_name epoxyHolder // documentation ```kt\nvalue-parameter epoxyHolder: [Error type: Unresolved type for EpoxyViewHolder]\n``` // ^^^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/EpoxyVisibilityItem#handleFullImpressionVisible().(detachEvent) +// display_name detachEvent // documentation ```kt\nvalue-parameter detachEvent: kotlin.Boolean\n``` // ^^^^^^^ reference semanticdb maven . . kotlin/Boolean# val previousFullyVisible = fullyVisible // ^^^^^^^^^^^^^^^^^^^^ definition local 5 +// display_name previousFullyVisible // documentation ```kt\nval previousFullyVisible: kotlin.Boolean\n``` // ^^^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/EpoxyVisibilityItem#fullyVisible. // ^^^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/EpoxyVisibilityItem#getFullyVisible(). @@ -478,15 +552,19 @@ class EpoxyVisibilityItem(adapterPosition: Int? = null) { fun handleChanged(epoxyHolder: EpoxyViewHolder, visibilityChangedEnabled: Boolean): Boolean { // ^^^^^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/EpoxyVisibilityItem#handleChanged(). +// display_name handleChanged // documentation ```kt\npublic final fun handleChanged(epoxyHolder: [Error type: Unresolved type for EpoxyViewHolder], visibilityChangedEnabled: kotlin.Boolean): kotlin.Boolean\n``` // ^^^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/EpoxyVisibilityItem#handleChanged().(epoxyHolder) +// display_name epoxyHolder // documentation ```kt\nvalue-parameter epoxyHolder: [Error type: Unresolved type for EpoxyViewHolder]\n``` // ^^^^^^^^^^^^^^^^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/EpoxyVisibilityItem#handleChanged().(visibilityChangedEnabled) +// display_name visibilityChangedEnabled // documentation ```kt\nvalue-parameter visibilityChangedEnabled: kotlin.Boolean\n``` // ^^^^^^^ reference semanticdb maven . . kotlin/Boolean# // ^^^^^^^ reference semanticdb maven . . kotlin/Boolean# var changed = false // ^^^^^^^ definition local 6 +// display_name changed // documentation ```kt\nvar changed: kotlin.Boolean\n``` if (visibleHeight != lastVisibleHeightNotified || visibleWidth != lastVisibleWidthNotified || viewVisibility != lastVisibilityNotified) { // ^^^^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/EpoxyVisibilityItem#getVisibleHeight(). @@ -578,6 +656,7 @@ class EpoxyVisibilityItem(adapterPosition: Int? = null) { private fun isVisible(): Boolean { // ^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/EpoxyVisibilityItem#isVisible(). +// display_name isVisible // documentation ```kt\nprivate final fun isVisible(): kotlin.Boolean\n``` // ^^^^^^^ reference semanticdb maven . . kotlin/Boolean# return viewVisibility == View.VISIBLE && visibleHeight > 0 && visibleWidth > 0 @@ -596,10 +675,12 @@ class EpoxyVisibilityItem(adapterPosition: Int? = null) { private fun isInFocusVisible(): Boolean { // ^^^^^^^^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/EpoxyVisibilityItem#isInFocusVisible(). +// display_name isInFocusVisible // documentation ```kt\nprivate final fun isInFocusVisible(): kotlin.Boolean\n``` // ^^^^^^^ reference semanticdb maven . . kotlin/Boolean# val halfViewportArea = viewportHeight * viewportWidth / 2 // ^^^^^^^^^^^^^^^^ definition local 7 +// display_name halfViewportArea // documentation ```kt\nval halfViewportArea: kotlin.Int\n``` // ^^^^^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/EpoxyVisibilityItem#getViewportHeight(). // ^^^^^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/EpoxyVisibilityItem#setViewportHeight(). @@ -611,6 +692,7 @@ class EpoxyVisibilityItem(adapterPosition: Int? = null) { // ^ reference semanticdb maven . . kotlin/Int#div(+3). val totalArea = height * width // ^^^^^^^^^ definition local 8 +// display_name totalArea // documentation ```kt\nval totalArea: kotlin.Int\n``` // ^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/EpoxyVisibilityItem#getHeight(). // ^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/EpoxyVisibilityItem#height. @@ -621,6 +703,7 @@ class EpoxyVisibilityItem(adapterPosition: Int? = null) { // ^^^^^ reference semanticdb maven . . com/airbnb/epoxy/EpoxyVisibilityItem#width. val visibleArea = visibleHeight * visibleWidth // ^^^^^^^^^^^ definition local 9 +// display_name visibleArea // documentation ```kt\nval visibleArea: kotlin.Int\n``` // ^^^^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/EpoxyVisibilityItem#getVisibleHeight(). // ^^^^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/EpoxyVisibilityItem#setVisibleHeight(). @@ -650,6 +733,7 @@ class EpoxyVisibilityItem(adapterPosition: Int? = null) { private fun isPartiallyVisible( // ^^^^^^^^^^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/EpoxyVisibilityItem#isPartiallyVisible(). +// display_name isPartiallyVisible // documentation ```kt\nprivate final fun isPartiallyVisible(thresholdPercentage: kotlin.Int): kotlin.Boolean\n``` @IntRange( // ^^^^^^^^ reference semanticdb maven maven/androidx.annotation/annotation 1.1.0 androidx/annotation/IntRange#``(). @@ -659,6 +743,7 @@ class EpoxyVisibilityItem(adapterPosition: Int? = null) { // ^^ reference semanticdb maven maven/androidx.annotation/annotation 1.1.0 androidx/annotation/IntRange#``().(to) ) thresholdPercentage: Int // ^^^^^^^^^^^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/EpoxyVisibilityItem#isPartiallyVisible().(thresholdPercentage) +// display_name thresholdPercentage // documentation ```kt\nvalue-parameter thresholdPercentage: kotlin.Int\n``` // ^^^ reference semanticdb maven . . kotlin/Int# ): Boolean { @@ -670,6 +755,7 @@ class EpoxyVisibilityItem(adapterPosition: Int? = null) { // ^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/EpoxyVisibilityItem#isVisible(). val totalArea = height * width // ^^^^^^^^^ definition local 10 +// display_name totalArea // documentation ```kt\nval totalArea: kotlin.Int\n``` // ^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/EpoxyVisibilityItem#getHeight(). // ^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/EpoxyVisibilityItem#height. @@ -680,6 +766,7 @@ class EpoxyVisibilityItem(adapterPosition: Int? = null) { // ^^^^^ reference semanticdb maven . . com/airbnb/epoxy/EpoxyVisibilityItem#width. val visibleArea = visibleHeight * visibleWidth // ^^^^^^^^^^^ definition local 11 +// display_name visibleArea // documentation ```kt\nval visibleArea: kotlin.Int\n``` // ^^^^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/EpoxyVisibilityItem#getVisibleHeight(). // ^^^^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/EpoxyVisibilityItem#setVisibleHeight(). @@ -690,6 +777,7 @@ class EpoxyVisibilityItem(adapterPosition: Int? = null) { // ^^^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/EpoxyVisibilityItem#visibleWidth. val visibleAreaPercentage = visibleArea / totalArea.toFloat() * 100 // ^^^^^^^^^^^^^^^^^^^^^ definition local 12 +// display_name visibleAreaPercentage // documentation ```kt\nval visibleAreaPercentage: kotlin.Float\n``` // ^^^^^^^^^^^ reference local 11 // ^ reference semanticdb maven . . kotlin/Int#div(+2). @@ -707,6 +795,7 @@ class EpoxyVisibilityItem(adapterPosition: Int? = null) { private fun isFullyVisible(): Boolean { // ^^^^^^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/EpoxyVisibilityItem#isFullyVisible(). +// display_name isFullyVisible // documentation ```kt\nprivate final fun isFullyVisible(): kotlin.Boolean\n``` // ^^^^^^^ reference semanticdb maven . . kotlin/Boolean# return viewVisibility == View.VISIBLE && visibleHeight == height && visibleWidth == width @@ -731,8 +820,10 @@ class EpoxyVisibilityItem(adapterPosition: Int? = null) { fun shiftBy(offsetPosition: Int) { // ^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/EpoxyVisibilityItem#shiftBy(). +// display_name shiftBy // documentation ```kt\npublic final fun shiftBy(offsetPosition: kotlin.Int)\n``` // ^^^^^^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/EpoxyVisibilityItem#shiftBy().(offsetPosition) +// display_name offsetPosition // documentation ```kt\nvalue-parameter offsetPosition: kotlin.Int\n``` // ^^^ reference semanticdb maven . . kotlin/Int# adapterPosition += offsetPosition diff --git a/tests/snapshots/src/main/generated/com/airbnb/epoxy/EpoxyVisibilityTracker.kt b/tests/snapshots/src/main/generated/com/airbnb/epoxy/EpoxyVisibilityTracker.kt index a5aa363a7..5aca36bc0 100644 --- a/tests/snapshots/src/main/generated/com/airbnb/epoxy/EpoxyVisibilityTracker.kt +++ b/tests/snapshots/src/main/generated/com/airbnb/epoxy/EpoxyVisibilityTracker.kt @@ -50,8 +50,10 @@ import java.util.HashMap */ class EpoxyVisibilityTracker { // ^^^^^^^^^^^^^^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/EpoxyVisibilityTracker# +// display_name EpoxyVisibilityTracker // documentation ```kt\npublic final class EpoxyVisibilityTracker\n```\n\n----\n\n\n A simple way to track visibility events on [com.airbnb.epoxy.EpoxyModel].\n\n [EpoxyVisibilityTracker] works with any [androidx.recyclerview.widget.RecyclerView]\n backed by an Epoxy controller. Once attached the events will be forwarded to the Epoxy model (or\n to the Epoxy view when using annotations).\n\n Note that support for visibility events on an [EpoxyModelGroup] is somewhat limited. Only model\n additions will receive visibility events. Models that are removed from the group will not receive\n events (e.g. [VisibilityState.INVISIBLE]) because the model group does not keep a reference,\n nor does it get notified of model removals.\n\n @see OnVisibilityChanged\n\n @see OnVisibilityStateChanged\n\n @see OnModelVisibilityChangedListener\n\n @see OnModelVisibilityStateChangedListener\n // ^^^^^^^^^^^^^^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/EpoxyVisibilityTracker#``(). +// display_name EpoxyVisibilityTracker // documentation ```kt\npublic constructor EpoxyVisibilityTracker()\n```\n\n----\n\n\n A simple way to track visibility events on [com.airbnb.epoxy.EpoxyModel].\n\n [EpoxyVisibilityTracker] works with any [androidx.recyclerview.widget.RecyclerView]\n backed by an Epoxy controller. Once attached the events will be forwarded to the Epoxy model (or\n to the Epoxy view when using annotations).\n\n Note that support for visibility events on an [EpoxyModelGroup] is somewhat limited. Only model\n additions will receive visibility events. Models that are removed from the group will not receive\n events (e.g. [VisibilityState.INVISIBLE]) because the model group does not keep a reference,\n nor does it get notified of model removals.\n\n @see OnVisibilityChanged\n\n @see OnVisibilityStateChanged\n\n @see OnModelVisibilityChangedListener\n\n @see OnModelVisibilityStateChangedListener\n /** @@ -59,8 +61,10 @@ class EpoxyVisibilityTracker { */ private val itemAnimatorFinishedListener = // ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/EpoxyVisibilityTracker#getItemAnimatorFinishedListener(). +// display_name itemAnimatorFinishedListener // documentation ```kt\nprivate final val itemAnimatorFinishedListener: [Error type: Return type for function cannot be resolved]\n```\n\n----\n\n\n Used to listen to [RecyclerView.ItemAnimator] ending animations.\n // ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/EpoxyVisibilityTracker#itemAnimatorFinishedListener. +// display_name itemAnimatorFinishedListener // documentation ```kt\nprivate final val itemAnimatorFinishedListener: [Error type: Return type for function cannot be resolved]\n```\n\n----\n\n\n Used to listen to [RecyclerView.ItemAnimator] ending animations.\n RecyclerView.ItemAnimator.ItemAnimatorFinishedListener { processChangeEvent( @@ -73,14 +77,18 @@ class EpoxyVisibilityTracker { /** Maintain visibility item indexed by view id (identity hashcode) */ private val visibilityIdToItemMap = SparseArray() // ^^^^^^^^^^^^^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/EpoxyVisibilityTracker#getVisibilityIdToItemMap(). +// display_name visibilityIdToItemMap // documentation ```kt\nprivate final val visibilityIdToItemMap: [Error type: Not found recorded type for SparseArray()]\n```\n\n----\n\n Maintain visibility item indexed by view id (identity hashcode) // ^^^^^^^^^^^^^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/EpoxyVisibilityTracker#visibilityIdToItemMap. +// display_name visibilityIdToItemMap // documentation ```kt\nprivate final val visibilityIdToItemMap: [Error type: Not found recorded type for SparseArray()]\n```\n\n----\n\n Maintain visibility item indexed by view id (identity hashcode) // ^^^^^^^^^^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/EpoxyVisibilityItem# private val visibilityIdToItems: MutableList = ArrayList() // ^^^^^^^^^^^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/EpoxyVisibilityTracker#getVisibilityIdToItems(). +// display_name visibilityIdToItems // documentation ```kt\nprivate final val visibilityIdToItems: kotlin.collections.MutableList\n``` // ^^^^^^^^^^^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/EpoxyVisibilityTracker#visibilityIdToItems. +// display_name visibilityIdToItems // documentation ```kt\nprivate final val visibilityIdToItems: kotlin.collections.MutableList\n``` // ^^^^^^^^^^^ reference semanticdb maven . . kotlin/collections/MutableList# // ^^^^^^^^^^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/EpoxyVisibilityItem# @@ -89,40 +97,52 @@ class EpoxyVisibilityTracker { /** listener used to process scroll, layout and attach events */ private val listener = Listener() // ^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/EpoxyVisibilityTracker#getListener(). +// display_name listener // documentation ```kt\nprivate final val listener: com.airbnb.epoxy.EpoxyVisibilityTracker.Listener\n```\n\n----\n\n listener used to process scroll, layout and attach events // ^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/EpoxyVisibilityTracker#listener. +// display_name listener // documentation ```kt\nprivate final val listener: com.airbnb.epoxy.EpoxyVisibilityTracker.Listener\n```\n\n----\n\n listener used to process scroll, layout and attach events // ^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/EpoxyVisibilityTracker#Listener#``(). /** listener used to process data events */ private val observer = DataObserver() // ^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/EpoxyVisibilityTracker#getObserver(). +// display_name observer // documentation ```kt\nprivate final val observer: com.airbnb.epoxy.EpoxyVisibilityTracker.DataObserver\n```\n\n----\n\n listener used to process data events // ^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/EpoxyVisibilityTracker#observer. +// display_name observer // documentation ```kt\nprivate final val observer: com.airbnb.epoxy.EpoxyVisibilityTracker.DataObserver\n```\n\n----\n\n listener used to process data events // ^^^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/EpoxyVisibilityTracker#DataObserver#``(). private var attachedRecyclerView: RecyclerView? = null // ^^^^^^^^^^^^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/EpoxyVisibilityTracker#attachedRecyclerView. +// display_name attachedRecyclerView // documentation ```kt\nprivate final var attachedRecyclerView: [Error type: Unresolved type for RecyclerView]?\n``` // ^^^^^^^^^^^^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/EpoxyVisibilityTracker#getAttachedRecyclerView(). +// display_name attachedRecyclerView // documentation ```kt\nprivate final var attachedRecyclerView: [Error type: Unresolved type for RecyclerView]?\n``` // ^^^^^^^^^^^^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/EpoxyVisibilityTracker#setAttachedRecyclerView(). +// display_name attachedRecyclerView // documentation ```kt\nprivate final var attachedRecyclerView: [Error type: Unresolved type for RecyclerView]?\n``` private var lastAdapterSeen: RecyclerView.Adapter<*>? = null // ^^^^^^^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/EpoxyVisibilityTracker#getLastAdapterSeen(). +// display_name lastAdapterSeen // documentation ```kt\nprivate final var lastAdapterSeen: [Error type: Unresolved type for RecyclerView.Adapter<*>]?\n``` // ^^^^^^^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/EpoxyVisibilityTracker#lastAdapterSeen. +// display_name lastAdapterSeen // documentation ```kt\nprivate final var lastAdapterSeen: [Error type: Unresolved type for RecyclerView.Adapter<*>]?\n``` // ^^^^^^^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/EpoxyVisibilityTracker#setLastAdapterSeen(). +// display_name lastAdapterSeen // documentation ```kt\nprivate final var lastAdapterSeen: [Error type: Unresolved type for RecyclerView.Adapter<*>]?\n``` /** All nested visibility trackers */ private val nestedTrackers: MutableMap = HashMap() // ^^^^^^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/EpoxyVisibilityTracker#getNestedTrackers(). +// display_name nestedTrackers // documentation ```kt\nprivate final val nestedTrackers: kotlin.collections.MutableMap<[Error type: Unresolved type for RecyclerView], com.airbnb.epoxy.EpoxyVisibilityTracker>\n```\n\n----\n\n All nested visibility trackers // ^^^^^^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/EpoxyVisibilityTracker#nestedTrackers. +// display_name nestedTrackers // documentation ```kt\nprivate final val nestedTrackers: kotlin.collections.MutableMap<[Error type: Unresolved type for RecyclerView], com.airbnb.epoxy.EpoxyVisibilityTracker>\n```\n\n----\n\n All nested visibility trackers // ^^^^^^^^^^ reference semanticdb maven . . kotlin/collections/MutableMap# // ^^^^^^^^^^^^^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/EpoxyVisibilityTracker# @@ -132,10 +152,13 @@ class EpoxyVisibilityTracker { * need to re-process all views, else no need (ex: scroll). */ private var visibleDataChanged = false // ^^^^^^^^^^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/EpoxyVisibilityTracker#getVisibleDataChanged(). +// display_name visibleDataChanged // documentation ```kt\nprivate final var visibleDataChanged: kotlin.Boolean\n```\n\n----\n\n This flag is for optimizing the process on detach. If detach is from data changed then it\n need to re-process all views, else no need (ex: scroll). // ^^^^^^^^^^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/EpoxyVisibilityTracker#setVisibleDataChanged(). +// display_name visibleDataChanged // documentation ```kt\nprivate final var visibleDataChanged: kotlin.Boolean\n```\n\n----\n\n This flag is for optimizing the process on detach. If detach is from data changed then it\n need to re-process all views, else no need (ex: scroll). // ^^^^^^^^^^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/EpoxyVisibilityTracker#visibleDataChanged. +// display_name visibleDataChanged // documentation ```kt\nprivate final var visibleDataChanged: kotlin.Boolean\n```\n\n----\n\n This flag is for optimizing the process on detach. If detach is from data changed then it\n need to re-process all views, else no need (ex: scroll). /** @@ -148,10 +171,13 @@ class EpoxyVisibilityTracker { */ var onChangedEnabled = true // ^^^^^^^^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/EpoxyVisibilityTracker#getOnChangedEnabled(). +// display_name onChangedEnabled // documentation ```kt\npublic final var onChangedEnabled: kotlin.Boolean\n```\n\n----\n\n\n Enable or disable visibility changed event. Default is `true`, disable it if you don't need\n (triggered by every pixel scrolled).\n\n @see OnVisibilityChanged\n\n @see OnModelVisibilityChangedListener\n // ^^^^^^^^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/EpoxyVisibilityTracker#onChangedEnabled. +// display_name onChangedEnabled // documentation ```kt\npublic final var onChangedEnabled: kotlin.Boolean\n```\n\n----\n\n\n Enable or disable visibility changed event. Default is `true`, disable it if you don't need\n (triggered by every pixel scrolled).\n\n @see OnVisibilityChanged\n\n @see OnModelVisibilityChangedListener\n // ^^^^^^^^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/EpoxyVisibilityTracker#setOnChangedEnabled(). +// display_name onChangedEnabled // documentation ```kt\npublic final var onChangedEnabled: kotlin.Boolean\n```\n\n----\n\n\n Enable or disable visibility changed event. Default is `true`, disable it if you don't need\n (triggered by every pixel scrolled).\n\n @see OnVisibilityChanged\n\n @see OnModelVisibilityChangedListener\n /** @@ -168,10 +194,13 @@ class EpoxyVisibilityTracker { // ^^ reference semanticdb maven maven/androidx.annotation/annotation 1.1.0 androidx/annotation/IntRange#``().(to) var partialImpressionThresholdPercentage: Int? = null // ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/EpoxyVisibilityTracker#getPartialImpressionThresholdPercentage(). +// display_name partialImpressionThresholdPercentage // documentation ```kt\npublic final var partialImpressionThresholdPercentage: kotlin.Int?\n```\n\n----\n\n\n Set the threshold of percentage visible area to identify the partial impression view state.\n\n @param thresholdPercentage Percentage of visible area of an element in the range [0..100].\n Defaults to `null`, which disables\n [VisibilityState.PARTIAL_IMPRESSION_VISIBLE] and\n [VisibilityState.PARTIAL_IMPRESSION_INVISIBLE] events.\n // ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/EpoxyVisibilityTracker#partialImpressionThresholdPercentage. +// display_name partialImpressionThresholdPercentage // documentation ```kt\npublic final var partialImpressionThresholdPercentage: kotlin.Int?\n```\n\n----\n\n\n Set the threshold of percentage visible area to identify the partial impression view state.\n\n @param thresholdPercentage Percentage of visible area of an element in the range [0..100].\n Defaults to `null`, which disables\n [VisibilityState.PARTIAL_IMPRESSION_VISIBLE] and\n [VisibilityState.PARTIAL_IMPRESSION_INVISIBLE] events.\n // ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/EpoxyVisibilityTracker#setPartialImpressionThresholdPercentage(). +// display_name partialImpressionThresholdPercentage // documentation ```kt\npublic final var partialImpressionThresholdPercentage: kotlin.Int?\n```\n\n----\n\n\n Set the threshold of percentage visible area to identify the partial impression view state.\n\n @param thresholdPercentage Percentage of visible area of an element in the range [0..100].\n Defaults to `null`, which disables\n [VisibilityState.PARTIAL_IMPRESSION_VISIBLE] and\n [VisibilityState.PARTIAL_IMPRESSION_INVISIBLE] events.\n // ^^^ reference semanticdb maven . . kotlin/Int# @@ -182,8 +211,10 @@ class EpoxyVisibilityTracker { */ fun attach(recyclerView: RecyclerView) { // ^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/EpoxyVisibilityTracker#attach(). +// display_name attach // documentation ```kt\npublic final fun attach(recyclerView: [Error type: Unresolved type for RecyclerView])\n```\n\n----\n\n\n Attach the tracker.\n\n @param recyclerView The recyclerview that the EpoxyController has its adapter added to.\n // ^^^^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/EpoxyVisibilityTracker#attach().(recyclerView) +// display_name recyclerView // documentation ```kt\nvalue-parameter recyclerView: [Error type: Unresolved type for RecyclerView]\n``` attachedRecyclerView = recyclerView // ^^^^^^^^^^^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/EpoxyVisibilityTracker#attachedRecyclerView. @@ -215,8 +246,10 @@ class EpoxyVisibilityTracker { */ fun detach(recyclerView: RecyclerView) { // ^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/EpoxyVisibilityTracker#detach(). +// display_name detach // documentation ```kt\npublic final fun detach(recyclerView: [Error type: Unresolved type for RecyclerView])\n```\n\n----\n\n\n Detach the tracker\n\n @param recyclerView The recycler view that the EpoxyController has its adapter added to.\n // ^^^^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/EpoxyVisibilityTracker#detach().(recyclerView) +// display_name recyclerView // documentation ```kt\nvalue-parameter recyclerView: [Error type: Unresolved type for RecyclerView]\n``` recyclerView.removeOnScrollListener(listener) // ^^^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/EpoxyVisibilityTracker#detach().(recyclerView) @@ -246,6 +279,7 @@ class EpoxyVisibilityTracker { */ fun clearVisibilityStates() { // ^^^^^^^^^^^^^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/EpoxyVisibilityTracker#clearVisibilityStates(). +// display_name clearVisibilityStates // documentation ```kt\npublic final fun clearVisibilityStates()\n```\n\n----\n\n\n The tracker is storing visibility states internally and is using if to send events, only the\n difference is sent. Use this method to clear the states and thus regenerate the visibility\n events. This may be useful when you change the adapter on the [RecyclerView].\n // Clear our visibility items visibilityIdToItemMap.clear() @@ -268,6 +302,7 @@ class EpoxyVisibilityTracker { */ fun requestVisibilityCheck() { // ^^^^^^^^^^^^^^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/EpoxyVisibilityTracker#requestVisibilityCheck(). +// display_name requestVisibilityCheck // documentation ```kt\npublic final fun requestVisibilityCheck()\n```\n\n----\n\n\n Calling this method will make the visibility tracking check and trigger events if necessary. It\n is particularly useful when the visibility of an Epoxy model is changed outside of an Epoxy\n RecyclerView.\n\n An example is when you nest an horizontal Epoxy backed RecyclerView in a non Epoxy vertical\n RecyclerView. When the vertical RecyclerView scroll you want to notify the visibility tracker\n attached on the horizontal RecyclerView.\n processChangeEvent("requestVisibilityCheck") // ^^^^^^^^^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/EpoxyVisibilityTracker#processChangeEvent(). @@ -280,17 +315,21 @@ class EpoxyVisibilityTracker { */ private fun processChangeEvent(debug: String, checkItemAnimator: Boolean = true) { // ^^^^^^^^^^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/EpoxyVisibilityTracker#processChangeEvent(). +// display_name processChangeEvent // documentation ```kt\nprivate final fun processChangeEvent(debug: kotlin.String, checkItemAnimator: kotlin.Boolean = ...)\n```\n\n----\n\n\n Process a change event.\n @param debug: string for debug usually the source of the call\n @param checkItemAnimator: true if it need to check if ItemAnimator is running\n // ^^^^^ definition semanticdb maven . . com/airbnb/epoxy/EpoxyVisibilityTracker#processChangeEvent().(debug) +// display_name debug // documentation ```kt\nvalue-parameter debug: kotlin.String\n``` // ^^^^^^ reference semanticdb maven . . kotlin/String# // ^^^^^^^^^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/EpoxyVisibilityTracker#processChangeEvent().(checkItemAnimator) +// display_name checkItemAnimator // documentation ```kt\nvalue-parameter checkItemAnimator: kotlin.Boolean = ...\n``` // ^^^^^^^ reference semanticdb maven . . kotlin/Boolean# // Only if attached val recyclerView = attachedRecyclerView ?: return // ^^^^^^^^^^^^ definition local 0 +// display_name recyclerView // documentation ```kt\nval recyclerView: kotlin.Nothing\n``` // ^^^^^^^^^^^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/EpoxyVisibilityTracker#attachedRecyclerView. // ^^^^^^^^^^^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/EpoxyVisibilityTracker#getAttachedRecyclerView(). @@ -298,6 +337,7 @@ class EpoxyVisibilityTracker { val itemAnimator = recyclerView.itemAnimator // ^^^^^^^^^^^^ definition local 1 +// display_name itemAnimator // documentation ```kt\nval itemAnimator: [Error type: Not found recorded type for recyclerView.itemAnimator]\n``` // ^^^^^^^^^^^^ reference local 0 if (checkItemAnimator && itemAnimator != null) { @@ -324,16 +364,20 @@ class EpoxyVisibilityTracker { private fun processChangeEventWithDetachedView(detachedView: View?, debug: String) { // ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/EpoxyVisibilityTracker#processChangeEventWithDetachedView(). +// display_name processChangeEventWithDetachedView // documentation ```kt\nprivate final fun processChangeEventWithDetachedView(detachedView: [Error type: Unresolved type for View]?, debug: kotlin.String)\n``` // ^^^^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/EpoxyVisibilityTracker#processChangeEventWithDetachedView().(detachedView) +// display_name detachedView // documentation ```kt\nvalue-parameter detachedView: [Error type: Unresolved type for View]?\n``` // ^^^^^ definition semanticdb maven . . com/airbnb/epoxy/EpoxyVisibilityTracker#processChangeEventWithDetachedView().(debug) +// display_name debug // documentation ```kt\nvalue-parameter debug: kotlin.String\n``` // ^^^^^^ reference semanticdb maven . . kotlin/String# // Only if attached val recyclerView = attachedRecyclerView ?: return // ^^^^^^^^^^^^ definition local 2 +// display_name recyclerView // documentation ```kt\nval recyclerView: kotlin.Nothing\n``` // ^^^^^^^^^^^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/EpoxyVisibilityTracker#attachedRecyclerView. // ^^^^^^^^^^^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/EpoxyVisibilityTracker#getAttachedRecyclerView(). @@ -352,11 +396,13 @@ class EpoxyVisibilityTracker { // Process all attached children for (i in 0 until recyclerView.childCount) { // ^ definition local 3 +// display_name i // documentation ```kt\nval i: kotlin.Int\n``` // ^^^^^ reference semanticdb maven maven/org.jetbrains.kotlin/kotlin-stdlib 1.4.20-RC kotlin/ranges/RangesKt#until(+6). // ^^^^^^^^^^^^ reference local 2 val child = recyclerView.getChildAt(i) // ^^^^^ definition local 4 +// display_name child // documentation ```kt\nval child: [Error type: Not found recorded type for recyclerView.getChildAt(i)]\n``` // ^^^^^^^^^^^^ reference local 2 // ^ reference local 3 @@ -380,12 +426,14 @@ class EpoxyVisibilityTracker { */ private fun processNewAdapterIfNecessary() { // ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/EpoxyVisibilityTracker#processNewAdapterIfNecessary(). +// display_name processNewAdapterIfNecessary // documentation ```kt\nprivate final fun processNewAdapterIfNecessary()\n```\n\n----\n\n\n If there is a new adapter on the attached RecyclerView it will register the data observer and\n clear the current visibility states\n attachedRecyclerView?.adapter?.let { adapter -> // ^^^^^^^^^^^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/EpoxyVisibilityTracker#attachedRecyclerView. // ^^^^^^^^^^^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/EpoxyVisibilityTracker#getAttachedRecyclerView(). // ^^^^^^^^^^^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/EpoxyVisibilityTracker#setAttachedRecyclerView(). // ^^^^^^^ definition local 5 +// display_name adapter // documentation ```kt\nvalue-parameter adapter: [Error type: Cannot infer a lambda parameter type]\n``` if (lastAdapterSeen != adapter) { // ^^^^^^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/EpoxyVisibilityTracker#getLastAdapterSeen(). @@ -423,19 +471,24 @@ class EpoxyVisibilityTracker { */ private fun processChild(child: View, detachEvent: Boolean, eventOriginForDebug: String) { // ^^^^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/EpoxyVisibilityTracker#processChild(). +// display_name processChild // documentation ```kt\nprivate final fun processChild(child: [Error type: Unresolved type for View], detachEvent: kotlin.Boolean, eventOriginForDebug: kotlin.String)\n```\n\n----\n\n\n Don't call this method directly, it is called from\n [EpoxyVisibilityTracker.processVisibilityEvents]\n\n @param child the view to process for visibility event\n @param detachEvent true if the child was just detached\n @param eventOriginForDebug a debug strings used for logs\n // ^^^^^ definition semanticdb maven . . com/airbnb/epoxy/EpoxyVisibilityTracker#processChild().(child) +// display_name child // documentation ```kt\nvalue-parameter child: [Error type: Unresolved type for View]\n``` // ^^^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/EpoxyVisibilityTracker#processChild().(detachEvent) +// display_name detachEvent // documentation ```kt\nvalue-parameter detachEvent: kotlin.Boolean\n``` // ^^^^^^^ reference semanticdb maven . . kotlin/Boolean# // ^^^^^^^^^^^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/EpoxyVisibilityTracker#processChild().(eventOriginForDebug) +// display_name eventOriginForDebug // documentation ```kt\nvalue-parameter eventOriginForDebug: kotlin.String\n``` // ^^^^^^ reference semanticdb maven . . kotlin/String# // Only if attached val recyclerView = attachedRecyclerView ?: return // ^^^^^^^^^^^^ definition local 6 +// display_name recyclerView // documentation ```kt\nval recyclerView: kotlin.Nothing\n``` // ^^^^^^^^^^^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/EpoxyVisibilityTracker#attachedRecyclerView. // ^^^^^^^^^^^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/EpoxyVisibilityTracker#getAttachedRecyclerView(). @@ -445,12 +498,14 @@ class EpoxyVisibilityTracker { // `getChildViewHolder`. val isParentValid = child.parent == null || child.parent === recyclerView // ^^^^^^^^^^^^^ definition local 7 +// display_name isParentValid // documentation ```kt\nval isParentValid: kotlin.Boolean\n``` // ^^^^^ reference semanticdb maven . . com/airbnb/epoxy/EpoxyVisibilityTracker#processChild().(child) // ^^^^^ reference semanticdb maven . . com/airbnb/epoxy/EpoxyVisibilityTracker#processChild().(child) // ^^^^^^^^^^^^ reference local 6 val viewHolder = if (isParentValid) recyclerView.getChildViewHolder(child) else null // ^^^^^^^^^^ definition local 8 +// display_name viewHolder // documentation ```kt\nval viewHolder: kotlin.Nothing?\n``` // ^^^^^^^^^^^^^ reference local 7 // ^^^^^^^^^^^^ reference local 6 @@ -459,6 +514,7 @@ class EpoxyVisibilityTracker { // ^^^^^^^^^^ reference local 8 val epoxyHolder = viewHolder.holder // ^^^^^^^^^^^ definition local 9 +// display_name epoxyHolder // documentation ```kt\nval epoxyHolder: [Error type: Not found recorded type for viewHolder.holder]\n``` // ^^^^^^^^^^ reference local 8 processChild(recyclerView, child, detachEvent, eventOriginForDebug, viewHolder) @@ -492,26 +548,32 @@ class EpoxyVisibilityTracker { */ private fun processModelGroupChildren( // ^^^^^^^^^^^^^^^^^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/EpoxyVisibilityTracker#processModelGroupChildren(). +// display_name processModelGroupChildren // documentation ```kt\nprivate final fun processModelGroupChildren(recyclerView: [Error type: Unresolved type for RecyclerView], epoxyHolder: com.airbnb.epoxy.ModelGroupHolder, detachEvent: kotlin.Boolean, eventOriginForDebug: kotlin.String)\n```\n\n----\n\n\n Loop through the children of the model group and process visibility events on each one in\n relation to the model group's layout. This will attach or detach trackers to any nested\n [RecyclerView]s.\n\n @param epoxyHolder the [ModelGroupHolder] with children to process\n @param detachEvent true if the child was just detached\n @param eventOriginForDebug a debug strings used for logs\n recyclerView: RecyclerView, // ^^^^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/EpoxyVisibilityTracker#processModelGroupChildren().(recyclerView) +// display_name recyclerView // documentation ```kt\nvalue-parameter recyclerView: [Error type: Unresolved type for RecyclerView]\n``` epoxyHolder: ModelGroupHolder, // ^^^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/EpoxyVisibilityTracker#processModelGroupChildren().(epoxyHolder) +// display_name epoxyHolder // documentation ```kt\nvalue-parameter epoxyHolder: com.airbnb.epoxy.ModelGroupHolder\n``` // ^^^^^^^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/ModelGroupHolder# detachEvent: Boolean, // ^^^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/EpoxyVisibilityTracker#processModelGroupChildren().(detachEvent) +// display_name detachEvent // documentation ```kt\nvalue-parameter detachEvent: kotlin.Boolean\n``` // ^^^^^^^ reference semanticdb maven . . kotlin/Boolean# eventOriginForDebug: String // ^^^^^^^^^^^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/EpoxyVisibilityTracker#processModelGroupChildren().(eventOriginForDebug) +// display_name eventOriginForDebug // documentation ```kt\nvalue-parameter eventOriginForDebug: kotlin.String\n``` // ^^^^^^ reference semanticdb maven . . kotlin/String# ) { // Iterate through models in the group and process each of them instead of the group for (groupChildHolder in epoxyHolder.viewHolders) { // ^^^^^^^^^^^^^^^^ definition local 10 +// display_name groupChildHolder // documentation ```kt\nval groupChildHolder: [Error type: Return type for function cannot be resolved]\n``` // ^^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/EpoxyVisibilityTracker#processModelGroupChildren().(epoxyHolder) // ^^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/ModelGroupHolder#getViewHolders(). @@ -559,27 +621,34 @@ class EpoxyVisibilityTracker { */ private fun processChild( // ^^^^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/EpoxyVisibilityTracker#processChild(+1). +// display_name processChild // documentation ```kt\nprivate final fun processChild(recyclerView: [Error type: Unresolved type for RecyclerView], child: [Error type: Unresolved type for View], detachEvent: kotlin.Boolean, eventOriginForDebug: kotlin.String, viewHolder: [Error type: Unresolved type for EpoxyViewHolder])\n```\n\n----\n\n\n Process visibility events for a view and propagate to a nested tracker if the view is a\n [RecyclerView].\n\n @param child the view to process for visibility event\n @param detachEvent true if the child was just detached\n @param eventOriginForDebug a debug strings used for logs\n @param viewHolder the view holder for the child view\n recyclerView: RecyclerView, // ^^^^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/EpoxyVisibilityTracker#processChild(+1).(recyclerView) +// display_name recyclerView // documentation ```kt\nvalue-parameter recyclerView: [Error type: Unresolved type for RecyclerView]\n``` child: View, // ^^^^^ definition semanticdb maven . . com/airbnb/epoxy/EpoxyVisibilityTracker#processChild(+1).(child) +// display_name child // documentation ```kt\nvalue-parameter child: [Error type: Unresolved type for View]\n``` detachEvent: Boolean, // ^^^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/EpoxyVisibilityTracker#processChild(+1).(detachEvent) +// display_name detachEvent // documentation ```kt\nvalue-parameter detachEvent: kotlin.Boolean\n``` // ^^^^^^^ reference semanticdb maven . . kotlin/Boolean# eventOriginForDebug: String, // ^^^^^^^^^^^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/EpoxyVisibilityTracker#processChild(+1).(eventOriginForDebug) +// display_name eventOriginForDebug // documentation ```kt\nvalue-parameter eventOriginForDebug: kotlin.String\n``` // ^^^^^^ reference semanticdb maven . . kotlin/String# viewHolder: EpoxyViewHolder // ^^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/EpoxyVisibilityTracker#processChild(+1).(viewHolder) +// display_name viewHolder // documentation ```kt\nvalue-parameter viewHolder: [Error type: Unresolved type for EpoxyViewHolder]\n``` ) { val changed = processVisibilityEvents( // ^^^^^^^ definition local 11 +// display_name changed // documentation ```kt\nval changed: kotlin.Boolean\n``` // ^^^^^^^^^^^^^^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/EpoxyVisibilityTracker#processVisibilityEvents(). recyclerView, @@ -615,19 +684,24 @@ class EpoxyVisibilityTracker { */ private fun processVisibilityEvents( // ^^^^^^^^^^^^^^^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/EpoxyVisibilityTracker#processVisibilityEvents(). +// display_name processVisibilityEvents // documentation ```kt\nprivate final fun processVisibilityEvents(recyclerView: [Error type: Unresolved type for RecyclerView], epoxyHolder: [Error type: Unresolved type for EpoxyViewHolder], detachEvent: kotlin.Boolean, eventOriginForDebug: kotlin.String): kotlin.Boolean\n```\n\n----\n\n\n Call this methods every time something related to ui (scroll, layout, ...) or something related\n to data changed.\n\n @param recyclerView the recycler view\n @param epoxyHolder the [RecyclerView]\n @param detachEvent true if the event originated from a view detached from the\n recycler view\n @param eventOriginForDebug a debug strings used for logs\n @return true if changed\n recyclerView: RecyclerView, // ^^^^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/EpoxyVisibilityTracker#processVisibilityEvents().(recyclerView) +// display_name recyclerView // documentation ```kt\nvalue-parameter recyclerView: [Error type: Unresolved type for RecyclerView]\n``` epoxyHolder: EpoxyViewHolder, // ^^^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/EpoxyVisibilityTracker#processVisibilityEvents().(epoxyHolder) +// display_name epoxyHolder // documentation ```kt\nvalue-parameter epoxyHolder: [Error type: Unresolved type for EpoxyViewHolder]\n``` detachEvent: Boolean, // ^^^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/EpoxyVisibilityTracker#processVisibilityEvents().(detachEvent) +// display_name detachEvent // documentation ```kt\nvalue-parameter detachEvent: kotlin.Boolean\n``` // ^^^^^^^ reference semanticdb maven . . kotlin/Boolean# eventOriginForDebug: String // ^^^^^^^^^^^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/EpoxyVisibilityTracker#processVisibilityEvents().(eventOriginForDebug) +// display_name eventOriginForDebug // documentation ```kt\nvalue-parameter eventOriginForDebug: kotlin.String\n``` // ^^^^^^ reference semanticdb maven . . kotlin/String# ): Boolean { @@ -654,16 +728,19 @@ class EpoxyVisibilityTracker { } val itemView = epoxyHolder.itemView // ^^^^^^^^ definition local 12 +// display_name itemView // documentation ```kt\nval itemView: [Error type: Error property type]\n``` // ^^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/EpoxyVisibilityTracker#processVisibilityEvents().(epoxyHolder) val id = System.identityHashCode(itemView) // ^^ definition local 13 +// display_name id // documentation ```kt\nval id: kotlin.Int\n``` // ^^^^^^ reference semanticdb maven jdk 11 java/lang/System# // ^^^^^^^^^^^^^^^^ reference semanticdb maven jdk 11 java/lang/System#identityHashCode(). // ^^^^^^^^ reference local 12 var vi = visibilityIdToItemMap[id] // ^^ definition local 14 +// display_name vi // documentation ```kt\nvar vi: [Error type: Return type for function cannot be resolved]\n``` // ^^^^^^^^^^^^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/EpoxyVisibilityTracker#getVisibilityIdToItemMap(). // ^^^^^^^^^^^^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/EpoxyVisibilityTracker#visibilityIdToItemMap. @@ -698,6 +775,7 @@ class EpoxyVisibilityTracker { } var changed = false // ^^^^^^^ definition local 15 +// display_name changed // documentation ```kt\nvar changed: kotlin.Boolean\n``` if (vi.update(itemView, recyclerView, detachEvent)) { // ^^ reference local 14 @@ -715,6 +793,7 @@ class EpoxyVisibilityTracker { // ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/EpoxyVisibilityTracker#setPartialImpressionThresholdPercentage(). // ^^^ reference semanticdb maven maven/org.jetbrains.kotlin/kotlin-stdlib 1.4.20-RC kotlin/StandardKt#let(). // ^^^^^^^^^^ definition local 16 +// display_name percentage // documentation ```kt\nvalue-parameter percentage: kotlin.Int\n``` vi.handlePartialImpressionVisible( // ^^ reference local 14 @@ -747,19 +826,23 @@ class EpoxyVisibilityTracker { private fun processChildRecyclerViewAttached(childRecyclerView: RecyclerView) { // ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/EpoxyVisibilityTracker#processChildRecyclerViewAttached(). +// display_name processChildRecyclerViewAttached // documentation ```kt\nprivate final fun processChildRecyclerViewAttached(childRecyclerView: [Error type: Unresolved type for RecyclerView])\n``` // ^^^^^^^^^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/EpoxyVisibilityTracker#processChildRecyclerViewAttached().(childRecyclerView) +// display_name childRecyclerView // documentation ```kt\nvalue-parameter childRecyclerView: [Error type: Unresolved type for RecyclerView]\n``` // Register itself in the EpoxyVisibilityTracker. This will take care of nested list // tracking (ex: carousel) val tracker = getTracker(childRecyclerView) ?: EpoxyVisibilityTracker().let { nested -> // ^^^^^^^ definition local 17 +// display_name tracker // documentation ```kt\nval tracker: com.airbnb.epoxy.EpoxyVisibilityTracker\n``` // ^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/EpoxyVisibilityTracker#Companion#getTracker(). // ^^^^^^^^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/EpoxyVisibilityTracker#processChildRecyclerViewAttached().(childRecyclerView) // ^^^^^^^^^^^^^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/EpoxyVisibilityTracker#``(). // ^^^ reference semanticdb maven maven/org.jetbrains.kotlin/kotlin-stdlib 1.4.20-RC kotlin/StandardKt#let(). // ^^^^^^ definition local 18 +// display_name nested // documentation ```kt\nvalue-parameter nested: com.airbnb.epoxy.EpoxyVisibilityTracker\n``` nested.partialImpressionThresholdPercentage = partialImpressionThresholdPercentage // ^^^^^^ reference local 18 @@ -785,8 +868,10 @@ class EpoxyVisibilityTracker { private fun processChildRecyclerViewDetached(childRecyclerView: RecyclerView) { // ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/EpoxyVisibilityTracker#processChildRecyclerViewDetached(). +// display_name processChildRecyclerViewDetached // documentation ```kt\nprivate final fun processChildRecyclerViewDetached(childRecyclerView: [Error type: Unresolved type for RecyclerView])\n``` // ^^^^^^^^^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/EpoxyVisibilityTracker#processChildRecyclerViewDetached().(childRecyclerView) +// display_name childRecyclerView // documentation ```kt\nvalue-parameter childRecyclerView: [Error type: Unresolved type for RecyclerView]\n``` nestedTrackers.remove(childRecyclerView) // ^^^^^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/EpoxyVisibilityTracker#getNestedTrackers(). @@ -801,48 +886,60 @@ class EpoxyVisibilityTracker { */ private inner class Listener : // ^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/EpoxyVisibilityTracker#Listener# +// display_name Listener // documentation ```kt\nprivate final inner class Listener\n```\n\n----\n\n\n Helper class that host the [androidx.recyclerview.widget.RecyclerView] listener\n implementations\n // ^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/EpoxyVisibilityTracker#Listener#``(). +// display_name Listener // documentation ```kt\npublic constructor Listener()\n```\n\n----\n\n\n Helper class that host the [androidx.recyclerview.widget.RecyclerView] listener\n implementations\n RecyclerView.OnScrollListener(), View.OnLayoutChangeListener, RecyclerView.OnChildAttachStateChangeListener { override fun onLayoutChange( // ^^^^^^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/EpoxyVisibilityTracker#Listener#onLayoutChange(). +// display_name onLayoutChange // documentation ```kt\npublic open fun onLayoutChange(recyclerView: [Error type: Unresolved type for View], left: kotlin.Int, top: kotlin.Int, right: kotlin.Int, bottom: kotlin.Int, oldLeft: kotlin.Int, oldTop: kotlin.Int, oldRight: kotlin.Int, oldBottom: kotlin.Int)\n``` recyclerView: View, // ^^^^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/EpoxyVisibilityTracker#Listener#onLayoutChange().(recyclerView) +// display_name recyclerView // documentation ```kt\nvalue-parameter recyclerView: [Error type: Unresolved type for View]\n``` left: Int, // ^^^^ definition semanticdb maven . . com/airbnb/epoxy/EpoxyVisibilityTracker#Listener#onLayoutChange().(left) +// display_name left // documentation ```kt\nvalue-parameter left: kotlin.Int\n``` // ^^^ reference semanticdb maven . . kotlin/Int# top: Int, // ^^^ definition semanticdb maven . . com/airbnb/epoxy/EpoxyVisibilityTracker#Listener#onLayoutChange().(top) +// display_name top // documentation ```kt\nvalue-parameter top: kotlin.Int\n``` // ^^^ reference semanticdb maven . . kotlin/Int# right: Int, // ^^^^^ definition semanticdb maven . . com/airbnb/epoxy/EpoxyVisibilityTracker#Listener#onLayoutChange().(right) +// display_name right // documentation ```kt\nvalue-parameter right: kotlin.Int\n``` // ^^^ reference semanticdb maven . . kotlin/Int# bottom: Int, // ^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/EpoxyVisibilityTracker#Listener#onLayoutChange().(bottom) +// display_name bottom // documentation ```kt\nvalue-parameter bottom: kotlin.Int\n``` // ^^^ reference semanticdb maven . . kotlin/Int# oldLeft: Int, // ^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/EpoxyVisibilityTracker#Listener#onLayoutChange().(oldLeft) +// display_name oldLeft // documentation ```kt\nvalue-parameter oldLeft: kotlin.Int\n``` // ^^^ reference semanticdb maven . . kotlin/Int# oldTop: Int, // ^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/EpoxyVisibilityTracker#Listener#onLayoutChange().(oldTop) +// display_name oldTop // documentation ```kt\nvalue-parameter oldTop: kotlin.Int\n``` // ^^^ reference semanticdb maven . . kotlin/Int# oldRight: Int, // ^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/EpoxyVisibilityTracker#Listener#onLayoutChange().(oldRight) +// display_name oldRight // documentation ```kt\nvalue-parameter oldRight: kotlin.Int\n``` // ^^^ reference semanticdb maven . . kotlin/Int# oldBottom: Int // ^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/EpoxyVisibilityTracker#Listener#onLayoutChange().(oldBottom) +// display_name oldBottom // documentation ```kt\nvalue-parameter oldBottom: kotlin.Int\n``` // ^^^ reference semanticdb maven . . kotlin/Int# ) { @@ -852,13 +949,17 @@ class EpoxyVisibilityTracker { override fun onScrolled(recyclerView: RecyclerView, dx: Int, dy: Int) { // ^^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/EpoxyVisibilityTracker#Listener#onScrolled(). +// display_name onScrolled // documentation ```kt\npublic open fun onScrolled(recyclerView: [Error type: Unresolved type for RecyclerView], dx: kotlin.Int, dy: kotlin.Int)\n``` // ^^^^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/EpoxyVisibilityTracker#Listener#onScrolled().(recyclerView) +// display_name recyclerView // documentation ```kt\nvalue-parameter recyclerView: [Error type: Unresolved type for RecyclerView]\n``` // ^^ definition semanticdb maven . . com/airbnb/epoxy/EpoxyVisibilityTracker#Listener#onScrolled().(dx) +// display_name dx // documentation ```kt\nvalue-parameter dx: kotlin.Int\n``` // ^^^ reference semanticdb maven . . kotlin/Int# // ^^ definition semanticdb maven . . com/airbnb/epoxy/EpoxyVisibilityTracker#Listener#onScrolled().(dy) +// display_name dy // documentation ```kt\nvalue-parameter dy: kotlin.Int\n``` // ^^^ reference semanticdb maven . . kotlin/Int# processChangeEvent("onScrolled") @@ -867,8 +968,10 @@ class EpoxyVisibilityTracker { override fun onChildViewAttachedToWindow(child: View) { // ^^^^^^^^^^^^^^^^^^^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/EpoxyVisibilityTracker#Listener#onChildViewAttachedToWindow(). +// display_name onChildViewAttachedToWindow // documentation ```kt\npublic open fun onChildViewAttachedToWindow(child: [Error type: Unresolved type for View])\n``` // ^^^^^ definition semanticdb maven . . com/airbnb/epoxy/EpoxyVisibilityTracker#Listener#onChildViewAttachedToWindow().(child) +// display_name child // documentation ```kt\nvalue-parameter child: [Error type: Unresolved type for View]\n``` if (child is RecyclerView) { // ^^^^^ reference semanticdb maven . . com/airbnb/epoxy/EpoxyVisibilityTracker#Listener#onChildViewAttachedToWindow().(child) @@ -883,8 +986,10 @@ class EpoxyVisibilityTracker { override fun onChildViewDetachedFromWindow(child: View) { // ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/EpoxyVisibilityTracker#Listener#onChildViewDetachedFromWindow(). +// display_name onChildViewDetachedFromWindow // documentation ```kt\npublic open fun onChildViewDetachedFromWindow(child: [Error type: Unresolved type for View])\n``` // ^^^^^ definition semanticdb maven . . com/airbnb/epoxy/EpoxyVisibilityTracker#Listener#onChildViewDetachedFromWindow().(child) +// display_name child // documentation ```kt\nvalue-parameter child: [Error type: Unresolved type for View]\n``` if (child is RecyclerView) { // ^^^^^ reference semanticdb maven . . com/airbnb/epoxy/EpoxyVisibilityTracker#Listener#onChildViewDetachedFromWindow().(child) @@ -919,14 +1024,17 @@ class EpoxyVisibilityTracker { */ internal inner class DataObserver : RecyclerView.AdapterDataObserver() { // ^^^^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/EpoxyVisibilityTracker#DataObserver# +// display_name DataObserver // documentation ```kt\ninternal final inner class DataObserver\n```\n\n----\n\n\n The layout/scroll events are not enough to detect all sort of visibility changes. We also\n need to look at the data events from the adapter.\n // ^^^^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/EpoxyVisibilityTracker#DataObserver#``(). +// display_name DataObserver // documentation ```kt\npublic constructor DataObserver()\n```\n\n----\n\n\n The layout/scroll events are not enough to detect all sort of visibility changes. We also\n need to look at the data events from the adapter.\n /** * Clear the current visibility statues */ override fun onChanged() { // ^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/EpoxyVisibilityTracker#DataObserver#onChanged(). +// display_name onChanged // documentation ```kt\npublic open fun onChanged()\n```\n\n----\n\n\n Clear the current visibility statues\n if (notEpoxyManaged(attachedRecyclerView)) { // ^^^^^^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/EpoxyVisibilityTracker#DataObserver#notEpoxyManaged(). @@ -961,11 +1069,14 @@ class EpoxyVisibilityTracker { */ override fun onItemRangeInserted(positionStart: Int, itemCount: Int) { // ^^^^^^^^^^^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/EpoxyVisibilityTracker#DataObserver#onItemRangeInserted(). +// display_name onItemRangeInserted // documentation ```kt\npublic open fun onItemRangeInserted(positionStart: kotlin.Int, itemCount: kotlin.Int)\n```\n\n----\n\n\n For all items after the inserted range shift each [EpoxyVisibilityTracker] adapter\n position by inserted item count.\n // ^^^^^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/EpoxyVisibilityTracker#DataObserver#onItemRangeInserted().(positionStart) +// display_name positionStart // documentation ```kt\nvalue-parameter positionStart: kotlin.Int\n``` // ^^^ reference semanticdb maven . . kotlin/Int# // ^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/EpoxyVisibilityTracker#DataObserver#onItemRangeInserted().(itemCount) +// display_name itemCount // documentation ```kt\nvalue-parameter itemCount: kotlin.Int\n``` // ^^^ reference semanticdb maven . . kotlin/Int# if (notEpoxyManaged(attachedRecyclerView)) { @@ -986,6 +1097,7 @@ class EpoxyVisibilityTracker { } for (item in visibilityIdToItems) { // ^^^^ definition local 19 +// display_name item // documentation ```kt\nval item: com.airbnb.epoxy.EpoxyVisibilityItem\n``` // ^^^^^^^^^^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/EpoxyVisibilityTracker#getVisibilityIdToItems(). // ^^^^^^^^^^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/EpoxyVisibilityTracker#visibilityIdToItems. @@ -1012,11 +1124,14 @@ class EpoxyVisibilityTracker { */ override fun onItemRangeRemoved(positionStart: Int, itemCount: Int) { // ^^^^^^^^^^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/EpoxyVisibilityTracker#DataObserver#onItemRangeRemoved(). +// display_name onItemRangeRemoved // documentation ```kt\npublic open fun onItemRangeRemoved(positionStart: kotlin.Int, itemCount: kotlin.Int)\n```\n\n----\n\n\n For all items after the removed range reverse-shift each [EpoxyVisibilityTracker]\n adapter position by removed item count\n // ^^^^^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/EpoxyVisibilityTracker#DataObserver#onItemRangeRemoved().(positionStart) +// display_name positionStart // documentation ```kt\nvalue-parameter positionStart: kotlin.Int\n``` // ^^^ reference semanticdb maven . . kotlin/Int# // ^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/EpoxyVisibilityTracker#DataObserver#onItemRangeRemoved().(itemCount) +// display_name itemCount // documentation ```kt\nvalue-parameter itemCount: kotlin.Int\n``` // ^^^ reference semanticdb maven . . kotlin/Int# if (notEpoxyManaged(attachedRecyclerView)) { @@ -1037,6 +1152,7 @@ class EpoxyVisibilityTracker { } for (item in visibilityIdToItems) { // ^^^^ definition local 20 +// display_name item // documentation ```kt\nval item: com.airbnb.epoxy.EpoxyVisibilityItem\n``` // ^^^^^^^^^^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/EpoxyVisibilityTracker#getVisibilityIdToItems(). // ^^^^^^^^^^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/EpoxyVisibilityTracker#visibilityIdToItems. @@ -1067,14 +1183,18 @@ class EpoxyVisibilityTracker { */ override fun onItemRangeMoved(fromPosition: Int, toPosition: Int, itemCount: Int) { // ^^^^^^^^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/EpoxyVisibilityTracker#DataObserver#onItemRangeMoved(). +// display_name onItemRangeMoved // documentation ```kt\npublic open fun onItemRangeMoved(fromPosition: kotlin.Int, toPosition: kotlin.Int, itemCount: kotlin.Int)\n```\n\n----\n\n\n This is a bit more complex, for move we need to first swap the moved position then shift the\n items between the swap. To simplify we split any range passed to individual item moved.\n\n ps: anyway [androidx.recyclerview.widget.AdapterListUpdateCallback]\n does not seem to use range for moved items.\n // ^^^^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/EpoxyVisibilityTracker#DataObserver#onItemRangeMoved().(fromPosition) +// display_name fromPosition // documentation ```kt\nvalue-parameter fromPosition: kotlin.Int\n``` // ^^^ reference semanticdb maven . . kotlin/Int# // ^^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/EpoxyVisibilityTracker#DataObserver#onItemRangeMoved().(toPosition) +// display_name toPosition // documentation ```kt\nvalue-parameter toPosition: kotlin.Int\n``` // ^^^ reference semanticdb maven . . kotlin/Int# // ^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/EpoxyVisibilityTracker#DataObserver#onItemRangeMoved().(itemCount) +// display_name itemCount // documentation ```kt\nvalue-parameter itemCount: kotlin.Int\n``` // ^^^ reference semanticdb maven . . kotlin/Int# if (notEpoxyManaged(attachedRecyclerView)) { @@ -1086,6 +1206,7 @@ class EpoxyVisibilityTracker { } for (i in 0 until itemCount) { // ^ definition local 21 +// display_name i // documentation ```kt\nval i: kotlin.Int\n``` // ^^^^^ reference semanticdb maven maven/org.jetbrains.kotlin/kotlin-stdlib 1.4.20-RC kotlin/ranges/RangesKt#until(+6). // ^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/EpoxyVisibilityTracker#DataObserver#onItemRangeMoved().(itemCount) @@ -1102,11 +1223,14 @@ class EpoxyVisibilityTracker { private fun onItemMoved(fromPosition: Int, toPosition: Int) { // ^^^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/EpoxyVisibilityTracker#DataObserver#onItemMoved(). +// display_name onItemMoved // documentation ```kt\nprivate final fun onItemMoved(fromPosition: kotlin.Int, toPosition: kotlin.Int)\n``` // ^^^^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/EpoxyVisibilityTracker#DataObserver#onItemMoved().(fromPosition) +// display_name fromPosition // documentation ```kt\nvalue-parameter fromPosition: kotlin.Int\n``` // ^^^ reference semanticdb maven . . kotlin/Int# // ^^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/EpoxyVisibilityTracker#DataObserver#onItemMoved().(toPosition) +// display_name toPosition // documentation ```kt\nvalue-parameter toPosition: kotlin.Int\n``` // ^^^ reference semanticdb maven . . kotlin/Int# if (notEpoxyManaged(attachedRecyclerView)) { @@ -1127,11 +1251,13 @@ class EpoxyVisibilityTracker { } for (item in visibilityIdToItems) { // ^^^^ definition local 22 +// display_name item // documentation ```kt\nval item: com.airbnb.epoxy.EpoxyVisibilityItem\n``` // ^^^^^^^^^^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/EpoxyVisibilityTracker#getVisibilityIdToItems(). // ^^^^^^^^^^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/EpoxyVisibilityTracker#visibilityIdToItems. val position = item.adapterPosition // ^^^^^^^^ definition local 23 +// display_name position // documentation ```kt\nval position: [Error type: Error property type]\n``` // ^^^^ reference local 22 // ^^^^^^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/EpoxyVisibilityItem#adapterPosition. @@ -1202,8 +1328,10 @@ class EpoxyVisibilityTracker { */ private fun notEpoxyManaged(recyclerView: RecyclerView?): Boolean { // ^^^^^^^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/EpoxyVisibilityTracker#DataObserver#notEpoxyManaged(). +// display_name notEpoxyManaged // documentation ```kt\nprivate final fun notEpoxyManaged(recyclerView: [Error type: Unresolved type for RecyclerView]?): kotlin.Boolean\n```\n\n----\n\n\n @param recyclerView the recycler view\n @return true if managed by an [BaseEpoxyAdapter]\n // ^^^^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/EpoxyVisibilityTracker#DataObserver#notEpoxyManaged().(recyclerView) +// display_name recyclerView // documentation ```kt\nvalue-parameter recyclerView: [Error type: Unresolved type for RecyclerView]?\n``` // ^^^^^^^ reference semanticdb maven . . kotlin/Boolean# return recyclerView == null || recyclerView.adapter !is BaseEpoxyAdapter @@ -1214,19 +1342,24 @@ class EpoxyVisibilityTracker { companion object { // ^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/EpoxyVisibilityTracker#Companion# 1:0 +// display_name Companion // documentation ```kt\npublic companion object\n``` private const val TAG = "EpoxyVisibilityTracker" // ^^^ definition semanticdb maven . . com/airbnb/epoxy/EpoxyVisibilityTracker#Companion#TAG. +// display_name TAG // documentation ```kt\nprivate const final val TAG: kotlin.String\n``` // ^^^ definition semanticdb maven . . com/airbnb/epoxy/EpoxyVisibilityTracker#Companion#getTAG(). +// display_name TAG // documentation ```kt\nprivate const final val TAG: kotlin.String\n``` @IdRes // ^^^^^ reference semanticdb maven maven/androidx.annotation/annotation 1.1.0 androidx/annotation/IdRes#``(). private val TAG_ID = R.id.epoxy_visibility_tracker // ^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/EpoxyVisibilityTracker#Companion#TAG_ID. +// display_name TAG_ID // documentation ```kt\nprivate final val TAG_ID: [Error type: Error property type]\n``` // ^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/EpoxyVisibilityTracker#Companion#getTAG_ID(). +// display_name TAG_ID // documentation ```kt\nprivate final val TAG_ID: [Error type: Error property type]\n``` /** @@ -1235,8 +1368,10 @@ class EpoxyVisibilityTracker { */ private fun getTracker(recyclerView: RecyclerView): EpoxyVisibilityTracker? { // ^^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/EpoxyVisibilityTracker#Companion#getTracker(). +// display_name getTracker // documentation ```kt\nprivate final fun getTracker(recyclerView: [Error type: Unresolved type for RecyclerView]): com.airbnb.epoxy.EpoxyVisibilityTracker?\n```\n\n----\n\n\n @param recyclerView the view.\n @return the tracker for the given [RecyclerView]. Null if no tracker was attached.\n // ^^^^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/EpoxyVisibilityTracker#Companion#getTracker().(recyclerView) +// display_name recyclerView // documentation ```kt\nvalue-parameter recyclerView: [Error type: Unresolved type for RecyclerView]\n``` // ^^^^^^^^^^^^^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/EpoxyVisibilityTracker# return recyclerView.getTag(TAG_ID) as EpoxyVisibilityTracker? @@ -1253,12 +1388,15 @@ class EpoxyVisibilityTracker { */ private fun setTracker( // ^^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/EpoxyVisibilityTracker#Companion#setTracker(). +// display_name setTracker // documentation ```kt\nprivate final fun setTracker(recyclerView: [Error type: Unresolved type for RecyclerView], tracker: com.airbnb.epoxy.EpoxyVisibilityTracker?)\n```\n\n----\n\n\n Store the tracker for the given [RecyclerView].\n @param recyclerView the view\n @param tracker the tracker\n recyclerView: RecyclerView, // ^^^^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/EpoxyVisibilityTracker#Companion#setTracker().(recyclerView) +// display_name recyclerView // documentation ```kt\nvalue-parameter recyclerView: [Error type: Unresolved type for RecyclerView]\n``` tracker: EpoxyVisibilityTracker? // ^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/EpoxyVisibilityTracker#Companion#setTracker().(tracker) +// display_name tracker // documentation ```kt\nvalue-parameter tracker: com.airbnb.epoxy.EpoxyVisibilityTracker?\n``` // ^^^^^^^^^^^^^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/EpoxyVisibilityTracker# ) { @@ -1272,8 +1410,10 @@ class EpoxyVisibilityTracker { // Not actionable at runtime. It is only useful for internal test-troubleshooting. const val DEBUG_LOG = false // ^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/EpoxyVisibilityTracker#Companion#DEBUG_LOG. +// display_name DEBUG_LOG // documentation ```kt\npublic const final val DEBUG_LOG: kotlin.Boolean\n``` // ^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/EpoxyVisibilityTracker#Companion#getDEBUG_LOG(). +// display_name DEBUG_LOG // documentation ```kt\npublic const final val DEBUG_LOG: kotlin.Boolean\n``` } } diff --git a/tests/snapshots/src/main/generated/com/airbnb/epoxy/GeneratedModel.java b/tests/snapshots/src/main/generated/com/airbnb/epoxy/GeneratedModel.java index 3669423da..2f67c4c8a 100644 --- a/tests/snapshots/src/main/generated/com/airbnb/epoxy/GeneratedModel.java +++ b/tests/snapshots/src/main/generated/com/airbnb/epoxy/GeneratedModel.java @@ -3,10 +3,14 @@ /** Interface applied to generated models to allow the base adapter to interact with them. */ public interface GeneratedModel { // ^^^^^^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/GeneratedModel# -// documentation ```java\npublic interface GeneratedModel\n``` +// display_name GeneratedModel +// signature_documentation java public interface GeneratedModel +// kind Interface // documentation Interface applied to generated models to allow the base adapter to interact with them. // ^ definition semanticdb maven . . com/airbnb/epoxy/GeneratedModel#[T] -// documentation ```java\nT\n``` +// display_name T +// signature_documentation java T +// kind TypeParameter /** * Called on the generated model immediately before the main model onBind method has been called. * This let's the generated model handle binding setup of its own @@ -15,16 +19,24 @@ public interface GeneratedModel { */ void handlePreBind(EpoxyViewHolder holder, T objectToBind, int position); // ^^^^^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/GeneratedModel#handlePreBind(). -// documentation ```java\npublic abstract void handlePreBind(EpoxyViewHolder holder, T objectToBind, int position)\n``` +// display_name handlePreBind +// signature_documentation java public abstract void handlePreBind(EpoxyViewHolder holder, T objectToBind, int position) +// kind AbstractMethod // documentation Called on the generated model immediately before the main model onBind method has been called.\n This let's the generated model handle binding setup of its own\n

\n The ViewHolder is needed to get the model's adapter position when clicked.\n // ^^^^^^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/EpoxyViewHolder# // ^^^^^^ definition local 0 -// documentation ```java\nEpoxyViewHolder holder\n``` +// display_name holder +// signature_documentation java EpoxyViewHolder holder +// enclosing_symbol semanticdb maven . . com/airbnb/epoxy/GeneratedModel#handlePreBind(). // ^ reference semanticdb maven . . com/airbnb/epoxy/GeneratedModel#[T] // ^^^^^^^^^^^^ definition local 1 -// documentation ```java\nT objectToBind\n``` +// display_name objectToBind +// signature_documentation java T objectToBind +// enclosing_symbol semanticdb maven . . com/airbnb/epoxy/GeneratedModel#handlePreBind(). // ^^^^^^^^ definition local 2 -// documentation ```java\nint position\n``` +// display_name position +// signature_documentation java int position +// enclosing_symbol semanticdb maven . . com/airbnb/epoxy/GeneratedModel#handlePreBind(). /** * Called on the generated model immediately after the main model onBind method has been called. * This let's the generated model handle binding of its own and dispatch calls to its onBind @@ -36,11 +48,17 @@ public interface GeneratedModel { */ void handlePostBind(T objectToBind, int position); // ^^^^^^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/GeneratedModel#handlePostBind(). -// documentation ```java\npublic abstract void handlePostBind(T objectToBind, int position)\n``` +// display_name handlePostBind +// signature_documentation java public abstract void handlePostBind(T objectToBind, int position) +// kind AbstractMethod // documentation Called on the generated model immediately after the main model onBind method has been called.\n This let's the generated model handle binding of its own and dispatch calls to its onBind\n listener.\n

\n We don't want to rely on the main onBind method to dispatch the onBind listener call because\n there are two onBind methods (one for payloads and one for no payloads), and one can call into\n the other. We don't want to dispatch two onBind listener calls in that case.\n // ^ reference semanticdb maven . . com/airbnb/epoxy/GeneratedModel#[T] // ^^^^^^^^^^^^ definition local 3 -// documentation ```java\nT objectToBind\n``` +// display_name objectToBind +// signature_documentation java T objectToBind +// enclosing_symbol semanticdb maven . . com/airbnb/epoxy/GeneratedModel#handlePostBind(). // ^^^^^^^^ definition local 4 -// documentation ```java\nint position\n``` +// display_name position +// signature_documentation java int position +// enclosing_symbol semanticdb maven . . com/airbnb/epoxy/GeneratedModel#handlePostBind(). } diff --git a/tests/snapshots/src/main/generated/com/airbnb/epoxy/GroupModel.kt b/tests/snapshots/src/main/generated/com/airbnb/epoxy/GroupModel.kt index d36a47f8c..3541493d9 100644 --- a/tests/snapshots/src/main/generated/com/airbnb/epoxy/GroupModel.kt +++ b/tests/snapshots/src/main/generated/com/airbnb/epoxy/GroupModel.kt @@ -31,26 +31,32 @@ import androidx.annotation.LayoutRes //^^^^^^^^^^^^^^ reference semanticdb maven maven/com.airbnb.android/epoxy-annotations 4.3.1 com/airbnb/epoxy/EpoxyModelClass#``(). abstract class GroupModel : EpoxyModelGroup, ModelCollector { // ^^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/GroupModel# +// display_name GroupModel // documentation ```kt\npublic abstract class GroupModel : com.airbnb.epoxy.ModelCollector\n```\n\n----\n\n\n An [EpoxyModelGroup] usable in a DSL manner via the [group] extension.\n

\n Example:\n ```\n group {\n id("photos")\n layout(R.layout.photo_grid)\n\n // add your models here, example:\n for (photo in photos) {\n imageView {\n id(photo.id)\n url(photo.url)\n }\n }\n }\n ```\n // relationship is_reference is_implementation semanticdb maven . . com/airbnb/epoxy/ModelCollector# // ^^^^^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/ModelCollector# constructor() : super() // ^^^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/GroupModel#``(). +// display_name GroupModel // documentation ```kt\npublic constructor GroupModel()\n``` constructor(@LayoutRes layoutRes: Int) : super(layoutRes) // ^^^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/GroupModel#``(+1). +// display_name GroupModel // documentation ```kt\npublic constructor GroupModel(layoutRes: kotlin.Int)\n``` // ^^^^^^^^^ reference semanticdb maven maven/androidx.annotation/annotation 1.1.0 androidx/annotation/LayoutRes#``(). // ^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/GroupModel#``(+1).(layoutRes) +// display_name layoutRes // documentation ```kt\nvalue-parameter layoutRes: kotlin.Int\n``` // ^^^ reference semanticdb maven . . kotlin/Int# // ^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/GroupModel#``(+1).(layoutRes) override fun add(model: EpoxyModel<*>) { // ^^^ definition semanticdb maven . . com/airbnb/epoxy/GroupModel#add(). +// display_name add // documentation ```kt\npublic open fun add(model: [Error type: Unresolved type for EpoxyModel<*>])\n``` // relationship is_reference is_implementation semanticdb maven . . com/airbnb/epoxy/ModelCollector#add(). // ^^^^^ definition semanticdb maven . . com/airbnb/epoxy/GroupModel#add().(model) +// display_name model // documentation ```kt\nvalue-parameter model: [Error type: Unresolved type for EpoxyModel<*>]\n``` super.addModel(model) // ^^^^^ reference semanticdb maven . . com/airbnb/epoxy/ModelCollector# diff --git a/tests/snapshots/src/main/generated/com/airbnb/epoxy/HandlerExecutor.java b/tests/snapshots/src/main/generated/com/airbnb/epoxy/HandlerExecutor.java index 6856550ed..5dc48802e 100644 --- a/tests/snapshots/src/main/generated/com/airbnb/epoxy/HandlerExecutor.java +++ b/tests/snapshots/src/main/generated/com/airbnb/epoxy/HandlerExecutor.java @@ -28,21 +28,29 @@ */ class HandlerExecutor implements Executor { // ^^^^^^^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/HandlerExecutor# -// documentation ```java\nclass HandlerExecutor\n``` +// display_name HandlerExecutor +// signature_documentation java class HandlerExecutor +// kind Class // documentation An executor that does it's work via posting to a Handler.\n

\n A key feature of this is the runnable is executed synchronously if the current thread is the\n same as the handler's thread.\n // relationship is_implementation semanticdb maven jdk 11 java/util/concurrent/Executor# // ^^^^^^^^ reference semanticdb maven jdk 11 java/util/concurrent/Executor# final Handler handler; // ^^^^^^^ reference semanticdb maven . . Handler# // ^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/HandlerExecutor#handler. -// documentation ```java\nfinal unresolved_type handler\n``` +// display_name handler +// signature_documentation java final unresolved_type handler +// kind Field HandlerExecutor(Handler handler) { //^^^^^^^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/HandlerExecutor#``(). -// documentation ```java\nHandlerExecutor(unresolved_type handler)\n``` +// display_name +// signature_documentation java HandlerExecutor(unresolved_type handler) +// kind Constructor // ^^^^^^^ reference semanticdb maven . . Handler# // ^^^^^^^ definition local 0 -// documentation ```java\nunresolved_type handler\n``` +// display_name handler +// signature_documentation java unresolved_type handler +// enclosing_symbol semanticdb maven . . com/airbnb/epoxy/HandlerExecutor#``(). this.handler = handler; // ^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/HandlerExecutor#handler. // ^^^^^^^ reference local 0 @@ -52,12 +60,16 @@ class HandlerExecutor implements Executor { // ^^^^^^^^ reference semanticdb maven jdk 11 java/lang/Override# public void execute(@NonNull Runnable command) { // ^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/HandlerExecutor#execute(). -// documentation ```java\n@Override\npublic void execute(Runnable command)\n``` +// display_name execute +// signature_documentation java @Override\npublic void execute(Runnable command) +// kind Method // relationship is_reference is_implementation semanticdb maven jdk 11 java/util/concurrent/Executor#execute(). // ^^^^^^^ reference semanticdb maven maven/androidx.annotation/annotation 1.1.0 androidx/annotation/NonNull# // ^^^^^^^^ reference semanticdb maven jdk 11 java/lang/Runnable# // ^^^^^^^ definition local 1 -// documentation ```java\n@NonNull\nRunnable command\n``` +// display_name command +// signature_documentation java @NonNull\nRunnable command +// enclosing_symbol semanticdb maven . . com/airbnb/epoxy/HandlerExecutor#execute(). // If we're already on the same thread then we can execute this synchronously if (Looper.myLooper() == handler.getLooper()) { // ^^^^^^ reference semanticdb maven . . Looper# diff --git a/tests/snapshots/src/main/generated/com/airbnb/epoxy/HiddenEpoxyModel.java b/tests/snapshots/src/main/generated/com/airbnb/epoxy/HiddenEpoxyModel.java index 62390223a..32c6770b7 100644 --- a/tests/snapshots/src/main/generated/com/airbnb/epoxy/HiddenEpoxyModel.java +++ b/tests/snapshots/src/main/generated/com/airbnb/epoxy/HiddenEpoxyModel.java @@ -19,18 +19,24 @@ */ class HiddenEpoxyModel extends EpoxyModel { // ^^^^^^^^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/HiddenEpoxyModel# -// documentation ```java\nclass HiddenEpoxyModel\n``` +// display_name HiddenEpoxyModel +// signature_documentation java class HiddenEpoxyModel +// kind Class // documentation Used by the {@link EpoxyAdapter} as a placeholder for when {@link EpoxyModel#isShown()} is false.\n Using a zero height and width {@link Space} view, as well as 0 span size, to exclude itself from\n view.\n // relationship is_implementation semanticdb maven . . com/airbnb/epoxy/EpoxyModel# // ^^^^^^^^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/HiddenEpoxyModel#``(). -// documentation ```java\nHiddenEpoxyModel()\n``` +// display_name +// signature_documentation java HiddenEpoxyModel() +// kind Constructor // ^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/EpoxyModel# // ^^^^^ reference semanticdb maven . . Space# @Override // ^^^^^^^^ reference semanticdb maven jdk 11 java/lang/Override# public int getDefaultLayout() { // ^^^^^^^^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/HiddenEpoxyModel#getDefaultLayout(). -// documentation ```java\n@Override\npublic int getDefaultLayout()\n``` +// display_name getDefaultLayout +// signature_documentation java @Override\npublic int getDefaultLayout() +// kind Method // relationship is_reference is_implementation semanticdb maven . . com/airbnb/epoxy/EpoxyModel#getDefaultLayout(). return R.layout.view_holder_empty_view; // ^ reference semanticdb maven . . R/ @@ -42,14 +48,22 @@ public int getDefaultLayout() { // ^^^^^^^^ reference semanticdb maven jdk 11 java/lang/Override# public int getSpanSize(int spanCount, int position, int itemCount) { // ^^^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/HiddenEpoxyModel#getSpanSize(). -// documentation ```java\n@Override\npublic int getSpanSize(int spanCount, int position, int itemCount)\n``` +// display_name getSpanSize +// signature_documentation java @Override\npublic int getSpanSize(int spanCount, int position, int itemCount) +// kind Method // relationship is_reference is_implementation semanticdb maven . . com/airbnb/epoxy/EpoxyModel#getSpanSize(). // ^^^^^^^^^ definition local 0 -// documentation ```java\nint spanCount\n``` +// display_name spanCount +// signature_documentation java int spanCount +// enclosing_symbol semanticdb maven . . com/airbnb/epoxy/HiddenEpoxyModel#getSpanSize(). // ^^^^^^^^ definition local 1 -// documentation ```java\nint position\n``` +// display_name position +// signature_documentation java int position +// enclosing_symbol semanticdb maven . . com/airbnb/epoxy/HiddenEpoxyModel#getSpanSize(). // ^^^^^^^^^ definition local 2 -// documentation ```java\nint itemCount\n``` +// display_name itemCount +// signature_documentation java int itemCount +// enclosing_symbol semanticdb maven . . com/airbnb/epoxy/HiddenEpoxyModel#getSpanSize(). return 0; } } diff --git a/tests/snapshots/src/main/generated/com/airbnb/epoxy/IdUtils.java b/tests/snapshots/src/main/generated/com/airbnb/epoxy/IdUtils.java index 6a2403213..b3a52c665 100644 --- a/tests/snapshots/src/main/generated/com/airbnb/epoxy/IdUtils.java +++ b/tests/snapshots/src/main/generated/com/airbnb/epoxy/IdUtils.java @@ -10,11 +10,15 @@ */ public final class IdUtils { // ^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/IdUtils# -// documentation ```java\npublic final class IdUtils\n``` +// display_name IdUtils +// signature_documentation java public final class IdUtils +// kind Class // documentation Utilities for generating 64-bit long IDs from types such as {@link CharSequence}.\n private IdUtils() { // ^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/IdUtils#``(). -// documentation ```java\nprivate IdUtils()\n``` +// display_name +// signature_documentation java private IdUtils() +// kind Constructor } /** @@ -27,10 +31,14 @@ private IdUtils() { */ public static long hashLong64Bit(long value) { // ^^^^^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/IdUtils#hashLong64Bit(). -// documentation ```java\npublic static long hashLong64Bit(long value)\n``` +// display_name hashLong64Bit +// signature_documentation java public static long hashLong64Bit(long value) +// kind StaticMethod // documentation Hash a long into 64 bits instead of the normal 32. This uses a xor shift implementation to\n attempt psuedo randomness so object ids have an even spread for less chance of collisions.\n

\n From http://stackoverflow.com/a/11554034\n

\n http://www.javamex.com/tutorials/random_numbers/xorshift.shtml\n // ^^^^^ definition local 0 -// documentation ```java\nlong value\n``` +// display_name value +// signature_documentation java long value +// enclosing_symbol semanticdb maven . . com/airbnb/epoxy/IdUtils#hashLong64Bit(). value ^= (value << 21); // ^^^^^ reference local 0 // ^^^^^ reference local 0 @@ -55,12 +63,16 @@ public static long hashLong64Bit(long value) { */ public static long hashString64Bit(@Nullable CharSequence str) { // ^^^^^^^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/IdUtils#hashString64Bit(). -// documentation ```java\npublic static long hashString64Bit(CharSequence str)\n``` +// display_name hashString64Bit +// signature_documentation java public static long hashString64Bit(CharSequence str) +// kind StaticMethod // documentation Hash a string into 64 bits instead of the normal 32. This allows us to better use strings as a\n model id with less chance of collisions. This uses the FNV-1a algorithm for a good mix of speed\n and distribution.\n

\n Performance comparisons found at http://stackoverflow.com/a/1660613\n

\n Hash implementation from http://www.isthe.com/chongo/tech/comp/fnv/index.html#FNV-1a\n // ^^^^^^^^ reference semanticdb maven maven/androidx.annotation/annotation 1.1.0 androidx/annotation/Nullable# // ^^^^^^^^^^^^ reference semanticdb maven jdk 11 java/lang/CharSequence# // ^^^ definition local 1 -// documentation ```java\n@Nullable\nCharSequence str\n``` +// display_name str +// signature_documentation java @Nullable\nCharSequence str +// enclosing_symbol semanticdb maven . . com/airbnb/epoxy/IdUtils#hashString64Bit(). if (str == null) { // ^^^ reference local 1 return 0; @@ -68,15 +80,24 @@ public static long hashString64Bit(@Nullable CharSequence str) { long result = 0xcbf29ce484222325L; // ^^^^^^ definition local 2 -// documentation ```java\nlong result\n``` +// display_name result +// signature_documentation java long result +// enclosing_symbol semanticdb maven . . com/airbnb/epoxy/IdUtils#hashString64Bit(). +// kind Variable final int len = str.length(); // ^^^ definition local 3 -// documentation ```java\nfinal int len\n``` +// display_name len +// signature_documentation java final int len +// enclosing_symbol semanticdb maven . . com/airbnb/epoxy/IdUtils#hashString64Bit(). +// kind Variable // ^^^ reference local 1 // ^^^^^^ reference semanticdb maven jdk 11 java/lang/CharSequence#length(). for (int i = 0; i < len; i++) { // ^ definition local 4 -// documentation ```java\nint i\n``` +// display_name i +// signature_documentation java int i +// enclosing_symbol semanticdb maven . . com/airbnb/epoxy/IdUtils#hashString64Bit(). +// kind Variable // ^ reference local 4 // ^^^ reference local 3 // ^ reference local 4 diff --git a/tests/snapshots/src/main/generated/com/airbnb/epoxy/IllegalEpoxyUsage.java b/tests/snapshots/src/main/generated/com/airbnb/epoxy/IllegalEpoxyUsage.java index 2e6cbbf03..ab425d73a 100644 --- a/tests/snapshots/src/main/generated/com/airbnb/epoxy/IllegalEpoxyUsage.java +++ b/tests/snapshots/src/main/generated/com/airbnb/epoxy/IllegalEpoxyUsage.java @@ -2,7 +2,9 @@ public class IllegalEpoxyUsage extends RuntimeException { // ^^^^^^^^^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/IllegalEpoxyUsage# -// documentation ```java\npublic class IllegalEpoxyUsage\n``` +// display_name IllegalEpoxyUsage +// signature_documentation java public class IllegalEpoxyUsage +// kind Class // relationship is_implementation semanticdb maven jdk 11 java/io/Serializable# // relationship is_implementation semanticdb maven jdk 11 java/lang/Exception# // relationship is_implementation semanticdb maven jdk 11 java/lang/RuntimeException# @@ -10,10 +12,14 @@ public class IllegalEpoxyUsage extends RuntimeException { // ^^^^^^^^^^^^^^^^ reference semanticdb maven jdk 11 java/lang/RuntimeException# public IllegalEpoxyUsage(String message) { // ^^^^^^^^^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/IllegalEpoxyUsage#``(). -// documentation ```java\npublic IllegalEpoxyUsage(String message)\n``` +// display_name +// signature_documentation java public IllegalEpoxyUsage(String message) +// kind Constructor // ^^^^^^ reference semanticdb maven jdk 11 java/lang/String# // ^^^^^^^ definition local 0 -// documentation ```java\nString message\n``` +// display_name message +// signature_documentation java String message +// enclosing_symbol semanticdb maven . . com/airbnb/epoxy/IllegalEpoxyUsage#``(). super(message); // ^^^^^ reference semanticdb maven jdk 11 java/lang/RuntimeException#``(+1). // ^^^^^^^ reference local 0 diff --git a/tests/snapshots/src/main/generated/com/airbnb/epoxy/ImmutableModelException.java b/tests/snapshots/src/main/generated/com/airbnb/epoxy/ImmutableModelException.java index 57218e88d..ebf633feb 100644 --- a/tests/snapshots/src/main/generated/com/airbnb/epoxy/ImmutableModelException.java +++ b/tests/snapshots/src/main/generated/com/airbnb/epoxy/ImmutableModelException.java @@ -10,7 +10,9 @@ */ class ImmutableModelException extends RuntimeException { // ^^^^^^^^^^^^^^^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/ImmutableModelException# -// documentation ```java\nclass ImmutableModelException\n``` +// display_name ImmutableModelException +// signature_documentation java class ImmutableModelException +// kind Class // documentation Thrown if a model is changed after it is added to an {@link com.airbnb.epoxy.EpoxyController}.\n // relationship is_implementation semanticdb maven jdk 11 java/io/Serializable# // relationship is_implementation semanticdb maven jdk 11 java/lang/Exception# @@ -20,7 +22,9 @@ class ImmutableModelException extends RuntimeException { private static final String MODEL_CANNOT_BE_CHANGED_MESSAGE = // ^^^^^^ reference semanticdb maven jdk 11 java/lang/String# // ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/ImmutableModelException#MODEL_CANNOT_BE_CHANGED_MESSAGE. -// documentation ```java\nprivate static final String MODEL_CANNOT_BE_CHANGED_MESSAGE\n``` +// display_name MODEL_CANNOT_BE_CHANGED_MESSAGE +// signature_documentation java private static final String MODEL_CANNOT_BE_CHANGED_MESSAGE +// kind StaticField "Epoxy attribute fields on a model cannot be changed once the model is added to a " + "controller. Check that these fields are not updated, or that the assigned objects " + "are not mutated, outside of the buildModels method. The only exception is if " @@ -31,12 +35,18 @@ class ImmutableModelException extends RuntimeException { ImmutableModelException(EpoxyModel model, int modelPosition) { //^^^^^^^^^^^^^^^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/ImmutableModelException#``(). -// documentation ```java\nImmutableModelException(EpoxyModel model, int modelPosition)\n``` +// display_name +// signature_documentation java ImmutableModelException(EpoxyModel model, int modelPosition) +// kind Constructor // ^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/EpoxyModel# // ^^^^^ definition local 0 -// documentation ```java\nEpoxyModel model\n``` +// display_name model +// signature_documentation java EpoxyModel model +// enclosing_symbol semanticdb maven . . com/airbnb/epoxy/ImmutableModelException#``(). // ^^^^^^^^^^^^^ definition local 1 -// documentation ```java\nint modelPosition\n``` +// display_name modelPosition +// signature_documentation java int modelPosition +// enclosing_symbol semanticdb maven . . com/airbnb/epoxy/ImmutableModelException#``(). this(model, "", modelPosition); // ^^^^ reference semanticdb maven . . com/airbnb/epoxy/ImmutableModelException#``(+1). // ^^^^^ reference local 0 @@ -45,16 +55,24 @@ class ImmutableModelException extends RuntimeException { ImmutableModelException(EpoxyModel model, //^^^^^^^^^^^^^^^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/ImmutableModelException#``(+1). -// documentation ```java\nImmutableModelException(EpoxyModel model, String descriptionOfWhenChangeHappened, int modelPosition)\n``` +// display_name +// signature_documentation java ImmutableModelException(EpoxyModel model, String descriptionOfWhenChangeHappened, int modelPosition) +// kind Constructor // ^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/EpoxyModel# // ^^^^^ definition local 2 -// documentation ```java\nEpoxyModel model\n``` +// display_name model +// signature_documentation java EpoxyModel model +// enclosing_symbol semanticdb maven . . com/airbnb/epoxy/ImmutableModelException#``(+1). String descriptionOfWhenChangeHappened, int modelPosition) { // ^^^^^^ reference semanticdb maven jdk 11 java/lang/String# // ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ definition local 3 -// documentation ```java\nString descriptionOfWhenChangeHappened\n``` +// display_name descriptionOfWhenChangeHappened +// signature_documentation java String descriptionOfWhenChangeHappened +// enclosing_symbol semanticdb maven . . com/airbnb/epoxy/ImmutableModelException#``(+1). // ^^^^^^^^^^^^^ definition local 4 -// documentation ```java\nint modelPosition\n``` +// display_name modelPosition +// signature_documentation java int modelPosition +// enclosing_symbol semanticdb maven . . com/airbnb/epoxy/ImmutableModelException#``(+1). super(buildMessage(model, descriptionOfWhenChangeHappened, modelPosition)); // ^^^^^ reference semanticdb maven jdk 11 java/lang/RuntimeException#``(+1). // ^^^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/ImmutableModelException#buildMessage(). @@ -68,16 +86,24 @@ class ImmutableModelException extends RuntimeException { private static String buildMessage(EpoxyModel model, // ^^^^^^ reference semanticdb maven jdk 11 java/lang/String# // ^^^^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/ImmutableModelException#buildMessage(). -// documentation ```java\n@NonNull\nprivate static String buildMessage(EpoxyModel model, String descriptionOfWhenChangeHappened, int modelPosition)\n``` +// display_name buildMessage +// signature_documentation java @NonNull\nprivate static String buildMessage(EpoxyModel model, String descriptionOfWhenChangeHappened, int modelPosition) +// kind StaticMethod // ^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/EpoxyModel# // ^^^^^ definition local 5 -// documentation ```java\nEpoxyModel model\n``` +// display_name model +// signature_documentation java EpoxyModel model +// enclosing_symbol semanticdb maven . . com/airbnb/epoxy/ImmutableModelException#buildMessage(). String descriptionOfWhenChangeHappened, int modelPosition) { // ^^^^^^ reference semanticdb maven jdk 11 java/lang/String# // ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ definition local 6 -// documentation ```java\nString descriptionOfWhenChangeHappened\n``` +// display_name descriptionOfWhenChangeHappened +// signature_documentation java String descriptionOfWhenChangeHappened +// enclosing_symbol semanticdb maven . . com/airbnb/epoxy/ImmutableModelException#buildMessage(). // ^^^^^^^^^^^^^ definition local 7 -// documentation ```java\nint modelPosition\n``` +// display_name modelPosition +// signature_documentation java int modelPosition +// enclosing_symbol semanticdb maven . . com/airbnb/epoxy/ImmutableModelException#buildMessage(). return new StringBuilder(descriptionOfWhenChangeHappened) // ^^^^^^^^^^^^^ reference semanticdb maven jdk 11 java/lang/StringBuilder#``(+2). // ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ reference local 6 diff --git a/tests/snapshots/src/main/generated/com/airbnb/epoxy/InternalExposer.kt b/tests/snapshots/src/main/generated/com/airbnb/epoxy/InternalExposer.kt index bac8c2c5d..beae3a07b 100644 --- a/tests/snapshots/src/main/generated/com/airbnb/epoxy/InternalExposer.kt +++ b/tests/snapshots/src/main/generated/com/airbnb/epoxy/InternalExposer.kt @@ -9,18 +9,23 @@ package com.airbnb.epoxy internal fun EpoxyViewHolder.objectToBindInternal() = objectToBind() // ^^^^^^^^^^^^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/InternalExposerKt#objectToBindInternal(). +// display_name objectToBindInternal // documentation ```kt\ninternal fun [Error type: Unresolved type for EpoxyViewHolder].objectToBindInternal(): [Error type: Return type for function cannot be resolved]\n```\n\n----\n\n\n Exposes package private things as internal so files in other packages can use them.\n internal fun EpoxyModel<*>.viewTypeInternal() = viewType // ^^^^^^^^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/InternalExposerKt#viewTypeInternal(). +// display_name viewTypeInternal // documentation ```kt\ninternal fun [Error type: Unresolved type for EpoxyModel<*>].viewTypeInternal(): [Error type: Error property type]\n``` internal fun BaseEpoxyAdapter.boundViewHoldersInternal() = boundViewHolders // ^^^^^^^^^^^^^^^^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/InternalExposerKt#boundViewHoldersInternal(). +// display_name boundViewHoldersInternal // documentation ```kt\ninternal fun [Error type: Unresolved type for BaseEpoxyAdapter].boundViewHoldersInternal(): [Error type: Error property type]\n``` internal fun BaseEpoxyAdapter.getModelForPositionInternal(position: Int): EpoxyModel<*>? { // ^^^^^^^^^^^^^^^^^^^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/InternalExposerKt#getModelForPositionInternal(). +// display_name getModelForPositionInternal // documentation ```kt\ninternal fun [Error type: Unresolved type for BaseEpoxyAdapter].getModelForPositionInternal(position: kotlin.Int): [Error type: Unresolved type for EpoxyModel<*>]?\n``` // ^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/InternalExposerKt#getModelForPositionInternal().(position) +// display_name position // documentation ```kt\nvalue-parameter position: kotlin.Int\n``` // ^^^ reference semanticdb maven . . kotlin/Int# return getModelForPosition(position) diff --git a/tests/snapshots/src/main/generated/com/airbnb/epoxy/ListenersUtils.java b/tests/snapshots/src/main/generated/com/airbnb/epoxy/ListenersUtils.java index 658492870..7d7ddb6e1 100644 --- a/tests/snapshots/src/main/generated/com/airbnb/epoxy/ListenersUtils.java +++ b/tests/snapshots/src/main/generated/com/airbnb/epoxy/ListenersUtils.java @@ -27,23 +27,34 @@ public class ListenersUtils { // ^^^^^^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/ListenersUtils# -// documentation ```java\npublic class ListenersUtils\n``` +// display_name ListenersUtils +// signature_documentation java public class ListenersUtils +// kind Class // ^^^^^^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/ListenersUtils#``(). -// documentation ```java\npublic ListenersUtils()\n``` +// display_name +// signature_documentation java public ListenersUtils() +// kind Constructor @Nullable // ^^^^^^^^ reference semanticdb maven maven/androidx.annotation/annotation 1.1.0 androidx/annotation/Nullable# static EpoxyViewHolder getEpoxyHolderForChildView(View v) { // ^^^^^^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/EpoxyViewHolder# // ^^^^^^^^^^^^^^^^^^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/ListenersUtils#getEpoxyHolderForChildView(). -// documentation ```java\n@Nullable\nstatic EpoxyViewHolder getEpoxyHolderForChildView(unresolved_type v)\n``` +// display_name getEpoxyHolderForChildView +// signature_documentation java @Nullable\nstatic EpoxyViewHolder getEpoxyHolderForChildView(unresolved_type v) +// kind StaticMethod // ^^^^ reference semanticdb maven . . View# // ^ definition local 0 -// documentation ```java\nunresolved_type v\n``` +// display_name v +// signature_documentation java unresolved_type v +// enclosing_symbol semanticdb maven . . com/airbnb/epoxy/ListenersUtils#getEpoxyHolderForChildView(). RecyclerView recyclerView = findParentRecyclerView(v); // ^^^^^^^^^^^^ reference semanticdb maven . . RecyclerView# // ^^^^^^^^^^^^ definition local 1 -// documentation ```java\nunresolved_type recyclerView\n``` +// display_name recyclerView +// signature_documentation java unresolved_type recyclerView +// enclosing_symbol semanticdb maven . . com/airbnb/epoxy/ListenersUtils#getEpoxyHolderForChildView(). +// kind Variable // ^^^^^^^^^^^^^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/ListenersUtils#findParentRecyclerView(). // ^ reference local 0 if (recyclerView == null) { @@ -54,7 +65,10 @@ static EpoxyViewHolder getEpoxyHolderForChildView(View v) { ViewHolder viewHolder = recyclerView.findContainingViewHolder(v); // ^^^^^^^^^^ reference semanticdb maven . . ViewHolder# // ^^^^^^^^^^ definition local 2 -// documentation ```java\nunresolved_type viewHolder\n``` +// display_name viewHolder +// signature_documentation java unresolved_type viewHolder +// enclosing_symbol semanticdb maven . . com/airbnb/epoxy/ListenersUtils#getEpoxyHolderForChildView(). +// kind Variable // ^^^^^^^^^^^^ reference local 1 // ^^^^^^^^^^^^^^^^^^^^^^^^ reference semanticdb maven . . RecyclerView#findContainingViewHolder# // ^ reference local 0 @@ -79,11 +93,15 @@ static EpoxyViewHolder getEpoxyHolderForChildView(View v) { private static RecyclerView findParentRecyclerView(@Nullable View v) { // ^^^^^^^^^^^^ reference semanticdb maven . . RecyclerView# // ^^^^^^^^^^^^^^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/ListenersUtils#findParentRecyclerView(). -// documentation ```java\n@Nullable\nprivate static unresolved_type findParentRecyclerView(unresolved_type v)\n``` +// display_name findParentRecyclerView +// signature_documentation java @Nullable\nprivate static unresolved_type findParentRecyclerView(unresolved_type v) +// kind StaticMethod // ^^^^^^^^ reference semanticdb maven maven/androidx.annotation/annotation 1.1.0 androidx/annotation/Nullable# // ^^^^ reference semanticdb maven . . View# // ^ definition local 3 -// documentation ```java\n@Nullable\nunresolved_type v\n``` +// display_name v +// signature_documentation java @Nullable\nunresolved_type v +// enclosing_symbol semanticdb maven . . com/airbnb/epoxy/ListenersUtils#findParentRecyclerView(). if (v == null) { // ^ reference local 3 return null; @@ -92,7 +110,10 @@ private static RecyclerView findParentRecyclerView(@Nullable View v) { ViewParent parent = v.getParent(); // ^^^^^^^^^^ reference semanticdb maven . . ViewParent# // ^^^^^^ definition local 4 -// documentation ```java\nunresolved_type parent\n``` +// display_name parent +// signature_documentation java unresolved_type parent +// enclosing_symbol semanticdb maven . . com/airbnb/epoxy/ListenersUtils#findParentRecyclerView(). +// kind Variable // ^ reference local 3 // ^^^^^^^^^ reference semanticdb maven . . View#getParent# if (parent instanceof RecyclerView) { diff --git a/tests/snapshots/src/main/generated/com/airbnb/epoxy/MainThreadExecutor.java b/tests/snapshots/src/main/generated/com/airbnb/epoxy/MainThreadExecutor.java index f5bd3eb40..93461bc9f 100644 --- a/tests/snapshots/src/main/generated/com/airbnb/epoxy/MainThreadExecutor.java +++ b/tests/snapshots/src/main/generated/com/airbnb/epoxy/MainThreadExecutor.java @@ -13,26 +13,36 @@ class MainThreadExecutor extends HandlerExecutor { // ^^^^^^^^^^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/MainThreadExecutor# -// documentation ```java\nclass MainThreadExecutor\n``` +// display_name MainThreadExecutor +// signature_documentation java class MainThreadExecutor +// kind Class // relationship is_implementation semanticdb maven . . com/airbnb/epoxy/HandlerExecutor# // relationship is_implementation semanticdb maven jdk 11 java/util/concurrent/Executor# // ^^^^^^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/HandlerExecutor# static final MainThreadExecutor INSTANCE = new MainThreadExecutor(false); // ^^^^^^^^^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/MainThreadExecutor# // ^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/MainThreadExecutor#INSTANCE. -// documentation ```java\nstatic final MainThreadExecutor INSTANCE\n``` +// display_name INSTANCE +// signature_documentation java static final MainThreadExecutor INSTANCE +// kind StaticField // ^^^^^^^^^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/MainThreadExecutor#``(). static final MainThreadExecutor ASYNC_INSTANCE = new MainThreadExecutor(true); // ^^^^^^^^^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/MainThreadExecutor# // ^^^^^^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/MainThreadExecutor#ASYNC_INSTANCE. -// documentation ```java\nstatic final MainThreadExecutor ASYNC_INSTANCE\n``` +// display_name ASYNC_INSTANCE +// signature_documentation java static final MainThreadExecutor ASYNC_INSTANCE +// kind StaticField // ^^^^^^^^^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/MainThreadExecutor#``(). MainThreadExecutor(boolean async) { //^^^^^^^^^^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/MainThreadExecutor#``(). -// documentation ```java\nMainThreadExecutor(boolean async)\n``` +// display_name +// signature_documentation java MainThreadExecutor(boolean async) +// kind Constructor // ^^^^^ definition local 0 -// documentation ```java\nboolean async\n``` +// display_name async +// signature_documentation java boolean async +// enclosing_symbol semanticdb maven . . com/airbnb/epoxy/MainThreadExecutor#``(). super(async ? AYSNC_MAIN_THREAD_HANDLER : MAIN_THREAD_HANDLER); // ^^^^^ reference semanticdb maven . . com/airbnb/epoxy/HandlerExecutor#``(). // ^^^^^ reference local 0 diff --git a/tests/snapshots/src/main/generated/com/airbnb/epoxy/ModelCollector.kt b/tests/snapshots/src/main/generated/com/airbnb/epoxy/ModelCollector.kt index fe621bfc0..2a901d1fd 100644 --- a/tests/snapshots/src/main/generated/com/airbnb/epoxy/ModelCollector.kt +++ b/tests/snapshots/src/main/generated/com/airbnb/epoxy/ModelCollector.kt @@ -9,13 +9,16 @@ package com.airbnb.epoxy */ interface ModelCollector { // ^^^^^^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/ModelCollector# +// display_name ModelCollector // documentation ```kt\npublic interface ModelCollector\n```\n\n----\n\n\n Interface used to collect models. Used by [EpoxyController]. It is also convenient to build DSL\n helpers for carousel: @link https://github.com/airbnb/epoxy/issues/847.\n // relationship is_reference is_implementation semanticdb maven . . com/airbnb/epoxy/GroupModel# fun add(model: EpoxyModel<*>) // ^^^ definition semanticdb maven . . com/airbnb/epoxy/ModelCollector#add(). +// display_name add // documentation ```kt\npublic abstract fun add(model: [Error type: Unresolved type for EpoxyModel<*>])\n``` // relationship is_reference is_implementation semanticdb maven . . com/airbnb/epoxy/GroupModel#add(). // ^^^^^ definition semanticdb maven . . com/airbnb/epoxy/ModelCollector#add().(model) +// display_name model // documentation ```kt\nvalue-parameter model: [Error type: Unresolved type for EpoxyModel<*>]\n``` } diff --git a/tests/snapshots/src/main/generated/com/airbnb/epoxy/ModelGroupHolder.kt b/tests/snapshots/src/main/generated/com/airbnb/epoxy/ModelGroupHolder.kt index daa51ea1e..d02c1802b 100644 --- a/tests/snapshots/src/main/generated/com/airbnb/epoxy/ModelGroupHolder.kt +++ b/tests/snapshots/src/main/generated/com/airbnb/epoxy/ModelGroupHolder.kt @@ -23,19 +23,26 @@ import java.util.ArrayList class ModelGroupHolder(private val modelGroupParent: ViewParent) : EpoxyHolder() { // ^^^^^^^^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/ModelGroupHolder# +// display_name ModelGroupHolder // documentation ```kt\npublic final class ModelGroupHolder\n``` // ^^^^^^^^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/ModelGroupHolder#``(). +// display_name ModelGroupHolder // documentation ```kt\npublic constructor ModelGroupHolder(modelGroupParent: [Error type: Unresolved type for ViewParent])\n``` // ^^^^^^^^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/ModelGroupHolder#``().(modelGroupParent) +// display_name modelGroupParent // documentation ```kt\nvalue-parameter modelGroupParent: [Error type: Unresolved type for ViewParent]\n``` // ^^^^^^^^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/ModelGroupHolder#getModelGroupParent(). +// display_name modelGroupParent // documentation ```kt\nprivate final val modelGroupParent: [Error type: Unresolved type for ViewParent]\n``` // ^^^^^^^^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/ModelGroupHolder#modelGroupParent. +// display_name modelGroupParent // documentation ```kt\nprivate final val modelGroupParent: [Error type: Unresolved type for ViewParent]\n``` val viewHolders = ArrayList(4) // ^^^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/ModelGroupHolder#getViewHolders(). +// display_name viewHolders // documentation ```kt\npublic final val viewHolders: [Error type: Not found recorded type for ArrayList(4)]\n``` // ^^^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/ModelGroupHolder#viewHolders. +// display_name viewHolders // documentation ```kt\npublic final val viewHolders: [Error type: Not found recorded type for ArrayList(4)]\n``` /** Use parent pool or create a local pool */ @@ -43,8 +50,10 @@ class ModelGroupHolder(private val modelGroupParent: ViewParent) : EpoxyHolder() // ^^^^^^^^^^^^^^^^^ reference semanticdb maven maven/androidx.annotation/annotation 1.1.0 androidx/annotation/VisibleForTesting#``(). val viewPool = findViewPool(modelGroupParent) // ^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/ModelGroupHolder#getViewPool(). +// display_name viewPool // documentation ```kt\npublic final val viewPool: [Error type: Unresolved type for RecyclerView.RecycledViewPool]\n```\n\n----\n\n Use parent pool or create a local pool // ^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/ModelGroupHolder#viewPool. +// display_name viewPool // documentation ```kt\npublic final val viewPool: [Error type: Unresolved type for RecyclerView.RecycledViewPool]\n```\n\n----\n\n Use parent pool or create a local pool // ^^^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/ModelGroupHolder#Companion#findViewPool(). // ^^^^^^^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/ModelGroupHolder#getModelGroupParent(). @@ -58,39 +67,52 @@ class ModelGroupHolder(private val modelGroupParent: ViewParent) : EpoxyHolder() */ lateinit var rootView: ViewGroup // ^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/ModelGroupHolder#getRootView(). +// display_name rootView // documentation ```kt\npublic final lateinit var rootView: [Error type: Unresolved type for ViewGroup]\n```\n\n----\n\n\n Get the root view group (aka\n [androidx.recyclerview.widget.RecyclerView.ViewHolder.itemView].\n You can override [EpoxyModelGroup.bind] and use this method to make custom\n changes to the root view.\n // ^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/ModelGroupHolder#rootView. +// display_name rootView // documentation ```kt\npublic final lateinit var rootView: [Error type: Unresolved type for ViewGroup]\n```\n\n----\n\n\n Get the root view group (aka\n [androidx.recyclerview.widget.RecyclerView.ViewHolder.itemView].\n You can override [EpoxyModelGroup.bind] and use this method to make custom\n changes to the root view.\n private set // ^^^ definition semanticdb maven . . com/airbnb/epoxy/ModelGroupHolder#setRootView(). +// display_name set // documentation ```kt\nprivate final fun ``(``: [Error type: Unresolved type for ViewGroup])\n``` private lateinit var childContainer: ViewGroup // ^^^^^^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/ModelGroupHolder#childContainer. +// display_name childContainer // documentation ```kt\nprivate final lateinit var childContainer: [Error type: Unresolved type for ViewGroup]\n``` // ^^^^^^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/ModelGroupHolder#getChildContainer(). +// display_name childContainer // documentation ```kt\nprivate final lateinit var childContainer: [Error type: Unresolved type for ViewGroup]\n``` // ^^^^^^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/ModelGroupHolder#setChildContainer(). +// display_name childContainer // documentation ```kt\nprivate final lateinit var childContainer: [Error type: Unresolved type for ViewGroup]\n``` private lateinit var stubs: List // ^^^^^ definition semanticdb maven . . com/airbnb/epoxy/ModelGroupHolder#getStubs(). +// display_name stubs // documentation ```kt\nprivate final lateinit var stubs: kotlin.collections.List\n``` // ^^^^^ definition semanticdb maven . . com/airbnb/epoxy/ModelGroupHolder#setStubs(). +// display_name stubs // documentation ```kt\nprivate final lateinit var stubs: kotlin.collections.List\n``` // ^^^^^ definition semanticdb maven . . com/airbnb/epoxy/ModelGroupHolder#stubs. +// display_name stubs // documentation ```kt\nprivate final lateinit var stubs: kotlin.collections.List\n``` // ^^^^ reference semanticdb maven . . kotlin/collections/List# // ^^^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/ViewStubData# private var boundGroup: EpoxyModelGroup? = null // ^^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/ModelGroupHolder#boundGroup. +// display_name boundGroup // documentation ```kt\nprivate final var boundGroup: [Error type: Unresolved type for EpoxyModelGroup]?\n``` // ^^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/ModelGroupHolder#getBoundGroup(). +// display_name boundGroup // documentation ```kt\nprivate final var boundGroup: [Error type: Unresolved type for EpoxyModelGroup]?\n``` // ^^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/ModelGroupHolder#setBoundGroup(). +// display_name boundGroup // documentation ```kt\nprivate final var boundGroup: [Error type: Unresolved type for EpoxyModelGroup]?\n``` private fun usingStubs(): Boolean = stubs.isNotEmpty() // ^^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/ModelGroupHolder#usingStubs(). +// display_name usingStubs // documentation ```kt\nprivate final fun usingStubs(): kotlin.Boolean\n``` // ^^^^^^^ reference semanticdb maven . . kotlin/Boolean# // ^^^^^ reference semanticdb maven . . com/airbnb/epoxy/ModelGroupHolder#getStubs(). @@ -100,8 +122,10 @@ class ModelGroupHolder(private val modelGroupParent: ViewParent) : EpoxyHolder() override fun bindView(itemView: View) { // ^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/ModelGroupHolder#bindView(). +// display_name bindView // documentation ```kt\npublic open fun bindView(itemView: [Error type: Unresolved type for View])\n``` // ^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/ModelGroupHolder#bindView().(itemView) +// display_name itemView // documentation ```kt\nvalue-parameter itemView: [Error type: Unresolved type for View]\n``` if (itemView !is ViewGroup) { // ^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/ModelGroupHolder#bindView().(itemView) @@ -148,11 +172,14 @@ class ModelGroupHolder(private val modelGroupParent: ViewParent) : EpoxyHolder() */ private fun findChildContainer(outermostRoot: ViewGroup): ViewGroup { // ^^^^^^^^^^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/ModelGroupHolder#findChildContainer(). +// display_name findChildContainer // documentation ```kt\nprivate final fun findChildContainer(outermostRoot: [Error type: Unresolved type for ViewGroup]): [Error type: Unresolved type for ViewGroup]\n```\n\n----\n\n\n By default the outermost viewgroup is used as the container that views are added to. However,\n users can specify a different, nested view group to use as the child container by marking it\n with a special id.\n // ^^^^^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/ModelGroupHolder#findChildContainer().(outermostRoot) +// display_name outermostRoot // documentation ```kt\nvalue-parameter outermostRoot: [Error type: Unresolved type for ViewGroup]\n``` val customRoot = outermostRoot.findViewById(R.id.epoxy_model_group_child_container) // ^^^^^^^^^^ definition local 0 +// display_name customRoot // documentation ```kt\nval customRoot: [Error type: Return type for function cannot be resolved]\n``` // ^^^^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/ModelGroupHolder#findChildContainer().(outermostRoot) @@ -163,8 +190,10 @@ class ModelGroupHolder(private val modelGroupParent: ViewParent) : EpoxyHolder() private fun createViewStubData(viewGroup: ViewGroup): List { // ^^^^^^^^^^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/ModelGroupHolder#createViewStubData(). +// display_name createViewStubData // documentation ```kt\nprivate final fun createViewStubData(viewGroup: [Error type: Unresolved type for ViewGroup]): kotlin.collections.List\n``` // ^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/ModelGroupHolder#createViewStubData().(viewGroup) +// display_name viewGroup // documentation ```kt\nvalue-parameter viewGroup: [Error type: Unresolved type for ViewGroup]\n``` // ^^^^ reference semanticdb maven . . kotlin/collections/List# // ^^^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/ViewStubData# @@ -189,23 +218,28 @@ class ModelGroupHolder(private val modelGroupParent: ViewParent) : EpoxyHolder() private fun collectViewStubs( // ^^^^^^^^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/ModelGroupHolder#collectViewStubs(). +// display_name collectViewStubs // documentation ```kt\nprivate final fun collectViewStubs(viewGroup: [Error type: Unresolved type for ViewGroup], stubs: java.util.ArrayList)\n``` viewGroup: ViewGroup, // ^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/ModelGroupHolder#collectViewStubs().(viewGroup) +// display_name viewGroup // documentation ```kt\nvalue-parameter viewGroup: [Error type: Unresolved type for ViewGroup]\n``` stubs: ArrayList // ^^^^^ definition semanticdb maven . . com/airbnb/epoxy/ModelGroupHolder#collectViewStubs().(stubs) +// display_name stubs // documentation ```kt\nvalue-parameter stubs: java.util.ArrayList\n``` // ^^^^^^^^^ reference semanticdb maven jdk 11 java/util/ArrayList# // ^^^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/ViewStubData# ) { for (i in 0 until viewGroup.childCount) { // ^ definition local 1 +// display_name i // documentation ```kt\nval i: kotlin.Int\n``` // ^^^^^ reference semanticdb maven maven/org.jetbrains.kotlin/kotlin-stdlib 1.4.20-RC kotlin/ranges/RangesKt#until(+6). // ^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/ModelGroupHolder#collectViewStubs().(viewGroup) val child = viewGroup.getChildAt(i) // ^^^^^ definition local 2 +// display_name child // documentation ```kt\nval child: [Error type: Return type for function cannot be resolved]\n``` // ^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/ModelGroupHolder#collectViewStubs().(viewGroup) // ^ reference local 1 @@ -231,11 +265,14 @@ class ModelGroupHolder(private val modelGroupParent: ViewParent) : EpoxyHolder() fun bindGroupIfNeeded(group: EpoxyModelGroup) { // ^^^^^^^^^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/ModelGroupHolder#bindGroupIfNeeded(). +// display_name bindGroupIfNeeded // documentation ```kt\npublic final fun bindGroupIfNeeded(group: [Error type: Unresolved type for EpoxyModelGroup])\n``` // ^^^^^ definition semanticdb maven . . com/airbnb/epoxy/ModelGroupHolder#bindGroupIfNeeded().(group) +// display_name group // documentation ```kt\nvalue-parameter group: [Error type: Unresolved type for EpoxyModelGroup]\n``` val previouslyBoundGroup = this.boundGroup // ^^^^^^^^^^^^^^^^^^^^ definition local 3 +// display_name previouslyBoundGroup // documentation ```kt\nval previouslyBoundGroup: [Error type: Unresolved type for EpoxyModelGroup]?\n``` // ^^^^ reference semanticdb maven . . com/airbnb/epoxy/ModelGroupHolder# // ^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/ModelGroupHolder#boundGroup. @@ -256,6 +293,7 @@ class ModelGroupHolder(private val modelGroupParent: ViewParent) : EpoxyHolder() // ^^^^^ reference semanticdb maven . . com/airbnb/epoxy/ModelGroupHolder#bindGroupIfNeeded().(group) for (i in previouslyBoundGroup.models.size - 1 downTo group.models.size) { // ^ definition local 4 +// display_name i // documentation ```kt\nval i: [Error type: Return type for function cannot be resolved]\n``` // ^^^^^^^^^^^^^^^^^^^^ reference local 3 // ^^^^^ reference semanticdb maven . . com/airbnb/epoxy/ModelGroupHolder#bindGroupIfNeeded().(group) @@ -274,10 +312,12 @@ class ModelGroupHolder(private val modelGroupParent: ViewParent) : EpoxyHolder() // ^^^^^ reference semanticdb maven . . com/airbnb/epoxy/ModelGroupHolder#bindGroupIfNeeded().(group) val models = group.models // ^^^^^^ definition local 5 +// display_name models // documentation ```kt\nval models: [Error type: Error property type]\n``` // ^^^^^ reference semanticdb maven . . com/airbnb/epoxy/ModelGroupHolder#bindGroupIfNeeded().(group) val modelCount = models.size // ^^^^^^^^^^ definition local 6 +// display_name modelCount // documentation ```kt\nval modelCount: [Error type: Error property type]\n``` // ^^^^^^ reference local 5 @@ -307,21 +347,25 @@ class ModelGroupHolder(private val modelGroupParent: ViewParent) : EpoxyHolder() for (i in 0 until modelCount) { // ^ definition local 7 +// display_name i // documentation ```kt\nval i: kotlin.Int\n``` // ^^^^^ reference semanticdb maven maven/org.jetbrains.kotlin/kotlin-stdlib 1.4.20-RC kotlin/ranges/RangesKt#until(+6). // ^^^^^^^^^^ reference local 6 val model = models[i] // ^^^^^ definition local 8 +// display_name model // documentation ```kt\nval model: [Error type: Return type for function cannot be resolved]\n``` // ^^^^^^ reference local 5 // ^ reference local 7 val previouslyBoundModel = previouslyBoundGroup?.models?.getOrNull(i) // ^^^^^^^^^^^^^^^^^^^^ definition local 9 +// display_name previouslyBoundModel // documentation ```kt\nval previouslyBoundModel: [Error type: Return type for function cannot be resolved]?\n``` // ^^^^^^^^^^^^^^^^^^^^ reference local 3 // ^ reference local 7 val stubData = stubs.getOrNull(i) // ^^^^^^^^ definition local 10 +// display_name stubData // documentation ```kt\nval stubData: com.airbnb.epoxy.ViewStubData?\n``` // ^^^^^ reference semanticdb maven . . com/airbnb/epoxy/ModelGroupHolder#getStubs(). // ^^^^^ reference semanticdb maven . . com/airbnb/epoxy/ModelGroupHolder#setStubs(). @@ -330,6 +374,7 @@ class ModelGroupHolder(private val modelGroupParent: ViewParent) : EpoxyHolder() // ^ reference local 7 val parent = stubData?.viewGroup ?: childContainer // ^^^^^^ definition local 11 +// display_name parent // documentation ```kt\nval parent: ???\n``` // ^^^^^^^^ reference local 10 // ^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/ViewStubData#getViewGroup(). @@ -354,6 +399,7 @@ class ModelGroupHolder(private val modelGroupParent: ViewParent) : EpoxyHolder() val holder = getViewHolder(parent, model) // ^^^^^^ definition local 12 +// display_name holder // documentation ```kt\nval holder: [Error type: Unresolved type for EpoxyViewHolder]\n``` // ^^^^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/ModelGroupHolder#getViewHolder(). // ^^^^^^ reference local 11 @@ -388,10 +434,13 @@ class ModelGroupHolder(private val modelGroupParent: ViewParent) : EpoxyHolder() private fun areSameViewType(model1: EpoxyModel<*>, model2: EpoxyModel<*>?): Boolean { // ^^^^^^^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/ModelGroupHolder#areSameViewType(). +// display_name areSameViewType // documentation ```kt\nprivate final fun areSameViewType(model1: [Error type: Unresolved type for EpoxyModel<*>], model2: [Error type: Unresolved type for EpoxyModel<*>]?): kotlin.Boolean\n``` // ^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/ModelGroupHolder#areSameViewType().(model1) +// display_name model1 // documentation ```kt\nvalue-parameter model1: [Error type: Unresolved type for EpoxyModel<*>]\n``` // ^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/ModelGroupHolder#areSameViewType().(model2) +// display_name model2 // documentation ```kt\nvalue-parameter model2: [Error type: Unresolved type for EpoxyModel<*>]?\n``` // ^^^^^^^ reference semanticdb maven . . kotlin/Boolean# return ViewTypeManager.getViewType(model1) == ViewTypeManager.getViewType(model2) @@ -401,17 +450,22 @@ class ModelGroupHolder(private val modelGroupParent: ViewParent) : EpoxyHolder() private fun getViewHolder(parent: ViewGroup, model: EpoxyModel<*>): EpoxyViewHolder { // ^^^^^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/ModelGroupHolder#getViewHolder(). +// display_name getViewHolder // documentation ```kt\nprivate final fun getViewHolder(parent: [Error type: Unresolved type for ViewGroup], model: [Error type: Unresolved type for EpoxyModel<*>]): [Error type: Unresolved type for EpoxyViewHolder]\n``` // ^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/ModelGroupHolder#getViewHolder().(parent) +// display_name parent // documentation ```kt\nvalue-parameter parent: [Error type: Unresolved type for ViewGroup]\n``` // ^^^^^ definition semanticdb maven . . com/airbnb/epoxy/ModelGroupHolder#getViewHolder().(model) +// display_name model // documentation ```kt\nvalue-parameter model: [Error type: Unresolved type for EpoxyModel<*>]\n``` val viewType = ViewTypeManager.getViewType(model) // ^^^^^^^^ definition local 13 +// display_name viewType // documentation ```kt\nval viewType: [Error type: Return type for function cannot be resolved]\n``` // ^^^^^ reference semanticdb maven . . com/airbnb/epoxy/ModelGroupHolder#getViewHolder().(model) val recycledView = viewPool.getRecycledView(viewType) // ^^^^^^^^^^^^ definition local 14 +// display_name recycledView // documentation ```kt\nval recycledView: [Error type: Return type for function cannot be resolved]\n``` // ^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/ModelGroupHolder#getViewPool(). // ^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/ModelGroupHolder#viewPool. @@ -437,6 +491,7 @@ class ModelGroupHolder(private val modelGroupParent: ViewParent) : EpoxyHolder() fun unbindGroup() { // ^^^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/ModelGroupHolder#unbindGroup(). +// display_name unbindGroup // documentation ```kt\npublic final fun unbindGroup()\n``` if (boundGroup == null) { // ^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/ModelGroupHolder#boundGroup. @@ -465,8 +520,10 @@ class ModelGroupHolder(private val modelGroupParent: ViewParent) : EpoxyHolder() private fun removeAndRecycleView(modelPosition: Int) { // ^^^^^^^^^^^^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/ModelGroupHolder#removeAndRecycleView(). +// display_name removeAndRecycleView // documentation ```kt\nprivate final fun removeAndRecycleView(modelPosition: kotlin.Int)\n``` // ^^^^^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/ModelGroupHolder#removeAndRecycleView().(modelPosition) +// display_name modelPosition // documentation ```kt\nvalue-parameter modelPosition: kotlin.Int\n``` // ^^^ reference semanticdb maven . . kotlin/Int# if (usingStubs()) { @@ -487,6 +544,7 @@ class ModelGroupHolder(private val modelGroupParent: ViewParent) : EpoxyHolder() val viewHolder = viewHolders.removeAt(modelPosition) // ^^^^^^^^^^ definition local 15 +// display_name viewHolder // documentation ```kt\nval viewHolder: [Error type: Return type for function cannot be resolved]\n``` // ^^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/ModelGroupHolder#getViewHolders(). // ^^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/ModelGroupHolder#viewHolders. @@ -501,22 +559,28 @@ class ModelGroupHolder(private val modelGroupParent: ViewParent) : EpoxyHolder() companion object { // ^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/ModelGroupHolder#Companion# 1:0 +// display_name Companion // documentation ```kt\npublic companion object\n``` private val HELPER_ADAPTER = HelperAdapter() // ^^^^^^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/ModelGroupHolder#Companion#HELPER_ADAPTER. +// display_name HELPER_ADAPTER // documentation ```kt\nprivate final val HELPER_ADAPTER: com.airbnb.epoxy.HelperAdapter\n``` // ^^^^^^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/ModelGroupHolder#Companion#getHELPER_ADAPTER(). +// display_name HELPER_ADAPTER // documentation ```kt\nprivate final val HELPER_ADAPTER: com.airbnb.epoxy.HelperAdapter\n``` // ^^^^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/HelperAdapter#``(). private fun findViewPool(view: ViewParent): RecyclerView.RecycledViewPool { // ^^^^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/ModelGroupHolder#Companion#findViewPool(). +// display_name findViewPool // documentation ```kt\nprivate final fun findViewPool(view: [Error type: Unresolved type for ViewParent]): [Error type: Unresolved type for RecyclerView.RecycledViewPool]\n``` // ^^^^ definition semanticdb maven . . com/airbnb/epoxy/ModelGroupHolder#Companion#findViewPool().(view) +// display_name view // documentation ```kt\nvalue-parameter view: [Error type: Unresolved type for ViewParent]\n``` var viewPool: RecyclerView.RecycledViewPool? = null // ^^^^^^^^ definition local 16 +// display_name viewPool // documentation ```kt\nvar viewPool: [Error type: Unresolved type for RecyclerView.RecycledViewPool]?\n``` while (viewPool == null) { // ^^^^^^^^ reference local 16 @@ -528,6 +592,7 @@ class ModelGroupHolder(private val modelGroupParent: ViewParent) : EpoxyHolder() } else { val parent = view.parent // ^^^^^^ definition local 17 +// display_name parent // documentation ```kt\nval parent: [Error type: Error property type]\n``` // ^^^^ reference semanticdb maven . . com/airbnb/epoxy/ModelGroupHolder#Companion#findViewPool().(view) if (parent is ViewParent) { @@ -550,39 +615,53 @@ class ModelGroupHolder(private val modelGroupParent: ViewParent) : EpoxyHolder() private class ViewStubData( // ^^^^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/ViewStubData# +// display_name ViewStubData // documentation ```kt\nprivate final class ViewStubData\n``` // ^^^^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/ViewStubData#``(). +// display_name ViewStubData // documentation ```kt\npublic constructor ViewStubData(viewGroup: [Error type: Unresolved type for ViewGroup], viewStub: [Error type: Unresolved type for ViewStub], position: kotlin.Int)\n``` val viewGroup: ViewGroup, // ^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/ViewStubData#``().(viewGroup) +// display_name viewGroup // documentation ```kt\nvalue-parameter viewGroup: [Error type: Unresolved type for ViewGroup]\n``` // ^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/ViewStubData#getViewGroup(). +// display_name viewGroup // documentation ```kt\npublic final val viewGroup: [Error type: Unresolved type for ViewGroup]\n``` // ^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/ViewStubData#viewGroup. +// display_name viewGroup // documentation ```kt\npublic final val viewGroup: [Error type: Unresolved type for ViewGroup]\n``` val viewStub: ViewStub, // ^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/ViewStubData#``().(viewStub) +// display_name viewStub // documentation ```kt\nvalue-parameter viewStub: [Error type: Unresolved type for ViewStub]\n``` // ^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/ViewStubData#getViewStub(). +// display_name viewStub // documentation ```kt\npublic final val viewStub: [Error type: Unresolved type for ViewStub]\n``` // ^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/ViewStubData#viewStub. +// display_name viewStub // documentation ```kt\npublic final val viewStub: [Error type: Unresolved type for ViewStub]\n``` val position: Int // ^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/ViewStubData#``().(position) +// display_name position // documentation ```kt\nvalue-parameter position: kotlin.Int\n``` // ^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/ViewStubData#getPosition(). +// display_name position // documentation ```kt\npublic final val position: kotlin.Int\n``` // ^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/ViewStubData#position. +// display_name position // documentation ```kt\npublic final val position: kotlin.Int\n``` // ^^^ reference semanticdb maven . . kotlin/Int# ) { fun setView(view: View, useStubLayoutParams: Boolean) { // ^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/ViewStubData#setView(). +// display_name setView // documentation ```kt\npublic final fun setView(view: [Error type: Unresolved type for View], useStubLayoutParams: kotlin.Boolean)\n``` // ^^^^ definition semanticdb maven . . com/airbnb/epoxy/ViewStubData#setView().(view) +// display_name view // documentation ```kt\nvalue-parameter view: [Error type: Unresolved type for View]\n``` // ^^^^^^^^^^^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/ViewStubData#setView().(useStubLayoutParams) +// display_name useStubLayoutParams // documentation ```kt\nvalue-parameter useStubLayoutParams: kotlin.Boolean\n``` // ^^^^^^^ reference semanticdb maven . . kotlin/Boolean# removeCurrentView() @@ -591,6 +670,7 @@ private class ViewStubData( // Carry over the stub id manually since we aren't inflating via the stub val inflatedId = viewStub.inflatedId // ^^^^^^^^^^ definition local 18 +// display_name inflatedId // documentation ```kt\nval inflatedId: [Error type: Error property type]\n``` // ^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/ViewStubData#getViewStub(). // ^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/ViewStubData#viewStub. @@ -623,6 +703,7 @@ private class ViewStubData( fun resetStub() { // ^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/ViewStubData#resetStub(). +// display_name resetStub // documentation ```kt\npublic final fun resetStub()\n``` removeCurrentView() // ^^^^^^^^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/ViewStubData#removeCurrentView(). @@ -637,9 +718,11 @@ private class ViewStubData( private fun removeCurrentView() { // ^^^^^^^^^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/ViewStubData#removeCurrentView(). +// display_name removeCurrentView // documentation ```kt\nprivate final fun removeCurrentView()\n``` val view = viewGroup.getChildAt(position) // ^^^^ definition local 19 +// display_name view // documentation ```kt\nval view: kotlin.Nothing\n``` // ^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/ViewStubData#getViewGroup(). // ^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/ViewStubData#viewGroup. @@ -661,8 +744,10 @@ private class ViewStubData( */ private class LocalGroupRecycledViewPool : RecyclerView.RecycledViewPool() // ^^^^^^^^^^^^^^^^^^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/LocalGroupRecycledViewPool# +// display_name LocalGroupRecycledViewPool // documentation ```kt\nprivate final class LocalGroupRecycledViewPool\n```\n\n----\n\n\n Local pool to the [ModelGroupHolder]\n // ^^^^^^^^^^^^^^^^^^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/LocalGroupRecycledViewPool#``(). +// display_name LocalGroupRecycledViewPool // documentation ```kt\npublic constructor LocalGroupRecycledViewPool()\n```\n\n----\n\n\n Local pool to the [ModelGroupHolder]\n /** @@ -671,39 +756,52 @@ private class LocalGroupRecycledViewPool : RecyclerView.RecycledViewPool() */ private class HelperAdapter : RecyclerView.Adapter() { // ^^^^^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/HelperAdapter# +// display_name HelperAdapter // documentation ```kt\nprivate final class HelperAdapter\n```\n\n----\n\n\n A viewholder's viewtype can only be set internally in an adapter when the viewholder\n is created. To work around that we do the creation in an adapter.\n // ^^^^^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/HelperAdapter#``(). +// display_name HelperAdapter // documentation ```kt\npublic constructor HelperAdapter()\n```\n\n----\n\n\n A viewholder's viewtype can only be set internally in an adapter when the viewholder\n is created. To work around that we do the creation in an adapter.\n private var model: EpoxyModel<*>? = null // ^^^^^ definition semanticdb maven . . com/airbnb/epoxy/HelperAdapter#getModel(). +// display_name model // documentation ```kt\nprivate final var model: [Error type: Unresolved type for EpoxyModel<*>]?\n``` // ^^^^^ definition semanticdb maven . . com/airbnb/epoxy/HelperAdapter#model. +// display_name model // documentation ```kt\nprivate final var model: [Error type: Unresolved type for EpoxyModel<*>]?\n``` // ^^^^^ definition semanticdb maven . . com/airbnb/epoxy/HelperAdapter#setModel(). +// display_name model // documentation ```kt\nprivate final var model: [Error type: Unresolved type for EpoxyModel<*>]?\n``` private var modelGroupParent: ViewParent? = null // ^^^^^^^^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/HelperAdapter#getModelGroupParent(). +// display_name modelGroupParent // documentation ```kt\nprivate final var modelGroupParent: [Error type: Unresolved type for ViewParent]?\n``` // ^^^^^^^^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/HelperAdapter#modelGroupParent. +// display_name modelGroupParent // documentation ```kt\nprivate final var modelGroupParent: [Error type: Unresolved type for ViewParent]?\n``` // ^^^^^^^^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/HelperAdapter#setModelGroupParent(). +// display_name modelGroupParent // documentation ```kt\nprivate final var modelGroupParent: [Error type: Unresolved type for ViewParent]?\n``` fun createViewHolder( // ^^^^^^^^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/HelperAdapter#createViewHolder(). +// display_name createViewHolder // documentation ```kt\npublic final fun createViewHolder(modelGroupParent: [Error type: Unresolved type for ViewParent], model: [Error type: Unresolved type for EpoxyModel<*>], parent: [Error type: Unresolved type for ViewGroup], viewType: kotlin.Int): [Error type: Unresolved type for EpoxyViewHolder]\n``` modelGroupParent: ViewParent, // ^^^^^^^^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/HelperAdapter#createViewHolder().(modelGroupParent) +// display_name modelGroupParent // documentation ```kt\nvalue-parameter modelGroupParent: [Error type: Unresolved type for ViewParent]\n``` model: EpoxyModel<*>, // ^^^^^ definition semanticdb maven . . com/airbnb/epoxy/HelperAdapter#createViewHolder().(model) +// display_name model // documentation ```kt\nvalue-parameter model: [Error type: Unresolved type for EpoxyModel<*>]\n``` parent: ViewGroup, // ^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/HelperAdapter#createViewHolder().(parent) +// display_name parent // documentation ```kt\nvalue-parameter parent: [Error type: Unresolved type for ViewGroup]\n``` viewType: Int // ^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/HelperAdapter#createViewHolder().(viewType) +// display_name viewType // documentation ```kt\nvalue-parameter viewType: kotlin.Int\n``` // ^^^ reference semanticdb maven . . kotlin/Int# ): EpoxyViewHolder { @@ -721,6 +819,7 @@ private class HelperAdapter : RecyclerView.Adapter() { // ^^^^^^^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/HelperAdapter#createViewHolder().(modelGroupParent) val viewHolder = createViewHolder(parent, viewType) // ^^^^^^^^^^ definition local 20 +// display_name viewHolder // documentation ```kt\nval viewHolder: [Error type: Unresolved type for EpoxyViewHolder]\n``` // ^^^^^^^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/HelperAdapter#createViewHolder(). // ^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/HelperAdapter#createViewHolder().(parent) @@ -741,10 +840,13 @@ private class HelperAdapter : RecyclerView.Adapter() { override fun onCreateViewHolder(parent: ViewGroup, viewType: Int): EpoxyViewHolder { // ^^^^^^^^^^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/HelperAdapter#onCreateViewHolder(). +// display_name onCreateViewHolder // documentation ```kt\npublic open fun onCreateViewHolder(parent: [Error type: Unresolved type for ViewGroup], viewType: kotlin.Int): [Error type: Unresolved type for EpoxyViewHolder]\n``` // ^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/HelperAdapter#onCreateViewHolder().(parent) +// display_name parent // documentation ```kt\nvalue-parameter parent: [Error type: Unresolved type for ViewGroup]\n``` // ^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/HelperAdapter#onCreateViewHolder().(viewType) +// display_name viewType // documentation ```kt\nvalue-parameter viewType: kotlin.Int\n``` // ^^^ reference semanticdb maven . . kotlin/Int# return EpoxyViewHolder(modelGroupParent, model!!.buildView(parent), model!!.shouldSaveViewState()) @@ -762,15 +864,19 @@ private class HelperAdapter : RecyclerView.Adapter() { override fun onBindViewHolder(holder: EpoxyViewHolder, position: Int) { // ^^^^^^^^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/HelperAdapter#onBindViewHolder(). +// display_name onBindViewHolder // documentation ```kt\npublic open fun onBindViewHolder(holder: [Error type: Unresolved type for EpoxyViewHolder], position: kotlin.Int)\n``` // ^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/HelperAdapter#onBindViewHolder().(holder) +// display_name holder // documentation ```kt\nvalue-parameter holder: [Error type: Unresolved type for EpoxyViewHolder]\n``` // ^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/HelperAdapter#onBindViewHolder().(position) +// display_name position // documentation ```kt\nvalue-parameter position: kotlin.Int\n``` // ^^^ reference semanticdb maven . . kotlin/Int# } override fun getItemCount() = 1 // ^^^^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/HelperAdapter#getItemCount(). +// display_name getItemCount // documentation ```kt\npublic open fun getItemCount(): kotlin.Int\n``` } diff --git a/tests/snapshots/src/main/generated/com/airbnb/epoxy/ModelList.java b/tests/snapshots/src/main/generated/com/airbnb/epoxy/ModelList.java index 275d6f0b3..ead85d29d 100644 --- a/tests/snapshots/src/main/generated/com/airbnb/epoxy/ModelList.java +++ b/tests/snapshots/src/main/generated/com/airbnb/epoxy/ModelList.java @@ -45,7 +45,9 @@ */ class ModelList extends ArrayList> { // ^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/ModelList# -// documentation ```java\nclass ModelList\n``` +// display_name ModelList +// signature_documentation java class ModelList +// kind Class // documentation Used by our {@link EpoxyAdapter} to track models. It simply wraps ArrayList and notifies an\n observer when remove or insertion operations are done on the list. This allows us to optimize\n diffing since we have a knowledge of what changed in the list.\n // relationship is_implementation semanticdb maven jdk 11 java/io/Serializable# // relationship is_implementation semanticdb maven jdk 11 java/lang/Cloneable# @@ -61,9 +63,13 @@ class ModelList extends ArrayList> { ModelList(int expectedModelCount) { //^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/ModelList#``(). -// documentation ```java\nModelList(int expectedModelCount)\n``` +// display_name +// signature_documentation java ModelList(int expectedModelCount) +// kind Constructor // ^^^^^^^^^^^^^^^^^^ definition local 0 -// documentation ```java\nint expectedModelCount\n``` +// display_name expectedModelCount +// signature_documentation java int expectedModelCount +// enclosing_symbol semanticdb maven . . com/airbnb/epoxy/ModelList#``(). super(expectedModelCount); // ^^^^^ reference semanticdb maven jdk 11 java/util/ArrayList#``(). // ^^^^^^^^^^^^^^^^^^ reference local 0 @@ -71,40 +77,62 @@ class ModelList extends ArrayList> { ModelList() { //^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/ModelList#``(+1). -// documentation ```java\nModelList()\n``` +// display_name +// signature_documentation java ModelList() +// kind Constructor } interface ModelListObserver { // ^^^^^^^^^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/ModelList#ModelListObserver# -// documentation ```java\ninterface ModelListObserver\n``` +// display_name ModelListObserver +// signature_documentation java interface ModelListObserver +// kind Interface void onItemRangeInserted(int positionStart, int itemCount); // ^^^^^^^^^^^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/ModelList#ModelListObserver#onItemRangeInserted(). -// documentation ```java\npublic abstract void onItemRangeInserted(int positionStart, int itemCount)\n``` +// display_name onItemRangeInserted +// signature_documentation java public abstract void onItemRangeInserted(int positionStart, int itemCount) +// kind AbstractMethod // ^^^^^^^^^^^^^ definition local 1 -// documentation ```java\nint positionStart\n``` +// display_name positionStart +// signature_documentation java int positionStart +// enclosing_symbol semanticdb maven . . com/airbnb/epoxy/ModelList#ModelListObserver#onItemRangeInserted(). // ^^^^^^^^^ definition local 2 -// documentation ```java\nint itemCount\n``` +// display_name itemCount +// signature_documentation java int itemCount +// enclosing_symbol semanticdb maven . . com/airbnb/epoxy/ModelList#ModelListObserver#onItemRangeInserted(). void onItemRangeRemoved(int positionStart, int itemCount); // ^^^^^^^^^^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/ModelList#ModelListObserver#onItemRangeRemoved(). -// documentation ```java\npublic abstract void onItemRangeRemoved(int positionStart, int itemCount)\n``` +// display_name onItemRangeRemoved +// signature_documentation java public abstract void onItemRangeRemoved(int positionStart, int itemCount) +// kind AbstractMethod // ^^^^^^^^^^^^^ definition local 3 -// documentation ```java\nint positionStart\n``` +// display_name positionStart +// signature_documentation java int positionStart +// enclosing_symbol semanticdb maven . . com/airbnb/epoxy/ModelList#ModelListObserver#onItemRangeRemoved(). // ^^^^^^^^^ definition local 4 -// documentation ```java\nint itemCount\n``` +// display_name itemCount +// signature_documentation java int itemCount +// enclosing_symbol semanticdb maven . . com/airbnb/epoxy/ModelList#ModelListObserver#onItemRangeRemoved(). } private boolean notificationsPaused; // ^^^^^^^^^^^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/ModelList#notificationsPaused. -// documentation ```java\nprivate boolean notificationsPaused\n``` +// display_name notificationsPaused +// signature_documentation java private boolean notificationsPaused +// kind Field private ModelListObserver observer; // ^^^^^^^^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/ModelList#ModelListObserver# // ^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/ModelList#observer. -// documentation ```java\nprivate ModelListObserver observer\n``` +// display_name observer +// signature_documentation java private ModelListObserver observer +// kind Field void pauseNotifications() { // ^^^^^^^^^^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/ModelList#pauseNotifications(). -// documentation ```java\nvoid pauseNotifications()\n``` +// display_name pauseNotifications +// signature_documentation java void pauseNotifications() +// kind Method if (notificationsPaused) { // ^^^^^^^^^^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/ModelList#notificationsPaused. throw new IllegalStateException("Notifications already paused"); @@ -116,7 +144,9 @@ void pauseNotifications() { void resumeNotifications() { // ^^^^^^^^^^^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/ModelList#resumeNotifications(). -// documentation ```java\nvoid resumeNotifications()\n``` +// display_name resumeNotifications +// signature_documentation java void resumeNotifications() +// kind Method if (!notificationsPaused) { // ^^^^^^^^^^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/ModelList#notificationsPaused. throw new IllegalStateException("Notifications already resumed"); @@ -128,10 +158,14 @@ void resumeNotifications() { void setObserver(ModelListObserver observer) { // ^^^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/ModelList#setObserver(). -// documentation ```java\nvoid setObserver(ModelListObserver observer)\n``` +// display_name setObserver +// signature_documentation java void setObserver(ModelListObserver observer) +// kind Method // ^^^^^^^^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/ModelList#ModelListObserver# // ^^^^^^^^ definition local 5 -// documentation ```java\nModelListObserver observer\n``` +// display_name observer +// signature_documentation java ModelListObserver observer +// enclosing_symbol semanticdb maven . . com/airbnb/epoxy/ModelList#setObserver(). this.observer = observer; // ^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/ModelList#observer. // ^^^^^^^^ reference local 5 @@ -139,11 +173,17 @@ void setObserver(ModelListObserver observer) { private void notifyInsertion(int positionStart, int itemCount) { // ^^^^^^^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/ModelList#notifyInsertion(). -// documentation ```java\nprivate void notifyInsertion(int positionStart, int itemCount)\n``` +// display_name notifyInsertion +// signature_documentation java private void notifyInsertion(int positionStart, int itemCount) +// kind Method // ^^^^^^^^^^^^^ definition local 6 -// documentation ```java\nint positionStart\n``` +// display_name positionStart +// signature_documentation java int positionStart +// enclosing_symbol semanticdb maven . . com/airbnb/epoxy/ModelList#notifyInsertion(). // ^^^^^^^^^ definition local 7 -// documentation ```java\nint itemCount\n``` +// display_name itemCount +// signature_documentation java int itemCount +// enclosing_symbol semanticdb maven . . com/airbnb/epoxy/ModelList#notifyInsertion(). if (!notificationsPaused && observer != null) { // ^^^^^^^^^^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/ModelList#notificationsPaused. // ^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/ModelList#observer. @@ -157,11 +197,17 @@ private void notifyInsertion(int positionStart, int itemCount) { private void notifyRemoval(int positionStart, int itemCount) { // ^^^^^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/ModelList#notifyRemoval(). -// documentation ```java\nprivate void notifyRemoval(int positionStart, int itemCount)\n``` +// display_name notifyRemoval +// signature_documentation java private void notifyRemoval(int positionStart, int itemCount) +// kind Method // ^^^^^^^^^^^^^ definition local 8 -// documentation ```java\nint positionStart\n``` +// display_name positionStart +// signature_documentation java int positionStart +// enclosing_symbol semanticdb maven . . com/airbnb/epoxy/ModelList#notifyRemoval(). // ^^^^^^^^^ definition local 9 -// documentation ```java\nint itemCount\n``` +// display_name itemCount +// signature_documentation java int itemCount +// enclosing_symbol semanticdb maven . . com/airbnb/epoxy/ModelList#notifyRemoval(). if (!notificationsPaused && observer != null) { // ^^^^^^^^^^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/ModelList#notificationsPaused. // ^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/ModelList#observer. @@ -178,19 +224,28 @@ private void notifyRemoval(int positionStart, int itemCount) { public EpoxyModel set(int index, EpoxyModel element) { // ^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/EpoxyModel# // ^^^ definition semanticdb maven . . com/airbnb/epoxy/ModelList#set(). -// documentation ```java\n@Override\npublic EpoxyModel set(int index, EpoxyModel element)\n``` +// display_name set +// signature_documentation java @Override\npublic EpoxyModel set(int index, EpoxyModel element) +// kind Method // relationship is_reference is_implementation semanticdb maven jdk 11 java/util/AbstractList#set(). // relationship is_reference is_implementation semanticdb maven jdk 11 java/util/ArrayList#set(). // relationship is_reference is_implementation semanticdb maven jdk 11 java/util/List#set(). // ^^^^^ definition local 10 -// documentation ```java\nint index\n``` +// display_name index +// signature_documentation java int index +// enclosing_symbol semanticdb maven . . com/airbnb/epoxy/ModelList#set(). // ^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/EpoxyModel# // ^^^^^^^ definition local 11 -// documentation ```java\nEpoxyModel element\n``` +// display_name element +// signature_documentation java EpoxyModel element +// enclosing_symbol semanticdb maven . . com/airbnb/epoxy/ModelList#set(). EpoxyModel previousModel = super.set(index, element); // ^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/EpoxyModel# // ^^^^^^^^^^^^^ definition local 12 -// documentation ```java\nEpoxyModel previousModel\n``` +// display_name previousModel +// signature_documentation java EpoxyModel previousModel +// enclosing_symbol semanticdb maven . . com/airbnb/epoxy/ModelList#set(). +// kind Variable // ^^^^^ reference semanticdb maven . . com/airbnb/epoxy/ModelList#super. // ^^^ reference semanticdb maven jdk 11 java/util/ArrayList#set(). // ^^^^^ reference local 10 @@ -217,7 +272,9 @@ public EpoxyModel set(int index, EpoxyModel element) { // ^^^^^^^^ reference semanticdb maven jdk 11 java/lang/Override# public boolean add(EpoxyModel epoxyModel) { // ^^^ definition semanticdb maven . . com/airbnb/epoxy/ModelList#add(). -// documentation ```java\n@Override\npublic boolean add(EpoxyModel epoxyModel)\n``` +// display_name add +// signature_documentation java @Override\npublic boolean add(EpoxyModel epoxyModel) +// kind Method // relationship is_reference is_implementation semanticdb maven jdk 11 java/util/AbstractCollection#add(). // relationship is_reference is_implementation semanticdb maven jdk 11 java/util/AbstractList#add(). // relationship is_reference is_implementation semanticdb maven jdk 11 java/util/ArrayList#add(). @@ -225,7 +282,9 @@ public boolean add(EpoxyModel epoxyModel) { // relationship is_reference is_implementation semanticdb maven jdk 11 java/util/List#add(). // ^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/EpoxyModel# // ^^^^^^^^^^ definition local 13 -// documentation ```java\nEpoxyModel epoxyModel\n``` +// display_name epoxyModel +// signature_documentation java EpoxyModel epoxyModel +// enclosing_symbol semanticdb maven . . com/airbnb/epoxy/ModelList#add(). notifyInsertion(size(), 1); // ^^^^^^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/ModelList#notifyInsertion(). // ^^^^ reference semanticdb maven jdk 11 java/util/ArrayList#size(). @@ -239,15 +298,21 @@ public boolean add(EpoxyModel epoxyModel) { // ^^^^^^^^ reference semanticdb maven jdk 11 java/lang/Override# public void add(int index, EpoxyModel element) { // ^^^ definition semanticdb maven . . com/airbnb/epoxy/ModelList#add(+1). -// documentation ```java\n@Override\npublic void add(int index, EpoxyModel element)\n``` +// display_name add +// signature_documentation java @Override\npublic void add(int index, EpoxyModel element) +// kind Method // relationship is_reference is_implementation semanticdb maven jdk 11 java/util/AbstractList#add(+1). // relationship is_reference is_implementation semanticdb maven jdk 11 java/util/ArrayList#add(+1). // relationship is_reference is_implementation semanticdb maven jdk 11 java/util/List#add(+1). // ^^^^^ definition local 14 -// documentation ```java\nint index\n``` +// display_name index +// signature_documentation java int index +// enclosing_symbol semanticdb maven . . com/airbnb/epoxy/ModelList#add(+1). // ^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/EpoxyModel# // ^^^^^^^ definition local 15 -// documentation ```java\nEpoxyModel element\n``` +// display_name element +// signature_documentation java EpoxyModel element +// enclosing_symbol semanticdb maven . . com/airbnb/epoxy/ModelList#add(+1). notifyInsertion(index, 1); // ^^^^^^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/ModelList#notifyInsertion(). // ^^^^^ reference local 14 @@ -262,7 +327,9 @@ public void add(int index, EpoxyModel element) { // ^^^^^^^^ reference semanticdb maven jdk 11 java/lang/Override# public boolean addAll(Collection> c) { // ^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/ModelList#addAll(). -// documentation ```java\n@Override\npublic boolean addAll(Collection> c)\n``` +// display_name addAll +// signature_documentation java @Override\npublic boolean addAll(Collection> c) +// kind Method // relationship is_reference is_implementation semanticdb maven jdk 11 java/util/AbstractCollection#addAll(). // relationship is_reference is_implementation semanticdb maven jdk 11 java/util/ArrayList#addAll(). // relationship is_reference is_implementation semanticdb maven jdk 11 java/util/Collection#addAll(). @@ -270,7 +337,9 @@ public boolean addAll(Collection> c) { // ^^^^^^^^^^ reference semanticdb maven jdk 11 java/util/Collection# // ^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/EpoxyModel# // ^ definition local 16 -// documentation ```java\nCollection> c\n``` +// display_name c +// signature_documentation java Collection> c +// enclosing_symbol semanticdb maven . . com/airbnb/epoxy/ModelList#addAll(). notifyInsertion(size(), c.size()); // ^^^^^^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/ModelList#notifyInsertion(). // ^^^^ reference semanticdb maven jdk 11 java/util/ArrayList#size(). @@ -286,16 +355,22 @@ public boolean addAll(Collection> c) { // ^^^^^^^^ reference semanticdb maven jdk 11 java/lang/Override# public boolean addAll(int index, Collection> c) { // ^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/ModelList#addAll(+1). -// documentation ```java\n@Override\npublic boolean addAll(int index, Collection> c)\n``` +// display_name addAll +// signature_documentation java @Override\npublic boolean addAll(int index, Collection> c) +// kind Method // relationship is_reference is_implementation semanticdb maven jdk 11 java/util/AbstractList#addAll(). // relationship is_reference is_implementation semanticdb maven jdk 11 java/util/ArrayList#addAll(+1). // relationship is_reference is_implementation semanticdb maven jdk 11 java/util/List#addAll(+1). // ^^^^^ definition local 17 -// documentation ```java\nint index\n``` +// display_name index +// signature_documentation java int index +// enclosing_symbol semanticdb maven . . com/airbnb/epoxy/ModelList#addAll(+1). // ^^^^^^^^^^ reference semanticdb maven jdk 11 java/util/Collection# // ^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/EpoxyModel# // ^ definition local 18 -// documentation ```java\nCollection> c\n``` +// display_name c +// signature_documentation java Collection> c +// enclosing_symbol semanticdb maven . . com/airbnb/epoxy/ModelList#addAll(+1). notifyInsertion(index, c.size()); // ^^^^^^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/ModelList#notifyInsertion(). // ^^^^^ reference local 17 @@ -313,12 +388,16 @@ public boolean addAll(int index, Collection> c) { public EpoxyModel remove(int index) { // ^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/EpoxyModel# // ^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/ModelList#remove(). -// documentation ```java\n@Override\npublic EpoxyModel remove(int index)\n``` +// display_name remove +// signature_documentation java @Override\npublic EpoxyModel remove(int index) +// kind Method // relationship is_reference is_implementation semanticdb maven jdk 11 java/util/AbstractList#remove(). // relationship is_reference is_implementation semanticdb maven jdk 11 java/util/ArrayList#remove(). // relationship is_reference is_implementation semanticdb maven jdk 11 java/util/List#remove(+1). // ^^^^^ definition local 19 -// documentation ```java\nint index\n``` +// display_name index +// signature_documentation java int index +// enclosing_symbol semanticdb maven . . com/airbnb/epoxy/ModelList#remove(). notifyRemoval(index, 1); // ^^^^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/ModelList#notifyRemoval(). // ^^^^^ reference local 19 @@ -332,17 +411,24 @@ public EpoxyModel remove(int index) { // ^^^^^^^^ reference semanticdb maven jdk 11 java/lang/Override# public boolean remove(Object o) { // ^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/ModelList#remove(+1). -// documentation ```java\n@Override\npublic boolean remove(Object o)\n``` +// display_name remove +// signature_documentation java @Override\npublic boolean remove(Object o) +// kind Method // relationship is_reference is_implementation semanticdb maven jdk 11 java/util/AbstractCollection#remove(). // relationship is_reference is_implementation semanticdb maven jdk 11 java/util/ArrayList#remove(+1). // relationship is_reference is_implementation semanticdb maven jdk 11 java/util/Collection#remove(). // relationship is_reference is_implementation semanticdb maven jdk 11 java/util/List#remove(). // ^^^^^^ reference semanticdb maven jdk 11 java/lang/Object# // ^ definition local 20 -// documentation ```java\nObject o\n``` +// display_name o +// signature_documentation java Object o +// enclosing_symbol semanticdb maven . . com/airbnb/epoxy/ModelList#remove(+1). int index = indexOf(o); // ^^^^^ definition local 21 -// documentation ```java\nint index\n``` +// display_name index +// signature_documentation java int index +// enclosing_symbol semanticdb maven . . com/airbnb/epoxy/ModelList#remove(+1). +// kind Variable // ^^^^^^^ reference semanticdb maven jdk 11 java/util/ArrayList#indexOf(). // ^ reference local 20 @@ -365,7 +451,9 @@ public boolean remove(Object o) { // ^^^^^^^^ reference semanticdb maven jdk 11 java/lang/Override# public void clear() { // ^^^^^ definition semanticdb maven . . com/airbnb/epoxy/ModelList#clear(). -// documentation ```java\n@Override\npublic void clear()\n``` +// display_name clear +// signature_documentation java @Override\npublic void clear() +// kind Method // relationship is_reference is_implementation semanticdb maven jdk 11 java/util/AbstractCollection#clear(). // relationship is_reference is_implementation semanticdb maven jdk 11 java/util/AbstractList#clear(). // relationship is_reference is_implementation semanticdb maven jdk 11 java/util/ArrayList#clear(). @@ -386,13 +474,19 @@ public void clear() { // ^^^^^^^^ reference semanticdb maven jdk 11 java/lang/Override# protected void removeRange(int fromIndex, int toIndex) { // ^^^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/ModelList#removeRange(). -// documentation ```java\n@Override\nprotected void removeRange(int fromIndex, int toIndex)\n``` +// display_name removeRange +// signature_documentation java @Override\nprotected void removeRange(int fromIndex, int toIndex) +// kind Method // relationship is_reference is_implementation semanticdb maven jdk 11 java/util/AbstractList#removeRange(). // relationship is_reference is_implementation semanticdb maven jdk 11 java/util/ArrayList#removeRange(). // ^^^^^^^^^ definition local 22 -// documentation ```java\nint fromIndex\n``` +// display_name fromIndex +// signature_documentation java int fromIndex +// enclosing_symbol semanticdb maven . . com/airbnb/epoxy/ModelList#removeRange(). // ^^^^^^^ definition local 23 -// documentation ```java\nint toIndex\n``` +// display_name toIndex +// signature_documentation java int toIndex +// enclosing_symbol semanticdb maven . . com/airbnb/epoxy/ModelList#removeRange(). if (fromIndex == toIndex) { // ^^^^^^^^^ reference local 22 // ^^^^^^^ reference local 23 @@ -415,24 +509,34 @@ protected void removeRange(int fromIndex, int toIndex) { // ^^^^^^^^ reference semanticdb maven jdk 11 java/lang/Override# public boolean removeAll(Collection collection) { // ^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/ModelList#removeAll(). -// documentation ```java\n@Override\npublic boolean removeAll(Collection collection)\n``` +// display_name removeAll +// signature_documentation java @Override\npublic boolean removeAll(Collection collection) +// kind Method // relationship is_reference is_implementation semanticdb maven jdk 11 java/util/AbstractCollection#removeAll(). // relationship is_reference is_implementation semanticdb maven jdk 11 java/util/ArrayList#removeAll(). // relationship is_reference is_implementation semanticdb maven jdk 11 java/util/Collection#removeAll(). // relationship is_reference is_implementation semanticdb maven jdk 11 java/util/List#removeAll(). // ^^^^^^^^^^ reference semanticdb maven jdk 11 java/util/Collection# // ^^^^^^^^^^ definition local 24 -// documentation ```java\nCollection collection\n``` +// display_name collection +// signature_documentation java Collection collection +// enclosing_symbol semanticdb maven . . com/airbnb/epoxy/ModelList#removeAll(). // Using this implementation from the Android ArrayList since the Java 1.8 ArrayList // doesn't call through to remove. Calling through to remove lets us leverage the notification // done there boolean result = false; // ^^^^^^ definition local 25 -// documentation ```java\nboolean result\n``` +// display_name result +// signature_documentation java boolean result +// enclosing_symbol semanticdb maven . . com/airbnb/epoxy/ModelList#removeAll(). +// kind Variable Iterator it = iterator(); // ^^^^^^^^ reference semanticdb maven jdk 11 java/util/Iterator# // ^^ definition local 26 -// documentation ```java\nIterator it\n``` +// display_name it +// signature_documentation java Iterator it +// enclosing_symbol semanticdb maven . . com/airbnb/epoxy/ModelList#removeAll(). +// kind Variable // ^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/ModelList#iterator(). while (it.hasNext()) { // ^^ reference local 26 @@ -457,24 +561,34 @@ public boolean removeAll(Collection collection) { // ^^^^^^^^ reference semanticdb maven jdk 11 java/lang/Override# public boolean retainAll(Collection collection) { // ^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/ModelList#retainAll(). -// documentation ```java\n@Override\npublic boolean retainAll(Collection collection)\n``` +// display_name retainAll +// signature_documentation java @Override\npublic boolean retainAll(Collection collection) +// kind Method // relationship is_reference is_implementation semanticdb maven jdk 11 java/util/AbstractCollection#retainAll(). // relationship is_reference is_implementation semanticdb maven jdk 11 java/util/ArrayList#retainAll(). // relationship is_reference is_implementation semanticdb maven jdk 11 java/util/Collection#retainAll(). // relationship is_reference is_implementation semanticdb maven jdk 11 java/util/List#retainAll(). // ^^^^^^^^^^ reference semanticdb maven jdk 11 java/util/Collection# // ^^^^^^^^^^ definition local 27 -// documentation ```java\nCollection collection\n``` +// display_name collection +// signature_documentation java Collection collection +// enclosing_symbol semanticdb maven . . com/airbnb/epoxy/ModelList#retainAll(). // Using this implementation from the Android ArrayList since the Java 1.8 ArrayList // doesn't call through to remove. Calling through to remove lets us leverage the notification // done there boolean result = false; // ^^^^^^ definition local 28 -// documentation ```java\nboolean result\n``` +// display_name result +// signature_documentation java boolean result +// enclosing_symbol semanticdb maven . . com/airbnb/epoxy/ModelList#retainAll(). +// kind Variable Iterator it = iterator(); // ^^^^^^^^ reference semanticdb maven jdk 11 java/util/Iterator# // ^^ definition local 29 -// documentation ```java\nIterator it\n``` +// display_name it +// signature_documentation java Iterator it +// enclosing_symbol semanticdb maven . . com/airbnb/epoxy/ModelList#retainAll(). +// kind Variable // ^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/ModelList#iterator(). while (it.hasNext()) { // ^^ reference local 29 @@ -503,7 +617,9 @@ public Iterator> iterator() { // ^^^^^^^^ reference semanticdb maven jdk 11 java/util/Iterator# // ^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/EpoxyModel# // ^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/ModelList#iterator(). -// documentation ```java\n@NonNull\n@Override\npublic Iterator> iterator()\n``` +// display_name iterator +// signature_documentation java @NonNull\n@Override\npublic Iterator> iterator() +// kind Method // relationship is_reference is_implementation semanticdb maven jdk 11 java/lang/Iterable#iterator(). // relationship is_reference is_implementation semanticdb maven jdk 11 java/util/AbstractCollection#iterator(). // relationship is_reference is_implementation semanticdb maven jdk 11 java/util/AbstractList#iterator(). @@ -522,27 +638,39 @@ public Iterator> iterator() { */ private class Itr implements Iterator> { // ^^^ definition semanticdb maven . . com/airbnb/epoxy/ModelList#Itr# -// documentation ```java\nprivate class Itr\n``` +// display_name Itr +// signature_documentation java private class Itr +// kind Class // documentation An Iterator implementation that calls through to the parent list's methods for modification.\n Some implementations, like the Android ArrayList.ArrayListIterator class, modify the list data\n directly instead of calling into the parent list's methods. We need the implementation to call\n the parent methods so that the proper notifications are done.\n // relationship is_implementation semanticdb maven jdk 11 java/util/Iterator# // ^^^ definition semanticdb maven . . com/airbnb/epoxy/ModelList#Itr#``(). -// documentation ```java\nprivate Itr()\n``` +// display_name +// signature_documentation java private Itr() +// kind Constructor // ^^^^^^^^ reference semanticdb maven jdk 11 java/util/Iterator# // ^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/EpoxyModel# int cursor; // index of next element to return // ^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/ModelList#Itr#cursor. -// documentation ```java\nint cursor\n``` +// display_name cursor +// signature_documentation java int cursor +// kind Field int lastRet = -1; // index of last element returned; -1 if no such // ^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/ModelList#Itr#lastRet. -// documentation ```java\nint lastRet\n``` +// display_name lastRet +// signature_documentation java int lastRet +// kind Field int expectedModCount = modCount; // ^^^^^^^^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/ModelList#Itr#expectedModCount. -// documentation ```java\nint expectedModCount\n``` +// display_name expectedModCount +// signature_documentation java int expectedModCount +// kind Field // ^^^^^^^^ reference semanticdb maven jdk 11 java/util/AbstractList#modCount. public boolean hasNext() { // ^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/ModelList#Itr#hasNext(). -// documentation ```java\npublic boolean hasNext()\n``` +// display_name hasNext +// signature_documentation java public boolean hasNext() +// kind Method // relationship is_reference is_implementation semanticdb maven jdk 11 java/util/Iterator#hasNext(). return cursor != size(); // ^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/ModelList#Itr#cursor. @@ -554,13 +682,18 @@ public boolean hasNext() { public EpoxyModel next() { // ^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/EpoxyModel# // ^^^^ definition semanticdb maven . . com/airbnb/epoxy/ModelList#Itr#next(). -// documentation ```java\n@SuppressWarnings("unchecked")\npublic EpoxyModel next()\n``` +// display_name next +// signature_documentation java @SuppressWarnings("unchecked")\npublic EpoxyModel next() +// kind Method // relationship is_reference is_implementation semanticdb maven jdk 11 java/util/Iterator#next(). checkForComodification(); // ^^^^^^^^^^^^^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/ModelList#Itr#checkForComodification(). int i = cursor; // ^ definition local 30 -// documentation ```java\nint i\n``` +// display_name i +// signature_documentation java int i +// enclosing_symbol semanticdb maven . . com/airbnb/epoxy/ModelList#Itr#next(). +// kind Variable // ^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/ModelList#Itr#cursor. cursor = i + 1; // ^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/ModelList#Itr#cursor. @@ -577,7 +710,9 @@ public EpoxyModel next() { public void remove() { // ^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/ModelList#Itr#remove(). -// documentation ```java\npublic void remove()\n``` +// display_name remove +// signature_documentation java public void remove() +// kind Method // relationship is_reference is_implementation semanticdb maven jdk 11 java/util/Iterator#remove(). if (lastRet < 0) { // ^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/ModelList#Itr#lastRet. @@ -604,7 +739,9 @@ public void remove() { } catch (IndexOutOfBoundsException ex) { // ^^^^^^^^^^^^^^^^^^^^^^^^^ reference semanticdb maven jdk 11 java/lang/IndexOutOfBoundsException# // ^^ definition local 31 -// documentation ```java\nIndexOutOfBoundsException ex\n``` +// display_name ex +// signature_documentation java IndexOutOfBoundsException ex +// enclosing_symbol semanticdb maven . . com/airbnb/epoxy/ModelList#Itr#remove(). throw new ConcurrentModificationException(); // ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ reference semanticdb maven jdk 11 java/util/ConcurrentModificationException#``(). } @@ -612,7 +749,9 @@ public void remove() { final void checkForComodification() { // ^^^^^^^^^^^^^^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/ModelList#Itr#checkForComodification(). -// documentation ```java\nfinal void checkForComodification()\n``` +// display_name checkForComodification +// signature_documentation java final void checkForComodification() +// kind Method if (modCount != expectedModCount) { // ^^^^^^^^ reference semanticdb maven jdk 11 java/util/AbstractList#modCount. // ^^^^^^^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/ModelList#Itr#expectedModCount. @@ -630,7 +769,9 @@ public ListIterator> listIterator() { // ^^^^^^^^^^^^ reference semanticdb maven jdk 11 java/util/ListIterator# // ^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/EpoxyModel# // ^^^^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/ModelList#listIterator(). -// documentation ```java\n@NonNull\n@Override\npublic ListIterator> listIterator()\n``` +// display_name listIterator +// signature_documentation java @NonNull\n@Override\npublic ListIterator> listIterator() +// kind Method // relationship is_reference is_implementation semanticdb maven jdk 11 java/util/AbstractList#listIterator(). // relationship is_reference is_implementation semanticdb maven jdk 11 java/util/ArrayList#listIterator(+1). // relationship is_reference is_implementation semanticdb maven jdk 11 java/util/List#listIterator(). @@ -646,12 +787,16 @@ public ListIterator> listIterator(int index) { // ^^^^^^^^^^^^ reference semanticdb maven jdk 11 java/util/ListIterator# // ^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/EpoxyModel# // ^^^^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/ModelList#listIterator(+1). -// documentation ```java\n@NonNull\n@Override\npublic ListIterator> listIterator(int index)\n``` +// display_name listIterator +// signature_documentation java @NonNull\n@Override\npublic ListIterator> listIterator(int index) +// kind Method // relationship is_reference is_implementation semanticdb maven jdk 11 java/util/AbstractList#listIterator(+1). // relationship is_reference is_implementation semanticdb maven jdk 11 java/util/ArrayList#listIterator(). // relationship is_reference is_implementation semanticdb maven jdk 11 java/util/List#listIterator(+1). // ^^^^^ definition local 32 -// documentation ```java\nint index\n``` +// display_name index +// signature_documentation java int index +// enclosing_symbol semanticdb maven . . com/airbnb/epoxy/ModelList#listIterator(+1). return new ListItr(index); // ^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/ModelList#ListItr#``(). // ^^^^^ reference local 32 @@ -665,7 +810,9 @@ public ListIterator> listIterator(int index) { */ private class ListItr extends Itr implements ListIterator> { // ^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/ModelList#ListItr# -// documentation ```java\nprivate class ListItr\n``` +// display_name ListItr +// signature_documentation java private class ListItr +// kind Class // documentation A ListIterator implementation that calls through to the parent list's methods for modification.\n Some implementations may modify the list data directly instead of calling into the parent\n list's methods. We need the implementation to call the parent methods so that the proper\n notifications are done.\n // relationship is_implementation semanticdb maven . . com/airbnb/epoxy/ModelList#Itr# // relationship is_implementation semanticdb maven jdk 11 java/util/Iterator# @@ -675,9 +822,13 @@ private class ListItr extends Itr implements ListIterator> { // ^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/EpoxyModel# ListItr(int index) { // ^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/ModelList#ListItr#``(). -// documentation ```java\nListItr(int index)\n``` +// display_name +// signature_documentation java ListItr(int index) +// kind Constructor // ^^^^^ definition local 33 -// documentation ```java\nint index\n``` +// display_name index +// signature_documentation java int index +// enclosing_symbol semanticdb maven . . com/airbnb/epoxy/ModelList#ListItr#``(). cursor = index; // ^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/ModelList#Itr#cursor. // ^^^^^ reference local 33 @@ -685,7 +836,9 @@ private class ListItr extends Itr implements ListIterator> { public boolean hasPrevious() { // ^^^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/ModelList#ListItr#hasPrevious(). -// documentation ```java\npublic boolean hasPrevious()\n``` +// display_name hasPrevious +// signature_documentation java public boolean hasPrevious() +// kind Method // relationship is_reference is_implementation semanticdb maven jdk 11 java/util/ListIterator#hasPrevious(). return cursor != 0; // ^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/ModelList#Itr#cursor. @@ -693,7 +846,9 @@ public boolean hasPrevious() { public int nextIndex() { // ^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/ModelList#ListItr#nextIndex(). -// documentation ```java\npublic int nextIndex()\n``` +// display_name nextIndex +// signature_documentation java public int nextIndex() +// kind Method // relationship is_reference is_implementation semanticdb maven jdk 11 java/util/ListIterator#nextIndex(). return cursor; // ^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/ModelList#Itr#cursor. @@ -701,7 +856,9 @@ public int nextIndex() { public int previousIndex() { // ^^^^^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/ModelList#ListItr#previousIndex(). -// documentation ```java\npublic int previousIndex()\n``` +// display_name previousIndex +// signature_documentation java public int previousIndex() +// kind Method // relationship is_reference is_implementation semanticdb maven jdk 11 java/util/ListIterator#previousIndex(). return cursor - 1; // ^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/ModelList#Itr#cursor. @@ -712,13 +869,18 @@ public int previousIndex() { public EpoxyModel previous() { // ^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/EpoxyModel# // ^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/ModelList#ListItr#previous(). -// documentation ```java\n@SuppressWarnings("unchecked")\npublic EpoxyModel previous()\n``` +// display_name previous +// signature_documentation java @SuppressWarnings("unchecked")\npublic EpoxyModel previous() +// kind Method // relationship is_reference is_implementation semanticdb maven jdk 11 java/util/ListIterator#previous(). checkForComodification(); // ^^^^^^^^^^^^^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/ModelList#Itr#checkForComodification(). int i = cursor - 1; // ^ definition local 34 -// documentation ```java\nint i\n``` +// display_name i +// signature_documentation java int i +// enclosing_symbol semanticdb maven . . com/airbnb/epoxy/ModelList#ListItr#previous(). +// kind Variable // ^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/ModelList#Itr#cursor. if (i < 0) { // ^ reference local 34 @@ -741,11 +903,15 @@ public EpoxyModel previous() { public void set(EpoxyModel e) { // ^^^ definition semanticdb maven . . com/airbnb/epoxy/ModelList#ListItr#set(). -// documentation ```java\npublic void set(EpoxyModel e)\n``` +// display_name set +// signature_documentation java public void set(EpoxyModel e) +// kind Method // relationship is_reference is_implementation semanticdb maven jdk 11 java/util/ListIterator#set(). // ^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/EpoxyModel# // ^ definition local 35 -// documentation ```java\nEpoxyModel e\n``` +// display_name e +// signature_documentation java EpoxyModel e +// enclosing_symbol semanticdb maven . . com/airbnb/epoxy/ModelList#ListItr#set(). if (lastRet < 0) { // ^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/ModelList#Itr#lastRet. throw new IllegalStateException(); @@ -764,7 +930,9 @@ public void set(EpoxyModel e) { } catch (IndexOutOfBoundsException ex) { // ^^^^^^^^^^^^^^^^^^^^^^^^^ reference semanticdb maven jdk 11 java/lang/IndexOutOfBoundsException# // ^^ definition local 36 -// documentation ```java\nIndexOutOfBoundsException ex\n``` +// display_name ex +// signature_documentation java IndexOutOfBoundsException ex +// enclosing_symbol semanticdb maven . . com/airbnb/epoxy/ModelList#ListItr#set(). throw new ConcurrentModificationException(); // ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ reference semanticdb maven jdk 11 java/util/ConcurrentModificationException#``(). } @@ -772,18 +940,25 @@ public void set(EpoxyModel e) { public void add(EpoxyModel e) { // ^^^ definition semanticdb maven . . com/airbnb/epoxy/ModelList#ListItr#add(). -// documentation ```java\npublic void add(EpoxyModel e)\n``` +// display_name add +// signature_documentation java public void add(EpoxyModel e) +// kind Method // relationship is_reference is_implementation semanticdb maven jdk 11 java/util/ListIterator#add(). // ^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/EpoxyModel# // ^ definition local 37 -// documentation ```java\nEpoxyModel e\n``` +// display_name e +// signature_documentation java EpoxyModel e +// enclosing_symbol semanticdb maven . . com/airbnb/epoxy/ModelList#ListItr#add(). checkForComodification(); // ^^^^^^^^^^^^^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/ModelList#Itr#checkForComodification(). try { int i = cursor; // ^ definition local 38 -// documentation ```java\nint i\n``` +// display_name i +// signature_documentation java int i +// enclosing_symbol semanticdb maven . . com/airbnb/epoxy/ModelList#ListItr#add(). +// kind Variable // ^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/ModelList#Itr#cursor. ModelList.this.add(i, e); // ^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/ModelList# @@ -802,7 +977,9 @@ public void add(EpoxyModel e) { } catch (IndexOutOfBoundsException ex) { // ^^^^^^^^^^^^^^^^^^^^^^^^^ reference semanticdb maven jdk 11 java/lang/IndexOutOfBoundsException# // ^^ definition local 39 -// documentation ```java\nIndexOutOfBoundsException ex\n``` +// display_name ex +// signature_documentation java IndexOutOfBoundsException ex +// enclosing_symbol semanticdb maven . . com/airbnb/epoxy/ModelList#ListItr#add(). throw new ConcurrentModificationException(); // ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ reference semanticdb maven jdk 11 java/util/ConcurrentModificationException#``(). } @@ -817,14 +994,20 @@ public List> subList(int start, int end) { // ^^^^ reference semanticdb maven jdk 11 java/util/List# // ^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/EpoxyModel# // ^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/ModelList#subList(). -// documentation ```java\n@NonNull\n@Override\npublic List> subList(int start, int end)\n``` +// display_name subList +// signature_documentation java @NonNull\n@Override\npublic List> subList(int start, int end) +// kind Method // relationship is_reference is_implementation semanticdb maven jdk 11 java/util/AbstractList#subList(). // relationship is_reference is_implementation semanticdb maven jdk 11 java/util/ArrayList#subList(). // relationship is_reference is_implementation semanticdb maven jdk 11 java/util/List#subList(). // ^^^^^ definition local 40 -// documentation ```java\nint start\n``` +// display_name start +// signature_documentation java int start +// enclosing_symbol semanticdb maven . . com/airbnb/epoxy/ModelList#subList(). // ^^^ definition local 41 -// documentation ```java\nint end\n``` +// display_name end +// signature_documentation java int end +// enclosing_symbol semanticdb maven . . com/airbnb/epoxy/ModelList#subList(). if (start >= 0 && end <= size()) { // ^^^^^ reference local 40 // ^^^ reference local 41 @@ -852,7 +1035,9 @@ public List> subList(int start, int end) { */ private static class SubList extends AbstractList> { // ^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/ModelList#SubList# -// documentation ```java\nprivate static class SubList\n``` +// display_name SubList +// signature_documentation java private static class SubList +// kind Class // documentation A SubList implementation from Android's AbstractList class. It's copied here to make sure the\n implementation doesn't change, since some implementations, like the Java 1.8 ArrayList.SubList\n class, modify the list data directly instead of calling into the parent list's methods. We need\n the implementation to call the parent methods so that the proper notifications are done.\n // relationship is_implementation semanticdb maven jdk 11 java/lang/Iterable# // relationship is_implementation semanticdb maven jdk 11 java/util/AbstractCollection# @@ -864,17 +1049,25 @@ private static class SubList extends AbstractList> { private final ModelList fullList; // ^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/ModelList# // ^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/ModelList#SubList#fullList. -// documentation ```java\nprivate final ModelList fullList\n``` +// display_name fullList +// signature_documentation java private final ModelList fullList +// kind Field private int offset; // ^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/ModelList#SubList#offset. -// documentation ```java\nprivate int offset\n``` +// display_name offset +// signature_documentation java private int offset +// kind Field private int size; // ^^^^ definition semanticdb maven . . com/airbnb/epoxy/ModelList#SubList#size. -// documentation ```java\nprivate int size\n``` +// display_name size +// signature_documentation java private int size +// kind Field private static final class SubListIterator implements ListIterator> { // ^^^^^^^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/ModelList#SubList#SubListIterator# -// documentation ```java\nprivate static final class SubListIterator\n``` +// display_name SubListIterator +// signature_documentation java private static final class SubListIterator +// kind Class // relationship is_implementation semanticdb maven jdk 11 java/util/Iterator# // relationship is_implementation semanticdb maven jdk 11 java/util/ListIterator# // ^^^^^^^^^^^^ reference semanticdb maven jdk 11 java/util/ListIterator# @@ -882,33 +1075,51 @@ private static final class SubListIterator implements ListIterator private final SubList subList; // ^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/ModelList#SubList# // ^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/ModelList#SubList#SubListIterator#subList. -// documentation ```java\nprivate final SubList subList\n``` +// display_name subList +// signature_documentation java private final SubList subList +// kind Field private final ListIterator> iterator; // ^^^^^^^^^^^^ reference semanticdb maven jdk 11 java/util/ListIterator# // ^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/EpoxyModel# // ^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/ModelList#SubList#SubListIterator#iterator. -// documentation ```java\nprivate final ListIterator> iterator\n``` +// display_name iterator +// signature_documentation java private final ListIterator> iterator +// kind Field private int start; // ^^^^^ definition semanticdb maven . . com/airbnb/epoxy/ModelList#SubList#SubListIterator#start. -// documentation ```java\nprivate int start\n``` +// display_name start +// signature_documentation java private int start +// kind Field private int end; // ^^^ definition semanticdb maven . . com/airbnb/epoxy/ModelList#SubList#SubListIterator#end. -// documentation ```java\nprivate int end\n``` +// display_name end +// signature_documentation java private int end +// kind Field SubListIterator(ListIterator> it, SubList list, int offset, int length) { // ^^^^^^^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/ModelList#SubList#SubListIterator#``(). -// documentation ```java\nSubListIterator(ListIterator> it, SubList list, int offset, int length)\n``` +// display_name +// signature_documentation java SubListIterator(ListIterator> it, SubList list, int offset, int length) +// kind Constructor // ^^^^^^^^^^^^ reference semanticdb maven jdk 11 java/util/ListIterator# // ^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/EpoxyModel# // ^^ definition local 42 -// documentation ```java\nListIterator> it\n``` +// display_name it +// signature_documentation java ListIterator> it +// enclosing_symbol semanticdb maven . . com/airbnb/epoxy/ModelList#SubList#SubListIterator#``(). // ^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/ModelList#SubList# // ^^^^ definition local 43 -// documentation ```java\nSubList list\n``` +// display_name list +// signature_documentation java SubList list +// enclosing_symbol semanticdb maven . . com/airbnb/epoxy/ModelList#SubList#SubListIterator#``(). // ^^^^^^ definition local 44 -// documentation ```java\nint offset\n``` +// display_name offset +// signature_documentation java int offset +// enclosing_symbol semanticdb maven . . com/airbnb/epoxy/ModelList#SubList#SubListIterator#``(). // ^^^^^^ definition local 45 -// documentation ```java\nint length\n``` +// display_name length +// signature_documentation java int length +// enclosing_symbol semanticdb maven . . com/airbnb/epoxy/ModelList#SubList#SubListIterator#``(). iterator = it; // ^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/ModelList#SubList#SubListIterator#iterator. // ^^ reference local 42 @@ -926,11 +1137,15 @@ private static final class SubListIterator implements ListIterator public void add(EpoxyModel object) { // ^^^ definition semanticdb maven . . com/airbnb/epoxy/ModelList#SubList#SubListIterator#add(). -// documentation ```java\npublic void add(EpoxyModel object)\n``` +// display_name add +// signature_documentation java public void add(EpoxyModel object) +// kind Method // relationship is_reference is_implementation semanticdb maven jdk 11 java/util/ListIterator#add(). // ^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/EpoxyModel# // ^^^^^^ definition local 46 -// documentation ```java\nEpoxyModel object\n``` +// display_name object +// signature_documentation java EpoxyModel object +// enclosing_symbol semanticdb maven . . com/airbnb/epoxy/ModelList#SubList#SubListIterator#add(). iterator.add(object); // ^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/ModelList#SubList#SubListIterator#iterator. // ^^^ reference semanticdb maven jdk 11 java/util/ListIterator#add(). @@ -944,7 +1159,9 @@ public void add(EpoxyModel object) { public boolean hasNext() { // ^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/ModelList#SubList#SubListIterator#hasNext(). -// documentation ```java\npublic boolean hasNext()\n``` +// display_name hasNext +// signature_documentation java public boolean hasNext() +// kind Method // relationship is_reference is_implementation semanticdb maven jdk 11 java/util/Iterator#hasNext(). // relationship is_reference is_implementation semanticdb maven jdk 11 java/util/ListIterator#hasNext(). return iterator.nextIndex() < end; @@ -955,7 +1172,9 @@ public boolean hasNext() { public boolean hasPrevious() { // ^^^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/ModelList#SubList#SubListIterator#hasPrevious(). -// documentation ```java\npublic boolean hasPrevious()\n``` +// display_name hasPrevious +// signature_documentation java public boolean hasPrevious() +// kind Method // relationship is_reference is_implementation semanticdb maven jdk 11 java/util/ListIterator#hasPrevious(). return iterator.previousIndex() >= start; // ^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/ModelList#SubList#SubListIterator#iterator. @@ -966,7 +1185,9 @@ public boolean hasPrevious() { public EpoxyModel next() { // ^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/EpoxyModel# // ^^^^ definition semanticdb maven . . com/airbnb/epoxy/ModelList#SubList#SubListIterator#next(). -// documentation ```java\npublic EpoxyModel next()\n``` +// display_name next +// signature_documentation java public EpoxyModel next() +// kind Method // relationship is_reference is_implementation semanticdb maven jdk 11 java/util/Iterator#next(). // relationship is_reference is_implementation semanticdb maven jdk 11 java/util/ListIterator#next(). if (iterator.nextIndex() < end) { @@ -983,7 +1204,9 @@ public EpoxyModel next() { public int nextIndex() { // ^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/ModelList#SubList#SubListIterator#nextIndex(). -// documentation ```java\npublic int nextIndex()\n``` +// display_name nextIndex +// signature_documentation java public int nextIndex() +// kind Method // relationship is_reference is_implementation semanticdb maven jdk 11 java/util/ListIterator#nextIndex(). return iterator.nextIndex() - start; // ^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/ModelList#SubList#SubListIterator#iterator. @@ -994,7 +1217,9 @@ public int nextIndex() { public EpoxyModel previous() { // ^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/EpoxyModel# // ^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/ModelList#SubList#SubListIterator#previous(). -// documentation ```java\npublic EpoxyModel previous()\n``` +// display_name previous +// signature_documentation java public EpoxyModel previous() +// kind Method // relationship is_reference is_implementation semanticdb maven jdk 11 java/util/ListIterator#previous(). if (iterator.previousIndex() >= start) { // ^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/ModelList#SubList#SubListIterator#iterator. @@ -1010,11 +1235,16 @@ public EpoxyModel previous() { public int previousIndex() { // ^^^^^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/ModelList#SubList#SubListIterator#previousIndex(). -// documentation ```java\npublic int previousIndex()\n``` +// display_name previousIndex +// signature_documentation java public int previousIndex() +// kind Method // relationship is_reference is_implementation semanticdb maven jdk 11 java/util/ListIterator#previousIndex(). int previous = iterator.previousIndex(); // ^^^^^^^^ definition local 47 -// documentation ```java\nint previous\n``` +// display_name previous +// signature_documentation java int previous +// enclosing_symbol semanticdb maven . . com/airbnb/epoxy/ModelList#SubList#SubListIterator#previousIndex(). +// kind Variable // ^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/ModelList#SubList#SubListIterator#iterator. // ^^^^^^^^^^^^^ reference semanticdb maven jdk 11 java/util/ListIterator#previousIndex(). if (previous >= start) { @@ -1029,7 +1259,9 @@ public int previousIndex() { public void remove() { // ^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/ModelList#SubList#SubListIterator#remove(). -// documentation ```java\npublic void remove()\n``` +// display_name remove +// signature_documentation java public void remove() +// kind Method // relationship is_reference is_implementation semanticdb maven jdk 11 java/util/Iterator#remove(). // relationship is_reference is_implementation semanticdb maven jdk 11 java/util/ListIterator#remove(). iterator.remove(); @@ -1044,11 +1276,15 @@ public void remove() { public void set(EpoxyModel object) { // ^^^ definition semanticdb maven . . com/airbnb/epoxy/ModelList#SubList#SubListIterator#set(). -// documentation ```java\npublic void set(EpoxyModel object)\n``` +// display_name set +// signature_documentation java public void set(EpoxyModel object) +// kind Method // relationship is_reference is_implementation semanticdb maven jdk 11 java/util/ListIterator#set(). // ^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/EpoxyModel# // ^^^^^^ definition local 48 -// documentation ```java\nEpoxyModel object\n``` +// display_name object +// signature_documentation java EpoxyModel object +// enclosing_symbol semanticdb maven . . com/airbnb/epoxy/ModelList#SubList#SubListIterator#set(). iterator.set(object); // ^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/ModelList#SubList#SubListIterator#iterator. // ^^^ reference semanticdb maven jdk 11 java/util/ListIterator#set(). @@ -1058,14 +1294,22 @@ public void set(EpoxyModel object) { SubList(ModelList list, int start, int end) { // ^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/ModelList#SubList#``(). -// documentation ```java\nSubList(ModelList list, int start, int end)\n``` +// display_name +// signature_documentation java SubList(ModelList list, int start, int end) +// kind Constructor // ^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/ModelList# // ^^^^ definition local 49 -// documentation ```java\nModelList list\n``` +// display_name list +// signature_documentation java ModelList list +// enclosing_symbol semanticdb maven . . com/airbnb/epoxy/ModelList#SubList#``(). // ^^^^^ definition local 50 -// documentation ```java\nint start\n``` +// display_name start +// signature_documentation java int start +// enclosing_symbol semanticdb maven . . com/airbnb/epoxy/ModelList#SubList#``(). // ^^^ definition local 51 -// documentation ```java\nint end\n``` +// display_name end +// signature_documentation java int end +// enclosing_symbol semanticdb maven . . com/airbnb/epoxy/ModelList#SubList#``(). fullList = list; // ^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/ModelList#SubList#fullList. // ^^^^ reference local 49 @@ -1086,14 +1330,20 @@ public void set(EpoxyModel object) { // ^^^^^^^^ reference semanticdb maven jdk 11 java/lang/Override# public void add(int location, EpoxyModel object) { // ^^^ definition semanticdb maven . . com/airbnb/epoxy/ModelList#SubList#add(). -// documentation ```java\n@Override\npublic void add(int location, EpoxyModel object)\n``` +// display_name add +// signature_documentation java @Override\npublic void add(int location, EpoxyModel object) +// kind Method // relationship is_reference is_implementation semanticdb maven jdk 11 java/util/AbstractList#add(+1). // relationship is_reference is_implementation semanticdb maven jdk 11 java/util/List#add(+1). // ^^^^^^^^ definition local 52 -// documentation ```java\nint location\n``` +// display_name location +// signature_documentation java int location +// enclosing_symbol semanticdb maven . . com/airbnb/epoxy/ModelList#SubList#add(). // ^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/EpoxyModel# // ^^^^^^ definition local 53 -// documentation ```java\nEpoxyModel object\n``` +// display_name object +// signature_documentation java EpoxyModel object +// enclosing_symbol semanticdb maven . . com/airbnb/epoxy/ModelList#SubList#add(). if (modCount == fullList.modCount) { // ^^^^^^^^ reference semanticdb maven jdk 11 java/util/AbstractList#modCount. // ^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/ModelList#SubList#fullList. @@ -1128,15 +1378,21 @@ public void add(int location, EpoxyModel object) { // ^^^^^^^^ reference semanticdb maven jdk 11 java/lang/Override# public boolean addAll(int location, Collection> collection) { // ^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/ModelList#SubList#addAll(). -// documentation ```java\n@Override\npublic boolean addAll(int location, Collection> collection)\n``` +// display_name addAll +// signature_documentation java @Override\npublic boolean addAll(int location, Collection> collection) +// kind Method // relationship is_reference is_implementation semanticdb maven jdk 11 java/util/AbstractList#addAll(). // relationship is_reference is_implementation semanticdb maven jdk 11 java/util/List#addAll(+1). // ^^^^^^^^ definition local 54 -// documentation ```java\nint location\n``` +// display_name location +// signature_documentation java int location +// enclosing_symbol semanticdb maven . . com/airbnb/epoxy/ModelList#SubList#addAll(). // ^^^^^^^^^^ reference semanticdb maven jdk 11 java/util/Collection# // ^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/EpoxyModel# // ^^^^^^^^^^ definition local 55 -// documentation ```java\nCollection> collection\n``` +// display_name collection +// signature_documentation java Collection> collection +// enclosing_symbol semanticdb maven . . com/airbnb/epoxy/ModelList#SubList#addAll(). if (modCount == fullList.modCount) { // ^^^^^^^^ reference semanticdb maven jdk 11 java/util/AbstractList#modCount. // ^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/ModelList#SubList#fullList. @@ -1147,7 +1403,10 @@ public boolean addAll(int location, Collection> collecti // ^^^^ reference semanticdb maven . . com/airbnb/epoxy/ModelList#SubList#size. boolean result = fullList.addAll(location + offset, collection); // ^^^^^^ definition local 56 -// documentation ```java\nboolean result\n``` +// display_name result +// signature_documentation java boolean result +// enclosing_symbol semanticdb maven . . com/airbnb/epoxy/ModelList#SubList#addAll(). +// kind Variable // ^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/ModelList#SubList#fullList. // ^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/ModelList#addAll(+1). // ^^^^^^^^ reference local 54 @@ -1178,7 +1437,9 @@ public boolean addAll(int location, Collection> collecti // ^^^^^^^^ reference semanticdb maven jdk 11 java/lang/Override# public boolean addAll(@NonNull Collection> collection) { // ^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/ModelList#SubList#addAll(+1). -// documentation ```java\n@Override\npublic boolean addAll(Collection> collection)\n``` +// display_name addAll +// signature_documentation java @Override\npublic boolean addAll(Collection> collection) +// kind Method // relationship is_reference is_implementation semanticdb maven jdk 11 java/util/AbstractCollection#addAll(). // relationship is_reference is_implementation semanticdb maven jdk 11 java/util/Collection#addAll(). // relationship is_reference is_implementation semanticdb maven jdk 11 java/util/List#addAll(). @@ -1186,14 +1447,19 @@ public boolean addAll(@NonNull Collection> collection) { // ^^^^^^^^^^ reference semanticdb maven jdk 11 java/util/Collection# // ^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/EpoxyModel# // ^^^^^^^^^^ definition local 57 -// documentation ```java\n@NonNull\nCollection> collection\n``` +// display_name collection +// signature_documentation java @NonNull\nCollection> collection +// enclosing_symbol semanticdb maven . . com/airbnb/epoxy/ModelList#SubList#addAll(+1). if (modCount == fullList.modCount) { // ^^^^^^^^ reference semanticdb maven jdk 11 java/util/AbstractList#modCount. // ^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/ModelList#SubList#fullList. // ^^^^^^^^ reference semanticdb maven jdk 11 java/util/AbstractList#modCount. boolean result = fullList.addAll(offset + size, collection); // ^^^^^^ definition local 58 -// documentation ```java\nboolean result\n``` +// display_name result +// signature_documentation java boolean result +// enclosing_symbol semanticdb maven . . com/airbnb/epoxy/ModelList#SubList#addAll(+1). +// kind Variable // ^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/ModelList#SubList#fullList. // ^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/ModelList#addAll(+1). // ^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/ModelList#SubList#offset. @@ -1222,11 +1488,15 @@ public boolean addAll(@NonNull Collection> collection) { public EpoxyModel get(int location) { // ^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/EpoxyModel# // ^^^ definition semanticdb maven . . com/airbnb/epoxy/ModelList#SubList#get(). -// documentation ```java\n@Override\npublic EpoxyModel get(int location)\n``` +// display_name get +// signature_documentation java @Override\npublic EpoxyModel get(int location) +// kind Method // relationship is_reference is_implementation semanticdb maven jdk 11 java/util/AbstractList#get(). // relationship is_reference is_implementation semanticdb maven jdk 11 java/util/List#get(). // ^^^^^^^^ definition local 59 -// documentation ```java\nint location\n``` +// display_name location +// signature_documentation java int location +// enclosing_symbol semanticdb maven . . com/airbnb/epoxy/ModelList#SubList#get(). if (modCount == fullList.modCount) { // ^^^^^^^^ reference semanticdb maven jdk 11 java/util/AbstractList#modCount. // ^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/ModelList#SubList#fullList. @@ -1256,7 +1526,9 @@ public Iterator> iterator() { // ^^^^^^^^ reference semanticdb maven jdk 11 java/util/Iterator# // ^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/EpoxyModel# // ^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/ModelList#SubList#iterator(). -// documentation ```java\n@NonNull\n@Override\npublic Iterator> iterator()\n``` +// display_name iterator +// signature_documentation java @NonNull\n@Override\npublic Iterator> iterator() +// kind Method // relationship is_reference is_implementation semanticdb maven jdk 11 java/lang/Iterable#iterator(). // relationship is_reference is_implementation semanticdb maven jdk 11 java/util/AbstractCollection#iterator(). // relationship is_reference is_implementation semanticdb maven jdk 11 java/util/AbstractList#iterator(). @@ -1274,11 +1546,15 @@ public ListIterator> listIterator(int location) { // ^^^^^^^^^^^^ reference semanticdb maven jdk 11 java/util/ListIterator# // ^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/EpoxyModel# // ^^^^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/ModelList#SubList#listIterator(). -// documentation ```java\n@NonNull\n@Override\npublic ListIterator> listIterator(int location)\n``` +// display_name listIterator +// signature_documentation java @NonNull\n@Override\npublic ListIterator> listIterator(int location) +// kind Method // relationship is_reference is_implementation semanticdb maven jdk 11 java/util/AbstractList#listIterator(+1). // relationship is_reference is_implementation semanticdb maven jdk 11 java/util/List#listIterator(+1). // ^^^^^^^^ definition local 60 -// documentation ```java\nint location\n``` +// display_name location +// signature_documentation java int location +// enclosing_symbol semanticdb maven . . com/airbnb/epoxy/ModelList#SubList#listIterator(). if (modCount == fullList.modCount) { // ^^^^^^^^ reference semanticdb maven jdk 11 java/util/AbstractList#modCount. // ^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/ModelList#SubList#fullList. @@ -1308,11 +1584,15 @@ public ListIterator> listIterator(int location) { public EpoxyModel remove(int location) { // ^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/EpoxyModel# // ^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/ModelList#SubList#remove(). -// documentation ```java\n@Override\npublic EpoxyModel remove(int location)\n``` +// display_name remove +// signature_documentation java @Override\npublic EpoxyModel remove(int location) +// kind Method // relationship is_reference is_implementation semanticdb maven jdk 11 java/util/AbstractList#remove(). // relationship is_reference is_implementation semanticdb maven jdk 11 java/util/List#remove(+1). // ^^^^^^^^ definition local 61 -// documentation ```java\nint location\n``` +// display_name location +// signature_documentation java int location +// enclosing_symbol semanticdb maven . . com/airbnb/epoxy/ModelList#SubList#remove(). if (modCount == fullList.modCount) { // ^^^^^^^^ reference semanticdb maven jdk 11 java/util/AbstractList#modCount. // ^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/ModelList#SubList#fullList. @@ -1324,7 +1604,10 @@ public EpoxyModel remove(int location) { EpoxyModel result = fullList.remove(location + offset); // ^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/EpoxyModel# // ^^^^^^ definition local 62 -// documentation ```java\nEpoxyModel result\n``` +// display_name result +// signature_documentation java EpoxyModel result +// enclosing_symbol semanticdb maven . . com/airbnb/epoxy/ModelList#SubList#remove(). +// kind Variable // ^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/ModelList#SubList#fullList. // ^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/ModelList#remove(). // ^^^^^^^^ reference local 61 @@ -1349,12 +1632,18 @@ public EpoxyModel remove(int location) { // ^^^^^^^^ reference semanticdb maven jdk 11 java/lang/Override# protected void removeRange(int start, int end) { // ^^^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/ModelList#SubList#removeRange(). -// documentation ```java\n@Override\nprotected void removeRange(int start, int end)\n``` +// display_name removeRange +// signature_documentation java @Override\nprotected void removeRange(int start, int end) +// kind Method // relationship is_reference is_implementation semanticdb maven jdk 11 java/util/AbstractList#removeRange(). // ^^^^^ definition local 63 -// documentation ```java\nint start\n``` +// display_name start +// signature_documentation java int start +// enclosing_symbol semanticdb maven . . com/airbnb/epoxy/ModelList#SubList#removeRange(). // ^^^ definition local 64 -// documentation ```java\nint end\n``` +// display_name end +// signature_documentation java int end +// enclosing_symbol semanticdb maven . . com/airbnb/epoxy/ModelList#SubList#removeRange(). if (start != end) { // ^^^^^ reference local 63 // ^^^ reference local 64 @@ -1389,14 +1678,20 @@ protected void removeRange(int start, int end) { public EpoxyModel set(int location, EpoxyModel object) { // ^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/EpoxyModel# // ^^^ definition semanticdb maven . . com/airbnb/epoxy/ModelList#SubList#set(). -// documentation ```java\n@Override\npublic EpoxyModel set(int location, EpoxyModel object)\n``` +// display_name set +// signature_documentation java @Override\npublic EpoxyModel set(int location, EpoxyModel object) +// kind Method // relationship is_reference is_implementation semanticdb maven jdk 11 java/util/AbstractList#set(). // relationship is_reference is_implementation semanticdb maven jdk 11 java/util/List#set(). // ^^^^^^^^ definition local 65 -// documentation ```java\nint location\n``` +// display_name location +// signature_documentation java int location +// enclosing_symbol semanticdb maven . . com/airbnb/epoxy/ModelList#SubList#set(). // ^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/EpoxyModel# // ^^^^^^ definition local 66 -// documentation ```java\nEpoxyModel object\n``` +// display_name object +// signature_documentation java EpoxyModel object +// enclosing_symbol semanticdb maven . . com/airbnb/epoxy/ModelList#SubList#set(). if (modCount == fullList.modCount) { // ^^^^^^^^ reference semanticdb maven jdk 11 java/util/AbstractList#modCount. // ^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/ModelList#SubList#fullList. @@ -1423,7 +1718,9 @@ public EpoxyModel set(int location, EpoxyModel object) { // ^^^^^^^^ reference semanticdb maven jdk 11 java/lang/Override# public int size() { // ^^^^ definition semanticdb maven . . com/airbnb/epoxy/ModelList#SubList#size(). -// documentation ```java\n@Override\npublic int size()\n``` +// display_name size +// signature_documentation java @Override\npublic int size() +// kind Method // relationship is_reference is_implementation semanticdb maven jdk 11 java/util/AbstractCollection#size(). // relationship is_reference is_implementation semanticdb maven jdk 11 java/util/Collection#size(). // relationship is_reference is_implementation semanticdb maven jdk 11 java/util/List#size(). @@ -1440,9 +1737,13 @@ public int size() { void sizeChanged(boolean increment) { // ^^^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/ModelList#SubList#sizeChanged(). -// documentation ```java\nvoid sizeChanged(boolean increment)\n``` +// display_name sizeChanged +// signature_documentation java void sizeChanged(boolean increment) +// kind Method // ^^^^^^^^^ definition local 67 -// documentation ```java\nboolean increment\n``` +// display_name increment +// signature_documentation java boolean increment +// enclosing_symbol semanticdb maven . . com/airbnb/epoxy/ModelList#SubList#sizeChanged(). if (increment) { // ^^^^^^^^^ reference local 67 size++; diff --git a/tests/snapshots/src/main/generated/com/airbnb/epoxy/ModelState.java b/tests/snapshots/src/main/generated/com/airbnb/epoxy/ModelState.java index 4f05d9dd4..0d801d62d 100644 --- a/tests/snapshots/src/main/generated/com/airbnb/epoxy/ModelState.java +++ b/tests/snapshots/src/main/generated/com/airbnb/epoxy/ModelState.java @@ -3,23 +3,35 @@ /** Helper to store relevant information about a model that we need to determine if it changed. */ class ModelState { // ^^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/ModelState# -// documentation ```java\nclass ModelState\n``` +// display_name ModelState +// signature_documentation java class ModelState +// kind Class // documentation Helper to store relevant information about a model that we need to determine if it changed. // ^^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/ModelState#``(). -// documentation ```java\nModelState()\n``` +// display_name +// signature_documentation java ModelState() +// kind Constructor long id; // ^^ definition semanticdb maven . . com/airbnb/epoxy/ModelState#id. -// documentation ```java\nlong id\n``` +// display_name id +// signature_documentation java long id +// kind Field int hashCode; // ^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/ModelState#hashCode. -// documentation ```java\nint hashCode\n``` +// display_name hashCode +// signature_documentation java int hashCode +// kind Field int position; // ^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/ModelState#position. -// documentation ```java\nint position\n``` +// display_name position +// signature_documentation java int position +// kind Field EpoxyModel model; //^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/EpoxyModel# // ^^^^^ definition semanticdb maven . . com/airbnb/epoxy/ModelState#model. -// documentation ```java\nEpoxyModel model\n``` +// display_name model +// signature_documentation java EpoxyModel model +// kind Field /** * A link to the item with the same id in the other list when diffing two lists. This will be null @@ -29,7 +41,9 @@ class ModelState { ModelState pair; //^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/ModelState# // ^^^^ definition semanticdb maven . . com/airbnb/epoxy/ModelState#pair. -// documentation ```java\nModelState pair\n``` +// display_name pair +// signature_documentation java ModelState pair +// kind Field // documentation A link to the item with the same id in the other list when diffing two lists. This will be null\n if the item doesn't exist, in the case of insertions or removals. This is an optimization to\n prevent having to look up the matching pair in a hash map every time.\n /** @@ -42,24 +56,37 @@ class ModelState { */ int lastMoveOp; // ^^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/ModelState#lastMoveOp. -// documentation ```java\nint lastMoveOp\n``` +// display_name lastMoveOp +// signature_documentation java int lastMoveOp +// kind Field // documentation How many movement operations have been applied to this item in order to update its position. As\n we find more item movements we need to update the position of affected items in the list in\n order to correctly calculate the next movement. Instead of iterating through all items in the\n list every time a movement operation happens we keep track of how many of these operations have\n been applied to an item, and apply all new operations in order when we need to get this item's\n up to date position.\n static ModelState build(EpoxyModel model, int position, boolean immutableModel) { // ^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/ModelState# // ^^^^^ definition semanticdb maven . . com/airbnb/epoxy/ModelState#build(). -// documentation ```java\nstatic ModelState build(EpoxyModel model, int position, boolean immutableModel)\n``` +// display_name build +// signature_documentation java static ModelState build(EpoxyModel model, int position, boolean immutableModel) +// kind StaticMethod // ^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/EpoxyModel# // ^^^^^ definition local 0 -// documentation ```java\nEpoxyModel model\n``` +// display_name model +// signature_documentation java EpoxyModel model +// enclosing_symbol semanticdb maven . . com/airbnb/epoxy/ModelState#build(). // ^^^^^^^^ definition local 1 -// documentation ```java\nint position\n``` +// display_name position +// signature_documentation java int position +// enclosing_symbol semanticdb maven . . com/airbnb/epoxy/ModelState#build(). // ^^^^^^^^^^^^^^ definition local 2 -// documentation ```java\nboolean immutableModel\n``` +// display_name immutableModel +// signature_documentation java boolean immutableModel +// enclosing_symbol semanticdb maven . . com/airbnb/epoxy/ModelState#build(). ModelState state = new ModelState(); // ^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/ModelState# // ^^^^^ definition local 3 -// documentation ```java\nModelState state\n``` +// display_name state +// signature_documentation java ModelState state +// enclosing_symbol semanticdb maven . . com/airbnb/epoxy/ModelState#build(). +// kind Variable // ^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/ModelState#``(). state.lastMoveOp = 0; @@ -102,7 +129,9 @@ static ModelState build(EpoxyModel model, int position, boolean immutableMode */ void pairWithSelf() { // ^^^^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/ModelState#pairWithSelf(). -// documentation ```java\nvoid pairWithSelf()\n``` +// display_name pairWithSelf +// signature_documentation java void pairWithSelf() +// kind Method // documentation Used for an item inserted into the new list when we need to track moves that effect the\n inserted item in the old list.\n if (pair != null) { // ^^^^ reference semanticdb maven . . com/airbnb/epoxy/ModelState#pair. @@ -142,7 +171,9 @@ void pairWithSelf() { public String toString() { // ^^^^^^ reference semanticdb maven jdk 11 java/lang/String# // ^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/ModelState#toString(). -// documentation ```java\n@Override\npublic String toString()\n``` +// display_name toString +// signature_documentation java @Override\npublic String toString() +// kind Method // relationship is_reference is_implementation semanticdb maven jdk 11 java/lang/Object#toString(). return "ModelState{" + "id=" + id diff --git a/tests/snapshots/src/main/generated/com/airbnb/epoxy/NoOpControllerHelper.java b/tests/snapshots/src/main/generated/com/airbnb/epoxy/NoOpControllerHelper.java index fe2383b69..1d4cd59f6 100644 --- a/tests/snapshots/src/main/generated/com/airbnb/epoxy/NoOpControllerHelper.java +++ b/tests/snapshots/src/main/generated/com/airbnb/epoxy/NoOpControllerHelper.java @@ -6,11 +6,15 @@ */ class NoOpControllerHelper extends ControllerHelper { // ^^^^^^^^^^^^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/NoOpControllerHelper# -// documentation ```java\nclass NoOpControllerHelper\n``` +// display_name NoOpControllerHelper +// signature_documentation java class NoOpControllerHelper +// kind Class // documentation A {@link ControllerHelper} implementation for adapters with no {@link\n com.airbnb.epoxy.AutoModel} usage.\n // relationship is_implementation semanticdb maven . . com/airbnb/epoxy/ControllerHelper# // ^^^^^^^^^^^^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/NoOpControllerHelper#``(). -// documentation ```java\nNoOpControllerHelper()\n``` +// display_name +// signature_documentation java NoOpControllerHelper() +// kind Constructor // ^^^^^^^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/ControllerHelper# // ^^^^^^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/EpoxyController# @@ -18,7 +22,9 @@ class NoOpControllerHelper extends ControllerHelper { // ^^^^^^^^ reference semanticdb maven jdk 11 java/lang/Override# public void resetAutoModels() { // ^^^^^^^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/NoOpControllerHelper#resetAutoModels(). -// documentation ```java\n@Override\npublic void resetAutoModels()\n``` +// display_name resetAutoModels +// signature_documentation java @Override\npublic void resetAutoModels() +// kind Method // relationship is_reference is_implementation semanticdb maven . . com/airbnb/epoxy/ControllerHelper#resetAutoModels(). // No - Op } diff --git a/tests/snapshots/src/main/generated/com/airbnb/epoxy/NoOpTimer.java b/tests/snapshots/src/main/generated/com/airbnb/epoxy/NoOpTimer.java index 7b2f682cd..7e8b3646c 100644 --- a/tests/snapshots/src/main/generated/com/airbnb/epoxy/NoOpTimer.java +++ b/tests/snapshots/src/main/generated/com/airbnb/epoxy/NoOpTimer.java @@ -2,20 +2,28 @@ class NoOpTimer implements Timer { // ^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/NoOpTimer# -// documentation ```java\nclass NoOpTimer\n``` +// display_name NoOpTimer +// signature_documentation java class NoOpTimer +// kind Class // relationship is_implementation semanticdb maven . . com/airbnb/epoxy/Timer# // ^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/NoOpTimer#``(). -// documentation ```java\nNoOpTimer()\n``` +// display_name +// signature_documentation java NoOpTimer() +// kind Constructor // ^^^^^ reference semanticdb maven . . com/airbnb/epoxy/Timer# @Override // ^^^^^^^^ reference semanticdb maven jdk 11 java/lang/Override# public void start(String sectionName) { // ^^^^^ definition semanticdb maven . . com/airbnb/epoxy/NoOpTimer#start(). -// documentation ```java\n@Override\npublic void start(String sectionName)\n``` +// display_name start +// signature_documentation java @Override\npublic void start(String sectionName) +// kind Method // relationship is_reference is_implementation semanticdb maven . . com/airbnb/epoxy/Timer#start(). // ^^^^^^ reference semanticdb maven jdk 11 java/lang/String# // ^^^^^^^^^^^ definition local 0 -// documentation ```java\nString sectionName\n``` +// display_name sectionName +// signature_documentation java String sectionName +// enclosing_symbol semanticdb maven . . com/airbnb/epoxy/NoOpTimer#start(). } @@ -23,7 +31,9 @@ public void start(String sectionName) { // ^^^^^^^^ reference semanticdb maven jdk 11 java/lang/Override# public void stop() { // ^^^^ definition semanticdb maven . . com/airbnb/epoxy/NoOpTimer#stop(). -// documentation ```java\n@Override\npublic void stop()\n``` +// display_name stop +// signature_documentation java @Override\npublic void stop() +// kind Method // relationship is_reference is_implementation semanticdb maven . . com/airbnb/epoxy/Timer#stop(). } diff --git a/tests/snapshots/src/main/generated/com/airbnb/epoxy/NotifyBlocker.java b/tests/snapshots/src/main/generated/com/airbnb/epoxy/NotifyBlocker.java index 0006c74f7..56bba69e9 100644 --- a/tests/snapshots/src/main/generated/com/airbnb/epoxy/NotifyBlocker.java +++ b/tests/snapshots/src/main/generated/com/airbnb/epoxy/NotifyBlocker.java @@ -16,27 +16,37 @@ */ class NotifyBlocker extends AdapterDataObserver { // ^^^^^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/NotifyBlocker# -// documentation ```java\nclass NotifyBlocker\n``` +// display_name NotifyBlocker +// signature_documentation java class NotifyBlocker +// kind Class // documentation We don't allow any data change notifications except the ones done though diffing. Forcing\n changes to happen through diffing reduces the chance for developer error when implementing an\n adapter.\n

\n This observer throws upon any changes done outside of diffing.\n // relationship is_implementation semanticdb maven . . AdapterDataObserver# // ^^^^^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/NotifyBlocker#``(). -// documentation ```java\nNotifyBlocker()\n``` +// display_name +// signature_documentation java NotifyBlocker() +// kind Constructor // ^^^^^^^^^^^^^^^^^^^ reference semanticdb maven . . AdapterDataObserver# private boolean changesAllowed; // ^^^^^^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/NotifyBlocker#changesAllowed. -// documentation ```java\nprivate boolean changesAllowed\n``` +// display_name changesAllowed +// signature_documentation java private boolean changesAllowed +// kind Field void allowChanges() { // ^^^^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/NotifyBlocker#allowChanges(). -// documentation ```java\nvoid allowChanges()\n``` +// display_name allowChanges +// signature_documentation java void allowChanges() +// kind Method changesAllowed = true; // ^^^^^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/NotifyBlocker#changesAllowed. } void blockChanges() { // ^^^^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/NotifyBlocker#blockChanges(). -// documentation ```java\nvoid blockChanges()\n``` +// display_name blockChanges +// signature_documentation java void blockChanges() +// kind Method changesAllowed = false; // ^^^^^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/NotifyBlocker#changesAllowed. } @@ -45,7 +55,9 @@ void blockChanges() { // ^^^^^^^^ reference semanticdb maven jdk 11 java/lang/Override# public void onChanged() { // ^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/NotifyBlocker#onChanged(). -// documentation ```java\n@Override\npublic void onChanged()\n``` +// display_name onChanged +// signature_documentation java @Override\npublic void onChanged() +// kind Method if (!changesAllowed) { // ^^^^^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/NotifyBlocker#changesAllowed. throw new IllegalStateException( @@ -58,11 +70,17 @@ public void onChanged() { // ^^^^^^^^ reference semanticdb maven jdk 11 java/lang/Override# public void onItemRangeChanged(int positionStart, int itemCount) { // ^^^^^^^^^^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/NotifyBlocker#onItemRangeChanged(). -// documentation ```java\n@Override\npublic void onItemRangeChanged(int positionStart, int itemCount)\n``` +// display_name onItemRangeChanged +// signature_documentation java @Override\npublic void onItemRangeChanged(int positionStart, int itemCount) +// kind Method // ^^^^^^^^^^^^^ definition local 0 -// documentation ```java\nint positionStart\n``` +// display_name positionStart +// signature_documentation java int positionStart +// enclosing_symbol semanticdb maven . . com/airbnb/epoxy/NotifyBlocker#onItemRangeChanged(). // ^^^^^^^^^ definition local 1 -// documentation ```java\nint itemCount\n``` +// display_name itemCount +// signature_documentation java int itemCount +// enclosing_symbol semanticdb maven . . com/airbnb/epoxy/NotifyBlocker#onItemRangeChanged(). onChanged(); // ^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/NotifyBlocker#onChanged(). } @@ -71,14 +89,22 @@ public void onItemRangeChanged(int positionStart, int itemCount) { // ^^^^^^^^ reference semanticdb maven jdk 11 java/lang/Override# public void onItemRangeChanged(int positionStart, int itemCount, Object payload) { // ^^^^^^^^^^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/NotifyBlocker#onItemRangeChanged(+1). -// documentation ```java\n@Override\npublic void onItemRangeChanged(int positionStart, int itemCount, Object payload)\n``` +// display_name onItemRangeChanged +// signature_documentation java @Override\npublic void onItemRangeChanged(int positionStart, int itemCount, Object payload) +// kind Method // ^^^^^^^^^^^^^ definition local 2 -// documentation ```java\nint positionStart\n``` +// display_name positionStart +// signature_documentation java int positionStart +// enclosing_symbol semanticdb maven . . com/airbnb/epoxy/NotifyBlocker#onItemRangeChanged(+1). // ^^^^^^^^^ definition local 3 -// documentation ```java\nint itemCount\n``` +// display_name itemCount +// signature_documentation java int itemCount +// enclosing_symbol semanticdb maven . . com/airbnb/epoxy/NotifyBlocker#onItemRangeChanged(+1). // ^^^^^^ reference semanticdb maven jdk 11 java/lang/Object# // ^^^^^^^ definition local 4 -// documentation ```java\nObject payload\n``` +// display_name payload +// signature_documentation java Object payload +// enclosing_symbol semanticdb maven . . com/airbnb/epoxy/NotifyBlocker#onItemRangeChanged(+1). onChanged(); // ^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/NotifyBlocker#onChanged(). } @@ -87,11 +113,17 @@ public void onItemRangeChanged(int positionStart, int itemCount, Object payload) // ^^^^^^^^ reference semanticdb maven jdk 11 java/lang/Override# public void onItemRangeInserted(int positionStart, int itemCount) { // ^^^^^^^^^^^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/NotifyBlocker#onItemRangeInserted(). -// documentation ```java\n@Override\npublic void onItemRangeInserted(int positionStart, int itemCount)\n``` +// display_name onItemRangeInserted +// signature_documentation java @Override\npublic void onItemRangeInserted(int positionStart, int itemCount) +// kind Method // ^^^^^^^^^^^^^ definition local 5 -// documentation ```java\nint positionStart\n``` +// display_name positionStart +// signature_documentation java int positionStart +// enclosing_symbol semanticdb maven . . com/airbnb/epoxy/NotifyBlocker#onItemRangeInserted(). // ^^^^^^^^^ definition local 6 -// documentation ```java\nint itemCount\n``` +// display_name itemCount +// signature_documentation java int itemCount +// enclosing_symbol semanticdb maven . . com/airbnb/epoxy/NotifyBlocker#onItemRangeInserted(). onChanged(); // ^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/NotifyBlocker#onChanged(). } @@ -100,11 +132,17 @@ public void onItemRangeInserted(int positionStart, int itemCount) { // ^^^^^^^^ reference semanticdb maven jdk 11 java/lang/Override# public void onItemRangeRemoved(int positionStart, int itemCount) { // ^^^^^^^^^^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/NotifyBlocker#onItemRangeRemoved(). -// documentation ```java\n@Override\npublic void onItemRangeRemoved(int positionStart, int itemCount)\n``` +// display_name onItemRangeRemoved +// signature_documentation java @Override\npublic void onItemRangeRemoved(int positionStart, int itemCount) +// kind Method // ^^^^^^^^^^^^^ definition local 7 -// documentation ```java\nint positionStart\n``` +// display_name positionStart +// signature_documentation java int positionStart +// enclosing_symbol semanticdb maven . . com/airbnb/epoxy/NotifyBlocker#onItemRangeRemoved(). // ^^^^^^^^^ definition local 8 -// documentation ```java\nint itemCount\n``` +// display_name itemCount +// signature_documentation java int itemCount +// enclosing_symbol semanticdb maven . . com/airbnb/epoxy/NotifyBlocker#onItemRangeRemoved(). onChanged(); // ^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/NotifyBlocker#onChanged(). } @@ -113,13 +151,21 @@ public void onItemRangeRemoved(int positionStart, int itemCount) { // ^^^^^^^^ reference semanticdb maven jdk 11 java/lang/Override# public void onItemRangeMoved(int fromPosition, int toPosition, int itemCount) { // ^^^^^^^^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/NotifyBlocker#onItemRangeMoved(). -// documentation ```java\n@Override\npublic void onItemRangeMoved(int fromPosition, int toPosition, int itemCount)\n``` +// display_name onItemRangeMoved +// signature_documentation java @Override\npublic void onItemRangeMoved(int fromPosition, int toPosition, int itemCount) +// kind Method // ^^^^^^^^^^^^ definition local 9 -// documentation ```java\nint fromPosition\n``` +// display_name fromPosition +// signature_documentation java int fromPosition +// enclosing_symbol semanticdb maven . . com/airbnb/epoxy/NotifyBlocker#onItemRangeMoved(). // ^^^^^^^^^^ definition local 10 -// documentation ```java\nint toPosition\n``` +// display_name toPosition +// signature_documentation java int toPosition +// enclosing_symbol semanticdb maven . . com/airbnb/epoxy/NotifyBlocker#onItemRangeMoved(). // ^^^^^^^^^ definition local 11 -// documentation ```java\nint itemCount\n``` +// display_name itemCount +// signature_documentation java int itemCount +// enclosing_symbol semanticdb maven . . com/airbnb/epoxy/NotifyBlocker#onItemRangeMoved(). onChanged(); // ^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/NotifyBlocker#onChanged(). } diff --git a/tests/snapshots/src/main/generated/com/airbnb/epoxy/OnModelBoundListener.java b/tests/snapshots/src/main/generated/com/airbnb/epoxy/OnModelBoundListener.java index 7e3d6a2b0..0f14691ca 100644 --- a/tests/snapshots/src/main/generated/com/airbnb/epoxy/OnModelBoundListener.java +++ b/tests/snapshots/src/main/generated/com/airbnb/epoxy/OnModelBoundListener.java @@ -3,13 +3,19 @@ /** Used to register an onBind callback with a generated model. */ public interface OnModelBoundListener, V> { // ^^^^^^^^^^^^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/OnModelBoundListener# -// documentation ```java\npublic interface OnModelBoundListener, V>\n``` +// display_name OnModelBoundListener +// signature_documentation java public interface OnModelBoundListener, V> +// kind Interface // documentation Used to register an onBind callback with a generated model. // ^ definition semanticdb maven . . com/airbnb/epoxy/OnModelBoundListener#[T] -// documentation ```java\nT extends EpoxyModel\n``` +// display_name T +// signature_documentation java T extends EpoxyModel +// kind TypeParameter // ^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/EpoxyModel# // ^ definition semanticdb maven . . com/airbnb/epoxy/OnModelBoundListener#[V] -// documentation ```java\nV\n``` +// display_name V +// signature_documentation java V +// kind TypeParameter /** * This will be called immediately after a model was bound, with the model and view that were * bound together. @@ -20,14 +26,22 @@ public interface OnModelBoundListener, V> { */ void onModelBound(T model, V view, int position); // ^^^^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/OnModelBoundListener#onModelBound(). -// documentation ```java\npublic abstract void onModelBound(T model, V view, int position)\n``` +// display_name onModelBound +// signature_documentation java public abstract void onModelBound(T model, V view, int position) +// kind AbstractMethod // documentation This will be called immediately after a model was bound, with the model and view that were\n bound together.\n\n @param model The model being bound\n @param view The view that is being bound to the model\n @param position The adapter position of the model\n // ^ reference semanticdb maven . . com/airbnb/epoxy/OnModelBoundListener#[T] // ^^^^^ definition local 0 -// documentation ```java\nT model\n``` +// display_name model +// signature_documentation java T model +// enclosing_symbol semanticdb maven . . com/airbnb/epoxy/OnModelBoundListener#onModelBound(). // ^ reference semanticdb maven . . com/airbnb/epoxy/OnModelBoundListener#[V] // ^^^^ definition local 1 -// documentation ```java\nV view\n``` +// display_name view +// signature_documentation java V view +// enclosing_symbol semanticdb maven . . com/airbnb/epoxy/OnModelBoundListener#onModelBound(). // ^^^^^^^^ definition local 2 -// documentation ```java\nint position\n``` +// display_name position +// signature_documentation java int position +// enclosing_symbol semanticdb maven . . com/airbnb/epoxy/OnModelBoundListener#onModelBound(). } diff --git a/tests/snapshots/src/main/generated/com/airbnb/epoxy/OnModelBuildFinishedListener.java b/tests/snapshots/src/main/generated/com/airbnb/epoxy/OnModelBuildFinishedListener.java index 4484dc923..fcc771476 100644 --- a/tests/snapshots/src/main/generated/com/airbnb/epoxy/OnModelBuildFinishedListener.java +++ b/tests/snapshots/src/main/generated/com/airbnb/epoxy/OnModelBuildFinishedListener.java @@ -11,7 +11,9 @@ */ public interface OnModelBuildFinishedListener { // ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/OnModelBuildFinishedListener# -// documentation ```java\npublic interface OnModelBuildFinishedListener\n``` +// display_name OnModelBuildFinishedListener +// signature_documentation java public interface OnModelBuildFinishedListener +// kind Interface // documentation Used with {@link EpoxyController#addModelBuildListener(OnModelBuildFinishedListener)} to be\n alerted to new model changes.\n /** * Called after {@link EpoxyController#buildModels()} has run and changes have been notified to @@ -19,10 +21,14 @@ public interface OnModelBuildFinishedListener { */ void onModelBuildFinished(@NonNull DiffResult result); // ^^^^^^^^^^^^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/OnModelBuildFinishedListener#onModelBuildFinished(). -// documentation ```java\npublic abstract void onModelBuildFinished(DiffResult result)\n``` +// display_name onModelBuildFinished +// signature_documentation java public abstract void onModelBuildFinished(DiffResult result) +// kind AbstractMethod // documentation Called after {@link EpoxyController#buildModels()} has run and changes have been notified to\n the adapter. This will be called even if no changes existed.\n // ^^^^^^^ reference semanticdb maven maven/androidx.annotation/annotation 1.1.0 androidx/annotation/NonNull# // ^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/DiffResult# // ^^^^^^ definition local 0 -// documentation ```java\n@NonNull\nDiffResult result\n``` +// display_name result +// signature_documentation java @NonNull\nDiffResult result +// enclosing_symbol semanticdb maven . . com/airbnb/epoxy/OnModelBuildFinishedListener#onModelBuildFinished(). } diff --git a/tests/snapshots/src/main/generated/com/airbnb/epoxy/OnModelCheckedChangeListener.java b/tests/snapshots/src/main/generated/com/airbnb/epoxy/OnModelCheckedChangeListener.java index 0209499a3..0858ccd34 100644 --- a/tests/snapshots/src/main/generated/com/airbnb/epoxy/OnModelCheckedChangeListener.java +++ b/tests/snapshots/src/main/generated/com/airbnb/epoxy/OnModelCheckedChangeListener.java @@ -7,12 +7,18 @@ public interface OnModelCheckedChangeListener, V> { // ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/OnModelCheckedChangeListener# -// documentation ```java\npublic interface OnModelCheckedChangeListener, V>\n``` +// display_name OnModelCheckedChangeListener +// signature_documentation java public interface OnModelCheckedChangeListener, V> +// kind Interface // ^ definition semanticdb maven . . com/airbnb/epoxy/OnModelCheckedChangeListener#[T] -// documentation ```java\nT extends EpoxyModel\n``` +// display_name T +// signature_documentation java T extends EpoxyModel +// kind TypeParameter // ^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/EpoxyModel# // ^ definition semanticdb maven . . com/airbnb/epoxy/OnModelCheckedChangeListener#[V] -// documentation ```java\nV\n``` +// display_name V +// signature_documentation java V +// kind TypeParameter /** * Called when the view bound to the model is checked. * @@ -25,20 +31,32 @@ public interface OnModelCheckedChangeListener, V> { */ void onChecked(T model, V parentView, // ^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/OnModelCheckedChangeListener#onChecked(). -// documentation ```java\npublic abstract void onChecked(T model, V parentView, unresolved_type checkedView, boolean isChecked, int position)\n``` +// display_name onChecked +// signature_documentation java public abstract void onChecked(T model, V parentView, unresolved_type checkedView, boolean isChecked, int position) +// kind AbstractMethod // documentation Called when the view bound to the model is checked.\n\n @param model The model that the view is bound to.\n @param parentView The view bound to the model which received the click.\n @param checkedView The view that received the click. This is either a child of the parentView\n or the parentView itself\n @param isChecked The new value for isChecked property.\n @param position The position of the model in the adapter.\n // ^ reference semanticdb maven . . com/airbnb/epoxy/OnModelCheckedChangeListener#[T] // ^^^^^ definition local 0 -// documentation ```java\nT model\n``` +// display_name model +// signature_documentation java T model +// enclosing_symbol semanticdb maven . . com/airbnb/epoxy/OnModelCheckedChangeListener#onChecked(). // ^ reference semanticdb maven . . com/airbnb/epoxy/OnModelCheckedChangeListener#[V] // ^^^^^^^^^^ definition local 1 -// documentation ```java\nV parentView\n``` +// display_name parentView +// signature_documentation java V parentView +// enclosing_symbol semanticdb maven . . com/airbnb/epoxy/OnModelCheckedChangeListener#onChecked(). CompoundButton checkedView, boolean isChecked, int position); // ^^^^^^^^^^^^^^ reference semanticdb maven . . CompoundButton# // ^^^^^^^^^^^ definition local 2 -// documentation ```java\nunresolved_type checkedView\n``` +// display_name checkedView +// signature_documentation java unresolved_type checkedView +// enclosing_symbol semanticdb maven . . com/airbnb/epoxy/OnModelCheckedChangeListener#onChecked(). // ^^^^^^^^^ definition local 3 -// documentation ```java\nboolean isChecked\n``` +// display_name isChecked +// signature_documentation java boolean isChecked +// enclosing_symbol semanticdb maven . . com/airbnb/epoxy/OnModelCheckedChangeListener#onChecked(). // ^^^^^^^^ definition local 4 -// documentation ```java\nint position\n``` +// display_name position +// signature_documentation java int position +// enclosing_symbol semanticdb maven . . com/airbnb/epoxy/OnModelCheckedChangeListener#onChecked(). } diff --git a/tests/snapshots/src/main/generated/com/airbnb/epoxy/OnModelClickListener.java b/tests/snapshots/src/main/generated/com/airbnb/epoxy/OnModelClickListener.java index e2f6d8ea4..a875f8c9d 100644 --- a/tests/snapshots/src/main/generated/com/airbnb/epoxy/OnModelClickListener.java +++ b/tests/snapshots/src/main/generated/com/airbnb/epoxy/OnModelClickListener.java @@ -8,13 +8,19 @@ /** Used to register a click listener on a generated model. */ public interface OnModelClickListener, V> { // ^^^^^^^^^^^^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/OnModelClickListener# -// documentation ```java\npublic interface OnModelClickListener, V>\n``` +// display_name OnModelClickListener +// signature_documentation java public interface OnModelClickListener, V> +// kind Interface // documentation Used to register a click listener on a generated model. // ^ definition semanticdb maven . . com/airbnb/epoxy/OnModelClickListener#[T] -// documentation ```java\nT extends EpoxyModel\n``` +// display_name T +// signature_documentation java T extends EpoxyModel +// kind TypeParameter // ^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/EpoxyModel# // ^ definition semanticdb maven . . com/airbnb/epoxy/OnModelClickListener#[V] -// documentation ```java\nV\n``` +// display_name V +// signature_documentation java V +// kind TypeParameter /** * Called when the view bound to the model is clicked. * @@ -26,17 +32,27 @@ public interface OnModelClickListener, V> { */ void onClick(T model, V parentView, View clickedView, int position); // ^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/OnModelClickListener#onClick(). -// documentation ```java\npublic abstract void onClick(T model, V parentView, unresolved_type clickedView, int position)\n``` +// display_name onClick +// signature_documentation java public abstract void onClick(T model, V parentView, unresolved_type clickedView, int position) +// kind AbstractMethod // documentation Called when the view bound to the model is clicked.\n\n @param model The model that the view is bound to.\n @param parentView The view bound to the model which received the click.\n @param clickedView The view that received the click. This is either a child of the parentView\n or the parentView itself\n @param position The position of the model in the adapter.\n // ^ reference semanticdb maven . . com/airbnb/epoxy/OnModelClickListener#[T] // ^^^^^ definition local 0 -// documentation ```java\nT model\n``` +// display_name model +// signature_documentation java T model +// enclosing_symbol semanticdb maven . . com/airbnb/epoxy/OnModelClickListener#onClick(). // ^ reference semanticdb maven . . com/airbnb/epoxy/OnModelClickListener#[V] // ^^^^^^^^^^ definition local 1 -// documentation ```java\nV parentView\n``` +// display_name parentView +// signature_documentation java V parentView +// enclosing_symbol semanticdb maven . . com/airbnb/epoxy/OnModelClickListener#onClick(). // ^^^^ reference semanticdb maven . . View# // ^^^^^^^^^^^ definition local 2 -// documentation ```java\nunresolved_type clickedView\n``` +// display_name clickedView +// signature_documentation java unresolved_type clickedView +// enclosing_symbol semanticdb maven . . com/airbnb/epoxy/OnModelClickListener#onClick(). // ^^^^^^^^ definition local 3 -// documentation ```java\nint position\n``` +// display_name position +// signature_documentation java int position +// enclosing_symbol semanticdb maven . . com/airbnb/epoxy/OnModelClickListener#onClick(). } diff --git a/tests/snapshots/src/main/generated/com/airbnb/epoxy/OnModelLongClickListener.java b/tests/snapshots/src/main/generated/com/airbnb/epoxy/OnModelLongClickListener.java index e48a520dc..5b94ab80d 100644 --- a/tests/snapshots/src/main/generated/com/airbnb/epoxy/OnModelLongClickListener.java +++ b/tests/snapshots/src/main/generated/com/airbnb/epoxy/OnModelLongClickListener.java @@ -7,12 +7,18 @@ public interface OnModelLongClickListener, V> { // ^^^^^^^^^^^^^^^^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/OnModelLongClickListener# -// documentation ```java\npublic interface OnModelLongClickListener, V>\n``` +// display_name OnModelLongClickListener +// signature_documentation java public interface OnModelLongClickListener, V> +// kind Interface // ^ definition semanticdb maven . . com/airbnb/epoxy/OnModelLongClickListener#[T] -// documentation ```java\nT extends EpoxyModel\n``` +// display_name T +// signature_documentation java T extends EpoxyModel +// kind TypeParameter // ^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/EpoxyModel# // ^ definition semanticdb maven . . com/airbnb/epoxy/OnModelLongClickListener#[V] -// documentation ```java\nV\n``` +// display_name V +// signature_documentation java V +// kind TypeParameter /** * Called when the view bound to the model is clicked. * @@ -24,17 +30,27 @@ public interface OnModelLongClickListener, V> { */ boolean onLongClick(T model, V parentView, View clickedView, int position); // ^^^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/OnModelLongClickListener#onLongClick(). -// documentation ```java\npublic abstract boolean onLongClick(T model, V parentView, unresolved_type clickedView, int position)\n``` +// display_name onLongClick +// signature_documentation java public abstract boolean onLongClick(T model, V parentView, unresolved_type clickedView, int position) +// kind AbstractMethod // documentation Called when the view bound to the model is clicked.\n\n @param model The model that the view is bound to.\n @param parentView The view bound to the model which received the click.\n @param clickedView The view that received the click. This is either a child of the parentView\n or the parentView itself\n @param position The position of the model in the adapter.\n // ^ reference semanticdb maven . . com/airbnb/epoxy/OnModelLongClickListener#[T] // ^^^^^ definition local 0 -// documentation ```java\nT model\n``` +// display_name model +// signature_documentation java T model +// enclosing_symbol semanticdb maven . . com/airbnb/epoxy/OnModelLongClickListener#onLongClick(). // ^ reference semanticdb maven . . com/airbnb/epoxy/OnModelLongClickListener#[V] // ^^^^^^^^^^ definition local 1 -// documentation ```java\nV parentView\n``` +// display_name parentView +// signature_documentation java V parentView +// enclosing_symbol semanticdb maven . . com/airbnb/epoxy/OnModelLongClickListener#onLongClick(). // ^^^^ reference semanticdb maven . . View# // ^^^^^^^^^^^ definition local 2 -// documentation ```java\nunresolved_type clickedView\n``` +// display_name clickedView +// signature_documentation java unresolved_type clickedView +// enclosing_symbol semanticdb maven . . com/airbnb/epoxy/OnModelLongClickListener#onLongClick(). // ^^^^^^^^ definition local 3 -// documentation ```java\nint position\n``` +// display_name position +// signature_documentation java int position +// enclosing_symbol semanticdb maven . . com/airbnb/epoxy/OnModelLongClickListener#onLongClick(). } diff --git a/tests/snapshots/src/main/generated/com/airbnb/epoxy/OnModelUnboundListener.java b/tests/snapshots/src/main/generated/com/airbnb/epoxy/OnModelUnboundListener.java index 7d15bc63b..7a2eae635 100644 --- a/tests/snapshots/src/main/generated/com/airbnb/epoxy/OnModelUnboundListener.java +++ b/tests/snapshots/src/main/generated/com/airbnb/epoxy/OnModelUnboundListener.java @@ -3,25 +3,37 @@ /** Used to register an onUnbind callback with a generated model. */ public interface OnModelUnboundListener, V> { // ^^^^^^^^^^^^^^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/OnModelUnboundListener# -// documentation ```java\npublic interface OnModelUnboundListener, V>\n``` +// display_name OnModelUnboundListener +// signature_documentation java public interface OnModelUnboundListener, V> +// kind Interface // documentation Used to register an onUnbind callback with a generated model. // ^ definition semanticdb maven . . com/airbnb/epoxy/OnModelUnboundListener#[T] -// documentation ```java\nT extends EpoxyModel\n``` +// display_name T +// signature_documentation java T extends EpoxyModel +// kind TypeParameter // ^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/EpoxyModel# // ^ definition semanticdb maven . . com/airbnb/epoxy/OnModelUnboundListener#[V] -// documentation ```java\nV\n``` +// display_name V +// signature_documentation java V +// kind TypeParameter /** * This will be called immediately after a model is unbound from a view, with the view and model * that were unbound. */ void onModelUnbound(T model, V view); // ^^^^^^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/OnModelUnboundListener#onModelUnbound(). -// documentation ```java\npublic abstract void onModelUnbound(T model, V view)\n``` +// display_name onModelUnbound +// signature_documentation java public abstract void onModelUnbound(T model, V view) +// kind AbstractMethod // documentation This will be called immediately after a model is unbound from a view, with the view and model\n that were unbound.\n // ^ reference semanticdb maven . . com/airbnb/epoxy/OnModelUnboundListener#[T] // ^^^^^ definition local 0 -// documentation ```java\nT model\n``` +// display_name model +// signature_documentation java T model +// enclosing_symbol semanticdb maven . . com/airbnb/epoxy/OnModelUnboundListener#onModelUnbound(). // ^ reference semanticdb maven . . com/airbnb/epoxy/OnModelUnboundListener#[V] // ^^^^ definition local 1 -// documentation ```java\nV view\n``` +// display_name view +// signature_documentation java V view +// enclosing_symbol semanticdb maven . . com/airbnb/epoxy/OnModelUnboundListener#onModelUnbound(). } diff --git a/tests/snapshots/src/main/generated/com/airbnb/epoxy/OnModelVisibilityChangedListener.java b/tests/snapshots/src/main/generated/com/airbnb/epoxy/OnModelVisibilityChangedListener.java index ef272add2..3562338d6 100644 --- a/tests/snapshots/src/main/generated/com/airbnb/epoxy/OnModelVisibilityChangedListener.java +++ b/tests/snapshots/src/main/generated/com/airbnb/epoxy/OnModelVisibilityChangedListener.java @@ -12,14 +12,20 @@ /** Used to register an onVisibilityChanged callback with a generated model. */ public interface OnModelVisibilityChangedListener, V> { // ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/OnModelVisibilityChangedListener# -// documentation ```java\npublic interface OnModelVisibilityChangedListener, V>\n``` +// display_name OnModelVisibilityChangedListener +// signature_documentation java public interface OnModelVisibilityChangedListener, V> +// kind Interface // documentation Used to register an onVisibilityChanged callback with a generated model. // ^ definition semanticdb maven . . com/airbnb/epoxy/OnModelVisibilityChangedListener#[T] -// documentation ```java\nT extends EpoxyModel\n``` +// display_name T +// signature_documentation java T extends EpoxyModel +// kind TypeParameter // ^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/EpoxyModel# // ^ reference semanticdb maven . . com/airbnb/epoxy/OnModelVisibilityChangedListener#[V] // ^ definition semanticdb maven . . com/airbnb/epoxy/OnModelVisibilityChangedListener#[V] -// documentation ```java\nV\n``` +// display_name V +// signature_documentation java V +// kind TypeParameter /** * This will be called once the view visible part changes. @@ -38,31 +44,45 @@ public interface OnModelVisibilityChangedListener, V> { */ void onVisibilityChanged(T model, V view, // ^^^^^^^^^^^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/OnModelVisibilityChangedListener#onVisibilityChanged(). -// documentation ```java\npublic abstract void onVisibilityChanged(T model, V view, float percentVisibleHeight, float percentVisibleWidth, int heightVisible, int widthVisible)\n``` +// display_name onVisibilityChanged +// signature_documentation java public abstract void onVisibilityChanged(T model, V view, float percentVisibleHeight, float percentVisibleWidth, int heightVisible, int widthVisible) +// kind AbstractMethod // documentation This will be called once the view visible part changes.\n

\n OnModelVisibilityChangedListener should be used with particular care since they will be\n dispatched on every frame while scrolling. No heavy work should be done inside the\n implementation. Using {@link OnModelVisibilityStateChangedListener} is recommended whenever\n possible.\n

\n @param model The model being bound\n @param view The view that is being bound to the model\n @param percentVisibleHeight The percentage of height visible (0-100)\n @param percentVisibleWidth The percentage of width visible (0-100)\n @param heightVisible The visible height in pixel\n @param widthVisible The visible width in pixel\n // ^ reference semanticdb maven . . com/airbnb/epoxy/OnModelVisibilityChangedListener#[T] // ^^^^^ definition local 0 -// documentation ```java\nT model\n``` +// display_name model +// signature_documentation java T model +// enclosing_symbol semanticdb maven . . com/airbnb/epoxy/OnModelVisibilityChangedListener#onVisibilityChanged(). // ^ reference semanticdb maven . . com/airbnb/epoxy/OnModelVisibilityChangedListener#[V] // ^^^^ definition local 1 -// documentation ```java\nV view\n``` +// display_name view +// signature_documentation java V view +// enclosing_symbol semanticdb maven . . com/airbnb/epoxy/OnModelVisibilityChangedListener#onVisibilityChanged(). @FloatRange(from = 0, to = 100) float percentVisibleHeight, // ^^^^^^^^^^ reference semanticdb maven maven/androidx.annotation/annotation 1.1.0 androidx/annotation/FloatRange# // ^^^^ reference semanticdb maven maven/androidx.annotation/annotation 1.1.0 androidx/annotation/FloatRange#from(). // ^^ reference semanticdb maven maven/androidx.annotation/annotation 1.1.0 androidx/annotation/FloatRange#to(). // ^^^^^^^^^^^^^^^^^^^^ definition local 2 -// documentation ```java\n@FloatRange(from = 0, to = 100)\nfloat percentVisibleHeight\n``` +// display_name percentVisibleHeight +// signature_documentation java @FloatRange(from = 0, to = 100)\nfloat percentVisibleHeight +// enclosing_symbol semanticdb maven . . com/airbnb/epoxy/OnModelVisibilityChangedListener#onVisibilityChanged(). @FloatRange(from = 0, to = 100) float percentVisibleWidth, // ^^^^^^^^^^ reference semanticdb maven maven/androidx.annotation/annotation 1.1.0 androidx/annotation/FloatRange# // ^^^^ reference semanticdb maven maven/androidx.annotation/annotation 1.1.0 androidx/annotation/FloatRange#from(). // ^^ reference semanticdb maven maven/androidx.annotation/annotation 1.1.0 androidx/annotation/FloatRange#to(). // ^^^^^^^^^^^^^^^^^^^ definition local 3 -// documentation ```java\n@FloatRange(from = 0, to = 100)\nfloat percentVisibleWidth\n``` +// display_name percentVisibleWidth +// signature_documentation java @FloatRange(from = 0, to = 100)\nfloat percentVisibleWidth +// enclosing_symbol semanticdb maven . . com/airbnb/epoxy/OnModelVisibilityChangedListener#onVisibilityChanged(). @Px int heightVisible, @Px int widthVisible); // ^^ reference semanticdb maven maven/androidx.annotation/annotation 1.1.0 androidx/annotation/Px# // ^^^^^^^^^^^^^ definition local 4 -// documentation ```java\n@Px\nint heightVisible\n``` +// display_name heightVisible +// signature_documentation java @Px\nint heightVisible +// enclosing_symbol semanticdb maven . . com/airbnb/epoxy/OnModelVisibilityChangedListener#onVisibilityChanged(). // ^^ reference semanticdb maven maven/androidx.annotation/annotation 1.1.0 androidx/annotation/Px# // ^^^^^^^^^^^^ definition local 5 -// documentation ```java\n@Px\nint widthVisible\n``` +// display_name widthVisible +// signature_documentation java @Px\nint widthVisible +// enclosing_symbol semanticdb maven . . com/airbnb/epoxy/OnModelVisibilityChangedListener#onVisibilityChanged(). } diff --git a/tests/snapshots/src/main/generated/com/airbnb/epoxy/OnModelVisibilityStateChangedListener.java b/tests/snapshots/src/main/generated/com/airbnb/epoxy/OnModelVisibilityStateChangedListener.java index 3f57eb796..4ea16bf3f 100644 --- a/tests/snapshots/src/main/generated/com/airbnb/epoxy/OnModelVisibilityStateChangedListener.java +++ b/tests/snapshots/src/main/generated/com/airbnb/epoxy/OnModelVisibilityStateChangedListener.java @@ -10,14 +10,20 @@ /** Used to register an onVisibilityChanged callback with a generated model. */ public interface OnModelVisibilityStateChangedListener, V> { // ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/OnModelVisibilityStateChangedListener# -// documentation ```java\npublic interface OnModelVisibilityStateChangedListener, V>\n``` +// display_name OnModelVisibilityStateChangedListener +// signature_documentation java public interface OnModelVisibilityStateChangedListener, V> +// kind Interface // documentation Used to register an onVisibilityChanged callback with a generated model. // ^ definition semanticdb maven . . com/airbnb/epoxy/OnModelVisibilityStateChangedListener#[T] -// documentation ```java\nT extends EpoxyModel\n``` +// display_name T +// signature_documentation java T extends EpoxyModel +// kind TypeParameter // ^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/EpoxyModel# // ^ reference semanticdb maven . . com/airbnb/epoxy/OnModelVisibilityStateChangedListener#[V] // ^ definition semanticdb maven . . com/airbnb/epoxy/OnModelVisibilityStateChangedListener#[V] -// documentation ```java\nV\n``` +// display_name V +// signature_documentation java V +// kind TypeParameter /** * This will be called once the visibility changed. @@ -30,15 +36,23 @@ public interface OnModelVisibilityStateChangedListener, */ void onVisibilityStateChanged(T model, V view, @Visibility int visibilityState); // ^^^^^^^^^^^^^^^^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/OnModelVisibilityStateChangedListener#onVisibilityStateChanged(). -// documentation ```java\npublic abstract void onVisibilityStateChanged(T model, V view, int visibilityState)\n``` +// display_name onVisibilityStateChanged +// signature_documentation java public abstract void onVisibilityStateChanged(T model, V view, int visibilityState) +// kind AbstractMethod // documentation This will be called once the visibility changed.\n

\n @param model The model being bound\n @param view The view that is being bound to the model\n @param visibilityState The new visibility\n

\n @see VisibilityState\n // ^ reference semanticdb maven . . com/airbnb/epoxy/OnModelVisibilityStateChangedListener#[T] // ^^^^^ definition local 0 -// documentation ```java\nT model\n``` +// display_name model +// signature_documentation java T model +// enclosing_symbol semanticdb maven . . com/airbnb/epoxy/OnModelVisibilityStateChangedListener#onVisibilityStateChanged(). // ^ reference semanticdb maven . . com/airbnb/epoxy/OnModelVisibilityStateChangedListener#[V] // ^^^^ definition local 1 -// documentation ```java\nV view\n``` +// display_name view +// signature_documentation java V view +// enclosing_symbol semanticdb maven . . com/airbnb/epoxy/OnModelVisibilityStateChangedListener#onVisibilityStateChanged(). // ^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/VisibilityState#Visibility# // ^^^^^^^^^^^^^^^ definition local 2 -// documentation ```java\n@Visibility\nint visibilityState\n``` +// display_name visibilityState +// signature_documentation java @Visibility\nint visibilityState +// enclosing_symbol semanticdb maven . . com/airbnb/epoxy/OnModelVisibilityStateChangedListener#onVisibilityStateChanged(). } diff --git a/tests/snapshots/src/main/generated/com/airbnb/epoxy/QuantityStringResAttribute.java b/tests/snapshots/src/main/generated/com/airbnb/epoxy/QuantityStringResAttribute.java index 5091cc913..cf9fb8c8c 100644 --- a/tests/snapshots/src/main/generated/com/airbnb/epoxy/QuantityStringResAttribute.java +++ b/tests/snapshots/src/main/generated/com/airbnb/epoxy/QuantityStringResAttribute.java @@ -21,33 +21,49 @@ public class QuantityStringResAttribute { // ^^^^^^^^^^^^^^^^^^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/QuantityStringResAttribute# -// documentation ```java\npublic class QuantityStringResAttribute\n``` +// display_name QuantityStringResAttribute +// signature_documentation java public class QuantityStringResAttribute +// kind Class @PluralsRes private final int id; // ^^^^^^^^^^ reference semanticdb maven maven/androidx.annotation/annotation 1.1.0 androidx/annotation/PluralsRes# // ^^ definition semanticdb maven . . com/airbnb/epoxy/QuantityStringResAttribute#id. -// documentation ```java\n@PluralsRes\nprivate final int id\n``` +// display_name id +// signature_documentation java @PluralsRes\nprivate final int id +// kind Field private final int quantity; // ^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/QuantityStringResAttribute#quantity. -// documentation ```java\nprivate final int quantity\n``` +// display_name quantity +// signature_documentation java private final int quantity +// kind Field @Nullable private final Object[] formatArgs; // ^^^^^^^^ reference semanticdb maven maven/androidx.annotation/annotation 1.1.0 androidx/annotation/Nullable# // ^^^^^^ reference semanticdb maven jdk 11 java/lang/Object# // ^^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/QuantityStringResAttribute#formatArgs. -// documentation ```java\n@Nullable\nprivate final Object[] formatArgs\n``` +// display_name formatArgs +// signature_documentation java @Nullable\nprivate final Object[] formatArgs +// kind Field public QuantityStringResAttribute(@PluralsRes int id, int quantity, // ^^^^^^^^^^^^^^^^^^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/QuantityStringResAttribute#``(). -// documentation ```java\npublic QuantityStringResAttribute(int id, int quantity, Object[] formatArgs)\n``` +// display_name +// signature_documentation java public QuantityStringResAttribute(int id, int quantity, Object[] formatArgs) +// kind Constructor // ^^^^^^^^^^ reference semanticdb maven maven/androidx.annotation/annotation 1.1.0 androidx/annotation/PluralsRes# // ^^ definition local 0 -// documentation ```java\n@PluralsRes\nint id\n``` +// display_name id +// signature_documentation java @PluralsRes\nint id +// enclosing_symbol semanticdb maven . . com/airbnb/epoxy/QuantityStringResAttribute#``(). // ^^^^^^^^ definition local 1 -// documentation ```java\nint quantity\n``` +// display_name quantity +// signature_documentation java int quantity +// enclosing_symbol semanticdb maven . . com/airbnb/epoxy/QuantityStringResAttribute#``(). @Nullable Object[] formatArgs) { // ^^^^^^^^ reference semanticdb maven maven/androidx.annotation/annotation 1.1.0 androidx/annotation/Nullable# // ^^^^^^ reference semanticdb maven jdk 11 java/lang/Object# // ^^^^^^^^^^ definition local 2 -// documentation ```java\n@Nullable\nObject[] formatArgs\n``` +// display_name formatArgs +// signature_documentation java @Nullable\nObject[] formatArgs +// enclosing_symbol semanticdb maven . . com/airbnb/epoxy/QuantityStringResAttribute#``(). this.quantity = quantity; // ^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/QuantityStringResAttribute#quantity. // ^^^^^^^^ reference local 1 @@ -61,11 +77,17 @@ public QuantityStringResAttribute(@PluralsRes int id, int quantity, public QuantityStringResAttribute(int id, int quantity) { // ^^^^^^^^^^^^^^^^^^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/QuantityStringResAttribute#``(+1). -// documentation ```java\npublic QuantityStringResAttribute(int id, int quantity)\n``` +// display_name +// signature_documentation java public QuantityStringResAttribute(int id, int quantity) +// kind Constructor // ^^ definition local 3 -// documentation ```java\nint id\n``` +// display_name id +// signature_documentation java int id +// enclosing_symbol semanticdb maven . . com/airbnb/epoxy/QuantityStringResAttribute#``(+1). // ^^^^^^^^ definition local 4 -// documentation ```java\nint quantity\n``` +// display_name quantity +// signature_documentation java int quantity +// enclosing_symbol semanticdb maven . . com/airbnb/epoxy/QuantityStringResAttribute#``(+1). this(id, quantity, null); // ^^^^ reference semanticdb maven . . com/airbnb/epoxy/QuantityStringResAttribute#``(). // ^^ reference local 3 @@ -76,14 +98,18 @@ public QuantityStringResAttribute(int id, int quantity) { // ^^^^^^^^^^ reference semanticdb maven maven/androidx.annotation/annotation 1.1.0 androidx/annotation/PluralsRes# public int getId() { // ^^^^^ definition semanticdb maven . . com/airbnb/epoxy/QuantityStringResAttribute#getId(). -// documentation ```java\n@PluralsRes\npublic int getId()\n``` +// display_name getId +// signature_documentation java @PluralsRes\npublic int getId() +// kind Method return id; // ^^ reference semanticdb maven . . com/airbnb/epoxy/QuantityStringResAttribute#id. } public int getQuantity() { // ^^^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/QuantityStringResAttribute#getQuantity(). -// documentation ```java\npublic int getQuantity()\n``` +// display_name getQuantity +// signature_documentation java public int getQuantity() +// kind Method return quantity; // ^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/QuantityStringResAttribute#quantity. } @@ -93,7 +119,9 @@ public int getQuantity() { public Object[] getFormatArgs() { // ^^^^^^ reference semanticdb maven jdk 11 java/lang/Object# // ^^^^^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/QuantityStringResAttribute#getFormatArgs(). -// documentation ```java\n@Nullable\npublic Object[] getFormatArgs()\n``` +// display_name getFormatArgs +// signature_documentation java @Nullable\npublic Object[] getFormatArgs() +// kind Method return formatArgs; // ^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/QuantityStringResAttribute#formatArgs. } @@ -101,10 +129,14 @@ public Object[] getFormatArgs() { public CharSequence toString(Context context) { // ^^^^^^^^^^^^ reference semanticdb maven jdk 11 java/lang/CharSequence# // ^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/QuantityStringResAttribute#toString(). -// documentation ```java\npublic CharSequence toString(unresolved_type context)\n``` +// display_name toString +// signature_documentation java public CharSequence toString(unresolved_type context) +// kind Method // ^^^^^^^ reference semanticdb maven . . Context# // ^^^^^^^ definition local 5 -// documentation ```java\nunresolved_type context\n``` +// display_name context +// signature_documentation java unresolved_type context +// enclosing_symbol semanticdb maven . . com/airbnb/epoxy/QuantityStringResAttribute#toString(). if (formatArgs == null || formatArgs.length == 0) { // ^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/QuantityStringResAttribute#formatArgs. // ^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/QuantityStringResAttribute#formatArgs. @@ -130,11 +162,15 @@ public CharSequence toString(Context context) { // ^^^^^^^^ reference semanticdb maven jdk 11 java/lang/Override# public boolean equals(Object o) { // ^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/QuantityStringResAttribute#equals(). -// documentation ```java\n@Override\npublic boolean equals(Object o)\n``` +// display_name equals +// signature_documentation java @Override\npublic boolean equals(Object o) +// kind Method // relationship is_reference is_implementation semanticdb maven jdk 11 java/lang/Object#equals(). // ^^^^^^ reference semanticdb maven jdk 11 java/lang/Object# // ^ definition local 6 -// documentation ```java\nObject o\n``` +// display_name o +// signature_documentation java Object o +// enclosing_symbol semanticdb maven . . com/airbnb/epoxy/QuantityStringResAttribute#equals(). if (this == o) { // ^ reference local 6 return true; @@ -148,7 +184,10 @@ public boolean equals(Object o) { QuantityStringResAttribute that = (QuantityStringResAttribute) o; // ^^^^^^^^^^^^^^^^^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/QuantityStringResAttribute# // ^^^^ definition local 7 -// documentation ```java\nQuantityStringResAttribute that\n``` +// display_name that +// signature_documentation java QuantityStringResAttribute that +// enclosing_symbol semanticdb maven . . com/airbnb/epoxy/QuantityStringResAttribute#equals(). +// kind Variable // ^^^^^^^^^^^^^^^^^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/QuantityStringResAttribute# // ^ reference local 6 @@ -177,11 +216,16 @@ public boolean equals(Object o) { // ^^^^^^^^ reference semanticdb maven jdk 11 java/lang/Override# public int hashCode() { // ^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/QuantityStringResAttribute#hashCode(). -// documentation ```java\n@Override\npublic int hashCode()\n``` +// display_name hashCode +// signature_documentation java @Override\npublic int hashCode() +// kind Method // relationship is_reference is_implementation semanticdb maven jdk 11 java/lang/Object#hashCode(). int result = id; // ^^^^^^ definition local 8 -// documentation ```java\nint result\n``` +// display_name result +// signature_documentation java int result +// enclosing_symbol semanticdb maven . . com/airbnb/epoxy/QuantityStringResAttribute#hashCode(). +// kind Variable // ^^ reference semanticdb maven . . com/airbnb/epoxy/QuantityStringResAttribute#id. result = 31 * result + quantity; // ^^^^^^ reference local 8 diff --git a/tests/snapshots/src/main/generated/com/airbnb/epoxy/SimpleEpoxyAdapter.java b/tests/snapshots/src/main/generated/com/airbnb/epoxy/SimpleEpoxyAdapter.java index 9fa5e413d..26cfc5392 100644 --- a/tests/snapshots/src/main/generated/com/airbnb/epoxy/SimpleEpoxyAdapter.java +++ b/tests/snapshots/src/main/generated/com/airbnb/epoxy/SimpleEpoxyAdapter.java @@ -16,21 +16,27 @@ */ public class SimpleEpoxyAdapter extends EpoxyAdapter { // ^^^^^^^^^^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/SimpleEpoxyAdapter# -// documentation ```java\npublic class SimpleEpoxyAdapter\n``` +// display_name SimpleEpoxyAdapter +// signature_documentation java public class SimpleEpoxyAdapter +// kind Class // documentation A non-abstract version of {@link com.airbnb.epoxy.EpoxyAdapter} that exposes all methods and\n models as public. Use this if you don't want to create your own adapter subclass and instead want\n to modify the adapter from elsewhere, such as from an activity.\n // relationship is_implementation semanticdb maven . . RecyclerView/Adapter# // relationship is_implementation semanticdb maven . . StickyHeaderCallbacks# // relationship is_implementation semanticdb maven . . com/airbnb/epoxy/BaseEpoxyAdapter# // relationship is_implementation semanticdb maven . . com/airbnb/epoxy/EpoxyAdapter# // ^^^^^^^^^^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/SimpleEpoxyAdapter#``(). -// documentation ```java\npublic SimpleEpoxyAdapter()\n``` +// display_name +// signature_documentation java public SimpleEpoxyAdapter() +// kind Constructor // ^^^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/EpoxyAdapter# public List> getModels() { // ^^^^ reference semanticdb maven jdk 11 java/util/List# // ^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/EpoxyModel# // ^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/SimpleEpoxyAdapter#getModels(). -// documentation ```java\npublic List> getModels()\n``` +// display_name getModels +// signature_documentation java public List> getModels() +// kind Method return models; // ^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/EpoxyAdapter#models. } @@ -39,7 +45,9 @@ public List> getModels() { // ^^^^^^^^ reference semanticdb maven jdk 11 java/lang/Override# public void enableDiffing() { // ^^^^^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/SimpleEpoxyAdapter#enableDiffing(). -// documentation ```java\n@Override\npublic void enableDiffing()\n``` +// display_name enableDiffing +// signature_documentation java @Override\npublic void enableDiffing() +// kind Method // relationship is_reference is_implementation semanticdb maven . . com/airbnb/epoxy/EpoxyAdapter#enableDiffing(). super.enableDiffing(); // ^^^^^ reference semanticdb maven . . com/airbnb/epoxy/SimpleEpoxyAdapter#super. @@ -50,7 +58,9 @@ public void enableDiffing() { // ^^^^^^^^ reference semanticdb maven jdk 11 java/lang/Override# public void notifyModelsChanged() { // ^^^^^^^^^^^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/SimpleEpoxyAdapter#notifyModelsChanged(). -// documentation ```java\n@Override\npublic void notifyModelsChanged()\n``` +// display_name notifyModelsChanged +// signature_documentation java @Override\npublic void notifyModelsChanged() +// kind Method // relationship is_reference is_implementation semanticdb maven . . com/airbnb/epoxy/EpoxyAdapter#notifyModelsChanged(). super.notifyModelsChanged(); // ^^^^^ reference semanticdb maven . . com/airbnb/epoxy/SimpleEpoxyAdapter#super. @@ -62,7 +72,9 @@ public void notifyModelsChanged() { public BoundViewHolders getBoundViewHolders() { // ^^^^^^^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/BoundViewHolders# // ^^^^^^^^^^^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/SimpleEpoxyAdapter#getBoundViewHolders(). -// documentation ```java\n@Override\npublic BoundViewHolders getBoundViewHolders()\n``` +// display_name getBoundViewHolders +// signature_documentation java @Override\npublic BoundViewHolders getBoundViewHolders() +// kind Method // relationship is_reference is_implementation semanticdb maven . . com/airbnb/epoxy/BaseEpoxyAdapter#getBoundViewHolders(). return super.getBoundViewHolders(); // ^^^^^ reference semanticdb maven . . com/airbnb/epoxy/SimpleEpoxyAdapter#super. @@ -73,11 +85,15 @@ public BoundViewHolders getBoundViewHolders() { // ^^^^^^^^ reference semanticdb maven jdk 11 java/lang/Override# public void notifyModelChanged(EpoxyModel model) { // ^^^^^^^^^^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/SimpleEpoxyAdapter#notifyModelChanged(). -// documentation ```java\n@Override\npublic void notifyModelChanged(EpoxyModel model)\n``` +// display_name notifyModelChanged +// signature_documentation java @Override\npublic void notifyModelChanged(EpoxyModel model) +// kind Method // relationship is_reference is_implementation semanticdb maven . . com/airbnb/epoxy/EpoxyAdapter#notifyModelChanged(). // ^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/EpoxyModel# // ^^^^^ definition local 0 -// documentation ```java\nEpoxyModel model\n``` +// display_name model +// signature_documentation java EpoxyModel model +// enclosing_symbol semanticdb maven . . com/airbnb/epoxy/SimpleEpoxyAdapter#notifyModelChanged(). super.notifyModelChanged(model); // ^^^^^ reference semanticdb maven . . com/airbnb/epoxy/SimpleEpoxyAdapter#super. // ^^^^^^^^^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/EpoxyAdapter#notifyModelChanged(). @@ -88,11 +104,15 @@ public void notifyModelChanged(EpoxyModel model) { // ^^^^^^^^ reference semanticdb maven jdk 11 java/lang/Override# public void addModels(EpoxyModel... modelsToAdd) { // ^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/SimpleEpoxyAdapter#addModels(). -// documentation ```java\n@Override\npublic void addModels(EpoxyModel[] modelsToAdd)\n``` +// display_name addModels +// signature_documentation java @Override\npublic void addModels(EpoxyModel[] modelsToAdd) +// kind Method // relationship is_reference is_implementation semanticdb maven . . com/airbnb/epoxy/EpoxyAdapter#addModels(). // ^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/EpoxyModel# // ^^^^^^^^^^^ definition local 1 -// documentation ```java\nEpoxyModel[] modelsToAdd\n``` +// display_name modelsToAdd +// signature_documentation java EpoxyModel[] modelsToAdd +// enclosing_symbol semanticdb maven . . com/airbnb/epoxy/SimpleEpoxyAdapter#addModels(). super.addModels(modelsToAdd); // ^^^^^ reference semanticdb maven . . com/airbnb/epoxy/SimpleEpoxyAdapter#super. // ^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/EpoxyAdapter#addModels(). @@ -103,12 +123,16 @@ public void addModels(EpoxyModel... modelsToAdd) { // ^^^^^^^^ reference semanticdb maven jdk 11 java/lang/Override# public void addModels(Collection> modelsToAdd) { // ^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/SimpleEpoxyAdapter#addModels(+1). -// documentation ```java\n@Override\npublic void addModels(Collection> modelsToAdd)\n``` +// display_name addModels +// signature_documentation java @Override\npublic void addModels(Collection> modelsToAdd) +// kind Method // relationship is_reference is_implementation semanticdb maven . . com/airbnb/epoxy/EpoxyAdapter#addModels(+1). // ^^^^^^^^^^ reference semanticdb maven jdk 11 java/util/Collection# // ^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/EpoxyModel# // ^^^^^^^^^^^ definition local 2 -// documentation ```java\nCollection> modelsToAdd\n``` +// display_name modelsToAdd +// signature_documentation java Collection> modelsToAdd +// enclosing_symbol semanticdb maven . . com/airbnb/epoxy/SimpleEpoxyAdapter#addModels(+1). super.addModels(modelsToAdd); // ^^^^^ reference semanticdb maven . . com/airbnb/epoxy/SimpleEpoxyAdapter#super. // ^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/EpoxyAdapter#addModels(+1). @@ -119,14 +143,20 @@ public void addModels(Collection> modelsToAdd) { // ^^^^^^^^ reference semanticdb maven jdk 11 java/lang/Override# public void insertModelBefore(EpoxyModel modelToInsert, EpoxyModel modelToInsertBefore) { // ^^^^^^^^^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/SimpleEpoxyAdapter#insertModelBefore(). -// documentation ```java\n@Override\npublic void insertModelBefore(EpoxyModel modelToInsert, EpoxyModel modelToInsertBefore)\n``` +// display_name insertModelBefore +// signature_documentation java @Override\npublic void insertModelBefore(EpoxyModel modelToInsert, EpoxyModel modelToInsertBefore) +// kind Method // relationship is_reference is_implementation semanticdb maven . . com/airbnb/epoxy/EpoxyAdapter#insertModelBefore(). // ^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/EpoxyModel# // ^^^^^^^^^^^^^ definition local 3 -// documentation ```java\nEpoxyModel modelToInsert\n``` +// display_name modelToInsert +// signature_documentation java EpoxyModel modelToInsert +// enclosing_symbol semanticdb maven . . com/airbnb/epoxy/SimpleEpoxyAdapter#insertModelBefore(). // ^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/EpoxyModel# // ^^^^^^^^^^^^^^^^^^^ definition local 4 -// documentation ```java\nEpoxyModel modelToInsertBefore\n``` +// display_name modelToInsertBefore +// signature_documentation java EpoxyModel modelToInsertBefore +// enclosing_symbol semanticdb maven . . com/airbnb/epoxy/SimpleEpoxyAdapter#insertModelBefore(). super.insertModelBefore(modelToInsert, modelToInsertBefore); // ^^^^^ reference semanticdb maven . . com/airbnb/epoxy/SimpleEpoxyAdapter#super. // ^^^^^^^^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/EpoxyAdapter#insertModelBefore(). @@ -138,14 +168,20 @@ public void insertModelBefore(EpoxyModel modelToInsert, EpoxyModel modelTo // ^^^^^^^^ reference semanticdb maven jdk 11 java/lang/Override# public void insertModelAfter(EpoxyModel modelToInsert, EpoxyModel modelToInsertAfter) { // ^^^^^^^^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/SimpleEpoxyAdapter#insertModelAfter(). -// documentation ```java\n@Override\npublic void insertModelAfter(EpoxyModel modelToInsert, EpoxyModel modelToInsertAfter)\n``` +// display_name insertModelAfter +// signature_documentation java @Override\npublic void insertModelAfter(EpoxyModel modelToInsert, EpoxyModel modelToInsertAfter) +// kind Method // relationship is_reference is_implementation semanticdb maven . . com/airbnb/epoxy/EpoxyAdapter#insertModelAfter(). // ^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/EpoxyModel# // ^^^^^^^^^^^^^ definition local 5 -// documentation ```java\nEpoxyModel modelToInsert\n``` +// display_name modelToInsert +// signature_documentation java EpoxyModel modelToInsert +// enclosing_symbol semanticdb maven . . com/airbnb/epoxy/SimpleEpoxyAdapter#insertModelAfter(). // ^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/EpoxyModel# // ^^^^^^^^^^^^^^^^^^ definition local 6 -// documentation ```java\nEpoxyModel modelToInsertAfter\n``` +// display_name modelToInsertAfter +// signature_documentation java EpoxyModel modelToInsertAfter +// enclosing_symbol semanticdb maven . . com/airbnb/epoxy/SimpleEpoxyAdapter#insertModelAfter(). super.insertModelAfter(modelToInsert, modelToInsertAfter); // ^^^^^ reference semanticdb maven . . com/airbnb/epoxy/SimpleEpoxyAdapter#super. // ^^^^^^^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/EpoxyAdapter#insertModelAfter(). @@ -157,11 +193,15 @@ public void insertModelAfter(EpoxyModel modelToInsert, EpoxyModel modelToI // ^^^^^^^^ reference semanticdb maven jdk 11 java/lang/Override# public void removeModel(EpoxyModel model) { // ^^^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/SimpleEpoxyAdapter#removeModel(). -// documentation ```java\n@Override\npublic void removeModel(EpoxyModel model)\n``` +// display_name removeModel +// signature_documentation java @Override\npublic void removeModel(EpoxyModel model) +// kind Method // relationship is_reference is_implementation semanticdb maven . . com/airbnb/epoxy/EpoxyAdapter#removeModel(). // ^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/EpoxyModel# // ^^^^^ definition local 7 -// documentation ```java\nEpoxyModel model\n``` +// display_name model +// signature_documentation java EpoxyModel model +// enclosing_symbol semanticdb maven . . com/airbnb/epoxy/SimpleEpoxyAdapter#removeModel(). super.removeModel(model); // ^^^^^ reference semanticdb maven . . com/airbnb/epoxy/SimpleEpoxyAdapter#super. // ^^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/EpoxyAdapter#removeModel(). @@ -172,7 +212,9 @@ public void removeModel(EpoxyModel model) { // ^^^^^^^^ reference semanticdb maven jdk 11 java/lang/Override# public void removeAllModels() { // ^^^^^^^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/SimpleEpoxyAdapter#removeAllModels(). -// documentation ```java\n@Override\npublic void removeAllModels()\n``` +// display_name removeAllModels +// signature_documentation java @Override\npublic void removeAllModels() +// kind Method // relationship is_reference is_implementation semanticdb maven . . com/airbnb/epoxy/EpoxyAdapter#removeAllModels(). super.removeAllModels(); // ^^^^^ reference semanticdb maven . . com/airbnb/epoxy/SimpleEpoxyAdapter#super. @@ -183,11 +225,15 @@ public void removeAllModels() { // ^^^^^^^^ reference semanticdb maven jdk 11 java/lang/Override# public void removeAllAfterModel(EpoxyModel model) { // ^^^^^^^^^^^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/SimpleEpoxyAdapter#removeAllAfterModel(). -// documentation ```java\n@Override\npublic void removeAllAfterModel(EpoxyModel model)\n``` +// display_name removeAllAfterModel +// signature_documentation java @Override\npublic void removeAllAfterModel(EpoxyModel model) +// kind Method // relationship is_reference is_implementation semanticdb maven . . com/airbnb/epoxy/EpoxyAdapter#removeAllAfterModel(). // ^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/EpoxyModel# // ^^^^^ definition local 8 -// documentation ```java\nEpoxyModel model\n``` +// display_name model +// signature_documentation java EpoxyModel model +// enclosing_symbol semanticdb maven . . com/airbnb/epoxy/SimpleEpoxyAdapter#removeAllAfterModel(). super.removeAllAfterModel(model); // ^^^^^ reference semanticdb maven . . com/airbnb/epoxy/SimpleEpoxyAdapter#super. // ^^^^^^^^^^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/EpoxyAdapter#removeAllAfterModel(). @@ -198,13 +244,19 @@ public void removeAllAfterModel(EpoxyModel model) { // ^^^^^^^^ reference semanticdb maven jdk 11 java/lang/Override# public void showModel(EpoxyModel model, boolean show) { // ^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/SimpleEpoxyAdapter#showModel(). -// documentation ```java\n@Override\npublic void showModel(EpoxyModel model, boolean show)\n``` +// display_name showModel +// signature_documentation java @Override\npublic void showModel(EpoxyModel model, boolean show) +// kind Method // relationship is_reference is_implementation semanticdb maven . . com/airbnb/epoxy/EpoxyAdapter#showModel(). // ^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/EpoxyModel# // ^^^^^ definition local 9 -// documentation ```java\nEpoxyModel model\n``` +// display_name model +// signature_documentation java EpoxyModel model +// enclosing_symbol semanticdb maven . . com/airbnb/epoxy/SimpleEpoxyAdapter#showModel(). // ^^^^ definition local 10 -// documentation ```java\nboolean show\n``` +// display_name show +// signature_documentation java boolean show +// enclosing_symbol semanticdb maven . . com/airbnb/epoxy/SimpleEpoxyAdapter#showModel(). super.showModel(model, show); // ^^^^^ reference semanticdb maven . . com/airbnb/epoxy/SimpleEpoxyAdapter#super. // ^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/EpoxyAdapter#showModel(). @@ -216,11 +268,15 @@ public void showModel(EpoxyModel model, boolean show) { // ^^^^^^^^ reference semanticdb maven jdk 11 java/lang/Override# public void showModel(EpoxyModel model) { // ^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/SimpleEpoxyAdapter#showModel(+1). -// documentation ```java\n@Override\npublic void showModel(EpoxyModel model)\n``` +// display_name showModel +// signature_documentation java @Override\npublic void showModel(EpoxyModel model) +// kind Method // relationship is_reference is_implementation semanticdb maven . . com/airbnb/epoxy/EpoxyAdapter#showModel(+1). // ^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/EpoxyModel# // ^^^^^ definition local 11 -// documentation ```java\nEpoxyModel model\n``` +// display_name model +// signature_documentation java EpoxyModel model +// enclosing_symbol semanticdb maven . . com/airbnb/epoxy/SimpleEpoxyAdapter#showModel(+1). super.showModel(model); // ^^^^^ reference semanticdb maven . . com/airbnb/epoxy/SimpleEpoxyAdapter#super. // ^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/EpoxyAdapter#showModel(+1). @@ -231,11 +287,15 @@ public void showModel(EpoxyModel model) { // ^^^^^^^^ reference semanticdb maven jdk 11 java/lang/Override# public void showModels(EpoxyModel... models) { // ^^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/SimpleEpoxyAdapter#showModels(). -// documentation ```java\n@Override\npublic void showModels(EpoxyModel[] models)\n``` +// display_name showModels +// signature_documentation java @Override\npublic void showModels(EpoxyModel[] models) +// kind Method // relationship is_reference is_implementation semanticdb maven . . com/airbnb/epoxy/EpoxyAdapter#showModels(). // ^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/EpoxyModel# // ^^^^^^ definition local 12 -// documentation ```java\nEpoxyModel[] models\n``` +// display_name models +// signature_documentation java EpoxyModel[] models +// enclosing_symbol semanticdb maven . . com/airbnb/epoxy/SimpleEpoxyAdapter#showModels(). super.showModels(models); // ^^^^^ reference semanticdb maven . . com/airbnb/epoxy/SimpleEpoxyAdapter#super. // ^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/EpoxyAdapter#showModels(). @@ -246,13 +306,19 @@ public void showModels(EpoxyModel... models) { // ^^^^^^^^ reference semanticdb maven jdk 11 java/lang/Override# public void showModels(boolean show, EpoxyModel... models) { // ^^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/SimpleEpoxyAdapter#showModels(+1). -// documentation ```java\n@Override\npublic void showModels(boolean show, EpoxyModel[] models)\n``` +// display_name showModels +// signature_documentation java @Override\npublic void showModels(boolean show, EpoxyModel[] models) +// kind Method // relationship is_reference is_implementation semanticdb maven . . com/airbnb/epoxy/EpoxyAdapter#showModels(+1). // ^^^^ definition local 13 -// documentation ```java\nboolean show\n``` +// display_name show +// signature_documentation java boolean show +// enclosing_symbol semanticdb maven . . com/airbnb/epoxy/SimpleEpoxyAdapter#showModels(+1). // ^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/EpoxyModel# // ^^^^^^ definition local 14 -// documentation ```java\nEpoxyModel[] models\n``` +// display_name models +// signature_documentation java EpoxyModel[] models +// enclosing_symbol semanticdb maven . . com/airbnb/epoxy/SimpleEpoxyAdapter#showModels(+1). super.showModels(show, models); // ^^^^^ reference semanticdb maven . . com/airbnb/epoxy/SimpleEpoxyAdapter#super. // ^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/EpoxyAdapter#showModels(+1). @@ -264,12 +330,16 @@ public void showModels(boolean show, EpoxyModel... models) { // ^^^^^^^^ reference semanticdb maven jdk 11 java/lang/Override# public void showModels(Iterable> epoxyModels) { // ^^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/SimpleEpoxyAdapter#showModels(+2). -// documentation ```java\n@Override\npublic void showModels(Iterable> epoxyModels)\n``` +// display_name showModels +// signature_documentation java @Override\npublic void showModels(Iterable> epoxyModels) +// kind Method // relationship is_reference is_implementation semanticdb maven . . com/airbnb/epoxy/EpoxyAdapter#showModels(+2). // ^^^^^^^^ reference semanticdb maven jdk 11 java/lang/Iterable# // ^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/EpoxyModel# // ^^^^^^^^^^^ definition local 15 -// documentation ```java\nIterable> epoxyModels\n``` +// display_name epoxyModels +// signature_documentation java Iterable> epoxyModels +// enclosing_symbol semanticdb maven . . com/airbnb/epoxy/SimpleEpoxyAdapter#showModels(+2). super.showModels(epoxyModels); // ^^^^^ reference semanticdb maven . . com/airbnb/epoxy/SimpleEpoxyAdapter#super. // ^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/EpoxyAdapter#showModels(+2). @@ -280,14 +350,20 @@ public void showModels(Iterable> epoxyModels) { // ^^^^^^^^ reference semanticdb maven jdk 11 java/lang/Override# public void showModels(Iterable> epoxyModels, boolean show) { // ^^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/SimpleEpoxyAdapter#showModels(+3). -// documentation ```java\n@Override\npublic void showModels(Iterable> epoxyModels, boolean show)\n``` +// display_name showModels +// signature_documentation java @Override\npublic void showModels(Iterable> epoxyModels, boolean show) +// kind Method // relationship is_reference is_implementation semanticdb maven . . com/airbnb/epoxy/EpoxyAdapter#showModels(+3). // ^^^^^^^^ reference semanticdb maven jdk 11 java/lang/Iterable# // ^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/EpoxyModel# // ^^^^^^^^^^^ definition local 16 -// documentation ```java\nIterable> epoxyModels\n``` +// display_name epoxyModels +// signature_documentation java Iterable> epoxyModels +// enclosing_symbol semanticdb maven . . com/airbnb/epoxy/SimpleEpoxyAdapter#showModels(+3). // ^^^^ definition local 17 -// documentation ```java\nboolean show\n``` +// display_name show +// signature_documentation java boolean show +// enclosing_symbol semanticdb maven . . com/airbnb/epoxy/SimpleEpoxyAdapter#showModels(+3). super.showModels(epoxyModels, show); // ^^^^^ reference semanticdb maven . . com/airbnb/epoxy/SimpleEpoxyAdapter#super. // ^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/EpoxyAdapter#showModels(+3). @@ -299,11 +375,15 @@ public void showModels(Iterable> epoxyModels, boolean show) { // ^^^^^^^^ reference semanticdb maven jdk 11 java/lang/Override# public void hideModel(EpoxyModel model) { // ^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/SimpleEpoxyAdapter#hideModel(). -// documentation ```java\n@Override\npublic void hideModel(EpoxyModel model)\n``` +// display_name hideModel +// signature_documentation java @Override\npublic void hideModel(EpoxyModel model) +// kind Method // relationship is_reference is_implementation semanticdb maven . . com/airbnb/epoxy/EpoxyAdapter#hideModel(). // ^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/EpoxyModel# // ^^^^^ definition local 18 -// documentation ```java\nEpoxyModel model\n``` +// display_name model +// signature_documentation java EpoxyModel model +// enclosing_symbol semanticdb maven . . com/airbnb/epoxy/SimpleEpoxyAdapter#hideModel(). super.hideModel(model); // ^^^^^ reference semanticdb maven . . com/airbnb/epoxy/SimpleEpoxyAdapter#super. // ^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/EpoxyAdapter#hideModel(). @@ -314,12 +394,16 @@ public void hideModel(EpoxyModel model) { // ^^^^^^^^ reference semanticdb maven jdk 11 java/lang/Override# public void hideModels(Iterable> epoxyModels) { // ^^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/SimpleEpoxyAdapter#hideModels(). -// documentation ```java\n@Override\npublic void hideModels(Iterable> epoxyModels)\n``` +// display_name hideModels +// signature_documentation java @Override\npublic void hideModels(Iterable> epoxyModels) +// kind Method // relationship is_reference is_implementation semanticdb maven . . com/airbnb/epoxy/EpoxyAdapter#hideModels(). // ^^^^^^^^ reference semanticdb maven jdk 11 java/lang/Iterable# // ^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/EpoxyModel# // ^^^^^^^^^^^ definition local 19 -// documentation ```java\nIterable> epoxyModels\n``` +// display_name epoxyModels +// signature_documentation java Iterable> epoxyModels +// enclosing_symbol semanticdb maven . . com/airbnb/epoxy/SimpleEpoxyAdapter#hideModels(). super.hideModels(epoxyModels); // ^^^^^ reference semanticdb maven . . com/airbnb/epoxy/SimpleEpoxyAdapter#super. // ^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/EpoxyAdapter#hideModels(). @@ -330,11 +414,15 @@ public void hideModels(Iterable> epoxyModels) { // ^^^^^^^^ reference semanticdb maven jdk 11 java/lang/Override# public void hideModels(EpoxyModel... models) { // ^^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/SimpleEpoxyAdapter#hideModels(+1). -// documentation ```java\n@Override\npublic void hideModels(EpoxyModel[] models)\n``` +// display_name hideModels +// signature_documentation java @Override\npublic void hideModels(EpoxyModel[] models) +// kind Method // relationship is_reference is_implementation semanticdb maven . . com/airbnb/epoxy/EpoxyAdapter#hideModels(+1). // ^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/EpoxyModel# // ^^^^^^ definition local 20 -// documentation ```java\nEpoxyModel[] models\n``` +// display_name models +// signature_documentation java EpoxyModel[] models +// enclosing_symbol semanticdb maven . . com/airbnb/epoxy/SimpleEpoxyAdapter#hideModels(+1). super.hideModels(models); // ^^^^^ reference semanticdb maven . . com/airbnb/epoxy/SimpleEpoxyAdapter#super. // ^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/EpoxyAdapter#hideModels(+1). @@ -345,11 +433,15 @@ public void hideModels(EpoxyModel... models) { // ^^^^^^^^ reference semanticdb maven jdk 11 java/lang/Override# public void hideAllAfterModel(EpoxyModel model) { // ^^^^^^^^^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/SimpleEpoxyAdapter#hideAllAfterModel(). -// documentation ```java\n@Override\npublic void hideAllAfterModel(EpoxyModel model)\n``` +// display_name hideAllAfterModel +// signature_documentation java @Override\npublic void hideAllAfterModel(EpoxyModel model) +// kind Method // relationship is_reference is_implementation semanticdb maven . . com/airbnb/epoxy/EpoxyAdapter#hideAllAfterModel(). // ^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/EpoxyModel# // ^^^^^ definition local 21 -// documentation ```java\nEpoxyModel model\n``` +// display_name model +// signature_documentation java EpoxyModel model +// enclosing_symbol semanticdb maven . . com/airbnb/epoxy/SimpleEpoxyAdapter#hideAllAfterModel(). super.hideAllAfterModel(model); // ^^^^^ reference semanticdb maven . . com/airbnb/epoxy/SimpleEpoxyAdapter#super. // ^^^^^^^^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/EpoxyAdapter#hideAllAfterModel(). @@ -362,11 +454,15 @@ public List> getAllModelsAfter(EpoxyModel model) { // ^^^^ reference semanticdb maven jdk 11 java/util/List# // ^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/EpoxyModel# // ^^^^^^^^^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/SimpleEpoxyAdapter#getAllModelsAfter(). -// documentation ```java\n@Override\npublic List> getAllModelsAfter(EpoxyModel model)\n``` +// display_name getAllModelsAfter +// signature_documentation java @Override\npublic List> getAllModelsAfter(EpoxyModel model) +// kind Method // relationship is_reference is_implementation semanticdb maven . . com/airbnb/epoxy/EpoxyAdapter#getAllModelsAfter(). // ^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/EpoxyModel# // ^^^^^ definition local 22 -// documentation ```java\nEpoxyModel model\n``` +// display_name model +// signature_documentation java EpoxyModel model +// enclosing_symbol semanticdb maven . . com/airbnb/epoxy/SimpleEpoxyAdapter#getAllModelsAfter(). return super.getAllModelsAfter(model); // ^^^^^ reference semanticdb maven . . com/airbnb/epoxy/SimpleEpoxyAdapter#super. // ^^^^^^^^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/EpoxyAdapter#getAllModelsAfter(). @@ -377,11 +473,15 @@ public List> getAllModelsAfter(EpoxyModel model) { // ^^^^^^^^ reference semanticdb maven jdk 11 java/lang/Override# public int getModelPosition(EpoxyModel model) { // ^^^^^^^^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/SimpleEpoxyAdapter#getModelPosition(). -// documentation ```java\n@Override\npublic int getModelPosition(EpoxyModel model)\n``` +// display_name getModelPosition +// signature_documentation java @Override\npublic int getModelPosition(EpoxyModel model) +// kind Method // relationship is_reference is_implementation semanticdb maven . . com/airbnb/epoxy/BaseEpoxyAdapter#getModelPosition(). // ^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/EpoxyModel# // ^^^^^ definition local 23 -// documentation ```java\nEpoxyModel model\n``` +// display_name model +// signature_documentation java EpoxyModel model +// enclosing_symbol semanticdb maven . . com/airbnb/epoxy/SimpleEpoxyAdapter#getModelPosition(). return super.getModelPosition(model); // ^^^^^ reference semanticdb maven . . com/airbnb/epoxy/SimpleEpoxyAdapter#super. // ^^^^^^^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/BaseEpoxyAdapter#getModelPosition(). diff --git a/tests/snapshots/src/main/generated/com/airbnb/epoxy/SimpleEpoxyController.java b/tests/snapshots/src/main/generated/com/airbnb/epoxy/SimpleEpoxyController.java index ae3b0aba5..9aac941e8 100644 --- a/tests/snapshots/src/main/generated/com/airbnb/epoxy/SimpleEpoxyController.java +++ b/tests/snapshots/src/main/generated/com/airbnb/epoxy/SimpleEpoxyController.java @@ -11,22 +11,30 @@ */ public class SimpleEpoxyController extends EpoxyController { // ^^^^^^^^^^^^^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/SimpleEpoxyController# -// documentation ```java\npublic class SimpleEpoxyController\n``` +// display_name SimpleEpoxyController +// signature_documentation java public class SimpleEpoxyController +// kind Class // documentation A small wrapper around {@link com.airbnb.epoxy.EpoxyController} that lets you set a list of\n models directly.\n // relationship is_implementation semanticdb maven . . ModelCollector# // relationship is_implementation semanticdb maven . . StickyHeaderCallbacks# // relationship is_implementation semanticdb maven . . com/airbnb/epoxy/EpoxyController# // ^^^^^^^^^^^^^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/SimpleEpoxyController#``(). -// documentation ```java\npublic SimpleEpoxyController()\n``` +// display_name +// signature_documentation java public SimpleEpoxyController() +// kind Constructor // ^^^^^^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/EpoxyController# private List> currentModels; // ^^^^ reference semanticdb maven jdk 11 java/util/List# // ^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/EpoxyModel# // ^^^^^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/SimpleEpoxyController#currentModels. -// documentation ```java\nprivate List> currentModels\n``` +// display_name currentModels +// signature_documentation java private List> currentModels +// kind Field private boolean insideSetModels; // ^^^^^^^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/SimpleEpoxyController#insideSetModels. -// documentation ```java\nprivate boolean insideSetModels\n``` +// display_name insideSetModels +// signature_documentation java private boolean insideSetModels +// kind Field /** * Set the models to add to this controller. Clears any previous models and adds this new list @@ -34,12 +42,16 @@ public class SimpleEpoxyController extends EpoxyController { */ public void setModels(List> models) { // ^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/SimpleEpoxyController#setModels(). -// documentation ```java\npublic void setModels(List> models)\n``` +// display_name setModels +// signature_documentation java public void setModels(List> models) +// kind Method // documentation Set the models to add to this controller. Clears any previous models and adds this new list\n .\n // ^^^^ reference semanticdb maven jdk 11 java/util/List# // ^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/EpoxyModel# // ^^^^^^ definition local 0 -// documentation ```java\nList> models\n``` +// display_name models +// signature_documentation java List> models +// enclosing_symbol semanticdb maven . . com/airbnb/epoxy/SimpleEpoxyController#setModels(). currentModels = models; // ^^^^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/SimpleEpoxyController#currentModels. // ^^^^^^ reference local 0 @@ -55,7 +67,9 @@ public void setModels(List> models) { // ^^^^^^^^ reference semanticdb maven jdk 11 java/lang/Override# public final void requestModelBuild() { // ^^^^^^^^^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/SimpleEpoxyController#requestModelBuild(). -// documentation ```java\n@Override\npublic final void requestModelBuild()\n``` +// display_name requestModelBuild +// signature_documentation java @Override\npublic final void requestModelBuild() +// kind Method // relationship is_reference is_implementation semanticdb maven . . com/airbnb/epoxy/EpoxyController#requestModelBuild(). if (!insideSetModels) { // ^^^^^^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/SimpleEpoxyController#insideSetModels. @@ -72,7 +86,9 @@ public final void requestModelBuild() { // ^^^^^^^^ reference semanticdb maven jdk 11 java/lang/Override# protected final void buildModels() { // ^^^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/SimpleEpoxyController#buildModels(). -// documentation ```java\n@Override\nprotected final void buildModels()\n``` +// display_name buildModels +// signature_documentation java @Override\nprotected final void buildModels() +// kind Method // relationship is_reference is_implementation semanticdb maven . . com/airbnb/epoxy/EpoxyController#buildModels(). if (!isBuildingModels()) { // ^^^^^^^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/EpoxyController#isBuildingModels(). diff --git a/tests/snapshots/src/main/generated/com/airbnb/epoxy/SimpleEpoxyModel.java b/tests/snapshots/src/main/generated/com/airbnb/epoxy/SimpleEpoxyModel.java index 6a2522d96..90b3fbf72 100644 --- a/tests/snapshots/src/main/generated/com/airbnb/epoxy/SimpleEpoxyModel.java +++ b/tests/snapshots/src/main/generated/com/airbnb/epoxy/SimpleEpoxyModel.java @@ -26,7 +26,9 @@ */ public class SimpleEpoxyModel extends EpoxyModel { // ^^^^^^^^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/SimpleEpoxyModel# -// documentation ```java\npublic class SimpleEpoxyModel\n``` +// display_name SimpleEpoxyModel +// signature_documentation java public class SimpleEpoxyModel +// kind Class // documentation Helper class for cases where you don't need to do anything special when binding the view. This\n allows you to just provide the layout instead of needing to create a separate {@link EpoxyModel}\n subclass. This is useful for static layouts. You can also specify an onClick listener and the\n span size.\n // relationship is_implementation semanticdb maven . . com/airbnb/epoxy/EpoxyModel# // ^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/EpoxyModel# @@ -34,22 +36,32 @@ public class SimpleEpoxyModel extends EpoxyModel { @LayoutRes private final int layoutRes; // ^^^^^^^^^ reference semanticdb maven maven/androidx.annotation/annotation 1.1.0 androidx/annotation/LayoutRes# // ^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/SimpleEpoxyModel#layoutRes. -// documentation ```java\n@LayoutRes\nprivate final int layoutRes\n``` +// display_name layoutRes +// signature_documentation java @LayoutRes\nprivate final int layoutRes +// kind Field private View.OnClickListener onClickListener; // ^^^^ reference semanticdb maven . . View/ // ^^^^^^^^^^^^^^^ reference semanticdb maven . . View/OnClickListener# // ^^^^^^^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/SimpleEpoxyModel#onClickListener. -// documentation ```java\nprivate unresolved_type onClickListener\n``` +// display_name onClickListener +// signature_documentation java private unresolved_type onClickListener +// kind Field private int spanCount = 1; // ^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/SimpleEpoxyModel#spanCount. -// documentation ```java\nprivate int spanCount\n``` +// display_name spanCount +// signature_documentation java private int spanCount +// kind Field public SimpleEpoxyModel(@LayoutRes int layoutRes) { // ^^^^^^^^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/SimpleEpoxyModel#``(). -// documentation ```java\npublic SimpleEpoxyModel(int layoutRes)\n``` +// display_name +// signature_documentation java public SimpleEpoxyModel(int layoutRes) +// kind Constructor // ^^^^^^^^^ reference semanticdb maven maven/androidx.annotation/annotation 1.1.0 androidx/annotation/LayoutRes# // ^^^^^^^^^ definition local 0 -// documentation ```java\n@LayoutRes\nint layoutRes\n``` +// display_name layoutRes +// signature_documentation java @LayoutRes\nint layoutRes +// enclosing_symbol semanticdb maven . . com/airbnb/epoxy/SimpleEpoxyModel#``(). this.layoutRes = layoutRes; // ^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/SimpleEpoxyModel#layoutRes. // ^^^^^^^^^ reference local 0 @@ -58,11 +70,15 @@ public SimpleEpoxyModel(@LayoutRes int layoutRes) { public SimpleEpoxyModel onClick(View.OnClickListener listener) { // ^^^^^^^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/SimpleEpoxyModel# // ^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/SimpleEpoxyModel#onClick(). -// documentation ```java\npublic SimpleEpoxyModel onClick(unresolved_type listener)\n``` +// display_name onClick +// signature_documentation java public SimpleEpoxyModel onClick(unresolved_type listener) +// kind Method // ^^^^ reference semanticdb maven . . View/ // ^^^^^^^^^^^^^^^ reference semanticdb maven . . View/OnClickListener# // ^^^^^^^^ definition local 1 -// documentation ```java\nunresolved_type listener\n``` +// display_name listener +// signature_documentation java unresolved_type listener +// enclosing_symbol semanticdb maven . . com/airbnb/epoxy/SimpleEpoxyModel#onClick(). this.onClickListener = listener; // ^^^^^^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/SimpleEpoxyModel#onClickListener. // ^^^^^^^^ reference local 1 @@ -72,9 +88,13 @@ public SimpleEpoxyModel onClick(View.OnClickListener listener) { public SimpleEpoxyModel span(int span) { // ^^^^^^^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/SimpleEpoxyModel# // ^^^^ definition semanticdb maven . . com/airbnb/epoxy/SimpleEpoxyModel#span(). -// documentation ```java\npublic SimpleEpoxyModel span(int span)\n``` +// display_name span +// signature_documentation java public SimpleEpoxyModel span(int span) +// kind Method // ^^^^ definition local 2 -// documentation ```java\nint span\n``` +// display_name span +// signature_documentation java int span +// enclosing_symbol semanticdb maven . . com/airbnb/epoxy/SimpleEpoxyModel#span(). spanCount = span; // ^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/SimpleEpoxyModel#spanCount. // ^^^^ reference local 2 @@ -87,12 +107,16 @@ public SimpleEpoxyModel span(int span) { // ^^^^^^^^ reference semanticdb maven jdk 11 java/lang/Override# public void bind(@NonNull View view) { // ^^^^ definition semanticdb maven . . com/airbnb/epoxy/SimpleEpoxyModel#bind(). -// documentation ```java\n@CallSuper\n@Override\npublic void bind(unresolved_type view)\n``` +// display_name bind +// signature_documentation java @CallSuper\n@Override\npublic void bind(unresolved_type view) +// kind Method // relationship is_reference is_implementation semanticdb maven . . com/airbnb/epoxy/EpoxyModel#bind(). // ^^^^^^^ reference semanticdb maven maven/androidx.annotation/annotation 1.1.0 androidx/annotation/NonNull# // ^^^^ reference semanticdb maven . . View# // ^^^^ definition local 3 -// documentation ```java\n@NonNull\nunresolved_type view\n``` +// display_name view +// signature_documentation java @NonNull\nunresolved_type view +// enclosing_symbol semanticdb maven . . com/airbnb/epoxy/SimpleEpoxyModel#bind(). super.bind(view); // ^^^^^ reference semanticdb maven . . com/airbnb/epoxy/SimpleEpoxyModel#super. // ^^^^ reference semanticdb maven . . com/airbnb/epoxy/EpoxyModel#bind(). @@ -113,12 +137,16 @@ public void bind(@NonNull View view) { // ^^^^^^^^ reference semanticdb maven jdk 11 java/lang/Override# public void unbind(@NonNull View view) { // ^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/SimpleEpoxyModel#unbind(). -// documentation ```java\n@CallSuper\n@Override\npublic void unbind(unresolved_type view)\n``` +// display_name unbind +// signature_documentation java @CallSuper\n@Override\npublic void unbind(unresolved_type view) +// kind Method // relationship is_reference is_implementation semanticdb maven . . com/airbnb/epoxy/EpoxyModel#unbind(). // ^^^^^^^ reference semanticdb maven maven/androidx.annotation/annotation 1.1.0 androidx/annotation/NonNull# // ^^^^ reference semanticdb maven . . View# // ^^^^ definition local 4 -// documentation ```java\n@NonNull\nunresolved_type view\n``` +// display_name view +// signature_documentation java @NonNull\nunresolved_type view +// enclosing_symbol semanticdb maven . . com/airbnb/epoxy/SimpleEpoxyModel#unbind(). super.unbind(view); // ^^^^^ reference semanticdb maven . . com/airbnb/epoxy/SimpleEpoxyModel#super. // ^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/EpoxyModel#unbind(). @@ -132,7 +160,9 @@ public void unbind(@NonNull View view) { // ^^^^^^^^ reference semanticdb maven jdk 11 java/lang/Override# protected int getDefaultLayout() { // ^^^^^^^^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/SimpleEpoxyModel#getDefaultLayout(). -// documentation ```java\n@Override\nprotected int getDefaultLayout()\n``` +// display_name getDefaultLayout +// signature_documentation java @Override\nprotected int getDefaultLayout() +// kind Method // relationship is_reference is_implementation semanticdb maven . . com/airbnb/epoxy/EpoxyModel#getDefaultLayout(). return layoutRes; // ^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/SimpleEpoxyModel#layoutRes. @@ -142,14 +172,22 @@ protected int getDefaultLayout() { // ^^^^^^^^ reference semanticdb maven jdk 11 java/lang/Override# public int getSpanSize(int totalSpanCount, int position, int itemCount) { // ^^^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/SimpleEpoxyModel#getSpanSize(). -// documentation ```java\n@Override\npublic int getSpanSize(int totalSpanCount, int position, int itemCount)\n``` +// display_name getSpanSize +// signature_documentation java @Override\npublic int getSpanSize(int totalSpanCount, int position, int itemCount) +// kind Method // relationship is_reference is_implementation semanticdb maven . . com/airbnb/epoxy/EpoxyModel#getSpanSize(). // ^^^^^^^^^^^^^^ definition local 5 -// documentation ```java\nint totalSpanCount\n``` +// display_name totalSpanCount +// signature_documentation java int totalSpanCount +// enclosing_symbol semanticdb maven . . com/airbnb/epoxy/SimpleEpoxyModel#getSpanSize(). // ^^^^^^^^ definition local 6 -// documentation ```java\nint position\n``` +// display_name position +// signature_documentation java int position +// enclosing_symbol semanticdb maven . . com/airbnb/epoxy/SimpleEpoxyModel#getSpanSize(). // ^^^^^^^^^ definition local 7 -// documentation ```java\nint itemCount\n``` +// display_name itemCount +// signature_documentation java int itemCount +// enclosing_symbol semanticdb maven . . com/airbnb/epoxy/SimpleEpoxyModel#getSpanSize(). return spanCount; // ^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/SimpleEpoxyModel#spanCount. } @@ -158,12 +196,16 @@ public int getSpanSize(int totalSpanCount, int position, int itemCount) { // ^^^^^^^^ reference semanticdb maven jdk 11 java/lang/Override# public boolean equals(Object o) { // ^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/SimpleEpoxyModel#equals(). -// documentation ```java\n@Override\npublic boolean equals(Object o)\n``` +// display_name equals +// signature_documentation java @Override\npublic boolean equals(Object o) +// kind Method // relationship is_reference is_implementation semanticdb maven . . com/airbnb/epoxy/EpoxyModel#equals(). // relationship is_reference is_implementation semanticdb maven jdk 11 java/lang/Object#equals(). // ^^^^^^ reference semanticdb maven jdk 11 java/lang/Object# // ^ definition local 8 -// documentation ```java\nObject o\n``` +// display_name o +// signature_documentation java Object o +// enclosing_symbol semanticdb maven . . com/airbnb/epoxy/SimpleEpoxyModel#equals(). if (this == o) { // ^ reference local 8 return true; @@ -183,7 +225,10 @@ public boolean equals(Object o) { SimpleEpoxyModel that = (SimpleEpoxyModel) o; // ^^^^^^^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/SimpleEpoxyModel# // ^^^^ definition local 9 -// documentation ```java\nSimpleEpoxyModel that\n``` +// display_name that +// signature_documentation java SimpleEpoxyModel that +// enclosing_symbol semanticdb maven . . com/airbnb/epoxy/SimpleEpoxyModel#equals(). +// kind Variable // ^^^^^^^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/SimpleEpoxyModel# // ^ reference local 8 @@ -214,12 +259,17 @@ public boolean equals(Object o) { // ^^^^^^^^ reference semanticdb maven jdk 11 java/lang/Override# public int hashCode() { // ^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/SimpleEpoxyModel#hashCode(). -// documentation ```java\n@Override\npublic int hashCode()\n``` +// display_name hashCode +// signature_documentation java @Override\npublic int hashCode() +// kind Method // relationship is_reference is_implementation semanticdb maven . . com/airbnb/epoxy/EpoxyModel#hashCode(). // relationship is_reference is_implementation semanticdb maven jdk 11 java/lang/Object#hashCode(). int result = super.hashCode(); // ^^^^^^ definition local 10 -// documentation ```java\nint result\n``` +// display_name result +// signature_documentation java int result +// enclosing_symbol semanticdb maven . . com/airbnb/epoxy/SimpleEpoxyModel#hashCode(). +// kind Variable // ^^^^^ reference semanticdb maven . . com/airbnb/epoxy/SimpleEpoxyModel#super. // ^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/EpoxyModel#hashCode(). result = 31 * result + layoutRes; diff --git a/tests/snapshots/src/main/generated/com/airbnb/epoxy/StringAttributeData.java b/tests/snapshots/src/main/generated/com/airbnb/epoxy/StringAttributeData.java index 8139cbd4f..324a3b178 100644 --- a/tests/snapshots/src/main/generated/com/airbnb/epoxy/StringAttributeData.java +++ b/tests/snapshots/src/main/generated/com/airbnb/epoxy/StringAttributeData.java @@ -25,45 +25,65 @@ public class StringAttributeData { // ^^^^^^^^^^^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/StringAttributeData# -// documentation ```java\npublic class StringAttributeData\n``` +// display_name StringAttributeData +// signature_documentation java public class StringAttributeData +// kind Class private final boolean hasDefault; // ^^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/StringAttributeData#hasDefault. -// documentation ```java\nprivate final boolean hasDefault\n``` +// display_name hasDefault +// signature_documentation java private final boolean hasDefault +// kind Field @Nullable private final CharSequence defaultString; // ^^^^^^^^ reference semanticdb maven maven/androidx.annotation/annotation 1.1.0 androidx/annotation/Nullable# // ^^^^^^^^^^^^ reference semanticdb maven jdk 11 java/lang/CharSequence# // ^^^^^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/StringAttributeData#defaultString. -// documentation ```java\n@Nullable\nprivate final CharSequence defaultString\n``` +// display_name defaultString +// signature_documentation java @Nullable\nprivate final CharSequence defaultString +// kind Field @StringRes private final int defaultStringRes; // ^^^^^^^^^ reference semanticdb maven maven/androidx.annotation/annotation 1.1.0 androidx/annotation/StringRes# // ^^^^^^^^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/StringAttributeData#defaultStringRes. -// documentation ```java\n@StringRes\nprivate final int defaultStringRes\n``` +// display_name defaultStringRes +// signature_documentation java @StringRes\nprivate final int defaultStringRes +// kind Field @Nullable private CharSequence string; // ^^^^^^^^ reference semanticdb maven maven/androidx.annotation/annotation 1.1.0 androidx/annotation/Nullable# // ^^^^^^^^^^^^ reference semanticdb maven jdk 11 java/lang/CharSequence# // ^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/StringAttributeData#string. -// documentation ```java\n@Nullable\nprivate CharSequence string\n``` +// display_name string +// signature_documentation java @Nullable\nprivate CharSequence string +// kind Field @StringRes private int stringRes; // ^^^^^^^^^ reference semanticdb maven maven/androidx.annotation/annotation 1.1.0 androidx/annotation/StringRes# // ^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/StringAttributeData#stringRes. -// documentation ```java\n@StringRes\nprivate int stringRes\n``` +// display_name stringRes +// signature_documentation java @StringRes\nprivate int stringRes +// kind Field @PluralsRes private int pluralRes; // ^^^^^^^^^^ reference semanticdb maven maven/androidx.annotation/annotation 1.1.0 androidx/annotation/PluralsRes# // ^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/StringAttributeData#pluralRes. -// documentation ```java\n@PluralsRes\nprivate int pluralRes\n``` +// display_name pluralRes +// signature_documentation java @PluralsRes\nprivate int pluralRes +// kind Field private int quantity; // ^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/StringAttributeData#quantity. -// documentation ```java\nprivate int quantity\n``` +// display_name quantity +// signature_documentation java private int quantity +// kind Field @Nullable private Object[] formatArgs; // ^^^^^^^^ reference semanticdb maven maven/androidx.annotation/annotation 1.1.0 androidx/annotation/Nullable# // ^^^^^^ reference semanticdb maven jdk 11 java/lang/Object# // ^^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/StringAttributeData#formatArgs. -// documentation ```java\n@Nullable\nprivate Object[] formatArgs\n``` +// display_name formatArgs +// signature_documentation java @Nullable\nprivate Object[] formatArgs +// kind Field public StringAttributeData() { // ^^^^^^^^^^^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/StringAttributeData#``(). -// documentation ```java\npublic StringAttributeData()\n``` +// display_name +// signature_documentation java public StringAttributeData() +// kind Constructor hasDefault = false; // ^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/StringAttributeData#hasDefault. defaultString = null; @@ -74,11 +94,15 @@ public StringAttributeData() { public StringAttributeData(@Nullable CharSequence defaultString) { // ^^^^^^^^^^^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/StringAttributeData#``(+1). -// documentation ```java\npublic StringAttributeData(CharSequence defaultString)\n``` +// display_name +// signature_documentation java public StringAttributeData(CharSequence defaultString) +// kind Constructor // ^^^^^^^^ reference semanticdb maven maven/androidx.annotation/annotation 1.1.0 androidx/annotation/Nullable# // ^^^^^^^^^^^^ reference semanticdb maven jdk 11 java/lang/CharSequence# // ^^^^^^^^^^^^^ definition local 0 -// documentation ```java\n@Nullable\nCharSequence defaultString\n``` +// display_name defaultString +// signature_documentation java @Nullable\nCharSequence defaultString +// enclosing_symbol semanticdb maven . . com/airbnb/epoxy/StringAttributeData#``(+1). hasDefault = true; // ^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/StringAttributeData#hasDefault. this.defaultString = defaultString; @@ -93,10 +117,14 @@ public StringAttributeData(@Nullable CharSequence defaultString) { public StringAttributeData(@StringRes int defaultStringRes) { // ^^^^^^^^^^^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/StringAttributeData#``(+2). -// documentation ```java\npublic StringAttributeData(int defaultStringRes)\n``` +// display_name +// signature_documentation java public StringAttributeData(int defaultStringRes) +// kind Constructor // ^^^^^^^^^ reference semanticdb maven maven/androidx.annotation/annotation 1.1.0 androidx/annotation/StringRes# // ^^^^^^^^^^^^^^^^ definition local 1 -// documentation ```java\n@StringRes\nint defaultStringRes\n``` +// display_name defaultStringRes +// signature_documentation java @StringRes\nint defaultStringRes +// enclosing_symbol semanticdb maven . . com/airbnb/epoxy/StringAttributeData#``(+2). hasDefault = true; // ^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/StringAttributeData#hasDefault. this.defaultStringRes = defaultStringRes; @@ -111,11 +139,15 @@ public StringAttributeData(@StringRes int defaultStringRes) { public void setValue(@Nullable CharSequence string) { // ^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/StringAttributeData#setValue(). -// documentation ```java\npublic void setValue(CharSequence string)\n``` +// display_name setValue +// signature_documentation java public void setValue(CharSequence string) +// kind Method // ^^^^^^^^ reference semanticdb maven maven/androidx.annotation/annotation 1.1.0 androidx/annotation/Nullable# // ^^^^^^^^^^^^ reference semanticdb maven jdk 11 java/lang/CharSequence# // ^^^^^^ definition local 2 -// documentation ```java\n@Nullable\nCharSequence string\n``` +// display_name string +// signature_documentation java @Nullable\nCharSequence string +// enclosing_symbol semanticdb maven . . com/airbnb/epoxy/StringAttributeData#setValue(). this.string = string; // ^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/StringAttributeData#string. // ^^^^^^ reference local 2 @@ -127,10 +159,14 @@ public void setValue(@Nullable CharSequence string) { public void setValue(@StringRes int stringRes) { // ^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/StringAttributeData#setValue(+1). -// documentation ```java\npublic void setValue(int stringRes)\n``` +// display_name setValue +// signature_documentation java public void setValue(int stringRes) +// kind Method // ^^^^^^^^^ reference semanticdb maven maven/androidx.annotation/annotation 1.1.0 androidx/annotation/StringRes# // ^^^^^^^^^ definition local 3 -// documentation ```java\n@StringRes\nint stringRes\n``` +// display_name stringRes +// signature_documentation java @StringRes\nint stringRes +// enclosing_symbol semanticdb maven . . com/airbnb/epoxy/StringAttributeData#setValue(+1). setValue(stringRes, null); // ^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/StringAttributeData#setValue(+2). // ^^^^^^^^^ reference local 3 @@ -138,14 +174,20 @@ public void setValue(@StringRes int stringRes) { public void setValue(@StringRes int stringRes, @Nullable Object[] formatArgs) { // ^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/StringAttributeData#setValue(+2). -// documentation ```java\npublic void setValue(int stringRes, Object[] formatArgs)\n``` +// display_name setValue +// signature_documentation java public void setValue(int stringRes, Object[] formatArgs) +// kind Method // ^^^^^^^^^ reference semanticdb maven maven/androidx.annotation/annotation 1.1.0 androidx/annotation/StringRes# // ^^^^^^^^^ definition local 4 -// documentation ```java\n@StringRes\nint stringRes\n``` +// display_name stringRes +// signature_documentation java @StringRes\nint stringRes +// enclosing_symbol semanticdb maven . . com/airbnb/epoxy/StringAttributeData#setValue(+2). // ^^^^^^^^ reference semanticdb maven maven/androidx.annotation/annotation 1.1.0 androidx/annotation/Nullable# // ^^^^^^ reference semanticdb maven jdk 11 java/lang/Object# // ^^^^^^^^^^ definition local 5 -// documentation ```java\n@Nullable\nObject[] formatArgs\n``` +// display_name formatArgs +// signature_documentation java @Nullable\nObject[] formatArgs +// enclosing_symbol semanticdb maven . . com/airbnb/epoxy/StringAttributeData#setValue(+2). if (stringRes != 0) { // ^^^^^^^^^ reference local 4 this.stringRes = stringRes; @@ -166,7 +208,9 @@ public void setValue(@StringRes int stringRes, @Nullable Object[] formatArgs) { private void handleInvalidStringRes() { // ^^^^^^^^^^^^^^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/StringAttributeData#handleInvalidStringRes(). -// documentation ```java\nprivate void handleInvalidStringRes()\n``` +// display_name handleInvalidStringRes +// signature_documentation java private void handleInvalidStringRes() +// kind Method if (hasDefault) { // ^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/StringAttributeData#hasDefault. if (defaultStringRes != 0) { @@ -187,16 +231,24 @@ private void handleInvalidStringRes() { public void setValue(@PluralsRes int pluralRes, int quantity, @Nullable Object[] formatArgs) { // ^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/StringAttributeData#setValue(+3). -// documentation ```java\npublic void setValue(int pluralRes, int quantity, Object[] formatArgs)\n``` +// display_name setValue +// signature_documentation java public void setValue(int pluralRes, int quantity, Object[] formatArgs) +// kind Method // ^^^^^^^^^^ reference semanticdb maven maven/androidx.annotation/annotation 1.1.0 androidx/annotation/PluralsRes# // ^^^^^^^^^ definition local 6 -// documentation ```java\n@PluralsRes\nint pluralRes\n``` +// display_name pluralRes +// signature_documentation java @PluralsRes\nint pluralRes +// enclosing_symbol semanticdb maven . . com/airbnb/epoxy/StringAttributeData#setValue(+3). // ^^^^^^^^ definition local 7 -// documentation ```java\nint quantity\n``` +// display_name quantity +// signature_documentation java int quantity +// enclosing_symbol semanticdb maven . . com/airbnb/epoxy/StringAttributeData#setValue(+3). // ^^^^^^^^ reference semanticdb maven maven/androidx.annotation/annotation 1.1.0 androidx/annotation/Nullable# // ^^^^^^ reference semanticdb maven jdk 11 java/lang/Object# // ^^^^^^^^^^ definition local 8 -// documentation ```java\n@Nullable\nObject[] formatArgs\n``` +// display_name formatArgs +// signature_documentation java @Nullable\nObject[] formatArgs +// enclosing_symbol semanticdb maven . . com/airbnb/epoxy/StringAttributeData#setValue(+3). if (pluralRes != 0) { // ^^^^^^^^^ reference local 6 this.pluralRes = pluralRes; @@ -221,10 +273,14 @@ public void setValue(@PluralsRes int pluralRes, int quantity, @Nullable Object[] public CharSequence toString(Context context) { // ^^^^^^^^^^^^ reference semanticdb maven jdk 11 java/lang/CharSequence# // ^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/StringAttributeData#toString(). -// documentation ```java\npublic CharSequence toString(unresolved_type context)\n``` +// display_name toString +// signature_documentation java public CharSequence toString(unresolved_type context) +// kind Method // ^^^^^^^ reference semanticdb maven . . Context# // ^^^^^^^ definition local 9 -// documentation ```java\nunresolved_type context\n``` +// display_name context +// signature_documentation java unresolved_type context +// enclosing_symbol semanticdb maven . . com/airbnb/epoxy/StringAttributeData#toString(). if (pluralRes != 0) { // ^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/StringAttributeData#pluralRes. if (formatArgs != null) { @@ -271,11 +327,15 @@ public CharSequence toString(Context context) { // ^^^^^^^^ reference semanticdb maven jdk 11 java/lang/Override# public boolean equals(Object o) { // ^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/StringAttributeData#equals(). -// documentation ```java\n@Override\npublic boolean equals(Object o)\n``` +// display_name equals +// signature_documentation java @Override\npublic boolean equals(Object o) +// kind Method // relationship is_reference is_implementation semanticdb maven jdk 11 java/lang/Object#equals(). // ^^^^^^ reference semanticdb maven jdk 11 java/lang/Object# // ^ definition local 10 -// documentation ```java\nObject o\n``` +// display_name o +// signature_documentation java Object o +// enclosing_symbol semanticdb maven . . com/airbnb/epoxy/StringAttributeData#equals(). if (this == o) { // ^ reference local 10 return true; @@ -289,7 +349,10 @@ public boolean equals(Object o) { StringAttributeData that = (StringAttributeData) o; // ^^^^^^^^^^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/StringAttributeData# // ^^^^ definition local 11 -// documentation ```java\nStringAttributeData that\n``` +// display_name that +// signature_documentation java StringAttributeData that +// enclosing_symbol semanticdb maven . . com/airbnb/epoxy/StringAttributeData#equals(). +// kind Variable // ^^^^^^^^^^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/StringAttributeData# // ^ reference local 10 @@ -334,11 +397,16 @@ public boolean equals(Object o) { // ^^^^^^^^ reference semanticdb maven jdk 11 java/lang/Override# public int hashCode() { // ^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/StringAttributeData#hashCode(). -// documentation ```java\n@Override\npublic int hashCode()\n``` +// display_name hashCode +// signature_documentation java @Override\npublic int hashCode() +// kind Method // relationship is_reference is_implementation semanticdb maven jdk 11 java/lang/Object#hashCode(). int result = string != null ? string.hashCode() : 0; // ^^^^^^ definition local 12 -// documentation ```java\nint result\n``` +// display_name result +// signature_documentation java int result +// enclosing_symbol semanticdb maven . . com/airbnb/epoxy/StringAttributeData#hashCode(). +// kind Variable // ^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/StringAttributeData#string. // ^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/StringAttributeData#string. // ^^^^^^^^ reference semanticdb maven jdk 11 java/lang/Object#hashCode(). diff --git a/tests/snapshots/src/main/generated/com/airbnb/epoxy/StyleBuilderCallback.java b/tests/snapshots/src/main/generated/com/airbnb/epoxy/StyleBuilderCallback.java index 7f55c4e33..04ca7a981 100644 --- a/tests/snapshots/src/main/generated/com/airbnb/epoxy/StyleBuilderCallback.java +++ b/tests/snapshots/src/main/generated/com/airbnb/epoxy/StyleBuilderCallback.java @@ -6,14 +6,22 @@ */ public interface StyleBuilderCallback { // ^^^^^^^^^^^^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/StyleBuilderCallback# -// documentation ```java\npublic interface StyleBuilderCallback\n``` +// display_name StyleBuilderCallback +// signature_documentation java public interface StyleBuilderCallback +// kind Interface // documentation Used for specifying dynamic styling for a view when creating a model. This is only used if the\n view is set up to be styled with the Paris library.\n // ^ definition semanticdb maven . . com/airbnb/epoxy/StyleBuilderCallback#[T] -// documentation ```java\nT\n``` +// display_name T +// signature_documentation java T +// kind TypeParameter void buildStyle(T builder); // ^^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/StyleBuilderCallback#buildStyle(). -// documentation ```java\npublic abstract void buildStyle(T builder)\n``` +// display_name buildStyle +// signature_documentation java public abstract void buildStyle(T builder) +// kind AbstractMethod // ^ reference semanticdb maven . . com/airbnb/epoxy/StyleBuilderCallback#[T] // ^^^^^^^ definition local 0 -// documentation ```java\nT builder\n``` +// display_name builder +// signature_documentation java T builder +// enclosing_symbol semanticdb maven . . com/airbnb/epoxy/StyleBuilderCallback#buildStyle(). } diff --git a/tests/snapshots/src/main/generated/com/airbnb/epoxy/Timer.java b/tests/snapshots/src/main/generated/com/airbnb/epoxy/Timer.java index 37d89da9e..c5bbabe28 100644 --- a/tests/snapshots/src/main/generated/com/airbnb/epoxy/Timer.java +++ b/tests/snapshots/src/main/generated/com/airbnb/epoxy/Timer.java @@ -2,18 +2,26 @@ interface Timer { // ^^^^^ definition semanticdb maven . . com/airbnb/epoxy/Timer# -// documentation ```java\ninterface Timer\n``` +// display_name Timer +// signature_documentation java interface Timer +// kind Interface void start(String sectionName); // ^^^^^ definition semanticdb maven . . com/airbnb/epoxy/Timer#start(). -// documentation ```java\npublic abstract void start(String sectionName)\n``` +// display_name start +// signature_documentation java public abstract void start(String sectionName) +// kind AbstractMethod // relationship is_reference is_implementation semanticdb maven . . com/airbnb/epoxy/DebugTimer#start(). // relationship is_reference is_implementation semanticdb maven . . com/airbnb/epoxy/NoOpTimer#start(). // ^^^^^^ reference semanticdb maven jdk 11 java/lang/String# // ^^^^^^^^^^^ definition local 0 -// documentation ```java\nString sectionName\n``` +// display_name sectionName +// signature_documentation java String sectionName +// enclosing_symbol semanticdb maven . . com/airbnb/epoxy/Timer#start(). void stop(); // ^^^^ definition semanticdb maven . . com/airbnb/epoxy/Timer#stop(). -// documentation ```java\npublic abstract void stop()\n``` +// display_name stop +// signature_documentation java public abstract void stop() +// kind AbstractMethod // relationship is_reference is_implementation semanticdb maven . . com/airbnb/epoxy/DebugTimer#stop(). // relationship is_reference is_implementation semanticdb maven . . com/airbnb/epoxy/NoOpTimer#stop(). } diff --git a/tests/snapshots/src/main/generated/com/airbnb/epoxy/Typed2EpoxyController.java b/tests/snapshots/src/main/generated/com/airbnb/epoxy/Typed2EpoxyController.java index c22b1954b..a2aa6ca00 100644 --- a/tests/snapshots/src/main/generated/com/airbnb/epoxy/Typed2EpoxyController.java +++ b/tests/snapshots/src/main/generated/com/airbnb/epoxy/Typed2EpoxyController.java @@ -21,43 +21,63 @@ */ public abstract class Typed2EpoxyController extends EpoxyController { // ^^^^^^^^^^^^^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/Typed2EpoxyController# -// documentation ```java\npublic abstract class Typed2EpoxyController\n``` +// display_name Typed2EpoxyController +// signature_documentation java public abstract class Typed2EpoxyController +// kind Class // documentation This is a wrapper around {@link com.airbnb.epoxy.EpoxyController} to simplify how data is\n accessed. Use this if the data required to build your models is represented by two objects.\n

\n To use this, create a subclass typed with your data object. Then, call {@link #setData}\n whenever that data changes. This class will handle calling {@link #buildModels} with the\n latest data.\n

\n You should NOT call {@link #requestModelBuild()} directly.\n\n @see TypedEpoxyController\n @see Typed3EpoxyController\n @see Typed4EpoxyController\n // relationship is_implementation semanticdb maven . . ModelCollector# // relationship is_implementation semanticdb maven . . StickyHeaderCallbacks# // relationship is_implementation semanticdb maven . . com/airbnb/epoxy/EpoxyController# // ^ definition semanticdb maven . . com/airbnb/epoxy/Typed2EpoxyController#[T] -// documentation ```java\nT\n``` +// display_name T +// signature_documentation java T +// kind TypeParameter // ^ definition semanticdb maven . . com/airbnb/epoxy/Typed2EpoxyController#[U] -// documentation ```java\nU\n``` +// display_name U +// signature_documentation java U +// kind TypeParameter // ^^^^^^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/EpoxyController# private T data1; // ^ reference semanticdb maven . . com/airbnb/epoxy/Typed2EpoxyController#[T] // ^^^^^ definition semanticdb maven . . com/airbnb/epoxy/Typed2EpoxyController#data1. -// documentation ```java\nprivate T data1\n``` +// display_name data1 +// signature_documentation java private T data1 +// kind Field private U data2; // ^ reference semanticdb maven . . com/airbnb/epoxy/Typed2EpoxyController#[U] // ^^^^^ definition semanticdb maven . . com/airbnb/epoxy/Typed2EpoxyController#data2. -// documentation ```java\nprivate U data2\n``` +// display_name data2 +// signature_documentation java private U data2 +// kind Field private boolean allowModelBuildRequests; // ^^^^^^^^^^^^^^^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/Typed2EpoxyController#allowModelBuildRequests. -// documentation ```java\nprivate boolean allowModelBuildRequests\n``` +// display_name allowModelBuildRequests +// signature_documentation java private boolean allowModelBuildRequests +// kind Field public Typed2EpoxyController() { // ^^^^^^^^^^^^^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/Typed2EpoxyController#``(). -// documentation ```java\npublic Typed2EpoxyController()\n``` +// display_name +// signature_documentation java public Typed2EpoxyController() +// kind Constructor } public Typed2EpoxyController(Handler modelBuildingHandler, Handler diffingHandler) { // ^^^^^^^^^^^^^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/Typed2EpoxyController#``(+1). -// documentation ```java\npublic Typed2EpoxyController(unresolved_type modelBuildingHandler, unresolved_type diffingHandler)\n``` +// display_name +// signature_documentation java public Typed2EpoxyController(unresolved_type modelBuildingHandler, unresolved_type diffingHandler) +// kind Constructor // ^^^^^^^ reference semanticdb maven . . Handler# // ^^^^^^^^^^^^^^^^^^^^ definition local 0 -// documentation ```java\nunresolved_type modelBuildingHandler\n``` +// display_name modelBuildingHandler +// signature_documentation java unresolved_type modelBuildingHandler +// enclosing_symbol semanticdb maven . . com/airbnb/epoxy/Typed2EpoxyController#``(+1). // ^^^^^^^ reference semanticdb maven . . Handler# // ^^^^^^^^^^^^^^ definition local 1 -// documentation ```java\nunresolved_type diffingHandler\n``` +// display_name diffingHandler +// signature_documentation java unresolved_type diffingHandler +// enclosing_symbol semanticdb maven . . com/airbnb/epoxy/Typed2EpoxyController#``(+1). super(modelBuildingHandler, diffingHandler); // ^^^^^ reference semanticdb maven . . com/airbnb/epoxy/EpoxyController#``(+1). // ^^^^^^^^^^^^^^^^^^^^ reference local 0 @@ -70,14 +90,20 @@ public Typed2EpoxyController(Handler modelBuildingHandler, Handler diffingHandle */ public void setData(T data1, U data2) { // ^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/Typed2EpoxyController#setData(). -// documentation ```java\npublic void setData(T data1, U data2)\n``` +// display_name setData +// signature_documentation java public void setData(T data1, U data2) +// kind Method // documentation Call this with the latest data when you want models to be rebuilt. The data will be passed on\n to {@link #buildModels(Object, Object)}\n // ^ reference semanticdb maven . . com/airbnb/epoxy/Typed2EpoxyController#[T] // ^^^^^ definition local 2 -// documentation ```java\nT data1\n``` +// display_name data1 +// signature_documentation java T data1 +// enclosing_symbol semanticdb maven . . com/airbnb/epoxy/Typed2EpoxyController#setData(). // ^ reference semanticdb maven . . com/airbnb/epoxy/Typed2EpoxyController#[U] // ^^^^^ definition local 3 -// documentation ```java\nU data2\n``` +// display_name data2 +// signature_documentation java U data2 +// enclosing_symbol semanticdb maven . . com/airbnb/epoxy/Typed2EpoxyController#setData(). this.data1 = data1; // ^^^^^ reference semanticdb maven . . com/airbnb/epoxy/Typed2EpoxyController#data1. // ^^^^^ reference local 2 @@ -96,7 +122,9 @@ public void setData(T data1, U data2) { // ^^^^^^^^ reference semanticdb maven jdk 11 java/lang/Override# public final void requestModelBuild() { // ^^^^^^^^^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/Typed2EpoxyController#requestModelBuild(). -// documentation ```java\n@Override\npublic final void requestModelBuild()\n``` +// display_name requestModelBuild +// signature_documentation java @Override\npublic final void requestModelBuild() +// kind Method // relationship is_reference is_implementation semanticdb maven . . com/airbnb/epoxy/EpoxyController#requestModelBuild(). if (!allowModelBuildRequests) { // ^^^^^^^^^^^^^^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/Typed2EpoxyController#allowModelBuildRequests. @@ -114,12 +142,18 @@ public final void requestModelBuild() { // ^^^^^^^^ reference semanticdb maven jdk 11 java/lang/Override# public void moveModel(int fromPosition, int toPosition) { // ^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/Typed2EpoxyController#moveModel(). -// documentation ```java\n@Override\npublic void moveModel(int fromPosition, int toPosition)\n``` +// display_name moveModel +// signature_documentation java @Override\npublic void moveModel(int fromPosition, int toPosition) +// kind Method // relationship is_reference is_implementation semanticdb maven . . com/airbnb/epoxy/EpoxyController#moveModel(). // ^^^^^^^^^^^^ definition local 4 -// documentation ```java\nint fromPosition\n``` +// display_name fromPosition +// signature_documentation java int fromPosition +// enclosing_symbol semanticdb maven . . com/airbnb/epoxy/Typed2EpoxyController#moveModel(). // ^^^^^^^^^^ definition local 5 -// documentation ```java\nint toPosition\n``` +// display_name toPosition +// signature_documentation java int toPosition +// enclosing_symbol semanticdb maven . . com/airbnb/epoxy/Typed2EpoxyController#moveModel(). allowModelBuildRequests = true; // ^^^^^^^^^^^^^^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/Typed2EpoxyController#allowModelBuildRequests. super.moveModel(fromPosition, toPosition); @@ -135,10 +169,14 @@ public void moveModel(int fromPosition, int toPosition) { // ^^^^^^^^ reference semanticdb maven jdk 11 java/lang/Override# public void requestDelayedModelBuild(int delayMs) { // ^^^^^^^^^^^^^^^^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/Typed2EpoxyController#requestDelayedModelBuild(). -// documentation ```java\n@Override\npublic void requestDelayedModelBuild(int delayMs)\n``` +// display_name requestDelayedModelBuild +// signature_documentation java @Override\npublic void requestDelayedModelBuild(int delayMs) +// kind Method // relationship is_reference is_implementation semanticdb maven . . com/airbnb/epoxy/EpoxyController#requestDelayedModelBuild(). // ^^^^^^^ definition local 6 -// documentation ```java\nint delayMs\n``` +// display_name delayMs +// signature_documentation java int delayMs +// enclosing_symbol semanticdb maven . . com/airbnb/epoxy/Typed2EpoxyController#requestDelayedModelBuild(). if (!allowModelBuildRequests) { // ^^^^^^^^^^^^^^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/Typed2EpoxyController#allowModelBuildRequests. throw new IllegalStateException( @@ -156,7 +194,9 @@ public void requestDelayedModelBuild(int delayMs) { // ^^^^^^^^ reference semanticdb maven jdk 11 java/lang/Override# protected final void buildModels() { // ^^^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/Typed2EpoxyController#buildModels(). -// documentation ```java\n@Override\nprotected final void buildModels()\n``` +// display_name buildModels +// signature_documentation java @Override\nprotected final void buildModels() +// kind Method // relationship is_reference is_implementation semanticdb maven . . com/airbnb/epoxy/EpoxyController#buildModels(). if (!isBuildingModels()) { // ^^^^^^^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/EpoxyController#isBuildingModels(). @@ -173,11 +213,17 @@ protected final void buildModels() { protected abstract void buildModels(T data1, U data2); // ^^^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/Typed2EpoxyController#buildModels(+1). -// documentation ```java\nprotected abstract void buildModels(T data1, U data2)\n``` +// display_name buildModels +// signature_documentation java protected abstract void buildModels(T data1, U data2) +// kind AbstractMethod // ^ reference semanticdb maven . . com/airbnb/epoxy/Typed2EpoxyController#[T] // ^^^^^ definition local 7 -// documentation ```java\nT data1\n``` +// display_name data1 +// signature_documentation java T data1 +// enclosing_symbol semanticdb maven . . com/airbnb/epoxy/Typed2EpoxyController#buildModels(+1). // ^ reference semanticdb maven . . com/airbnb/epoxy/Typed2EpoxyController#[U] // ^^^^^ definition local 8 -// documentation ```java\nU data2\n``` +// display_name data2 +// signature_documentation java U data2 +// enclosing_symbol semanticdb maven . . com/airbnb/epoxy/Typed2EpoxyController#buildModels(+1). } diff --git a/tests/snapshots/src/main/generated/com/airbnb/epoxy/Typed3EpoxyController.java b/tests/snapshots/src/main/generated/com/airbnb/epoxy/Typed3EpoxyController.java index 07df85192..dab0d8f5c 100644 --- a/tests/snapshots/src/main/generated/com/airbnb/epoxy/Typed3EpoxyController.java +++ b/tests/snapshots/src/main/generated/com/airbnb/epoxy/Typed3EpoxyController.java @@ -21,49 +21,73 @@ */ public abstract class Typed3EpoxyController extends EpoxyController { // ^^^^^^^^^^^^^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/Typed3EpoxyController# -// documentation ```java\npublic abstract class Typed3EpoxyController\n``` +// display_name Typed3EpoxyController +// signature_documentation java public abstract class Typed3EpoxyController +// kind Class // documentation This is a wrapper around {@link com.airbnb.epoxy.EpoxyController} to simplify how data is\n accessed. Use this if the data required to build your models is represented by three objects.\n

\n To use this, create a subclass typed with your data object. Then, call {@link #setData}\n whenever that data changes. This class will handle calling {@link #buildModels} with the\n latest data.\n

\n You should NOT call {@link #requestModelBuild()} directly.\n\n @see TypedEpoxyController\n @see Typed2EpoxyController\n @see Typed4EpoxyController\n // relationship is_implementation semanticdb maven . . ModelCollector# // relationship is_implementation semanticdb maven . . StickyHeaderCallbacks# // relationship is_implementation semanticdb maven . . com/airbnb/epoxy/EpoxyController# // ^ definition semanticdb maven . . com/airbnb/epoxy/Typed3EpoxyController#[T] -// documentation ```java\nT\n``` +// display_name T +// signature_documentation java T +// kind TypeParameter // ^ definition semanticdb maven . . com/airbnb/epoxy/Typed3EpoxyController#[U] -// documentation ```java\nU\n``` +// display_name U +// signature_documentation java U +// kind TypeParameter // ^ definition semanticdb maven . . com/airbnb/epoxy/Typed3EpoxyController#[V] -// documentation ```java\nV\n``` +// display_name V +// signature_documentation java V +// kind TypeParameter // ^^^^^^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/EpoxyController# private T data1; // ^ reference semanticdb maven . . com/airbnb/epoxy/Typed3EpoxyController#[T] // ^^^^^ definition semanticdb maven . . com/airbnb/epoxy/Typed3EpoxyController#data1. -// documentation ```java\nprivate T data1\n``` +// display_name data1 +// signature_documentation java private T data1 +// kind Field private U data2; // ^ reference semanticdb maven . . com/airbnb/epoxy/Typed3EpoxyController#[U] // ^^^^^ definition semanticdb maven . . com/airbnb/epoxy/Typed3EpoxyController#data2. -// documentation ```java\nprivate U data2\n``` +// display_name data2 +// signature_documentation java private U data2 +// kind Field private V data3; // ^ reference semanticdb maven . . com/airbnb/epoxy/Typed3EpoxyController#[V] // ^^^^^ definition semanticdb maven . . com/airbnb/epoxy/Typed3EpoxyController#data3. -// documentation ```java\nprivate V data3\n``` +// display_name data3 +// signature_documentation java private V data3 +// kind Field private boolean allowModelBuildRequests; // ^^^^^^^^^^^^^^^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/Typed3EpoxyController#allowModelBuildRequests. -// documentation ```java\nprivate boolean allowModelBuildRequests\n``` +// display_name allowModelBuildRequests +// signature_documentation java private boolean allowModelBuildRequests +// kind Field public Typed3EpoxyController() { // ^^^^^^^^^^^^^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/Typed3EpoxyController#``(). -// documentation ```java\npublic Typed3EpoxyController()\n``` +// display_name +// signature_documentation java public Typed3EpoxyController() +// kind Constructor } public Typed3EpoxyController(Handler modelBuildingHandler, Handler diffingHandler) { // ^^^^^^^^^^^^^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/Typed3EpoxyController#``(+1). -// documentation ```java\npublic Typed3EpoxyController(unresolved_type modelBuildingHandler, unresolved_type diffingHandler)\n``` +// display_name +// signature_documentation java public Typed3EpoxyController(unresolved_type modelBuildingHandler, unresolved_type diffingHandler) +// kind Constructor // ^^^^^^^ reference semanticdb maven . . Handler# // ^^^^^^^^^^^^^^^^^^^^ definition local 0 -// documentation ```java\nunresolved_type modelBuildingHandler\n``` +// display_name modelBuildingHandler +// signature_documentation java unresolved_type modelBuildingHandler +// enclosing_symbol semanticdb maven . . com/airbnb/epoxy/Typed3EpoxyController#``(+1). // ^^^^^^^ reference semanticdb maven . . Handler# // ^^^^^^^^^^^^^^ definition local 1 -// documentation ```java\nunresolved_type diffingHandler\n``` +// display_name diffingHandler +// signature_documentation java unresolved_type diffingHandler +// enclosing_symbol semanticdb maven . . com/airbnb/epoxy/Typed3EpoxyController#``(+1). super(modelBuildingHandler, diffingHandler); // ^^^^^ reference semanticdb maven . . com/airbnb/epoxy/EpoxyController#``(+1). // ^^^^^^^^^^^^^^^^^^^^ reference local 0 @@ -76,17 +100,25 @@ public Typed3EpoxyController(Handler modelBuildingHandler, Handler diffingHandle */ public void setData(T data1, U data2, V data3) { // ^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/Typed3EpoxyController#setData(). -// documentation ```java\npublic void setData(T data1, U data2, V data3)\n``` +// display_name setData +// signature_documentation java public void setData(T data1, U data2, V data3) +// kind Method // documentation Call this with the latest data when you want models to be rebuilt. The data will be passed on\n to {@link #buildModels(Object, Object, Object)}\n // ^ reference semanticdb maven . . com/airbnb/epoxy/Typed3EpoxyController#[T] // ^^^^^ definition local 2 -// documentation ```java\nT data1\n``` +// display_name data1 +// signature_documentation java T data1 +// enclosing_symbol semanticdb maven . . com/airbnb/epoxy/Typed3EpoxyController#setData(). // ^ reference semanticdb maven . . com/airbnb/epoxy/Typed3EpoxyController#[U] // ^^^^^ definition local 3 -// documentation ```java\nU data2\n``` +// display_name data2 +// signature_documentation java U data2 +// enclosing_symbol semanticdb maven . . com/airbnb/epoxy/Typed3EpoxyController#setData(). // ^ reference semanticdb maven . . com/airbnb/epoxy/Typed3EpoxyController#[V] // ^^^^^ definition local 4 -// documentation ```java\nV data3\n``` +// display_name data3 +// signature_documentation java V data3 +// enclosing_symbol semanticdb maven . . com/airbnb/epoxy/Typed3EpoxyController#setData(). this.data1 = data1; // ^^^^^ reference semanticdb maven . . com/airbnb/epoxy/Typed3EpoxyController#data1. // ^^^^^ reference local 2 @@ -108,7 +140,9 @@ public void setData(T data1, U data2, V data3) { // ^^^^^^^^ reference semanticdb maven jdk 11 java/lang/Override# public final void requestModelBuild() { // ^^^^^^^^^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/Typed3EpoxyController#requestModelBuild(). -// documentation ```java\n@Override\npublic final void requestModelBuild()\n``` +// display_name requestModelBuild +// signature_documentation java @Override\npublic final void requestModelBuild() +// kind Method // relationship is_reference is_implementation semanticdb maven . . com/airbnb/epoxy/EpoxyController#requestModelBuild(). if (!allowModelBuildRequests) { // ^^^^^^^^^^^^^^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/Typed3EpoxyController#allowModelBuildRequests. @@ -126,12 +160,18 @@ public final void requestModelBuild() { // ^^^^^^^^ reference semanticdb maven jdk 11 java/lang/Override# public void moveModel(int fromPosition, int toPosition) { // ^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/Typed3EpoxyController#moveModel(). -// documentation ```java\n@Override\npublic void moveModel(int fromPosition, int toPosition)\n``` +// display_name moveModel +// signature_documentation java @Override\npublic void moveModel(int fromPosition, int toPosition) +// kind Method // relationship is_reference is_implementation semanticdb maven . . com/airbnb/epoxy/EpoxyController#moveModel(). // ^^^^^^^^^^^^ definition local 5 -// documentation ```java\nint fromPosition\n``` +// display_name fromPosition +// signature_documentation java int fromPosition +// enclosing_symbol semanticdb maven . . com/airbnb/epoxy/Typed3EpoxyController#moveModel(). // ^^^^^^^^^^ definition local 6 -// documentation ```java\nint toPosition\n``` +// display_name toPosition +// signature_documentation java int toPosition +// enclosing_symbol semanticdb maven . . com/airbnb/epoxy/Typed3EpoxyController#moveModel(). allowModelBuildRequests = true; // ^^^^^^^^^^^^^^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/Typed3EpoxyController#allowModelBuildRequests. super.moveModel(fromPosition, toPosition); @@ -147,10 +187,14 @@ public void moveModel(int fromPosition, int toPosition) { // ^^^^^^^^ reference semanticdb maven jdk 11 java/lang/Override# public void requestDelayedModelBuild(int delayMs) { // ^^^^^^^^^^^^^^^^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/Typed3EpoxyController#requestDelayedModelBuild(). -// documentation ```java\n@Override\npublic void requestDelayedModelBuild(int delayMs)\n``` +// display_name requestDelayedModelBuild +// signature_documentation java @Override\npublic void requestDelayedModelBuild(int delayMs) +// kind Method // relationship is_reference is_implementation semanticdb maven . . com/airbnb/epoxy/EpoxyController#requestDelayedModelBuild(). // ^^^^^^^ definition local 7 -// documentation ```java\nint delayMs\n``` +// display_name delayMs +// signature_documentation java int delayMs +// enclosing_symbol semanticdb maven . . com/airbnb/epoxy/Typed3EpoxyController#requestDelayedModelBuild(). if (!allowModelBuildRequests) { // ^^^^^^^^^^^^^^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/Typed3EpoxyController#allowModelBuildRequests. throw new IllegalStateException( @@ -168,7 +212,9 @@ public void requestDelayedModelBuild(int delayMs) { // ^^^^^^^^ reference semanticdb maven jdk 11 java/lang/Override# protected final void buildModels() { // ^^^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/Typed3EpoxyController#buildModels(). -// documentation ```java\n@Override\nprotected final void buildModels()\n``` +// display_name buildModels +// signature_documentation java @Override\nprotected final void buildModels() +// kind Method // relationship is_reference is_implementation semanticdb maven . . com/airbnb/epoxy/EpoxyController#buildModels(). if (!isBuildingModels()) { // ^^^^^^^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/EpoxyController#isBuildingModels(). @@ -186,14 +232,22 @@ protected final void buildModels() { protected abstract void buildModels(T data1, U data2, V data3); // ^^^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/Typed3EpoxyController#buildModels(+1). -// documentation ```java\nprotected abstract void buildModels(T data1, U data2, V data3)\n``` +// display_name buildModels +// signature_documentation java protected abstract void buildModels(T data1, U data2, V data3) +// kind AbstractMethod // ^ reference semanticdb maven . . com/airbnb/epoxy/Typed3EpoxyController#[T] // ^^^^^ definition local 8 -// documentation ```java\nT data1\n``` +// display_name data1 +// signature_documentation java T data1 +// enclosing_symbol semanticdb maven . . com/airbnb/epoxy/Typed3EpoxyController#buildModels(+1). // ^ reference semanticdb maven . . com/airbnb/epoxy/Typed3EpoxyController#[U] // ^^^^^ definition local 9 -// documentation ```java\nU data2\n``` +// display_name data2 +// signature_documentation java U data2 +// enclosing_symbol semanticdb maven . . com/airbnb/epoxy/Typed3EpoxyController#buildModels(+1). // ^ reference semanticdb maven . . com/airbnb/epoxy/Typed3EpoxyController#[V] // ^^^^^ definition local 10 -// documentation ```java\nV data3\n``` +// display_name data3 +// signature_documentation java V data3 +// enclosing_symbol semanticdb maven . . com/airbnb/epoxy/Typed3EpoxyController#buildModels(+1). } diff --git a/tests/snapshots/src/main/generated/com/airbnb/epoxy/Typed4EpoxyController.java b/tests/snapshots/src/main/generated/com/airbnb/epoxy/Typed4EpoxyController.java index e773eca29..de41e110d 100644 --- a/tests/snapshots/src/main/generated/com/airbnb/epoxy/Typed4EpoxyController.java +++ b/tests/snapshots/src/main/generated/com/airbnb/epoxy/Typed4EpoxyController.java @@ -21,55 +21,83 @@ */ public abstract class Typed4EpoxyController extends EpoxyController { // ^^^^^^^^^^^^^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/Typed4EpoxyController# -// documentation ```java\npublic abstract class Typed4EpoxyController\n``` +// display_name Typed4EpoxyController +// signature_documentation java public abstract class Typed4EpoxyController +// kind Class // documentation This is a wrapper around {@link com.airbnb.epoxy.EpoxyController} to simplify how data is\n accessed. Use this if the data required to build your models is represented by four objects.\n

\n To use this, create a subclass typed with your data object. Then, call {@link #setData}\n whenever that data changes. This class will handle calling {@link #buildModels} with the\n latest data.\n

\n You should NOT call {@link #requestModelBuild()} directly.\n\n @see TypedEpoxyController\n @see Typed2EpoxyController\n @see Typed3EpoxyController\n // relationship is_implementation semanticdb maven . . ModelCollector# // relationship is_implementation semanticdb maven . . StickyHeaderCallbacks# // relationship is_implementation semanticdb maven . . com/airbnb/epoxy/EpoxyController# // ^ definition semanticdb maven . . com/airbnb/epoxy/Typed4EpoxyController#[T] -// documentation ```java\nT\n``` +// display_name T +// signature_documentation java T +// kind TypeParameter // ^ definition semanticdb maven . . com/airbnb/epoxy/Typed4EpoxyController#[U] -// documentation ```java\nU\n``` +// display_name U +// signature_documentation java U +// kind TypeParameter // ^ definition semanticdb maven . . com/airbnb/epoxy/Typed4EpoxyController#[V] -// documentation ```java\nV\n``` +// display_name V +// signature_documentation java V +// kind TypeParameter // ^ definition semanticdb maven . . com/airbnb/epoxy/Typed4EpoxyController#[W] -// documentation ```java\nW\n``` +// display_name W +// signature_documentation java W +// kind TypeParameter // ^^^^^^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/EpoxyController# private T data1; // ^ reference semanticdb maven . . com/airbnb/epoxy/Typed4EpoxyController#[T] // ^^^^^ definition semanticdb maven . . com/airbnb/epoxy/Typed4EpoxyController#data1. -// documentation ```java\nprivate T data1\n``` +// display_name data1 +// signature_documentation java private T data1 +// kind Field private U data2; // ^ reference semanticdb maven . . com/airbnb/epoxy/Typed4EpoxyController#[U] // ^^^^^ definition semanticdb maven . . com/airbnb/epoxy/Typed4EpoxyController#data2. -// documentation ```java\nprivate U data2\n``` +// display_name data2 +// signature_documentation java private U data2 +// kind Field private V data3; // ^ reference semanticdb maven . . com/airbnb/epoxy/Typed4EpoxyController#[V] // ^^^^^ definition semanticdb maven . . com/airbnb/epoxy/Typed4EpoxyController#data3. -// documentation ```java\nprivate V data3\n``` +// display_name data3 +// signature_documentation java private V data3 +// kind Field private W data4; // ^ reference semanticdb maven . . com/airbnb/epoxy/Typed4EpoxyController#[W] // ^^^^^ definition semanticdb maven . . com/airbnb/epoxy/Typed4EpoxyController#data4. -// documentation ```java\nprivate W data4\n``` +// display_name data4 +// signature_documentation java private W data4 +// kind Field private boolean allowModelBuildRequests; // ^^^^^^^^^^^^^^^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/Typed4EpoxyController#allowModelBuildRequests. -// documentation ```java\nprivate boolean allowModelBuildRequests\n``` +// display_name allowModelBuildRequests +// signature_documentation java private boolean allowModelBuildRequests +// kind Field public Typed4EpoxyController() { // ^^^^^^^^^^^^^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/Typed4EpoxyController#``(). -// documentation ```java\npublic Typed4EpoxyController()\n``` +// display_name +// signature_documentation java public Typed4EpoxyController() +// kind Constructor } public Typed4EpoxyController(Handler modelBuildingHandler, Handler diffingHandler) { // ^^^^^^^^^^^^^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/Typed4EpoxyController#``(+1). -// documentation ```java\npublic Typed4EpoxyController(unresolved_type modelBuildingHandler, unresolved_type diffingHandler)\n``` +// display_name +// signature_documentation java public Typed4EpoxyController(unresolved_type modelBuildingHandler, unresolved_type diffingHandler) +// kind Constructor // ^^^^^^^ reference semanticdb maven . . Handler# // ^^^^^^^^^^^^^^^^^^^^ definition local 0 -// documentation ```java\nunresolved_type modelBuildingHandler\n``` +// display_name modelBuildingHandler +// signature_documentation java unresolved_type modelBuildingHandler +// enclosing_symbol semanticdb maven . . com/airbnb/epoxy/Typed4EpoxyController#``(+1). // ^^^^^^^ reference semanticdb maven . . Handler# // ^^^^^^^^^^^^^^ definition local 1 -// documentation ```java\nunresolved_type diffingHandler\n``` +// display_name diffingHandler +// signature_documentation java unresolved_type diffingHandler +// enclosing_symbol semanticdb maven . . com/airbnb/epoxy/Typed4EpoxyController#``(+1). super(modelBuildingHandler, diffingHandler); // ^^^^^ reference semanticdb maven . . com/airbnb/epoxy/EpoxyController#``(+1). // ^^^^^^^^^^^^^^^^^^^^ reference local 0 @@ -82,20 +110,30 @@ public Typed4EpoxyController(Handler modelBuildingHandler, Handler diffingHandle */ public void setData(T data1, U data2, V data3, W data4) { // ^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/Typed4EpoxyController#setData(). -// documentation ```java\npublic void setData(T data1, U data2, V data3, W data4)\n``` +// display_name setData +// signature_documentation java public void setData(T data1, U data2, V data3, W data4) +// kind Method // documentation Call this with the latest data when you want models to be rebuilt. The data will be passed on\n to {@link #buildModels(Object, Object, Object, Object)}\n // ^ reference semanticdb maven . . com/airbnb/epoxy/Typed4EpoxyController#[T] // ^^^^^ definition local 2 -// documentation ```java\nT data1\n``` +// display_name data1 +// signature_documentation java T data1 +// enclosing_symbol semanticdb maven . . com/airbnb/epoxy/Typed4EpoxyController#setData(). // ^ reference semanticdb maven . . com/airbnb/epoxy/Typed4EpoxyController#[U] // ^^^^^ definition local 3 -// documentation ```java\nU data2\n``` +// display_name data2 +// signature_documentation java U data2 +// enclosing_symbol semanticdb maven . . com/airbnb/epoxy/Typed4EpoxyController#setData(). // ^ reference semanticdb maven . . com/airbnb/epoxy/Typed4EpoxyController#[V] // ^^^^^ definition local 4 -// documentation ```java\nV data3\n``` +// display_name data3 +// signature_documentation java V data3 +// enclosing_symbol semanticdb maven . . com/airbnb/epoxy/Typed4EpoxyController#setData(). // ^ reference semanticdb maven . . com/airbnb/epoxy/Typed4EpoxyController#[W] // ^^^^^ definition local 5 -// documentation ```java\nW data4\n``` +// display_name data4 +// signature_documentation java W data4 +// enclosing_symbol semanticdb maven . . com/airbnb/epoxy/Typed4EpoxyController#setData(). this.data1 = data1; // ^^^^^ reference semanticdb maven . . com/airbnb/epoxy/Typed4EpoxyController#data1. // ^^^^^ reference local 2 @@ -120,7 +158,9 @@ public void setData(T data1, U data2, V data3, W data4) { // ^^^^^^^^ reference semanticdb maven jdk 11 java/lang/Override# public final void requestModelBuild() { // ^^^^^^^^^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/Typed4EpoxyController#requestModelBuild(). -// documentation ```java\n@Override\npublic final void requestModelBuild()\n``` +// display_name requestModelBuild +// signature_documentation java @Override\npublic final void requestModelBuild() +// kind Method // relationship is_reference is_implementation semanticdb maven . . com/airbnb/epoxy/EpoxyController#requestModelBuild(). if (!allowModelBuildRequests) { // ^^^^^^^^^^^^^^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/Typed4EpoxyController#allowModelBuildRequests. @@ -138,12 +178,18 @@ public final void requestModelBuild() { // ^^^^^^^^ reference semanticdb maven jdk 11 java/lang/Override# public void moveModel(int fromPosition, int toPosition) { // ^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/Typed4EpoxyController#moveModel(). -// documentation ```java\n@Override\npublic void moveModel(int fromPosition, int toPosition)\n``` +// display_name moveModel +// signature_documentation java @Override\npublic void moveModel(int fromPosition, int toPosition) +// kind Method // relationship is_reference is_implementation semanticdb maven . . com/airbnb/epoxy/EpoxyController#moveModel(). // ^^^^^^^^^^^^ definition local 6 -// documentation ```java\nint fromPosition\n``` +// display_name fromPosition +// signature_documentation java int fromPosition +// enclosing_symbol semanticdb maven . . com/airbnb/epoxy/Typed4EpoxyController#moveModel(). // ^^^^^^^^^^ definition local 7 -// documentation ```java\nint toPosition\n``` +// display_name toPosition +// signature_documentation java int toPosition +// enclosing_symbol semanticdb maven . . com/airbnb/epoxy/Typed4EpoxyController#moveModel(). allowModelBuildRequests = true; // ^^^^^^^^^^^^^^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/Typed4EpoxyController#allowModelBuildRequests. super.moveModel(fromPosition, toPosition); @@ -159,10 +205,14 @@ public void moveModel(int fromPosition, int toPosition) { // ^^^^^^^^ reference semanticdb maven jdk 11 java/lang/Override# public void requestDelayedModelBuild(int delayMs) { // ^^^^^^^^^^^^^^^^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/Typed4EpoxyController#requestDelayedModelBuild(). -// documentation ```java\n@Override\npublic void requestDelayedModelBuild(int delayMs)\n``` +// display_name requestDelayedModelBuild +// signature_documentation java @Override\npublic void requestDelayedModelBuild(int delayMs) +// kind Method // relationship is_reference is_implementation semanticdb maven . . com/airbnb/epoxy/EpoxyController#requestDelayedModelBuild(). // ^^^^^^^ definition local 8 -// documentation ```java\nint delayMs\n``` +// display_name delayMs +// signature_documentation java int delayMs +// enclosing_symbol semanticdb maven . . com/airbnb/epoxy/Typed4EpoxyController#requestDelayedModelBuild(). if (!allowModelBuildRequests) { // ^^^^^^^^^^^^^^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/Typed4EpoxyController#allowModelBuildRequests. throw new IllegalStateException( @@ -180,7 +230,9 @@ public void requestDelayedModelBuild(int delayMs) { // ^^^^^^^^ reference semanticdb maven jdk 11 java/lang/Override# protected final void buildModels() { // ^^^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/Typed4EpoxyController#buildModels(). -// documentation ```java\n@Override\nprotected final void buildModels()\n``` +// display_name buildModels +// signature_documentation java @Override\nprotected final void buildModels() +// kind Method // relationship is_reference is_implementation semanticdb maven . . com/airbnb/epoxy/EpoxyController#buildModels(). if (!isBuildingModels()) { // ^^^^^^^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/EpoxyController#isBuildingModels(). @@ -199,18 +251,28 @@ protected final void buildModels() { protected abstract void buildModels(T data1, U data2, V data3, W data4); // ^^^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/Typed4EpoxyController#buildModels(+1). -// documentation ```java\nprotected abstract void buildModels(T data1, U data2, V data3, W data4)\n``` +// display_name buildModels +// signature_documentation java protected abstract void buildModels(T data1, U data2, V data3, W data4) +// kind AbstractMethod // ^ reference semanticdb maven . . com/airbnb/epoxy/Typed4EpoxyController#[T] // ^^^^^ definition local 9 -// documentation ```java\nT data1\n``` +// display_name data1 +// signature_documentation java T data1 +// enclosing_symbol semanticdb maven . . com/airbnb/epoxy/Typed4EpoxyController#buildModels(+1). // ^ reference semanticdb maven . . com/airbnb/epoxy/Typed4EpoxyController#[U] // ^^^^^ definition local 10 -// documentation ```java\nU data2\n``` +// display_name data2 +// signature_documentation java U data2 +// enclosing_symbol semanticdb maven . . com/airbnb/epoxy/Typed4EpoxyController#buildModels(+1). // ^ reference semanticdb maven . . com/airbnb/epoxy/Typed4EpoxyController#[V] // ^^^^^ definition local 11 -// documentation ```java\nV data3\n``` +// display_name data3 +// signature_documentation java V data3 +// enclosing_symbol semanticdb maven . . com/airbnb/epoxy/Typed4EpoxyController#buildModels(+1). // ^ reference semanticdb maven . . com/airbnb/epoxy/Typed4EpoxyController#[W] // ^^^^^ definition local 12 -// documentation ```java\nW data4\n``` +// display_name data4 +// signature_documentation java W data4 +// enclosing_symbol semanticdb maven . . com/airbnb/epoxy/Typed4EpoxyController#buildModels(+1). } diff --git a/tests/snapshots/src/main/generated/com/airbnb/epoxy/TypedEpoxyController.java b/tests/snapshots/src/main/generated/com/airbnb/epoxy/TypedEpoxyController.java index bfa1b91d6..60710ab40 100644 --- a/tests/snapshots/src/main/generated/com/airbnb/epoxy/TypedEpoxyController.java +++ b/tests/snapshots/src/main/generated/com/airbnb/epoxy/TypedEpoxyController.java @@ -25,36 +25,52 @@ */ public abstract class TypedEpoxyController extends EpoxyController { // ^^^^^^^^^^^^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/TypedEpoxyController# -// documentation ```java\npublic abstract class TypedEpoxyController\n``` +// display_name TypedEpoxyController +// signature_documentation java public abstract class TypedEpoxyController +// kind Class // documentation This is a wrapper around {@link com.airbnb.epoxy.EpoxyController} to simplify how data is\n accessed. Use this if the data required to build your models is represented by a single object.\n

\n To use this, create a subclass typed with your data object. Then, call {@link #setData(Object)}\n whenever that data changes. This class will handle calling {@link #buildModels(Object)} with the\n latest data.\n

\n You should NOT call {@link #requestModelBuild()} directly.\n\n @see Typed2EpoxyController\n @see Typed3EpoxyController\n @see Typed4EpoxyController\n // relationship is_implementation semanticdb maven . . ModelCollector# // relationship is_implementation semanticdb maven . . StickyHeaderCallbacks# // relationship is_implementation semanticdb maven . . com/airbnb/epoxy/EpoxyController# // ^ definition semanticdb maven . . com/airbnb/epoxy/TypedEpoxyController#[T] -// documentation ```java\nT\n``` +// display_name T +// signature_documentation java T +// kind TypeParameter // ^^^^^^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/EpoxyController# private T currentData; // ^ reference semanticdb maven . . com/airbnb/epoxy/TypedEpoxyController#[T] // ^^^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/TypedEpoxyController#currentData. -// documentation ```java\nprivate T currentData\n``` +// display_name currentData +// signature_documentation java private T currentData +// kind Field private boolean allowModelBuildRequests; // ^^^^^^^^^^^^^^^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/TypedEpoxyController#allowModelBuildRequests. -// documentation ```java\nprivate boolean allowModelBuildRequests\n``` +// display_name allowModelBuildRequests +// signature_documentation java private boolean allowModelBuildRequests +// kind Field public TypedEpoxyController() { // ^^^^^^^^^^^^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/TypedEpoxyController#``(). -// documentation ```java\npublic TypedEpoxyController()\n``` +// display_name +// signature_documentation java public TypedEpoxyController() +// kind Constructor } public TypedEpoxyController(Handler modelBuildingHandler, Handler diffingHandler) { // ^^^^^^^^^^^^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/TypedEpoxyController#``(+1). -// documentation ```java\npublic TypedEpoxyController(unresolved_type modelBuildingHandler, unresolved_type diffingHandler)\n``` +// display_name +// signature_documentation java public TypedEpoxyController(unresolved_type modelBuildingHandler, unresolved_type diffingHandler) +// kind Constructor // ^^^^^^^ reference semanticdb maven . . Handler# // ^^^^^^^^^^^^^^^^^^^^ definition local 0 -// documentation ```java\nunresolved_type modelBuildingHandler\n``` +// display_name modelBuildingHandler +// signature_documentation java unresolved_type modelBuildingHandler +// enclosing_symbol semanticdb maven . . com/airbnb/epoxy/TypedEpoxyController#``(+1). // ^^^^^^^ reference semanticdb maven . . Handler# // ^^^^^^^^^^^^^^ definition local 1 -// documentation ```java\nunresolved_type diffingHandler\n``` +// display_name diffingHandler +// signature_documentation java unresolved_type diffingHandler +// enclosing_symbol semanticdb maven . . com/airbnb/epoxy/TypedEpoxyController#``(+1). super(modelBuildingHandler, diffingHandler); // ^^^^^ reference semanticdb maven . . com/airbnb/epoxy/EpoxyController#``(+1). // ^^^^^^^^^^^^^^^^^^^^ reference local 0 @@ -63,10 +79,14 @@ public TypedEpoxyController(Handler modelBuildingHandler, Handler diffingHandler public final void setData(T data) { // ^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/TypedEpoxyController#setData(). -// documentation ```java\npublic final void setData(T data)\n``` +// display_name setData +// signature_documentation java public final void setData(T data) +// kind Method // ^ reference semanticdb maven . . com/airbnb/epoxy/TypedEpoxyController#[T] // ^^^^ definition local 2 -// documentation ```java\nT data\n``` +// display_name data +// signature_documentation java T data +// enclosing_symbol semanticdb maven . . com/airbnb/epoxy/TypedEpoxyController#setData(). currentData = data; // ^^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/TypedEpoxyController#currentData. // ^^^^ reference local 2 @@ -82,7 +102,9 @@ public final void setData(T data) { // ^^^^^^^^ reference semanticdb maven jdk 11 java/lang/Override# public final void requestModelBuild() { // ^^^^^^^^^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/TypedEpoxyController#requestModelBuild(). -// documentation ```java\n@Override\npublic final void requestModelBuild()\n``` +// display_name requestModelBuild +// signature_documentation java @Override\npublic final void requestModelBuild() +// kind Method // relationship is_reference is_implementation semanticdb maven . . com/airbnb/epoxy/EpoxyController#requestModelBuild(). if (!allowModelBuildRequests) { // ^^^^^^^^^^^^^^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/TypedEpoxyController#allowModelBuildRequests. @@ -100,12 +122,18 @@ public final void requestModelBuild() { // ^^^^^^^^ reference semanticdb maven jdk 11 java/lang/Override# public void moveModel(int fromPosition, int toPosition) { // ^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/TypedEpoxyController#moveModel(). -// documentation ```java\n@Override\npublic void moveModel(int fromPosition, int toPosition)\n``` +// display_name moveModel +// signature_documentation java @Override\npublic void moveModel(int fromPosition, int toPosition) +// kind Method // relationship is_reference is_implementation semanticdb maven . . com/airbnb/epoxy/EpoxyController#moveModel(). // ^^^^^^^^^^^^ definition local 3 -// documentation ```java\nint fromPosition\n``` +// display_name fromPosition +// signature_documentation java int fromPosition +// enclosing_symbol semanticdb maven . . com/airbnb/epoxy/TypedEpoxyController#moveModel(). // ^^^^^^^^^^ definition local 4 -// documentation ```java\nint toPosition\n``` +// display_name toPosition +// signature_documentation java int toPosition +// enclosing_symbol semanticdb maven . . com/airbnb/epoxy/TypedEpoxyController#moveModel(). allowModelBuildRequests = true; // ^^^^^^^^^^^^^^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/TypedEpoxyController#allowModelBuildRequests. super.moveModel(fromPosition, toPosition); @@ -121,10 +149,14 @@ public void moveModel(int fromPosition, int toPosition) { // ^^^^^^^^ reference semanticdb maven jdk 11 java/lang/Override# public void requestDelayedModelBuild(int delayMs) { // ^^^^^^^^^^^^^^^^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/TypedEpoxyController#requestDelayedModelBuild(). -// documentation ```java\n@Override\npublic void requestDelayedModelBuild(int delayMs)\n``` +// display_name requestDelayedModelBuild +// signature_documentation java @Override\npublic void requestDelayedModelBuild(int delayMs) +// kind Method // relationship is_reference is_implementation semanticdb maven . . com/airbnb/epoxy/EpoxyController#requestDelayedModelBuild(). // ^^^^^^^ definition local 5 -// documentation ```java\nint delayMs\n``` +// display_name delayMs +// signature_documentation java int delayMs +// enclosing_symbol semanticdb maven . . com/airbnb/epoxy/TypedEpoxyController#requestDelayedModelBuild(). if (!allowModelBuildRequests) { // ^^^^^^^^^^^^^^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/TypedEpoxyController#allowModelBuildRequests. throw new IllegalStateException( @@ -143,7 +175,9 @@ public void requestDelayedModelBuild(int delayMs) { public final T getCurrentData() { // ^ reference semanticdb maven . . com/airbnb/epoxy/TypedEpoxyController#[T] // ^^^^^^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/TypedEpoxyController#getCurrentData(). -// documentation ```java\n@Nullable\npublic final T getCurrentData()\n``` +// display_name getCurrentData +// signature_documentation java @Nullable\npublic final T getCurrentData() +// kind Method return currentData; // ^^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/TypedEpoxyController#currentData. } @@ -152,7 +186,9 @@ public final T getCurrentData() { // ^^^^^^^^ reference semanticdb maven jdk 11 java/lang/Override# protected final void buildModels() { // ^^^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/TypedEpoxyController#buildModels(). -// documentation ```java\n@Override\nprotected final void buildModels()\n``` +// display_name buildModels +// signature_documentation java @Override\nprotected final void buildModels() +// kind Method // relationship is_reference is_implementation semanticdb maven . . com/airbnb/epoxy/EpoxyController#buildModels(). if (!isBuildingModels()) { // ^^^^^^^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/EpoxyController#isBuildingModels(). @@ -168,8 +204,12 @@ protected final void buildModels() { protected abstract void buildModels(T data); // ^^^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/TypedEpoxyController#buildModels(+1). -// documentation ```java\nprotected abstract void buildModels(T data)\n``` +// display_name buildModels +// signature_documentation java protected abstract void buildModels(T data) +// kind AbstractMethod // ^ reference semanticdb maven . . com/airbnb/epoxy/TypedEpoxyController#[T] // ^^^^ definition local 6 -// documentation ```java\nT data\n``` +// display_name data +// signature_documentation java T data +// enclosing_symbol semanticdb maven . . com/airbnb/epoxy/TypedEpoxyController#buildModels(+1). } diff --git a/tests/snapshots/src/main/generated/com/airbnb/epoxy/UnboundedViewPool.kt b/tests/snapshots/src/main/generated/com/airbnb/epoxy/UnboundedViewPool.kt index 290f2aef1..fa29c80c4 100644 --- a/tests/snapshots/src/main/generated/com/airbnb/epoxy/UnboundedViewPool.kt +++ b/tests/snapshots/src/main/generated/com/airbnb/epoxy/UnboundedViewPool.kt @@ -25,19 +25,24 @@ import java.util.Queue */ internal class UnboundedViewPool : RecycledViewPool() { // ^^^^^^^^^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/UnboundedViewPool# +// display_name UnboundedViewPool // documentation ```kt\ninternal final class UnboundedViewPool\n```\n\n----\n\n\n Like its parent, UnboundedViewPool lets you share Views between multiple RecyclerViews. However\n there is no maximum number of recycled views that it will store. This usually ends up being\n optimal, barring any hard memory constraints, as RecyclerViews do not recycle more Views than\n they need.\n // ^^^^^^^^^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/UnboundedViewPool#``(). +// display_name UnboundedViewPool // documentation ```kt\npublic constructor UnboundedViewPool()\n```\n\n----\n\n\n Like its parent, UnboundedViewPool lets you share Views between multiple RecyclerViews. However\n there is no maximum number of recycled views that it will store. This usually ends up being\n optimal, barring any hard memory constraints, as RecyclerViews do not recycle more Views than\n they need.\n private val scrapHeaps = SparseArray>() // ^^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/UnboundedViewPool#getScrapHeaps(). +// display_name scrapHeaps // documentation ```kt\nprivate final val scrapHeaps: [Error type: Not found recorded type for SparseArray>()]\n``` // ^^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/UnboundedViewPool#scrapHeaps. +// display_name scrapHeaps // documentation ```kt\nprivate final val scrapHeaps: [Error type: Not found recorded type for SparseArray>()]\n``` // ^^^^^ reference semanticdb maven jdk 11 java/util/Queue# override fun clear() { // ^^^^^ definition semanticdb maven . . com/airbnb/epoxy/UnboundedViewPool#clear(). +// display_name clear // documentation ```kt\npublic open fun clear()\n``` scrapHeaps.clear() // ^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/UnboundedViewPool#getScrapHeaps(). @@ -46,11 +51,14 @@ internal class UnboundedViewPool : RecycledViewPool() { override fun setMaxRecycledViews(viewType: Int, max: Int) { // ^^^^^^^^^^^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/UnboundedViewPool#setMaxRecycledViews(). +// display_name setMaxRecycledViews // documentation ```kt\npublic open fun setMaxRecycledViews(viewType: kotlin.Int, max: kotlin.Int)\n``` // ^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/UnboundedViewPool#setMaxRecycledViews().(viewType) +// display_name viewType // documentation ```kt\nvalue-parameter viewType: kotlin.Int\n``` // ^^^ reference semanticdb maven . . kotlin/Int# // ^^^ definition semanticdb maven . . com/airbnb/epoxy/UnboundedViewPool#setMaxRecycledViews().(max) +// display_name max // documentation ```kt\nvalue-parameter max: kotlin.Int\n``` // ^^^ reference semanticdb maven . . kotlin/Int# throw UnsupportedOperationException( @@ -61,12 +69,15 @@ internal class UnboundedViewPool : RecycledViewPool() { override fun getRecycledView(viewType: Int): ViewHolder? { // ^^^^^^^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/UnboundedViewPool#getRecycledView(). +// display_name getRecycledView // documentation ```kt\npublic open fun getRecycledView(viewType: kotlin.Int): [Error type: Unresolved type for ViewHolder]?\n``` // ^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/UnboundedViewPool#getRecycledView().(viewType) +// display_name viewType // documentation ```kt\nvalue-parameter viewType: kotlin.Int\n``` // ^^^ reference semanticdb maven . . kotlin/Int# val scrapHeap = scrapHeaps.get(viewType) // ^^^^^^^^^ definition local 0 +// display_name scrapHeap // documentation ```kt\nval scrapHeap: [Error type: Return type for function cannot be resolved]\n``` // ^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/UnboundedViewPool#getScrapHeaps(). // ^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/UnboundedViewPool#scrapHeaps. @@ -77,8 +88,10 @@ internal class UnboundedViewPool : RecycledViewPool() { override fun putRecycledView(viewHolder: ViewHolder) { // ^^^^^^^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/UnboundedViewPool#putRecycledView(). +// display_name putRecycledView // documentation ```kt\npublic open fun putRecycledView(viewHolder: [Error type: Unresolved type for ViewHolder])\n``` // ^^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/UnboundedViewPool#putRecycledView().(viewHolder) +// display_name viewHolder // documentation ```kt\nvalue-parameter viewHolder: [Error type: Unresolved type for ViewHolder]\n``` getScrapHeapForType(viewHolder.itemViewType).add(viewHolder) // ^^^^^^^^^^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/UnboundedViewPool#getScrapHeapForType(). @@ -89,8 +102,10 @@ internal class UnboundedViewPool : RecycledViewPool() { override fun getRecycledViewCount(viewType: Int): Int { // ^^^^^^^^^^^^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/UnboundedViewPool#getRecycledViewCount(). +// display_name getRecycledViewCount // documentation ```kt\npublic open fun getRecycledViewCount(viewType: kotlin.Int): kotlin.Int\n``` // ^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/UnboundedViewPool#getRecycledViewCount().(viewType) +// display_name viewType // documentation ```kt\nvalue-parameter viewType: kotlin.Int\n``` // ^^^ reference semanticdb maven . . kotlin/Int# // ^^^ reference semanticdb maven . . kotlin/Int# @@ -102,13 +117,16 @@ internal class UnboundedViewPool : RecycledViewPool() { private fun getScrapHeapForType(viewType: Int): Queue { // ^^^^^^^^^^^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/UnboundedViewPool#getScrapHeapForType(). +// display_name getScrapHeapForType // documentation ```kt\nprivate final fun getScrapHeapForType(viewType: kotlin.Int): java.util.Queue<[Error type: Unresolved type for ViewHolder]>\n``` // ^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/UnboundedViewPool#getScrapHeapForType().(viewType) +// display_name viewType // documentation ```kt\nvalue-parameter viewType: kotlin.Int\n``` // ^^^ reference semanticdb maven . . kotlin/Int# // ^^^^^ reference semanticdb maven jdk 11 java/util/Queue# var scrapHeap: Queue? = scrapHeaps.get(viewType) // ^^^^^^^^^ definition local 1 +// display_name scrapHeap // documentation ```kt\nvar scrapHeap: java.util.Queue<[Error type: Unresolved type for ViewHolder]>?\n``` // ^^^^^ reference semanticdb maven jdk 11 java/util/Queue# // ^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/UnboundedViewPool#getScrapHeaps(). diff --git a/tests/snapshots/src/main/generated/com/airbnb/epoxy/UpdateOp.java b/tests/snapshots/src/main/generated/com/airbnb/epoxy/UpdateOp.java index e3bf39c75..22055cde6 100644 --- a/tests/snapshots/src/main/generated/com/airbnb/epoxy/UpdateOp.java +++ b/tests/snapshots/src/main/generated/com/airbnb/epoxy/UpdateOp.java @@ -28,7 +28,9 @@ /** Defines an operation that makes a change to the epoxy model list. */ class UpdateOp { // ^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/UpdateOp# -// documentation ```java\nclass UpdateOp\n``` +// display_name UpdateOp +// signature_documentation java class UpdateOp +// kind Class // documentation Defines an operation that makes a change to the epoxy model list. @IntDef({ADD, REMOVE, UPDATE, MOVE}) @@ -43,66 +45,99 @@ class UpdateOp { // ^^^^^^ reference semanticdb maven jdk 11 java/lang/annotation/RetentionPolicy#SOURCE. @interface Type { // ^^^^ definition semanticdb maven . . com/airbnb/epoxy/UpdateOp#Type# -// documentation ```java\n@IntDef({ADD, REMOVE, UPDATE, MOVE})\n@Retention(RetentionPolicy.SOURCE)\n@interface Type\n``` +// display_name Type +// signature_documentation java @IntDef({ADD, REMOVE, UPDATE, MOVE})\n@Retention(RetentionPolicy.SOURCE)\n@interface Type +// kind Interface // relationship is_implementation semanticdb maven jdk 11 java/lang/annotation/Annotation# } static final int ADD = 0; // ^^^ definition semanticdb maven . . com/airbnb/epoxy/UpdateOp#ADD. -// documentation ```java\nstatic final int ADD\n``` +// display_name ADD +// signature_documentation java static final int ADD +// kind StaticField static final int REMOVE = 1; // ^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/UpdateOp#REMOVE. -// documentation ```java\nstatic final int REMOVE\n``` +// display_name REMOVE +// signature_documentation java static final int REMOVE +// kind StaticField static final int UPDATE = 2; // ^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/UpdateOp#UPDATE. -// documentation ```java\nstatic final int UPDATE\n``` +// display_name UPDATE +// signature_documentation java static final int UPDATE +// kind StaticField static final int MOVE = 3; // ^^^^ definition semanticdb maven . . com/airbnb/epoxy/UpdateOp#MOVE. -// documentation ```java\nstatic final int MOVE\n``` +// display_name MOVE +// signature_documentation java static final int MOVE +// kind StaticField @Type int type; // ^^^^ reference semanticdb maven . . com/airbnb/epoxy/UpdateOp#Type# // ^^^^ definition semanticdb maven . . com/airbnb/epoxy/UpdateOp#type. -// documentation ```java\n@Type\nint type\n``` +// display_name type +// signature_documentation java @Type\nint type +// kind Field int positionStart; // ^^^^^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/UpdateOp#positionStart. -// documentation ```java\nint positionStart\n``` +// display_name positionStart +// signature_documentation java int positionStart +// kind Field /** Holds the target position if this is a MOVE */ int itemCount; // ^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/UpdateOp#itemCount. -// documentation ```java\nint itemCount\n``` +// display_name itemCount +// signature_documentation java int itemCount +// kind Field // documentation Holds the target position if this is a MOVE ArrayList> payloads; //^^^^^^^^^ reference semanticdb maven jdk 11 java/util/ArrayList# // ^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/EpoxyModel# // ^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/UpdateOp#payloads. -// documentation ```java\nArrayList> payloads\n``` +// display_name payloads +// signature_documentation java ArrayList> payloads +// kind Field private UpdateOp() { // ^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/UpdateOp#``(). -// documentation ```java\nprivate UpdateOp()\n``` +// display_name +// signature_documentation java private UpdateOp() +// kind Constructor } static UpdateOp instance(@Type int type, int positionStart, int itemCount, // ^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/UpdateOp# // ^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/UpdateOp#instance(). -// documentation ```java\nstatic UpdateOp instance(int type, int positionStart, int itemCount, EpoxyModel payload)\n``` +// display_name instance +// signature_documentation java static UpdateOp instance(int type, int positionStart, int itemCount, EpoxyModel payload) +// kind StaticMethod // ^^^^ reference semanticdb maven . . com/airbnb/epoxy/UpdateOp#Type# // ^^^^ definition local 0 -// documentation ```java\n@Type\nint type\n``` +// display_name type +// signature_documentation java @Type\nint type +// enclosing_symbol semanticdb maven . . com/airbnb/epoxy/UpdateOp#instance(). // ^^^^^^^^^^^^^ definition local 1 -// documentation ```java\nint positionStart\n``` +// display_name positionStart +// signature_documentation java int positionStart +// enclosing_symbol semanticdb maven . . com/airbnb/epoxy/UpdateOp#instance(). // ^^^^^^^^^ definition local 2 -// documentation ```java\nint itemCount\n``` +// display_name itemCount +// signature_documentation java int itemCount +// enclosing_symbol semanticdb maven . . com/airbnb/epoxy/UpdateOp#instance(). @Nullable EpoxyModel payload) { // ^^^^^^^^ reference semanticdb maven maven/androidx.annotation/annotation 1.1.0 androidx/annotation/Nullable# // ^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/EpoxyModel# // ^^^^^^^ definition local 3 -// documentation ```java\n@Nullable\nEpoxyModel payload\n``` +// display_name payload +// signature_documentation java @Nullable\nEpoxyModel payload +// enclosing_symbol semanticdb maven . . com/airbnb/epoxy/UpdateOp#instance(). UpdateOp op = new UpdateOp(); // ^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/UpdateOp# // ^^ definition local 4 -// documentation ```java\nUpdateOp op\n``` +// display_name op +// signature_documentation java UpdateOp op +// enclosing_symbol semanticdb maven . . com/airbnb/epoxy/UpdateOp#instance(). +// kind Variable // ^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/UpdateOp#``(). op.type = type; @@ -130,7 +165,9 @@ static UpdateOp instance(@Type int type, int positionStart, int itemCount, /** Returns the index one past the last item in the affected range. */ int positionEnd() { // ^^^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/UpdateOp#positionEnd(). -// documentation ```java\nint positionEnd()\n``` +// display_name positionEnd +// signature_documentation java int positionEnd() +// kind Method // documentation Returns the index one past the last item in the affected range. return positionStart + itemCount; // ^^^^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/UpdateOp#positionStart. @@ -139,9 +176,13 @@ int positionEnd() { boolean isAfter(int position) { // ^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/UpdateOp#isAfter(). -// documentation ```java\nboolean isAfter(int position)\n``` +// display_name isAfter +// signature_documentation java boolean isAfter(int position) +// kind Method // ^^^^^^^^ definition local 5 -// documentation ```java\nint position\n``` +// display_name position +// signature_documentation java int position +// enclosing_symbol semanticdb maven . . com/airbnb/epoxy/UpdateOp#isAfter(). return position < positionStart; // ^^^^^^^^ reference local 5 // ^^^^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/UpdateOp#positionStart. @@ -149,9 +190,13 @@ boolean isAfter(int position) { boolean isBefore(int position) { // ^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/UpdateOp#isBefore(). -// documentation ```java\nboolean isBefore(int position)\n``` +// display_name isBefore +// signature_documentation java boolean isBefore(int position) +// kind Method // ^^^^^^^^ definition local 6 -// documentation ```java\nint position\n``` +// display_name position +// signature_documentation java int position +// enclosing_symbol semanticdb maven . . com/airbnb/epoxy/UpdateOp#isBefore(). return position >= positionEnd(); // ^^^^^^^^ reference local 6 // ^^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/UpdateOp#positionEnd(). @@ -159,9 +204,13 @@ boolean isBefore(int position) { boolean contains(int position) { // ^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/UpdateOp#contains(). -// documentation ```java\nboolean contains(int position)\n``` +// display_name contains +// signature_documentation java boolean contains(int position) +// kind Method // ^^^^^^^^ definition local 7 -// documentation ```java\nint position\n``` +// display_name position +// signature_documentation java int position +// enclosing_symbol semanticdb maven . . com/airbnb/epoxy/UpdateOp#contains(). return position >= positionStart && position < positionEnd(); // ^^^^^^^^ reference local 7 // ^^^^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/UpdateOp#positionStart. @@ -171,11 +220,15 @@ boolean contains(int position) { void addPayload(@Nullable EpoxyModel payload) { // ^^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/UpdateOp#addPayload(). -// documentation ```java\nvoid addPayload(EpoxyModel payload)\n``` +// display_name addPayload +// signature_documentation java void addPayload(EpoxyModel payload) +// kind Method // ^^^^^^^^ reference semanticdb maven maven/androidx.annotation/annotation 1.1.0 androidx/annotation/Nullable# // ^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/EpoxyModel# // ^^^^^^^ definition local 8 -// documentation ```java\n@Nullable\nEpoxyModel payload\n``` +// display_name payload +// signature_documentation java @Nullable\nEpoxyModel payload +// enclosing_symbol semanticdb maven . . com/airbnb/epoxy/UpdateOp#addPayload(). if (payload == null) { // ^^^^^^^ reference local 8 return; @@ -208,7 +261,9 @@ void addPayload(@Nullable EpoxyModel payload) { public String toString() { // ^^^^^^ reference semanticdb maven jdk 11 java/lang/String# // ^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/UpdateOp#toString(). -// documentation ```java\n@Override\npublic String toString()\n``` +// display_name toString +// signature_documentation java @Override\npublic String toString() +// kind Method // relationship is_reference is_implementation semanticdb maven jdk 11 java/lang/Object#toString(). return "UpdateOp{" + "type=" + type diff --git a/tests/snapshots/src/main/generated/com/airbnb/epoxy/UpdateOpHelper.java b/tests/snapshots/src/main/generated/com/airbnb/epoxy/UpdateOpHelper.java index 9dce55ccb..8c5dfe608 100644 --- a/tests/snapshots/src/main/generated/com/airbnb/epoxy/UpdateOpHelper.java +++ b/tests/snapshots/src/main/generated/com/airbnb/epoxy/UpdateOpHelper.java @@ -45,15 +45,21 @@ /** Helper class to collect changes in a diff, batching when possible. */ class UpdateOpHelper { // ^^^^^^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/UpdateOpHelper# -// documentation ```java\nclass UpdateOpHelper\n``` +// display_name UpdateOpHelper +// signature_documentation java class UpdateOpHelper +// kind Class // documentation Helper class to collect changes in a diff, batching when possible. // ^^^^^^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/UpdateOpHelper#``(). -// documentation ```java\nUpdateOpHelper()\n``` +// display_name +// signature_documentation java UpdateOpHelper() +// kind Constructor final List opList = new ArrayList<>(); // ^^^^ reference semanticdb maven jdk 11 java/util/List# // ^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/UpdateOp# // ^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/UpdateOpHelper#opList. -// documentation ```java\nfinal List opList\n``` +// display_name opList +// signature_documentation java final List opList +// kind Field // ^^^^^^^^^ reference semanticdb maven jdk 11 java/util/ArrayList#``(+1). // We have to be careful to update all item positions in the list when we // do a MOVE. This adds some complexity. @@ -63,28 +69,42 @@ class UpdateOpHelper { // ^^^^ reference semanticdb maven jdk 11 java/util/List# // ^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/UpdateOp# // ^^^^^ definition semanticdb maven . . com/airbnb/epoxy/UpdateOpHelper#moves. -// documentation ```java\nfinal List moves\n``` +// display_name moves +// signature_documentation java final List moves +// kind Field // ^^^^^^^^^ reference semanticdb maven jdk 11 java/util/ArrayList#``(+1). private UpdateOp lastOp; // ^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/UpdateOp# // ^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/UpdateOpHelper#lastOp. -// documentation ```java\nprivate UpdateOp lastOp\n``` +// display_name lastOp +// signature_documentation java private UpdateOp lastOp +// kind Field private int numInsertions; // ^^^^^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/UpdateOpHelper#numInsertions. -// documentation ```java\nprivate int numInsertions\n``` +// display_name numInsertions +// signature_documentation java private int numInsertions +// kind Field private int numInsertionBatches; // ^^^^^^^^^^^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/UpdateOpHelper#numInsertionBatches. -// documentation ```java\nprivate int numInsertionBatches\n``` +// display_name numInsertionBatches +// signature_documentation java private int numInsertionBatches +// kind Field private int numRemovals; // ^^^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/UpdateOpHelper#numRemovals. -// documentation ```java\nprivate int numRemovals\n``` +// display_name numRemovals +// signature_documentation java private int numRemovals +// kind Field private int numRemovalBatches; // ^^^^^^^^^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/UpdateOpHelper#numRemovalBatches. -// documentation ```java\nprivate int numRemovalBatches\n``` +// display_name numRemovalBatches +// signature_documentation java private int numRemovalBatches +// kind Field void reset() { // ^^^^^ definition semanticdb maven . . com/airbnb/epoxy/UpdateOpHelper#reset(). -// documentation ```java\nvoid reset()\n``` +// display_name reset +// signature_documentation java void reset() +// kind Method opList.clear(); // ^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/UpdateOpHelper#opList. // ^^^^^ reference semanticdb maven jdk 11 java/util/List#clear(). @@ -105,9 +125,13 @@ void reset() { void add(int indexToInsert) { // ^^^ definition semanticdb maven . . com/airbnb/epoxy/UpdateOpHelper#add(). -// documentation ```java\nvoid add(int indexToInsert)\n``` +// display_name add +// signature_documentation java void add(int indexToInsert) +// kind Method // ^^^^^^^^^^^^^ definition local 0 -// documentation ```java\nint indexToInsert\n``` +// display_name indexToInsert +// signature_documentation java int indexToInsert +// enclosing_symbol semanticdb maven . . com/airbnb/epoxy/UpdateOpHelper#add(). add(indexToInsert, 1); // ^^^ reference semanticdb maven . . com/airbnb/epoxy/UpdateOpHelper#add(+1). // ^^^^^^^^^^^^^ reference local 0 @@ -115,11 +139,17 @@ void add(int indexToInsert) { void add(int startPosition, int itemCount) { // ^^^ definition semanticdb maven . . com/airbnb/epoxy/UpdateOpHelper#add(+1). -// documentation ```java\nvoid add(int startPosition, int itemCount)\n``` +// display_name add +// signature_documentation java void add(int startPosition, int itemCount) +// kind Method // ^^^^^^^^^^^^^ definition local 1 -// documentation ```java\nint startPosition\n``` +// display_name startPosition +// signature_documentation java int startPosition +// enclosing_symbol semanticdb maven . . com/airbnb/epoxy/UpdateOpHelper#add(+1). // ^^^^^^^^^ definition local 2 -// documentation ```java\nint itemCount\n``` +// display_name itemCount +// signature_documentation java int itemCount +// enclosing_symbol semanticdb maven . . com/airbnb/epoxy/UpdateOpHelper#add(+1). numInsertions += itemCount; // ^^^^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/UpdateOpHelper#numInsertions. // ^^^^^^^^^ reference local 2 @@ -128,7 +158,10 @@ void add(int startPosition, int itemCount) { // range of the previous batch batch boolean batchWithLast = isLastOp(ADD) // ^^^^^^^^^^^^^ definition local 3 -// documentation ```java\nboolean batchWithLast\n``` +// display_name batchWithLast +// signature_documentation java boolean batchWithLast +// enclosing_symbol semanticdb maven . . com/airbnb/epoxy/UpdateOpHelper#add(+1). +// kind Variable // ^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/UpdateOpHelper#isLastOp(). // ^^^ reference semanticdb maven . . com/airbnb/epoxy/UpdateOp#ADD. && (lastOp.contains(startPosition) || lastOp.positionEnd() == startPosition); @@ -157,9 +190,13 @@ void add(int startPosition, int itemCount) { void update(int indexToChange) { // ^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/UpdateOpHelper#update(). -// documentation ```java\nvoid update(int indexToChange)\n``` +// display_name update +// signature_documentation java void update(int indexToChange) +// kind Method // ^^^^^^^^^^^^^ definition local 4 -// documentation ```java\nint indexToChange\n``` +// display_name indexToChange +// signature_documentation java int indexToChange +// enclosing_symbol semanticdb maven . . com/airbnb/epoxy/UpdateOpHelper#update(). update(indexToChange, null); // ^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/UpdateOpHelper#update(+1). // ^^^^^^^^^^^^^ reference local 4 @@ -167,12 +204,18 @@ void update(int indexToChange) { void update(final int indexToChange, EpoxyModel payload) { // ^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/UpdateOpHelper#update(+1). -// documentation ```java\nvoid update(int indexToChange, EpoxyModel payload)\n``` +// display_name update +// signature_documentation java void update(int indexToChange, EpoxyModel payload) +// kind Method // ^^^^^^^^^^^^^ definition local 5 -// documentation ```java\nfinal int indexToChange\n``` +// display_name indexToChange +// signature_documentation java final int indexToChange +// enclosing_symbol semanticdb maven . . com/airbnb/epoxy/UpdateOpHelper#update(+1). // ^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/EpoxyModel# // ^^^^^^^ definition local 6 -// documentation ```java\nEpoxyModel payload\n``` +// display_name payload +// signature_documentation java EpoxyModel payload +// enclosing_symbol semanticdb maven . . com/airbnb/epoxy/UpdateOpHelper#update(+1). if (isLastOp(UPDATE)) { // ^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/UpdateOpHelper#isLastOp(). // ^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/UpdateOp#UPDATE. @@ -224,9 +267,13 @@ void update(final int indexToChange, EpoxyModel payload) { void remove(int indexToRemove) { // ^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/UpdateOpHelper#remove(). -// documentation ```java\nvoid remove(int indexToRemove)\n``` +// display_name remove +// signature_documentation java void remove(int indexToRemove) +// kind Method // ^^^^^^^^^^^^^ definition local 7 -// documentation ```java\nint indexToRemove\n``` +// display_name indexToRemove +// signature_documentation java int indexToRemove +// enclosing_symbol semanticdb maven . . com/airbnb/epoxy/UpdateOpHelper#remove(). remove(indexToRemove, 1); // ^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/UpdateOpHelper#remove(+1). // ^^^^^^^^^^^^^ reference local 7 @@ -234,18 +281,27 @@ void remove(int indexToRemove) { void remove(int startPosition, int itemCount) { // ^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/UpdateOpHelper#remove(+1). -// documentation ```java\nvoid remove(int startPosition, int itemCount)\n``` +// display_name remove +// signature_documentation java void remove(int startPosition, int itemCount) +// kind Method // ^^^^^^^^^^^^^ definition local 8 -// documentation ```java\nint startPosition\n``` +// display_name startPosition +// signature_documentation java int startPosition +// enclosing_symbol semanticdb maven . . com/airbnb/epoxy/UpdateOpHelper#remove(+1). // ^^^^^^^^^ definition local 9 -// documentation ```java\nint itemCount\n``` +// display_name itemCount +// signature_documentation java int itemCount +// enclosing_symbol semanticdb maven . . com/airbnb/epoxy/UpdateOpHelper#remove(+1). numRemovals += itemCount; // ^^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/UpdateOpHelper#numRemovals. // ^^^^^^^^^ reference local 9 boolean batchWithLast = false; // ^^^^^^^^^^^^^ definition local 10 -// documentation ```java\nboolean batchWithLast\n``` +// display_name batchWithLast +// signature_documentation java boolean batchWithLast +// enclosing_symbol semanticdb maven . . com/airbnb/epoxy/UpdateOpHelper#remove(+1). +// kind Variable if (isLastOp(REMOVE)) { // ^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/UpdateOpHelper#isLastOp(). // ^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/UpdateOp#REMOVE. @@ -293,11 +349,15 @@ void remove(int startPosition, int itemCount) { private boolean isLastOp(@UpdateOp.Type int updateType) { // ^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/UpdateOpHelper#isLastOp(). -// documentation ```java\nprivate boolean isLastOp(int updateType)\n``` +// display_name isLastOp +// signature_documentation java private boolean isLastOp(int updateType) +// kind Method // ^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/UpdateOp# // ^^^^ reference semanticdb maven . . com/airbnb/epoxy/UpdateOp#Type# // ^^^^^^^^^^ definition local 11 -// documentation ```java\n@Type\nint updateType\n``` +// display_name updateType +// signature_documentation java @Type\nint updateType +// enclosing_symbol semanticdb maven . . com/airbnb/epoxy/UpdateOpHelper#isLastOp(). return lastOp != null && lastOp.type == updateType; // ^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/UpdateOpHelper#lastOp. // ^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/UpdateOpHelper#lastOp. @@ -307,14 +367,22 @@ private boolean isLastOp(@UpdateOp.Type int updateType) { private void addNewOperation(@Type int type, int position, int itemCount) { // ^^^^^^^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/UpdateOpHelper#addNewOperation(). -// documentation ```java\nprivate void addNewOperation(int type, int position, int itemCount)\n``` +// display_name addNewOperation +// signature_documentation java private void addNewOperation(int type, int position, int itemCount) +// kind Method // ^^^^ reference semanticdb maven . . com/airbnb/epoxy/UpdateOp#Type# // ^^^^ definition local 12 -// documentation ```java\n@Type\nint type\n``` +// display_name type +// signature_documentation java @Type\nint type +// enclosing_symbol semanticdb maven . . com/airbnb/epoxy/UpdateOpHelper#addNewOperation(). // ^^^^^^^^ definition local 13 -// documentation ```java\nint position\n``` +// display_name position +// signature_documentation java int position +// enclosing_symbol semanticdb maven . . com/airbnb/epoxy/UpdateOpHelper#addNewOperation(). // ^^^^^^^^^ definition local 14 -// documentation ```java\nint itemCount\n``` +// display_name itemCount +// signature_documentation java int itemCount +// enclosing_symbol semanticdb maven . . com/airbnb/epoxy/UpdateOpHelper#addNewOperation(). addNewOperation(type, position, itemCount, null); // ^^^^^^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/UpdateOpHelper#addNewOperation(+1). // ^^^^ reference local 12 @@ -324,19 +392,29 @@ private void addNewOperation(@Type int type, int position, int itemCount) { private void addNewOperation(@Type int type, int position, int itemCount, // ^^^^^^^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/UpdateOpHelper#addNewOperation(+1). -// documentation ```java\nprivate void addNewOperation(int type, int position, int itemCount, EpoxyModel payload)\n``` +// display_name addNewOperation +// signature_documentation java private void addNewOperation(int type, int position, int itemCount, EpoxyModel payload) +// kind Method // ^^^^ reference semanticdb maven . . com/airbnb/epoxy/UpdateOp#Type# // ^^^^ definition local 15 -// documentation ```java\n@Type\nint type\n``` +// display_name type +// signature_documentation java @Type\nint type +// enclosing_symbol semanticdb maven . . com/airbnb/epoxy/UpdateOpHelper#addNewOperation(+1). // ^^^^^^^^ definition local 16 -// documentation ```java\nint position\n``` +// display_name position +// signature_documentation java int position +// enclosing_symbol semanticdb maven . . com/airbnb/epoxy/UpdateOpHelper#addNewOperation(+1). // ^^^^^^^^^ definition local 17 -// documentation ```java\nint itemCount\n``` +// display_name itemCount +// signature_documentation java int itemCount +// enclosing_symbol semanticdb maven . . com/airbnb/epoxy/UpdateOpHelper#addNewOperation(+1). @Nullable EpoxyModel payload) { // ^^^^^^^^ reference semanticdb maven maven/androidx.annotation/annotation 1.1.0 androidx/annotation/Nullable# // ^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/EpoxyModel# // ^^^^^^^ definition local 18 -// documentation ```java\n@Nullable\nEpoxyModel payload\n``` +// display_name payload +// signature_documentation java @Nullable\nEpoxyModel payload +// enclosing_symbol semanticdb maven . . com/airbnb/epoxy/UpdateOpHelper#addNewOperation(+1). lastOp = UpdateOp.instance(type, position, itemCount, payload); // ^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/UpdateOpHelper#lastOp. // ^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/UpdateOp# @@ -353,12 +431,18 @@ private void addNewOperation(@Type int type, int position, int itemCount, private void addItemsToLastOperation(int numItemsToAdd, EpoxyModel payload) { // ^^^^^^^^^^^^^^^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/UpdateOpHelper#addItemsToLastOperation(). -// documentation ```java\nprivate void addItemsToLastOperation(int numItemsToAdd, EpoxyModel payload)\n``` +// display_name addItemsToLastOperation +// signature_documentation java private void addItemsToLastOperation(int numItemsToAdd, EpoxyModel payload) +// kind Method // ^^^^^^^^^^^^^ definition local 19 -// documentation ```java\nint numItemsToAdd\n``` +// display_name numItemsToAdd +// signature_documentation java int numItemsToAdd +// enclosing_symbol semanticdb maven . . com/airbnb/epoxy/UpdateOpHelper#addItemsToLastOperation(). // ^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/EpoxyModel# // ^^^^^^^ definition local 20 -// documentation ```java\nEpoxyModel payload\n``` +// display_name payload +// signature_documentation java EpoxyModel payload +// enclosing_symbol semanticdb maven . . com/airbnb/epoxy/UpdateOpHelper#addItemsToLastOperation(). lastOp.itemCount += numItemsToAdd; // ^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/UpdateOpHelper#lastOp. // ^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/UpdateOp#itemCount. @@ -371,18 +455,27 @@ private void addItemsToLastOperation(int numItemsToAdd, EpoxyModel payload) { void move(int from, int to) { // ^^^^ definition semanticdb maven . . com/airbnb/epoxy/UpdateOpHelper#move(). -// documentation ```java\nvoid move(int from, int to)\n``` +// display_name move +// signature_documentation java void move(int from, int to) +// kind Method // ^^^^ definition local 21 -// documentation ```java\nint from\n``` +// display_name from +// signature_documentation java int from +// enclosing_symbol semanticdb maven . . com/airbnb/epoxy/UpdateOpHelper#move(). // ^^ definition local 22 -// documentation ```java\nint to\n``` +// display_name to +// signature_documentation java int to +// enclosing_symbol semanticdb maven . . com/airbnb/epoxy/UpdateOpHelper#move(). // We can't batch moves lastOp = null; // ^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/UpdateOpHelper#lastOp. UpdateOp op = UpdateOp.instance(MOVE, from, to, null); // ^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/UpdateOp# // ^^ definition local 23 -// documentation ```java\nUpdateOp op\n``` +// display_name op +// signature_documentation java UpdateOp op +// enclosing_symbol semanticdb maven . . com/airbnb/epoxy/UpdateOpHelper#move(). +// kind Variable // ^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/UpdateOp# // ^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/UpdateOp#instance(). // ^^^^ reference semanticdb maven . . com/airbnb/epoxy/UpdateOp#MOVE. @@ -400,35 +493,45 @@ void move(int from, int to) { int getNumRemovals() { // ^^^^^^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/UpdateOpHelper#getNumRemovals(). -// documentation ```java\nint getNumRemovals()\n``` +// display_name getNumRemovals +// signature_documentation java int getNumRemovals() +// kind Method return numRemovals; // ^^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/UpdateOpHelper#numRemovals. } boolean hasRemovals() { // ^^^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/UpdateOpHelper#hasRemovals(). -// documentation ```java\nboolean hasRemovals()\n``` +// display_name hasRemovals +// signature_documentation java boolean hasRemovals() +// kind Method return numRemovals > 0; // ^^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/UpdateOpHelper#numRemovals. } int getNumInsertions() { // ^^^^^^^^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/UpdateOpHelper#getNumInsertions(). -// documentation ```java\nint getNumInsertions()\n``` +// display_name getNumInsertions +// signature_documentation java int getNumInsertions() +// kind Method return numInsertions; // ^^^^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/UpdateOpHelper#numInsertions. } boolean hasInsertions() { // ^^^^^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/UpdateOpHelper#hasInsertions(). -// documentation ```java\nboolean hasInsertions()\n``` +// display_name hasInsertions +// signature_documentation java boolean hasInsertions() +// kind Method return numInsertions > 0; // ^^^^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/UpdateOpHelper#numInsertions. } int getNumMoves() { // ^^^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/UpdateOpHelper#getNumMoves(). -// documentation ```java\nint getNumMoves()\n``` +// display_name getNumMoves +// signature_documentation java int getNumMoves() +// kind Method return moves.size(); // ^^^^^ reference semanticdb maven . . com/airbnb/epoxy/UpdateOpHelper#moves. // ^^^^ reference semanticdb maven jdk 11 java/util/List#size(). @@ -436,14 +539,18 @@ int getNumMoves() { int getNumInsertionBatches() { // ^^^^^^^^^^^^^^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/UpdateOpHelper#getNumInsertionBatches(). -// documentation ```java\nint getNumInsertionBatches()\n``` +// display_name getNumInsertionBatches +// signature_documentation java int getNumInsertionBatches() +// kind Method return numInsertionBatches; // ^^^^^^^^^^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/UpdateOpHelper#numInsertionBatches. } int getNumRemovalBatches() { // ^^^^^^^^^^^^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/UpdateOpHelper#getNumRemovalBatches(). -// documentation ```java\nint getNumRemovalBatches()\n``` +// display_name getNumRemovalBatches +// signature_documentation java int getNumRemovalBatches() +// kind Method return numRemovalBatches; // ^^^^^^^^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/UpdateOpHelper#numRemovalBatches. } diff --git a/tests/snapshots/src/main/generated/com/airbnb/epoxy/ViewHolderState.java b/tests/snapshots/src/main/generated/com/airbnb/epoxy/ViewHolderState.java index 231eb8984..519265811 100644 --- a/tests/snapshots/src/main/generated/com/airbnb/epoxy/ViewHolderState.java +++ b/tests/snapshots/src/main/generated/com/airbnb/epoxy/ViewHolderState.java @@ -60,7 +60,9 @@ //^^^^^^^^^^^^^^^ reference semanticdb maven jdk 11 java/lang/SuppressWarnings# class ViewHolderState extends LongSparseArray implements Parcelable { // ^^^^^^^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/ViewHolderState# -// documentation ```java\n@SuppressWarnings("WeakerAccess")\nclass ViewHolderState\n``` +// display_name ViewHolderState +// signature_documentation java @SuppressWarnings("WeakerAccess")\nclass ViewHolderState +// kind Class // documentation Helper for {@link EpoxyAdapter} to store the state of Views in the adapter. This is useful for\n saving changes due to user input, such as text input or selection, when a view is scrolled off\n screen or if the adapter needs to be recreated.\n

\n This saved state is separate from the state represented by a {@link EpoxyModel}, which should\n represent the more permanent state of the data shown in the view. This class stores transient\n state that is added to the View after it is bound to a {@link EpoxyModel}. For example, a {@link\n EpoxyModel} may inflate and bind an EditText and then be responsible for styling it and attaching\n listeners. If the user then inputs text, scrolls the view offscreen and then scrolls back, this\n class will preserve the inputted text without the {@link EpoxyModel} needing to be aware of its\n existence.\n

\n This class relies on the adapter having stable ids, as the state of a view is mapped to the id of\n the {@link EpoxyModel}.\n // relationship is_implementation semanticdb maven . . Parcelable# // relationship is_implementation semanticdb maven jdk 11 java/lang/Cloneable# @@ -70,14 +72,20 @@ class ViewHolderState extends LongSparseArray implements Parcelable { // ^^^^^^^^^^ reference semanticdb maven . . Parcelable# ViewHolderState() { //^^^^^^^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/ViewHolderState#``(). -// documentation ```java\nViewHolderState()\n``` +// display_name +// signature_documentation java ViewHolderState() +// kind Constructor } private ViewHolderState(int size) { // ^^^^^^^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/ViewHolderState#``(+1). -// documentation ```java\nprivate ViewHolderState(int size)\n``` +// display_name +// signature_documentation java private ViewHolderState(int size) +// kind Constructor // ^^^^ definition local 0 -// documentation ```java\nint size\n``` +// display_name size +// signature_documentation java int size +// enclosing_symbol semanticdb maven . . com/airbnb/epoxy/ViewHolderState#``(+1). super(size); // ^^^^^ reference semanticdb maven maven/androidx.collection/collection 1.0.0 androidx/collection/LongSparseArray#``(+1). // ^^^^ reference local 0 @@ -87,7 +95,9 @@ private ViewHolderState(int size) { // ^^^^^^^^ reference semanticdb maven jdk 11 java/lang/Override# public int describeContents() { // ^^^^^^^^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/ViewHolderState#describeContents(). -// documentation ```java\n@Override\npublic int describeContents()\n``` +// display_name describeContents +// signature_documentation java @Override\npublic int describeContents() +// kind Method return 0; } @@ -95,15 +105,24 @@ public int describeContents() { // ^^^^^^^^ reference semanticdb maven jdk 11 java/lang/Override# public void writeToParcel(Parcel dest, int flags) { // ^^^^^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/ViewHolderState#writeToParcel(). -// documentation ```java\n@Override\npublic void writeToParcel(unresolved_type dest, int flags)\n``` +// display_name writeToParcel +// signature_documentation java @Override\npublic void writeToParcel(unresolved_type dest, int flags) +// kind Method // ^^^^^^ reference semanticdb maven . . Parcel# // ^^^^ definition local 1 -// documentation ```java\nunresolved_type dest\n``` +// display_name dest +// signature_documentation java unresolved_type dest +// enclosing_symbol semanticdb maven . . com/airbnb/epoxy/ViewHolderState#writeToParcel(). // ^^^^^ definition local 2 -// documentation ```java\nint flags\n``` +// display_name flags +// signature_documentation java int flags +// enclosing_symbol semanticdb maven . . com/airbnb/epoxy/ViewHolderState#writeToParcel(). final int size = size(); // ^^^^ definition local 3 -// documentation ```java\nfinal int size\n``` +// display_name size +// signature_documentation java final int size +// enclosing_symbol semanticdb maven . . com/airbnb/epoxy/ViewHolderState#writeToParcel(). +// kind Variable // ^^^^ reference semanticdb maven maven/androidx.collection/collection 1.0.0 androidx/collection/LongSparseArray#size(). dest.writeInt(size); // ^^^^ reference local 1 @@ -111,7 +130,10 @@ public void writeToParcel(Parcel dest, int flags) { // ^^^^ reference local 3 for (int i = 0; i < size; i++) { // ^ definition local 4 -// documentation ```java\nint i\n``` +// display_name i +// signature_documentation java int i +// enclosing_symbol semanticdb maven . . com/airbnb/epoxy/ViewHolderState#writeToParcel(). +// kind Variable // ^ reference local 4 // ^^^^ reference local 3 // ^ reference local 4 @@ -132,7 +154,9 @@ public void writeToParcel(Parcel dest, int flags) { // ^^^^^^^ reference semanticdb maven . . Creator# // ^^^^^^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/ViewHolderState# // ^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/ViewHolderState#CREATOR. -// documentation ```java\npublic static final unresolved_type CREATOR\n``` +// display_name CREATOR +// signature_documentation java public static final unresolved_type CREATOR +// kind StaticField // ^^^^^^^ reference semanticdb maven . . Creator# // ^^^^^^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/ViewHolderState# @@ -156,10 +180,14 @@ public ViewHolderState createFromParcel(Parcel source) { public boolean hasStateForHolder(EpoxyViewHolder holder) { // ^^^^^^^^^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/ViewHolderState#hasStateForHolder(). -// documentation ```java\npublic boolean hasStateForHolder(EpoxyViewHolder holder)\n``` +// display_name hasStateForHolder +// signature_documentation java public boolean hasStateForHolder(EpoxyViewHolder holder) +// kind Method // ^^^^^^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/EpoxyViewHolder# // ^^^^^^ definition local 5 -// documentation ```java\nEpoxyViewHolder holder\n``` +// display_name holder +// signature_documentation java EpoxyViewHolder holder +// enclosing_symbol semanticdb maven . . com/airbnb/epoxy/ViewHolderState#hasStateForHolder(). return get(holder.getItemId()) != null; // ^^^ reference semanticdb maven maven/androidx.collection/collection 1.0.0 androidx/collection/LongSparseArray#get(). // ^^^^^^ reference local 5 @@ -168,15 +196,22 @@ public boolean hasStateForHolder(EpoxyViewHolder holder) { public void save(Collection holders) { // ^^^^ definition semanticdb maven . . com/airbnb/epoxy/ViewHolderState#save(). -// documentation ```java\npublic void save(Collection holders)\n``` +// display_name save +// signature_documentation java public void save(Collection holders) +// kind Method // ^^^^^^^^^^ reference semanticdb maven jdk 11 java/util/Collection# // ^^^^^^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/EpoxyViewHolder# // ^^^^^^^ definition local 6 -// documentation ```java\nCollection holders\n``` +// display_name holders +// signature_documentation java Collection holders +// enclosing_symbol semanticdb maven . . com/airbnb/epoxy/ViewHolderState#save(). for (EpoxyViewHolder holder : holders) { // ^^^^^^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/EpoxyViewHolder# // ^^^^^^ definition local 7 -// documentation ```java\nEpoxyViewHolder holder\n``` +// display_name holder +// signature_documentation java EpoxyViewHolder holder +// enclosing_symbol semanticdb maven . . com/airbnb/epoxy/ViewHolderState#save(). +// kind Variable // ^^^^^^^ reference local 6 save(holder); // ^^^^ reference semanticdb maven . . com/airbnb/epoxy/ViewHolderState#save(+1). @@ -187,11 +222,15 @@ public void save(Collection holders) { /** Save the state of the view bound to the given holder. */ public void save(EpoxyViewHolder holder) { // ^^^^ definition semanticdb maven . . com/airbnb/epoxy/ViewHolderState#save(+1). -// documentation ```java\npublic void save(EpoxyViewHolder holder)\n``` +// display_name save +// signature_documentation java public void save(EpoxyViewHolder holder) +// kind Method // documentation Save the state of the view bound to the given holder. // ^^^^^^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/EpoxyViewHolder# // ^^^^^^ definition local 8 -// documentation ```java\nEpoxyViewHolder holder\n``` +// display_name holder +// signature_documentation java EpoxyViewHolder holder +// enclosing_symbol semanticdb maven . . com/airbnb/epoxy/ViewHolderState#save(+1). if (!holder.getModel().shouldSaveViewState()) { // ^^^^^^ reference local 8 // ^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/EpoxyViewHolder#getModel(). @@ -205,7 +244,10 @@ public void save(EpoxyViewHolder holder) { ViewState state = get(holder.getItemId()); // ^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/ViewHolderState#ViewState# // ^^^^^ definition local 9 -// documentation ```java\nViewState state\n``` +// display_name state +// signature_documentation java ViewState state +// enclosing_symbol semanticdb maven . . com/airbnb/epoxy/ViewHolderState#save(+1). +// kind Variable // ^^^ reference semanticdb maven maven/androidx.collection/collection 1.0.0 androidx/collection/LongSparseArray#get(). // ^^^^^^ reference local 8 // ^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/EpoxyViewHolder#getItemId# @@ -234,11 +276,15 @@ public void save(EpoxyViewHolder holder) { */ public void restore(EpoxyViewHolder holder) { // ^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/ViewHolderState#restore(). -// documentation ```java\npublic void restore(EpoxyViewHolder holder)\n``` +// display_name restore +// signature_documentation java public void restore(EpoxyViewHolder holder) +// kind Method // documentation If a state was previously saved for this view holder via {@link #save} it will be restored\n here.\n // ^^^^^^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/EpoxyViewHolder# // ^^^^^^ definition local 10 -// documentation ```java\nEpoxyViewHolder holder\n``` +// display_name holder +// signature_documentation java EpoxyViewHolder holder +// enclosing_symbol semanticdb maven . . com/airbnb/epoxy/ViewHolderState#restore(). if (!holder.getModel().shouldSaveViewState()) { // ^^^^^^ reference local 10 // ^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/EpoxyViewHolder#getModel(). @@ -249,7 +295,10 @@ public void restore(EpoxyViewHolder holder) { ViewState state = get(holder.getItemId()); // ^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/ViewHolderState#ViewState# // ^^^^^ definition local 11 -// documentation ```java\nViewState state\n``` +// display_name state +// signature_documentation java ViewState state +// enclosing_symbol semanticdb maven . . com/airbnb/epoxy/ViewHolderState#restore(). +// kind Variable // ^^^ reference semanticdb maven maven/androidx.collection/collection 1.0.0 androidx/collection/LongSparseArray#get(). // ^^^^^^ reference local 10 // ^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/EpoxyViewHolder#getItemId# @@ -275,7 +324,9 @@ public void restore(EpoxyViewHolder holder) { */ public static class ViewState extends SparseArray implements Parcelable { // ^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/ViewHolderState#ViewState# -// documentation ```java\npublic static class ViewState\n``` +// display_name ViewState +// signature_documentation java public static class ViewState +// kind Class // documentation A wrapper around a sparse array as a helper to save the state of a view. This also adds\n parcelable support.\n // relationship is_implementation semanticdb maven . . Parcelable# // relationship is_implementation semanticdb maven . . SparseArray# @@ -285,24 +336,37 @@ public static class ViewState extends SparseArray implements Parcela ViewState() { // ^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/ViewHolderState#ViewState#``(). -// documentation ```java\nViewState()\n``` +// display_name +// signature_documentation java ViewState() +// kind Constructor } private ViewState(int size, int[] keys, Parcelable[] values) { // ^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/ViewHolderState#ViewState#``(+1). -// documentation ```java\nprivate ViewState(int size, int[] keys, unresolved_type[] values)\n``` +// display_name +// signature_documentation java private ViewState(int size, int[] keys, unresolved_type[] values) +// kind Constructor // ^^^^ definition local 12 -// documentation ```java\nint size\n``` +// display_name size +// signature_documentation java int size +// enclosing_symbol semanticdb maven . . com/airbnb/epoxy/ViewHolderState#ViewState#``(+1). // ^^^^ definition local 13 -// documentation ```java\nint[] keys\n``` +// display_name keys +// signature_documentation java int[] keys +// enclosing_symbol semanticdb maven . . com/airbnb/epoxy/ViewHolderState#ViewState#``(+1). // ^^^^^^^^^^ reference semanticdb maven . . Parcelable# // ^^^^^^ definition local 14 -// documentation ```java\nunresolved_type[] values\n``` +// display_name values +// signature_documentation java unresolved_type[] values +// enclosing_symbol semanticdb maven . . com/airbnb/epoxy/ViewHolderState#ViewState#``(+1). super(size); // ^^^^ reference local 12 for (int i = 0; i < size; ++i) { // ^ definition local 15 -// documentation ```java\nint i\n``` +// display_name i +// signature_documentation java int i +// enclosing_symbol semanticdb maven . . com/airbnb/epoxy/ViewHolderState#ViewState#``(+1). +// kind Variable // ^ reference local 15 // ^^^^ reference local 12 // ^ reference local 15 @@ -317,13 +381,20 @@ private ViewState(int size, int[] keys, Parcelable[] values) { public void save(View view) { // ^^^^ definition semanticdb maven . . com/airbnb/epoxy/ViewHolderState#ViewState#save(). -// documentation ```java\npublic void save(unresolved_type view)\n``` +// display_name save +// signature_documentation java public void save(unresolved_type view) +// kind Method // ^^^^ reference semanticdb maven . . View# // ^^^^ definition local 16 -// documentation ```java\nunresolved_type view\n``` +// display_name view +// signature_documentation java unresolved_type view +// enclosing_symbol semanticdb maven . . com/airbnb/epoxy/ViewHolderState#ViewState#save(). int originalId = view.getId(); // ^^^^^^^^^^ definition local 17 -// documentation ```java\nint originalId\n``` +// display_name originalId +// signature_documentation java int originalId +// enclosing_symbol semanticdb maven . . com/airbnb/epoxy/ViewHolderState#ViewState#save(). +// kind Variable // ^^^^ reference local 16 // ^^^^^ reference semanticdb maven . . View#getId# setIdIfNoneExists(view); @@ -341,13 +412,20 @@ public void save(View view) { public void restore(View view) { // ^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/ViewHolderState#ViewState#restore(). -// documentation ```java\npublic void restore(unresolved_type view)\n``` +// display_name restore +// signature_documentation java public void restore(unresolved_type view) +// kind Method // ^^^^ reference semanticdb maven . . View# // ^^^^ definition local 18 -// documentation ```java\nunresolved_type view\n``` +// display_name view +// signature_documentation java unresolved_type view +// enclosing_symbol semanticdb maven . . com/airbnb/epoxy/ViewHolderState#ViewState#restore(). int originalId = view.getId(); // ^^^^^^^^^^ definition local 19 -// documentation ```java\nint originalId\n``` +// display_name originalId +// signature_documentation java int originalId +// enclosing_symbol semanticdb maven . . com/airbnb/epoxy/ViewHolderState#ViewState#restore(). +// kind Variable // ^^^^ reference local 18 // ^^^^^ reference semanticdb maven . . View#getId# setIdIfNoneExists(view); @@ -371,11 +449,15 @@ public void restore(View view) { */ private void setIdIfNoneExists(View view) { // ^^^^^^^^^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/ViewHolderState#ViewState#setIdIfNoneExists(). -// documentation ```java\nprivate void setIdIfNoneExists(unresolved_type view)\n``` +// display_name setIdIfNoneExists +// signature_documentation java private void setIdIfNoneExists(unresolved_type view) +// kind Method // documentation If a view hasn't had an id set we need to set a temporary one in order to save state, since a\n view won't save its state unless it has an id. The view's id is also the key into the sparse\n array for its saved state, so the temporary one we choose just needs to be consistent between\n saving and restoring state.\n // ^^^^ reference semanticdb maven . . View# // ^^^^ definition local 20 -// documentation ```java\nunresolved_type view\n``` +// display_name view +// signature_documentation java unresolved_type view +// enclosing_symbol semanticdb maven . . com/airbnb/epoxy/ViewHolderState#ViewState#setIdIfNoneExists(). if (view.getId() == View.NO_ID) { // ^^^^ reference local 20 // ^^^^^ reference semanticdb maven . . View#getId# @@ -394,7 +476,9 @@ private void setIdIfNoneExists(View view) { // ^^^^^^^^ reference semanticdb maven jdk 11 java/lang/Override# public int describeContents() { // ^^^^^^^^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/ViewHolderState#ViewState#describeContents(). -// documentation ```java\n@Override\npublic int describeContents()\n``` +// display_name describeContents +// signature_documentation java @Override\npublic int describeContents() +// kind Method return 0; } @@ -402,29 +486,47 @@ public int describeContents() { // ^^^^^^^^ reference semanticdb maven jdk 11 java/lang/Override# public void writeToParcel(Parcel parcel, int flags) { // ^^^^^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/ViewHolderState#ViewState#writeToParcel(). -// documentation ```java\n@Override\npublic void writeToParcel(unresolved_type parcel, int flags)\n``` +// display_name writeToParcel +// signature_documentation java @Override\npublic void writeToParcel(unresolved_type parcel, int flags) +// kind Method // ^^^^^^ reference semanticdb maven . . Parcel# // ^^^^^^ definition local 21 -// documentation ```java\nunresolved_type parcel\n``` +// display_name parcel +// signature_documentation java unresolved_type parcel +// enclosing_symbol semanticdb maven . . com/airbnb/epoxy/ViewHolderState#ViewState#writeToParcel(). // ^^^^^ definition local 22 -// documentation ```java\nint flags\n``` +// display_name flags +// signature_documentation java int flags +// enclosing_symbol semanticdb maven . . com/airbnb/epoxy/ViewHolderState#ViewState#writeToParcel(). int size = size(); // ^^^^ definition local 23 -// documentation ```java\nint size\n``` +// display_name size +// signature_documentation java int size +// enclosing_symbol semanticdb maven . . com/airbnb/epoxy/ViewHolderState#ViewState#writeToParcel(). +// kind Variable // ^^^^ reference semanticdb maven maven/androidx.collection/collection 1.0.0 androidx/collection/LongSparseArray#size(). int[] keys = new int[size]; // ^^^^ definition local 24 -// documentation ```java\nint[] keys\n``` +// display_name keys +// signature_documentation java int[] keys +// enclosing_symbol semanticdb maven . . com/airbnb/epoxy/ViewHolderState#ViewState#writeToParcel(). +// kind Variable // ^^^^ reference local 23 Parcelable[] values = new Parcelable[size]; // ^^^^^^^^^^ reference semanticdb maven . . Parcelable# // ^^^^^^ definition local 25 -// documentation ```java\nunresolved_type[] values\n``` +// display_name values +// signature_documentation java unresolved_type[] values +// enclosing_symbol semanticdb maven . . com/airbnb/epoxy/ViewHolderState#ViewState#writeToParcel(). +// kind Variable // ^^^^^^^^^^ reference semanticdb maven . . Parcelable# // ^^^^ reference local 23 for (int i = 0; i < size; ++i) { // ^ definition local 26 -// documentation ```java\nint i\n``` +// display_name i +// signature_documentation java int i +// enclosing_symbol semanticdb maven . . com/airbnb/epoxy/ViewHolderState#ViewState#writeToParcel(). +// kind Variable // ^ reference local 26 // ^^^^ reference local 23 // ^ reference local 26 @@ -458,7 +560,9 @@ public void writeToParcel(Parcel parcel, int flags) { // ^^^^^^^ reference semanticdb maven . . Creator# // ^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/ViewHolderState#ViewState# // ^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/ViewHolderState#ViewState#CREATOR. -// documentation ```java\npublic static final unresolved_type CREATOR\n``` +// display_name CREATOR +// signature_documentation java public static final unresolved_type CREATOR +// kind StaticField new Parcelable.ClassLoaderCreator() { // ^^^^^^^^^^ reference semanticdb maven . . Parcelable/ // ^^^^^^^^^^^^^^^^^^ reference semanticdb maven . . Parcelable/ClassLoaderCreator# diff --git a/tests/snapshots/src/main/generated/com/airbnb/epoxy/ViewTypeManager.java b/tests/snapshots/src/main/generated/com/airbnb/epoxy/ViewTypeManager.java index 56dde2f33..3f1cd2fd6 100644 --- a/tests/snapshots/src/main/generated/com/airbnb/epoxy/ViewTypeManager.java +++ b/tests/snapshots/src/main/generated/com/airbnb/epoxy/ViewTypeManager.java @@ -20,15 +20,21 @@ class ViewTypeManager { // ^^^^^^^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/ViewTypeManager# -// documentation ```java\nclass ViewTypeManager\n``` +// display_name ViewTypeManager +// signature_documentation java class ViewTypeManager +// kind Class // ^^^^^^^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/ViewTypeManager#``(). -// documentation ```java\nViewTypeManager()\n``` +// display_name +// signature_documentation java ViewTypeManager() +// kind Constructor private static final Map VIEW_TYPE_MAP = new HashMap<>(); // ^^^ reference semanticdb maven jdk 11 java/util/Map# // ^^^^^ reference semanticdb maven jdk 11 java/lang/Class# // ^^^^^^^ reference semanticdb maven jdk 11 java/lang/Integer# // ^^^^^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/ViewTypeManager#VIEW_TYPE_MAP. -// documentation ```java\nprivate static final Map VIEW_TYPE_MAP\n``` +// display_name VIEW_TYPE_MAP +// signature_documentation java private static final Map VIEW_TYPE_MAP +// kind StaticField // ^^^^^^^ reference semanticdb maven jdk 11 java/util/HashMap#``(+2). /** * The last model that had its view type looked up. This is stored so in most cases we can quickly @@ -39,7 +45,9 @@ class ViewTypeManager { EpoxyModel lastModelForViewTypeLookup; //^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/EpoxyModel# // ^^^^^^^^^^^^^^^^^^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/ViewTypeManager#lastModelForViewTypeLookup. -// documentation ```java\n@Nullable\nEpoxyModel lastModelForViewTypeLookup\n``` +// display_name lastModelForViewTypeLookup +// signature_documentation java @Nullable\nEpoxyModel lastModelForViewTypeLookup +// kind Field // documentation The last model that had its view type looked up. This is stored so in most cases we can quickly\n look up what view type belongs to which model.\n /** @@ -52,7 +60,9 @@ class ViewTypeManager { // ^^^^^^^^^^^^^^^^^ reference semanticdb maven maven/androidx.annotation/annotation 1.1.0 androidx/annotation/VisibleForTesting# void resetMapForTesting() { // ^^^^^^^^^^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/ViewTypeManager#resetMapForTesting(). -// documentation ```java\n@VisibleForTesting\nvoid resetMapForTesting()\n``` +// display_name resetMapForTesting +// signature_documentation java @VisibleForTesting\nvoid resetMapForTesting() +// kind Method // documentation The type map is static so that models of the same class share the same views across different\n adapters. This is useful for view recycling when the adapter instance changes, or when there\n are multiple adapters. For testing purposes though it is good to be able to clear the map so we\n don't carry over values across tests.\n VIEW_TYPE_MAP.clear(); // ^^^^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/ViewTypeManager#VIEW_TYPE_MAP. @@ -61,10 +71,14 @@ void resetMapForTesting() { int getViewTypeAndRememberModel(EpoxyModel model) { // ^^^^^^^^^^^^^^^^^^^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/ViewTypeManager#getViewTypeAndRememberModel(). -// documentation ```java\nint getViewTypeAndRememberModel(EpoxyModel model)\n``` +// display_name getViewTypeAndRememberModel +// signature_documentation java int getViewTypeAndRememberModel(EpoxyModel model) +// kind Method // ^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/EpoxyModel# // ^^^^^ definition local 0 -// documentation ```java\nEpoxyModel model\n``` +// display_name model +// signature_documentation java EpoxyModel model +// enclosing_symbol semanticdb maven . . com/airbnb/epoxy/ViewTypeManager#getViewTypeAndRememberModel(). lastModelForViewTypeLookup = model; // ^^^^^^^^^^^^^^^^^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/ViewTypeManager#lastModelForViewTypeLookup. // ^^^^^ reference local 0 @@ -75,13 +89,20 @@ int getViewTypeAndRememberModel(EpoxyModel model) { static int getViewType(EpoxyModel model) { // ^^^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/ViewTypeManager#getViewType(). -// documentation ```java\nstatic int getViewType(EpoxyModel model)\n``` +// display_name getViewType +// signature_documentation java static int getViewType(EpoxyModel model) +// kind StaticMethod // ^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/EpoxyModel# // ^^^^^ definition local 1 -// documentation ```java\nEpoxyModel model\n``` +// display_name model +// signature_documentation java EpoxyModel model +// enclosing_symbol semanticdb maven . . com/airbnb/epoxy/ViewTypeManager#getViewType(). int defaultViewType = model.getViewType(); // ^^^^^^^^^^^^^^^ definition local 2 -// documentation ```java\nint defaultViewType\n``` +// display_name defaultViewType +// signature_documentation java int defaultViewType +// enclosing_symbol semanticdb maven . . com/airbnb/epoxy/ViewTypeManager#getViewType(). +// kind Variable // ^^^^^ reference local 1 // ^^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/EpoxyModel#getViewType(). if (defaultViewType != 0) { @@ -95,14 +116,20 @@ static int getViewType(EpoxyModel model) { Class modelClass = model.getClass(); // ^^^^^ reference semanticdb maven jdk 11 java/lang/Class# // ^^^^^^^^^^ definition local 3 -// documentation ```java\nClass modelClass\n``` +// display_name modelClass +// signature_documentation java Class modelClass +// enclosing_symbol semanticdb maven . . com/airbnb/epoxy/ViewTypeManager#getViewType(). +// kind Variable // ^^^^^ reference local 1 // ^^^^^^^^ reference semanticdb maven jdk 11 java/lang/Object#getClass(). Integer viewType = VIEW_TYPE_MAP.get(modelClass); // ^^^^^^^ reference semanticdb maven jdk 11 java/lang/Integer# // ^^^^^^^^ definition local 4 -// documentation ```java\nInteger viewType\n``` +// display_name viewType +// signature_documentation java Integer viewType +// enclosing_symbol semanticdb maven . . com/airbnb/epoxy/ViewTypeManager#getViewType(). +// kind Variable // ^^^^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/ViewTypeManager#VIEW_TYPE_MAP. // ^^^ reference semanticdb maven jdk 11 java/util/Map#get(). // ^^^^^^^^^^ reference local 3 @@ -142,13 +169,19 @@ static int getViewType(EpoxyModel model) { EpoxyModel getModelForViewType(BaseEpoxyAdapter adapter, int viewType) { //^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/EpoxyModel# // ^^^^^^^^^^^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/ViewTypeManager#getModelForViewType(). -// documentation ```java\nEpoxyModel getModelForViewType(BaseEpoxyAdapter adapter, int viewType)\n``` +// display_name getModelForViewType +// signature_documentation java EpoxyModel getModelForViewType(BaseEpoxyAdapter adapter, int viewType) +// kind Method // documentation Find the model that has the given view type so we can create a view for that model. In most\n cases this value is a layout resource and we could simply inflate it, but to support {@link\n EpoxyModelWithView} we can't assume the view type is a layout. In that case we need to lookup\n the model so we can ask it to create a new view for itself.\n

\n To make this efficient, we rely on the RecyclerView implementation detail that {@link\n BaseEpoxyAdapter#getItemViewType(int)} is called immediately before {@link\n BaseEpoxyAdapter#onCreateViewHolder(android.view.ViewGroup, int)} . We cache the last model\n that had its view type looked up, and unless that implementation changes we expect to have a\n very fast lookup for the correct model.\n

\n To be safe, we fallback to searching through all models for a view type match. This is slow and\n shouldn't be needed, but is a guard against recyclerview behavior changing.\n // ^^^^^^^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/BaseEpoxyAdapter# // ^^^^^^^ definition local 5 -// documentation ```java\nBaseEpoxyAdapter adapter\n``` +// display_name adapter +// signature_documentation java BaseEpoxyAdapter adapter +// enclosing_symbol semanticdb maven . . com/airbnb/epoxy/ViewTypeManager#getModelForViewType(). // ^^^^^^^^ definition local 6 -// documentation ```java\nint viewType\n``` +// display_name viewType +// signature_documentation java int viewType +// enclosing_symbol semanticdb maven . . com/airbnb/epoxy/ViewTypeManager#getModelForViewType(). if (lastModelForViewTypeLookup != null // ^^^^^^^^^^^^^^^^^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/ViewTypeManager#lastModelForViewTypeLookup. && getViewType(lastModelForViewTypeLookup) == viewType) { @@ -170,7 +203,10 @@ && getViewType(lastModelForViewTypeLookup) == viewType) { for (EpoxyModel model : adapter.getCurrentModels()) { // ^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/EpoxyModel# // ^^^^^ definition local 7 -// documentation ```java\nEpoxyModel model\n``` +// display_name model +// signature_documentation java EpoxyModel model +// enclosing_symbol semanticdb maven . . com/airbnb/epoxy/ViewTypeManager#getModelForViewType(). +// kind Variable // ^^^^^^^ reference local 5 // ^^^^^^^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/BaseEpoxyAdapter#getCurrentModels(). if (getViewType(model) == viewType) { @@ -186,7 +222,10 @@ && getViewType(lastModelForViewTypeLookup) == viewType) { HiddenEpoxyModel hiddenEpoxyModel = new HiddenEpoxyModel(); // ^^^^^^^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/HiddenEpoxyModel# // ^^^^^^^^^^^^^^^^ definition local 8 -// documentation ```java\nHiddenEpoxyModel hiddenEpoxyModel\n``` +// display_name hiddenEpoxyModel +// signature_documentation java HiddenEpoxyModel hiddenEpoxyModel +// enclosing_symbol semanticdb maven . . com/airbnb/epoxy/ViewTypeManager#getModelForViewType(). +// kind Variable // ^^^^^^^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/HiddenEpoxyModel#``(). if (viewType == hiddenEpoxyModel.getViewType()) { // ^^^^^^^^ reference local 6 diff --git a/tests/snapshots/src/main/generated/com/airbnb/epoxy/VisibilityState.java b/tests/snapshots/src/main/generated/com/airbnb/epoxy/VisibilityState.java index 762b95bc9..5f3c5a09b 100644 --- a/tests/snapshots/src/main/generated/com/airbnb/epoxy/VisibilityState.java +++ b/tests/snapshots/src/main/generated/com/airbnb/epoxy/VisibilityState.java @@ -18,9 +18,13 @@ public final class VisibilityState { // ^^^^^^^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/VisibilityState# -// documentation ```java\npublic final class VisibilityState\n``` +// display_name VisibilityState +// signature_documentation java public final class VisibilityState +// kind Class // ^^^^^^^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/VisibilityState#``(). -// documentation ```java\npublic VisibilityState()\n``` +// display_name +// signature_documentation java public VisibilityState() +// kind Constructor @Retention(RetentionPolicy.SOURCE) // ^^^^^^^^^ reference semanticdb maven jdk 11 java/lang/annotation/Retention# @@ -43,7 +47,9 @@ public final class VisibilityState { // ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/VisibilityState#PARTIAL_IMPRESSION_INVISIBLE. public @interface Visibility { // ^^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/VisibilityState#Visibility# -// documentation ```java\n@Retention(RetentionPolicy.SOURCE)\n@IntDef({VISIBLE, INVISIBLE, FOCUSED_VISIBLE, UNFOCUSED_VISIBLE, FULL_IMPRESSION_VISIBLE, PARTIAL_IMPRESSION_VISIBLE, PARTIAL_IMPRESSION_INVISIBLE})\npublic @interface Visibility\n``` +// display_name Visibility +// signature_documentation java @Retention(RetentionPolicy.SOURCE)\n@IntDef({VISIBLE, INVISIBLE, FOCUSED_VISIBLE, UNFOCUSED_VISIBLE, FULL_IMPRESSION_VISIBLE, PARTIAL_IMPRESSION_VISIBLE, PARTIAL_IMPRESSION_INVISIBLE})\npublic @interface Visibility +// kind Interface // relationship is_implementation semanticdb maven jdk 11 java/lang/annotation/Annotation# } @@ -53,7 +59,9 @@ public final class VisibilityState { */ public static final int VISIBLE = 0; // ^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/VisibilityState#VISIBLE. -// documentation ```java\npublic static final int VISIBLE\n``` +// display_name VISIBLE +// signature_documentation java public static final int VISIBLE +// kind StaticField // documentation Event triggered when a Component enters the Visible Range. This happens when at least a pixel\n of the Component is visible.\n /** @@ -63,7 +71,9 @@ public final class VisibilityState { */ public static final int INVISIBLE = 1; // ^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/VisibilityState#INVISIBLE. -// documentation ```java\npublic static final int INVISIBLE\n``` +// display_name INVISIBLE +// signature_documentation java public static final int INVISIBLE +// kind StaticField // documentation Event triggered when a Component becomes invisible. This is the same with exiting the Visible\n Range, the Focused Range and the Full Impression Range. All the code that needs to be executed\n when a component leaves any of these ranges should be written in the handler for this event.\n /** @@ -73,7 +83,9 @@ public final class VisibilityState { */ public static final int FOCUSED_VISIBLE = 2; // ^^^^^^^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/VisibilityState#FOCUSED_VISIBLE. -// documentation ```java\npublic static final int FOCUSED_VISIBLE\n``` +// display_name FOCUSED_VISIBLE +// signature_documentation java public static final int FOCUSED_VISIBLE +// kind StaticField // documentation Event triggered when a Component enters the Focused Range. This happens when either the\n Component occupies at least half of the viewport or, if the Component is smaller than half of\n the viewport, when the it is fully visible.\n /** @@ -83,7 +95,9 @@ public final class VisibilityState { */ public static final int UNFOCUSED_VISIBLE = 3; // ^^^^^^^^^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/VisibilityState#UNFOCUSED_VISIBLE. -// documentation ```java\npublic static final int UNFOCUSED_VISIBLE\n``` +// display_name UNFOCUSED_VISIBLE +// signature_documentation java public static final int UNFOCUSED_VISIBLE +// kind StaticField // documentation Event triggered when a Component exits the Focused Range. The Focused Range is defined as at\n least half of the viewport or, if the Component is smaller than half of the viewport, when the\n it is fully visible.\n /** @@ -93,7 +107,9 @@ public final class VisibilityState { */ public static final int FULL_IMPRESSION_VISIBLE = 4; // ^^^^^^^^^^^^^^^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/VisibilityState#FULL_IMPRESSION_VISIBLE. -// documentation ```java\npublic static final int FULL_IMPRESSION_VISIBLE\n``` +// display_name FULL_IMPRESSION_VISIBLE +// signature_documentation java public static final int FULL_IMPRESSION_VISIBLE +// kind StaticField // documentation Event triggered when a Component enters the Full Impression Range. This happens, for instance\n in the case of a vertical RecyclerView, when both the top and bottom edges of the component\n become visible.\n /** @@ -104,7 +120,9 @@ public final class VisibilityState { */ public static final int PARTIAL_IMPRESSION_VISIBLE = 5; // ^^^^^^^^^^^^^^^^^^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/VisibilityState#PARTIAL_IMPRESSION_VISIBLE. -// documentation ```java\npublic static final int PARTIAL_IMPRESSION_VISIBLE\n``` +// display_name PARTIAL_IMPRESSION_VISIBLE +// signature_documentation java public static final int PARTIAL_IMPRESSION_VISIBLE +// kind StaticField // documentation Event triggered when a Component enters the Partial Impression Range. This happens, for\n instance in the case of a vertical RecyclerView, when the percentage of the visible area is\n at least the specified threshold. The threshold can be set in\n {@link EpoxyVisibilityTracker#setPartialImpressionThresholdPercentage(int)}.\n /** @@ -115,6 +133,8 @@ public final class VisibilityState { */ public static final int PARTIAL_IMPRESSION_INVISIBLE = 6; // ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/VisibilityState#PARTIAL_IMPRESSION_INVISIBLE. -// documentation ```java\npublic static final int PARTIAL_IMPRESSION_INVISIBLE\n``` +// display_name PARTIAL_IMPRESSION_INVISIBLE +// signature_documentation java public static final int PARTIAL_IMPRESSION_INVISIBLE +// kind StaticField // documentation Event triggered when a Component exits the Partial Impression Range. This happens, for\n instance in the case of a vertical RecyclerView, when the percentage of the visible area is\n less than a specified threshold. The threshold can be set in\n {@link EpoxyVisibilityTracker#setPartialImpressionThresholdPercentage(int)}.\n } diff --git a/tests/snapshots/src/main/generated/com/airbnb/epoxy/WrappedEpoxyModelCheckedChangeListener.java b/tests/snapshots/src/main/generated/com/airbnb/epoxy/WrappedEpoxyModelCheckedChangeListener.java index ab0bd8933..6ad592e33 100644 --- a/tests/snapshots/src/main/generated/com/airbnb/epoxy/WrappedEpoxyModelCheckedChangeListener.java +++ b/tests/snapshots/src/main/generated/com/airbnb/epoxy/WrappedEpoxyModelCheckedChangeListener.java @@ -22,14 +22,20 @@ */ public class WrappedEpoxyModelCheckedChangeListener, V> // ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/WrappedEpoxyModelCheckedChangeListener# -// documentation ```java\npublic class WrappedEpoxyModelCheckedChangeListener, V>\n``` +// display_name WrappedEpoxyModelCheckedChangeListener +// signature_documentation java public class WrappedEpoxyModelCheckedChangeListener, V> +// kind Class // documentation Used in the generated models to transform normal checked change listener to model\n checked change.\n // relationship is_implementation semanticdb maven . . OnCheckedChangeListener# // ^ definition semanticdb maven . . com/airbnb/epoxy/WrappedEpoxyModelCheckedChangeListener#[T] -// documentation ```java\nT extends EpoxyModel\n``` +// display_name T +// signature_documentation java T extends EpoxyModel +// kind TypeParameter // ^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/EpoxyModel# // ^ definition semanticdb maven . . com/airbnb/epoxy/WrappedEpoxyModelCheckedChangeListener#[V] -// documentation ```java\nV\n``` +// display_name V +// signature_documentation java V +// kind TypeParameter implements OnCheckedChangeListener { // ^^^^^^^^^^^^^^^^^^^^^^^ reference semanticdb maven . . OnCheckedChangeListener# @@ -38,17 +44,23 @@ public class WrappedEpoxyModelCheckedChangeListener, V> // ^ reference semanticdb maven . . com/airbnb/epoxy/WrappedEpoxyModelCheckedChangeListener#[T] // ^ reference semanticdb maven . . com/airbnb/epoxy/WrappedEpoxyModelCheckedChangeListener#[V] // ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/WrappedEpoxyModelCheckedChangeListener#originalCheckedChangeListener. -// documentation ```java\nprivate final OnModelCheckedChangeListener originalCheckedChangeListener\n``` +// display_name originalCheckedChangeListener +// signature_documentation java private final OnModelCheckedChangeListener originalCheckedChangeListener +// kind Field public WrappedEpoxyModelCheckedChangeListener( // ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/WrappedEpoxyModelCheckedChangeListener#``(). -// documentation ```java\npublic WrappedEpoxyModelCheckedChangeListener(OnModelCheckedChangeListener checkedListener)\n``` +// display_name +// signature_documentation java public WrappedEpoxyModelCheckedChangeListener(OnModelCheckedChangeListener checkedListener) +// kind Constructor OnModelCheckedChangeListener checkedListener // ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/OnModelCheckedChangeListener# // ^ reference semanticdb maven . . com/airbnb/epoxy/WrappedEpoxyModelCheckedChangeListener#[T] // ^ reference semanticdb maven . . com/airbnb/epoxy/WrappedEpoxyModelCheckedChangeListener#[V] // ^^^^^^^^^^^^^^^ definition local 0 -// documentation ```java\nOnModelCheckedChangeListener checkedListener\n``` +// display_name checkedListener +// signature_documentation java OnModelCheckedChangeListener checkedListener +// enclosing_symbol semanticdb maven . . com/airbnb/epoxy/WrappedEpoxyModelCheckedChangeListener#``(). ) { if (checkedListener == null) { // ^^^^^^^^^^^^^^^ reference local 0 @@ -65,16 +77,25 @@ public WrappedEpoxyModelCheckedChangeListener( // ^^^^^^^^ reference semanticdb maven jdk 11 java/lang/Override# public void onCheckedChanged(CompoundButton button, boolean isChecked) { // ^^^^^^^^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/WrappedEpoxyModelCheckedChangeListener#onCheckedChanged(). -// documentation ```java\n@Override\npublic void onCheckedChanged(unresolved_type button, boolean isChecked)\n``` +// display_name onCheckedChanged +// signature_documentation java @Override\npublic void onCheckedChanged(unresolved_type button, boolean isChecked) +// kind Method // ^^^^^^^^^^^^^^ reference semanticdb maven . . CompoundButton# // ^^^^^^ definition local 1 -// documentation ```java\nunresolved_type button\n``` +// display_name button +// signature_documentation java unresolved_type button +// enclosing_symbol semanticdb maven . . com/airbnb/epoxy/WrappedEpoxyModelCheckedChangeListener#onCheckedChanged(). // ^^^^^^^^^ definition local 2 -// documentation ```java\nboolean isChecked\n``` +// display_name isChecked +// signature_documentation java boolean isChecked +// enclosing_symbol semanticdb maven . . com/airbnb/epoxy/WrappedEpoxyModelCheckedChangeListener#onCheckedChanged(). EpoxyViewHolder epoxyHolder = ListenersUtils.getEpoxyHolderForChildView(button); // ^^^^^^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/EpoxyViewHolder# // ^^^^^^^^^^^ definition local 3 -// documentation ```java\nEpoxyViewHolder epoxyHolder\n``` +// display_name epoxyHolder +// signature_documentation java EpoxyViewHolder epoxyHolder +// enclosing_symbol semanticdb maven . . com/airbnb/epoxy/WrappedEpoxyModelCheckedChangeListener#onCheckedChanged(). +// kind Variable // ^^^^^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/ListenersUtils# // ^^^^^^^^^^^^^^^^^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/ListenersUtils#getEpoxyHolderForChildView(). // ^^^^^^ reference local 1 @@ -91,7 +112,10 @@ public void onCheckedChanged(CompoundButton button, boolean isChecked) { final int adapterPosition = epoxyHolder.getAdapterPosition(); // ^^^^^^^^^^^^^^^ definition local 4 -// documentation ```java\nfinal int adapterPosition\n``` +// display_name adapterPosition +// signature_documentation java final int adapterPosition +// enclosing_symbol semanticdb maven . . com/airbnb/epoxy/WrappedEpoxyModelCheckedChangeListener#onCheckedChanged(). +// kind Variable // ^^^^^^^^^^^ reference local 3 // ^^^^^^^^^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/EpoxyViewHolder#getAdapterPosition# if (adapterPosition != RecyclerView.NO_POSITION) { @@ -119,11 +143,15 @@ public void onCheckedChanged(CompoundButton button, boolean isChecked) { // ^^^^^^^^ reference semanticdb maven jdk 11 java/lang/Override# public boolean equals(Object o) { // ^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/WrappedEpoxyModelCheckedChangeListener#equals(). -// documentation ```java\n@Override\npublic boolean equals(Object o)\n``` +// display_name equals +// signature_documentation java @Override\npublic boolean equals(Object o) +// kind Method // relationship is_reference is_implementation semanticdb maven jdk 11 java/lang/Object#equals(). // ^^^^^^ reference semanticdb maven jdk 11 java/lang/Object# // ^ definition local 5 -// documentation ```java\nObject o\n``` +// display_name o +// signature_documentation java Object o +// enclosing_symbol semanticdb maven . . com/airbnb/epoxy/WrappedEpoxyModelCheckedChangeListener#equals(). if (this == o) { // ^ reference local 5 return true; @@ -138,7 +166,10 @@ public boolean equals(Object o) { // ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/WrappedEpoxyModelCheckedChangeListener# that = (WrappedEpoxyModelCheckedChangeListener) o; // ^^^^ definition local 6 -// documentation ```java\nWrappedEpoxyModelCheckedChangeListener that\n``` +// display_name that +// signature_documentation java WrappedEpoxyModelCheckedChangeListener that +// enclosing_symbol semanticdb maven . . com/airbnb/epoxy/WrappedEpoxyModelCheckedChangeListener#equals(). +// kind Variable // ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/WrappedEpoxyModelCheckedChangeListener# // ^ reference local 5 @@ -153,7 +184,9 @@ public boolean equals(Object o) { // ^^^^^^^^ reference semanticdb maven jdk 11 java/lang/Override# public int hashCode() { // ^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/WrappedEpoxyModelCheckedChangeListener#hashCode(). -// documentation ```java\n@Override\npublic int hashCode()\n``` +// display_name hashCode +// signature_documentation java @Override\npublic int hashCode() +// kind Method // relationship is_reference is_implementation semanticdb maven jdk 11 java/lang/Object#hashCode(). return originalCheckedChangeListener.hashCode(); // ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/WrappedEpoxyModelCheckedChangeListener#originalCheckedChangeListener. diff --git a/tests/snapshots/src/main/generated/com/airbnb/epoxy/WrappedEpoxyModelClickListener.kt b/tests/snapshots/src/main/generated/com/airbnb/epoxy/WrappedEpoxyModelClickListener.kt index 332fc8582..6002ebf5d 100644 --- a/tests/snapshots/src/main/generated/com/airbnb/epoxy/WrappedEpoxyModelClickListener.kt +++ b/tests/snapshots/src/main/generated/com/airbnb/epoxy/WrappedEpoxyModelClickListener.kt @@ -16,32 +16,41 @@ import androidx.recyclerview.widget.RecyclerView */ class WrappedEpoxyModelClickListener, V> : OnClickListener, OnLongClickListener { // ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/WrappedEpoxyModelClickListener# +// display_name WrappedEpoxyModelClickListener // documentation ```kt\npublic final class WrappedEpoxyModelClickListener\n```\n\n----\n\n\n Used in the generated models to transform normal view click listeners to model click\n listeners.\n // ^ definition semanticdb maven . . com/airbnb/epoxy/WrappedEpoxyModelClickListener#[T] +// display_name T // documentation ```kt\n\n``` // ^ definition semanticdb maven . . com/airbnb/epoxy/WrappedEpoxyModelClickListener#[V] +// display_name V // documentation ```kt\n\n``` // Save the original click listener to call back to when clicked. // This also lets us call back to the original hashCode and equals methods private val originalClickListener: OnModelClickListener? // ^^^^^^^^^^^^^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/WrappedEpoxyModelClickListener#getOriginalClickListener(). +// display_name originalClickListener // documentation ```kt\nprivate final val originalClickListener: [Error type: Unresolved type for OnModelClickListener]?\n``` // ^^^^^^^^^^^^^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/WrappedEpoxyModelClickListener#originalClickListener. +// display_name originalClickListener // documentation ```kt\nprivate final val originalClickListener: [Error type: Unresolved type for OnModelClickListener]?\n``` // ^ reference semanticdb maven . . com/airbnb/epoxy/WrappedEpoxyModelClickListener#[T] // ^ reference semanticdb maven . . com/airbnb/epoxy/WrappedEpoxyModelClickListener#[V] private val originalLongClickListener: OnModelLongClickListener? // ^^^^^^^^^^^^^^^^^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/WrappedEpoxyModelClickListener#getOriginalLongClickListener(). +// display_name originalLongClickListener // documentation ```kt\nprivate final val originalLongClickListener: [Error type: Unresolved type for OnModelLongClickListener]?\n``` // ^^^^^^^^^^^^^^^^^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/WrappedEpoxyModelClickListener#originalLongClickListener. +// display_name originalLongClickListener // documentation ```kt\nprivate final val originalLongClickListener: [Error type: Unresolved type for OnModelLongClickListener]?\n``` // ^ reference semanticdb maven . . com/airbnb/epoxy/WrappedEpoxyModelClickListener#[T] // ^ reference semanticdb maven . . com/airbnb/epoxy/WrappedEpoxyModelClickListener#[V] constructor(clickListener: OnModelClickListener?) { // ^^^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/WrappedEpoxyModelClickListener#``(). +// display_name WrappedEpoxyModelClickListener // documentation ```kt\npublic constructor WrappedEpoxyModelClickListener(clickListener: [Error type: Unresolved type for OnModelClickListener]?)\n``` // ^^^^^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/WrappedEpoxyModelClickListener#``().(clickListener) +// display_name clickListener // documentation ```kt\nvalue-parameter clickListener: [Error type: Unresolved type for OnModelClickListener]?\n``` // ^ reference semanticdb maven . . com/airbnb/epoxy/WrappedEpoxyModelClickListener#[T] // ^ reference semanticdb maven . . com/airbnb/epoxy/WrappedEpoxyModelClickListener#[V] @@ -63,8 +72,10 @@ class WrappedEpoxyModelClickListener, V> : OnClickListener, On constructor(clickListener: OnModelLongClickListener?) { // ^^^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/WrappedEpoxyModelClickListener#``(+1). +// display_name WrappedEpoxyModelClickListener // documentation ```kt\npublic constructor WrappedEpoxyModelClickListener(clickListener: [Error type: Unresolved type for OnModelLongClickListener]?)\n``` // ^^^^^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/WrappedEpoxyModelClickListener#``(+1).(clickListener) +// display_name clickListener // documentation ```kt\nvalue-parameter clickListener: [Error type: Unresolved type for OnModelLongClickListener]?\n``` // ^ reference semanticdb maven . . com/airbnb/epoxy/WrappedEpoxyModelClickListener#[T] // ^ reference semanticdb maven . . com/airbnb/epoxy/WrappedEpoxyModelClickListener#[V] @@ -86,11 +97,14 @@ class WrappedEpoxyModelClickListener, V> : OnClickListener, On override fun onClick(view: View) { // ^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/WrappedEpoxyModelClickListener#onClick(). +// display_name onClick // documentation ```kt\npublic open fun onClick(view: [Error type: Unresolved type for View])\n``` // ^^^^ definition semanticdb maven . . com/airbnb/epoxy/WrappedEpoxyModelClickListener#onClick().(view) +// display_name view // documentation ```kt\nvalue-parameter view: [Error type: Unresolved type for View]\n``` val modelInfo = getClickedModelInfo(view) ?: return // ^^^^^^^^^ definition local 0 +// display_name modelInfo // documentation ```kt\nval modelInfo: com.airbnb.epoxy.WrappedEpoxyModelClickListener.ClickedModelInfo\n``` // ^^^^^^^^^^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/WrappedEpoxyModelClickListener#getClickedModelInfo(). // ^^^^ reference semanticdb maven . . com/airbnb/epoxy/WrappedEpoxyModelClickListener#onClick().(view) @@ -122,12 +136,15 @@ class WrappedEpoxyModelClickListener, V> : OnClickListener, On override fun onLongClick(view: View): Boolean { // ^^^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/WrappedEpoxyModelClickListener#onLongClick(). +// display_name onLongClick // documentation ```kt\npublic open fun onLongClick(view: [Error type: Unresolved type for View]): kotlin.Boolean\n``` // ^^^^ definition semanticdb maven . . com/airbnb/epoxy/WrappedEpoxyModelClickListener#onLongClick().(view) +// display_name view // documentation ```kt\nvalue-parameter view: [Error type: Unresolved type for View]\n``` // ^^^^^^^ reference semanticdb maven . . kotlin/Boolean# val modelInfo = getClickedModelInfo(view) ?: return false // ^^^^^^^^^ definition local 1 +// display_name modelInfo // documentation ```kt\nval modelInfo: com.airbnb.epoxy.WrappedEpoxyModelClickListener.ClickedModelInfo\n``` // ^^^^^^^^^^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/WrappedEpoxyModelClickListener#getClickedModelInfo(). // ^^^^ reference semanticdb maven . . com/airbnb/epoxy/WrappedEpoxyModelClickListener#onLongClick().(view) @@ -159,12 +176,15 @@ class WrappedEpoxyModelClickListener, V> : OnClickListener, On private fun getClickedModelInfo(view: View): ClickedModelInfo? { // ^^^^^^^^^^^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/WrappedEpoxyModelClickListener#getClickedModelInfo(). +// display_name getClickedModelInfo // documentation ```kt\nprivate final fun getClickedModelInfo(view: [Error type: Unresolved type for View]): com.airbnb.epoxy.WrappedEpoxyModelClickListener.ClickedModelInfo?\n``` // ^^^^ definition semanticdb maven . . com/airbnb/epoxy/WrappedEpoxyModelClickListener#getClickedModelInfo().(view) +// display_name view // documentation ```kt\nvalue-parameter view: [Error type: Unresolved type for View]\n``` // ^^^^^^^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/WrappedEpoxyModelClickListener#ClickedModelInfo# val epoxyHolder = ListenersUtils.getEpoxyHolderForChildView(view) // ^^^^^^^^^^^ definition local 2 +// display_name epoxyHolder // documentation ```kt\nval epoxyHolder: kotlin.Nothing\n``` // ^^^^ reference semanticdb maven . . com/airbnb/epoxy/WrappedEpoxyModelClickListener#getClickedModelInfo().(view) ?: error("Could not find RecyclerView holder for clicked view") @@ -172,6 +192,7 @@ class WrappedEpoxyModelClickListener, V> : OnClickListener, On val adapterPosition = epoxyHolder.adapterPosition // ^^^^^^^^^^^^^^^ definition local 3 +// display_name adapterPosition // documentation ```kt\nval adapterPosition: [Error type: Not found recorded type for epoxyHolder.adapterPosition]\n``` // ^^^^^^^^^^^ reference local 2 if (adapterPosition == RecyclerView.NO_POSITION) return null @@ -179,11 +200,13 @@ class WrappedEpoxyModelClickListener, V> : OnClickListener, On val boundObject = epoxyHolder.objectToBind() // ^^^^^^^^^^^ definition local 4 +// display_name boundObject // documentation ```kt\nval boundObject: [Error type: Not found recorded type for epoxyHolder.objectToBind()]\n``` // ^^^^^^^^^^^ reference local 2 val holderToUse = if (boundObject is ModelGroupHolder) { // ^^^^^^^^^^^ definition local 5 +// display_name holderToUse // documentation ```kt\nval holderToUse: kotlin.Nothing\n``` // ^^^^^^^^^^^ reference local 4 // ^^^^^^^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/ModelGroupHolder# @@ -218,30 +241,41 @@ class WrappedEpoxyModelClickListener, V> : OnClickListener, On private class ClickedModelInfo( // ^^^^^^^^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/WrappedEpoxyModelClickListener#ClickedModelInfo# +// display_name ClickedModelInfo // documentation ```kt\nprivate final class ClickedModelInfo\n``` // ^^^^^^^^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/WrappedEpoxyModelClickListener#ClickedModelInfo#``(). +// display_name ClickedModelInfo // documentation ```kt\npublic constructor ClickedModelInfo(model: [Error type: Unresolved type for EpoxyModel<*>], adapterPosition: kotlin.Int, boundObject: kotlin.Any)\n``` val model: EpoxyModel<*>, // ^^^^^ definition semanticdb maven . . com/airbnb/epoxy/WrappedEpoxyModelClickListener#ClickedModelInfo#``().(model) +// display_name model // documentation ```kt\nvalue-parameter model: [Error type: Unresolved type for EpoxyModel<*>]\n``` // ^^^^^ definition semanticdb maven . . com/airbnb/epoxy/WrappedEpoxyModelClickListener#ClickedModelInfo#getModel(). +// display_name model // documentation ```kt\npublic final val model: [Error type: Unresolved type for EpoxyModel<*>]\n``` // ^^^^^ definition semanticdb maven . . com/airbnb/epoxy/WrappedEpoxyModelClickListener#ClickedModelInfo#model. +// display_name model // documentation ```kt\npublic final val model: [Error type: Unresolved type for EpoxyModel<*>]\n``` val adapterPosition: Int, // ^^^^^^^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/WrappedEpoxyModelClickListener#ClickedModelInfo#``().(adapterPosition) +// display_name adapterPosition // documentation ```kt\nvalue-parameter adapterPosition: kotlin.Int\n``` // ^^^^^^^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/WrappedEpoxyModelClickListener#ClickedModelInfo#adapterPosition. +// display_name adapterPosition // documentation ```kt\npublic final val adapterPosition: kotlin.Int\n``` // ^^^^^^^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/WrappedEpoxyModelClickListener#ClickedModelInfo#getAdapterPosition(). +// display_name adapterPosition // documentation ```kt\npublic final val adapterPosition: kotlin.Int\n``` // ^^^ reference semanticdb maven . . kotlin/Int# val boundObject: Any // ^^^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/WrappedEpoxyModelClickListener#ClickedModelInfo#``().(boundObject) +// display_name boundObject // documentation ```kt\nvalue-parameter boundObject: kotlin.Any\n``` // ^^^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/WrappedEpoxyModelClickListener#ClickedModelInfo#boundObject. +// display_name boundObject // documentation ```kt\npublic final val boundObject: kotlin.Any\n``` // ^^^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/WrappedEpoxyModelClickListener#ClickedModelInfo#getBoundObject(). +// display_name boundObject // documentation ```kt\npublic final val boundObject: kotlin.Any\n``` // ^^^ reference semanticdb maven . . kotlin/Any# ) @@ -251,10 +285,12 @@ class WrappedEpoxyModelClickListener, V> : OnClickListener, On */ private val View.allViewsInHierarchy: Sequence // ^^^^^^^^^^^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/WrappedEpoxyModelClickListener#allViewsInHierarchy. +// display_name allViewsInHierarchy // documentation ```kt\nprivate final val [Error type: Unresolved type for View].allViewsInHierarchy: kotlin.sequences.Sequence<[Error type: Unresolved type for View]>\n```\n\n----\n\n\n Returns a sequence of this View plus any and all children, recursively.\n // ^^^^^^^^ reference semanticdb maven maven/org.jetbrains.kotlin/kotlin-stdlib 1.4.20-RC kotlin/sequences/Sequence# get() { // ^^^ definition semanticdb maven . . com/airbnb/epoxy/WrappedEpoxyModelClickListener#getAllViewsInHierarchy(). +// display_name get // documentation ```kt\nprivate final fun [Error type: Unresolved type for View].``(): kotlin.sequences.Sequence<[Error type: Unresolved type for View]>\n``` return if (this is ViewGroup) { // ^^^^ reference semanticdb maven . . com/airbnb/epoxy/WrappedEpoxyModelClickListener#allViewsInHierarchy. @@ -271,14 +307,17 @@ class WrappedEpoxyModelClickListener, V> : OnClickListener, On /** Returns a [Sequence] over the child views in this view group. */ internal val ViewGroup.children: Sequence // ^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/WrappedEpoxyModelClickListener#children. +// display_name children // documentation ```kt\ninternal final val [Error type: Unresolved type for ViewGroup].children: kotlin.sequences.Sequence<[Error type: Unresolved type for View]>\n```\n\n----\n\n Returns a [Sequence] over the child views in this view group. // ^^^^^^^^ reference semanticdb maven maven/org.jetbrains.kotlin/kotlin-stdlib 1.4.20-RC kotlin/sequences/Sequence# get() = object : Sequence { // ^^^ definition semanticdb maven . . com/airbnb/epoxy/WrappedEpoxyModelClickListener#getChildren(). +// display_name get // documentation ```kt\ninternal final fun [Error type: Unresolved type for ViewGroup].``(): kotlin.sequences.Sequence<[Error type: Unresolved type for View]>\n``` // ^^^^^^^^ reference semanticdb maven maven/org.jetbrains.kotlin/kotlin-stdlib 1.4.20-RC kotlin/sequences/Sequence# override fun iterator() = this@children.iterator() // ^^^^^^^^ definition local 6 +// display_name iterator // documentation ```kt\npublic open fun iterator(): [Error type: Return type for function cannot be resolved]\n``` // relationship is_reference is_implementation semanticdb maven maven/org.jetbrains.kotlin/kotlin-stdlib 1.4.20-RC kotlin/sequences/Sequence#iterator(). // ^^^^ reference semanticdb maven . . com/airbnb/epoxy/WrappedEpoxyModelClickListener#children. @@ -287,17 +326,22 @@ class WrappedEpoxyModelClickListener, V> : OnClickListener, On /** Returns a [MutableIterator] over the views in this view group. */ internal operator fun ViewGroup.iterator() = object : MutableIterator { // ^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/WrappedEpoxyModelClickListener#iterator(). +// display_name iterator // documentation ```kt\ninternal final operator fun [Error type: Unresolved type for ViewGroup].iterator(): kotlin.collections.MutableIterator<[Error type: Unresolved type for View]>\n```\n\n----\n\n Returns a [MutableIterator] over the views in this view group. // ^^^^^^^^^^^^^^^ reference semanticdb maven . . kotlin/collections/MutableIterator# private var index = 0 // ^^^^^ definition local 7 +// display_name index // documentation ```kt\nprivate final var index: kotlin.Int\n``` // ^^^^^ definition local 8 +// display_name index // documentation ```kt\nprivate final var index: kotlin.Int\n``` // ^^^^^ definition local 9 +// display_name index // documentation ```kt\nprivate final var index: kotlin.Int\n``` override fun hasNext() = index < childCount // ^^^^^^^ definition local 10 +// display_name hasNext // documentation ```kt\npublic open fun hasNext(): [Error type: Return type for function cannot be resolved]\n``` // relationship is_reference is_implementation semanticdb maven . . kotlin/collections/Iterator#hasNext(). // relationship is_reference is_implementation semanticdb maven . . kotlin/collections/MutableIterator#hasNext(). @@ -306,6 +350,7 @@ class WrappedEpoxyModelClickListener, V> : OnClickListener, On // ^^^^^ reference local 9 override fun next() = getChildAt(index++) ?: throw IndexOutOfBoundsException() // ^^^^ definition local 11 +// display_name next // documentation ```kt\npublic open fun next(): kotlin.Nothing\n``` // relationship is_reference is_implementation semanticdb maven . . kotlin/collections/Iterator#next(). // relationship is_reference is_implementation semanticdb maven . . kotlin/collections/MutableIterator#next(). @@ -315,6 +360,7 @@ class WrappedEpoxyModelClickListener, V> : OnClickListener, On // ^^ reference semanticdb maven . . kotlin/Int#inc(). override fun remove() = removeViewAt(--index) // ^^^^^^ definition local 12 +// display_name remove // documentation ```kt\npublic open fun remove(): [Error type: Return type for function cannot be resolved]\n``` // relationship is_reference is_implementation semanticdb maven . . kotlin/collections/MutableIterator#remove(). // ^^ reference semanticdb maven . . kotlin/Int#dec(). @@ -325,9 +371,11 @@ class WrappedEpoxyModelClickListener, V> : OnClickListener, On override fun equals(other: Any?): Boolean { // ^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/WrappedEpoxyModelClickListener#equals(). +// display_name equals // documentation ```kt\npublic open fun equals(other: kotlin.Any?): kotlin.Boolean\n``` // relationship is_reference is_implementation semanticdb maven . . kotlin/Any#equals(). // ^^^^^ definition semanticdb maven . . com/airbnb/epoxy/WrappedEpoxyModelClickListener#equals().(other) +// display_name other // documentation ```kt\nvalue-parameter other: kotlin.Any?\n``` // ^^^ reference semanticdb maven . . kotlin/Any# // ^^^^^^^ reference semanticdb maven . . kotlin/Boolean# @@ -380,11 +428,13 @@ class WrappedEpoxyModelClickListener, V> : OnClickListener, On override fun hashCode(): Int { // ^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/WrappedEpoxyModelClickListener#hashCode(). +// display_name hashCode // documentation ```kt\npublic open fun hashCode(): kotlin.Int\n``` // relationship is_reference is_implementation semanticdb maven . . kotlin/Any#hashCode(). // ^^^ reference semanticdb maven . . kotlin/Int# var result = originalClickListener?.hashCode() ?: 0 // ^^^^^^ definition local 13 +// display_name result // documentation ```kt\nvar result: kotlin.Int\n``` // ^^^^^^^^^^^^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/WrappedEpoxyModelClickListener#getOriginalClickListener(). // ^^^^^^^^^^^^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/WrappedEpoxyModelClickListener#originalClickListener. diff --git a/tests/snapshots/src/main/generated/com/airbnb/epoxy/preload/EpoxyModelPreloader.kt b/tests/snapshots/src/main/generated/com/airbnb/epoxy/preload/EpoxyModelPreloader.kt index e9f24d70f..072e3e11c 100644 --- a/tests/snapshots/src/main/generated/com/airbnb/epoxy/preload/EpoxyModelPreloader.kt +++ b/tests/snapshots/src/main/generated/com/airbnb/epoxy/preload/EpoxyModelPreloader.kt @@ -19,24 +19,32 @@ import com.airbnb.epoxy.EpoxyModel */ abstract class EpoxyModelPreloader, U : ViewMetadata?, P : PreloadRequestHolder>( // ^^^^^^^^^^^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/preload/EpoxyModelPreloader# +// display_name EpoxyModelPreloader // documentation ```kt\npublic abstract class EpoxyModelPreloader\n```\n\n----\n\n\n Describes how view content for an EpoxyModel should be preloaded.\n\n @param T The type of EpoxyModel that this preloader applies to\n @param U The type of view metadata to provide to the request builder.\n @param P The type of [PreloadRequestHolder] that will execute the preload request\n // ^^^^^^^^^^^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/preload/EpoxyModelPreloader#``(). +// display_name EpoxyModelPreloader // documentation ```kt\npublic constructor EpoxyModelPreloader(modelType: java.lang.Class, preloadableViewIds: kotlin.collections.List)\n``` // ^ definition semanticdb maven . . com/airbnb/epoxy/preload/EpoxyModelPreloader#[T] +// display_name T // documentation ```kt\n\n``` // ^ definition semanticdb maven . . com/airbnb/epoxy/preload/EpoxyModelPreloader#[U] +// display_name U // documentation ```kt\n\n``` // ^^^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/preload/ViewMetadata# // ^ definition semanticdb maven . . com/airbnb/epoxy/preload/EpoxyModelPreloader#[P] +// display_name P // documentation ```kt\n

\n``` // ^^^^^^^^^^^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/preload/PreloadRequestHolder# val modelType: Class, // ^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/preload/EpoxyModelPreloader#``().(modelType) +// display_name modelType // documentation ```kt\nvalue-parameter modelType: java.lang.Class\n``` // ^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/preload/EpoxyModelPreloader#getModelType(). +// display_name modelType // documentation ```kt\npublic final val modelType: java.lang.Class\n``` // ^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/preload/EpoxyModelPreloader#modelType. +// display_name modelType // documentation ```kt\npublic final val modelType: java.lang.Class\n``` // ^^^^^ reference semanticdb maven jdk 11 java/lang/Class# // ^ reference semanticdb maven . . com/airbnb/epoxy/preload/EpoxyModelPreloader#[T] @@ -47,10 +55,13 @@ abstract class EpoxyModelPreloader, U : ViewMetadata?, P : Pre */ val preloadableViewIds: List // ^^^^^^^^^^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/preload/EpoxyModelPreloader#``().(preloadableViewIds) +// display_name preloadableViewIds // documentation ```kt\nvalue-parameter preloadableViewIds: kotlin.collections.List\n```\n\n----\n\n\n A list of view ids, one for each view that should be preloaded.\n This should be left empty if the EpoxyModel's type uses the [Preloadable] interface.\n // ^^^^^^^^^^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/preload/EpoxyModelPreloader#getPreloadableViewIds(). +// display_name preloadableViewIds // documentation ```kt\npublic final val preloadableViewIds: kotlin.collections.List\n```\n\n----\n\n\n A list of view ids, one for each view that should be preloaded.\n This should be left empty if the EpoxyModel's type uses the [Preloadable] interface.\n // ^^^^^^^^^^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/preload/EpoxyModelPreloader#preloadableViewIds. +// display_name preloadableViewIds // documentation ```kt\npublic final val preloadableViewIds: kotlin.collections.List\n```\n\n----\n\n\n A list of view ids, one for each view that should be preloaded.\n This should be left empty if the EpoxyModel's type uses the [Preloadable] interface.\n // ^^^^ reference semanticdb maven . . kotlin/collections/List# // ^^^ reference semanticdb maven . . kotlin/Int# @@ -68,8 +79,10 @@ abstract class EpoxyModelPreloader, U : ViewMetadata?, P : Pre */ open fun viewSignature(epoxyModel: T): Any? = null // ^^^^^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/preload/EpoxyModelPreloader#viewSignature(). +// display_name viewSignature // documentation ```kt\npublic open fun viewSignature(epoxyModel: T): kotlin.Any?\n```\n\n----\n\n\n An optional signature to differentiate views within the same model. This is useful if your EpoxyModel can contain varying amounts of preloadable views,\n or preloadable views of varying sizes.\n\n By default the model's class, span size, and layout resource, are used to differentiate views. This signature allows additional differentiation.\n For example, if your EpoxyModel shows an preloadable view that varies between portrait or landscape, this orientation will affect the view dimensions.\n In this case you could return a boolean here to differentiate the two cases so that the preloaded data has the correct orientation.\n\n The returned object can be anything, but it must implement [Object.hashCode]\n // ^^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/preload/EpoxyModelPreloader#viewSignature().(epoxyModel) +// display_name epoxyModel // documentation ```kt\nvalue-parameter epoxyModel: T\n``` // ^ reference semanticdb maven . . com/airbnb/epoxy/preload/EpoxyModelPreloader#[T] // ^^^ reference semanticdb maven . . kotlin/Any# @@ -83,8 +96,10 @@ abstract class EpoxyModelPreloader, U : ViewMetadata?, P : Pre */ abstract fun buildViewMetadata(view: View): U // ^^^^^^^^^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/preload/EpoxyModelPreloader#buildViewMetadata(). +// display_name buildViewMetadata // documentation ```kt\npublic abstract fun buildViewMetadata(view: [Error type: Unresolved type for View]): U\n```\n\n----\n\n\n Provide optional metadata about a view. This can be used in [EpoxyModelPreloader.buildRequest]\n\n A preload request works best if it exactly matches the actual request (in order to match cache keys exactly)\n Things such as request transformations, thumbnails, or crop type can affect the cache key.\n If your preloadable view is configurable you can capture those options via this metadata.\n // ^^^^ definition semanticdb maven . . com/airbnb/epoxy/preload/EpoxyModelPreloader#buildViewMetadata().(view) +// display_name view // documentation ```kt\nvalue-parameter view: [Error type: Unresolved type for View]\n``` // ^ reference semanticdb maven . . com/airbnb/epoxy/preload/EpoxyModelPreloader#[U] @@ -97,17 +112,21 @@ abstract class EpoxyModelPreloader, U : ViewMetadata?, P : Pre */ abstract fun startPreload( // ^^^^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/preload/EpoxyModelPreloader#startPreload(). +// display_name startPreload // documentation ```kt\npublic abstract fun startPreload(epoxyModel: T, preloadTarget: P, viewData: com.airbnb.epoxy.preload.ViewData)\n```\n\n----\n\n\n Start a preload request with the given target.\n\n @param epoxyModel The EpoxyModel whose content is being preloaded.\n @param preloadTarget The target to ues to create and store the request.\n @param viewData Information about the view that will hold the preloaded content.\n epoxyModel: T, // ^^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/preload/EpoxyModelPreloader#startPreload().(epoxyModel) +// display_name epoxyModel // documentation ```kt\nvalue-parameter epoxyModel: T\n``` // ^ reference semanticdb maven . . com/airbnb/epoxy/preload/EpoxyModelPreloader#[T] preloadTarget: P, // ^^^^^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/preload/EpoxyModelPreloader#startPreload().(preloadTarget) +// display_name preloadTarget // documentation ```kt\nvalue-parameter preloadTarget: P\n``` // ^ reference semanticdb maven . . com/airbnb/epoxy/preload/EpoxyModelPreloader#[P] viewData: ViewData // ^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/preload/EpoxyModelPreloader#startPreload().(viewData) +// display_name viewData // documentation ```kt\nvalue-parameter viewData: com.airbnb.epoxy.preload.ViewData\n``` // ^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/preload/ViewData# // ^ reference semanticdb maven . . com/airbnb/epoxy/preload/EpoxyModelPreloader#[U] @@ -115,6 +134,7 @@ abstract class EpoxyModelPreloader, U : ViewMetadata?, P : Pre companion object { // ^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/preload/EpoxyModelPreloader#Companion# 1:0 +// display_name Companion // documentation ```kt\npublic companion object\n``` /** @@ -127,28 +147,36 @@ abstract class EpoxyModelPreloader, U : ViewMetadata?, P : Pre */ inline fun , P : PreloadRequestHolder> with( // ^ definition semanticdb maven . . com/airbnb/epoxy/preload/EpoxyModelPreloader#Companion#with().[T] +// display_name T // documentation ```kt\n\n``` // ^ definition semanticdb maven . . com/airbnb/epoxy/preload/EpoxyModelPreloader#Companion#with().[P] +// display_name P // documentation ```kt\n

\n``` // ^^^^^^^^^^^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/preload/PreloadRequestHolder# // ^^^^ definition semanticdb maven . . com/airbnb/epoxy/preload/EpoxyModelPreloader#Companion#with(). +// display_name with // documentation ```kt\npublic final inline fun with(preloadableViewIds: kotlin.collections.List = ..., noinline doPreload: (epoxyModel: T, preloadTarget: P, viewData: com.airbnb.epoxy.preload.ViewData) -> kotlin.Unit): com.airbnb.epoxy.preload.EpoxyModelPreloader\n```\n\n----\n\n\n Helper to create a [EpoxyModelPreloader].\n\n @param viewSignature see [EpoxyModelPreloader.viewSignature]\n @param preloadableViewIds see [EpoxyModelPreloader.preloadableViewIds]\n @param viewMetadata see [EpoxyModelPreloader.buildViewMetadata]\n @param doPreload see [EpoxyModelPreloader.startPreload]\n preloadableViewIds: List = emptyList(), // ^^^^^^^^^^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/preload/EpoxyModelPreloader#Companion#with().(preloadableViewIds) +// display_name preloadableViewIds // documentation ```kt\nvalue-parameter preloadableViewIds: kotlin.collections.List = ...\n``` // ^^^^ reference semanticdb maven . . kotlin/collections/List# // ^^^ reference semanticdb maven . . kotlin/Int# // ^^^^^^^^^ reference semanticdb maven maven/org.jetbrains.kotlin/kotlin-stdlib 1.4.20-RC kotlin/collections/CollectionsKt#emptyList(). noinline doPreload: (epoxyModel: T, preloadTarget: P, viewData: ViewData) -> Unit // ^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/preload/EpoxyModelPreloader#Companion#with().(doPreload) +// display_name doPreload // documentation ```kt\nvalue-parameter noinline doPreload: (epoxyModel: T, preloadTarget: P, viewData: com.airbnb.epoxy.preload.ViewData) -> kotlin.Unit\n``` // ^^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/preload/EpoxyModelPreloader#Companion#with().epoxyModel. +// display_name epoxyModel // documentation ```kt\nval epoxyModel: T\n``` // ^ reference semanticdb maven . . com/airbnb/epoxy/preload/EpoxyModelPreloader#Companion#with().[T] // ^^^^^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/preload/EpoxyModelPreloader#Companion#with().preloadTarget. +// display_name preloadTarget // documentation ```kt\nval preloadTarget: P\n``` // ^ reference semanticdb maven . . com/airbnb/epoxy/preload/EpoxyModelPreloader#Companion#with().[P] // ^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/preload/EpoxyModelPreloader#Companion#with().viewData. +// display_name viewData // documentation ```kt\nval viewData: com.airbnb.epoxy.preload.ViewData\n``` // ^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/preload/ViewData# // ^^^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/preload/ViewMetadata# @@ -184,46 +212,60 @@ abstract class EpoxyModelPreloader, U : ViewMetadata?, P : Pre */ inline fun , U : ViewMetadata?, P : PreloadRequestHolder> with( // ^ definition semanticdb maven . . com/airbnb/epoxy/preload/EpoxyModelPreloader#Companion#with(+1).[T] +// display_name T // documentation ```kt\n\n``` // ^ definition semanticdb maven . . com/airbnb/epoxy/preload/EpoxyModelPreloader#Companion#with(+1).[U] +// display_name U // documentation ```kt\n\n``` // ^^^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/preload/ViewMetadata# // ^ definition semanticdb maven . . com/airbnb/epoxy/preload/EpoxyModelPreloader#Companion#with(+1).[P] +// display_name P // documentation ```kt\n

\n``` // ^^^^^^^^^^^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/preload/PreloadRequestHolder# // ^^^^ definition semanticdb maven . . com/airbnb/epoxy/preload/EpoxyModelPreloader#Companion#with(+1). +// display_name with // documentation ```kt\npublic final inline fun with(preloadableViewIds: kotlin.collections.List = ..., noinline viewMetadata: ([Error type: Unresolved type for View]) -> U, noinline viewSignature: (T) -> kotlin.Any? = ..., noinline doPreload: (epoxyModel: T, preloadTarget: P, viewData: com.airbnb.epoxy.preload.ViewData) -> kotlin.Unit): com.airbnb.epoxy.preload.EpoxyModelPreloader\n```\n\n----\n\n\n Helper to create a [EpoxyModelPreloader].\n\n @param viewSignature see [EpoxyModelPreloader.viewSignature]\n @param preloadableViewIds see [EpoxyModelPreloader.preloadableViewIds]\n @param viewMetadata see [EpoxyModelPreloader.buildViewMetadata]\n @param doPreload see [EpoxyModelPreloader.startPreload]\n preloadableViewIds: List = emptyList(), // ^^^^^^^^^^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/preload/EpoxyModelPreloader#Companion#with(+1).(preloadableViewIds) +// display_name preloadableViewIds // documentation ```kt\nvalue-parameter preloadableViewIds: kotlin.collections.List = ...\n``` // ^^^^ reference semanticdb maven . . kotlin/collections/List# // ^^^ reference semanticdb maven . . kotlin/Int# // ^^^^^^^^^ reference semanticdb maven maven/org.jetbrains.kotlin/kotlin-stdlib 1.4.20-RC kotlin/collections/CollectionsKt#emptyList(). noinline viewMetadata: (View) -> U, // ^^^^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/preload/EpoxyModelPreloader#Companion#with(+1).(viewMetadata) +// display_name viewMetadata // documentation ```kt\nvalue-parameter noinline viewMetadata: ([Error type: Unresolved type for View]) -> U\n``` // ^^^^ definition semanticdb maven . . com/airbnb/epoxy/preload/EpoxyModelPreloader#Companion#with(+1).``. +// display_name T // documentation ```kt\nval ``: T\n``` // ^ reference semanticdb maven . . com/airbnb/epoxy/preload/EpoxyModelPreloader#Companion#with(+1).[U] noinline viewSignature: (T) -> Any? = { _ -> null }, // ^^^^^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/preload/EpoxyModelPreloader#Companion#with(+1).(viewSignature) +// display_name viewSignature // documentation ```kt\nvalue-parameter noinline viewSignature: (T) -> kotlin.Any? = ...\n``` // ^ reference semanticdb maven . . com/airbnb/epoxy/preload/EpoxyModelPreloader#Companion#with(+1).[T] // ^ definition semanticdb maven . . com/airbnb/epoxy/preload/EpoxyModelPreloader#Companion#with(+1).``. +// display_name T // documentation ```kt\nval ``: T\n``` // ^^^ reference semanticdb maven . . kotlin/Any# // ^ definition local 1 +// display_name _ // documentation ```kt\nvalue-parameter ``: T\n``` noinline doPreload: (epoxyModel: T, preloadTarget: P, viewData: ViewData) -> Unit // ^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/preload/EpoxyModelPreloader#Companion#with(+1).(doPreload) +// display_name doPreload // documentation ```kt\nvalue-parameter noinline doPreload: (epoxyModel: T, preloadTarget: P, viewData: com.airbnb.epoxy.preload.ViewData) -> kotlin.Unit\n``` // ^^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/preload/EpoxyModelPreloader#Companion#with(+1).epoxyModel. +// display_name epoxyModel // documentation ```kt\nval epoxyModel: T\n``` // ^ reference semanticdb maven . . com/airbnb/epoxy/preload/EpoxyModelPreloader#Companion#with(+1).[T] // ^^^^^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/preload/EpoxyModelPreloader#Companion#with(+1).preloadTarget. +// display_name preloadTarget // documentation ```kt\nval preloadTarget: P\n``` // ^ reference semanticdb maven . . com/airbnb/epoxy/preload/EpoxyModelPreloader#Companion#with(+1).[P] // ^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/preload/EpoxyModelPreloader#Companion#with(+1).viewData. +// display_name viewData // documentation ```kt\nval viewData: com.airbnb.epoxy.preload.ViewData\n``` // ^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/preload/ViewData# // ^ reference semanticdb maven . . com/airbnb/epoxy/preload/EpoxyModelPreloader#Companion#with(+1).[U] @@ -264,51 +306,66 @@ abstract class EpoxyModelPreloader, U : ViewMetadata?, P : Pre */ fun , U : ViewMetadata?, P : PreloadRequestHolder> with( // ^ definition semanticdb maven . . com/airbnb/epoxy/preload/EpoxyModelPreloader#Companion#with(+2).[T] +// display_name T // documentation ```kt\n\n``` // ^ definition semanticdb maven . . com/airbnb/epoxy/preload/EpoxyModelPreloader#Companion#with(+2).[U] +// display_name U // documentation ```kt\n\n``` // ^^^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/preload/ViewMetadata# // ^ definition semanticdb maven . . com/airbnb/epoxy/preload/EpoxyModelPreloader#Companion#with(+2).[P] +// display_name P // documentation ```kt\n

\n``` // ^^^^^^^^^^^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/preload/PreloadRequestHolder# // ^^^^ definition semanticdb maven . . com/airbnb/epoxy/preload/EpoxyModelPreloader#Companion#with(+2). +// display_name with // documentation ```kt\npublic final fun with(preloadableViewIds: kotlin.collections.List = ..., epoxyModelClass: java.lang.Class, viewMetadata: ([Error type: Unresolved type for View]) -> U, viewSignature: (T) -> kotlin.Any? = ..., doPreload: (epoxyModel: T, preloadTarget: P, viewData: com.airbnb.epoxy.preload.ViewData) -> kotlin.Unit): com.airbnb.epoxy.preload.EpoxyModelPreloader\n```\n\n----\n\n\n Helper to create a [EpoxyModelPreloader]. This is similar to the other helper methods but not inlined so it can be used with Java.\n\n @param epoxyModelClass The specific type of EpoxyModel that this preloader is for.\n @param viewSignature see [EpoxyModelPreloader.viewSignature]\n @param preloadableViewIds see [EpoxyModelPreloader.preloadableViewIds]\n @param viewMetadata see [EpoxyModelPreloader.buildViewMetadata]\n @param doPreload see [EpoxyModelPreloader.startPreload]\n preloadableViewIds: List = emptyList(), // ^^^^^^^^^^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/preload/EpoxyModelPreloader#Companion#with(+2).(preloadableViewIds) +// display_name preloadableViewIds // documentation ```kt\nvalue-parameter preloadableViewIds: kotlin.collections.List = ...\n``` // ^^^^ reference semanticdb maven . . kotlin/collections/List# // ^^^ reference semanticdb maven . . kotlin/Int# // ^^^^^^^^^ reference semanticdb maven maven/org.jetbrains.kotlin/kotlin-stdlib 1.4.20-RC kotlin/collections/CollectionsKt#emptyList(). epoxyModelClass: Class, // ^^^^^^^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/preload/EpoxyModelPreloader#Companion#with(+2).(epoxyModelClass) +// display_name epoxyModelClass // documentation ```kt\nvalue-parameter epoxyModelClass: java.lang.Class\n``` // ^^^^^ reference semanticdb maven jdk 11 java/lang/Class# // ^ reference semanticdb maven . . com/airbnb/epoxy/preload/EpoxyModelPreloader#Companion#with(+2).[T] viewMetadata: (View) -> U, // ^^^^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/preload/EpoxyModelPreloader#Companion#with(+2).(viewMetadata) +// display_name viewMetadata // documentation ```kt\nvalue-parameter viewMetadata: ([Error type: Unresolved type for View]) -> U\n``` // ^^^^ definition semanticdb maven . . com/airbnb/epoxy/preload/EpoxyModelPreloader#Companion#with(+2).``. +// display_name T // documentation ```kt\nval ``: T\n``` // ^ reference semanticdb maven . . com/airbnb/epoxy/preload/EpoxyModelPreloader#Companion#with(+2).[U] viewSignature: (T) -> Any? = { _ -> null }, // ^^^^^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/preload/EpoxyModelPreloader#Companion#with(+2).(viewSignature) +// display_name viewSignature // documentation ```kt\nvalue-parameter viewSignature: (T) -> kotlin.Any? = ...\n``` // ^ reference semanticdb maven . . com/airbnb/epoxy/preload/EpoxyModelPreloader#Companion#with(+2).[T] // ^ definition semanticdb maven . . com/airbnb/epoxy/preload/EpoxyModelPreloader#Companion#with(+2).``. +// display_name T // documentation ```kt\nval ``: T\n``` // ^^^ reference semanticdb maven . . kotlin/Any# // ^ definition local 2 +// display_name _ // documentation ```kt\nvalue-parameter ``: T\n``` doPreload: (epoxyModel: T, preloadTarget: P, viewData: ViewData) -> Unit // ^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/preload/EpoxyModelPreloader#Companion#with(+2).(doPreload) +// display_name doPreload // documentation ```kt\nvalue-parameter doPreload: (epoxyModel: T, preloadTarget: P, viewData: com.airbnb.epoxy.preload.ViewData) -> kotlin.Unit\n``` // ^^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/preload/EpoxyModelPreloader#Companion#with(+2).epoxyModel. +// display_name epoxyModel // documentation ```kt\nval epoxyModel: T\n``` // ^ reference semanticdb maven . . com/airbnb/epoxy/preload/EpoxyModelPreloader#Companion#with(+2).[T] // ^^^^^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/preload/EpoxyModelPreloader#Companion#with(+2).preloadTarget. +// display_name preloadTarget // documentation ```kt\nval preloadTarget: P\n``` // ^ reference semanticdb maven . . com/airbnb/epoxy/preload/EpoxyModelPreloader#Companion#with(+2).[P] // ^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/preload/EpoxyModelPreloader#Companion#with(+2).viewData. +// display_name viewData // documentation ```kt\nval viewData: com.airbnb.epoxy.preload.ViewData\n``` // ^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/preload/ViewData# // ^ reference semanticdb maven . . com/airbnb/epoxy/preload/EpoxyModelPreloader#Companion#with(+2).[U] @@ -332,18 +389,22 @@ abstract class EpoxyModelPreloader, U : ViewMetadata?, P : Pre override fun buildViewMetadata(view: View) = viewMetadata(view) // ^^^^^^^^^^^^^^^^^ definition local 3 +// display_name buildViewMetadata // documentation ```kt\npublic open fun buildViewMetadata(view: [Error type: Unresolved type for View]): U\n``` // relationship is_reference is_implementation semanticdb maven . . com/airbnb/epoxy/preload/EpoxyModelPreloader#buildViewMetadata(). // ^^^^ definition local 4 +// display_name view // documentation ```kt\nvalue-parameter view: [Error type: Unresolved type for View]\n``` // ^^^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/preload/EpoxyModelPreloader#Companion#with(+2).(viewMetadata) // ^^^^ reference local 4 override fun viewSignature(epoxyModel: T) = viewSignature(epoxyModel) // ^^^^^^^^^^^^^ definition local 5 +// display_name viewSignature // documentation ```kt\npublic open fun viewSignature(epoxyModel: T): kotlin.Any?\n``` // relationship is_reference is_implementation semanticdb maven . . com/airbnb/epoxy/preload/EpoxyModelPreloader#viewSignature(). // ^^^^^^^^^^ definition local 6 +// display_name epoxyModel // documentation ```kt\nvalue-parameter epoxyModel: T\n``` // ^ reference semanticdb maven . . com/airbnb/epoxy/preload/EpoxyModelPreloader#Companion#with(+2).[T] // ^^^^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/preload/EpoxyModelPreloader#Companion#with(+2).(viewSignature) @@ -351,15 +412,19 @@ abstract class EpoxyModelPreloader, U : ViewMetadata?, P : Pre override fun startPreload(epoxyModel: T, preloadTarget: P, viewData: ViewData) { // ^^^^^^^^^^^^ definition local 7 +// display_name startPreload // documentation ```kt\npublic open fun startPreload(epoxyModel: T, preloadTarget: P, viewData: com.airbnb.epoxy.preload.ViewData)\n``` // relationship is_reference is_implementation semanticdb maven . . com/airbnb/epoxy/preload/EpoxyModelPreloader#startPreload(). // ^^^^^^^^^^ definition local 8 +// display_name epoxyModel // documentation ```kt\nvalue-parameter epoxyModel: T\n``` // ^ reference semanticdb maven . . com/airbnb/epoxy/preload/EpoxyModelPreloader#Companion#with(+2).[T] // ^^^^^^^^^^^^^ definition local 9 +// display_name preloadTarget // documentation ```kt\nvalue-parameter preloadTarget: P\n``` // ^ reference semanticdb maven . . com/airbnb/epoxy/preload/EpoxyModelPreloader#Companion#with(+2).[P] // ^^^^^^^^ definition local 10 +// display_name viewData // documentation ```kt\nvalue-parameter viewData: com.airbnb.epoxy.preload.ViewData\n``` // ^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/preload/ViewData# // ^ reference semanticdb maven . . com/airbnb/epoxy/preload/EpoxyModelPreloader#Companion#with(+2).[U] diff --git a/tests/snapshots/src/main/generated/com/airbnb/epoxy/preload/EpoxyPreloader.kt b/tests/snapshots/src/main/generated/com/airbnb/epoxy/preload/EpoxyPreloader.kt index 60f2287f7..5c8044c4f 100644 --- a/tests/snapshots/src/main/generated/com/airbnb/epoxy/preload/EpoxyPreloader.kt +++ b/tests/snapshots/src/main/generated/com/airbnb/epoxy/preload/EpoxyPreloader.kt @@ -61,37 +61,49 @@ import kotlin.math.min */ class EpoxyPreloader

private constructor( // ^^^^^^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/preload/EpoxyPreloader# +// display_name EpoxyPreloader // documentation ```kt\npublic final class EpoxyPreloader

\n```\n\n----\n\n\n A scroll listener that prefetches view content.\n\n To use this, create implementations of [EpoxyModelPreloader] for each EpoxyModel class that you want to preload.\n Then, use the [EpoxyPreloader.with] methods to create an instance that preloads models of that type.\n Finally, add the resulting scroll listener to your RecyclerView.\n\n If you are using [com.airbnb.epoxy.EpoxyRecyclerView] then use [com.airbnb.epoxy.EpoxyRecyclerView.addPreloader]\n to setup the preloader as a listener.\n\n Otherwise there is a [RecyclerView.addEpoxyPreloader] extension for easy usage.\n // ^ definition semanticdb maven . . com/airbnb/epoxy/preload/EpoxyPreloader#[P] +// display_name P // documentation ```kt\n

\n``` // ^^^^^^^^^^^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/preload/PreloadRequestHolder# // ^^^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/preload/EpoxyPreloader#``(). +// display_name EpoxyPreloader // documentation ```kt\nprivate constructor EpoxyPreloader

(adapter: [Error type: Unresolved type for BaseEpoxyAdapter], preloadTargetFactory: () -> P, errorHandler: com.airbnb.epoxy.preload.PreloadErrorHandler /* = ([Error type: Unresolved type for Context], kotlin.RuntimeException /* = java.lang.RuntimeException */) -> kotlin.Unit */, maxItemsToPreload: kotlin.Int, modelPreloaders: kotlin.collections.List>)\n``` private val adapter: BaseEpoxyAdapter, // ^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/preload/EpoxyPreloader#``().(adapter) +// display_name adapter // documentation ```kt\nvalue-parameter adapter: [Error type: Unresolved type for BaseEpoxyAdapter]\n``` // ^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/preload/EpoxyPreloader#adapter. +// display_name adapter // documentation ```kt\nprivate final val adapter: [Error type: Unresolved type for BaseEpoxyAdapter]\n``` // ^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/preload/EpoxyPreloader#getAdapter(). +// display_name adapter // documentation ```kt\nprivate final val adapter: [Error type: Unresolved type for BaseEpoxyAdapter]\n``` preloadTargetFactory: () -> P, // ^^^^^^^^^^^^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/preload/EpoxyPreloader#``().(preloadTargetFactory) +// display_name preloadTargetFactory // documentation ```kt\nvalue-parameter preloadTargetFactory: () -> P\n``` // ^ reference semanticdb maven . . com/airbnb/epoxy/preload/EpoxyPreloader#[P] errorHandler: PreloadErrorHandler, // ^^^^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/preload/EpoxyPreloader#``().(errorHandler) +// display_name errorHandler // documentation ```kt\nvalue-parameter errorHandler: com.airbnb.epoxy.preload.PreloadErrorHandler /* = ([Error type: Unresolved type for Context], kotlin.RuntimeException /* = java.lang.RuntimeException */) -> kotlin.Unit */\n``` // ^^^^^^^^^^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/preload/PreloadErrorHandler# private val maxItemsToPreload: Int, // ^^^^^^^^^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/preload/EpoxyPreloader#``().(maxItemsToPreload) +// display_name maxItemsToPreload // documentation ```kt\nvalue-parameter maxItemsToPreload: kotlin.Int\n``` // ^^^^^^^^^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/preload/EpoxyPreloader#getMaxItemsToPreload(). +// display_name maxItemsToPreload // documentation ```kt\nprivate final val maxItemsToPreload: kotlin.Int\n``` // ^^^^^^^^^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/preload/EpoxyPreloader#maxItemsToPreload. +// display_name maxItemsToPreload // documentation ```kt\nprivate final val maxItemsToPreload: kotlin.Int\n``` // ^^^ reference semanticdb maven . . kotlin/Int# modelPreloaders: List> // ^^^^^^^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/preload/EpoxyPreloader#``().(modelPreloaders) +// display_name modelPreloaders // documentation ```kt\nvalue-parameter modelPreloaders: kotlin.collections.List>\n``` // ^^^^ reference semanticdb maven . . kotlin/collections/List# // ^^^^^^^^^^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/preload/EpoxyModelPreloader# @@ -100,10 +112,13 @@ class EpoxyPreloader

private constructor( private var lastVisibleRange: IntRange = IntRange.EMPTY // ^^^^^^^^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/preload/EpoxyPreloader#getLastVisibleRange(). +// display_name lastVisibleRange // documentation ```kt\nprivate final var lastVisibleRange: kotlin.ranges.IntRange\n``` // ^^^^^^^^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/preload/EpoxyPreloader#lastVisibleRange. +// display_name lastVisibleRange // documentation ```kt\nprivate final var lastVisibleRange: kotlin.ranges.IntRange\n``` // ^^^^^^^^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/preload/EpoxyPreloader#setLastVisibleRange(). +// display_name lastVisibleRange // documentation ```kt\nprivate final var lastVisibleRange: kotlin.ranges.IntRange\n``` // ^^^^^^^^ reference semanticdb maven maven/org.jetbrains.kotlin/kotlin-stdlib 1.4.20-RC kotlin/ranges/IntRange# // ^^^^^^^^ reference semanticdb maven maven/org.jetbrains.kotlin/kotlin-stdlib 1.4.20-RC kotlin/ranges/IntRange#Companion# @@ -111,10 +126,13 @@ class EpoxyPreloader

private constructor( // ^^^^^ reference semanticdb maven maven/org.jetbrains.kotlin/kotlin-stdlib 1.4.20-RC kotlin/ranges/IntRange#Companion#getEMPTY(). private var lastPreloadRange: IntProgression = IntRange.EMPTY // ^^^^^^^^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/preload/EpoxyPreloader#getLastPreloadRange(). +// display_name lastPreloadRange // documentation ```kt\nprivate final var lastPreloadRange: kotlin.ranges.IntProgression\n``` // ^^^^^^^^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/preload/EpoxyPreloader#lastPreloadRange. +// display_name lastPreloadRange // documentation ```kt\nprivate final var lastPreloadRange: kotlin.ranges.IntProgression\n``` // ^^^^^^^^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/preload/EpoxyPreloader#setLastPreloadRange(). +// display_name lastPreloadRange // documentation ```kt\nprivate final var lastPreloadRange: kotlin.ranges.IntProgression\n``` // ^^^^^^^^^^^^^^ reference semanticdb maven maven/org.jetbrains.kotlin/kotlin-stdlib 1.4.20-RC kotlin/ranges/IntProgression# // ^^^^^^^^ reference semanticdb maven maven/org.jetbrains.kotlin/kotlin-stdlib 1.4.20-RC kotlin/ranges/IntRange#Companion# @@ -122,25 +140,33 @@ class EpoxyPreloader

private constructor( // ^^^^^ reference semanticdb maven maven/org.jetbrains.kotlin/kotlin-stdlib 1.4.20-RC kotlin/ranges/IntRange#Companion#getEMPTY(). private var totalItemCount = -1 // ^^^^^^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/preload/EpoxyPreloader#getTotalItemCount(). +// display_name totalItemCount // documentation ```kt\nprivate final var totalItemCount: kotlin.Int\n``` // ^^^^^^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/preload/EpoxyPreloader#setTotalItemCount(). +// display_name totalItemCount // documentation ```kt\nprivate final var totalItemCount: kotlin.Int\n``` // ^^^^^^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/preload/EpoxyPreloader#totalItemCount. +// display_name totalItemCount // documentation ```kt\nprivate final var totalItemCount: kotlin.Int\n``` // ^ reference semanticdb maven . . kotlin/Int#unaryMinus(). private var scrollState: Int = RecyclerView.SCROLL_STATE_IDLE // ^^^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/preload/EpoxyPreloader#getScrollState(). +// display_name scrollState // documentation ```kt\nprivate final var scrollState: kotlin.Int\n``` // ^^^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/preload/EpoxyPreloader#scrollState. +// display_name scrollState // documentation ```kt\nprivate final var scrollState: kotlin.Int\n``` // ^^^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/preload/EpoxyPreloader#setScrollState(). +// display_name scrollState // documentation ```kt\nprivate final var scrollState: kotlin.Int\n``` // ^^^ reference semanticdb maven . . kotlin/Int# private val modelPreloaders: Map>, EpoxyModelPreloader<*, *, out P>> = // ^^^^^^^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/preload/EpoxyPreloader#getModelPreloaders(). +// display_name modelPreloaders // documentation ```kt\nprivate final val modelPreloaders: kotlin.collections.Map]>, com.airbnb.epoxy.preload.EpoxyModelPreloader<*, *, out P>>\n``` // ^^^^^^^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/preload/EpoxyPreloader#modelPreloaders. +// display_name modelPreloaders // documentation ```kt\nprivate final val modelPreloaders: kotlin.collections.Map]>, com.airbnb.epoxy.preload.EpoxyModelPreloader<*, *, out P>>\n``` // ^^^ reference semanticdb maven . . kotlin/collections/Map# // ^^^^^ reference semanticdb maven jdk 11 java/lang/Class# @@ -155,8 +181,10 @@ class EpoxyPreloader

private constructor( private val requestHolderFactory = // ^^^^^^^^^^^^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/preload/EpoxyPreloader#getRequestHolderFactory(). +// display_name requestHolderFactory // documentation ```kt\nprivate final val requestHolderFactory: com.airbnb.epoxy.preload.PreloadTargetProvider

\n``` // ^^^^^^^^^^^^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/preload/EpoxyPreloader#requestHolderFactory. +// display_name requestHolderFactory // documentation ```kt\nprivate final val requestHolderFactory: com.airbnb.epoxy.preload.PreloadTargetProvider

\n``` PreloadTargetProvider(maxItemsToPreload, preloadTargetFactory) // ^^^^^^^^^^^^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/preload/PreloadTargetProvider#``(). @@ -166,8 +194,10 @@ class EpoxyPreloader

private constructor( private val viewDataCache = PreloadableViewDataProvider(adapter, errorHandler) // ^^^^^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/preload/EpoxyPreloader#getViewDataCache(). +// display_name viewDataCache // documentation ```kt\nprivate final val viewDataCache: com.airbnb.epoxy.preload.PreloadableViewDataProvider\n``` // ^^^^^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/preload/EpoxyPreloader#viewDataCache. +// display_name viewDataCache // documentation ```kt\nprivate final val viewDataCache: com.airbnb.epoxy.preload.PreloadableViewDataProvider\n``` // ^^^^^^^^^^^^^^^^^^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/preload/PreloadableViewDataProvider#``(). // ^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/preload/EpoxyPreloader#adapter. @@ -176,24 +206,30 @@ class EpoxyPreloader

private constructor( constructor( // ^^^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/preload/EpoxyPreloader#``(+1). +// display_name EpoxyPreloader // documentation ```kt\npublic constructor EpoxyPreloader

(epoxyController: [Error type: Unresolved type for EpoxyController], requestHolderFactory: () -> P, errorHandler: com.airbnb.epoxy.preload.PreloadErrorHandler /* = ([Error type: Unresolved type for Context], kotlin.RuntimeException /* = java.lang.RuntimeException */) -> kotlin.Unit */, maxItemsToPreload: kotlin.Int, modelPreloaders: kotlin.collections.List>)\n``` epoxyController: EpoxyController, // ^^^^^^^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/preload/EpoxyPreloader#``(+1).(epoxyController) +// display_name epoxyController // documentation ```kt\nvalue-parameter epoxyController: [Error type: Unresolved type for EpoxyController]\n``` requestHolderFactory: () -> P, // ^^^^^^^^^^^^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/preload/EpoxyPreloader#``(+1).(requestHolderFactory) +// display_name requestHolderFactory // documentation ```kt\nvalue-parameter requestHolderFactory: () -> P\n``` // ^ reference semanticdb maven . . com/airbnb/epoxy/preload/EpoxyPreloader#[P] errorHandler: PreloadErrorHandler, // ^^^^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/preload/EpoxyPreloader#``(+1).(errorHandler) +// display_name errorHandler // documentation ```kt\nvalue-parameter errorHandler: com.airbnb.epoxy.preload.PreloadErrorHandler /* = ([Error type: Unresolved type for Context], kotlin.RuntimeException /* = java.lang.RuntimeException */) -> kotlin.Unit */\n``` // ^^^^^^^^^^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/preload/PreloadErrorHandler# maxItemsToPreload: Int, // ^^^^^^^^^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/preload/EpoxyPreloader#``(+1).(maxItemsToPreload) +// display_name maxItemsToPreload // documentation ```kt\nvalue-parameter maxItemsToPreload: kotlin.Int\n``` // ^^^ reference semanticdb maven . . kotlin/Int# modelPreloaders: List> // ^^^^^^^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/preload/EpoxyPreloader#``(+1).(modelPreloaders) +// display_name modelPreloaders // documentation ```kt\nvalue-parameter modelPreloaders: kotlin.collections.List>\n``` // ^^^^ reference semanticdb maven . . kotlin/collections/List# // ^^^^^^^^^^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/preload/EpoxyModelPreloader# @@ -213,24 +249,30 @@ class EpoxyPreloader

private constructor( constructor( // ^^^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/preload/EpoxyPreloader#``(+2). +// display_name EpoxyPreloader // documentation ```kt\npublic constructor EpoxyPreloader

(adapter: [Error type: Unresolved type for EpoxyAdapter], requestHolderFactory: () -> P, errorHandler: com.airbnb.epoxy.preload.PreloadErrorHandler /* = ([Error type: Unresolved type for Context], kotlin.RuntimeException /* = java.lang.RuntimeException */) -> kotlin.Unit */, maxItemsToPreload: kotlin.Int, modelPreloaders: kotlin.collections.List>)\n``` adapter: EpoxyAdapter, // ^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/preload/EpoxyPreloader#``(+2).(adapter) +// display_name adapter // documentation ```kt\nvalue-parameter adapter: [Error type: Unresolved type for EpoxyAdapter]\n``` requestHolderFactory: () -> P, // ^^^^^^^^^^^^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/preload/EpoxyPreloader#``(+2).(requestHolderFactory) +// display_name requestHolderFactory // documentation ```kt\nvalue-parameter requestHolderFactory: () -> P\n``` // ^ reference semanticdb maven . . com/airbnb/epoxy/preload/EpoxyPreloader#[P] errorHandler: PreloadErrorHandler, // ^^^^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/preload/EpoxyPreloader#``(+2).(errorHandler) +// display_name errorHandler // documentation ```kt\nvalue-parameter errorHandler: com.airbnb.epoxy.preload.PreloadErrorHandler /* = ([Error type: Unresolved type for Context], kotlin.RuntimeException /* = java.lang.RuntimeException */) -> kotlin.Unit */\n``` // ^^^^^^^^^^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/preload/PreloadErrorHandler# maxItemsToPreload: Int, // ^^^^^^^^^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/preload/EpoxyPreloader#``(+2).(maxItemsToPreload) +// display_name maxItemsToPreload // documentation ```kt\nvalue-parameter maxItemsToPreload: kotlin.Int\n``` // ^^^ reference semanticdb maven . . kotlin/Int# modelPreloaders: List> // ^^^^^^^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/preload/EpoxyPreloader#``(+2).(modelPreloaders) +// display_name modelPreloaders // documentation ```kt\nvalue-parameter modelPreloaders: kotlin.collections.List>\n``` // ^^^^ reference semanticdb maven . . kotlin/collections/List# // ^^^^^^^^^^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/preload/EpoxyModelPreloader# @@ -262,10 +304,13 @@ class EpoxyPreloader

private constructor( override fun onScrollStateChanged(recyclerView: RecyclerView, newState: Int) { // ^^^^^^^^^^^^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/preload/EpoxyPreloader#onScrollStateChanged(). +// display_name onScrollStateChanged // documentation ```kt\npublic open fun onScrollStateChanged(recyclerView: [Error type: Unresolved type for RecyclerView], newState: kotlin.Int)\n``` // ^^^^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/preload/EpoxyPreloader#onScrollStateChanged().(recyclerView) +// display_name recyclerView // documentation ```kt\nvalue-parameter recyclerView: [Error type: Unresolved type for RecyclerView]\n``` // ^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/preload/EpoxyPreloader#onScrollStateChanged().(newState) +// display_name newState // documentation ```kt\nvalue-parameter newState: kotlin.Int\n``` // ^^^ reference semanticdb maven . . kotlin/Int# scrollState = newState @@ -277,13 +322,17 @@ class EpoxyPreloader

private constructor( override fun onScrolled(recyclerView: RecyclerView, dx: Int, dy: Int) { // ^^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/preload/EpoxyPreloader#onScrolled(). +// display_name onScrolled // documentation ```kt\npublic open fun onScrolled(recyclerView: [Error type: Unresolved type for RecyclerView], dx: kotlin.Int, dy: kotlin.Int)\n``` // ^^^^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/preload/EpoxyPreloader#onScrolled().(recyclerView) +// display_name recyclerView // documentation ```kt\nvalue-parameter recyclerView: [Error type: Unresolved type for RecyclerView]\n``` // ^^ definition semanticdb maven . . com/airbnb/epoxy/preload/EpoxyPreloader#onScrolled().(dx) +// display_name dx // documentation ```kt\nvalue-parameter dx: kotlin.Int\n``` // ^^^ reference semanticdb maven . . kotlin/Int# // ^^ definition semanticdb maven . . com/airbnb/epoxy/preload/EpoxyPreloader#onScrolled().(dy) +// display_name dy // documentation ```kt\nvalue-parameter dy: kotlin.Int\n``` // ^^^ reference semanticdb maven . . kotlin/Int# if (dx == 0 && dy == 0) { @@ -317,14 +366,17 @@ class EpoxyPreloader

private constructor( val layoutManager = recyclerView.layoutManager as LinearLayoutManager // ^^^^^^^^^^^^^ definition local 1 +// display_name layoutManager // documentation ```kt\nval layoutManager: [Error type: Unresolved type for LinearLayoutManager]\n``` // ^^^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/preload/EpoxyPreloader#onScrolled().(recyclerView) val firstVisiblePosition = layoutManager.findFirstVisibleItemPosition() // ^^^^^^^^^^^^^^^^^^^^ definition local 2 +// display_name firstVisiblePosition // documentation ```kt\nval firstVisiblePosition: [Error type: Return type for function cannot be resolved]\n``` // ^^^^^^^^^^^^^ reference local 1 val lastVisiblePosition = layoutManager.findLastVisibleItemPosition() // ^^^^^^^^^^^^^^^^^^^ definition local 3 +// display_name lastVisiblePosition // documentation ```kt\nval lastVisiblePosition: [Error type: Return type for function cannot be resolved]\n``` // ^^^^^^^^^^^^^ reference local 1 @@ -350,6 +402,7 @@ class EpoxyPreloader

private constructor( val visibleRange = IntRange(firstVisiblePosition, lastVisiblePosition) // ^^^^^^^^^^^^ definition local 4 +// display_name visibleRange // documentation ```kt\nval visibleRange: kotlin.ranges.IntRange\n``` // ^^^^^^^^ reference semanticdb maven maven/org.jetbrains.kotlin/kotlin-stdlib 1.4.20-RC kotlin/ranges/IntRange#``(). // ^^^^^^^^^^^^^^^^^^^^ reference local 2 @@ -365,6 +418,7 @@ class EpoxyPreloader

private constructor( val isIncreasing = // ^^^^^^^^^^^^ definition local 5 +// display_name isIncreasing // documentation ```kt\nval isIncreasing: kotlin.Boolean\n``` visibleRange.first > lastVisibleRange.first || visibleRange.last > lastVisibleRange.last // ^^^^^^^^^^^^ reference local 4 @@ -388,6 +442,7 @@ class EpoxyPreloader

private constructor( val preloadRange = // ^^^^^^^^^^^^ definition local 6 +// display_name preloadRange // documentation ```kt\nval preloadRange: kotlin.ranges.IntProgression\n``` calculatePreloadRange(firstVisiblePosition, lastVisiblePosition, isIncreasing) // ^^^^^^^^^^^^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/preload/EpoxyPreloader#calculatePreloadRange(). @@ -427,6 +482,7 @@ class EpoxyPreloader

private constructor( private fun Int.isFling() = Math.abs(this) > FLING_THRESHOLD_PX // ^^^ reference semanticdb maven . . kotlin/Int# // ^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/preload/EpoxyPreloader#isFling(). +// display_name isFling // documentation ```kt\nprivate final fun kotlin.Int.isFling(): kotlin.Boolean\n```\n\n----\n\n\n @receiver The number of pixels scrolled.\n @return True if this distance is large enough to be considered a fast fling.\n // ^^^^ reference semanticdb maven jdk 11 java/lang/Math# // ^^^ reference semanticdb maven jdk 11 java/lang/Math#abs(). @@ -437,23 +493,28 @@ class EpoxyPreloader

private constructor( private fun calculatePreloadRange( // ^^^^^^^^^^^^^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/preload/EpoxyPreloader#calculatePreloadRange(). +// display_name calculatePreloadRange // documentation ```kt\nprivate final fun calculatePreloadRange(firstVisiblePosition: kotlin.Int, lastVisiblePosition: kotlin.Int, isIncreasing: kotlin.Boolean): kotlin.ranges.IntProgression\n``` firstVisiblePosition: Int, // ^^^^^^^^^^^^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/preload/EpoxyPreloader#calculatePreloadRange().(firstVisiblePosition) +// display_name firstVisiblePosition // documentation ```kt\nvalue-parameter firstVisiblePosition: kotlin.Int\n``` // ^^^ reference semanticdb maven . . kotlin/Int# lastVisiblePosition: Int, // ^^^^^^^^^^^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/preload/EpoxyPreloader#calculatePreloadRange().(lastVisiblePosition) +// display_name lastVisiblePosition // documentation ```kt\nvalue-parameter lastVisiblePosition: kotlin.Int\n``` // ^^^ reference semanticdb maven . . kotlin/Int# isIncreasing: Boolean // ^^^^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/preload/EpoxyPreloader#calculatePreloadRange().(isIncreasing) +// display_name isIncreasing // documentation ```kt\nvalue-parameter isIncreasing: kotlin.Boolean\n``` // ^^^^^^^ reference semanticdb maven . . kotlin/Boolean# ): IntProgression { // ^^^^^^^^^^^^^^ reference semanticdb maven maven/org.jetbrains.kotlin/kotlin-stdlib 1.4.20-RC kotlin/ranges/IntProgression# val from = if (isIncreasing) lastVisiblePosition + 1 else firstVisiblePosition - 1 // ^^^^ definition local 8 +// display_name from // documentation ```kt\nval from: kotlin.Int\n``` // ^^^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/preload/EpoxyPreloader#calculatePreloadRange().(isIncreasing) // ^^^^^^^^^^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/preload/EpoxyPreloader#calculatePreloadRange().(lastVisiblePosition) @@ -462,6 +523,7 @@ class EpoxyPreloader

private constructor( // ^ reference semanticdb maven . . kotlin/Int#minus(+3). val to = from + if (isIncreasing) maxItemsToPreload - 1 else 1 - maxItemsToPreload // ^^ definition local 9 +// display_name to // documentation ```kt\nval to: kotlin.Int\n``` // ^^^^ reference local 8 // ^ reference semanticdb maven . . kotlin/Int#plus(+3). @@ -495,6 +557,7 @@ class EpoxyPreloader

private constructor( private fun Int.isInvalid() = this == RecyclerView.NO_POSITION || this >= totalItemCount // ^^^ reference semanticdb maven . . kotlin/Int# // ^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/preload/EpoxyPreloader#isInvalid(). +// display_name isInvalid // documentation ```kt\nprivate final fun kotlin.Int.isInvalid(): kotlin.Boolean\n```\n\n----\n\n Check if an item index is valid. It may not be if the adapter is empty, or if adapter changes have been dispatched since the last layout pass. // ^^^^ reference semanticdb maven . . com/airbnb/epoxy/preload/EpoxyPreloader#isInvalid(). // ^^ reference semanticdb maven . . kotlin/Int#equals(). @@ -507,6 +570,7 @@ class EpoxyPreloader

private constructor( private fun Int.clampToAdapterRange() = min(totalItemCount - 1, max(this, 0)) // ^^^ reference semanticdb maven . . kotlin/Int# // ^^^^^^^^^^^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/preload/EpoxyPreloader#clampToAdapterRange(). +// display_name clampToAdapterRange // documentation ```kt\nprivate final fun kotlin.Int.clampToAdapterRange(): kotlin.Int\n``` // ^^^ reference semanticdb maven maven/org.jetbrains.kotlin/kotlin-stdlib 1.4.20-RC kotlin/math/MathKt#min(+2). // ^^^^^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/preload/EpoxyPreloader#getTotalItemCount(). @@ -518,14 +582,17 @@ class EpoxyPreloader

private constructor( private fun preloadAdapterPosition(position: Int) { // ^^^^^^^^^^^^^^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/preload/EpoxyPreloader#preloadAdapterPosition(). +// display_name preloadAdapterPosition // documentation ```kt\nprivate final fun preloadAdapterPosition(position: kotlin.Int)\n``` // ^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/preload/EpoxyPreloader#preloadAdapterPosition().(position) +// display_name position // documentation ```kt\nvalue-parameter position: kotlin.Int\n``` // ^^^ reference semanticdb maven . . kotlin/Int# @Suppress("UNCHECKED_CAST") // ^^^^^^^^ reference semanticdb maven maven/org.jetbrains.kotlin/kotlin-stdlib 1.4.20-RC kotlin/Suppress#``(). val epoxyModel = adapter.getModelForPositionInternal(position) as? EpoxyModel // ^^^^^^^^^^ definition local 10 +// display_name epoxyModel // documentation ```kt\nval epoxyModel: kotlin.Nothing\n``` // ^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/preload/EpoxyPreloader#adapter. // ^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/preload/EpoxyPreloader#getAdapter(). @@ -537,6 +604,7 @@ class EpoxyPreloader

private constructor( // ^^^^^^^^ reference semanticdb maven maven/org.jetbrains.kotlin/kotlin-stdlib 1.4.20-RC kotlin/Suppress#``(). val preloader = // ^^^^^^^^^ definition local 11 +// display_name preloader // documentation ```kt\nval preloader: com.airbnb.epoxy.preload.EpoxyModelPreloader<[Error type: Unresolved type for EpoxyModel<*>], com.airbnb.epoxy.preload.ViewMetadata?, P>\n``` modelPreloaders[epoxyModel::class.java] as? EpoxyModelPreloader, ViewMetadata?, P> // ^^^^^^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/preload/EpoxyPreloader#getModelPreloaders(). @@ -559,9 +627,11 @@ class EpoxyPreloader

private constructor( .forEach { viewData -> // ^^^^^^^ reference semanticdb maven maven/org.jetbrains.kotlin/kotlin-stdlib 1.4.20-RC kotlin/collections/CollectionsKt#forEach(+10). // ^^^^^^^^ definition local 12 +// display_name viewData // documentation ```kt\nvalue-parameter viewData: com.airbnb.epoxy.preload.ViewData\n``` val preloadTarget = requestHolderFactory.next() // ^^^^^^^^^^^^^ definition local 13 +// display_name preloadTarget // documentation ```kt\nval preloadTarget: P\n``` // ^^^^^^^^^^^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/preload/EpoxyPreloader#getRequestHolderFactory(). // ^^^^^^^^^^^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/preload/EpoxyPreloader#requestHolderFactory. @@ -580,6 +650,7 @@ class EpoxyPreloader

private constructor( */ fun cancelPreloadRequests() { // ^^^^^^^^^^^^^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/preload/EpoxyPreloader#cancelPreloadRequests(). +// display_name cancelPreloadRequests // documentation ```kt\npublic final fun cancelPreloadRequests()\n```\n\n----\n\n\n Cancels all current preload requests in progress.\n requestHolderFactory.clearAll() // ^^^^^^^^^^^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/preload/EpoxyPreloader#getRequestHolderFactory(). @@ -589,6 +660,7 @@ class EpoxyPreloader

private constructor( companion object { // ^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/preload/EpoxyPreloader#Companion# 1:0 +// display_name Companion // documentation ```kt\npublic companion object\n``` /** @@ -599,8 +671,10 @@ class EpoxyPreloader

private constructor( */ private const val FLING_THRESHOLD_PX = 75 // ^^^^^^^^^^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/preload/EpoxyPreloader#Companion#FLING_THRESHOLD_PX. +// display_name FLING_THRESHOLD_PX // documentation ```kt\nprivate const final val FLING_THRESHOLD_PX: kotlin.Int\n```\n\n----\n\n\n\n Represents a threshold for fast scrolling.\n This is a bit arbitrary and was determined by looking at values while flinging vs slow scrolling.\n Ideally it would be based on DP, but this is simpler.\n // ^^^^^^^^^^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/preload/EpoxyPreloader#Companion#getFLING_THRESHOLD_PX(). +// display_name FLING_THRESHOLD_PX // documentation ```kt\nprivate const final val FLING_THRESHOLD_PX: kotlin.Int\n```\n\n----\n\n\n\n Represents a threshold for fast scrolling.\n This is a bit arbitrary and was determined by looking at values while flinging vs slow scrolling.\n Ideally it would be based on DP, but this is simpler.\n /** @@ -615,27 +689,34 @@ class EpoxyPreloader

private constructor( */ fun

with( // ^ definition semanticdb maven . . com/airbnb/epoxy/preload/EpoxyPreloader#Companion#with().[P] +// display_name P // documentation ```kt\n

\n``` // ^^^^^^^^^^^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/preload/PreloadRequestHolder# // ^^^^ definition semanticdb maven . . com/airbnb/epoxy/preload/EpoxyPreloader#Companion#with(). +// display_name with // documentation ```kt\npublic final fun

with(epoxyController: [Error type: Unresolved type for EpoxyController], requestHolderFactory: () -> P, errorHandler: com.airbnb.epoxy.preload.PreloadErrorHandler /* = ([Error type: Unresolved type for Context], kotlin.RuntimeException /* = java.lang.RuntimeException */) -> kotlin.Unit */, maxItemsToPreload: kotlin.Int, modelPreloader: com.airbnb.epoxy.preload.EpoxyModelPreloader], out com.airbnb.epoxy.preload.ViewMetadata?, out P>): com.airbnb.epoxy.preload.EpoxyPreloader

\n```\n\n----\n\n\n Helper to create a preload scroll listener. Add the result to your RecyclerView.\n for different models or content types.\n\n @param maxItemsToPreload How many items to prefetch ahead of the last bound item\n @param errorHandler Called when the preloader encounters an exception. By default this throws only\n if the app is not in a debuggle model\n @param modelPreloader Describes how view content for the EpoxyModel should be preloaded\n @param requestHolderFactory Should create and return a new [PreloadRequestHolder] each time it is invoked\n epoxyController: EpoxyController, // ^^^^^^^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/preload/EpoxyPreloader#Companion#with().(epoxyController) +// display_name epoxyController // documentation ```kt\nvalue-parameter epoxyController: [Error type: Unresolved type for EpoxyController]\n``` requestHolderFactory: () -> P, // ^^^^^^^^^^^^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/preload/EpoxyPreloader#Companion#with().(requestHolderFactory) +// display_name requestHolderFactory // documentation ```kt\nvalue-parameter requestHolderFactory: () -> P\n``` // ^ reference semanticdb maven . . com/airbnb/epoxy/preload/EpoxyPreloader#Companion#with().[P] errorHandler: PreloadErrorHandler, // ^^^^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/preload/EpoxyPreloader#Companion#with().(errorHandler) +// display_name errorHandler // documentation ```kt\nvalue-parameter errorHandler: com.airbnb.epoxy.preload.PreloadErrorHandler /* = ([Error type: Unresolved type for Context], kotlin.RuntimeException /* = java.lang.RuntimeException */) -> kotlin.Unit */\n``` // ^^^^^^^^^^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/preload/PreloadErrorHandler# maxItemsToPreload: Int, // ^^^^^^^^^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/preload/EpoxyPreloader#Companion#with().(maxItemsToPreload) +// display_name maxItemsToPreload // documentation ```kt\nvalue-parameter maxItemsToPreload: kotlin.Int\n``` // ^^^ reference semanticdb maven . . kotlin/Int# modelPreloader: EpoxyModelPreloader, out ViewMetadata?, out P> // ^^^^^^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/preload/EpoxyPreloader#Companion#with().(modelPreloader) +// display_name modelPreloader // documentation ```kt\nvalue-parameter modelPreloader: com.airbnb.epoxy.preload.EpoxyModelPreloader], out com.airbnb.epoxy.preload.ViewMetadata?, out P>\n``` // ^^^^^^^^^^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/preload/EpoxyModelPreloader# // ^^^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/preload/ViewMetadata# @@ -659,27 +740,34 @@ class EpoxyPreloader

private constructor( fun

with( // ^ definition semanticdb maven . . com/airbnb/epoxy/preload/EpoxyPreloader#Companion#with(+1).[P] +// display_name P // documentation ```kt\n

\n``` // ^^^^^^^^^^^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/preload/PreloadRequestHolder# // ^^^^ definition semanticdb maven . . com/airbnb/epoxy/preload/EpoxyPreloader#Companion#with(+1). +// display_name with // documentation ```kt\npublic final fun

with(epoxyController: [Error type: Unresolved type for EpoxyController], requestHolderFactory: () -> P, errorHandler: com.airbnb.epoxy.preload.PreloadErrorHandler /* = ([Error type: Unresolved type for Context], kotlin.RuntimeException /* = java.lang.RuntimeException */) -> kotlin.Unit */, maxItemsToPreload: kotlin.Int, modelPreloaders: kotlin.collections.List], out com.airbnb.epoxy.preload.ViewMetadata?, out P>>): com.airbnb.epoxy.preload.EpoxyPreloader

\n``` epoxyController: EpoxyController, // ^^^^^^^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/preload/EpoxyPreloader#Companion#with(+1).(epoxyController) +// display_name epoxyController // documentation ```kt\nvalue-parameter epoxyController: [Error type: Unresolved type for EpoxyController]\n``` requestHolderFactory: () -> P, // ^^^^^^^^^^^^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/preload/EpoxyPreloader#Companion#with(+1).(requestHolderFactory) +// display_name requestHolderFactory // documentation ```kt\nvalue-parameter requestHolderFactory: () -> P\n``` // ^ reference semanticdb maven . . com/airbnb/epoxy/preload/EpoxyPreloader#Companion#with(+1).[P] errorHandler: PreloadErrorHandler, // ^^^^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/preload/EpoxyPreloader#Companion#with(+1).(errorHandler) +// display_name errorHandler // documentation ```kt\nvalue-parameter errorHandler: com.airbnb.epoxy.preload.PreloadErrorHandler /* = ([Error type: Unresolved type for Context], kotlin.RuntimeException /* = java.lang.RuntimeException */) -> kotlin.Unit */\n``` // ^^^^^^^^^^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/preload/PreloadErrorHandler# maxItemsToPreload: Int, // ^^^^^^^^^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/preload/EpoxyPreloader#Companion#with(+1).(maxItemsToPreload) +// display_name maxItemsToPreload // documentation ```kt\nvalue-parameter maxItemsToPreload: kotlin.Int\n``` // ^^^ reference semanticdb maven . . kotlin/Int# modelPreloaders: List, out ViewMetadata?, out P>> // ^^^^^^^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/preload/EpoxyPreloader#Companion#with(+1).(modelPreloaders) +// display_name modelPreloaders // documentation ```kt\nvalue-parameter modelPreloaders: kotlin.collections.List], out com.airbnb.epoxy.preload.ViewMetadata?, out P>>\n``` // ^^^^ reference semanticdb maven . . kotlin/collections/List# // ^^^^^^^^^^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/preload/EpoxyModelPreloader# @@ -706,27 +794,34 @@ class EpoxyPreloader

private constructor( /** Helper to create a preload scroll listener. Add the result to your RecyclerView. */ fun

with( // ^ definition semanticdb maven . . com/airbnb/epoxy/preload/EpoxyPreloader#Companion#with(+2).[P] +// display_name P // documentation ```kt\n

\n``` // ^^^^^^^^^^^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/preload/PreloadRequestHolder# // ^^^^ definition semanticdb maven . . com/airbnb/epoxy/preload/EpoxyPreloader#Companion#with(+2). +// display_name with // documentation ```kt\npublic final fun

with(epoxyAdapter: [Error type: Unresolved type for EpoxyAdapter], requestHolderFactory: () -> P, errorHandler: com.airbnb.epoxy.preload.PreloadErrorHandler /* = ([Error type: Unresolved type for Context], kotlin.RuntimeException /* = java.lang.RuntimeException */) -> kotlin.Unit */, maxItemsToPreload: kotlin.Int, modelPreloaders: kotlin.collections.List], out com.airbnb.epoxy.preload.ViewMetadata?, out P>>): com.airbnb.epoxy.preload.EpoxyPreloader

\n```\n\n----\n\n Helper to create a preload scroll listener. Add the result to your RecyclerView. epoxyAdapter: EpoxyAdapter, // ^^^^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/preload/EpoxyPreloader#Companion#with(+2).(epoxyAdapter) +// display_name epoxyAdapter // documentation ```kt\nvalue-parameter epoxyAdapter: [Error type: Unresolved type for EpoxyAdapter]\n``` requestHolderFactory: () -> P, // ^^^^^^^^^^^^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/preload/EpoxyPreloader#Companion#with(+2).(requestHolderFactory) +// display_name requestHolderFactory // documentation ```kt\nvalue-parameter requestHolderFactory: () -> P\n``` // ^ reference semanticdb maven . . com/airbnb/epoxy/preload/EpoxyPreloader#Companion#with(+2).[P] errorHandler: PreloadErrorHandler, // ^^^^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/preload/EpoxyPreloader#Companion#with(+2).(errorHandler) +// display_name errorHandler // documentation ```kt\nvalue-parameter errorHandler: com.airbnb.epoxy.preload.PreloadErrorHandler /* = ([Error type: Unresolved type for Context], kotlin.RuntimeException /* = java.lang.RuntimeException */) -> kotlin.Unit */\n``` // ^^^^^^^^^^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/preload/PreloadErrorHandler# maxItemsToPreload: Int, // ^^^^^^^^^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/preload/EpoxyPreloader#Companion#with(+2).(maxItemsToPreload) +// display_name maxItemsToPreload // documentation ```kt\nvalue-parameter maxItemsToPreload: kotlin.Int\n``` // ^^^ reference semanticdb maven . . kotlin/Int# modelPreloaders: List, out ViewMetadata?, out P>> // ^^^^^^^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/preload/EpoxyPreloader#Companion#with(+2).(modelPreloaders) +// display_name modelPreloaders // documentation ```kt\nvalue-parameter modelPreloaders: kotlin.collections.List], out com.airbnb.epoxy.preload.ViewMetadata?, out P>>\n``` // ^^^^ reference semanticdb maven . . kotlin/collections/List# // ^^^^^^^^^^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/preload/EpoxyModelPreloader# @@ -754,13 +849,16 @@ class EpoxyPreloader

private constructor( class EpoxyPreloadException(errorMessage: String) : RuntimeException(errorMessage) // ^^^^^^^^^^^^^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/preload/EpoxyPreloadException# +// display_name EpoxyPreloadException // documentation ```kt\npublic final class EpoxyPreloadException : kotlin.RuntimeException /* = java.lang.RuntimeException */\n``` // relationship is_reference is_implementation semanticdb maven . . kotlin/Throwable# // relationship is_reference is_implementation semanticdb maven jdk 11 java/lang/Exception# // relationship is_reference is_implementation semanticdb maven jdk 11 java/lang/RuntimeException# // ^^^^^^^^^^^^^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/preload/EpoxyPreloadException#``(). +// display_name EpoxyPreloadException // documentation ```kt\npublic constructor EpoxyPreloadException(errorMessage: kotlin.String)\n``` // ^^^^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/preload/EpoxyPreloadException#``().(errorMessage) +// display_name errorMessage // documentation ```kt\nvalue-parameter errorMessage: kotlin.String\n``` // ^^^^^^ reference semanticdb maven . . kotlin/String# // ^^^^^^^^^^^^^^^^ reference semanticdb maven . . kotlin/RuntimeException#``(+1). @@ -768,10 +866,13 @@ class EpoxyPreloadException(errorMessage: String) : RuntimeException(errorMessag typealias PreloadErrorHandler = (Context, RuntimeException) -> Unit // ^^^^^^^^^^^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/preload/PreloadErrorHandler# +// display_name PreloadErrorHandler // documentation ```kt\npublic typealias PreloadErrorHandler = ([Error type: Unresolved type for Context], kotlin.RuntimeException) -> kotlin.Unit\n``` // ^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/preload/EpoxyPreloaderKt#``. +// display_name RuntimeException // documentation ```kt\nval ``: kotlin.RuntimeException\n``` // ^^^^^^^^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/preload/EpoxyPreloaderKt#``. +// display_name RuntimeException // documentation ```kt\nval ``: kotlin.RuntimeException\n``` // ^^^^^^^^^^^^^^^^ reference semanticdb maven . . kotlin/RuntimeException# // ^^^^ reference semanticdb maven maven/org.jetbrains.kotlin/kotlin-stdlib 1.4.20-RC kotlin/Unit# @@ -783,60 +884,79 @@ typealias PreloadErrorHandler = (Context, RuntimeException) -> Unit */ class ViewData( // ^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/preload/ViewData# +// display_name ViewData // documentation ```kt\npublic final class ViewData\n```\n\n----\n\n\n Data about an image view to be preloaded. This data is used to construct a Glide image request.\n\n @param metadata Any custom, additional data that the [EpoxyModelPreloader] chooses to provide that may be necessary to create the image request.\n // ^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/preload/ViewData#``(). +// display_name ViewData // documentation ```kt\npublic constructor ViewData(viewId: kotlin.Int, width: kotlin.Int, height: kotlin.Int, metadata: U)\n``` // ^ definition semanticdb maven . . com/airbnb/epoxy/preload/ViewData#[U] +// display_name U // documentation ```kt\n\n``` // ^^^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/preload/ViewMetadata# @IdRes val viewId: Int, // ^^^^^ reference semanticdb maven maven/androidx.annotation/annotation 1.1.0 androidx/annotation/IdRes#``(). // ^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/preload/ViewData#``().(viewId) +// display_name viewId // documentation ```kt\nvalue-parameter viewId: kotlin.Int\n``` // ^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/preload/ViewData#getViewId(). +// display_name viewId // documentation ```kt\npublic final val viewId: kotlin.Int\n``` // ^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/preload/ViewData#viewId. +// display_name viewId // documentation ```kt\npublic final val viewId: kotlin.Int\n``` // ^^^ reference semanticdb maven . . kotlin/Int# @Px val width: Int, // ^^ reference semanticdb maven maven/androidx.annotation/annotation 1.1.0 androidx/annotation/Px#``(). // ^^^^^ definition semanticdb maven . . com/airbnb/epoxy/preload/ViewData#``().(width) +// display_name width // documentation ```kt\nvalue-parameter width: kotlin.Int\n``` // ^^^^^ definition semanticdb maven . . com/airbnb/epoxy/preload/ViewData#getWidth(). +// display_name width // documentation ```kt\npublic final val width: kotlin.Int\n``` // ^^^^^ definition semanticdb maven . . com/airbnb/epoxy/preload/ViewData#width. +// display_name width // documentation ```kt\npublic final val width: kotlin.Int\n``` // ^^^ reference semanticdb maven . . kotlin/Int# @Px val height: Int, // ^^ reference semanticdb maven maven/androidx.annotation/annotation 1.1.0 androidx/annotation/Px#``(). // ^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/preload/ViewData#``().(height) +// display_name height // documentation ```kt\nvalue-parameter height: kotlin.Int\n``` // ^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/preload/ViewData#getHeight(). +// display_name height // documentation ```kt\npublic final val height: kotlin.Int\n``` // ^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/preload/ViewData#height. +// display_name height // documentation ```kt\npublic final val height: kotlin.Int\n``` // ^^^ reference semanticdb maven . . kotlin/Int# val metadata: U // ^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/preload/ViewData#``().(metadata) +// display_name metadata // documentation ```kt\nvalue-parameter metadata: U\n``` // ^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/preload/ViewData#getMetadata(). +// display_name metadata // documentation ```kt\npublic final val metadata: U\n``` // ^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/preload/ViewData#metadata. +// display_name metadata // documentation ```kt\npublic final val metadata: U\n``` // ^ reference semanticdb maven . . com/airbnb/epoxy/preload/ViewData#[U] ) interface ViewMetadata { // ^^^^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/preload/ViewMetadata# +// display_name ViewMetadata // documentation ```kt\npublic interface ViewMetadata\n``` // relationship is_reference is_implementation semanticdb maven . . com/airbnb/epoxy/preload/ImageViewMetadata# companion object { // ^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/preload/ViewMetadata#Companion# 1:0 +// display_name Companion // documentation ```kt\npublic companion object\n``` fun getDefault(view: View): ViewMetadata? { // ^^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/preload/ViewMetadata#Companion#getDefault(). +// display_name getDefault // documentation ```kt\npublic final fun getDefault(view: [Error type: Unresolved type for View]): com.airbnb.epoxy.preload.ViewMetadata?\n``` // ^^^^ definition semanticdb maven . . com/airbnb/epoxy/preload/ViewMetadata#Companion#getDefault().(view) +// display_name view // documentation ```kt\nvalue-parameter view: [Error type: Unresolved type for View]\n``` // ^^^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/preload/ViewMetadata# return when (view) { @@ -856,16 +976,21 @@ interface ViewMetadata { */ open class ImageViewMetadata( // ^^^^^^^^^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/preload/ImageViewMetadata# +// display_name ImageViewMetadata // documentation ```kt\npublic open class ImageViewMetadata : com.airbnb.epoxy.preload.ViewMetadata\n```\n\n----\n\n\n Default implementation of [ViewMetadata] for an ImageView.\n This data can help the preload request know how to configure itself.\n // relationship is_reference is_implementation semanticdb maven . . com/airbnb/epoxy/preload/ViewMetadata# // ^^^^^^^^^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/preload/ImageViewMetadata#``(). +// display_name ImageViewMetadata // documentation ```kt\npublic constructor ImageViewMetadata(scaleType: [Error type: Unresolved type for ImageView.ScaleType])\n``` val scaleType: ImageView.ScaleType // ^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/preload/ImageViewMetadata#``().(scaleType) +// display_name scaleType // documentation ```kt\nvalue-parameter scaleType: [Error type: Unresolved type for ImageView.ScaleType]\n``` // ^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/preload/ImageViewMetadata#getScaleType(). +// display_name scaleType // documentation ```kt\npublic final val scaleType: [Error type: Unresolved type for ImageView.ScaleType]\n``` // ^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/preload/ImageViewMetadata#scaleType. +// display_name scaleType // documentation ```kt\npublic final val scaleType: [Error type: Unresolved type for ImageView.ScaleType]\n``` ) : ViewMetadata // ^^^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/preload/ViewMetadata# diff --git a/tests/snapshots/src/main/generated/com/airbnb/epoxy/preload/PreloadTargetProvider.kt b/tests/snapshots/src/main/generated/com/airbnb/epoxy/preload/PreloadTargetProvider.kt index ea004d3b4..be23fd609 100644 --- a/tests/snapshots/src/main/generated/com/airbnb/epoxy/preload/PreloadTargetProvider.kt +++ b/tests/snapshots/src/main/generated/com/airbnb/epoxy/preload/PreloadTargetProvider.kt @@ -11,25 +11,32 @@ import java.util.ArrayDeque internal class PreloadTargetProvider

( // ^^^^^^^^^^^^^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/preload/PreloadTargetProvider# +// display_name PreloadTargetProvider // documentation ```kt\ninternal final class PreloadTargetProvider

\n``` // ^^^^^^^^^^^^^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/preload/PreloadTargetProvider#``(). +// display_name PreloadTargetProvider // documentation ```kt\npublic constructor PreloadTargetProvider

(maxPreload: kotlin.Int, requestHolderFactory: () -> P)\n``` // ^ definition semanticdb maven . . com/airbnb/epoxy/preload/PreloadTargetProvider#[P] +// display_name P // documentation ```kt\n

\n``` // ^^^^^^^^^^^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/preload/PreloadRequestHolder# maxPreload: Int, // ^^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/preload/PreloadTargetProvider#``().(maxPreload) +// display_name maxPreload // documentation ```kt\nvalue-parameter maxPreload: kotlin.Int\n``` // ^^^ reference semanticdb maven . . kotlin/Int# requestHolderFactory: () -> P // ^^^^^^^^^^^^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/preload/PreloadTargetProvider#``().(requestHolderFactory) +// display_name requestHolderFactory // documentation ```kt\nvalue-parameter requestHolderFactory: () -> P\n``` // ^ reference semanticdb maven . . com/airbnb/epoxy/preload/PreloadTargetProvider#[P] ) { private val queue = ArrayDeque

((0 until maxPreload).map { requestHolderFactory() }) // ^^^^^ definition semanticdb maven . . com/airbnb/epoxy/preload/PreloadTargetProvider#getQueue(). +// display_name queue // documentation ```kt\nprivate final val queue: java.util.ArrayDeque

\n``` // ^^^^^ definition semanticdb maven . . com/airbnb/epoxy/preload/PreloadTargetProvider#queue. +// display_name queue // documentation ```kt\nprivate final val queue: java.util.ArrayDeque

\n``` // ^^^^^^^^^^ reference semanticdb maven jdk 11 java/util/ArrayDeque#``(+2). // ^ reference semanticdb maven . . com/airbnb/epoxy/preload/PreloadTargetProvider#[P] @@ -40,10 +47,12 @@ internal class PreloadTargetProvider

( internal fun next(): P { // ^^^^ definition semanticdb maven . . com/airbnb/epoxy/preload/PreloadTargetProvider#next(). +// display_name next // documentation ```kt\ninternal final fun next(): P\n``` // ^ reference semanticdb maven . . com/airbnb/epoxy/preload/PreloadTargetProvider#[P] val result = queue.poll() // ^^^^^^ definition local 0 +// display_name result // documentation ```kt\nval result: P!\n``` // ^^^^^ reference semanticdb maven . . com/airbnb/epoxy/preload/PreloadTargetProvider#getQueue(). // ^^^^^ reference semanticdb maven . . com/airbnb/epoxy/preload/PreloadTargetProvider#queue. @@ -62,6 +71,7 @@ internal class PreloadTargetProvider

( fun clearAll() { // ^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/preload/PreloadTargetProvider#clearAll(). +// display_name clearAll // documentation ```kt\npublic final fun clearAll()\n``` queue.forEach { it.clear() } // ^^^^^ reference semanticdb maven . . com/airbnb/epoxy/preload/PreloadTargetProvider#getQueue(). @@ -84,9 +94,11 @@ internal class PreloadTargetProvider

( */ interface PreloadRequestHolder { // ^^^^^^^^^^^^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/preload/PreloadRequestHolder# +// display_name PreloadRequestHolder // documentation ```kt\npublic interface PreloadRequestHolder\n```\n\n----\n\n\n This is responsible for holding details for a preloading request.\n Your implementation can do anything it wants with the request, but it must\n cancel and clear itself when [clear] is called.\n\n It is also recommended that your implementation calls [clear] when your request finishes loading\n to avoid unnecessarily hanging onto the request result (assuming the result is also stored in\n cache). Otherwise this holder can be stored in a pool for later use and may leak the preloaded\n data.\n /** Clear any ongoing preload request. */ fun clear() // ^^^^^ definition semanticdb maven . . com/airbnb/epoxy/preload/PreloadRequestHolder#clear(). +// display_name clear // documentation ```kt\npublic abstract fun clear()\n```\n\n----\n\n Clear any ongoing preload request. } diff --git a/tests/snapshots/src/main/generated/com/airbnb/epoxy/preload/Preloadable.kt b/tests/snapshots/src/main/generated/com/airbnb/epoxy/preload/Preloadable.kt index 0aa8d889d..0a4d2bdb5 100644 --- a/tests/snapshots/src/main/generated/com/airbnb/epoxy/preload/Preloadable.kt +++ b/tests/snapshots/src/main/generated/com/airbnb/epoxy/preload/Preloadable.kt @@ -14,11 +14,14 @@ import android.view.View */ interface Preloadable { // ^^^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/preload/Preloadable# +// display_name Preloadable // documentation ```kt\npublic interface Preloadable\n```\n\n----\n\n\n Declares Views that should be preloaded. This can either be implemented by a custom view or by an [EpoxyHolder].\n\n The preloadable views can be recursive ie if [Preloadable.viewsToPreload] includes any views that are themselves Preloadable those nested\n views will instead by used.\n val viewsToPreload: List // ^^^^^^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/preload/Preloadable#getViewsToPreload(). +// display_name viewsToPreload // documentation ```kt\npublic abstract val viewsToPreload: kotlin.collections.List<[Error type: Unresolved type for View]>\n``` // ^^^^^^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/preload/Preloadable#viewsToPreload. +// display_name viewsToPreload // documentation ```kt\npublic abstract val viewsToPreload: kotlin.collections.List<[Error type: Unresolved type for View]>\n``` // ^^^^ reference semanticdb maven . . kotlin/collections/List# } diff --git a/tests/snapshots/src/main/generated/com/airbnb/epoxy/preload/PreloadableViewDataProvider.kt b/tests/snapshots/src/main/generated/com/airbnb/epoxy/preload/PreloadableViewDataProvider.kt index 4d96f715b..3e0295875 100644 --- a/tests/snapshots/src/main/generated/com/airbnb/epoxy/preload/PreloadableViewDataProvider.kt +++ b/tests/snapshots/src/main/generated/com/airbnb/epoxy/preload/PreloadableViewDataProvider.kt @@ -37,22 +37,30 @@ import com.airbnb.epoxy.viewTypeInternal */ internal class PreloadableViewDataProvider( // ^^^^^^^^^^^^^^^^^^^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/preload/PreloadableViewDataProvider# +// display_name PreloadableViewDataProvider // documentation ```kt\ninternal final class PreloadableViewDataProvider\n```\n\n----\n\n\n In order to preload content we need to know the size of the view that they it be loaded into.\n This class provides the view size, as well as other view metadata that might be necessary to construct the preload request.\n // ^^^^^^^^^^^^^^^^^^^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/preload/PreloadableViewDataProvider#``(). +// display_name PreloadableViewDataProvider // documentation ```kt\npublic constructor PreloadableViewDataProvider(adapter: [Error type: Unresolved type for BaseEpoxyAdapter], errorHandler: com.airbnb.epoxy.preload.PreloadErrorHandler /* = ([Error type: Unresolved type for Context], kotlin.RuntimeException /* = java.lang.RuntimeException */) -> kotlin.Unit */)\n``` val adapter: BaseEpoxyAdapter, // ^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/preload/PreloadableViewDataProvider#``().(adapter) +// display_name adapter // documentation ```kt\nvalue-parameter adapter: [Error type: Unresolved type for BaseEpoxyAdapter]\n``` // ^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/preload/PreloadableViewDataProvider#adapter. +// display_name adapter // documentation ```kt\npublic final val adapter: [Error type: Unresolved type for BaseEpoxyAdapter]\n``` // ^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/preload/PreloadableViewDataProvider#getAdapter(). +// display_name adapter // documentation ```kt\npublic final val adapter: [Error type: Unresolved type for BaseEpoxyAdapter]\n``` val errorHandler: PreloadErrorHandler // ^^^^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/preload/PreloadableViewDataProvider#``().(errorHandler) +// display_name errorHandler // documentation ```kt\nvalue-parameter errorHandler: com.airbnb.epoxy.preload.PreloadErrorHandler /* = ([Error type: Unresolved type for Context], kotlin.RuntimeException /* = java.lang.RuntimeException */) -> kotlin.Unit */\n``` // ^^^^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/preload/PreloadableViewDataProvider#errorHandler. +// display_name errorHandler // documentation ```kt\npublic final val errorHandler: com.airbnb.epoxy.preload.PreloadErrorHandler /* = ([Error type: Unresolved type for Context], kotlin.RuntimeException /* = java.lang.RuntimeException */) -> kotlin.Unit */\n``` // ^^^^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/preload/PreloadableViewDataProvider#getErrorHandler(). +// display_name errorHandler // documentation ```kt\npublic final val errorHandler: com.airbnb.epoxy.preload.PreloadErrorHandler /* = ([Error type: Unresolved type for Context], kotlin.RuntimeException /* = java.lang.RuntimeException */) -> kotlin.Unit */\n``` // ^^^^^^^^^^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/preload/PreloadErrorHandler# ) { @@ -63,48 +71,64 @@ internal class PreloadableViewDataProvider( */ private data class CacheKey( // ^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/preload/PreloadableViewDataProvider#CacheKey# +// display_name CacheKey // documentation ```kt\nprivate final data class CacheKey\n```\n\n----\n\n\n A given model class might have different sized preloadable views depending on configuration.\n We use this cache key to separate view configurations.\n // ^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/preload/PreloadableViewDataProvider#CacheKey#``(). +// display_name CacheKey // documentation ```kt\npublic constructor CacheKey(epoxyModelClass: java.lang.Class]>, spanSize: kotlin.Int, viewType: kotlin.Int, signature: kotlin.Any?)\n``` val epoxyModelClass: Class>, // ^^^^^^^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/preload/PreloadableViewDataProvider#CacheKey#``().(epoxyModelClass) +// display_name epoxyModelClass // documentation ```kt\nvalue-parameter epoxyModelClass: java.lang.Class]>\n``` // ^^^^^^^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/preload/PreloadableViewDataProvider#CacheKey#epoxyModelClass. +// display_name epoxyModelClass // documentation ```kt\npublic final val epoxyModelClass: java.lang.Class]>\n``` // ^^^^^^^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/preload/PreloadableViewDataProvider#CacheKey#getEpoxyModelClass(). +// display_name epoxyModelClass // documentation ```kt\npublic final val epoxyModelClass: java.lang.Class]>\n``` // ^^^^^ reference semanticdb maven jdk 11 java/lang/Class# val spanSize: Int, // ^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/preload/PreloadableViewDataProvider#CacheKey#``().(spanSize) +// display_name spanSize // documentation ```kt\nvalue-parameter spanSize: kotlin.Int\n``` // ^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/preload/PreloadableViewDataProvider#CacheKey#getSpanSize(). +// display_name spanSize // documentation ```kt\npublic final val spanSize: kotlin.Int\n``` // ^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/preload/PreloadableViewDataProvider#CacheKey#spanSize. +// display_name spanSize // documentation ```kt\npublic final val spanSize: kotlin.Int\n``` // ^^^ reference semanticdb maven . . kotlin/Int# val viewType: Int, // ^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/preload/PreloadableViewDataProvider#CacheKey#``().(viewType) +// display_name viewType // documentation ```kt\nvalue-parameter viewType: kotlin.Int\n``` // ^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/preload/PreloadableViewDataProvider#CacheKey#getViewType(). +// display_name viewType // documentation ```kt\npublic final val viewType: kotlin.Int\n``` // ^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/preload/PreloadableViewDataProvider#CacheKey#viewType. +// display_name viewType // documentation ```kt\npublic final val viewType: kotlin.Int\n``` // ^^^ reference semanticdb maven . . kotlin/Int# /** An optional, custom signature provided by the model preloader. This allows the user to specify custom cache mixins */ val signature: Any? // ^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/preload/PreloadableViewDataProvider#CacheKey#``().(signature) +// display_name signature // documentation ```kt\nvalue-parameter signature: kotlin.Any?\n```\n\n----\n\n An optional, custom signature provided by the model preloader. This allows the user to specify custom cache mixins // ^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/preload/PreloadableViewDataProvider#CacheKey#getSignature(). +// display_name signature // documentation ```kt\npublic final val signature: kotlin.Any?\n```\n\n----\n\n An optional, custom signature provided by the model preloader. This allows the user to specify custom cache mixins // ^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/preload/PreloadableViewDataProvider#CacheKey#signature. +// display_name signature // documentation ```kt\npublic final val signature: kotlin.Any?\n```\n\n----\n\n An optional, custom signature provided by the model preloader. This allows the user to specify custom cache mixins // ^^^ reference semanticdb maven . . kotlin/Any# ) private val cache = mutableMapOf>?>() // ^^^^^ definition semanticdb maven . . com/airbnb/epoxy/preload/PreloadableViewDataProvider#cache. +// display_name cache // documentation ```kt\nprivate final val cache: kotlin.collections.MutableMap>?>\n``` // ^^^^^ definition semanticdb maven . . com/airbnb/epoxy/preload/PreloadableViewDataProvider#getCache(). +// display_name cache // documentation ```kt\nprivate final val cache: kotlin.collections.MutableMap>?>\n``` // ^^^^^^^^^^^^ reference semanticdb maven maven/org.jetbrains.kotlin/kotlin-stdlib 1.4.20-RC kotlin/collections/MapsKt#mutableMapOf(). // ^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/preload/PreloadableViewDataProvider#CacheKey# @@ -114,17 +138,22 @@ internal class PreloadableViewDataProvider( /** @return A list containing the data necessary to load each view in the given model. */ fun , U : ViewMetadata?, P : PreloadRequestHolder> dataForModel( // ^ definition semanticdb maven . . com/airbnb/epoxy/preload/PreloadableViewDataProvider#dataForModel().[T] +// display_name T // documentation ```kt\n\n``` // ^ definition semanticdb maven . . com/airbnb/epoxy/preload/PreloadableViewDataProvider#dataForModel().[U] +// display_name U // documentation ```kt\n\n``` // ^^^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/preload/ViewMetadata# // ^ definition semanticdb maven . . com/airbnb/epoxy/preload/PreloadableViewDataProvider#dataForModel().[P] +// display_name P // documentation ```kt\n

\n``` // ^^^^^^^^^^^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/preload/PreloadRequestHolder# // ^^^^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/preload/PreloadableViewDataProvider#dataForModel(). +// display_name dataForModel // documentation ```kt\npublic final fun dataForModel(preloader: com.airbnb.epoxy.preload.EpoxyModelPreloader, epoxyModel: T, position: kotlin.Int): kotlin.collections.List>\n```\n\n----\n\n @return A list containing the data necessary to load each view in the given model. preloader: EpoxyModelPreloader, // ^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/preload/PreloadableViewDataProvider#dataForModel().(preloader) +// display_name preloader // documentation ```kt\nvalue-parameter preloader: com.airbnb.epoxy.preload.EpoxyModelPreloader\n``` // ^^^^^^^^^^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/preload/EpoxyModelPreloader# // ^ reference semanticdb maven . . com/airbnb/epoxy/preload/PreloadableViewDataProvider#dataForModel().[T] @@ -132,10 +161,12 @@ internal class PreloadableViewDataProvider( // ^ reference semanticdb maven . . com/airbnb/epoxy/preload/PreloadableViewDataProvider#dataForModel().[P] epoxyModel: T, // ^^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/preload/PreloadableViewDataProvider#dataForModel().(epoxyModel) +// display_name epoxyModel // documentation ```kt\nvalue-parameter epoxyModel: T\n``` // ^ reference semanticdb maven . . com/airbnb/epoxy/preload/PreloadableViewDataProvider#dataForModel().[T] position: Int // ^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/preload/PreloadableViewDataProvider#dataForModel().(position) +// display_name position // documentation ```kt\nvalue-parameter position: kotlin.Int\n``` // ^^^ reference semanticdb maven . . kotlin/Int# ): List> { @@ -144,6 +175,7 @@ internal class PreloadableViewDataProvider( // ^ reference semanticdb maven . . com/airbnb/epoxy/preload/PreloadableViewDataProvider#dataForModel().[U] val cacheKey = cacheKey(preloader, epoxyModel, position) // ^^^^^^^^ definition local 0 +// display_name cacheKey // documentation ```kt\nval cacheKey: com.airbnb.epoxy.preload.PreloadableViewDataProvider.CacheKey\n``` // ^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/preload/PreloadableViewDataProvider#cacheKey(). // ^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/preload/PreloadableViewDataProvider#dataForModel().(preloader) @@ -173,26 +205,32 @@ internal class PreloadableViewDataProvider( private fun > cacheKey( // ^ definition semanticdb maven . . com/airbnb/epoxy/preload/PreloadableViewDataProvider#cacheKey().[T] +// display_name T // documentation ```kt\n\n``` // ^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/preload/PreloadableViewDataProvider#cacheKey(). +// display_name cacheKey // documentation ```kt\nprivate final fun cacheKey(preloader: com.airbnb.epoxy.preload.EpoxyModelPreloader, epoxyModel: T, position: kotlin.Int): com.airbnb.epoxy.preload.PreloadableViewDataProvider.CacheKey\n``` preloader: EpoxyModelPreloader, // ^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/preload/PreloadableViewDataProvider#cacheKey().(preloader) +// display_name preloader // documentation ```kt\nvalue-parameter preloader: com.airbnb.epoxy.preload.EpoxyModelPreloader\n``` // ^^^^^^^^^^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/preload/EpoxyModelPreloader# // ^ reference semanticdb maven . . com/airbnb/epoxy/preload/PreloadableViewDataProvider#cacheKey().[T] epoxyModel: T, // ^^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/preload/PreloadableViewDataProvider#cacheKey().(epoxyModel) +// display_name epoxyModel // documentation ```kt\nvalue-parameter epoxyModel: T\n``` // ^ reference semanticdb maven . . com/airbnb/epoxy/preload/PreloadableViewDataProvider#cacheKey().[T] position: Int // ^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/preload/PreloadableViewDataProvider#cacheKey().(position) +// display_name position // documentation ```kt\nvalue-parameter position: kotlin.Int\n``` // ^^^ reference semanticdb maven . . kotlin/Int# ): CacheKey { // ^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/preload/PreloadableViewDataProvider#CacheKey# val modelSpanSize = if (adapter.isMultiSpan) { // ^^^^^^^^^^^^^ definition local 1 +// display_name modelSpanSize // documentation ```kt\nval modelSpanSize: kotlin.Int\n``` // ^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/preload/PreloadableViewDataProvider#adapter. // ^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/preload/PreloadableViewDataProvider#getAdapter(). @@ -225,17 +263,22 @@ internal class PreloadableViewDataProvider( private fun , U : ViewMetadata?, P : PreloadRequestHolder> findViewData( // ^ definition semanticdb maven . . com/airbnb/epoxy/preload/PreloadableViewDataProvider#findViewData().[T] +// display_name T // documentation ```kt\n\n``` // ^ definition semanticdb maven . . com/airbnb/epoxy/preload/PreloadableViewDataProvider#findViewData().[U] +// display_name U // documentation ```kt\n\n``` // ^^^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/preload/ViewMetadata# // ^ definition semanticdb maven . . com/airbnb/epoxy/preload/PreloadableViewDataProvider#findViewData().[P] +// display_name P // documentation ```kt\n

\n``` // ^^^^^^^^^^^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/preload/PreloadRequestHolder# // ^^^^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/preload/PreloadableViewDataProvider#findViewData(). +// display_name findViewData // documentation ```kt\nprivate final fun findViewData(preloader: com.airbnb.epoxy.preload.EpoxyModelPreloader, epoxyModel: T, cacheKey: com.airbnb.epoxy.preload.PreloadableViewDataProvider.CacheKey): kotlin.collections.List>?\n``` preloader: EpoxyModelPreloader, // ^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/preload/PreloadableViewDataProvider#findViewData().(preloader) +// display_name preloader // documentation ```kt\nvalue-parameter preloader: com.airbnb.epoxy.preload.EpoxyModelPreloader\n``` // ^^^^^^^^^^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/preload/EpoxyModelPreloader# // ^ reference semanticdb maven . . com/airbnb/epoxy/preload/PreloadableViewDataProvider#findViewData().[T] @@ -243,10 +286,12 @@ internal class PreloadableViewDataProvider( // ^ reference semanticdb maven . . com/airbnb/epoxy/preload/PreloadableViewDataProvider#findViewData().[P] epoxyModel: T, // ^^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/preload/PreloadableViewDataProvider#findViewData().(epoxyModel) +// display_name epoxyModel // documentation ```kt\nvalue-parameter epoxyModel: T\n``` // ^ reference semanticdb maven . . com/airbnb/epoxy/preload/PreloadableViewDataProvider#findViewData().[T] cacheKey: CacheKey // ^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/preload/PreloadableViewDataProvider#findViewData().(cacheKey) +// display_name cacheKey // documentation ```kt\nvalue-parameter cacheKey: com.airbnb.epoxy.preload.PreloadableViewDataProvider.CacheKey\n``` // ^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/preload/PreloadableViewDataProvider#CacheKey# ): List>? { @@ -260,11 +305,13 @@ internal class PreloadableViewDataProvider( val holderMatch = adapter.boundViewHoldersInternal().find { // ^^^^^^^^^^^ definition local 2 +// display_name holderMatch // documentation ```kt\nval holderMatch: [Error type: Return type for function cannot be resolved]\n``` // ^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/preload/PreloadableViewDataProvider#adapter. // ^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/preload/PreloadableViewDataProvider#getAdapter(). val boundModel = it.model // ^^^^^^^^^^ definition local 3 +// display_name boundModel // documentation ```kt\nval boundModel: [Error type: Error property type]\n``` if (boundModel::class == epoxyModel::class) { // ^^^^^^^^^^ reference local 3 @@ -288,16 +335,19 @@ internal class PreloadableViewDataProvider( val rootView = holderMatch?.itemView ?: return null // ^^^^^^^^ definition local 4 +// display_name rootView // documentation ```kt\nval rootView: kotlin.Nothing\n``` // ^^^^^^^^^^^ reference local 2 val boundObject = holderMatch.objectToBindInternal() // Allows usage of view holder models // ^^^^^^^^^^^ definition local 5 +// display_name boundObject // documentation ```kt\nval boundObject: [Error type: Return type for function cannot be resolved]\n``` // ^^^^^^^^^^^ reference local 2 val preloadableViews: List = when { // ^^^^^^^^^^^^^^^^ definition local 6 +// display_name preloadableViews // documentation ```kt\nval preloadableViews: kotlin.collections.List<[Error type: Unresolved type for View]>\n``` // ^^^^ reference semanticdb maven . . kotlin/collections/List# preloader.preloadableViewIds.isNotEmpty() -> rootView.findViews( @@ -348,16 +398,20 @@ internal class PreloadableViewDataProvider( /** Returns child views with the given view ids. */ private fun > View.findViews( // ^ definition semanticdb maven . . com/airbnb/epoxy/preload/PreloadableViewDataProvider#findViews().[T] +// display_name T // documentation ```kt\n\n``` // ^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/preload/PreloadableViewDataProvider#findViews(). +// display_name findViews // documentation ```kt\nprivate final fun [Error type: Unresolved type for View].findViews(viewIds: kotlin.collections.List, epoxyModel: T): kotlin.collections.List<[Error type: Unresolved type for View]>\n```\n\n----\n\n Returns child views with the given view ids. viewIds: List, // ^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/preload/PreloadableViewDataProvider#findViews().(viewIds) +// display_name viewIds // documentation ```kt\nvalue-parameter viewIds: kotlin.collections.List\n``` // ^^^^ reference semanticdb maven . . kotlin/collections/List# // ^^^ reference semanticdb maven . . kotlin/Int# epoxyModel: T // ^^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/preload/PreloadableViewDataProvider#findViews().(epoxyModel) +// display_name epoxyModel // documentation ```kt\nvalue-parameter epoxyModel: T\n``` // ^ reference semanticdb maven . . com/airbnb/epoxy/preload/PreloadableViewDataProvider#findViews().[T] ): List { @@ -366,6 +420,7 @@ internal class PreloadableViewDataProvider( // ^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/preload/PreloadableViewDataProvider#findViews().(viewIds) // ^^^^^^^^^^ reference semanticdb maven maven/org.jetbrains.kotlin/kotlin-stdlib 1.4.20-RC kotlin/collections/CollectionsKt#mapNotNull(+1). // ^^ definition local 7 +// display_name id // documentation ```kt\nvalue-parameter id: kotlin.Int\n``` findViewById(id).apply { // ^^ reference local 7 @@ -380,9 +435,11 @@ internal class PreloadableViewDataProvider( /** If a View with the [Preloadable] interface is used we want to get all of the preloadable views contained in that Preloadable instead. */ private fun T.recursePreloadableViews(): List { // ^ definition semanticdb maven . . com/airbnb/epoxy/preload/PreloadableViewDataProvider#recursePreloadableViews().[T] +// display_name T // documentation ```kt\n\n``` // ^ reference semanticdb maven . . com/airbnb/epoxy/preload/PreloadableViewDataProvider#recursePreloadableViews().[T] // ^^^^^^^^^^^^^^^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/preload/PreloadableViewDataProvider#recursePreloadableViews(). +// display_name recursePreloadableViews // documentation ```kt\nprivate final fun T.recursePreloadableViews(): kotlin.collections.List<[Error type: Unresolved type for View]>\n```\n\n----\n\n If a View with the [Preloadable] interface is used we want to get all of the preloadable views contained in that Preloadable instead. // ^^^^ reference semanticdb maven . . kotlin/collections/List# return if (this is Preloadable) { @@ -400,17 +457,22 @@ internal class PreloadableViewDataProvider( private fun , U : ViewMetadata?, P : PreloadRequestHolder> View.buildData( // ^ definition semanticdb maven . . com/airbnb/epoxy/preload/PreloadableViewDataProvider#buildData().[T] +// display_name T // documentation ```kt\n\n``` // ^ definition semanticdb maven . . com/airbnb/epoxy/preload/PreloadableViewDataProvider#buildData().[U] +// display_name U // documentation ```kt\n\n``` // ^^^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/preload/ViewMetadata# // ^ definition semanticdb maven . . com/airbnb/epoxy/preload/PreloadableViewDataProvider#buildData().[P] +// display_name P // documentation ```kt\n

\n``` // ^^^^^^^^^^^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/preload/PreloadRequestHolder# // ^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/preload/PreloadableViewDataProvider#buildData(). +// display_name buildData // documentation ```kt\nprivate final fun [Error type: Unresolved type for View].buildData(preloader: com.airbnb.epoxy.preload.EpoxyModelPreloader, epoxyModel: T): com.airbnb.epoxy.preload.ViewData?\n``` preloader: EpoxyModelPreloader, // ^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/preload/PreloadableViewDataProvider#buildData().(preloader) +// display_name preloader // documentation ```kt\nvalue-parameter preloader: com.airbnb.epoxy.preload.EpoxyModelPreloader\n``` // ^^^^^^^^^^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/preload/EpoxyModelPreloader# // ^ reference semanticdb maven . . com/airbnb/epoxy/preload/PreloadableViewDataProvider#buildData().[T] @@ -418,6 +480,7 @@ internal class PreloadableViewDataProvider( // ^ reference semanticdb maven . . com/airbnb/epoxy/preload/PreloadableViewDataProvider#buildData().[P] epoxyModel: T // ^^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/preload/PreloadableViewDataProvider#buildData().(epoxyModel) +// display_name epoxyModel // documentation ```kt\nvalue-parameter epoxyModel: T\n``` // ^ reference semanticdb maven . . com/airbnb/epoxy/preload/PreloadableViewDataProvider#buildData().[T] ): ViewData? { @@ -428,9 +491,11 @@ internal class PreloadableViewDataProvider( // TODO: We could support size overrides by allowing the preloader to specify a size override callback val width = width - paddingLeft - paddingRight // ^^^^^ definition local 8 +// display_name width // documentation ```kt\nval width: [Error type: Return type for function cannot be resolved]\n``` val height = height - paddingTop - paddingBottom // ^^^^^^ definition local 9 +// display_name height // documentation ```kt\nval height: [Error type: Return type for function cannot be resolved]\n``` if (width <= 0 || height <= 0) { diff --git a/tests/snapshots/src/main/generated/com/airbnb/epoxy/preload/PreloaderExtensions.kt b/tests/snapshots/src/main/generated/com/airbnb/epoxy/preload/PreloaderExtensions.kt index 551f61668..60724c296 100644 --- a/tests/snapshots/src/main/generated/com/airbnb/epoxy/preload/PreloaderExtensions.kt +++ b/tests/snapshots/src/main/generated/com/airbnb/epoxy/preload/PreloaderExtensions.kt @@ -35,34 +35,44 @@ import com.airbnb.epoxy.utils.isDebuggable */ fun , U : ViewMetadata?, P : PreloadRequestHolder> RecyclerView.addEpoxyPreloader( // ^ definition semanticdb maven . . com/airbnb/epoxy/preload/PreloaderExtensionsKt#addEpoxyPreloader().[T] +// display_name T // documentation ```kt\n\n``` // ^ definition semanticdb maven . . com/airbnb/epoxy/preload/PreloaderExtensionsKt#addEpoxyPreloader().[U] +// display_name U // documentation ```kt\n\n``` // ^^^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/preload/ViewMetadata# // ^ definition semanticdb maven . . com/airbnb/epoxy/preload/PreloaderExtensionsKt#addEpoxyPreloader().[P] +// display_name P // documentation ```kt\n

\n``` // ^^^^^^^^^^^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/preload/PreloadRequestHolder# // ^^^^^^^^^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/preload/PreloaderExtensionsKt#addEpoxyPreloader(). +// display_name addEpoxyPreloader // documentation ```kt\npublic fun [Error type: Unresolved type for RecyclerView].addEpoxyPreloader(epoxyController: [Error type: Unresolved type for EpoxyController], maxPreloadDistance: kotlin.Int = ..., errorHandler: com.airbnb.epoxy.preload.PreloadErrorHandler /* = ([Error type: Unresolved type for Context], kotlin.RuntimeException /* = java.lang.RuntimeException */) -> kotlin.Unit */ = ..., preloader: com.airbnb.epoxy.preload.EpoxyModelPreloader, requestHolderFactory: () -> P)\n```\n\n----\n\n\n Helper to create and add an [EpoxyPreloader] to this RecyclerView.\n\n If you are using [com.airbnb.epoxy.EpoxyRecyclerView], prefer[com.airbnb.epoxy.EpoxyRecyclerView.addPreloader]\n instead.\n\n @param maxPreloadDistance How many items to prefetch ahead of the last bound item\n @param errorHandler Called when the preloader encounters an exception. By default this throws only\n if the app is not in a debuggle model\n @param preloader Describes how view content for the EpoxyModel should be preloaded\n @param requestHolderFactory Should create and return a new [PreloadRequestHolder] each time it is invoked\n epoxyController: EpoxyController, // ^^^^^^^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/preload/PreloaderExtensionsKt#addEpoxyPreloader().(epoxyController) +// display_name epoxyController // documentation ```kt\nvalue-parameter epoxyController: [Error type: Unresolved type for EpoxyController]\n``` maxPreloadDistance: Int = 3, // ^^^^^^^^^^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/preload/PreloaderExtensionsKt#addEpoxyPreloader().(maxPreloadDistance) +// display_name maxPreloadDistance // documentation ```kt\nvalue-parameter maxPreloadDistance: kotlin.Int = ...\n``` // ^^^ reference semanticdb maven . . kotlin/Int# errorHandler: PreloadErrorHandler = { context, err -> if (!context.isDebuggable) throw err }, // ^^^^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/preload/PreloaderExtensionsKt#addEpoxyPreloader().(errorHandler) +// display_name errorHandler // documentation ```kt\nvalue-parameter errorHandler: com.airbnb.epoxy.preload.PreloadErrorHandler /* = ([Error type: Unresolved type for Context], kotlin.RuntimeException /* = java.lang.RuntimeException */) -> kotlin.Unit */ = ...\n``` // ^^^^^^^^^^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/preload/PreloadErrorHandler# // ^^^^^^^ definition local 0 +// display_name context // documentation ```kt\nvalue-parameter context: [Error type: Unresolved type for Context]\n``` // ^^^ definition local 1 +// display_name err // documentation ```kt\nvalue-parameter err: kotlin.RuntimeException /* = java.lang.RuntimeException */\n``` // ^^^^^^^ reference local 0 // ^^^ reference local 1 preloader: EpoxyModelPreloader, // ^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/preload/PreloaderExtensionsKt#addEpoxyPreloader().(preloader) +// display_name preloader // documentation ```kt\nvalue-parameter preloader: com.airbnb.epoxy.preload.EpoxyModelPreloader\n``` // ^^^^^^^^^^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/preload/EpoxyModelPreloader# // ^ reference semanticdb maven . . com/airbnb/epoxy/preload/PreloaderExtensionsKt#addEpoxyPreloader().[T] @@ -70,6 +80,7 @@ fun , U : ViewMetadata?, P : PreloadRequestHolder> RecyclerVie // ^ reference semanticdb maven . . com/airbnb/epoxy/preload/PreloaderExtensionsKt#addEpoxyPreloader().[P] requestHolderFactory: () -> P // ^^^^^^^^^^^^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/preload/PreloaderExtensionsKt#addEpoxyPreloader().(requestHolderFactory) +// display_name requestHolderFactory // documentation ```kt\nvalue-parameter requestHolderFactory: () -> P\n``` // ^ reference semanticdb maven . . com/airbnb/epoxy/preload/PreloaderExtensionsKt#addEpoxyPreloader().[P] ) { diff --git a/tests/snapshots/src/main/generated/com/airbnb/epoxy/stickyheader/StickyHeaderCallbacks.kt b/tests/snapshots/src/main/generated/com/airbnb/epoxy/stickyheader/StickyHeaderCallbacks.kt index 953e5691d..1dbc34016 100644 --- a/tests/snapshots/src/main/generated/com/airbnb/epoxy/stickyheader/StickyHeaderCallbacks.kt +++ b/tests/snapshots/src/main/generated/com/airbnb/epoxy/stickyheader/StickyHeaderCallbacks.kt @@ -14,6 +14,7 @@ import androidx.recyclerview.widget.RecyclerView */ interface StickyHeaderCallbacks { // ^^^^^^^^^^^^^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/stickyheader/StickyHeaderCallbacks# +// display_name StickyHeaderCallbacks // documentation ```kt\npublic interface StickyHeaderCallbacks\n```\n\n----\n\n\n Adds sticky headers capabilities to any [RecyclerView.Adapter]\n combined with [StickyHeaderLinearLayoutManager].\n /** @@ -22,8 +23,10 @@ interface StickyHeaderCallbacks { */ fun isStickyHeader(position: Int): Boolean // ^^^^^^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/stickyheader/StickyHeaderCallbacks#isStickyHeader(). +// display_name isStickyHeader // documentation ```kt\npublic abstract fun isStickyHeader(position: kotlin.Int): kotlin.Boolean\n```\n\n----\n\n\n Return true if the view at the specified [position] needs to be sticky\n else false.\n // ^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/stickyheader/StickyHeaderCallbacks#isStickyHeader().(position) +// display_name position // documentation ```kt\nvalue-parameter position: kotlin.Int\n``` // ^^^ reference semanticdb maven . . kotlin/Int# // ^^^^^^^ reference semanticdb maven . . kotlin/Boolean# @@ -40,8 +43,10 @@ interface StickyHeaderCallbacks { */ fun setupStickyHeaderView(stickyHeader: View) = Unit // ^^^^^^^^^^^^^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/stickyheader/StickyHeaderCallbacks#setupStickyHeaderView(). +// display_name setupStickyHeaderView // documentation ```kt\npublic open fun setupStickyHeaderView(stickyHeader: [Error type: Unresolved type for View])\n```\n\n----\n\n\n Callback to adjusts any necessary properties of the [stickyHeader] view\n that is being used as a sticky, eg. elevation.\n Default behaviour is no-op.\n\n [teardownStickyHeaderView] will be called sometime after this method\n and before any other calls to this method go through.\n // ^^^^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/stickyheader/StickyHeaderCallbacks#setupStickyHeaderView().(stickyHeader) +// display_name stickyHeader // documentation ```kt\nvalue-parameter stickyHeader: [Error type: Unresolved type for View]\n``` // ^^^^ reference semanticdb maven maven/org.jetbrains.kotlin/kotlin-stdlib 1.4.20-RC kotlin/Unit# @@ -53,8 +58,10 @@ interface StickyHeaderCallbacks { */ fun teardownStickyHeaderView(stickyHeader: View) = Unit // ^^^^^^^^^^^^^^^^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/stickyheader/StickyHeaderCallbacks#teardownStickyHeaderView(). +// display_name teardownStickyHeaderView // documentation ```kt\npublic open fun teardownStickyHeaderView(stickyHeader: [Error type: Unresolved type for View])\n```\n\n----\n\n\n Callback to revert any properties changed in [setupStickyHeaderView].\n Default behaviour is no-op.\n\n Called after [setupStickyHeaderView].\n // ^^^^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/stickyheader/StickyHeaderCallbacks#teardownStickyHeaderView().(stickyHeader) +// display_name stickyHeader // documentation ```kt\nvalue-parameter stickyHeader: [Error type: Unresolved type for View]\n``` // ^^^^ reference semanticdb maven maven/org.jetbrains.kotlin/kotlin-stdlib 1.4.20-RC kotlin/Unit# diff --git a/tests/snapshots/src/main/generated/com/airbnb/epoxy/stickyheader/StickyHeaderLinearLayoutManager.kt b/tests/snapshots/src/main/generated/com/airbnb/epoxy/stickyheader/StickyHeaderLinearLayoutManager.kt index 7e6e285cc..0d72dd74e 100644 --- a/tests/snapshots/src/main/generated/com/airbnb/epoxy/stickyheader/StickyHeaderLinearLayoutManager.kt +++ b/tests/snapshots/src/main/generated/com/airbnb/epoxy/stickyheader/StickyHeaderLinearLayoutManager.kt @@ -41,19 +41,24 @@ import kotlinx.android.parcel.Parcelize */ class StickyHeaderLinearLayoutManager @JvmOverloads constructor( // ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/stickyheader/StickyHeaderLinearLayoutManager# +// display_name StickyHeaderLinearLayoutManager // documentation ```kt\npublic final class StickyHeaderLinearLayoutManager\n```\n\n----\n\n\n Adds sticky headers capabilities to your [RecyclerView.Adapter].\n The adapter / controller must override [StickyHeaderCallbacks.isStickyHeader] to\n indicate which items are sticky.\n\n Example usage:\n ```\n class StickyHeaderController() : EpoxyController() {\n override fun isStickyHeader(position: Int) {\n // Write your logic to tell which item is sticky.\n }\n }\n ```\n // ^^^^^^^^^^^^ reference semanticdb maven maven/org.jetbrains.kotlin/kotlin-stdlib 1.4.20-RC kotlin/jvm/JvmOverloads#``(). // ^^^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/stickyheader/StickyHeaderLinearLayoutManager#``(). +// display_name StickyHeaderLinearLayoutManager // documentation ```kt\npublic constructor StickyHeaderLinearLayoutManager(context: [Error type: Unresolved type for Context], orientation: kotlin.Int = ..., reverseLayout: kotlin.Boolean = ...)\n``` context: Context, // ^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/stickyheader/StickyHeaderLinearLayoutManager#``().(context) +// display_name context // documentation ```kt\nvalue-parameter context: [Error type: Unresolved type for Context]\n``` orientation: Int = RecyclerView.VERTICAL, // ^^^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/stickyheader/StickyHeaderLinearLayoutManager#``().(orientation) +// display_name orientation // documentation ```kt\nvalue-parameter orientation: kotlin.Int = ...\n``` // ^^^ reference semanticdb maven . . kotlin/Int# reverseLayout: Boolean = false // ^^^^^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/stickyheader/StickyHeaderLinearLayoutManager#``().(reverseLayout) +// display_name reverseLayout // documentation ```kt\nvalue-parameter reverseLayout: kotlin.Boolean = ...\n``` // ^^^^^^^ reference semanticdb maven . . kotlin/Boolean# ) : LinearLayoutManager(context, orientation, reverseLayout) { @@ -63,81 +68,108 @@ class StickyHeaderLinearLayoutManager @JvmOverloads constructor( private var adapter: BaseEpoxyAdapter? = null // ^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/stickyheader/StickyHeaderLinearLayoutManager#adapter. +// display_name adapter // documentation ```kt\nprivate final var adapter: [Error type: Unresolved type for BaseEpoxyAdapter]?\n``` // ^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/stickyheader/StickyHeaderLinearLayoutManager#getAdapter(). +// display_name adapter // documentation ```kt\nprivate final var adapter: [Error type: Unresolved type for BaseEpoxyAdapter]?\n``` // ^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/stickyheader/StickyHeaderLinearLayoutManager#setAdapter(). +// display_name setAdapter // documentation ```kt\nprivate final fun setAdapter(newAdapter: [Error type: Unresolved type for RecyclerView.Adapter<*>]?)\n``` // Translation for header private var translationX: Float = 0f // ^^^^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/stickyheader/StickyHeaderLinearLayoutManager#getTranslationX(). +// display_name translationX // documentation ```kt\nprivate final var translationX: kotlin.Float\n``` // ^^^^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/stickyheader/StickyHeaderLinearLayoutManager#setTranslationX(). +// display_name translationX // documentation ```kt\nprivate final var translationX: kotlin.Float\n``` // ^^^^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/stickyheader/StickyHeaderLinearLayoutManager#translationX. +// display_name translationX // documentation ```kt\nprivate final var translationX: kotlin.Float\n``` // ^^^^^ reference semanticdb maven . . kotlin/Float# private var translationY: Float = 0f // ^^^^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/stickyheader/StickyHeaderLinearLayoutManager#getTranslationY(). +// display_name translationY // documentation ```kt\nprivate final var translationY: kotlin.Float\n``` // ^^^^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/stickyheader/StickyHeaderLinearLayoutManager#setTranslationY(). +// display_name translationY // documentation ```kt\nprivate final var translationY: kotlin.Float\n``` // ^^^^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/stickyheader/StickyHeaderLinearLayoutManager#translationY. +// display_name translationY // documentation ```kt\nprivate final var translationY: kotlin.Float\n``` // ^^^^^ reference semanticdb maven . . kotlin/Float# // Header positions for the currently displayed list and their observer. private val headerPositions = mutableListOf() // ^^^^^^^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/stickyheader/StickyHeaderLinearLayoutManager#getHeaderPositions(). +// display_name headerPositions // documentation ```kt\nprivate final val headerPositions: kotlin.collections.MutableList\n``` // ^^^^^^^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/stickyheader/StickyHeaderLinearLayoutManager#headerPositions. +// display_name headerPositions // documentation ```kt\nprivate final val headerPositions: kotlin.collections.MutableList\n``` // ^^^^^^^^^^^^^ reference semanticdb maven maven/org.jetbrains.kotlin/kotlin-stdlib 1.4.20-RC kotlin/collections/CollectionsKt#mutableListOf(). // ^^^ reference semanticdb maven . . kotlin/Int# private val headerPositionsObserver = HeaderPositionsAdapterDataObserver() // ^^^^^^^^^^^^^^^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/stickyheader/StickyHeaderLinearLayoutManager#getHeaderPositionsObserver(). +// display_name headerPositionsObserver // documentation ```kt\nprivate final val headerPositionsObserver: com.airbnb.epoxy.stickyheader.StickyHeaderLinearLayoutManager.HeaderPositionsAdapterDataObserver\n``` // ^^^^^^^^^^^^^^^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/stickyheader/StickyHeaderLinearLayoutManager#headerPositionsObserver. +// display_name headerPositionsObserver // documentation ```kt\nprivate final val headerPositionsObserver: com.airbnb.epoxy.stickyheader.StickyHeaderLinearLayoutManager.HeaderPositionsAdapterDataObserver\n``` // ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/stickyheader/StickyHeaderLinearLayoutManager#HeaderPositionsAdapterDataObserver#``(). // Sticky header's ViewHolder and dirty state. private var stickyHeader: View? = null // ^^^^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/stickyheader/StickyHeaderLinearLayoutManager#getStickyHeader(). +// display_name stickyHeader // documentation ```kt\nprivate final var stickyHeader: [Error type: Unresolved type for View]?\n``` // ^^^^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/stickyheader/StickyHeaderLinearLayoutManager#setStickyHeader(). +// display_name stickyHeader // documentation ```kt\nprivate final var stickyHeader: [Error type: Unresolved type for View]?\n``` // ^^^^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/stickyheader/StickyHeaderLinearLayoutManager#stickyHeader. +// display_name stickyHeader // documentation ```kt\nprivate final var stickyHeader: [Error type: Unresolved type for View]?\n``` private var stickyHeaderPosition = RecyclerView.NO_POSITION // ^^^^^^^^^^^^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/stickyheader/StickyHeaderLinearLayoutManager#getStickyHeaderPosition(). +// display_name stickyHeaderPosition // documentation ```kt\nprivate final var stickyHeaderPosition: [Error type: Error property type]\n``` // ^^^^^^^^^^^^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/stickyheader/StickyHeaderLinearLayoutManager#setStickyHeaderPosition(). +// display_name stickyHeaderPosition // documentation ```kt\nprivate final var stickyHeaderPosition: [Error type: Error property type]\n``` // ^^^^^^^^^^^^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/stickyheader/StickyHeaderLinearLayoutManager#stickyHeaderPosition. +// display_name stickyHeaderPosition // documentation ```kt\nprivate final var stickyHeaderPosition: [Error type: Error property type]\n``` // Save / Restore scroll state private var scrollPosition = RecyclerView.NO_POSITION // ^^^^^^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/stickyheader/StickyHeaderLinearLayoutManager#getScrollPosition(). +// display_name scrollPosition // documentation ```kt\nprivate final var scrollPosition: [Error type: Error property type]\n``` // ^^^^^^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/stickyheader/StickyHeaderLinearLayoutManager#scrollPosition. +// display_name scrollPosition // documentation ```kt\nprivate final var scrollPosition: [Error type: Error property type]\n``` // ^^^^^^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/stickyheader/StickyHeaderLinearLayoutManager#setScrollPosition(). +// display_name scrollPosition // documentation ```kt\nprivate final var scrollPosition: [Error type: Error property type]\n``` private var scrollOffset = 0 // ^^^^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/stickyheader/StickyHeaderLinearLayoutManager#getScrollOffset(). +// display_name scrollOffset // documentation ```kt\nprivate final var scrollOffset: kotlin.Int\n``` // ^^^^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/stickyheader/StickyHeaderLinearLayoutManager#scrollOffset. +// display_name scrollOffset // documentation ```kt\nprivate final var scrollOffset: kotlin.Int\n``` // ^^^^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/stickyheader/StickyHeaderLinearLayoutManager#setScrollOffset(). +// display_name scrollOffset // documentation ```kt\nprivate final var scrollOffset: kotlin.Int\n``` override fun onAttachedToWindow(recyclerView: RecyclerView) { // ^^^^^^^^^^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/stickyheader/StickyHeaderLinearLayoutManager#onAttachedToWindow(). +// display_name onAttachedToWindow // documentation ```kt\npublic open fun onAttachedToWindow(recyclerView: [Error type: Unresolved type for RecyclerView])\n``` // ^^^^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/stickyheader/StickyHeaderLinearLayoutManager#onAttachedToWindow().(recyclerView) +// display_name recyclerView // documentation ```kt\nvalue-parameter recyclerView: [Error type: Unresolved type for RecyclerView]\n``` super.onAttachedToWindow(recyclerView) // ^^^^^ reference semanticdb maven . . kotlin/Any# @@ -149,10 +181,13 @@ class StickyHeaderLinearLayoutManager @JvmOverloads constructor( override fun onAdapterChanged(oldAdapter: RecyclerView.Adapter<*>?, newAdapter: RecyclerView.Adapter<*>?) { // ^^^^^^^^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/stickyheader/StickyHeaderLinearLayoutManager#onAdapterChanged(). +// display_name onAdapterChanged // documentation ```kt\npublic open fun onAdapterChanged(oldAdapter: [Error type: Unresolved type for RecyclerView.Adapter<*>]?, newAdapter: [Error type: Unresolved type for RecyclerView.Adapter<*>]?)\n``` // ^^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/stickyheader/StickyHeaderLinearLayoutManager#onAdapterChanged().(oldAdapter) +// display_name oldAdapter // documentation ```kt\nvalue-parameter oldAdapter: [Error type: Unresolved type for RecyclerView.Adapter<*>]?\n``` // ^^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/stickyheader/StickyHeaderLinearLayoutManager#onAdapterChanged().(newAdapter) +// display_name newAdapter // documentation ```kt\nvalue-parameter newAdapter: [Error type: Unresolved type for RecyclerView.Adapter<*>]?\n``` super.onAdapterChanged(oldAdapter, newAdapter) // ^^^^^ reference semanticdb maven . . kotlin/Any# @@ -167,8 +202,10 @@ class StickyHeaderLinearLayoutManager @JvmOverloads constructor( // ^^^^^^^^ reference semanticdb maven maven/org.jetbrains.kotlin/kotlin-stdlib 1.4.20-RC kotlin/Suppress#``(). private fun setAdapter(newAdapter: RecyclerView.Adapter<*>?) { // ^^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/stickyheader/StickyHeaderLinearLayoutManager#setAdapter(). +// display_name setAdapter // documentation ```kt\nprivate final fun setAdapter(newAdapter: [Error type: Unresolved type for RecyclerView.Adapter<*>]?)\n``` // ^^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/stickyheader/StickyHeaderLinearLayoutManager#setAdapter().(newAdapter) +// display_name newAdapter // documentation ```kt\nvalue-parameter newAdapter: [Error type: Unresolved type for RecyclerView.Adapter<*>]?\n``` adapter?.unregisterAdapterDataObserver(headerPositionsObserver) // ^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/stickyheader/StickyHeaderLinearLayoutManager#adapter. @@ -207,6 +244,7 @@ class StickyHeaderLinearLayoutManager @JvmOverloads constructor( override fun onSaveInstanceState(): Parcelable { // ^^^^^^^^^^^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/stickyheader/StickyHeaderLinearLayoutManager#onSaveInstanceState(). +// display_name onSaveInstanceState // documentation ```kt\npublic open fun onSaveInstanceState(): [Error type: Unresolved type for Parcelable]\n``` return SavedState( // ^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/stickyheader/StickyHeaderLinearLayoutManager#SavedState#``(). @@ -228,8 +266,10 @@ class StickyHeaderLinearLayoutManager @JvmOverloads constructor( override fun onRestoreInstanceState(state: Parcelable?) { // ^^^^^^^^^^^^^^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/stickyheader/StickyHeaderLinearLayoutManager#onRestoreInstanceState(). +// display_name onRestoreInstanceState // documentation ```kt\npublic open fun onRestoreInstanceState(state: [Error type: Unresolved type for Parcelable]?)\n``` // ^^^^^ definition semanticdb maven . . com/airbnb/epoxy/stickyheader/StickyHeaderLinearLayoutManager#onRestoreInstanceState().(state) +// display_name state // documentation ```kt\nvalue-parameter state: [Error type: Unresolved type for Parcelable]?\n``` (state as? SavedState)?.let { // ^^^^^ reference semanticdb maven . . com/airbnb/epoxy/stickyheader/StickyHeaderLinearLayoutManager#onRestoreInstanceState().(state) @@ -259,17 +299,22 @@ class StickyHeaderLinearLayoutManager @JvmOverloads constructor( override fun scrollVerticallyBy(dy: Int, recycler: RecyclerView.Recycler, state: RecyclerView.State?): Int { // ^^^^^^^^^^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/stickyheader/StickyHeaderLinearLayoutManager#scrollVerticallyBy(). +// display_name scrollVerticallyBy // documentation ```kt\npublic open fun scrollVerticallyBy(dy: kotlin.Int, recycler: [Error type: Unresolved type for RecyclerView.Recycler], state: [Error type: Unresolved type for RecyclerView.State]?): kotlin.Int\n``` // ^^ definition semanticdb maven . . com/airbnb/epoxy/stickyheader/StickyHeaderLinearLayoutManager#scrollVerticallyBy().(dy) +// display_name dy // documentation ```kt\nvalue-parameter dy: kotlin.Int\n``` // ^^^ reference semanticdb maven . . kotlin/Int# // ^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/stickyheader/StickyHeaderLinearLayoutManager#scrollVerticallyBy().(recycler) +// display_name recycler // documentation ```kt\nvalue-parameter recycler: [Error type: Unresolved type for RecyclerView.Recycler]\n``` // ^^^^^ definition semanticdb maven . . com/airbnb/epoxy/stickyheader/StickyHeaderLinearLayoutManager#scrollVerticallyBy().(state) +// display_name state // documentation ```kt\nvalue-parameter state: [Error type: Unresolved type for RecyclerView.State]?\n``` // ^^^ reference semanticdb maven . . kotlin/Int# val scrolled = restoreView { super.scrollVerticallyBy(dy, recycler, state) } // ^^^^^^^^ definition local 1 +// display_name scrolled // documentation ```kt\nval scrolled: kotlin.Unit\n``` // ^^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/stickyheader/StickyHeaderLinearLayoutManager#restoreView(). // ^^^^^ reference semanticdb maven . . kotlin/Any# @@ -289,17 +334,22 @@ class StickyHeaderLinearLayoutManager @JvmOverloads constructor( override fun scrollHorizontallyBy(dx: Int, recycler: RecyclerView.Recycler, state: RecyclerView.State?): Int { // ^^^^^^^^^^^^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/stickyheader/StickyHeaderLinearLayoutManager#scrollHorizontallyBy(). +// display_name scrollHorizontallyBy // documentation ```kt\npublic open fun scrollHorizontallyBy(dx: kotlin.Int, recycler: [Error type: Unresolved type for RecyclerView.Recycler], state: [Error type: Unresolved type for RecyclerView.State]?): kotlin.Int\n``` // ^^ definition semanticdb maven . . com/airbnb/epoxy/stickyheader/StickyHeaderLinearLayoutManager#scrollHorizontallyBy().(dx) +// display_name dx // documentation ```kt\nvalue-parameter dx: kotlin.Int\n``` // ^^^ reference semanticdb maven . . kotlin/Int# // ^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/stickyheader/StickyHeaderLinearLayoutManager#scrollHorizontallyBy().(recycler) +// display_name recycler // documentation ```kt\nvalue-parameter recycler: [Error type: Unresolved type for RecyclerView.Recycler]\n``` // ^^^^^ definition semanticdb maven . . com/airbnb/epoxy/stickyheader/StickyHeaderLinearLayoutManager#scrollHorizontallyBy().(state) +// display_name state // documentation ```kt\nvalue-parameter state: [Error type: Unresolved type for RecyclerView.State]?\n``` // ^^^ reference semanticdb maven . . kotlin/Int# val scrolled = restoreView { super.scrollHorizontallyBy(dx, recycler, state) } // ^^^^^^^^ definition local 2 +// display_name scrolled // documentation ```kt\nval scrolled: kotlin.Unit\n``` // ^^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/stickyheader/StickyHeaderLinearLayoutManager#restoreView(). // ^^^^^ reference semanticdb maven . . kotlin/Any# @@ -319,10 +369,13 @@ class StickyHeaderLinearLayoutManager @JvmOverloads constructor( override fun onLayoutChildren(recycler: RecyclerView.Recycler, state: RecyclerView.State) { // ^^^^^^^^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/stickyheader/StickyHeaderLinearLayoutManager#onLayoutChildren(). +// display_name onLayoutChildren // documentation ```kt\npublic open fun onLayoutChildren(recycler: [Error type: Unresolved type for RecyclerView.Recycler], state: [Error type: Unresolved type for RecyclerView.State])\n``` // ^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/stickyheader/StickyHeaderLinearLayoutManager#onLayoutChildren().(recycler) +// display_name recycler // documentation ```kt\nvalue-parameter recycler: [Error type: Unresolved type for RecyclerView.Recycler]\n``` // ^^^^^ definition semanticdb maven . . com/airbnb/epoxy/stickyheader/StickyHeaderLinearLayoutManager#onLayoutChildren().(state) +// display_name state // documentation ```kt\nvalue-parameter state: [Error type: Unresolved type for RecyclerView.State]\n``` restoreView { super.onLayoutChildren(recycler, state) } // ^^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/stickyheader/StickyHeaderLinearLayoutManager#restoreView(). @@ -339,8 +392,10 @@ class StickyHeaderLinearLayoutManager @JvmOverloads constructor( override fun scrollToPosition(position: Int) = scrollToPositionWithOffset(position, INVALID_OFFSET) // ^^^^^^^^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/stickyheader/StickyHeaderLinearLayoutManager#scrollToPosition(). +// display_name scrollToPosition // documentation ```kt\npublic open fun scrollToPosition(position: kotlin.Int)\n``` // ^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/stickyheader/StickyHeaderLinearLayoutManager#scrollToPosition().(position) +// display_name position // documentation ```kt\nvalue-parameter position: kotlin.Int\n``` // ^^^ reference semanticdb maven . . kotlin/Int# // ^^^^^^^^^^^^^^^^^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/stickyheader/StickyHeaderLinearLayoutManager#scrollToPositionWithOffset(). @@ -348,11 +403,14 @@ class StickyHeaderLinearLayoutManager @JvmOverloads constructor( override fun scrollToPositionWithOffset(position: Int, offset: Int) = scrollToPositionWithOffset(position, offset, true) // ^^^^^^^^^^^^^^^^^^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/stickyheader/StickyHeaderLinearLayoutManager#scrollToPositionWithOffset(). +// display_name scrollToPositionWithOffset // documentation ```kt\npublic open fun scrollToPositionWithOffset(position: kotlin.Int, offset: kotlin.Int)\n``` // ^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/stickyheader/StickyHeaderLinearLayoutManager#scrollToPositionWithOffset().(position) +// display_name position // documentation ```kt\nvalue-parameter position: kotlin.Int\n``` // ^^^ reference semanticdb maven . . kotlin/Int# // ^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/stickyheader/StickyHeaderLinearLayoutManager#scrollToPositionWithOffset().(offset) +// display_name offset // documentation ```kt\nvalue-parameter offset: kotlin.Int\n``` // ^^^ reference semanticdb maven . . kotlin/Int# // ^^^^^^^^^^^^^^^^^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/stickyheader/StickyHeaderLinearLayoutManager#scrollToPositionWithOffset(+1). @@ -361,14 +419,18 @@ class StickyHeaderLinearLayoutManager @JvmOverloads constructor( private fun scrollToPositionWithOffset(position: Int, offset: Int, adjustForStickyHeader: Boolean) { // ^^^^^^^^^^^^^^^^^^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/stickyheader/StickyHeaderLinearLayoutManager#scrollToPositionWithOffset(+1). +// display_name scrollToPositionWithOffset // documentation ```kt\nprivate final fun scrollToPositionWithOffset(position: kotlin.Int, offset: kotlin.Int, adjustForStickyHeader: kotlin.Boolean)\n``` // ^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/stickyheader/StickyHeaderLinearLayoutManager#scrollToPositionWithOffset(+1).(position) +// display_name position // documentation ```kt\nvalue-parameter position: kotlin.Int\n``` // ^^^ reference semanticdb maven . . kotlin/Int# // ^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/stickyheader/StickyHeaderLinearLayoutManager#scrollToPositionWithOffset(+1).(offset) +// display_name offset // documentation ```kt\nvalue-parameter offset: kotlin.Int\n``` // ^^^ reference semanticdb maven . . kotlin/Int# // ^^^^^^^^^^^^^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/stickyheader/StickyHeaderLinearLayoutManager#scrollToPositionWithOffset(+1).(adjustForStickyHeader) +// display_name adjustForStickyHeader // documentation ```kt\nvalue-parameter adjustForStickyHeader: kotlin.Boolean\n``` // ^^^^^^^ reference semanticdb maven . . kotlin/Boolean# // Reset pending scroll. @@ -389,6 +451,7 @@ class StickyHeaderLinearLayoutManager @JvmOverloads constructor( // There is no header above or the position is a header. val headerIndex = findHeaderIndexOrBefore(position) // ^^^^^^^^^^^ definition local 3 +// display_name headerIndex // documentation ```kt\nval headerIndex: kotlin.Int\n``` // ^^^^^^^^^^^^^^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/stickyheader/StickyHeaderLinearLayoutManager#findHeaderIndexOrBefore(). // ^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/stickyheader/StickyHeaderLinearLayoutManager#scrollToPositionWithOffset(+1).(position) @@ -435,6 +498,7 @@ class StickyHeaderLinearLayoutManager @JvmOverloads constructor( // ^^^^^^^^^^^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/stickyheader/StickyHeaderLinearLayoutManager#stickyHeaderPosition. val adjustedOffset = (if (offset != INVALID_OFFSET) offset else 0) + stickyHeader!!.height // ^^^^^^^^^^^^^^ definition local 4 +// display_name adjustedOffset // documentation ```kt\nval adjustedOffset: [Error type: Not found recorded type for (if (offset != INVALID_OFFSET) offset else 0) + stickyHeader!!.height]\n``` // ^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/stickyheader/StickyHeaderLinearLayoutManager#scrollToPositionWithOffset(+1).(offset) // ^^ reference semanticdb maven . . kotlin/Int#equals(). @@ -465,8 +529,10 @@ class StickyHeaderLinearLayoutManager @JvmOverloads constructor( override fun computeVerticalScrollExtent(state: RecyclerView.State): Int = restoreView { super.computeVerticalScrollExtent(state) } // ^^^^^^^^^^^^^^^^^^^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/stickyheader/StickyHeaderLinearLayoutManager#computeVerticalScrollExtent(). +// display_name computeVerticalScrollExtent // documentation ```kt\npublic open fun computeVerticalScrollExtent(state: [Error type: Unresolved type for RecyclerView.State]): kotlin.Int\n``` // ^^^^^ definition semanticdb maven . . com/airbnb/epoxy/stickyheader/StickyHeaderLinearLayoutManager#computeVerticalScrollExtent().(state) +// display_name state // documentation ```kt\nvalue-parameter state: [Error type: Unresolved type for RecyclerView.State]\n``` // ^^^ reference semanticdb maven . . kotlin/Int# // ^^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/stickyheader/StickyHeaderLinearLayoutManager#restoreView(). @@ -475,8 +541,10 @@ class StickyHeaderLinearLayoutManager @JvmOverloads constructor( override fun computeVerticalScrollOffset(state: RecyclerView.State): Int = restoreView { super.computeVerticalScrollOffset(state) } // ^^^^^^^^^^^^^^^^^^^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/stickyheader/StickyHeaderLinearLayoutManager#computeVerticalScrollOffset(). +// display_name computeVerticalScrollOffset // documentation ```kt\npublic open fun computeVerticalScrollOffset(state: [Error type: Unresolved type for RecyclerView.State]): kotlin.Int\n``` // ^^^^^ definition semanticdb maven . . com/airbnb/epoxy/stickyheader/StickyHeaderLinearLayoutManager#computeVerticalScrollOffset().(state) +// display_name state // documentation ```kt\nvalue-parameter state: [Error type: Unresolved type for RecyclerView.State]\n``` // ^^^ reference semanticdb maven . . kotlin/Int# // ^^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/stickyheader/StickyHeaderLinearLayoutManager#restoreView(). @@ -485,8 +553,10 @@ class StickyHeaderLinearLayoutManager @JvmOverloads constructor( override fun computeVerticalScrollRange(state: RecyclerView.State): Int = restoreView { super.computeVerticalScrollRange(state) } // ^^^^^^^^^^^^^^^^^^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/stickyheader/StickyHeaderLinearLayoutManager#computeVerticalScrollRange(). +// display_name computeVerticalScrollRange // documentation ```kt\npublic open fun computeVerticalScrollRange(state: [Error type: Unresolved type for RecyclerView.State]): kotlin.Int\n``` // ^^^^^ definition semanticdb maven . . com/airbnb/epoxy/stickyheader/StickyHeaderLinearLayoutManager#computeVerticalScrollRange().(state) +// display_name state // documentation ```kt\nvalue-parameter state: [Error type: Unresolved type for RecyclerView.State]\n``` // ^^^ reference semanticdb maven . . kotlin/Int# // ^^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/stickyheader/StickyHeaderLinearLayoutManager#restoreView(). @@ -495,8 +565,10 @@ class StickyHeaderLinearLayoutManager @JvmOverloads constructor( override fun computeHorizontalScrollExtent(state: RecyclerView.State): Int = restoreView { super.computeHorizontalScrollExtent(state) } // ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/stickyheader/StickyHeaderLinearLayoutManager#computeHorizontalScrollExtent(). +// display_name computeHorizontalScrollExtent // documentation ```kt\npublic open fun computeHorizontalScrollExtent(state: [Error type: Unresolved type for RecyclerView.State]): kotlin.Int\n``` // ^^^^^ definition semanticdb maven . . com/airbnb/epoxy/stickyheader/StickyHeaderLinearLayoutManager#computeHorizontalScrollExtent().(state) +// display_name state // documentation ```kt\nvalue-parameter state: [Error type: Unresolved type for RecyclerView.State]\n``` // ^^^ reference semanticdb maven . . kotlin/Int# // ^^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/stickyheader/StickyHeaderLinearLayoutManager#restoreView(). @@ -505,8 +577,10 @@ class StickyHeaderLinearLayoutManager @JvmOverloads constructor( override fun computeHorizontalScrollOffset(state: RecyclerView.State): Int = restoreView { super.computeHorizontalScrollOffset(state) } // ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/stickyheader/StickyHeaderLinearLayoutManager#computeHorizontalScrollOffset(). +// display_name computeHorizontalScrollOffset // documentation ```kt\npublic open fun computeHorizontalScrollOffset(state: [Error type: Unresolved type for RecyclerView.State]): kotlin.Int\n``` // ^^^^^ definition semanticdb maven . . com/airbnb/epoxy/stickyheader/StickyHeaderLinearLayoutManager#computeHorizontalScrollOffset().(state) +// display_name state // documentation ```kt\nvalue-parameter state: [Error type: Unresolved type for RecyclerView.State]\n``` // ^^^ reference semanticdb maven . . kotlin/Int# // ^^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/stickyheader/StickyHeaderLinearLayoutManager#restoreView(). @@ -515,8 +589,10 @@ class StickyHeaderLinearLayoutManager @JvmOverloads constructor( override fun computeHorizontalScrollRange(state: RecyclerView.State): Int = restoreView { super.computeHorizontalScrollRange(state) } // ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/stickyheader/StickyHeaderLinearLayoutManager#computeHorizontalScrollRange(). +// display_name computeHorizontalScrollRange // documentation ```kt\npublic open fun computeHorizontalScrollRange(state: [Error type: Unresolved type for RecyclerView.State]): kotlin.Int\n``` // ^^^^^ definition semanticdb maven . . com/airbnb/epoxy/stickyheader/StickyHeaderLinearLayoutManager#computeHorizontalScrollRange().(state) +// display_name state // documentation ```kt\nvalue-parameter state: [Error type: Unresolved type for RecyclerView.State]\n``` // ^^^ reference semanticdb maven . . kotlin/Int# // ^^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/stickyheader/StickyHeaderLinearLayoutManager#restoreView(). @@ -525,8 +601,10 @@ class StickyHeaderLinearLayoutManager @JvmOverloads constructor( override fun computeScrollVectorForPosition(targetPosition: Int): PointF? = restoreView { super.computeScrollVectorForPosition(targetPosition) } // ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/stickyheader/StickyHeaderLinearLayoutManager#computeScrollVectorForPosition(). +// display_name computeScrollVectorForPosition // documentation ```kt\npublic open fun computeScrollVectorForPosition(targetPosition: kotlin.Int): [Error type: Unresolved type for PointF]?\n``` // ^^^^^^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/stickyheader/StickyHeaderLinearLayoutManager#computeScrollVectorForPosition().(targetPosition) +// display_name targetPosition // documentation ```kt\nvalue-parameter targetPosition: kotlin.Int\n``` // ^^^ reference semanticdb maven . . kotlin/Int# // ^^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/stickyheader/StickyHeaderLinearLayoutManager#restoreView(). @@ -535,19 +613,24 @@ class StickyHeaderLinearLayoutManager @JvmOverloads constructor( override fun onFocusSearchFailed( // ^^^^^^^^^^^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/stickyheader/StickyHeaderLinearLayoutManager#onFocusSearchFailed(). +// display_name onFocusSearchFailed // documentation ```kt\npublic open fun onFocusSearchFailed(focused: [Error type: Unresolved type for View], focusDirection: kotlin.Int, recycler: [Error type: Unresolved type for RecyclerView.Recycler], state: [Error type: Unresolved type for RecyclerView.State]): [Error type: Unresolved type for View]?\n``` focused: View, // ^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/stickyheader/StickyHeaderLinearLayoutManager#onFocusSearchFailed().(focused) +// display_name focused // documentation ```kt\nvalue-parameter focused: [Error type: Unresolved type for View]\n``` focusDirection: Int, // ^^^^^^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/stickyheader/StickyHeaderLinearLayoutManager#onFocusSearchFailed().(focusDirection) +// display_name focusDirection // documentation ```kt\nvalue-parameter focusDirection: kotlin.Int\n``` // ^^^ reference semanticdb maven . . kotlin/Int# recycler: RecyclerView.Recycler, // ^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/stickyheader/StickyHeaderLinearLayoutManager#onFocusSearchFailed().(recycler) +// display_name recycler // documentation ```kt\nvalue-parameter recycler: [Error type: Unresolved type for RecyclerView.Recycler]\n``` state: RecyclerView.State // ^^^^^ definition semanticdb maven . . com/airbnb/epoxy/stickyheader/StickyHeaderLinearLayoutManager#onFocusSearchFailed().(state) +// display_name state // documentation ```kt\nvalue-parameter state: [Error type: Unresolved type for RecyclerView.State]\n``` ): View? = restoreView { super.onFocusSearchFailed(focused, focusDirection, recycler, state) } // ^^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/stickyheader/StickyHeaderLinearLayoutManager#restoreView(). @@ -563,10 +646,13 @@ class StickyHeaderLinearLayoutManager @JvmOverloads constructor( */ private fun restoreView(operation: () -> T): T { // ^ definition semanticdb maven . . com/airbnb/epoxy/stickyheader/StickyHeaderLinearLayoutManager#restoreView().[T] +// display_name T // documentation ```kt\n\n``` // ^^^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/stickyheader/StickyHeaderLinearLayoutManager#restoreView(). +// display_name restoreView // documentation ```kt\nprivate final fun restoreView(operation: () -> T): T\n```\n\n----\n\n\n Perform the [operation] without the sticky header view by\n detaching the view -> performing operation -> detaching the view.\n // ^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/stickyheader/StickyHeaderLinearLayoutManager#restoreView().(operation) +// display_name operation // documentation ```kt\nvalue-parameter operation: () -> T\n``` // ^ reference semanticdb maven . . com/airbnb/epoxy/stickyheader/StickyHeaderLinearLayoutManager#restoreView().[T] // ^ reference semanticdb maven . . com/airbnb/epoxy/stickyheader/StickyHeaderLinearLayoutManager#restoreView().[T] @@ -577,6 +663,7 @@ class StickyHeaderLinearLayoutManager @JvmOverloads constructor( // ^^^^ reference semanticdb maven . . com/airbnb/epoxy/stickyheader/StickyHeaderLinearLayoutManager# val result = operation() // ^^^^^^ definition local 5 +// display_name result // documentation ```kt\nval result: T\n``` // ^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/stickyheader/StickyHeaderLinearLayoutManager#restoreView().(operation) stickyHeader?.let(this::attachView) @@ -595,8 +682,10 @@ class StickyHeaderLinearLayoutManager @JvmOverloads constructor( */ fun setStickyHeaderTranslationY(translationY: Float) { // ^^^^^^^^^^^^^^^^^^^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/stickyheader/StickyHeaderLinearLayoutManager#setStickyHeaderTranslationY(). +// display_name setStickyHeaderTranslationY // documentation ```kt\npublic final fun setStickyHeaderTranslationY(translationY: kotlin.Float)\n```\n\n----\n\n\n Offsets the vertical location of the sticky header relative to the its default position.\n // ^^^^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/stickyheader/StickyHeaderLinearLayoutManager#setStickyHeaderTranslationY().(translationY) +// display_name translationY // documentation ```kt\nvalue-parameter translationY: kotlin.Float\n``` // ^^^^^ reference semanticdb maven . . kotlin/Float# this.translationY = translationY @@ -613,8 +702,10 @@ class StickyHeaderLinearLayoutManager @JvmOverloads constructor( */ fun setStickyHeaderTranslationX(translationX: Float) { // ^^^^^^^^^^^^^^^^^^^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/stickyheader/StickyHeaderLinearLayoutManager#setStickyHeaderTranslationX(). +// display_name setStickyHeaderTranslationX // documentation ```kt\npublic final fun setStickyHeaderTranslationX(translationX: kotlin.Float)\n```\n\n----\n\n\n Offsets the horizontal location of the sticky header relative to the its default position.\n // ^^^^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/stickyheader/StickyHeaderLinearLayoutManager#setStickyHeaderTranslationX().(translationX) +// display_name translationX // documentation ```kt\nvalue-parameter translationX: kotlin.Float\n``` // ^^^^^ reference semanticdb maven . . kotlin/Float# this.translationX = translationX @@ -631,8 +722,10 @@ class StickyHeaderLinearLayoutManager @JvmOverloads constructor( */ fun isStickyHeader(view: View): Boolean = view === stickyHeader // ^^^^^^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/stickyheader/StickyHeaderLinearLayoutManager#isStickyHeader(). +// display_name isStickyHeader // documentation ```kt\npublic final fun isStickyHeader(view: [Error type: Unresolved type for View]): kotlin.Boolean\n```\n\n----\n\n\n Returns true if `view` is the current sticky header.\n // ^^^^ definition semanticdb maven . . com/airbnb/epoxy/stickyheader/StickyHeaderLinearLayoutManager#isStickyHeader().(view) +// display_name view // documentation ```kt\nvalue-parameter view: [Error type: Unresolved type for View]\n``` // ^^^^^^^ reference semanticdb maven . . kotlin/Boolean# // ^^^^ reference semanticdb maven . . com/airbnb/epoxy/stickyheader/StickyHeaderLinearLayoutManager#isStickyHeader().(view) @@ -645,14 +738,18 @@ class StickyHeaderLinearLayoutManager @JvmOverloads constructor( */ private fun updateStickyHeader(recycler: RecyclerView.Recycler, layout: Boolean) { // ^^^^^^^^^^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/stickyheader/StickyHeaderLinearLayoutManager#updateStickyHeader(). +// display_name updateStickyHeader // documentation ```kt\nprivate final fun updateStickyHeader(recycler: [Error type: Unresolved type for RecyclerView.Recycler], layout: kotlin.Boolean)\n```\n\n----\n\n\n Updates the sticky header state (creation, binding, display), to be called whenever there's a layout or scroll\n // ^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/stickyheader/StickyHeaderLinearLayoutManager#updateStickyHeader().(recycler) +// display_name recycler // documentation ```kt\nvalue-parameter recycler: [Error type: Unresolved type for RecyclerView.Recycler]\n``` // ^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/stickyheader/StickyHeaderLinearLayoutManager#updateStickyHeader().(layout) +// display_name layout // documentation ```kt\nvalue-parameter layout: kotlin.Boolean\n``` // ^^^^^^^ reference semanticdb maven . . kotlin/Boolean# val headerCount = headerPositions.size // ^^^^^^^^^^^ definition local 6 +// display_name headerCount // documentation ```kt\nval headerCount: kotlin.Int\n``` // ^^^^^^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/stickyheader/StickyHeaderLinearLayoutManager#getHeaderPositions(). // ^^^^^^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/stickyheader/StickyHeaderLinearLayoutManager#headerPositions. @@ -660,6 +757,7 @@ class StickyHeaderLinearLayoutManager @JvmOverloads constructor( // ^^^^ reference semanticdb maven . . kotlin/collections/MutableList#size. val childCount = childCount // ^^^^^^^^^^ definition local 7 +// display_name childCount // documentation ```kt\nval childCount: [Error type: Not found recorded type for childCount]\n``` if (headerCount > 0 && childCount > 0) { // ^^^^^^^^^^^ reference local 6 @@ -668,26 +766,32 @@ class StickyHeaderLinearLayoutManager @JvmOverloads constructor( // Find first valid child. var anchorView: View? = null // ^^^^^^^^^^ definition local 8 +// display_name anchorView // documentation ```kt\nvar anchorView: [Error type: Unresolved type for View]?\n``` var anchorIndex = -1 // ^^^^^^^^^^^ definition local 9 +// display_name anchorIndex // documentation ```kt\nvar anchorIndex: kotlin.Int\n``` // ^ reference semanticdb maven . . kotlin/Int#unaryMinus(). var anchorPos = -1 // ^^^^^^^^^ definition local 10 +// display_name anchorPos // documentation ```kt\nvar anchorPos: kotlin.Int\n``` // ^ reference semanticdb maven . . kotlin/Int#unaryMinus(). for (i in 0 until childCount) { // ^ definition local 11 +// display_name i // documentation ```kt\nval i: kotlin.Int\n``` // ^^^^^ reference semanticdb maven maven/org.jetbrains.kotlin/kotlin-stdlib 1.4.20-RC kotlin/ranges/RangesKt#until(+6). // ^^^^^^^^^^ reference local 7 val child = getChildAt(i) // ^^^^^ definition local 12 +// display_name child // documentation ```kt\nval child: [Error type: Not found recorded type for getChildAt(i)]\n``` // ^ reference local 11 val params = child!!.layoutParams as RecyclerView.LayoutParams // ^^^^^^ definition local 13 +// display_name params // documentation ```kt\nval params: [Error type: Unresolved type for RecyclerView.LayoutParams]\n``` // ^^^^^ reference local 12 if (isViewValidAnchor(child, params)) { @@ -713,11 +817,13 @@ class StickyHeaderLinearLayoutManager @JvmOverloads constructor( // ^ reference semanticdb maven . . kotlin/Int#unaryMinus(). val headerIndex = findHeaderIndexOrBefore(anchorPos) // ^^^^^^^^^^^ definition local 14 +// display_name headerIndex // documentation ```kt\nval headerIndex: kotlin.Int\n``` // ^^^^^^^^^^^^^^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/stickyheader/StickyHeaderLinearLayoutManager#findHeaderIndexOrBefore(). // ^^^^^^^^^ reference local 10 val headerPos = if (headerIndex != -1) headerPositions[headerIndex] else -1 // ^^^^^^^^^ definition local 15 +// display_name headerPos // documentation ```kt\nval headerPos: kotlin.Int\n``` // ^^^^^^^^^^^ reference local 14 // ^^ reference semanticdb maven . . kotlin/Int#equals(). @@ -728,6 +834,7 @@ class StickyHeaderLinearLayoutManager @JvmOverloads constructor( // ^ reference semanticdb maven . . kotlin/Int#unaryMinus(). val nextHeaderPos = if (headerCount > headerIndex + 1) headerPositions[headerIndex + 1] else -1 // ^^^^^^^^^^^^^ definition local 16 +// display_name nextHeaderPos // documentation ```kt\nval nextHeaderPos: kotlin.Int\n``` // ^^^^^^^^^^^ reference local 6 // ^ reference semanticdb maven . . kotlin/Int#compareTo(+3). @@ -807,12 +914,14 @@ class StickyHeaderLinearLayoutManager @JvmOverloads constructor( // ^^^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/stickyheader/StickyHeaderLinearLayoutManager#stickyHeader. val nextHeaderView: View? = if (nextHeaderPos != -1) { // ^^^^^^^^^^^^^^ definition local 17 +// display_name nextHeaderView // documentation ```kt\nval nextHeaderView: [Error type: Unresolved type for View]?\n``` // ^^^^^^^^^^^^^ reference local 16 // ^^ reference semanticdb maven . . kotlin/Int#equals(). // ^ reference semanticdb maven . . kotlin/Int#unaryMinus(). val nextHeaderView = getChildAt(anchorIndex + (nextHeaderPos - anchorPos)) // ^^^^^^^^^^^^^^ definition local 18 +// display_name nextHeaderView // documentation ```kt\nval nextHeaderView: [Error type: Not found recorded type for getChildAt(anchorIndex + (nextHeaderPos - anchorPos))]\n``` // ^^^^^^^^^^^ reference local 9 // ^ reference semanticdb maven . . kotlin/Int#plus(+3). @@ -855,14 +964,18 @@ class StickyHeaderLinearLayoutManager @JvmOverloads constructor( */ private fun createStickyHeader(recycler: RecyclerView.Recycler, position: Int) { // ^^^^^^^^^^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/stickyheader/StickyHeaderLinearLayoutManager#createStickyHeader(). +// display_name createStickyHeader // documentation ```kt\nprivate final fun createStickyHeader(recycler: [Error type: Unresolved type for RecyclerView.Recycler], position: kotlin.Int)\n```\n\n----\n\n\n Creates [RecyclerView.ViewHolder] for [position], including measure / layout, and assigns it to\n [stickyHeader].\n // ^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/stickyheader/StickyHeaderLinearLayoutManager#createStickyHeader().(recycler) +// display_name recycler // documentation ```kt\nvalue-parameter recycler: [Error type: Unresolved type for RecyclerView.Recycler]\n``` // ^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/stickyheader/StickyHeaderLinearLayoutManager#createStickyHeader().(position) +// display_name position // documentation ```kt\nvalue-parameter position: kotlin.Int\n``` // ^^^ reference semanticdb maven . . kotlin/Int# val stickyHeader = recycler.getViewForPosition(position) // ^^^^^^^^^^^^ definition local 19 +// display_name stickyHeader // documentation ```kt\nval stickyHeader: [Error type: Return type for function cannot be resolved]\n``` // ^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/stickyheader/StickyHeaderLinearLayoutManager#createStickyHeader().(recycler) // ^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/stickyheader/StickyHeaderLinearLayoutManager#createStickyHeader().(position) @@ -905,12 +1018,16 @@ class StickyHeaderLinearLayoutManager @JvmOverloads constructor( */ private fun bindStickyHeader(recycler: RecyclerView.Recycler, stickyHeader: View, position: Int) { // ^^^^^^^^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/stickyheader/StickyHeaderLinearLayoutManager#bindStickyHeader(). +// display_name bindStickyHeader // documentation ```kt\nprivate final fun bindStickyHeader(recycler: [Error type: Unresolved type for RecyclerView.Recycler], stickyHeader: [Error type: Unresolved type for View], position: kotlin.Int)\n```\n\n----\n\n\n Binds the [stickyHeader] for the given [position].\n // ^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/stickyheader/StickyHeaderLinearLayoutManager#bindStickyHeader().(recycler) +// display_name recycler // documentation ```kt\nvalue-parameter recycler: [Error type: Unresolved type for RecyclerView.Recycler]\n``` // ^^^^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/stickyheader/StickyHeaderLinearLayoutManager#bindStickyHeader().(stickyHeader) +// display_name stickyHeader // documentation ```kt\nvalue-parameter stickyHeader: [Error type: Unresolved type for View]\n``` // ^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/stickyheader/StickyHeaderLinearLayoutManager#bindStickyHeader().(position) +// display_name position // documentation ```kt\nvalue-parameter position: kotlin.Int\n``` // ^^^ reference semanticdb maven . . kotlin/Int# // Bind the sticky header. @@ -936,6 +1053,7 @@ class StickyHeaderLinearLayoutManager @JvmOverloads constructor( // ^^^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/stickyheader/StickyHeaderLinearLayoutManager#bindStickyHeader().(stickyHeader) override fun onGlobalLayout() { // ^^^^^^^^^^^^^^ definition local 20 +// display_name onGlobalLayout // documentation ```kt\npublic open fun onGlobalLayout()\n``` if (Build.VERSION.SDK_INT < 16) stickyHeader.viewTreeObserver.removeGlobalOnLayoutListener(this) // ^^^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/stickyheader/StickyHeaderLinearLayoutManager#bindStickyHeader().(stickyHeader) @@ -968,8 +1086,10 @@ class StickyHeaderLinearLayoutManager @JvmOverloads constructor( */ private fun measureAndLayout(stickyHeader: View) { // ^^^^^^^^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/stickyheader/StickyHeaderLinearLayoutManager#measureAndLayout(). +// display_name measureAndLayout // documentation ```kt\nprivate final fun measureAndLayout(stickyHeader: [Error type: Unresolved type for View])\n```\n\n----\n\n\n Measures and lays out [stickyHeader].\n // ^^^^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/stickyheader/StickyHeaderLinearLayoutManager#measureAndLayout().(stickyHeader) +// display_name stickyHeader // documentation ```kt\nvalue-parameter stickyHeader: [Error type: Unresolved type for View]\n``` measureChildWithMargins(stickyHeader, 0, 0) // ^^^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/stickyheader/StickyHeaderLinearLayoutManager#measureAndLayout().(stickyHeader) @@ -991,11 +1111,14 @@ class StickyHeaderLinearLayoutManager @JvmOverloads constructor( */ private fun scrapStickyHeader(recycler: RecyclerView.Recycler?) { // ^^^^^^^^^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/stickyheader/StickyHeaderLinearLayoutManager#scrapStickyHeader(). +// display_name scrapStickyHeader // documentation ```kt\nprivate final fun scrapStickyHeader(recycler: [Error type: Unresolved type for RecyclerView.Recycler]?)\n```\n\n----\n\n\n Returns [stickyHeader] to the [RecyclerView]'s [RecyclerView.RecycledViewPool], assigning it\n to `null`.\n\n @param recycler If passed, the sticky header will be returned to the recycled view pool.\n // ^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/stickyheader/StickyHeaderLinearLayoutManager#scrapStickyHeader().(recycler) +// display_name recycler // documentation ```kt\nvalue-parameter recycler: [Error type: Unresolved type for RecyclerView.Recycler]?\n``` val stickyHeader = stickyHeader ?: return // ^^^^^^^^^^^^ definition local 21 +// display_name stickyHeader // documentation ```kt\nval stickyHeader: kotlin.Nothing\n``` // ^^^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/stickyheader/StickyHeaderLinearLayoutManager#getStickyHeader(). // ^^^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/stickyheader/StickyHeaderLinearLayoutManager#setStickyHeader(). @@ -1041,10 +1164,13 @@ class StickyHeaderLinearLayoutManager @JvmOverloads constructor( */ private fun isViewValidAnchor(view: View, params: RecyclerView.LayoutParams): Boolean { // ^^^^^^^^^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/stickyheader/StickyHeaderLinearLayoutManager#isViewValidAnchor(). +// display_name isViewValidAnchor // documentation ```kt\nprivate final fun isViewValidAnchor(view: [Error type: Unresolved type for View], params: [Error type: Unresolved type for RecyclerView.LayoutParams]): kotlin.Boolean\n```\n\n----\n\n\n Returns true when `view` is a valid anchor, ie. the first view to be valid and visible.\n // ^^^^ definition semanticdb maven . . com/airbnb/epoxy/stickyheader/StickyHeaderLinearLayoutManager#isViewValidAnchor().(view) +// display_name view // documentation ```kt\nvalue-parameter view: [Error type: Unresolved type for View]\n``` // ^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/stickyheader/StickyHeaderLinearLayoutManager#isViewValidAnchor().(params) +// display_name params // documentation ```kt\nvalue-parameter params: [Error type: Unresolved type for RecyclerView.LayoutParams]\n``` // ^^^^^^^ reference semanticdb maven . . kotlin/Boolean# return when { @@ -1089,8 +1215,10 @@ class StickyHeaderLinearLayoutManager @JvmOverloads constructor( */ private fun isViewOnBoundary(view: View): Boolean { // ^^^^^^^^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/stickyheader/StickyHeaderLinearLayoutManager#isViewOnBoundary(). +// display_name isViewOnBoundary // documentation ```kt\nprivate final fun isViewOnBoundary(view: [Error type: Unresolved type for View]): kotlin.Boolean\n```\n\n----\n\n\n Returns true when the `view` is at the edge of the parent [RecyclerView].\n // ^^^^ definition semanticdb maven . . com/airbnb/epoxy/stickyheader/StickyHeaderLinearLayoutManager#isViewOnBoundary().(view) +// display_name view // documentation ```kt\nvalue-parameter view: [Error type: Unresolved type for View]\n``` // ^^^^^^^ reference semanticdb maven . . kotlin/Boolean# return when (orientation) { @@ -1131,16 +1259,20 @@ class StickyHeaderLinearLayoutManager @JvmOverloads constructor( */ private fun getY(headerView: View, nextHeaderView: View?): Float { // ^^^^ definition semanticdb maven . . com/airbnb/epoxy/stickyheader/StickyHeaderLinearLayoutManager#getY(). +// display_name getY // documentation ```kt\nprivate final fun getY(headerView: [Error type: Unresolved type for View], nextHeaderView: [Error type: Unresolved type for View]?): kotlin.Float\n```\n\n----\n\n\n Returns the position in the Y axis to position the header appropriately, depending on orientation, direction and\n [android.R.attr.clipToPadding].\n // ^^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/stickyheader/StickyHeaderLinearLayoutManager#getY().(headerView) +// display_name headerView // documentation ```kt\nvalue-parameter headerView: [Error type: Unresolved type for View]\n``` // ^^^^^^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/stickyheader/StickyHeaderLinearLayoutManager#getY().(nextHeaderView) +// display_name nextHeaderView // documentation ```kt\nvalue-parameter nextHeaderView: [Error type: Unresolved type for View]?\n``` // ^^^^^ reference semanticdb maven . . kotlin/Float# when (orientation) { VERTICAL -> { var y = translationY // ^ definition local 22 +// display_name y // documentation ```kt\nvar y: kotlin.Float\n``` // ^^^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/stickyheader/StickyHeaderLinearLayoutManager#getTranslationY(). // ^^^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/stickyheader/StickyHeaderLinearLayoutManager#setTranslationY(). @@ -1154,10 +1286,12 @@ class StickyHeaderLinearLayoutManager @JvmOverloads constructor( // ^^^^^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/stickyheader/StickyHeaderLinearLayoutManager#getY().(nextHeaderView) val bottomMargin = (nextHeaderView.layoutParams as? ViewGroup.MarginLayoutParams)?.bottomMargin ?: 0 // ^^^^^^^^^^^^ definition local 23 +// display_name bottomMargin // documentation ```kt\nval bottomMargin: kotlin.Int\n``` // ^^^^^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/stickyheader/StickyHeaderLinearLayoutManager#getY().(nextHeaderView) val topMargin = (nextHeaderView.layoutParams as? ViewGroup.MarginLayoutParams)?.topMargin ?: 0 // ^^^^^^^^^ definition local 24 +// display_name topMargin // documentation ```kt\nval topMargin: kotlin.Int\n``` // ^^^^^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/stickyheader/StickyHeaderLinearLayoutManager#getY().(nextHeaderView) y = when { @@ -1189,16 +1323,20 @@ class StickyHeaderLinearLayoutManager @JvmOverloads constructor( */ private fun getX(headerView: View, nextHeaderView: View?): Float { // ^^^^ definition semanticdb maven . . com/airbnb/epoxy/stickyheader/StickyHeaderLinearLayoutManager#getX(). +// display_name getX // documentation ```kt\nprivate final fun getX(headerView: [Error type: Unresolved type for View], nextHeaderView: [Error type: Unresolved type for View]?): kotlin.Float\n```\n\n----\n\n\n Returns the position in the X axis to position the header appropriately, depending on orientation, direction and\n [android.R.attr.clipToPadding].\n // ^^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/stickyheader/StickyHeaderLinearLayoutManager#getX().(headerView) +// display_name headerView // documentation ```kt\nvalue-parameter headerView: [Error type: Unresolved type for View]\n``` // ^^^^^^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/stickyheader/StickyHeaderLinearLayoutManager#getX().(nextHeaderView) +// display_name nextHeaderView // documentation ```kt\nvalue-parameter nextHeaderView: [Error type: Unresolved type for View]?\n``` // ^^^^^ reference semanticdb maven . . kotlin/Float# when (orientation) { HORIZONTAL -> { var x = translationX // ^ definition local 25 +// display_name x // documentation ```kt\nvar x: kotlin.Float\n``` // ^^^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/stickyheader/StickyHeaderLinearLayoutManager#getTranslationX(). // ^^^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/stickyheader/StickyHeaderLinearLayoutManager#setTranslationX(). @@ -1212,10 +1350,12 @@ class StickyHeaderLinearLayoutManager @JvmOverloads constructor( // ^^^^^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/stickyheader/StickyHeaderLinearLayoutManager#getX().(nextHeaderView) val leftMargin = (nextHeaderView.layoutParams as? ViewGroup.MarginLayoutParams)?.leftMargin ?: 0 // ^^^^^^^^^^ definition local 26 +// display_name leftMargin // documentation ```kt\nval leftMargin: kotlin.Int\n``` // ^^^^^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/stickyheader/StickyHeaderLinearLayoutManager#getX().(nextHeaderView) val rightMargin = (nextHeaderView.layoutParams as? ViewGroup.MarginLayoutParams)?.rightMargin ?: 0 // ^^^^^^^^^^^ definition local 27 +// display_name rightMargin // documentation ```kt\nval rightMargin: kotlin.Int\n``` // ^^^^^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/stickyheader/StickyHeaderLinearLayoutManager#getX().(nextHeaderView) x = when { @@ -1246,16 +1386,20 @@ class StickyHeaderLinearLayoutManager @JvmOverloads constructor( */ private fun findHeaderIndex(position: Int): Int { // ^^^^^^^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/stickyheader/StickyHeaderLinearLayoutManager#findHeaderIndex(). +// display_name findHeaderIndex // documentation ```kt\nprivate final fun findHeaderIndex(position: kotlin.Int): kotlin.Int\n```\n\n----\n\n\n Finds the header index of `position` in `headerPositions`.\n // ^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/stickyheader/StickyHeaderLinearLayoutManager#findHeaderIndex().(position) +// display_name position // documentation ```kt\nvalue-parameter position: kotlin.Int\n``` // ^^^ reference semanticdb maven . . kotlin/Int# // ^^^ reference semanticdb maven . . kotlin/Int# var low = 0 // ^^^ definition local 28 +// display_name low // documentation ```kt\nvar low: kotlin.Int\n``` var high = headerPositions.size - 1 // ^^^^ definition local 29 +// display_name high // documentation ```kt\nvar high: kotlin.Int\n``` // ^^^^^^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/stickyheader/StickyHeaderLinearLayoutManager#getHeaderPositions(). // ^^^^^^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/stickyheader/StickyHeaderLinearLayoutManager#headerPositions. @@ -1268,6 +1412,7 @@ class StickyHeaderLinearLayoutManager @JvmOverloads constructor( // ^^^^ reference local 29 val middle = (low + high) / 2 // ^^^^^^ definition local 30 +// display_name middle // documentation ```kt\nval middle: kotlin.Int\n``` // ^^^ reference local 28 // ^ reference semanticdb maven . . kotlin/Int#plus(+3). @@ -1305,16 +1450,20 @@ class StickyHeaderLinearLayoutManager @JvmOverloads constructor( */ private fun findHeaderIndexOrBefore(position: Int): Int { // ^^^^^^^^^^^^^^^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/stickyheader/StickyHeaderLinearLayoutManager#findHeaderIndexOrBefore(). +// display_name findHeaderIndexOrBefore // documentation ```kt\nprivate final fun findHeaderIndexOrBefore(position: kotlin.Int): kotlin.Int\n```\n\n----\n\n\n Finds the header index of `position` or the one before it in `headerPositions`.\n // ^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/stickyheader/StickyHeaderLinearLayoutManager#findHeaderIndexOrBefore().(position) +// display_name position // documentation ```kt\nvalue-parameter position: kotlin.Int\n``` // ^^^ reference semanticdb maven . . kotlin/Int# // ^^^ reference semanticdb maven . . kotlin/Int# var low = 0 // ^^^ definition local 31 +// display_name low // documentation ```kt\nvar low: kotlin.Int\n``` var high = headerPositions.size - 1 // ^^^^ definition local 32 +// display_name high // documentation ```kt\nvar high: kotlin.Int\n``` // ^^^^^^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/stickyheader/StickyHeaderLinearLayoutManager#getHeaderPositions(). // ^^^^^^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/stickyheader/StickyHeaderLinearLayoutManager#headerPositions. @@ -1327,6 +1476,7 @@ class StickyHeaderLinearLayoutManager @JvmOverloads constructor( // ^^^^ reference local 32 val middle = (low + high) / 2 // ^^^^^^ definition local 33 +// display_name middle // documentation ```kt\nval middle: kotlin.Int\n``` // ^^^ reference local 31 // ^ reference semanticdb maven . . kotlin/Int#plus(+3). @@ -1372,16 +1522,20 @@ class StickyHeaderLinearLayoutManager @JvmOverloads constructor( */ private fun findHeaderIndexOrNext(position: Int): Int { // ^^^^^^^^^^^^^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/stickyheader/StickyHeaderLinearLayoutManager#findHeaderIndexOrNext(). +// display_name findHeaderIndexOrNext // documentation ```kt\nprivate final fun findHeaderIndexOrNext(position: kotlin.Int): kotlin.Int\n```\n\n----\n\n\n Finds the header index of `position` or the one next to it in `headerPositions`.\n // ^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/stickyheader/StickyHeaderLinearLayoutManager#findHeaderIndexOrNext().(position) +// display_name position // documentation ```kt\nvalue-parameter position: kotlin.Int\n``` // ^^^ reference semanticdb maven . . kotlin/Int# // ^^^ reference semanticdb maven . . kotlin/Int# var low = 0 // ^^^ definition local 34 +// display_name low // documentation ```kt\nvar low: kotlin.Int\n``` var high = headerPositions.size - 1 // ^^^^ definition local 35 +// display_name high // documentation ```kt\nvar high: kotlin.Int\n``` // ^^^^^^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/stickyheader/StickyHeaderLinearLayoutManager#getHeaderPositions(). // ^^^^^^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/stickyheader/StickyHeaderLinearLayoutManager#headerPositions. @@ -1394,6 +1548,7 @@ class StickyHeaderLinearLayoutManager @JvmOverloads constructor( // ^^^^ reference local 35 val middle = (low + high) / 2 // ^^^^^^ definition local 36 +// display_name middle // documentation ```kt\nval middle: kotlin.Int\n``` // ^^^ reference local 34 // ^ reference semanticdb maven . . kotlin/Int#plus(+3). @@ -1431,11 +1586,14 @@ class StickyHeaderLinearLayoutManager @JvmOverloads constructor( private fun setScrollState(position: Int, offset: Int) { // ^^^^^^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/stickyheader/StickyHeaderLinearLayoutManager#setScrollState(). +// display_name setScrollState // documentation ```kt\nprivate final fun setScrollState(position: kotlin.Int, offset: kotlin.Int)\n``` // ^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/stickyheader/StickyHeaderLinearLayoutManager#setScrollState().(position) +// display_name position // documentation ```kt\nvalue-parameter position: kotlin.Int\n``` // ^^^ reference semanticdb maven . . kotlin/Int# // ^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/stickyheader/StickyHeaderLinearLayoutManager#setScrollState().(offset) +// display_name offset // documentation ```kt\nvalue-parameter offset: kotlin.Int\n``` // ^^^ reference semanticdb maven . . kotlin/Int# scrollPosition = position @@ -1458,30 +1616,41 @@ class StickyHeaderLinearLayoutManager @JvmOverloads constructor( // ^^^^^^^^^ reference semanticdb maven maven/org.jetbrains.kotlin/kotlin-parcelize-runtime 1.4.20-RC kotlinx/android/parcel/Parcelize#``(). data class SavedState( // ^^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/stickyheader/StickyHeaderLinearLayoutManager#SavedState# +// display_name SavedState // documentation ```kt\npublic final data class SavedState\n```\n\n----\n\n\n Save / restore existing [RecyclerView] state and\n scrolling position and offset.\n // ^^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/stickyheader/StickyHeaderLinearLayoutManager#SavedState#``(). +// display_name SavedState // documentation ```kt\npublic constructor SavedState(superState: [Error type: Unresolved type for Parcelable]?, scrollPosition: kotlin.Int, scrollOffset: kotlin.Int)\n``` val superState: Parcelable?, // ^^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/stickyheader/StickyHeaderLinearLayoutManager#SavedState#``().(superState) +// display_name superState // documentation ```kt\nvalue-parameter superState: [Error type: Unresolved type for Parcelable]?\n``` // ^^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/stickyheader/StickyHeaderLinearLayoutManager#SavedState#getSuperState(). +// display_name superState // documentation ```kt\npublic final val superState: [Error type: Unresolved type for Parcelable]?\n``` // ^^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/stickyheader/StickyHeaderLinearLayoutManager#SavedState#superState. +// display_name superState // documentation ```kt\npublic final val superState: [Error type: Unresolved type for Parcelable]?\n``` val scrollPosition: Int, // ^^^^^^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/stickyheader/StickyHeaderLinearLayoutManager#SavedState#``().(scrollPosition) +// display_name scrollPosition // documentation ```kt\nvalue-parameter scrollPosition: kotlin.Int\n``` // ^^^^^^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/stickyheader/StickyHeaderLinearLayoutManager#SavedState#getScrollPosition(). +// display_name scrollPosition // documentation ```kt\npublic final val scrollPosition: kotlin.Int\n``` // ^^^^^^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/stickyheader/StickyHeaderLinearLayoutManager#SavedState#scrollPosition. +// display_name scrollPosition // documentation ```kt\npublic final val scrollPosition: kotlin.Int\n``` // ^^^ reference semanticdb maven . . kotlin/Int# val scrollOffset: Int // ^^^^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/stickyheader/StickyHeaderLinearLayoutManager#SavedState#``().(scrollOffset) +// display_name scrollOffset // documentation ```kt\nvalue-parameter scrollOffset: kotlin.Int\n``` // ^^^^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/stickyheader/StickyHeaderLinearLayoutManager#SavedState#getScrollOffset(). +// display_name scrollOffset // documentation ```kt\npublic final val scrollOffset: kotlin.Int\n``` // ^^^^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/stickyheader/StickyHeaderLinearLayoutManager#SavedState#scrollOffset. +// display_name scrollOffset // documentation ```kt\npublic final val scrollOffset: kotlin.Int\n``` // ^^^ reference semanticdb maven . . kotlin/Int# ) : Parcelable @@ -1493,11 +1662,14 @@ class StickyHeaderLinearLayoutManager @JvmOverloads constructor( */ private inner class HeaderPositionsAdapterDataObserver : RecyclerView.AdapterDataObserver() { // ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/stickyheader/StickyHeaderLinearLayoutManager#HeaderPositionsAdapterDataObserver# +// display_name HeaderPositionsAdapterDataObserver // documentation ```kt\nprivate final inner class HeaderPositionsAdapterDataObserver\n```\n\n----\n\n\n Handles header positions while adapter changes occur.\n\n This is used in detriment of [RecyclerView.LayoutManager]'s callbacks to control when they're received.\n // ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/stickyheader/StickyHeaderLinearLayoutManager#HeaderPositionsAdapterDataObserver#``(). +// display_name HeaderPositionsAdapterDataObserver // documentation ```kt\npublic constructor HeaderPositionsAdapterDataObserver()\n```\n\n----\n\n\n Handles header positions while adapter changes occur.\n\n This is used in detriment of [RecyclerView.LayoutManager]'s callbacks to control when they're received.\n override fun onChanged() { // ^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/stickyheader/StickyHeaderLinearLayoutManager#HeaderPositionsAdapterDataObserver#onChanged(). +// display_name onChanged // documentation ```kt\npublic open fun onChanged()\n``` // There's no hint at what changed, so go through the adapter. headerPositions.clear() @@ -1506,17 +1678,20 @@ class StickyHeaderLinearLayoutManager @JvmOverloads constructor( // ^^^^^ reference semanticdb maven . . kotlin/collections/MutableList#clear(). val itemCount = adapter?.itemCount ?: 0 // ^^^^^^^^^ definition local 37 +// display_name itemCount // documentation ```kt\nval itemCount: kotlin.Int\n``` // ^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/stickyheader/StickyHeaderLinearLayoutManager#adapter. // ^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/stickyheader/StickyHeaderLinearLayoutManager#getAdapter(). // ^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/stickyheader/StickyHeaderLinearLayoutManager#setAdapter(). for (i in 0 until itemCount) { // ^ definition local 38 +// display_name i // documentation ```kt\nval i: kotlin.Int\n``` // ^^^^^ reference semanticdb maven maven/org.jetbrains.kotlin/kotlin-stdlib 1.4.20-RC kotlin/ranges/RangesKt#until(+6). // ^^^^^^^^^ reference local 37 val isSticky = adapter?.isStickyHeader(i) ?: false // ^^^^^^^^ definition local 39 +// display_name isSticky // documentation ```kt\nval isSticky: kotlin.Boolean\n``` // ^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/stickyheader/StickyHeaderLinearLayoutManager#adapter. // ^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/stickyheader/StickyHeaderLinearLayoutManager#getAdapter(). @@ -1551,16 +1726,20 @@ class StickyHeaderLinearLayoutManager @JvmOverloads constructor( override fun onItemRangeInserted(positionStart: Int, itemCount: Int) { // ^^^^^^^^^^^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/stickyheader/StickyHeaderLinearLayoutManager#HeaderPositionsAdapterDataObserver#onItemRangeInserted(). +// display_name onItemRangeInserted // documentation ```kt\npublic open fun onItemRangeInserted(positionStart: kotlin.Int, itemCount: kotlin.Int)\n``` // ^^^^^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/stickyheader/StickyHeaderLinearLayoutManager#HeaderPositionsAdapterDataObserver#onItemRangeInserted().(positionStart) +// display_name positionStart // documentation ```kt\nvalue-parameter positionStart: kotlin.Int\n``` // ^^^ reference semanticdb maven . . kotlin/Int# // ^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/stickyheader/StickyHeaderLinearLayoutManager#HeaderPositionsAdapterDataObserver#onItemRangeInserted().(itemCount) +// display_name itemCount // documentation ```kt\nvalue-parameter itemCount: kotlin.Int\n``` // ^^^ reference semanticdb maven . . kotlin/Int# // Shift headers below down. val headerCount = headerPositions.size // ^^^^^^^^^^^ definition local 40 +// display_name headerCount // documentation ```kt\nval headerCount: kotlin.Int\n``` // ^^^^^^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/stickyheader/StickyHeaderLinearLayoutManager#getHeaderPositions(). // ^^^^^^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/stickyheader/StickyHeaderLinearLayoutManager#headerPositions. @@ -1571,6 +1750,7 @@ class StickyHeaderLinearLayoutManager @JvmOverloads constructor( // ^ reference semanticdb maven . . kotlin/Int#compareTo(+3). var i = findHeaderIndexOrNext(positionStart) // ^ definition local 41 +// display_name i // documentation ```kt\nvar i: kotlin.Int\n``` // ^^^^^^^^^^^^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/stickyheader/StickyHeaderLinearLayoutManager#findHeaderIndexOrNext(). // ^^^^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/stickyheader/StickyHeaderLinearLayoutManager#HeaderPositionsAdapterDataObserver#onItemRangeInserted().(positionStart) @@ -1599,6 +1779,7 @@ class StickyHeaderLinearLayoutManager @JvmOverloads constructor( // Add new headers. for (i in positionStart until positionStart + itemCount) { // ^ definition local 42 +// display_name i // documentation ```kt\nval i: kotlin.Int\n``` // ^^^^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/stickyheader/StickyHeaderLinearLayoutManager#HeaderPositionsAdapterDataObserver#onItemRangeInserted().(positionStart) // ^^^^^ reference semanticdb maven maven/org.jetbrains.kotlin/kotlin-stdlib 1.4.20-RC kotlin/ranges/RangesKt#until(+6). @@ -1607,6 +1788,7 @@ class StickyHeaderLinearLayoutManager @JvmOverloads constructor( // ^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/stickyheader/StickyHeaderLinearLayoutManager#HeaderPositionsAdapterDataObserver#onItemRangeInserted().(itemCount) val isSticky = adapter?.isStickyHeader(i) ?: false // ^^^^^^^^ definition local 43 +// display_name isSticky // documentation ```kt\nval isSticky: kotlin.Boolean\n``` // ^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/stickyheader/StickyHeaderLinearLayoutManager#adapter. // ^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/stickyheader/StickyHeaderLinearLayoutManager#getAdapter(). @@ -1616,6 +1798,7 @@ class StickyHeaderLinearLayoutManager @JvmOverloads constructor( // ^^^^^^^^ reference local 43 val headerIndex = findHeaderIndexOrNext(i) // ^^^^^^^^^^^ definition local 44 +// display_name headerIndex // documentation ```kt\nval headerIndex: kotlin.Int\n``` // ^^^^^^^^^^^^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/stickyheader/StickyHeaderLinearLayoutManager#findHeaderIndexOrNext(). // ^ reference local 42 @@ -1642,15 +1825,19 @@ class StickyHeaderLinearLayoutManager @JvmOverloads constructor( override fun onItemRangeRemoved(positionStart: Int, itemCount: Int) { // ^^^^^^^^^^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/stickyheader/StickyHeaderLinearLayoutManager#HeaderPositionsAdapterDataObserver#onItemRangeRemoved(). +// display_name onItemRangeRemoved // documentation ```kt\npublic open fun onItemRangeRemoved(positionStart: kotlin.Int, itemCount: kotlin.Int)\n``` // ^^^^^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/stickyheader/StickyHeaderLinearLayoutManager#HeaderPositionsAdapterDataObserver#onItemRangeRemoved().(positionStart) +// display_name positionStart // documentation ```kt\nvalue-parameter positionStart: kotlin.Int\n``` // ^^^ reference semanticdb maven . . kotlin/Int# // ^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/stickyheader/StickyHeaderLinearLayoutManager#HeaderPositionsAdapterDataObserver#onItemRangeRemoved().(itemCount) +// display_name itemCount // documentation ```kt\nvalue-parameter itemCount: kotlin.Int\n``` // ^^^ reference semanticdb maven . . kotlin/Int# var headerCount = headerPositions.size // ^^^^^^^^^^^ definition local 45 +// display_name headerCount // documentation ```kt\nvar headerCount: kotlin.Int\n``` // ^^^^^^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/stickyheader/StickyHeaderLinearLayoutManager#getHeaderPositions(). // ^^^^^^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/stickyheader/StickyHeaderLinearLayoutManager#headerPositions. @@ -1662,6 +1849,7 @@ class StickyHeaderLinearLayoutManager @JvmOverloads constructor( // Remove headers. for (i in positionStart + itemCount - 1 downTo positionStart) { // ^ definition local 46 +// display_name i // documentation ```kt\nval i: kotlin.Int\n``` // ^^^^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/stickyheader/StickyHeaderLinearLayoutManager#HeaderPositionsAdapterDataObserver#onItemRangeRemoved().(positionStart) // ^ reference semanticdb maven . . kotlin/Int#plus(+3). @@ -1671,6 +1859,7 @@ class StickyHeaderLinearLayoutManager @JvmOverloads constructor( // ^^^^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/stickyheader/StickyHeaderLinearLayoutManager#HeaderPositionsAdapterDataObserver#onItemRangeRemoved().(positionStart) val index = findHeaderIndex(i) // ^^^^^ definition local 47 +// display_name index // documentation ```kt\nval index: kotlin.Int\n``` // ^^^^^^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/stickyheader/StickyHeaderLinearLayoutManager#findHeaderIndex(). // ^ reference local 46 @@ -1708,6 +1897,7 @@ class StickyHeaderLinearLayoutManager @JvmOverloads constructor( // Shift headers below up. var i = findHeaderIndexOrNext(positionStart + itemCount) // ^ definition local 48 +// display_name i // documentation ```kt\nvar i: kotlin.Int\n``` // ^^^^^^^^^^^^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/stickyheader/StickyHeaderLinearLayoutManager#findHeaderIndexOrNext(). // ^^^^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/stickyheader/StickyHeaderLinearLayoutManager#HeaderPositionsAdapterDataObserver#onItemRangeRemoved().(positionStart) @@ -1738,20 +1928,25 @@ class StickyHeaderLinearLayoutManager @JvmOverloads constructor( override fun onItemRangeMoved(fromPosition: Int, toPosition: Int, itemCount: Int) { // ^^^^^^^^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/stickyheader/StickyHeaderLinearLayoutManager#HeaderPositionsAdapterDataObserver#onItemRangeMoved(). +// display_name onItemRangeMoved // documentation ```kt\npublic open fun onItemRangeMoved(fromPosition: kotlin.Int, toPosition: kotlin.Int, itemCount: kotlin.Int)\n``` // ^^^^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/stickyheader/StickyHeaderLinearLayoutManager#HeaderPositionsAdapterDataObserver#onItemRangeMoved().(fromPosition) +// display_name fromPosition // documentation ```kt\nvalue-parameter fromPosition: kotlin.Int\n``` // ^^^ reference semanticdb maven . . kotlin/Int# // ^^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/stickyheader/StickyHeaderLinearLayoutManager#HeaderPositionsAdapterDataObserver#onItemRangeMoved().(toPosition) +// display_name toPosition // documentation ```kt\nvalue-parameter toPosition: kotlin.Int\n``` // ^^^ reference semanticdb maven . . kotlin/Int# // ^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/stickyheader/StickyHeaderLinearLayoutManager#HeaderPositionsAdapterDataObserver#onItemRangeMoved().(itemCount) +// display_name itemCount // documentation ```kt\nvalue-parameter itemCount: kotlin.Int\n``` // ^^^ reference semanticdb maven . . kotlin/Int# // Shift moved headers by toPosition - fromPosition. // Shift headers in-between by -itemCount (reverse if upwards). val headerCount = headerPositions.size // ^^^^^^^^^^^ definition local 49 +// display_name headerCount // documentation ```kt\nval headerCount: kotlin.Int\n``` // ^^^^^^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/stickyheader/StickyHeaderLinearLayoutManager#getHeaderPositions(). // ^^^^^^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/stickyheader/StickyHeaderLinearLayoutManager#headerPositions. @@ -1766,6 +1961,7 @@ class StickyHeaderLinearLayoutManager @JvmOverloads constructor( // ^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/stickyheader/StickyHeaderLinearLayoutManager#HeaderPositionsAdapterDataObserver#onItemRangeMoved().(toPosition) var i = findHeaderIndexOrNext(fromPosition) // ^ definition local 50 +// display_name i // documentation ```kt\nvar i: kotlin.Int\n``` // ^^^^^^^^^^^^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/stickyheader/StickyHeaderLinearLayoutManager#findHeaderIndexOrNext(). // ^^^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/stickyheader/StickyHeaderLinearLayoutManager#HeaderPositionsAdapterDataObserver#onItemRangeMoved().(fromPosition) @@ -1778,6 +1974,7 @@ class StickyHeaderLinearLayoutManager @JvmOverloads constructor( // ^^^^^^^^^^^ reference local 49 val headerPos = headerPositions[i] // ^^^^^^^^^ definition local 51 +// display_name headerPos // documentation ```kt\nval headerPos: kotlin.Int\n``` // ^^^^^^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/stickyheader/StickyHeaderLinearLayoutManager#getHeaderPositions(). // ^^^^^^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/stickyheader/StickyHeaderLinearLayoutManager#headerPositions. @@ -1832,6 +2029,7 @@ class StickyHeaderLinearLayoutManager @JvmOverloads constructor( } else { var i = findHeaderIndexOrNext(toPosition) // ^ definition local 52 +// display_name i // documentation ```kt\nvar i: kotlin.Int\n``` // ^^^^^^^^^^^^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/stickyheader/StickyHeaderLinearLayoutManager#findHeaderIndexOrNext(). // ^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/stickyheader/StickyHeaderLinearLayoutManager#HeaderPositionsAdapterDataObserver#onItemRangeMoved().(toPosition) @@ -1844,6 +2042,7 @@ class StickyHeaderLinearLayoutManager @JvmOverloads constructor( // ^^^^^^^^^^^ reference local 49 val headerPos = headerPositions[i] // ^^^^^^^^^ definition local 53 +// display_name headerPos // documentation ```kt\nval headerPos: kotlin.Int\n``` // ^^^^^^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/stickyheader/StickyHeaderLinearLayoutManager#getHeaderPositions(). // ^^^^^^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/stickyheader/StickyHeaderLinearLayoutManager#headerPositions. @@ -1900,12 +2099,15 @@ class StickyHeaderLinearLayoutManager @JvmOverloads constructor( private fun sortHeaderAtIndex(index: Int) { // ^^^^^^^^^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/stickyheader/StickyHeaderLinearLayoutManager#HeaderPositionsAdapterDataObserver#sortHeaderAtIndex(). +// display_name sortHeaderAtIndex // documentation ```kt\nprivate final fun sortHeaderAtIndex(index: kotlin.Int)\n``` // ^^^^^ definition semanticdb maven . . com/airbnb/epoxy/stickyheader/StickyHeaderLinearLayoutManager#HeaderPositionsAdapterDataObserver#sortHeaderAtIndex().(index) +// display_name index // documentation ```kt\nvalue-parameter index: kotlin.Int\n``` // ^^^ reference semanticdb maven . . kotlin/Int# val headerPos = headerPositions.removeAt(index) // ^^^^^^^^^ definition local 54 +// display_name headerPos // documentation ```kt\nval headerPos: kotlin.Int\n``` // ^^^^^^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/stickyheader/StickyHeaderLinearLayoutManager#getHeaderPositions(). // ^^^^^^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/stickyheader/StickyHeaderLinearLayoutManager#headerPositions. @@ -1913,6 +2115,7 @@ class StickyHeaderLinearLayoutManager @JvmOverloads constructor( // ^^^^^ reference semanticdb maven . . com/airbnb/epoxy/stickyheader/StickyHeaderLinearLayoutManager#HeaderPositionsAdapterDataObserver#sortHeaderAtIndex().(index) val headerIndex = findHeaderIndexOrNext(headerPos) // ^^^^^^^^^^^ definition local 55 +// display_name headerIndex // documentation ```kt\nval headerIndex: kotlin.Int\n``` // ^^^^^^^^^^^^^^^^^^^^^ reference semanticdb maven . . com/airbnb/epoxy/stickyheader/StickyHeaderLinearLayoutManager#findHeaderIndexOrNext(). // ^^^^^^^^^ reference local 54 diff --git a/tests/snapshots/src/main/generated/com/airbnb/epoxy/utils/utils.kt b/tests/snapshots/src/main/generated/com/airbnb/epoxy/utils/utils.kt index 8c9eb5e50..a4dd0dd0f 100644 --- a/tests/snapshots/src/main/generated/com/airbnb/epoxy/utils/utils.kt +++ b/tests/snapshots/src/main/generated/com/airbnb/epoxy/utils/utils.kt @@ -11,8 +11,10 @@ import android.content.pm.ApplicationInfo //^^^^^^^^^^^ reference semanticdb maven maven/org.jetbrains.kotlin/kotlin-stdlib 1.4.20-RC kotlin/PublishedApi#``(). internal val Context.isDebuggable: Boolean // ^^^^^^^^^^^^ definition semanticdb maven . . com/airbnb/epoxy/utils/utilsKt#isDebuggable. +// display_name isDebuggable // documentation ```kt\ninternal val [Error type: Unresolved type for Context].isDebuggable: kotlin.Boolean\n``` // ^^^^^^^ reference semanticdb maven . . kotlin/Boolean# get() = (applicationInfo.flags and ApplicationInfo.FLAG_DEBUGGABLE) != 0 // ^^^ definition semanticdb maven . . com/airbnb/epoxy/utils/utilsKt#getIsDebuggable(). +// display_name get // documentation ```kt\ninternal fun [Error type: Unresolved type for Context].``(): kotlin.Boolean\n``` diff --git a/tests/snapshots/src/main/generated/tests/minimized-scala/src/main/scala/minimized/Issue396.scala b/tests/snapshots/src/main/generated/tests/minimized-scala/src/main/scala/minimized/Issue396.scala index a496a1384..3e14844f4 100644 --- a/tests/snapshots/src/main/generated/tests/minimized-scala/src/main/scala/minimized/Issue396.scala +++ b/tests/snapshots/src/main/generated/tests/minimized-scala/src/main/scala/minimized/Issue396.scala @@ -3,57 +3,81 @@ package minimized case class Issue396(a: Int) // ^^^^^^^^ definition semanticdb maven . . minimized/Issue396# -// documentation ```scala\ncase class Issue396(a: Int)\n``` +// display_name Issue396 +// signature_documentation scala case class Issue396(a: Int) +// kind Class // relationship is_reference semanticdb maven . . minimized/Issue396. // relationship is_reference semanticdb maven . . minimized/Issue396.apply(). // ________ synthetic_definition semanticdb maven . . minimized/Issue396#copy(). -// documentation ```scala\ndef copy(a: Int): Issue396\n``` +// display_name copy +// signature_documentation scala def copy(a: Int): Issue396 +// kind Method // relationship is_definition semanticdb maven . . minimized/Issue396# // relationship is_reference semanticdb maven . . minimized/Issue396.apply(). // ________ synthetic_definition semanticdb maven . . minimized/Issue396#productElement(). -// documentation ```scala\ndef productElement(x$1: Int): Any\n``` +// display_name productElement +// signature_documentation scala def productElement(x$1: Int): Any +// kind Method // relationship is_definition semanticdb maven . . minimized/Issue396# // relationship is_reference semanticdb maven . . minimized/Issue396.apply(). // relationship is_reference is_implementation semanticdb maven . . scala/Product#productElement(). // ________ synthetic_definition semanticdb maven . . minimized/Issue396. -// documentation ```scala\nobject Issue396\n``` +// display_name Issue396 +// signature_documentation scala object Issue396 +// kind Object // relationship is_definition semanticdb maven . . minimized/Issue396# // relationship is_reference semanticdb maven . . minimized/Issue396.apply(). // ________ synthetic_definition semanticdb maven . . minimized/Issue396.apply(). -// documentation ```scala\ndef apply(a: Int): Issue396\n``` +// display_name apply +// signature_documentation scala def apply(a: Int): Issue396 +// kind Method // relationship is_definition semanticdb maven . . minimized/Issue396# // relationship is_reference is_implementation semanticdb maven . . scala/Function1#apply(). // ________ synthetic_definition semanticdb maven . . minimized/Issue396#productElementName(). -// documentation ```scala\ndef productElementName(x$1: Int): String\n``` +// display_name productElementName +// signature_documentation scala def productElementName(x$1: Int): String +// kind Method // relationship is_definition semanticdb maven . . minimized/Issue396# // relationship is_reference semanticdb maven . . minimized/Issue396.apply(). // relationship is_reference is_implementation semanticdb maven . . scala/Product#productElementName(). // ^ definition semanticdb maven . . minimized/Issue396#``(). -// documentation ```scala\ndef this(a: Int)\n``` +// display_name +// signature_documentation scala def this(a: Int) +// kind Constructor // ^ definition semanticdb maven . . minimized/Issue396#a. -// documentation ```scala\nval a: Int\n``` +// display_name a +// signature_documentation scala val a: Int +// kind Method // relationship is_reference semanticdb maven . . minimized/Issue396#``().(a) // relationship is_reference semanticdb maven . . minimized/Issue396#copy().(a) // relationship is_reference semanticdb maven . . minimized/Issue396.apply().(a) // _ synthetic_definition semanticdb maven . . minimized/Issue396.apply().(a) -// documentation ```scala\na: Int \n``` +// display_name a +// signature_documentation scala a: Int +// kind Parameter // relationship is_reference semanticdb maven . . minimized/Issue396#``().(a) // relationship is_reference is_definition semanticdb maven . . minimized/Issue396#a. // relationship is_reference semanticdb maven . . minimized/Issue396#copy().(a) // _ synthetic_definition semanticdb maven . . minimized/Issue396#``().(a) -// documentation ```scala\na: Int \n``` +// display_name a +// signature_documentation scala a: Int +// kind Parameter // relationship is_reference is_definition semanticdb maven . . minimized/Issue396#a. // relationship is_reference semanticdb maven . . minimized/Issue396#copy().(a) // relationship is_reference semanticdb maven . . minimized/Issue396.apply().(a) // _ synthetic_definition semanticdb maven . . minimized/Issue396#copy().(a) -// documentation ```scala\ndefault a: Int \n``` +// display_name a +// signature_documentation scala default a: Int +// kind Parameter // relationship is_reference semanticdb maven . . minimized/Issue396#``().(a) // relationship is_reference is_definition semanticdb maven . . minimized/Issue396#a. // relationship is_reference semanticdb maven . . minimized/Issue396.apply().(a) // ^^^ reference semanticdb maven . . scala/Int# object Issue396App { // ^^^^^^^^^^^ definition semanticdb maven . . minimized/Issue396App. -// documentation ```scala\nobject Issue396App\n``` +// display_name Issue396App +// signature_documentation scala object Issue396App +// kind Object println(Issue396) //^^^^^^^ reference semanticdb maven . . scala/Predef.println(+1). // ^^^^^^^^ reference semanticdb maven . . minimized/Issue396. diff --git a/tests/snapshots/src/main/generated/tests/minimized-scala/src/main/scala/minimized/Issue397.scala b/tests/snapshots/src/main/generated/tests/minimized-scala/src/main/scala/minimized/Issue397.scala index 8285a9e5e..c2e24a5cb 100644 --- a/tests/snapshots/src/main/generated/tests/minimized-scala/src/main/scala/minimized/Issue397.scala +++ b/tests/snapshots/src/main/generated/tests/minimized-scala/src/main/scala/minimized/Issue397.scala @@ -3,14 +3,22 @@ package minimized class Issue397 { // ^^^^^^^^ definition semanticdb maven . . minimized/Issue397# -// documentation ```scala\nclass Issue397\n``` +// display_name Issue397 +// signature_documentation scala class Issue397 +// kind Class // ^ definition semanticdb maven . . minimized/Issue397#``(). -// documentation ```scala\ndef this()\n``` +// display_name +// signature_documentation scala def this() +// kind Constructor var blah = Set("abc") // ^^^^ definition semanticdb maven . . minimized/Issue397#blah(). -// documentation ```scala\nvar blah: Set[String]\n``` +// display_name blah +// signature_documentation scala var blah: Set[String] +// kind Method // ____ synthetic_definition semanticdb maven . . minimized/Issue397#`blah_=`(). -// documentation ```scala\nvar blah_=(x$1: Set[String]): Unit\n``` +// display_name blah_= +// signature_documentation scala var blah_=(x$1: Set[String]): Unit +// kind Method // relationship is_definition semanticdb maven . . minimized/Issue397#blah(). // ^^^ reference semanticdb maven . . scala/Predef.Set. // ^ reference semanticdb maven . . scala/collection/IterableFactory#apply(). diff --git a/tests/snapshots/src/main/generated/tests/minimized-scala/src/main/scala/minimized/Issue403.scala b/tests/snapshots/src/main/generated/tests/minimized-scala/src/main/scala/minimized/Issue403.scala index 57ae622f5..ef1f327da 100644 --- a/tests/snapshots/src/main/generated/tests/minimized-scala/src/main/scala/minimized/Issue403.scala +++ b/tests/snapshots/src/main/generated/tests/minimized-scala/src/main/scala/minimized/Issue403.scala @@ -3,50 +3,72 @@ package minimized case class Issue403(value: String) // ^^^^^^^^ definition semanticdb maven . . minimized/Issue403# -// documentation ```scala\ncase class Issue403(value: String)\n``` +// display_name Issue403 +// signature_documentation scala case class Issue403(value: String) +// kind Class // relationship is_reference semanticdb maven . . minimized/Issue403. // relationship is_reference semanticdb maven . . minimized/Issue403.apply(). // ________ synthetic_definition semanticdb maven . . minimized/Issue403#productElementName(). -// documentation ```scala\ndef productElementName(x$1: Int): String\n``` +// display_name productElementName +// signature_documentation scala def productElementName(x$1: Int): String +// kind Method // relationship is_definition semanticdb maven . . minimized/Issue403# // relationship is_reference semanticdb maven . . minimized/Issue403.apply(). // relationship is_reference is_implementation semanticdb maven . . scala/Product#productElementName(). // ________ synthetic_definition semanticdb maven . . minimized/Issue403.apply(). -// documentation ```scala\ndef apply(value: String): Issue403\n``` +// display_name apply +// signature_documentation scala def apply(value: String): Issue403 +// kind Method // relationship is_definition semanticdb maven . . minimized/Issue403# // relationship is_reference is_implementation semanticdb maven . . scala/Function1#apply(). // ________ synthetic_definition semanticdb maven . . minimized/Issue403. -// documentation ```scala\nobject Issue403\n``` +// display_name Issue403 +// signature_documentation scala object Issue403 +// kind Object // relationship is_definition semanticdb maven . . minimized/Issue403# // relationship is_reference semanticdb maven . . minimized/Issue403.apply(). // ________ synthetic_definition semanticdb maven . . minimized/Issue403#productElement(). -// documentation ```scala\ndef productElement(x$1: Int): Any\n``` +// display_name productElement +// signature_documentation scala def productElement(x$1: Int): Any +// kind Method // relationship is_definition semanticdb maven . . minimized/Issue403# // relationship is_reference semanticdb maven . . minimized/Issue403.apply(). // relationship is_reference is_implementation semanticdb maven . . scala/Product#productElement(). // ________ synthetic_definition semanticdb maven . . minimized/Issue403#copy(). -// documentation ```scala\ndef copy(value: String): Issue403\n``` +// display_name copy +// signature_documentation scala def copy(value: String): Issue403 +// kind Method // relationship is_definition semanticdb maven . . minimized/Issue403# // relationship is_reference semanticdb maven . . minimized/Issue403.apply(). // ^ definition semanticdb maven . . minimized/Issue403#``(). -// documentation ```scala\ndef this(value: String)\n``` +// display_name +// signature_documentation scala def this(value: String) +// kind Constructor // ^^^^^ definition semanticdb maven . . minimized/Issue403#value. -// documentation ```scala\nval value: String\n``` +// display_name value +// signature_documentation scala val value: String +// kind Method // relationship is_reference semanticdb maven . . minimized/Issue403#``().(value) // relationship is_reference semanticdb maven . . minimized/Issue403#copy().(value) // relationship is_reference semanticdb maven . . minimized/Issue403.apply().(value) // _____ synthetic_definition semanticdb maven . . minimized/Issue403#copy().(value) -// documentation ```scala\ndefault value: String \n``` +// display_name value +// signature_documentation scala default value: String +// kind Parameter // relationship is_reference semanticdb maven . . minimized/Issue403#``().(value) // relationship is_reference is_definition semanticdb maven . . minimized/Issue403#value. // relationship is_reference semanticdb maven . . minimized/Issue403.apply().(value) // _____ synthetic_definition semanticdb maven . . minimized/Issue403.apply().(value) -// documentation ```scala\nvalue: String \n``` +// display_name value +// signature_documentation scala value: String +// kind Parameter // relationship is_reference semanticdb maven . . minimized/Issue403#``().(value) // relationship is_reference semanticdb maven . . minimized/Issue403#copy().(value) // relationship is_reference is_definition semanticdb maven . . minimized/Issue403#value. // _____ synthetic_definition semanticdb maven . . minimized/Issue403#``().(value) -// documentation ```scala\nvalue: String \n``` +// display_name value +// signature_documentation scala value: String +// kind Parameter // relationship is_reference semanticdb maven . . minimized/Issue403#copy().(value) // relationship is_reference is_definition semanticdb maven . . minimized/Issue403#value. // relationship is_reference semanticdb maven . . minimized/Issue403.apply().(value) @@ -54,10 +76,14 @@ case class Issue403(value: String) object Issue403App { // ^^^^^^^^^^^ definition semanticdb maven . . minimized/Issue403App. -// documentation ```scala\nobject Issue403App\n``` +// display_name Issue403App +// signature_documentation scala object Issue403App +// kind Object def instantiations(): Unit = { // ^^^^^^^^^^^^^^ definition semanticdb maven . . minimized/Issue403App.instantiations(). -// documentation ```scala\ndef instantiations(): Unit\n``` +// display_name instantiations +// signature_documentation scala def instantiations(): Unit +// kind Method // ^^^^ reference semanticdb maven . . scala/Unit# println(Issue403("a").value) // ^^^^^^^ reference semanticdb maven . . scala/Predef.println(+1). @@ -81,7 +107,9 @@ object Issue403App { case Issue403(value) => // ^^^^^^^^ reference semanticdb maven . . minimized/Issue403. // ^^^^^ definition local 1 -// documentation ```scala\nvalue: String \n``` +// display_name value +// signature_documentation scala value: String +// kind Variable println(value) // ^^^^^^^ reference semanticdb maven . . scala/Predef.println(+1). // ^^^^^ reference local 1 diff --git a/tests/snapshots/src/main/generated/tests/minimized-scala/src/main/scala/minimized/Issue412.scala b/tests/snapshots/src/main/generated/tests/minimized-scala/src/main/scala/minimized/Issue412.scala index 4106f114a..94b33f130 100644 --- a/tests/snapshots/src/main/generated/tests/minimized-scala/src/main/scala/minimized/Issue412.scala +++ b/tests/snapshots/src/main/generated/tests/minimized-scala/src/main/scala/minimized/Issue412.scala @@ -3,24 +3,36 @@ package minimized class Issue412 { // ^^^^^^^^ definition semanticdb maven . . minimized/Issue412# -// documentation ```scala\nclass Issue412\n``` +// display_name Issue412 +// signature_documentation scala class Issue412 +// kind Class // ^ definition semanticdb maven . . minimized/Issue412#``(). -// documentation ```scala\ndef this()\n``` +// display_name +// signature_documentation scala def this() +// kind Constructor val a: Int = 5 // ^ definition semanticdb maven . . minimized/Issue412#a. -// documentation ```scala\nval a: Int\n``` +// display_name a +// signature_documentation scala val a: Int +// kind Method // ^^^ reference semanticdb maven . . scala/Int# val b: Long = a // ^ definition semanticdb maven . . minimized/Issue412#b. -// documentation ```scala\nval b: Long\n``` +// display_name b +// signature_documentation scala val b: Long +// kind Method // ^^^^ reference semanticdb maven . . scala/Long# // ^ reference semanticdb maven . . minimized/Issue412#a. def a(b: Long): Unit = { // ^ definition semanticdb maven . . minimized/Issue412#a(). -// documentation ```scala\ndef a(b: Long): Unit\n``` +// display_name a +// signature_documentation scala def a(b: Long): Unit +// kind Method // ^ definition semanticdb maven . . minimized/Issue412#a().(b) -// documentation ```scala\nb: Long \n``` +// display_name b +// signature_documentation scala b: Long +// kind Parameter // ^^^^ reference semanticdb maven . . scala/Long# // ^^^^ reference semanticdb maven . . scala/Unit# println(b) diff --git a/tests/snapshots/src/main/generated/tests/minimized-scala/src/main/scala/minimized/Issue413.scala b/tests/snapshots/src/main/generated/tests/minimized-scala/src/main/scala/minimized/Issue413.scala index 1d9c494ba..eaec807d1 100644 --- a/tests/snapshots/src/main/generated/tests/minimized-scala/src/main/scala/minimized/Issue413.scala +++ b/tests/snapshots/src/main/generated/tests/minimized-scala/src/main/scala/minimized/Issue413.scala @@ -3,33 +3,47 @@ package minimized trait Issue413 { // ^^^^^^^^ definition semanticdb maven . . minimized/Issue413# -// documentation ```scala\ntrait Issue413\n``` +// display_name Issue413 +// signature_documentation scala trait Issue413 +// kind Trait val b: Int // ^ definition semanticdb maven . . minimized/Issue413#b. -// documentation ```scala\nval b: Int\n``` +// display_name b +// signature_documentation scala val b: Int +// kind AbstractMethod // relationship is_reference is_implementation semanticdb maven . . minimized/Issue413Subclass#b. // ^^^ reference semanticdb maven . . scala/Int# val c: Int // ^ definition semanticdb maven . . minimized/Issue413#c. -// documentation ```scala\nval c: Int\n``` +// display_name c +// signature_documentation scala val c: Int +// kind AbstractMethod // relationship is_reference is_implementation semanticdb maven . . minimized/Issue413Subclass#c. // ^^^ reference semanticdb maven . . scala/Int# } object Issue413 { // ^^^^^^^^ definition semanticdb maven . . minimized/Issue413. -// documentation ```scala\nobject Issue413\n``` +// display_name Issue413 +// signature_documentation scala object Issue413 +// kind Object def main(): Unit = { // ^^^^ definition semanticdb maven . . minimized/Issue413.main(). -// documentation ```scala\ndef main(): Unit\n``` +// display_name main +// signature_documentation scala def main(): Unit +// kind Method // ^^^^ reference semanticdb maven . . scala/Unit# val a = new Issue413Subclass() // ^ definition local 0 -// documentation ```scala\na: Issue413Subclass \n``` +// display_name a +// signature_documentation scala a: Issue413Subclass +// kind Variable // ^^^^^^^^^^^^^^^^ reference semanticdb maven . . minimized/Issue413Subclass# // ^ reference semanticdb maven . . minimized/Issue413Subclass#``(). val b: Issue413 = a // ^ definition local 1 -// documentation ```scala\nb: Issue413 \n``` +// display_name b +// signature_documentation scala b: Issue413 +// kind Variable // ^^^^^^^^ reference semanticdb maven . . minimized/Issue413# // ^ reference local 0 println(a.b + b.b) @@ -44,17 +58,25 @@ object Issue413 { class Issue413Subclass extends Issue413 { // ^^^^^^^^^^^^^^^^ definition semanticdb maven . . minimized/Issue413Subclass# -// documentation ```scala\nclass Issue413Subclass\n``` +// display_name Issue413Subclass +// signature_documentation scala class Issue413Subclass +// kind Class // ^ definition semanticdb maven . . minimized/Issue413Subclass#``(). -// documentation ```scala\ndef this()\n``` +// display_name +// signature_documentation scala def this() +// kind Constructor // ^^^^^^^^ reference semanticdb maven . . minimized/Issue413# // ^ reference semanticdb maven jdk 11 java/lang/Object#``(). override val b = 10 // ^ definition semanticdb maven . . minimized/Issue413Subclass#b. -// documentation ```scala\nval b: Int\n``` +// display_name b +// signature_documentation scala val b: Int +// kind Method // relationship is_reference is_implementation semanticdb maven . . minimized/Issue413#b. override val c = 10 // ^ definition semanticdb maven . . minimized/Issue413Subclass#c. -// documentation ```scala\nval c: Int\n``` +// display_name c +// signature_documentation scala val c: Int +// kind Method // relationship is_reference is_implementation semanticdb maven . . minimized/Issue413#c. } diff --git a/tests/snapshots/src/main/generated/tests/minimized-scala/src/main/scala/minimized/Issue414.scala b/tests/snapshots/src/main/generated/tests/minimized-scala/src/main/scala/minimized/Issue414.scala index 7b4841bed..945458a24 100644 --- a/tests/snapshots/src/main/generated/tests/minimized-scala/src/main/scala/minimized/Issue414.scala +++ b/tests/snapshots/src/main/generated/tests/minimized-scala/src/main/scala/minimized/Issue414.scala @@ -3,26 +3,38 @@ package minimized object Issue414 { // ^^^^^^^^ definition semanticdb maven . . minimized/Issue414. -// documentation ```scala\nobject Issue414\n``` +// display_name Issue414 +// signature_documentation scala object Issue414 +// kind Object trait A { // ^ definition semanticdb maven . . minimized/Issue414.A# -// documentation ```scala\ntrait A\n``` +// display_name A +// signature_documentation scala trait A +// kind Trait def b(): Unit // ^ definition semanticdb maven . . minimized/Issue414.A#b(). -// documentation ```scala\ndef b(): Unit\n``` +// display_name b +// signature_documentation scala def b(): Unit +// kind AbstractMethod // ^^^^ reference semanticdb maven . . scala/Unit# } val a1 = // ^^ definition semanticdb maven . . minimized/Issue414.a1. -// documentation ```scala\nval a1: {}\n``` +// display_name a1 +// signature_documentation scala val a1: {} +// kind Method new A { // ^ definition local 0 -// documentation ```scala\nfinal class $anon\n``` +// display_name $anon +// signature_documentation scala final class $anon +// kind Class // ^ reference semanticdb maven . . minimized/Issue414.A# // ^ reference semanticdb maven jdk 11 java/lang/Object#``(). override def b(): Unit = { // ^ definition local 1 -// documentation ```scala\ndef b(): Unit\n``` +// display_name b +// signature_documentation scala def b(): Unit +// kind Method // relationship is_reference is_implementation semanticdb maven . . minimized/Issue414.A#b(). // ^^^^ reference semanticdb maven . . scala/Unit# print("Hello") @@ -31,7 +43,9 @@ object Issue414 { } val a2: A = a1 // ^^ definition semanticdb maven . . minimized/Issue414.a2. -// documentation ```scala\nval a2: A\n``` +// display_name a2 +// signature_documentation scala val a2: A +// kind Method // ^ reference semanticdb maven . . minimized/Issue414.A# // ^^ reference semanticdb maven . . minimized/Issue414.a1. println(a1.b()) diff --git a/tests/snapshots/src/main/generated/tests/minimized-scala/src/main/scala/minimized/Issue414Reference.scala b/tests/snapshots/src/main/generated/tests/minimized-scala/src/main/scala/minimized/Issue414Reference.scala index 51e26f791..961b4d16c 100644 --- a/tests/snapshots/src/main/generated/tests/minimized-scala/src/main/scala/minimized/Issue414Reference.scala +++ b/tests/snapshots/src/main/generated/tests/minimized-scala/src/main/scala/minimized/Issue414Reference.scala @@ -3,7 +3,9 @@ package minimized object Issue414Reference { // ^^^^^^^^^^^^^^^^^ definition semanticdb maven . . minimized/Issue414Reference. -// documentation ```scala\nobject Issue414Reference\n``` +// display_name Issue414Reference +// signature_documentation scala object Issue414Reference +// kind Object println(Issue414.a1.b()) //^^^^^^^ reference semanticdb maven . . scala/Predef.println(+1). // ^^^^^^^^ reference semanticdb maven . . minimized/Issue414. diff --git a/tests/snapshots/src/main/generated/tests/minimized-scala/src/main/scala/minimized/MinimizedScalaMain.scala b/tests/snapshots/src/main/generated/tests/minimized-scala/src/main/scala/minimized/MinimizedScalaMain.scala index aaf1ae260..9750761a8 100644 --- a/tests/snapshots/src/main/generated/tests/minimized-scala/src/main/scala/minimized/MinimizedScalaMain.scala +++ b/tests/snapshots/src/main/generated/tests/minimized-scala/src/main/scala/minimized/MinimizedScalaMain.scala @@ -4,12 +4,18 @@ package minimized // format: off object MinimizedScalaMain { // ^^^^^^^^^^^^^^^^^^ definition semanticdb maven . . minimized/MinimizedScalaMain. -// documentation ```scala\nobject MinimizedScalaMain\n``` +// display_name MinimizedScalaMain +// signature_documentation scala object MinimizedScalaMain +// kind Object def main(args: Array[String]): Unit = { // ^^^^ definition semanticdb maven . . minimized/MinimizedScalaMain.main(). -// documentation ```scala\ndef main(args: Array[String]): Unit\n``` +// display_name main +// signature_documentation scala def main(args: Array[String]): Unit +// kind Method // ^^^^ definition semanticdb maven . . minimized/MinimizedScalaMain.main().(args) -// documentation ```scala\nargs: Array[String] \n``` +// display_name args +// signature_documentation scala args: Array[String] +// kind Parameter // ^^^^^ reference semanticdb maven . . scala/Array# // ^^^^^^ reference semanticdb maven . . scala/Predef.String# // ^^^^ reference semanticdb maven . . scala/Unit# diff --git a/tests/snapshots/src/main/generated/tests/minimized-scala/src/main/scala/minimized/MinimizedScalaSignatures.scala b/tests/snapshots/src/main/generated/tests/minimized-scala/src/main/scala/minimized/MinimizedScalaSignatures.scala index d983a43aa..aed34f742 100644 --- a/tests/snapshots/src/main/generated/tests/minimized-scala/src/main/scala/minimized/MinimizedScalaSignatures.scala +++ b/tests/snapshots/src/main/generated/tests/minimized-scala/src/main/scala/minimized/MinimizedScalaSignatures.scala @@ -6,57 +6,83 @@ package minimized case class MinimizedCaseClass(value: String) { // ^^^^^^^^^^^^^^^^^^ definition semanticdb maven . . minimized/MinimizedCaseClass# -// documentation ```scala\ncase class MinimizedCaseClass(value: String)\n``` +// display_name MinimizedCaseClass +// signature_documentation scala case class MinimizedCaseClass(value: String) +// kind Class // __________________ synthetic_definition semanticdb maven . . minimized/MinimizedCaseClass#productElement(). -// documentation ```scala\ndef productElement(x$1: Int): Any\n``` +// display_name productElement +// signature_documentation scala def productElement(x$1: Int): Any +// kind Method // relationship is_definition semanticdb maven . . minimized/MinimizedCaseClass# // relationship is_reference is_implementation semanticdb maven . . scala/Product#productElement(). // __________________ synthetic_definition semanticdb maven . . minimized/MinimizedCaseClass#productElementName(). -// documentation ```scala\ndef productElementName(x$1: Int): String\n``` +// display_name productElementName +// signature_documentation scala def productElementName(x$1: Int): String +// kind Method // relationship is_definition semanticdb maven . . minimized/MinimizedCaseClass# // relationship is_reference is_implementation semanticdb maven . . scala/Product#productElementName(). // __________________ synthetic_definition semanticdb maven . . minimized/MinimizedCaseClass#copy(). -// documentation ```scala\ndef copy(value: String): MinimizedCaseClass\n``` +// display_name copy +// signature_documentation scala def copy(value: String): MinimizedCaseClass +// kind Method // relationship is_definition semanticdb maven . . minimized/MinimizedCaseClass# // ^ definition semanticdb maven . . minimized/MinimizedCaseClass#``(). -// documentation ```scala\ndef this(value: String)\n``` +// display_name +// signature_documentation scala def this(value: String) +// kind Constructor // ^^^^^ definition semanticdb maven . . minimized/MinimizedCaseClass#value. -// documentation ```scala\nval value: String\n``` +// display_name value +// signature_documentation scala val value: String +// kind Method // relationship is_reference semanticdb maven . . minimized/MinimizedCaseClass#``().(value) // relationship is_reference semanticdb maven . . minimized/MinimizedCaseClass#copy().(value) // relationship is_reference semanticdb maven . . minimized/MinimizedCaseClass.apply().(value) // _____ synthetic_definition semanticdb maven . . minimized/MinimizedCaseClass#copy().(value) -// documentation ```scala\ndefault value: String \n``` +// display_name value +// signature_documentation scala default value: String +// kind Parameter // relationship is_reference semanticdb maven . . minimized/MinimizedCaseClass#``().(value) // relationship is_reference is_definition semanticdb maven . . minimized/MinimizedCaseClass#value. // relationship is_reference semanticdb maven . . minimized/MinimizedCaseClass.apply().(value) // _____ synthetic_definition semanticdb maven . . minimized/MinimizedCaseClass#``().(value) -// documentation ```scala\nvalue: String \n``` +// display_name value +// signature_documentation scala value: String +// kind Parameter // relationship is_reference semanticdb maven . . minimized/MinimizedCaseClass#copy().(value) // relationship is_reference is_definition semanticdb maven . . minimized/MinimizedCaseClass#value. // relationship is_reference semanticdb maven . . minimized/MinimizedCaseClass.apply().(value) // _____ synthetic_definition semanticdb maven . . minimized/MinimizedCaseClass.apply().(value) -// documentation ```scala\nvalue: String \n``` +// display_name value +// signature_documentation scala value: String +// kind Parameter // relationship is_reference semanticdb maven . . minimized/MinimizedCaseClass#``().(value) // relationship is_reference semanticdb maven . . minimized/MinimizedCaseClass#copy().(value) // relationship is_reference is_definition semanticdb maven . . minimized/MinimizedCaseClass#value. // ^^^^^^ reference semanticdb maven . . scala/Predef.String# def this() = this(value = "value") // ^^^^ definition semanticdb maven . . minimized/MinimizedCaseClass#``(+1). -// documentation ```scala\ndef this()\n``` +// display_name +// signature_documentation scala def this() +// kind Constructor // ^ reference semanticdb maven . . minimized/MinimizedCaseClass#``(). // ^^^^^ reference semanticdb maven . . minimized/MinimizedCaseClass#``().(value) } object MinimizedCaseClass { // ^^^^^^^^^^^^^^^^^^ definition semanticdb maven . . minimized/MinimizedCaseClass. -// documentation ```scala\nobject MinimizedCaseClass\n``` +// display_name MinimizedCaseClass +// signature_documentation scala object MinimizedCaseClass +// kind Object // relationship is_reference semanticdb maven . . minimized/MinimizedCaseClass.apply(). // __________________ synthetic_definition semanticdb maven . . minimized/MinimizedCaseClass.apply(). -// documentation ```scala\ndef apply(value: String): MinimizedCaseClass\n``` +// display_name apply +// signature_documentation scala def apply(value: String): MinimizedCaseClass +// kind Method // relationship is_definition semanticdb maven . . minimized/MinimizedCaseClass. def main(): Unit = { // ^^^^ definition semanticdb maven . . minimized/MinimizedCaseClass.main(). -// documentation ```scala\ndef main(): Unit\n``` +// display_name main +// signature_documentation scala def main(): Unit +// kind Method // ^^^^ reference semanticdb maven . . scala/Unit# println(MinimizedCaseClass.apply(value = "value1").copy(value = "value2").value) // ^^^^^^^ reference semanticdb maven . . scala/Predef.println(+1). @@ -71,22 +97,34 @@ object MinimizedCaseClass { trait MinimizedTrait[T] extends AutoCloseable { // ^^^^^^^^^^^^^^ definition semanticdb maven . . minimized/MinimizedTrait# -// documentation ```scala\ntrait MinimizedTrait[T]\n``` +// display_name MinimizedTrait +// signature_documentation scala trait MinimizedTrait[T] +// kind Trait // ^ definition semanticdb maven . . minimized/MinimizedTrait#[T] -// documentation ```scala\nT\n``` +// display_name T +// signature_documentation scala T +// kind TypeParameter // ^^^^^^^^^^^^^ reference semanticdb maven jdk 11 java/lang/AutoCloseable# def add(e: T): T // ^^^ definition semanticdb maven . . minimized/MinimizedTrait#add(). -// documentation ```scala\ndef add(e: T): T\n``` +// display_name add +// signature_documentation scala def add(e: T): T +// kind AbstractMethod // ^ definition semanticdb maven . . minimized/MinimizedTrait#add().(e) -// documentation ```scala\ne: T \n``` +// display_name e +// signature_documentation scala e: T +// kind Parameter // ^ reference semanticdb maven . . minimized/MinimizedTrait#[T] // ^ reference semanticdb maven . . minimized/MinimizedTrait#[T] final def +(e: T): T = add(e) // ^ definition semanticdb maven . . minimized/MinimizedTrait#`+`(). -// documentation ```scala\nfinal def +(e: T): T\n``` +// display_name + +// signature_documentation scala final def +(e: T): T +// kind Method // ^ definition semanticdb maven . . minimized/MinimizedTrait#`+`().(e) -// documentation ```scala\ne: T \n``` +// display_name e +// signature_documentation scala e: T +// kind Parameter // ^ reference semanticdb maven . . minimized/MinimizedTrait#[T] // ^ reference semanticdb maven . . minimized/MinimizedTrait#[T] // ^^^ reference semanticdb maven . . minimized/MinimizedTrait#add(). @@ -95,9 +133,13 @@ trait MinimizedTrait[T] extends AutoCloseable { class MinimizedScalaSignatures extends AutoCloseable with java.io.Serializable { // ^^^^^^^^^^^^^^^^^^^^^^^^ definition semanticdb maven . . minimized/MinimizedScalaSignatures# -// documentation ```scala\nclass MinimizedScalaSignatures\n``` +// display_name MinimizedScalaSignatures +// signature_documentation scala class MinimizedScalaSignatures +// kind Class // ^ definition semanticdb maven . . minimized/MinimizedScalaSignatures#``(). -// documentation ```scala\ndef this()\n``` +// display_name +// signature_documentation scala def this() +// kind Constructor // ^^^^^^^^^^^^^ reference semanticdb maven jdk 11 java/lang/AutoCloseable# // ^ reference semanticdb maven jdk 11 java/lang/Object#``(). // ^^^^ reference semanticdb maven . . java/ @@ -105,14 +147,18 @@ class MinimizedScalaSignatures extends AutoCloseable with java.io.Serializable { // ^^^^^^^^^^^^ reference semanticdb maven jdk 11 java/io/Serializable# def close(): Unit = () // ^^^^^ definition semanticdb maven . . minimized/MinimizedScalaSignatures#close(). -// documentation ```scala\ndef close(): Unit\n``` +// display_name close +// signature_documentation scala def close(): Unit +// kind Method // relationship is_reference is_implementation semanticdb maven jdk 11 java/lang/AutoCloseable#close(). // ^^^^ reference semanticdb maven . . scala/Unit# } object MinimizedScalaSignatures extends MinimizedScalaSignatures with Comparable[Int] { // ^^^^^^^^^^^^^^^^^^^^^^^^ definition semanticdb maven . . minimized/MinimizedScalaSignatures. -// documentation ```scala\nobject MinimizedScalaSignatures\n``` +// display_name MinimizedScalaSignatures +// signature_documentation scala object MinimizedScalaSignatures +// kind Object // ^^^^^^^^^^^^^^^^^^^^^^^^ reference semanticdb maven . . minimized/MinimizedScalaSignatures# // ^ reference semanticdb maven . . minimized/MinimizedScalaSignatures#``(). // ^^^^^^^^^^ reference semanticdb maven jdk 11 java/lang/Comparable# @@ -121,9 +167,13 @@ object MinimizedScalaSignatures extends MinimizedScalaSignatures with Comparable // ^^^^^^ reference semanticdb maven . . scala/inline# // ^ reference semanticdb maven . . scala/inline#``(). // ^^^^^^^^^^ definition semanticdb maven . . minimized/MinimizedScalaSignatures.annotation(). -// documentation ```scala\n@inline\ndef annotation(x: Int): Int\n``` +// display_name annotation +// signature_documentation scala @inline\ndef annotation(x: Int): Int +// kind Method // ^ definition semanticdb maven . . minimized/MinimizedScalaSignatures.annotation().(x) -// documentation ```scala\nx: Int \n``` +// display_name x +// signature_documentation scala x: Int +// kind Parameter // ^^^ reference semanticdb maven . . scala/Int# // ^^^ reference semanticdb maven . . scala/Int# // ^ reference semanticdb maven . . minimized/MinimizedScalaSignatures.annotation().(x) @@ -132,154 +182,236 @@ object MinimizedScalaSignatures extends MinimizedScalaSignatures with Comparable // ^^^^^^^^^^ reference semanticdb maven . . scala/deprecated# // ^ reference semanticdb maven . . scala/deprecated#``(). // ^^^^^^^^^^^^^^^^^ definition semanticdb maven . . minimized/MinimizedScalaSignatures.annotationMessage(). -// documentation ```scala\n@deprecated\ndef annotationMessage(x: Int): Int\n``` +// display_name annotationMessage +// signature_documentation scala @deprecated\ndef annotationMessage(x: Int): Int +// kind Method // ^ definition semanticdb maven . . minimized/MinimizedScalaSignatures.annotationMessage().(x) -// documentation ```scala\nx: Int \n``` +// display_name x +// signature_documentation scala x: Int +// kind Parameter // ^^^ reference semanticdb maven . . scala/Int# // ^^^ reference semanticdb maven . . scala/Int# // ^ reference semanticdb maven . . minimized/MinimizedScalaSignatures.annotationMessage().(x) // ^ reference semanticdb maven . . scala/Int#`+`(+4). def compareTo(x: Int): Int = ??? // ^^^^^^^^^ definition semanticdb maven . . minimized/MinimizedScalaSignatures.compareTo(). -// documentation ```scala\ndef compareTo(x: Int): Int\n``` +// display_name compareTo +// signature_documentation scala def compareTo(x: Int): Int +// kind Method // relationship is_reference is_implementation semanticdb maven jdk 11 java/lang/Comparable#compareTo(). // ^ definition semanticdb maven . . minimized/MinimizedScalaSignatures.compareTo().(x) -// documentation ```scala\nx: Int \n``` +// display_name x +// signature_documentation scala x: Int +// kind Parameter // ^^^ reference semanticdb maven . . scala/Int# // ^^^ reference semanticdb maven . . scala/Int# // ^^^ reference semanticdb maven . . scala/Predef.`???`(). def identity[T](e: T): T = e // ^^^^^^^^ definition semanticdb maven . . minimized/MinimizedScalaSignatures.identity(). -// documentation ```scala\ndef identity(e: T): T\n``` +// display_name identity +// signature_documentation scala def identity(e: T): T +// kind Method // ^ definition semanticdb maven . . minimized/MinimizedScalaSignatures.identity().[T] -// documentation ```scala\nT\n``` +// display_name T +// signature_documentation scala T +// kind TypeParameter // ^ definition semanticdb maven . . minimized/MinimizedScalaSignatures.identity().(e) -// documentation ```scala\ne: T \n``` +// display_name e +// signature_documentation scala e: T +// kind Parameter // ^ reference semanticdb maven . . minimized/MinimizedScalaSignatures.identity().[T] // ^ reference semanticdb maven . . minimized/MinimizedScalaSignatures.identity().[T] // ^ reference semanticdb maven . . minimized/MinimizedScalaSignatures.identity().(e) def tuple(): (Int, String) = null // ^^^^^ definition semanticdb maven . . minimized/MinimizedScalaSignatures.tuple(). -// documentation ```scala\ndef tuple(): (Int, String)\n``` +// display_name tuple +// signature_documentation scala def tuple(): (Int, String) +// kind Method // ^^^ reference semanticdb maven . . scala/Int# // ^^^^^^ reference semanticdb maven . . scala/Predef.String# def function0(): () => String = null // ^^^^^^^^^ definition semanticdb maven . . minimized/MinimizedScalaSignatures.function0(). -// documentation ```scala\ndef function0(): String=> String\n``` +// display_name function0 +// signature_documentation scala def function0(): String=> String +// kind Method // ^^^^^^ reference semanticdb maven . . scala/Predef.String# def function1(): Int => String = null // ^^^^^^^^^ definition semanticdb maven . . minimized/MinimizedScalaSignatures.function1(). -// documentation ```scala\ndef function1(): (Int) => String\n``` +// display_name function1 +// signature_documentation scala def function1(): (Int) => String +// kind Method // ^^^ reference semanticdb maven . . scala/Int# // ^^^^^^ reference semanticdb maven . . scala/Predef.String# def function2(): (Int, String) => Unit = null // ^^^^^^^^^ definition semanticdb maven . . minimized/MinimizedScalaSignatures.function2(). -// documentation ```scala\ndef function2(): (Int, String) => Unit\n``` +// display_name function2 +// signature_documentation scala def function2(): (Int, String) => Unit +// kind Method // ^^^ reference semanticdb maven . . scala/Int# // ^^^^^^ reference semanticdb maven . . scala/Predef.String# // ^^^^ reference semanticdb maven . . scala/Unit# def typeParameter(): Map[Int, String] = null // ^^^^^^^^^^^^^ definition semanticdb maven . . minimized/MinimizedScalaSignatures.typeParameter(). -// documentation ```scala\ndef typeParameter(): Map[Int, String]\n``` +// display_name typeParameter +// signature_documentation scala def typeParameter(): Map[Int, String] +// kind Method // ^^^ reference semanticdb maven . . scala/Predef.Map# // ^^^ reference semanticdb maven . . scala/Int# // ^^^^^^ reference semanticdb maven . . scala/Predef.String# def termParameter(a: Int, b: String): String = null // ^^^^^^^^^^^^^ definition semanticdb maven . . minimized/MinimizedScalaSignatures.termParameter(). -// documentation ```scala\ndef termParameter(a: Int, b: String): String\n``` +// display_name termParameter +// signature_documentation scala def termParameter(a: Int, b: String): String +// kind Method // ^ definition semanticdb maven . . minimized/MinimizedScalaSignatures.termParameter().(a) -// documentation ```scala\na: Int \n``` +// display_name a +// signature_documentation scala a: Int +// kind Parameter // ^^^ reference semanticdb maven . . scala/Int# // ^ definition semanticdb maven . . minimized/MinimizedScalaSignatures.termParameter().(b) -// documentation ```scala\nb: String \n``` +// display_name b +// signature_documentation scala b: String +// kind Parameter // ^^^^^^ reference semanticdb maven . . scala/Predef.String# // ^^^^^^ reference semanticdb maven . . scala/Predef.String# def singletonType(e: String): e.type = e // ^^^^^^^^^^^^^ definition semanticdb maven . . minimized/MinimizedScalaSignatures.singletonType(). -// documentation ```scala\ndef singletonType(e: String): e.type\n``` +// display_name singletonType +// signature_documentation scala def singletonType(e: String): e.type +// kind Method // ^ definition semanticdb maven . . minimized/MinimizedScalaSignatures.singletonType().(e) -// documentation ```scala\ne: String \n``` +// display_name e +// signature_documentation scala e: String +// kind Parameter // ^^^^^^ reference semanticdb maven . . scala/Predef.String# // ^ reference semanticdb maven . . minimized/MinimizedScalaSignatures.singletonType().(e) // ^ reference semanticdb maven . . minimized/MinimizedScalaSignatures.singletonType().(e) def thisType(): this.type = this // ^^^^^^^^ definition semanticdb maven . . minimized/MinimizedScalaSignatures.thisType(). -// documentation ```scala\ndef thisType(): this.type\n``` +// display_name thisType +// signature_documentation scala def thisType(): this.type +// kind Method def constantInt(): 1 = 1 // ^^^^^^^^^^^ definition semanticdb maven . . minimized/MinimizedScalaSignatures.constantInt(). -// documentation ```scala\ndef constantInt(): 1\n``` +// display_name constantInt +// signature_documentation scala def constantInt(): 1 +// kind Method def constantString(): "string" = "string" // ^^^^^^^^^^^^^^ definition semanticdb maven . . minimized/MinimizedScalaSignatures.constantString(). -// documentation ```scala\ndef constantString(): "string"\n``` +// display_name constantString +// signature_documentation scala def constantString(): "string" +// kind Method def constantBoolean(): true = true // ^^^^^^^^^^^^^^^ definition semanticdb maven . . minimized/MinimizedScalaSignatures.constantBoolean(). -// documentation ```scala\ndef constantBoolean(): true\n``` +// display_name constantBoolean +// signature_documentation scala def constantBoolean(): true +// kind Method def constantFloat(): 1.2f = 1.2f // ^^^^^^^^^^^^^ definition semanticdb maven . . minimized/MinimizedScalaSignatures.constantFloat(). -// documentation ```scala\ndef constantFloat(): 1.2f\n``` +// display_name constantFloat +// signature_documentation scala def constantFloat(): 1.2f +// kind Method def constantChar(): 'a' = 'a' // ^^^^^^^^^^^^ definition semanticdb maven . . minimized/MinimizedScalaSignatures.constantChar(). -// documentation ```scala\ndef constantChar(): 'a'\n``` +// display_name constantChar +// signature_documentation scala def constantChar(): 'a' +// kind Method def structuralType(): { val x: Int; def foo(a: Int): String } = null // ^^^^^^^^^^^^^^ definition semanticdb maven . . minimized/MinimizedScalaSignatures.structuralType(). -// documentation ```scala\ndef structuralType(): { val x: Int; def foo(a: Int): String }\n``` +// display_name structuralType +// signature_documentation scala def structuralType(): { val x: Int; def foo(a: Int): String } +// kind Method // ^ definition local 1 -// documentation ```scala\nval x: Int\n``` +// display_name x +// signature_documentation scala val x: Int +// kind AbstractMethod // ^^^ reference semanticdb maven . . scala/Int# // ^^^ definition local 2 -// documentation ```scala\ndef foo(a: Int): String\n``` +// display_name foo +// signature_documentation scala def foo(a: Int): String +// kind AbstractMethod // ^ definition local 3 -// documentation ```scala\na: Int \n``` +// display_name a +// signature_documentation scala a: Int +// kind Parameter // ^^^ reference semanticdb maven . . scala/Int# // ^^^^^^ reference semanticdb maven . . scala/Predef.String# def byNameType(a: => Int): Unit = () // ^^^^^^^^^^ definition semanticdb maven . . minimized/MinimizedScalaSignatures.byNameType(). -// documentation ```scala\ndef byNameType(a: => Int): Unit\n``` +// display_name byNameType +// signature_documentation scala def byNameType(a: => Int): Unit +// kind Method // ^ definition semanticdb maven . . minimized/MinimizedScalaSignatures.byNameType().(a) -// documentation ```scala\na: => Int \n``` +// display_name a +// signature_documentation scala a: => Int +// kind Parameter // ^^^ reference semanticdb maven . . scala/Int# // ^^^^ reference semanticdb maven . . scala/Unit# def repeatedType(a: Int*): Unit = () // ^^^^^^^^^^^^ definition semanticdb maven . . minimized/MinimizedScalaSignatures.repeatedType(). -// documentation ```scala\ndef repeatedType(a: Int*): Unit\n``` +// display_name repeatedType +// signature_documentation scala def repeatedType(a: Int*): Unit +// kind Method // ^ definition semanticdb maven . . minimized/MinimizedScalaSignatures.repeatedType().(a) -// documentation ```scala\na: Int* \n``` +// display_name a +// signature_documentation scala a: Int* +// kind Parameter // ^^^ reference semanticdb maven . . scala/Int# // ^^^^ reference semanticdb maven . . scala/Unit# type TypeAlias = Int // ^^^^^^^^^ definition semanticdb maven . . minimized/MinimizedScalaSignatures.TypeAlias# -// documentation ```scala\ntype TypeAlias >: Int <: Int\n``` +// display_name TypeAlias +// signature_documentation scala type TypeAlias >: Int <: Int +// kind Type // ^^^ reference semanticdb maven . . scala/Int# type ParameterizedTypeAlias[A] = () => A // ^^^^^^^^^^^^^^^^^^^^^^ definition semanticdb maven . . minimized/MinimizedScalaSignatures.ParameterizedTypeAlias# -// documentation ```scala\ntype ParameterizedTypeAlias >: A=> A <: A=> A\n``` +// display_name ParameterizedTypeAlias +// signature_documentation scala type ParameterizedTypeAlias >: A=> A <: A=> A +// kind Type // ^ definition semanticdb maven . . minimized/MinimizedScalaSignatures.ParameterizedTypeAlias#[A] -// documentation ```scala\nA\n``` +// display_name A +// signature_documentation scala A +// kind TypeParameter // ^ reference semanticdb maven . . minimized/MinimizedScalaSignatures.ParameterizedTypeAlias#[A] type ParameterizedTypeAlias2[A, B] = A => B // ^^^^^^^^^^^^^^^^^^^^^^^ definition semanticdb maven . . minimized/MinimizedScalaSignatures.ParameterizedTypeAlias2# -// documentation ```scala\ntype ParameterizedTypeAlias2 >: (A) => B <: (A) => B\n``` +// display_name ParameterizedTypeAlias2 +// signature_documentation scala type ParameterizedTypeAlias2 >: (A) => B <: (A) => B +// kind Type // ^ definition semanticdb maven . . minimized/MinimizedScalaSignatures.ParameterizedTypeAlias2#[A] -// documentation ```scala\nA\n``` +// display_name A +// signature_documentation scala A +// kind TypeParameter // ^ definition semanticdb maven . . minimized/MinimizedScalaSignatures.ParameterizedTypeAlias2#[B] -// documentation ```scala\nB\n``` +// display_name B +// signature_documentation scala B +// kind TypeParameter // ^ reference semanticdb maven . . minimized/MinimizedScalaSignatures.ParameterizedTypeAlias2#[A] // ^ reference semanticdb maven . . minimized/MinimizedScalaSignatures.ParameterizedTypeAlias2#[B] type TypeBound // ^^^^^^^^^ definition semanticdb maven . . minimized/MinimizedScalaSignatures.TypeBound# -// documentation ```scala\ntype TypeBound\n``` +// display_name TypeBound +// signature_documentation scala type TypeBound +// kind Type type TypeUpperBound <: String // ^^^^^^^^^^^^^^ definition semanticdb maven . . minimized/MinimizedScalaSignatures.TypeUpperBound# -// documentation ```scala\ntype TypeUpperBound <: String\n``` +// display_name TypeUpperBound +// signature_documentation scala type TypeUpperBound <: String +// kind Type // ^^^^^^ reference semanticdb maven . . scala/Predef.String# type TypeLowerBound >: CharSequence // ^^^^^^^^^^^^^^ definition semanticdb maven . . minimized/MinimizedScalaSignatures.TypeLowerBound# -// documentation ```scala\ntype TypeLowerBound >: CharSequence\n``` +// display_name TypeLowerBound +// signature_documentation scala type TypeLowerBound >: CharSequence +// kind Type // ^^^^^^^^^^^^ reference semanticdb maven jdk 11 java/lang/CharSequence# type TypeLowerUpperBound >: String <: CharSequence // ^^^^^^^^^^^^^^^^^^^ definition semanticdb maven . . minimized/MinimizedScalaSignatures.TypeLowerUpperBound# -// documentation ```scala\ntype TypeLowerUpperBound >: String <: CharSequence\n``` +// display_name TypeLowerUpperBound +// signature_documentation scala type TypeLowerUpperBound >: String <: CharSequence +// kind Type // ^^^^^^ reference semanticdb maven . . scala/Predef.String# // ^^^^^^^^^^^^ reference semanticdb maven jdk 11 java/lang/CharSequence# } diff --git a/tests/snapshots/src/main/generated/tests/minimized-scala/src/main/scala/minimized/MinimizedScalaSynthetic.scala b/tests/snapshots/src/main/generated/tests/minimized-scala/src/main/scala/minimized/MinimizedScalaSynthetic.scala index 122faa527..bd8c7cd1b 100644 --- a/tests/snapshots/src/main/generated/tests/minimized-scala/src/main/scala/minimized/MinimizedScalaSynthetic.scala +++ b/tests/snapshots/src/main/generated/tests/minimized-scala/src/main/scala/minimized/MinimizedScalaSynthetic.scala @@ -15,19 +15,27 @@ import scala.concurrent.Future class MinimizedScalaSynthetic { // ^^^^^^^^^^^^^^^^^^^^^^^ definition semanticdb maven . . minimized/MinimizedScalaSynthetic# -// documentation ```scala\nclass MinimizedScalaSynthetic\n``` +// display_name MinimizedScalaSynthetic +// signature_documentation scala class MinimizedScalaSynthetic +// kind Class // ^ definition semanticdb maven . . minimized/MinimizedScalaSynthetic#``(). -// documentation ```scala\ndef this()\n``` +// display_name +// signature_documentation scala def this() +// kind Constructor def everything(): Unit = Future(1) // ^^^^^^^^^^ definition semanticdb maven . . minimized/MinimizedScalaSynthetic#everything(). -// documentation ```scala\ndef everything(): Unit\n``` +// display_name everything +// signature_documentation scala def everything(): Unit +// kind Method // ^^^^ reference semanticdb maven . . scala/Unit# // ^^^^^^ reference semanticdb maven . . scala/concurrent/Future. // ^ reference semanticdb maven . . scala/concurrent/Future.apply(). // ^ reference semanticdb maven . . scala/concurrent/ExecutionContext.Implicits.global(). def applyTree(): Unit = Future.apply[Int](1) // ^^^^^^^^^ definition semanticdb maven . . minimized/MinimizedScalaSynthetic#applyTree(). -// documentation ```scala\ndef applyTree(): Unit\n``` +// display_name applyTree +// signature_documentation scala def applyTree(): Unit +// kind Method // ^^^^ reference semanticdb maven . . scala/Unit# // ^^^^^^ reference semanticdb maven . . scala/concurrent/Future. // ^^^^^ reference semanticdb maven . . scala/concurrent/Future.apply(). @@ -35,7 +43,9 @@ class MinimizedScalaSynthetic { // ^ reference semanticdb maven . . scala/concurrent/ExecutionContext.Implicits.global(). def applyTree2(): Unit = List.apply[Int](1).sorted // ^^^^^^^^^^ definition semanticdb maven . . minimized/MinimizedScalaSynthetic#applyTree2(). -// documentation ```scala\ndef applyTree2(): Unit\n``` +// display_name applyTree2 +// signature_documentation scala def applyTree2(): Unit +// kind Method // ^^^^ reference semanticdb maven . . scala/Unit# // ^^^^ reference semanticdb maven . . scala/package.List. // ^^^^^ reference semanticdb maven . . scala/collection/IterableFactory#apply(). @@ -44,7 +54,9 @@ class MinimizedScalaSynthetic { // ^ reference semanticdb maven . . scala/math/Ordering.Int. def selectTree(): Unit = Future[Int](1) // ^^^^^^^^^^ definition semanticdb maven . . minimized/MinimizedScalaSynthetic#selectTree(). -// documentation ```scala\ndef selectTree(): Unit\n``` +// display_name selectTree +// signature_documentation scala def selectTree(): Unit +// kind Method // ^^^^ reference semanticdb maven . . scala/Unit# // ^^^^^^ reference semanticdb maven . . scala/concurrent/Future. // ^ reference semanticdb maven . . scala/concurrent/Future.apply(). @@ -52,24 +64,32 @@ class MinimizedScalaSynthetic { // ^ reference semanticdb maven . . scala/concurrent/ExecutionContext.Implicits.global(). def typeApplyTree(): Unit = Future.apply(1) // ^^^^^^^^^^^^^ definition semanticdb maven . . minimized/MinimizedScalaSynthetic#typeApplyTree(). -// documentation ```scala\ndef typeApplyTree(): Unit\n``` +// display_name typeApplyTree +// signature_documentation scala def typeApplyTree(): Unit +// kind Method // ^^^^ reference semanticdb maven . . scala/Unit# // ^^^^^^ reference semanticdb maven . . scala/concurrent/Future. // ^^^^^ reference semanticdb maven . . scala/concurrent/Future.apply(). // ^ reference semanticdb maven . . scala/concurrent/ExecutionContext.Implicits.global(). def forComprehensions(): Unit = // ^^^^^^^^^^^^^^^^^ definition semanticdb maven . . minimized/MinimizedScalaSynthetic#forComprehensions(). -// documentation ```scala\ndef forComprehensions(): Unit\n``` +// display_name forComprehensions +// signature_documentation scala def forComprehensions(): Unit +// kind Method // ^^^^ reference semanticdb maven . . scala/Unit# for { x <- Future(1) // ^ definition local 0 -// documentation ```scala\nx: Int \n``` +// display_name x +// signature_documentation scala x: Int +// kind Parameter // ^^^^^^ reference semanticdb maven . . scala/concurrent/Future. // ^ reference semanticdb maven . . scala/concurrent/Future.apply(). y <- Future.successful(1) // ^ definition local 1 -// documentation ```scala\ny: Int \n``` +// display_name y +// signature_documentation scala y: Int +// kind Parameter // ^^^^^^ reference semanticdb maven . . scala/concurrent/Future. // ^^^^^^^^^^ reference semanticdb maven . . scala/concurrent/Future.successful(). if y < 2 @@ -77,7 +97,9 @@ class MinimizedScalaSynthetic { // ^ reference semanticdb maven . . scala/Int#`<`(+3). z <- Future.apply[Int](1) // ^ definition local 2 -// documentation ```scala\nz: Int \n``` +// display_name z +// signature_documentation scala z: Int +// kind Parameter // ^^^^^^ reference semanticdb maven . . scala/concurrent/Future. // ^^^^^ reference semanticdb maven . . scala/concurrent/Future.apply(). // ^^^ reference semanticdb maven . . scala/Int# diff --git a/tests/snapshots/src/main/generated/tests/minimized-scala/src/main/scala/minimized/ReflectiveCall.scala b/tests/snapshots/src/main/generated/tests/minimized-scala/src/main/scala/minimized/ReflectiveCall.scala index 514615f6e..882f5f7a6 100644 --- a/tests/snapshots/src/main/generated/tests/minimized-scala/src/main/scala/minimized/ReflectiveCall.scala +++ b/tests/snapshots/src/main/generated/tests/minimized-scala/src/main/scala/minimized/ReflectiveCall.scala @@ -8,19 +8,29 @@ import scala.language.reflectiveCalls class ReflectiveCall { // ^^^^^^^^^^^^^^ definition semanticdb maven . . minimized/ReflectiveCall# -// documentation ```scala\nclass ReflectiveCall\n``` +// display_name ReflectiveCall +// signature_documentation scala class ReflectiveCall +// kind Class // ^ definition semanticdb maven . . minimized/ReflectiveCall#``(). -// documentation ```scala\ndef this()\n``` +// display_name +// signature_documentation scala def this() +// kind Constructor // Reproduction for https://github.com/scalameta/scalameta/issues/2788 val a = // ^ definition semanticdb maven . . minimized/ReflectiveCall#a. -// documentation ```scala\nval a: { val b: Int }\n``` +// display_name a +// signature_documentation scala val a: { val b: Int } +// kind Method new { // ^ definition local 0 -// documentation ```scala\nfinal class $anon\n``` +// display_name $anon +// signature_documentation scala final class $anon +// kind Class val b = 1 // ^ definition local 1 -// documentation ```scala\nval b: Int\n``` +// display_name b +// signature_documentation scala val b: Int +// kind Method } println(a.b) //^^^^^^^ reference semanticdb maven . . scala/Predef.println(+1). diff --git a/tests/snapshots/src/main/generated/tests/minimized/src/main/java/minimized/AbstractClasses.java b/tests/snapshots/src/main/generated/tests/minimized/src/main/java/minimized/AbstractClasses.java index 694339277..221e9b617 100644 --- a/tests/snapshots/src/main/generated/tests/minimized/src/main/java/minimized/AbstractClasses.java +++ b/tests/snapshots/src/main/generated/tests/minimized/src/main/java/minimized/AbstractClasses.java @@ -2,19 +2,27 @@ public abstract class AbstractClasses { // ^^^^^^^^^^^^^^^ definition semanticdb maven . . minimized/AbstractClasses# -// documentation ```java\npublic abstract class AbstractClasses\n``` +// display_name AbstractClasses +// signature_documentation java public abstract class AbstractClasses +// kind Class // ^^^^^^^^^^^^^^^ definition semanticdb maven . . minimized/AbstractClasses#``(). -// documentation ```java\npublic AbstractClasses()\n``` +// display_name +// signature_documentation java public AbstractClasses() +// kind Constructor public String defaultImplementation() { // ^^^^^^ reference semanticdb maven jdk 11 java/lang/String# // ^^^^^^^^^^^^^^^^^^^^^ definition semanticdb maven . . minimized/AbstractClasses#defaultImplementation(). -// documentation ```java\npublic String defaultImplementation()\n``` +// display_name defaultImplementation +// signature_documentation java public String defaultImplementation() +// kind Method return ""; } public abstract String abstractImplementation(); // ^^^^^^ reference semanticdb maven jdk 11 java/lang/String# // ^^^^^^^^^^^^^^^^^^^^^^ definition semanticdb maven . . minimized/AbstractClasses#abstractImplementation(). -// documentation ```java\npublic abstract String abstractImplementation()\n``` +// display_name abstractImplementation +// signature_documentation java public abstract String abstractImplementation() +// kind AbstractMethod // relationship is_reference is_implementation semanticdb maven . . minimized/SubClasses#abstractImplementation(). } diff --git a/tests/snapshots/src/main/generated/tests/minimized/src/main/java/minimized/Annotations.java b/tests/snapshots/src/main/generated/tests/minimized/src/main/java/minimized/Annotations.java index d547e1ef1..0c3a9db61 100644 --- a/tests/snapshots/src/main/generated/tests/minimized/src/main/java/minimized/Annotations.java +++ b/tests/snapshots/src/main/generated/tests/minimized/src/main/java/minimized/Annotations.java @@ -52,16 +52,22 @@ ) public @interface Annotations { // ^^^^^^^^^^^ definition semanticdb maven . . minimized/Annotations# -// documentation ```java\n@Documented\n@Retention(RetentionPolicy.RUNTIME)\n@Target({CONSTRUCTOR, FIELD, LOCAL_VARIABLE, METHOD, PACKAGE, PARAMETER, TYPE})\npublic @interface Annotations\n``` +// display_name Annotations +// signature_documentation java @Documented\n@Retention(RetentionPolicy.RUNTIME)\n@Target({CONSTRUCTOR, FIELD, LOCAL_VARIABLE, METHOD, PACKAGE, PARAMETER, TYPE})\npublic @interface Annotations +// kind Interface // relationship is_implementation semanticdb maven jdk 11 java/lang/annotation/Annotation# String value() default ""; //^^^^^^ reference semanticdb maven jdk 11 java/lang/String# // ^^^^^ definition semanticdb maven . . minimized/Annotations#value(). -// documentation ```java\npublic abstract String value()\n``` +// display_name value +// signature_documentation java public abstract String value() +// kind AbstractMethod String format() default ""; //^^^^^^ reference semanticdb maven jdk 11 java/lang/String# // ^^^^^^ definition semanticdb maven . . minimized/Annotations#format(). -// documentation ```java\npublic abstract String format()\n``` +// display_name format +// signature_documentation java public abstract String format() +// kind AbstractMethod } diff --git a/tests/snapshots/src/main/generated/tests/minimized/src/main/java/minimized/AnnotationsOnParameterizedTypes.java b/tests/snapshots/src/main/generated/tests/minimized/src/main/java/minimized/AnnotationsOnParameterizedTypes.java index 79922891a..40c1222e0 100644 --- a/tests/snapshots/src/main/generated/tests/minimized/src/main/java/minimized/AnnotationsOnParameterizedTypes.java +++ b/tests/snapshots/src/main/generated/tests/minimized/src/main/java/minimized/AnnotationsOnParameterizedTypes.java @@ -28,7 +28,9 @@ public interface AnnotationsOnParameterizedTypes { // ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ definition semanticdb maven . . minimized/AnnotationsOnParameterizedTypes# -// documentation ```java\npublic interface AnnotationsOnParameterizedTypes\n``` +// display_name AnnotationsOnParameterizedTypes +// signature_documentation java public interface AnnotationsOnParameterizedTypes +// kind Interface public static AnnotationsOnParameterizedTypes getInstance() { return new AnnotationsOnParameterizedTypesImpl(); @@ -40,47 +42,66 @@ public static AnnotationsOnParameterizedTypes getInstance() { class AnnotationsOnParameterizedTypesImpl implements AnnotationsOnParameterizedTypes { // ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ definition semanticdb maven . . minimized/AnnotationsOnParameterizedTypesImpl# -// documentation ```java\nclass AnnotationsOnParameterizedTypesImpl\n``` +// display_name AnnotationsOnParameterizedTypesImpl +// signature_documentation java class AnnotationsOnParameterizedTypesImpl +// kind Class // relationship is_implementation semanticdb maven . . minimized/AnnotationsOnParameterizedTypes# // ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ definition semanticdb maven . . minimized/AnnotationsOnParameterizedTypesImpl#``(). -// documentation ```java\nAnnotationsOnParameterizedTypesImpl()\n``` +// display_name +// signature_documentation java AnnotationsOnParameterizedTypesImpl() +// kind Constructor // ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ reference semanticdb maven . . minimized/AnnotationsOnParameterizedTypes# private ConcurrentMap, Constructor> proxyConstructors = new ConcurrentHashMap<>(); // ^^^^^^^^^^^^^ reference semanticdb maven jdk 11 java/util/concurrent/ConcurrentMap# // ^^^^^ reference semanticdb maven jdk 11 java/lang/Class# // ^^^^^^^^^^^ reference semanticdb maven jdk 11 java/lang/reflect/Constructor# // ^^^^^^^^^^^^^^^^^ definition semanticdb maven . . minimized/AnnotationsOnParameterizedTypesImpl#proxyConstructors. -// documentation ```java\nprivate ConcurrentMap, Constructor> proxyConstructors\n``` +// display_name proxyConstructors +// signature_documentation java private ConcurrentMap, Constructor> proxyConstructors +// kind Field // ^^^^^^^^^^^^^^^^^ reference semanticdb maven jdk 11 java/util/concurrent/ConcurrentHashMap#``(). @Override // ^^^^^^^^ reference semanticdb maven jdk 11 java/lang/Override# public Function adapter(Class contract, Class wrappedClass) { // ^ definition semanticdb maven . . minimized/AnnotationsOnParameterizedTypesImpl#adapter().[C] -// documentation ```java\nC\n``` +// display_name C +// signature_documentation java C +// kind TypeParameter // ^ definition semanticdb maven . . minimized/AnnotationsOnParameterizedTypesImpl#adapter().[W] -// documentation ```java\nW\n``` +// display_name W +// signature_documentation java W +// kind TypeParameter // ^^^^^^^^ reference semanticdb maven jdk 11 java/util/function/Function# // ^ reference semanticdb maven . . minimized/AnnotationsOnParameterizedTypesImpl#adapter().[W] // ^ reference semanticdb maven . . minimized/AnnotationsOnParameterizedTypesImpl#adapter().[C] // ^^^^^^^ definition semanticdb maven . . minimized/AnnotationsOnParameterizedTypesImpl#adapter(). -// documentation ```java\n@Override\npublic Function adapter(Class contract, Class wrappedClass)\n``` +// display_name adapter +// signature_documentation java @Override\npublic Function adapter(Class contract, Class wrappedClass) +// kind Method // relationship is_reference is_implementation semanticdb maven . . minimized/AnnotationsOnParameterizedTypes#adapter(). // ^^^^^ reference semanticdb maven jdk 11 java/lang/Class# // ^ reference semanticdb maven . . minimized/AnnotationsOnParameterizedTypesImpl#adapter().[C] // ^^^^^^^^ definition local 0 -// documentation ```java\nClass contract\n``` +// display_name contract +// signature_documentation java Class contract +// enclosing_symbol semanticdb maven . . minimized/AnnotationsOnParameterizedTypesImpl#adapter(). // ^^^^^ reference semanticdb maven jdk 11 java/lang/Class# // ^ reference semanticdb maven . . minimized/AnnotationsOnParameterizedTypesImpl#adapter().[W] // ^^^^^^^^^^^^ definition local 1 -// documentation ```java\nClass wrappedClass\n``` +// display_name wrappedClass +// signature_documentation java Class wrappedClass +// enclosing_symbol semanticdb maven . . minimized/AnnotationsOnParameterizedTypesImpl#adapter(). Function constructor = getConstructor(contract); // ^^^^^^^^ reference semanticdb maven jdk 11 java/util/function/Function# // ^^^^^^^^^^^^^^^^^ reference semanticdb maven jdk 11 java/lang/reflect/InvocationHandler# // ^ reference semanticdb maven . . minimized/AnnotationsOnParameterizedTypesImpl#adapter().[C] // ^^^^^^^^^^^ definition local 2 -// documentation ```java\nFunction constructor\n``` +// display_name constructor +// signature_documentation java Function constructor +// enclosing_symbol semanticdb maven . . minimized/AnnotationsOnParameterizedTypesImpl#adapter(). +// kind Variable // ^^^^^^^^^^^^^^ reference semanticdb maven . . minimized/AnnotationsOnParameterizedTypesImpl#getConstructor(). // ^^^^^^^^ reference local 0 @@ -95,30 +116,41 @@ public Function adapter(Class contract, Class wrappedClass) { private Function getConstructor(Class contract) { // ^ definition semanticdb maven . . minimized/AnnotationsOnParameterizedTypesImpl#getConstructor().[T] -// documentation ```java\nT\n``` +// display_name T +// signature_documentation java T +// kind TypeParameter // ^^^^^^^^ reference semanticdb maven jdk 11 java/util/function/Function# // ^^^^^^^^^^^^^^^^^ reference semanticdb maven jdk 11 java/lang/reflect/InvocationHandler# // ^ reference semanticdb maven . . minimized/AnnotationsOnParameterizedTypesImpl#getConstructor().[T] // ^^^^^^^^^^^^^^ definition semanticdb maven . . minimized/AnnotationsOnParameterizedTypesImpl#getConstructor(). -// documentation ```java\nprivate Function getConstructor(Class contract)\n``` +// display_name getConstructor +// signature_documentation java private Function getConstructor(Class contract) +// kind Method // ^^^^^ reference semanticdb maven jdk 11 java/lang/Class# // ^ reference semanticdb maven . . minimized/AnnotationsOnParameterizedTypesImpl#getConstructor().[T] // ^^^^^^^^ definition local 3 -// documentation ```java\nClass contract\n``` +// display_name contract +// signature_documentation java Class contract +// enclosing_symbol semanticdb maven . . minimized/AnnotationsOnParameterizedTypesImpl#getConstructor(). @SuppressWarnings("unchecked") // ^^^^^^^^^^^^^^^^ reference semanticdb maven jdk 11 java/lang/SuppressWarnings# Constructor constructor = (Constructor) proxyConstructors.computeIfAbsent(contract, c -> { // ^^^^^^^^^^^ reference semanticdb maven jdk 11 java/lang/reflect/Constructor# // ^ reference semanticdb maven . . minimized/AnnotationsOnParameterizedTypesImpl#getConstructor().[T] // ^^^^^^^^^^^ definition local 4 -// documentation ```java\n@SuppressWarnings("unchecked")\nConstructor constructor\n``` +// display_name constructor +// signature_documentation java @SuppressWarnings("unchecked")\nConstructor constructor +// enclosing_symbol semanticdb maven . . minimized/AnnotationsOnParameterizedTypesImpl#getConstructor(). +// kind Variable // ^^^^^^^^^^^ reference semanticdb maven jdk 11 java/lang/reflect/Constructor# // ^ reference semanticdb maven . . minimized/AnnotationsOnParameterizedTypesImpl#getConstructor().[T] // ^^^^^^^^^^^^^^^^^ reference semanticdb maven . . minimized/AnnotationsOnParameterizedTypesImpl#proxyConstructors. // ^^^^^^^^^^^^^^^ reference semanticdb maven jdk 11 java/util/concurrent/ConcurrentMap#computeIfAbsent(). // ^^^^^^^^ reference local 3 // ^ definition local 5 -// documentation ```java\nClass c\n``` +// display_name c +// signature_documentation java Class c +// enclosing_symbol semanticdb maven . . minimized/AnnotationsOnParameterizedTypesImpl#getConstructor(). return null; }); diff --git a/tests/snapshots/src/main/generated/tests/minimized/src/main/java/minimized/AnonymousClasses.java b/tests/snapshots/src/main/generated/tests/minimized/src/main/java/minimized/AnonymousClasses.java index 120025a63..e7dcdf466 100644 --- a/tests/snapshots/src/main/generated/tests/minimized/src/main/java/minimized/AnonymousClasses.java +++ b/tests/snapshots/src/main/generated/tests/minimized/src/main/java/minimized/AnonymousClasses.java @@ -10,20 +10,31 @@ //^^^^^^^^^^^^^^^ reference semanticdb maven jdk 11 java/lang/SuppressWarnings# public class AnonymousClasses { // ^^^^^^^^^^^^^^^^ definition semanticdb maven . . minimized/AnonymousClasses# -// documentation ```java\n@SuppressWarnings("ALL")\npublic class AnonymousClasses\n``` +// display_name AnonymousClasses +// signature_documentation java @SuppressWarnings("ALL")\npublic class AnonymousClasses +// kind Class // ^^^^^^^^^^^^^^^^ definition semanticdb maven . . minimized/AnonymousClasses#``(). -// documentation ```java\npublic AnonymousClasses()\n``` +// display_name +// signature_documentation java public AnonymousClasses() +// kind Constructor public static int app(int n) { // ^^^ definition semanticdb maven . . minimized/AnonymousClasses#app(). -// documentation ```java\npublic static int app(int n)\n``` +// display_name app +// signature_documentation java public static int app(int n) +// kind StaticMethod // ^ definition local 0 -// documentation ```java\nint n\n``` +// display_name n +// signature_documentation java int n +// enclosing_symbol semanticdb maven . . minimized/AnonymousClasses#app(). Function fn = // ^^^^^^^^ reference semanticdb maven jdk 11 java/util/function/Function# // ^^^^^^^ reference semanticdb maven jdk 11 java/lang/Integer# // ^^^^^^^ reference semanticdb maven jdk 11 java/lang/Integer# // ^^ definition local 1 -// documentation ```java\nFunction fn\n``` +// display_name fn +// signature_documentation java Function fn +// enclosing_symbol semanticdb maven . . minimized/AnonymousClasses#app(). +// kind Variable new Function() { // ^^^^^^^^ reference semanticdb maven jdk 11 java/util/function/Function# // ^^^^^^^ reference semanticdb maven jdk 11 java/lang/Integer# @@ -33,11 +44,16 @@ public static int app(int n) { public Integer apply(Integer integer) { // ^^^^^^^ reference semanticdb maven jdk 11 java/lang/Integer# // ^^^^^ definition local 3 -// documentation ```java\n@Override\npublic Integer apply(Integer integer)\n``` +// display_name apply +// signature_documentation java @Override\npublic Integer apply(Integer integer) +// enclosing_symbol local 2 +// kind Method // relationship is_reference is_implementation semanticdb maven jdk 11 java/util/function/Function#apply(). // ^^^^^^^ reference semanticdb maven jdk 11 java/lang/Integer# // ^^^^^^^ definition local 4 -// documentation ```java\nInteger integer\n``` +// display_name integer +// signature_documentation java Integer integer +// enclosing_symbol local 3 return integer + n; // ^^^^^^^ reference local 4 // ^ reference local 0 diff --git a/tests/snapshots/src/main/generated/tests/minimized/src/main/java/minimized/Arrays.java b/tests/snapshots/src/main/generated/tests/minimized/src/main/java/minimized/Arrays.java index e51f7b6cf..1be452b49 100644 --- a/tests/snapshots/src/main/generated/tests/minimized/src/main/java/minimized/Arrays.java +++ b/tests/snapshots/src/main/generated/tests/minimized/src/main/java/minimized/Arrays.java @@ -2,27 +2,45 @@ public class Arrays { // ^^^^^^ definition semanticdb maven . . minimized/Arrays# -// documentation ```java\npublic class Arrays\n``` +// display_name Arrays +// signature_documentation java public class Arrays +// kind Class // ^^^^^^ definition semanticdb maven . . minimized/Arrays#``(). -// documentation ```java\npublic Arrays()\n``` +// display_name +// signature_documentation java public Arrays() +// kind Constructor public static String app() { // ^^^^^^ reference semanticdb maven jdk 11 java/lang/String# // ^^^ definition semanticdb maven . . minimized/Arrays#app(). -// documentation ```java\npublic static String app()\n``` +// display_name app +// signature_documentation java public static String app() +// kind StaticMethod int[] a = {1, 2, 3}; // ^ definition local 0 -// documentation ```java\nint[] a\n``` +// display_name a +// signature_documentation java int[] a +// enclosing_symbol semanticdb maven . . minimized/Arrays#app(). +// kind Variable String[] b = {"1", "2", "3"}; // ^^^^^^ reference semanticdb maven jdk 11 java/lang/String# // ^ definition local 1 -// documentation ```java\nString[] b\n``` +// display_name b +// signature_documentation java String[] b +// enclosing_symbol semanticdb maven . . minimized/Arrays#app(). +// kind Variable int[][] c = {{1}, {2}, {3}}; // ^ definition local 2 -// documentation ```java\nint[][] c\n``` +// display_name c +// signature_documentation java int[][] c +// enclosing_symbol semanticdb maven . . minimized/Arrays#app(). +// kind Variable String[][] d = {{"1"}, {"2"}, {"3"}}; // ^^^^^^ reference semanticdb maven jdk 11 java/lang/String# // ^ definition local 3 -// documentation ```java\nString[][] d\n``` +// display_name d +// signature_documentation java String[][] d +// enclosing_symbol semanticdb maven . . minimized/Arrays#app(). +// kind Variable return b[0] + a[0] + c[1][0] + d[1][0]; // ^ reference local 1 // ^ reference local 0 diff --git a/tests/snapshots/src/main/generated/tests/minimized/src/main/java/minimized/ClassOf.java b/tests/snapshots/src/main/generated/tests/minimized/src/main/java/minimized/ClassOf.java index 18ddf348e..dab68b098 100644 --- a/tests/snapshots/src/main/generated/tests/minimized/src/main/java/minimized/ClassOf.java +++ b/tests/snapshots/src/main/generated/tests/minimized/src/main/java/minimized/ClassOf.java @@ -2,13 +2,19 @@ public class ClassOf { // ^^^^^^^ definition semanticdb maven . . minimized/ClassOf# -// documentation ```java\npublic class ClassOf\n``` +// display_name ClassOf +// signature_documentation java public class ClassOf +// kind Class // ^^^^^^^ definition semanticdb maven . . minimized/ClassOf#``(). -// documentation ```java\npublic ClassOf()\n``` +// display_name +// signature_documentation java public ClassOf() +// kind Constructor public static String app() { // ^^^^^^ reference semanticdb maven jdk 11 java/lang/String# // ^^^ definition semanticdb maven . . minimized/ClassOf#app(). -// documentation ```java\npublic static String app()\n``` +// display_name app +// signature_documentation java public static String app() +// kind StaticMethod return ClassOf.class.getName(); // ^^^^^^^ reference semanticdb maven . . minimized/ClassOf# // ^^^^^ reference semanticdb maven . . minimized/ClassOf#class. diff --git a/tests/snapshots/src/main/generated/tests/minimized/src/main/java/minimized/Docstrings.java b/tests/snapshots/src/main/generated/tests/minimized/src/main/java/minimized/Docstrings.java index dc135919c..87d65a42d 100644 --- a/tests/snapshots/src/main/generated/tests/minimized/src/main/java/minimized/Docstrings.java +++ b/tests/snapshots/src/main/generated/tests/minimized/src/main/java/minimized/Docstrings.java @@ -3,15 +3,21 @@ /** Example class docstring. */ public class Docstrings { // ^^^^^^^^^^ definition semanticdb maven . . minimized/Docstrings# -// documentation ```java\npublic class Docstrings\n``` +// display_name Docstrings +// signature_documentation java public class Docstrings +// kind Class // documentation Example class docstring. // ^^^^^^^^^^ definition semanticdb maven . . minimized/Docstrings#``(). -// documentation ```java\npublic Docstrings()\n``` +// display_name +// signature_documentation java public Docstrings() +// kind Constructor /** Example field docstring. */ public static int field = 42; // ^^^^^ definition semanticdb maven . . minimized/Docstrings#field. -// documentation ```java\npublic static int field\n``` +// display_name field +// signature_documentation java public static int field +// kind StaticField // documentation Example field docstring. /** @@ -21,7 +27,9 @@ public class Docstrings { */ public static int method() { // ^^^^^^ definition semanticdb maven . . minimized/Docstrings#method(). -// documentation ```java\npublic static int method()\n``` +// display_name method +// signature_documentation java public static int method() +// kind StaticMethod // documentation Example method docstring.\n\n @return 42.\n return 42; } @@ -34,10 +42,14 @@ public static int method() { */ public static int methodParameter(int n) { // ^^^^^^^^^^^^^^^ definition semanticdb maven . . minimized/Docstrings#methodParameter(). -// documentation ```java\npublic static int methodParameter(int n)\n``` +// display_name methodParameter +// signature_documentation java public static int methodParameter(int n) +// kind StaticMethod // documentation Example method parameter docstring.\n\n @param n The parameter.\n @return The number + 42.\n // ^ definition local 0 -// documentation ```java\nint n\n``` +// display_name n +// signature_documentation java int n +// enclosing_symbol semanticdb maven . . minimized/Docstrings#methodParameter(). return n + 42; // ^ reference local 0 } @@ -45,7 +57,9 @@ public static int methodParameter(int n) { public static String app() { // ^^^^^^ reference semanticdb maven jdk 11 java/lang/String# // ^^^ definition semanticdb maven . . minimized/Docstrings#app(). -// documentation ```java\npublic static String app()\n``` +// display_name app +// signature_documentation java public static String app() +// kind StaticMethod return String.format("%s%s%s", field, method(), methodParameter(42)); // ^^^^^^ reference semanticdb maven jdk 11 java/lang/String# // ^^^^^^ reference semanticdb maven jdk 11 java/lang/String#format(). diff --git a/tests/snapshots/src/main/generated/tests/minimized/src/main/java/minimized/Enums.java b/tests/snapshots/src/main/generated/tests/minimized/src/main/java/minimized/Enums.java index 334e2648c..4b7e459cf 100644 --- a/tests/snapshots/src/main/generated/tests/minimized/src/main/java/minimized/Enums.java +++ b/tests/snapshots/src/main/generated/tests/minimized/src/main/java/minimized/Enums.java @@ -12,35 +12,48 @@ enum Enums { // ^^^^^ definition semanticdb maven . . minimized/Enums# -// documentation ```java\nenum Enums\n``` +// display_name Enums +// signature_documentation java enum Enums +// kind Enum // relationship is_implementation semanticdb maven jdk 11 java/io/Serializable# // relationship is_implementation semanticdb maven jdk 11 java/lang/Comparable# // relationship is_implementation semanticdb maven jdk 11 java/lang/Enum# A("A", 420), //^ definition semanticdb maven . . minimized/Enums#A. -// documentation ```java\nEnums.A("A", 420) /* ordinal 0 */\n``` +// display_name A("A", 420) +// signature_documentation java Enums.A("A", 420) /* ordinal 0 */ //^ reference semanticdb maven . . minimized/Enums#``(). B("B", 1), //^ definition semanticdb maven . . minimized/Enums#B. -// documentation ```java\nEnums.B("B", 1) /* ordinal 1 */\n``` +// display_name B("B", 1) +// signature_documentation java Enums.B("B", 1) /* ordinal 1 */ //^ reference semanticdb maven . . minimized/Enums#``(). C("C", 5); //^ definition semanticdb maven . . minimized/Enums#C. -// documentation ```java\nEnums.C("C", 5) /* ordinal 2 */\n``` +// display_name C("C", 5) +// signature_documentation java Enums.C("C", 5) /* ordinal 2 */ //^ reference semanticdb maven . . minimized/Enums#``(). public String value; // ^^^^^^ reference semanticdb maven jdk 11 java/lang/String# // ^^^^^ definition semanticdb maven . . minimized/Enums#value. -// documentation ```java\npublic String value\n``` +// display_name value +// signature_documentation java public String value +// kind Field Enums(String value, int a) { //^^^^^ definition semanticdb maven . . minimized/Enums#``(). -// documentation ```java\nprivate Enums(String value, int a)\n``` +// display_name +// signature_documentation java private Enums(String value, int a) +// kind Constructor // ^^^^^^ reference semanticdb maven jdk 11 java/lang/String# // ^^^^^ definition local 0 -// documentation ```java\nString value\n``` +// display_name value +// signature_documentation java String value +// enclosing_symbol semanticdb maven . . minimized/Enums#``(). // ^ definition local 1 -// documentation ```java\nint a\n``` +// display_name a +// signature_documentation java int a +// enclosing_symbol semanticdb maven . . minimized/Enums#``(). this.value = value; // ^^^^^ reference semanticdb maven . . minimized/Enums#value. // ^^^^^ reference local 0 @@ -49,17 +62,24 @@ enum Enums { public static String app() { // ^^^^^^ reference semanticdb maven jdk 11 java/lang/String# // ^^^ definition semanticdb maven . . minimized/Enums#app(). -// documentation ```java\npublic static String app()\n``` +// display_name app +// signature_documentation java public static String app() +// kind StaticMethod String all = Arrays.stream(values()).map(e -> e.value).map(Enums::valueOf).collect(Collectors.toList()).toString(); // ^^^^^^ reference semanticdb maven jdk 11 java/lang/String# // ^^^ definition local 2 -// documentation ```java\nString all\n``` +// display_name all +// signature_documentation java String all +// enclosing_symbol semanticdb maven . . minimized/Enums#app(). +// kind Variable // ^^^^^^ reference semanticdb maven jdk 11 java/util/Arrays# // ^^^^^^ reference semanticdb maven jdk 11 java/util/Arrays#stream(). // ^^^^^^ reference semanticdb maven . . minimized/Enums#values(). // ^^^ reference semanticdb maven jdk 11 java/util/stream/Stream#map(). // ^ definition local 3 -// documentation ```java\nEnums e\n``` +// display_name e +// signature_documentation java Enums e +// enclosing_symbol semanticdb maven . . minimized/Enums#app(). // ^ reference local 3 // ^^^^^ reference semanticdb maven . . minimized/Enums#value. // ^^^ reference semanticdb maven jdk 11 java/util/stream/Stream#map(). diff --git a/tests/snapshots/src/main/generated/tests/minimized/src/main/java/minimized/Fields.java b/tests/snapshots/src/main/generated/tests/minimized/src/main/java/minimized/Fields.java index ec614eeba..f7acf3560 100644 --- a/tests/snapshots/src/main/generated/tests/minimized/src/main/java/minimized/Fields.java +++ b/tests/snapshots/src/main/generated/tests/minimized/src/main/java/minimized/Fields.java @@ -2,71 +2,112 @@ public class Fields { // ^^^^^^ definition semanticdb maven . . minimized/Fields# -// documentation ```java\npublic class Fields\n``` +// display_name Fields +// signature_documentation java public class Fields +// kind Class // ^^^^^^ definition semanticdb maven . . minimized/Fields#``(). -// documentation ```java\npublic Fields()\n``` +// display_name +// signature_documentation java public Fields() +// kind Constructor private final int privateField = 0; // ^^^^^^^^^^^^ definition semanticdb maven . . minimized/Fields#privateField. -// documentation ```java\nprivate final int privateField\n``` +// display_name privateField +// signature_documentation java private final int privateField +// kind Field protected int protectedField = 0; // ^^^^^^^^^^^^^^ definition semanticdb maven . . minimized/Fields#protectedField. -// documentation ```java\nprotected int protectedField\n``` +// display_name protectedField +// signature_documentation java protected int protectedField +// kind Field public int publicField = 0; // ^^^^^^^^^^^ definition semanticdb maven . . minimized/Fields#publicField. -// documentation ```java\npublic int publicField\n``` +// display_name publicField +// signature_documentation java public int publicField +// kind Field private static final int staticPrivateField = 0; // ^^^^^^^^^^^^^^^^^^ definition semanticdb maven . . minimized/Fields#staticPrivateField. -// documentation ```java\nprivate static final int staticPrivateField\n``` +// display_name staticPrivateField +// signature_documentation java private static final int staticPrivateField +// kind StaticField protected static int staticProtectedFields = 0; // ^^^^^^^^^^^^^^^^^^^^^ definition semanticdb maven . . minimized/Fields#staticProtectedFields. -// documentation ```java\nprotected static int staticProtectedFields\n``` +// display_name staticProtectedFields +// signature_documentation java protected static int staticProtectedFields +// kind StaticField public static int staticPublicField = 0; // ^^^^^^^^^^^^^^^^^ definition semanticdb maven . . minimized/Fields#staticPublicField. -// documentation ```java\npublic static int staticPublicField\n``` +// display_name staticPublicField +// signature_documentation java public static int staticPublicField +// kind StaticField public class InnerFields { // ^^^^^^^^^^^ definition semanticdb maven . . minimized/Fields#InnerFields# -// documentation ```java\npublic class InnerFields\n``` +// display_name InnerFields +// signature_documentation java public class InnerFields +// kind Class // ^^^^^^^^^^^ definition semanticdb maven . . minimized/Fields#InnerFields#``(). -// documentation ```java\npublic InnerFields()\n``` +// display_name +// signature_documentation java public InnerFields() +// kind Constructor public int publicInnerField = publicField; // ^^^^^^^^^^^^^^^^ definition semanticdb maven . . minimized/Fields#InnerFields#publicInnerField. -// documentation ```java\npublic int publicInnerField\n``` +// display_name publicInnerField +// signature_documentation java public int publicInnerField +// kind Field // ^^^^^^^^^^^ reference semanticdb maven . . minimized/Fields#publicField. } public static class InnerStaticFields { // ^^^^^^^^^^^^^^^^^ definition semanticdb maven . . minimized/Fields#InnerStaticFields# -// documentation ```java\npublic static class InnerStaticFields\n``` +// display_name InnerStaticFields +// signature_documentation java public static class InnerStaticFields +// kind Class // ^^^^^^^^^^^^^^^^^ definition semanticdb maven . . minimized/Fields#InnerStaticFields#``(). -// documentation ```java\npublic InnerStaticFields()\n``` +// display_name +// signature_documentation java public InnerStaticFields() +// kind Constructor public int publicNonStaticInnerField = 0; // ^^^^^^^^^^^^^^^^^^^^^^^^^ definition semanticdb maven . . minimized/Fields#InnerStaticFields#publicNonStaticInnerField. -// documentation ```java\npublic int publicNonStaticInnerField\n``` +// display_name publicNonStaticInnerField +// signature_documentation java public int publicNonStaticInnerField +// kind Field public static int publicStaticInnerField = 0; // ^^^^^^^^^^^^^^^^^^^^^^ definition semanticdb maven . . minimized/Fields#InnerStaticFields#publicStaticInnerField. -// documentation ```java\npublic static int publicStaticInnerField\n``` +// display_name publicStaticInnerField +// signature_documentation java public static int publicStaticInnerField +// kind StaticField } public static String app() { // ^^^^^^ reference semanticdb maven jdk 11 java/lang/String# // ^^^ definition semanticdb maven . . minimized/Fields#app(). -// documentation ```java\npublic static String app()\n``` +// display_name app +// signature_documentation java public static String app() +// kind StaticMethod Fields fields = new Fields(); // ^^^^^^ reference semanticdb maven . . minimized/Fields# // ^^^^^^ definition local 0 -// documentation ```java\nFields fields\n``` +// display_name fields +// signature_documentation java Fields fields +// enclosing_symbol semanticdb maven . . minimized/Fields#app(). +// kind Variable // ^^^^^^ reference semanticdb maven . . minimized/Fields#``(). InnerFields innerFields = fields.new InnerFields(); // ^^^^^^^^^^^ reference semanticdb maven . . minimized/Fields#InnerFields# // ^^^^^^^^^^^ definition local 1 -// documentation ```java\nInnerFields innerFields\n``` +// display_name innerFields +// signature_documentation java InnerFields innerFields +// enclosing_symbol semanticdb maven . . minimized/Fields#app(). +// kind Variable // ^^^^^^ reference local 0 // ^^^^^^^^^^^ reference semanticdb maven . . minimized/Fields#InnerFields#``(). InnerStaticFields innerStaticFields = new InnerStaticFields(); // ^^^^^^^^^^^^^^^^^ reference semanticdb maven . . minimized/Fields#InnerStaticFields# // ^^^^^^^^^^^^^^^^^ definition local 2 -// documentation ```java\nInnerStaticFields innerStaticFields\n``` +// display_name innerStaticFields +// signature_documentation java InnerStaticFields innerStaticFields +// enclosing_symbol semanticdb maven . . minimized/Fields#app(). +// kind Variable // ^^^^^^^^^^^^^^^^^ reference semanticdb maven . . minimized/Fields#InnerStaticFields#``(). return String.valueOf(fields.privateField) // ^^^^^^ reference semanticdb maven jdk 11 java/lang/String# diff --git a/tests/snapshots/src/main/generated/tests/minimized/src/main/java/minimized/ForComprehensions.java b/tests/snapshots/src/main/generated/tests/minimized/src/main/java/minimized/ForComprehensions.java index ab53228d8..82a0d54b3 100644 --- a/tests/snapshots/src/main/generated/tests/minimized/src/main/java/minimized/ForComprehensions.java +++ b/tests/snapshots/src/main/generated/tests/minimized/src/main/java/minimized/ForComprehensions.java @@ -11,28 +11,45 @@ public class ForComprehensions { // ^^^^^^^^^^^^^^^^^ definition semanticdb maven . . minimized/ForComprehensions# -// documentation ```java\npublic class ForComprehensions\n``` +// display_name ForComprehensions +// signature_documentation java public class ForComprehensions +// kind Class // ^^^^^^^^^^^^^^^^^ definition semanticdb maven . . minimized/ForComprehensions#``(). -// documentation ```java\npublic ForComprehensions()\n``` +// display_name +// signature_documentation java public ForComprehensions() +// kind Constructor public static int app(int n) { // ^^^ definition semanticdb maven . . minimized/ForComprehensions#app(). -// documentation ```java\npublic static int app(int n)\n``` +// display_name app +// signature_documentation java public static int app(int n) +// kind StaticMethod // ^ definition local 0 -// documentation ```java\nint n\n``` +// display_name n +// signature_documentation java int n +// enclosing_symbol semanticdb maven . . minimized/ForComprehensions#app(). List integers = Collections.singletonList(n); // ^^^^ reference semanticdb maven jdk 11 java/util/List# // ^^^^^^^ reference semanticdb maven jdk 11 java/lang/Integer# // ^^^^^^^^ definition local 1 -// documentation ```java\nList integers\n``` +// display_name integers +// signature_documentation java List integers +// enclosing_symbol semanticdb maven . . minimized/ForComprehensions#app(). +// kind Variable // ^^^^^^^^^^^ reference semanticdb maven jdk 11 java/util/Collections# // ^^^^^^^^^^^^^ reference semanticdb maven jdk 11 java/util/Collections#singletonList(). // ^ reference local 0 int result = 0; // ^^^^^^ definition local 2 -// documentation ```java\nint result\n``` +// display_name result +// signature_documentation java int result +// enclosing_symbol semanticdb maven . . minimized/ForComprehensions#app(). +// kind Variable for (int i : integers) { // ^ definition local 3 -// documentation ```java\nint i\n``` +// display_name i +// signature_documentation java int i +// enclosing_symbol semanticdb maven . . minimized/ForComprehensions#app(). +// kind Variable // ^^^^^^^^ reference local 1 result += i; // ^^^^^^ reference local 2 diff --git a/tests/snapshots/src/main/generated/tests/minimized/src/main/java/minimized/InnerClasses.java b/tests/snapshots/src/main/generated/tests/minimized/src/main/java/minimized/InnerClasses.java index 994deb5b0..f34cbc70b 100644 --- a/tests/snapshots/src/main/generated/tests/minimized/src/main/java/minimized/InnerClasses.java +++ b/tests/snapshots/src/main/generated/tests/minimized/src/main/java/minimized/InnerClasses.java @@ -2,29 +2,43 @@ public class InnerClasses { // ^^^^^^^^^^^^ definition semanticdb maven . . minimized/InnerClasses# -// documentation ```java\npublic class InnerClasses\n``` +// display_name InnerClasses +// signature_documentation java public class InnerClasses +// kind Class private final int exampleField; // ^^^^^^^^^^^^ definition semanticdb maven . . minimized/InnerClasses#exampleField. -// documentation ```java\nprivate final int exampleField\n``` +// display_name exampleField +// signature_documentation java private final int exampleField +// kind Field private static final String STRING = "asdf"; // ^^^^^^ reference semanticdb maven jdk 11 java/lang/String# // ^^^^^^ definition semanticdb maven . . minimized/InnerClasses#STRING. -// documentation ```java\nprivate static final String STRING\n``` +// display_name STRING +// signature_documentation java private static final String STRING +// kind StaticField private static final int top = 5; // ^^^ definition semanticdb maven . . minimized/InnerClasses#top. -// documentation ```java\nprivate static final int top\n``` +// display_name top +// signature_documentation java private static final int top +// kind StaticField private static final int bottom = 10; // ^^^^^^ definition semanticdb maven . . minimized/InnerClasses#bottom. -// documentation ```java\nprivate static final int bottom\n``` +// display_name bottom +// signature_documentation java private static final int bottom +// kind StaticField public InnerClasses(int exampleField) { // ^^^^^^^^^^^^ definition semanticdb maven . . minimized/InnerClasses#``(). -// documentation ```java\npublic InnerClasses(int exampleField)\n``` +// display_name +// signature_documentation java public InnerClasses(int exampleField) +// kind Constructor // ^^^^^^^^^^^^ definition local 0 -// documentation ```java\nint exampleField\n``` +// display_name exampleField +// signature_documentation java int exampleField +// enclosing_symbol semanticdb maven . . minimized/InnerClasses#``(). this.exampleField = exampleField; // ^^^^^^^^^^^^ reference semanticdb maven . . minimized/InnerClasses#exampleField. // ^^^^^^^^^^^^ reference local 0 @@ -32,50 +46,71 @@ public InnerClasses(int exampleField) { public enum InnerEnum { // ^^^^^^^^^ definition semanticdb maven . . minimized/InnerClasses#InnerEnum# -// documentation ```java\npublic enum InnerEnum\n``` +// display_name InnerEnum +// signature_documentation java public enum InnerEnum +// kind Enum // relationship is_implementation semanticdb maven jdk 11 java/io/Serializable# // relationship is_implementation semanticdb maven jdk 11 java/lang/Comparable# // relationship is_implementation semanticdb maven jdk 11 java/lang/Enum# // ^^^^^^^^^ definition semanticdb maven . . minimized/InnerClasses#InnerEnum#``(). -// documentation ```java\nprivate InnerEnum()\n``` +// display_name +// signature_documentation java private InnerEnum() +// kind Constructor A, // ^ definition semanticdb maven . . minimized/InnerClasses#InnerEnum#A. -// documentation ```java\nInnerEnum.A /* ordinal 0 */\n``` +// display_name A +// signature_documentation java InnerEnum.A /* ordinal 0 */ // ^ reference semanticdb maven . . minimized/InnerClasses#InnerEnum#``(). B, // ^ definition semanticdb maven . . minimized/InnerClasses#InnerEnum#B. -// documentation ```java\nInnerEnum.B /* ordinal 1 */\n``` +// display_name B +// signature_documentation java InnerEnum.B /* ordinal 1 */ // ^ reference semanticdb maven . . minimized/InnerClasses#InnerEnum#``(). C // ^ definition semanticdb maven . . minimized/InnerClasses#InnerEnum#C. -// documentation ```java\nInnerEnum.C /* ordinal 2 */\n``` +// display_name C +// signature_documentation java InnerEnum.C /* ordinal 2 */ // ^ reference semanticdb maven . . minimized/InnerClasses#InnerEnum#``(). } public interface InnerInterface { // ^^^^^^^^^^^^^^ definition semanticdb maven . . minimized/InnerClasses#InnerInterface# -// documentation ```java\npublic interface InnerInterface\n``` +// display_name InnerInterface +// signature_documentation java public interface InnerInterface +// kind Interface // ^ definition semanticdb maven . . minimized/InnerClasses#InnerInterface#[A] -// documentation ```java\nA\n``` +// display_name A +// signature_documentation java A +// kind TypeParameter // ^ definition semanticdb maven . . minimized/InnerClasses#InnerInterface#[B] -// documentation ```java\nB\n``` +// display_name B +// signature_documentation java B +// kind TypeParameter B apply(A a); // ^ reference semanticdb maven . . minimized/InnerClasses#InnerInterface#[B] // ^^^^^ definition semanticdb maven . . minimized/InnerClasses#InnerInterface#apply(). -// documentation ```java\npublic abstract B apply(A a)\n``` +// display_name apply +// signature_documentation java public abstract B apply(A a) +// kind AbstractMethod // relationship is_reference is_implementation semanticdb maven . . minimized/InnerClasses#InnerClass#apply(). // ^ reference semanticdb maven . . minimized/InnerClasses#InnerInterface#[A] // ^ definition local 1 -// documentation ```java\nA a\n``` +// display_name a +// signature_documentation java A a +// enclosing_symbol semanticdb maven . . minimized/InnerClasses#InnerInterface#apply(). } public @interface InnerAnnotation { // ^^^^^^^^^^^^^^^ definition semanticdb maven . . minimized/InnerClasses#InnerAnnotation# -// documentation ```java\npublic @interface InnerAnnotation\n``` +// display_name InnerAnnotation +// signature_documentation java public @interface InnerAnnotation +// kind Interface // relationship is_implementation semanticdb maven jdk 11 java/lang/annotation/Annotation# int value(); // ^^^^^ definition semanticdb maven . . minimized/InnerClasses#InnerAnnotation#value(). -// documentation ```java\npublic abstract int value()\n``` +// display_name value +// signature_documentation java public abstract int value() +// kind AbstractMethod } @SuppressWarnings(STRING + " ") @@ -87,31 +122,45 @@ public interface InnerInterface { // ^^^^^^ reference semanticdb maven . . minimized/InnerClasses#bottom. public static class InnerStaticClass { // ^^^^^^^^^^^^^^^^ definition semanticdb maven . . minimized/InnerClasses#InnerStaticClass# -// documentation ```java\n@SuppressWarnings(STRING + " ")\n@InnerAnnotation(top / bottom)\npublic static class InnerStaticClass\n``` +// display_name InnerStaticClass +// signature_documentation java @SuppressWarnings(STRING + " ")\n@InnerAnnotation(top / bottom)\npublic static class InnerStaticClass +// kind Class // ^^^^^^^^^^^^^^^^ definition semanticdb maven . . minimized/InnerClasses#InnerStaticClass#``(). -// documentation ```java\npublic InnerStaticClass()\n``` +// display_name +// signature_documentation java public InnerStaticClass() +// kind Constructor public static void innerStaticMethod() {} // ^^^^^^^^^^^^^^^^^ definition semanticdb maven . . minimized/InnerClasses#InnerStaticClass#innerStaticMethod(). -// documentation ```java\npublic static void innerStaticMethod()\n``` +// display_name innerStaticMethod +// signature_documentation java public static void innerStaticMethod() +// kind StaticMethod } public class InnerClass implements InnerInterface { // ^^^^^^^^^^ definition semanticdb maven . . minimized/InnerClasses#InnerClass# -// documentation ```java\npublic class InnerClass\n``` +// display_name InnerClass +// signature_documentation java public class InnerClass +// kind Class // relationship is_implementation semanticdb maven . . minimized/InnerClasses#InnerInterface# // ^^^^^^^^^^^^^^ reference semanticdb maven . . minimized/InnerClasses#InnerInterface# // ^^^^^^^ reference semanticdb maven jdk 11 java/lang/Integer# // ^^^^^^^ reference semanticdb maven jdk 11 java/lang/Integer# private final int field; // ^^^^^ definition semanticdb maven . . minimized/InnerClasses#InnerClass#field. -// documentation ```java\nprivate final int field\n``` +// display_name field +// signature_documentation java private final int field +// kind Field public InnerClass(int field) { // ^^^^^^^^^^ definition semanticdb maven . . minimized/InnerClasses#InnerClass#``(). -// documentation ```java\npublic InnerClass(int field)\n``` +// display_name +// signature_documentation java public InnerClass(int field) +// kind Constructor // ^^^^^ definition local 2 -// documentation ```java\nint field\n``` +// display_name field +// signature_documentation java int field +// enclosing_symbol semanticdb maven . . minimized/InnerClasses#InnerClass#``(). this.field = field; // ^^^^^ reference semanticdb maven . . minimized/InnerClasses#InnerClass#field. // ^^^^^ reference local 2 @@ -119,7 +168,9 @@ public InnerClass(int field) { public void innerMethod() { // ^^^^^^^^^^^ definition semanticdb maven . . minimized/InnerClasses#InnerClass#innerMethod(). -// documentation ```java\npublic void innerMethod()\n``` +// display_name innerMethod +// signature_documentation java public void innerMethod() +// kind Method System.out.println(field + exampleField); // ^^^^^^ reference semanticdb maven jdk 11 java/lang/System# // ^^^ reference semanticdb maven jdk 11 java/lang/System#out. @@ -133,11 +184,15 @@ public void innerMethod() { public Integer apply(Integer integer) { // ^^^^^^^ reference semanticdb maven jdk 11 java/lang/Integer# // ^^^^^ definition semanticdb maven . . minimized/InnerClasses#InnerClass#apply(). -// documentation ```java\n@Override\npublic Integer apply(Integer integer)\n``` +// display_name apply +// signature_documentation java @Override\npublic Integer apply(Integer integer) +// kind Method // relationship is_reference is_implementation semanticdb maven . . minimized/InnerClasses#InnerInterface#apply(). // ^^^^^^^ reference semanticdb maven jdk 11 java/lang/Integer# // ^^^^^^^ definition local 3 -// documentation ```java\nInteger integer\n``` +// display_name integer +// signature_documentation java Integer integer +// enclosing_symbol semanticdb maven . . minimized/InnerClasses#InnerClass#apply(). return field * integer; // ^^^^^ reference semanticdb maven . . minimized/InnerClasses#InnerClass#field. // ^^^^^^^ reference local 3 @@ -146,20 +201,30 @@ public Integer apply(Integer integer) { private static B runInnerInterface(InnerInterface fn, A a) { // ^ definition semanticdb maven . . minimized/InnerClasses#runInnerInterface().[A] -// documentation ```java\nA\n``` +// display_name A +// signature_documentation java A +// kind TypeParameter // ^ definition semanticdb maven . . minimized/InnerClasses#runInnerInterface().[B] -// documentation ```java\nB\n``` +// display_name B +// signature_documentation java B +// kind TypeParameter // ^ reference semanticdb maven . . minimized/InnerClasses#runInnerInterface().[B] // ^^^^^^^^^^^^^^^^^ definition semanticdb maven . . minimized/InnerClasses#runInnerInterface(). -// documentation ```java\nprivate static B runInnerInterface(InnerInterface fn, A a)\n``` +// display_name runInnerInterface +// signature_documentation java private static B runInnerInterface(InnerInterface fn, A a) +// kind StaticMethod // ^^^^^^^^^^^^^^ reference semanticdb maven . . minimized/InnerClasses#InnerInterface# // ^ reference semanticdb maven . . minimized/InnerClasses#runInnerInterface().[A] // ^ reference semanticdb maven . . minimized/InnerClasses#runInnerInterface().[B] // ^^ definition local 4 -// documentation ```java\nInnerInterface fn\n``` +// display_name fn +// signature_documentation java InnerInterface fn +// enclosing_symbol semanticdb maven . . minimized/InnerClasses#runInnerInterface(). // ^ reference semanticdb maven . . minimized/InnerClasses#runInnerInterface().[A] // ^ definition local 5 -// documentation ```java\nA a\n``` +// display_name a +// signature_documentation java A a +// enclosing_symbol semanticdb maven . . minimized/InnerClasses#runInnerInterface(). return fn.apply(a); // ^^ reference local 4 // ^^^^^ reference semanticdb maven . . minimized/InnerClasses#InnerInterface#apply(). @@ -168,10 +233,14 @@ private static B runInnerInterface(InnerInterface fn, A a) { public static void testEnum(InnerEnum magicEnum) { // ^^^^^^^^ definition semanticdb maven . . minimized/InnerClasses#testEnum(). -// documentation ```java\npublic static void testEnum(InnerEnum magicEnum)\n``` +// display_name testEnum +// signature_documentation java public static void testEnum(InnerEnum magicEnum) +// kind StaticMethod // ^^^^^^^^^ reference semanticdb maven . . minimized/InnerClasses#InnerEnum# // ^^^^^^^^^ definition local 6 -// documentation ```java\nInnerEnum magicEnum\n``` +// display_name magicEnum +// signature_documentation java InnerEnum magicEnum +// enclosing_symbol semanticdb maven . . minimized/InnerClasses#testEnum(). if (System.nanoTime() > System.currentTimeMillis()) { // ^^^^^^ reference semanticdb maven jdk 11 java/lang/System# // ^^^^^^^^ reference semanticdb maven jdk 11 java/lang/System#nanoTime(). @@ -223,13 +292,18 @@ public static void testEnum(InnerEnum magicEnum) { public static void testAnon() { // ^^^^^^^^ definition semanticdb maven . . minimized/InnerClasses#testAnon(). -// documentation ```java\npublic static void testAnon()\n``` +// display_name testAnon +// signature_documentation java public static void testAnon() +// kind StaticMethod InnerInterface fn = // ^^^^^^^^^^^^^^ reference semanticdb maven . . minimized/InnerClasses#InnerInterface# // ^^^^^^ reference semanticdb maven jdk 11 java/lang/String# // ^^^^^^ reference semanticdb maven jdk 11 java/lang/String# // ^^ definition local 7 -// documentation ```java\nInnerInterface fn\n``` +// display_name fn +// signature_documentation java InnerInterface fn +// enclosing_symbol semanticdb maven . . minimized/InnerClasses#testAnon(). +// kind Variable new InnerInterface() { // ^^^^^^^^^^^^^^ reference semanticdb maven . . minimized/InnerClasses#InnerInterface# // ^^^^^^ reference semanticdb maven jdk 11 java/lang/String# @@ -239,11 +313,16 @@ public static void testAnon() { public String apply(String s) { // ^^^^^^ reference semanticdb maven jdk 11 java/lang/String# // ^^^^^ definition local 9 -// documentation ```java\n@Override\npublic String apply(String s)\n``` +// display_name apply +// signature_documentation java @Override\npublic String apply(String s) +// enclosing_symbol local 8 +// kind Method // relationship is_reference is_implementation semanticdb maven . . minimized/InnerClasses#InnerInterface#apply(). // ^^^^^^ reference semanticdb maven jdk 11 java/lang/String# // ^ definition local 10 -// documentation ```java\nString s\n``` +// display_name s +// signature_documentation java String s +// enclosing_symbol local 9 return s + "b"; // ^ reference local 10 } @@ -259,23 +338,34 @@ public String apply(String s) { public static String app() { // ^^^^^^ reference semanticdb maven jdk 11 java/lang/String# // ^^^ definition semanticdb maven . . minimized/InnerClasses#app(). -// documentation ```java\npublic static String app()\n``` +// display_name app +// signature_documentation java public static String app() +// kind StaticMethod int a = 42; // ^ definition local 11 -// documentation ```java\nint a\n``` +// display_name a +// signature_documentation java int a +// enclosing_symbol semanticdb maven . . minimized/InnerClasses#app(). +// kind Variable InnerStaticClass.innerStaticMethod(); // ^^^^^^^^^^^^^^^^ reference semanticdb maven . . minimized/InnerClasses#InnerStaticClass# // ^^^^^^^^^^^^^^^^^ reference semanticdb maven . . minimized/InnerClasses#InnerStaticClass#innerStaticMethod(). InnerClasses innerClasses = new InnerClasses(a); // ^^^^^^^^^^^^ reference semanticdb maven . . minimized/InnerClasses# // ^^^^^^^^^^^^ definition local 12 -// documentation ```java\nInnerClasses innerClasses\n``` +// display_name innerClasses +// signature_documentation java InnerClasses innerClasses +// enclosing_symbol semanticdb maven . . minimized/InnerClasses#app(). +// kind Variable // ^^^^^^^^^^^^ reference semanticdb maven . . minimized/InnerClasses#``(). // ^ reference local 11 InnerClass innerClass = innerClasses.new InnerClass(a); // ^^^^^^^^^^ reference semanticdb maven . . minimized/InnerClasses#InnerClass# // ^^^^^^^^^^ definition local 13 -// documentation ```java\nInnerClass innerClass\n``` +// display_name innerClass +// signature_documentation java InnerClass innerClass +// enclosing_symbol semanticdb maven . . minimized/InnerClasses#app(). +// kind Variable // ^^^^^^^^^^^^ reference local 12 // ^^^^^^^^^^ reference semanticdb maven . . minimized/InnerClasses#InnerClass#``(). // ^ reference local 11 diff --git a/tests/snapshots/src/main/generated/tests/minimized/src/main/java/minimized/Interfaces.java b/tests/snapshots/src/main/generated/tests/minimized/src/main/java/minimized/Interfaces.java index ad8702517..ccab9b4ea 100644 --- a/tests/snapshots/src/main/generated/tests/minimized/src/main/java/minimized/Interfaces.java +++ b/tests/snapshots/src/main/generated/tests/minimized/src/main/java/minimized/Interfaces.java @@ -2,21 +2,29 @@ public interface Interfaces { // ^^^^^^^^^^ definition semanticdb maven . . minimized/Interfaces# -// documentation ```java\npublic interface Interfaces\n``` +// display_name Interfaces +// signature_documentation java public interface Interfaces +// kind Interface static void staticInterfaceMethod() {} // ^^^^^^^^^^^^^^^^^^^^^ definition semanticdb maven . . minimized/Interfaces#staticInterfaceMethod(). -// documentation ```java\npublic static void staticInterfaceMethod()\n``` +// display_name staticInterfaceMethod +// signature_documentation java public static void staticInterfaceMethod() +// kind StaticMethod String abstractInterfaceMethod(); //^^^^^^ reference semanticdb maven jdk 11 java/lang/String# // ^^^^^^^^^^^^^^^^^^^^^^^ definition semanticdb maven . . minimized/Interfaces#abstractInterfaceMethod(). -// documentation ```java\npublic abstract String abstractInterfaceMethod()\n``` +// display_name abstractInterfaceMethod +// signature_documentation java public abstract String abstractInterfaceMethod() +// kind AbstractMethod // relationship is_reference is_implementation semanticdb maven . . minimized/SubClasses#abstractInterfaceMethod(). default String defaultInterfaceMethod() { // ^^^^^^ reference semanticdb maven jdk 11 java/lang/String# // ^^^^^^^^^^^^^^^^^^^^^^ definition semanticdb maven . . minimized/Interfaces#defaultInterfaceMethod(). -// documentation ```java\npublic default String defaultInterfaceMethod()\n``` +// display_name defaultInterfaceMethod +// signature_documentation java public default String defaultInterfaceMethod() +// kind Method return "default"; } } diff --git a/tests/snapshots/src/main/generated/tests/minimized/src/main/java/minimized/LombokBuilder.java b/tests/snapshots/src/main/generated/tests/minimized/src/main/java/minimized/LombokBuilder.java index 3d98efd24..01161039a 100644 --- a/tests/snapshots/src/main/generated/tests/minimized/src/main/java/minimized/LombokBuilder.java +++ b/tests/snapshots/src/main/generated/tests/minimized/src/main/java/minimized/LombokBuilder.java @@ -50,34 +50,58 @@ //^^^^^ reference semanticdb maven . . lombok/ // ^^^^^^^ reference semanticdb maven . . lombok/Builder# // definition semanticdb maven . . minimized/Hello#HelloBuilder#build(). 1:4 -// documentation ```java\n@SuppressWarnings("all")\npublic Hello build()\n``` +// display_name build +// signature_documentation java @SuppressWarnings("all")\npublic Hello build() +// kind Method // definition semanticdb maven . . minimized/Hello#builder(). 1:6 -// documentation ```java\n@SuppressWarnings("all")\npublic static HelloBuilder builder()\n``` +// display_name builder +// signature_documentation java @SuppressWarnings("all")\npublic static HelloBuilder builder() +// kind StaticMethod // definition semanticdb maven . . minimized/Hello#HelloBuilder#toString(). 1:7 -// documentation ```java\n@Override\n@SuppressWarnings("all")\npublic String toString()\n``` +// display_name toString +// signature_documentation java @Override\n@SuppressWarnings("all")\npublic String toString() +// kind Method // relationship is_reference is_implementation semanticdb maven jdk 11 java/lang/Object#toString(). // definition semanticdb maven . . minimized/Hello#HelloBuilder# 1:11 -// documentation ```java\n@SuppressWarnings("all")\npublic static class HelloBuilder\n``` +// display_name HelloBuilder +// signature_documentation java @SuppressWarnings("all")\npublic static class HelloBuilder +// kind Class // definition semanticdb maven . . minimized/Hello#HelloBuilder#``(). 1:11 -// documentation ```java\n@SuppressWarnings("all")\nHelloBuilder()\n``` +// display_name +// signature_documentation java @SuppressWarnings("all")\nHelloBuilder() +// kind Constructor // reference semanticdb maven . . minimized/Hello#HelloBuilder#``(). 1:11 class Hello { // ^^^^^ definition semanticdb maven . . minimized/Hello# -// documentation ```java\n@Builder\nclass Hello\n``` +// display_name Hello +// signature_documentation java @Builder\nclass Hello +// kind Class // ^^^^^ definition semanticdb maven . . minimized/Hello#``(). -// documentation ```java\n@SuppressWarnings("all")\nHello(String message)\n``` +// display_name +// signature_documentation java @SuppressWarnings("all")\nHello(String message) +// kind Constructor // ^^^^^ reference semanticdb maven . . minimized/Hello#``(). →private String message; // ^^^^^^ reference semanticdb maven jdk 11 java/lang/String# // ^^^^^^^ definition local 0 -// documentation ```java\nfinal String message\n``` +// display_name message +// signature_documentation java final String message +// enclosing_symbol semanticdb maven . . minimized/Hello#``(). // ^^^^^^^ definition local 1 -// documentation ```java\nfinal String message\n``` +// display_name message +// signature_documentation java final String message +// enclosing_symbol semanticdb maven . . minimized/Hello#HelloBuilder#message(). // ^^^^^^^ definition semanticdb maven . . minimized/Hello#HelloBuilder#message(). -// documentation ```java\n@SuppressWarnings("all")\npublic HelloBuilder message(String message)\n``` +// display_name message +// signature_documentation java @SuppressWarnings("all")\npublic HelloBuilder message(String message) +// kind Method // documentation @return {@code this}. // ^^^^^^^ definition semanticdb maven . . minimized/Hello#HelloBuilder#message. -// documentation ```java\n@SuppressWarnings("all")\nprivate String message\n``` +// display_name message +// signature_documentation java @SuppressWarnings("all")\nprivate String message +// kind Field // ^^^^^^^ definition semanticdb maven . . minimized/Hello#message. -// documentation ```java\nprivate String message\n``` +// display_name message +// signature_documentation java private String message +// kind Field } diff --git a/tests/snapshots/src/main/generated/tests/minimized/src/main/java/minimized/Methods.java b/tests/snapshots/src/main/generated/tests/minimized/src/main/java/minimized/Methods.java index 748c63501..26bb5c11d 100644 --- a/tests/snapshots/src/main/generated/tests/minimized/src/main/java/minimized/Methods.java +++ b/tests/snapshots/src/main/generated/tests/minimized/src/main/java/minimized/Methods.java @@ -2,14 +2,22 @@ public class Methods { // ^^^^^^^ definition semanticdb maven . . minimized/Methods# -// documentation ```java\npublic class Methods\n``` +// display_name Methods +// signature_documentation java public class Methods +// kind Class // ^^^^^^^ definition semanticdb maven . . minimized/Methods#``(). -// documentation ```java\npublic Methods()\n``` +// display_name +// signature_documentation java public Methods() +// kind Constructor private int overload(int value) { // ^^^^^^^^ definition semanticdb maven . . minimized/Methods#overload(). -// documentation ```java\nprivate int overload(int value)\n``` +// display_name overload +// signature_documentation java private int overload(int value) +// kind Method // ^^^^^ definition local 0 -// documentation ```java\nint value\n``` +// display_name value +// signature_documentation java int value +// enclosing_symbol semanticdb maven . . minimized/Methods#overload(). return value + 1; // ^^^^^ reference local 0 } @@ -17,19 +25,27 @@ private int overload(int value) { private String overload(String value) { // ^^^^^^ reference semanticdb maven jdk 11 java/lang/String# // ^^^^^^^^ definition semanticdb maven . . minimized/Methods#overload(+1). -// documentation ```java\nprivate String overload(String value)\n``` +// display_name overload +// signature_documentation java private String overload(String value) +// kind Method // ^^^^^^ reference semanticdb maven jdk 11 java/lang/String# // ^^^^^ definition local 1 -// documentation ```java\nString value\n``` +// display_name value +// signature_documentation java String value +// enclosing_symbol semanticdb maven . . minimized/Methods#overload(+1). return value + "1"; // ^^^^^ reference local 1 } private static int staticOverload(int value) { // ^^^^^^^^^^^^^^ definition semanticdb maven . . minimized/Methods#staticOverload(). -// documentation ```java\nprivate static int staticOverload(int value)\n``` +// display_name staticOverload +// signature_documentation java private static int staticOverload(int value) +// kind StaticMethod // ^^^^^ definition local 2 -// documentation ```java\nint value\n``` +// display_name value +// signature_documentation java int value +// enclosing_symbol semanticdb maven . . minimized/Methods#staticOverload(). return value + 1; // ^^^^^ reference local 2 } @@ -37,10 +53,14 @@ private static int staticOverload(int value) { private static String staticOverload(String value) { // ^^^^^^ reference semanticdb maven jdk 11 java/lang/String# // ^^^^^^^^^^^^^^ definition semanticdb maven . . minimized/Methods#staticOverload(+1). -// documentation ```java\nprivate static String staticOverload(String value)\n``` +// display_name staticOverload +// signature_documentation java private static String staticOverload(String value) +// kind StaticMethod // ^^^^^^ reference semanticdb maven jdk 11 java/lang/String# // ^^^^^ definition local 3 -// documentation ```java\nString value\n``` +// display_name value +// signature_documentation java String value +// enclosing_symbol semanticdb maven . . minimized/Methods#staticOverload(+1). return value + "1"; // ^^^^^ reference local 3 } @@ -48,40 +68,61 @@ private static String staticOverload(String value) { public static String app(int n, String m) throws RuntimeException, IndexOutOfBoundsException { // ^^^^^^ reference semanticdb maven jdk 11 java/lang/String# // ^^^ definition semanticdb maven . . minimized/Methods#app(). -// documentation ```java\npublic static String app(int n, String m) throws RuntimeException, IndexOutOfBoundsException\n``` +// display_name app +// signature_documentation java public static String app(int n, String m) throws RuntimeException, IndexOutOfBoundsException +// kind StaticMethod // ^ definition local 4 -// documentation ```java\nint n\n``` +// display_name n +// signature_documentation java int n +// enclosing_symbol semanticdb maven . . minimized/Methods#app(). // ^^^^^^ reference semanticdb maven jdk 11 java/lang/String# // ^ definition local 5 -// documentation ```java\nString m\n``` +// display_name m +// signature_documentation java String m +// enclosing_symbol semanticdb maven . . minimized/Methods#app(). // ^^^^^^^^^^^^^^^^ reference semanticdb maven jdk 11 java/lang/RuntimeException# // ^^^^^^^^^^^^^^^^^^^^^^^^^ reference semanticdb maven jdk 11 java/lang/IndexOutOfBoundsException# Methods methods = new Methods(); // ^^^^^^^ reference semanticdb maven . . minimized/Methods# // ^^^^^^^ definition local 6 -// documentation ```java\nMethods methods\n``` +// display_name methods +// signature_documentation java Methods methods +// enclosing_symbol semanticdb maven . . minimized/Methods#app(). +// kind Variable // ^^^^^^^ reference semanticdb maven . . minimized/Methods#``(). int a = staticOverload(n); // ^ definition local 7 -// documentation ```java\nint a\n``` +// display_name a +// signature_documentation java int a +// enclosing_symbol semanticdb maven . . minimized/Methods#app(). +// kind Variable // ^^^^^^^^^^^^^^ reference semanticdb maven . . minimized/Methods#staticOverload(). // ^ reference local 4 String b = staticOverload(m); // ^^^^^^ reference semanticdb maven jdk 11 java/lang/String# // ^ definition local 8 -// documentation ```java\nString b\n``` +// display_name b +// signature_documentation java String b +// enclosing_symbol semanticdb maven . . minimized/Methods#app(). +// kind Variable // ^^^^^^^^^^^^^^ reference semanticdb maven . . minimized/Methods#staticOverload(+1). // ^ reference local 5 int c = methods.overload(n); // ^ definition local 9 -// documentation ```java\nint c\n``` +// display_name c +// signature_documentation java int c +// enclosing_symbol semanticdb maven . . minimized/Methods#app(). +// kind Variable // ^^^^^^^ reference local 6 // ^^^^^^^^ reference semanticdb maven . . minimized/Methods#overload(). // ^ reference local 4 String d = methods.overload(m); // ^^^^^^ reference semanticdb maven jdk 11 java/lang/String# // ^ definition local 10 -// documentation ```java\nString d\n``` +// display_name d +// signature_documentation java String d +// enclosing_symbol semanticdb maven . . minimized/Methods#app(). +// kind Variable // ^^^^^^^ reference local 6 // ^^^^^^^^ reference semanticdb maven . . minimized/Methods#overload(+1). // ^ reference local 5 diff --git a/tests/snapshots/src/main/generated/tests/minimized/src/main/java/minimized/MinimizedJavaMain.java b/tests/snapshots/src/main/generated/tests/minimized/src/main/java/minimized/MinimizedJavaMain.java index 43b44d838..1b8476b29 100644 --- a/tests/snapshots/src/main/generated/tests/minimized/src/main/java/minimized/MinimizedJavaMain.java +++ b/tests/snapshots/src/main/generated/tests/minimized/src/main/java/minimized/MinimizedJavaMain.java @@ -6,15 +6,23 @@ // ^^^^^^ reference semanticdb maven . . minimized/Annotations#format(). public class MinimizedJavaMain { // ^^^^^^^^^^^^^^^^^ definition semanticdb maven . . minimized/MinimizedJavaMain# -// documentation ```java\n@Annotations(value = "value", format = "format")\npublic class MinimizedJavaMain\n``` +// display_name MinimizedJavaMain +// signature_documentation java @Annotations(value = "value", format = "format")\npublic class MinimizedJavaMain +// kind Class // ^^^^^^^^^^^^^^^^^ definition semanticdb maven . . minimized/MinimizedJavaMain#``(). -// documentation ```java\npublic MinimizedJavaMain()\n``` +// display_name +// signature_documentation java public MinimizedJavaMain() +// kind Constructor public static void main(String[] args) { // ^^^^ definition semanticdb maven . . minimized/MinimizedJavaMain#main(). -// documentation ```java\npublic static void main(String[] args)\n``` +// display_name main +// signature_documentation java public static void main(String[] args) +// kind StaticMethod // ^^^^^^ reference semanticdb maven jdk 11 java/lang/String# // ^^^^ definition local 0 -// documentation ```java\nString[] args\n``` +// display_name args +// signature_documentation java String[] args +// enclosing_symbol semanticdb maven . . minimized/MinimizedJavaMain#main(). TypeVariables.app(new TypeVariables.CT()); // ^^^^^^^^^^^^^ reference semanticdb maven . . minimized/TypeVariables# // ^^^ reference semanticdb maven . . minimized/TypeVariables#app(). diff --git a/tests/snapshots/src/main/generated/tests/minimized/src/main/java/minimized/ParameterizedTypes.java b/tests/snapshots/src/main/generated/tests/minimized/src/main/java/minimized/ParameterizedTypes.java index b4fb3d068..081bf2e76 100644 --- a/tests/snapshots/src/main/generated/tests/minimized/src/main/java/minimized/ParameterizedTypes.java +++ b/tests/snapshots/src/main/generated/tests/minimized/src/main/java/minimized/ParameterizedTypes.java @@ -19,38 +19,58 @@ public class ParameterizedTypes { // ^^^^^^^^^^^^^^^^^^ definition semanticdb maven . . minimized/ParameterizedTypes# -// documentation ```java\npublic class ParameterizedTypes\n``` +// display_name ParameterizedTypes +// signature_documentation java public class ParameterizedTypes +// kind Class // ^^^^^^^^^^^^^^^^^^ definition semanticdb maven . . minimized/ParameterizedTypes#``(). -// documentation ```java\npublic ParameterizedTypes()\n``` +// display_name +// signature_documentation java public ParameterizedTypes() +// kind Constructor // ^ definition semanticdb maven . . minimized/ParameterizedTypes#[A] -// documentation ```java\nA\n``` +// display_name A +// signature_documentation java A +// kind TypeParameter // ^ definition semanticdb maven . . minimized/ParameterizedTypes#[B] -// documentation ```java\nB extends String\n``` +// display_name B +// signature_documentation java B extends String +// kind TypeParameter // ^^^^^^ reference semanticdb maven jdk 11 java/lang/String# public & Iterator> void iteratorable(List list) {} // ^ definition semanticdb maven . . minimized/ParameterizedTypes#iteratorable().[T] -// documentation ```java\nT extends Iterable & Iterator\n``` +// display_name T +// signature_documentation java T extends Iterable & Iterator +// kind TypeParameter // ^^^^^^^^ reference semanticdb maven jdk 11 java/lang/Iterable# // ^ reference semanticdb maven . . minimized/ParameterizedTypes#[A] // ^^^^^^^^ reference semanticdb maven jdk 11 java/util/Iterator# // ^ reference semanticdb maven . . minimized/ParameterizedTypes#[B] // ^^^^^^^^^^^^ definition semanticdb maven . . minimized/ParameterizedTypes#iteratorable(). -// documentation ```java\npublic & Iterator> void iteratorable(List list)\n``` +// display_name iteratorable +// signature_documentation java public & Iterator> void iteratorable(List list) +// kind Method // ^^^^ reference semanticdb maven jdk 11 java/util/List# // ^ reference semanticdb maven . . minimized/ParameterizedTypes#iteratorable().[T] // ^^^^ definition local 0 -// documentation ```java\nList list\n``` +// display_name list +// signature_documentation java List list +// enclosing_symbol semanticdb maven . . minimized/ParameterizedTypes#iteratorable(). public String app(A a, B b) { // ^^^^^^ reference semanticdb maven jdk 11 java/lang/String# // ^^^ definition semanticdb maven . . minimized/ParameterizedTypes#app(). -// documentation ```java\npublic String app(A a, B b)\n``` +// display_name app +// signature_documentation java public String app(A a, B b) +// kind Method // ^ reference semanticdb maven . . minimized/ParameterizedTypes#[A] // ^ definition local 1 -// documentation ```java\nA a\n``` +// display_name a +// signature_documentation java A a +// enclosing_symbol semanticdb maven . . minimized/ParameterizedTypes#app(). // ^ reference semanticdb maven . . minimized/ParameterizedTypes#[B] // ^ definition local 2 -// documentation ```java\nB b\n``` +// display_name b +// signature_documentation java B b +// enclosing_symbol semanticdb maven . . minimized/ParameterizedTypes#app(). return a.toString() + b; // ^ reference local 1 // ^^^^^^^^ reference semanticdb maven jdk 11 java/lang/Object#toString(). @@ -61,7 +81,9 @@ public String app(A a, B b) { // ^^^ reference semanticdb maven jdk 11 java/util/Map# // ^^^^^^ reference semanticdb maven jdk 11 java/lang/String# // ^^^^^^^ definition semanticdb maven . . minimized/ParameterizedTypes#doStuff(). -// documentation ```java\npublic Map doStuff()\n``` +// display_name doStuff +// signature_documentation java public Map doStuff() +// kind Method public Quadruplet createQuadruplet() { return null; } // ^^^^^^^^^^ reference semanticdb maven . . minimized/ParameterizedTypes#Quadruplet# @@ -69,19 +91,33 @@ public String app(A a, B b) { // ^^^^^^ reference semanticdb maven jdk 11 java/lang/Object# // ^^^^^^^ reference semanticdb maven jdk 11 java/lang/Integer# // ^^^^^^^^^^^^^^^^ definition semanticdb maven . . minimized/ParameterizedTypes#createQuadruplet(). -// documentation ```java\npublic Quadruplet createQuadruplet()\n``` +// display_name createQuadruplet +// signature_documentation java public Quadruplet createQuadruplet() +// kind Method public static class Quadruplet {} // ^^^^^^^^^^ definition semanticdb maven . . minimized/ParameterizedTypes#Quadruplet# -// documentation ```java\npublic static class Quadruplet\n``` +// display_name Quadruplet +// signature_documentation java public static class Quadruplet +// kind Class // ^^^^^^^^^^ definition semanticdb maven . . minimized/ParameterizedTypes#Quadruplet#``(). -// documentation ```java\npublic Quadruplet()\n``` +// display_name +// signature_documentation java public Quadruplet() +// kind Constructor // ^ definition semanticdb maven . . minimized/ParameterizedTypes#Quadruplet#[T] -// documentation ```java\nT\n``` +// display_name T +// signature_documentation java T +// kind TypeParameter // ^ definition semanticdb maven . . minimized/ParameterizedTypes#Quadruplet#[S] -// documentation ```java\nS\n``` +// display_name S +// signature_documentation java S +// kind TypeParameter // ^ definition semanticdb maven . . minimized/ParameterizedTypes#Quadruplet#[X] -// documentation ```java\nX\n``` +// display_name X +// signature_documentation java X +// kind TypeParameter // ^ definition semanticdb maven . . minimized/ParameterizedTypes#Quadruplet#[Y] -// documentation ```java\nY\n``` +// display_name Y +// signature_documentation java Y +// kind TypeParameter } diff --git a/tests/snapshots/src/main/generated/tests/minimized/src/main/java/minimized/Primitives.java b/tests/snapshots/src/main/generated/tests/minimized/src/main/java/minimized/Primitives.java index 0ac703605..9aee96598 100644 --- a/tests/snapshots/src/main/generated/tests/minimized/src/main/java/minimized/Primitives.java +++ b/tests/snapshots/src/main/generated/tests/minimized/src/main/java/minimized/Primitives.java @@ -7,56 +7,89 @@ public class Primitives { // ^^^^^^^^^^ definition semanticdb maven . . minimized/Primitives# -// documentation ```java\npublic class Primitives\n``` +// display_name Primitives +// signature_documentation java public class Primitives +// kind Class // ^^^^^^^^^^ definition semanticdb maven . . minimized/Primitives#``(). -// documentation ```java\npublic Primitives()\n``` +// display_name +// signature_documentation java public Primitives() +// kind Constructor public static String app() { // ^^^^^^ reference semanticdb maven jdk 11 java/lang/String# // ^^^ definition semanticdb maven . . minimized/Primitives#app(). -// documentation ```java\npublic static String app()\n``` +// display_name app +// signature_documentation java public static String app() +// kind StaticMethod Random random = new Random(); // ^^^^^^ reference semanticdb maven jdk 11 java/util/Random# // ^^^^^^ definition local 0 -// documentation ```java\nRandom random\n``` +// display_name random +// signature_documentation java Random random +// enclosing_symbol semanticdb maven . . minimized/Primitives#app(). +// kind Variable // ^^^^^^ reference semanticdb maven jdk 11 java/util/Random#``(). byte a = (byte) random.nextInt(); // ^ definition local 1 -// documentation ```java\nbyte a\n``` +// display_name a +// signature_documentation java byte a +// enclosing_symbol semanticdb maven . . minimized/Primitives#app(). +// kind Variable // ^^^^^^ reference local 0 // ^^^^^^^ reference semanticdb maven jdk 11 java/util/Random#nextInt(). short b = (short) random.nextInt(); // ^ definition local 2 -// documentation ```java\nshort b\n``` +// display_name b +// signature_documentation java short b +// enclosing_symbol semanticdb maven . . minimized/Primitives#app(). +// kind Variable // ^^^^^^ reference local 0 // ^^^^^^^ reference semanticdb maven jdk 11 java/util/Random#nextInt(). int c = random.nextInt(); // ^ definition local 3 -// documentation ```java\nint c\n``` +// display_name c +// signature_documentation java int c +// enclosing_symbol semanticdb maven . . minimized/Primitives#app(). +// kind Variable // ^^^^^^ reference local 0 // ^^^^^^^ reference semanticdb maven jdk 11 java/util/Random#nextInt(). long d = random.nextLong(); // ^ definition local 4 -// documentation ```java\nlong d\n``` +// display_name d +// signature_documentation java long d +// enclosing_symbol semanticdb maven . . minimized/Primitives#app(). +// kind Variable // ^^^^^^ reference local 0 // ^^^^^^^^ reference semanticdb maven jdk 11 java/util/Random#nextLong(). char e = (char) random.nextInt(); // ^ definition local 5 -// documentation ```java\nchar e\n``` +// display_name e +// signature_documentation java char e +// enclosing_symbol semanticdb maven . . minimized/Primitives#app(). +// kind Variable // ^^^^^^ reference local 0 // ^^^^^^^ reference semanticdb maven jdk 11 java/util/Random#nextInt(). float f = (float) random.nextDouble(); // ^ definition local 6 -// documentation ```java\nfloat f\n``` +// display_name f +// signature_documentation java float f +// enclosing_symbol semanticdb maven . . minimized/Primitives#app(). +// kind Variable // ^^^^^^ reference local 0 // ^^^^^^^^^^ reference semanticdb maven jdk 11 java/util/Random#nextDouble(). double g = (double) random.nextDouble(); // ^ definition local 7 -// documentation ```java\ndouble g\n``` +// display_name g +// signature_documentation java double g +// enclosing_symbol semanticdb maven . . minimized/Primitives#app(). +// kind Variable // ^^^^^^ reference local 0 // ^^^^^^^^^^ reference semanticdb maven jdk 11 java/util/Random#nextDouble(). boolean h = random.nextBoolean(); // ^ definition local 8 -// documentation ```java\nboolean h\n``` +// display_name h +// signature_documentation java boolean h +// enclosing_symbol semanticdb maven . . minimized/Primitives#app(). +// kind Variable // ^^^^^^ reference local 0 // ^^^^^^^^^^^ reference semanticdb maven jdk 11 java/util/Random#nextBoolean(). return "" + a + b + c + d + e + f + g + h; @@ -72,5 +105,7 @@ public static String app() { public static void test() {} // ^^^^ definition semanticdb maven . . minimized/Primitives#test(). -// documentation ```java\npublic static void test()\n``` +// display_name test +// signature_documentation java public static void test() +// kind StaticMethod } diff --git a/tests/snapshots/src/main/generated/tests/minimized/src/main/java/minimized/RawTypes.java b/tests/snapshots/src/main/generated/tests/minimized/src/main/java/minimized/RawTypes.java index f35be4a76..76c44028e 100644 --- a/tests/snapshots/src/main/generated/tests/minimized/src/main/java/minimized/RawTypes.java +++ b/tests/snapshots/src/main/generated/tests/minimized/src/main/java/minimized/RawTypes.java @@ -13,13 +13,19 @@ //^^^^^^^^^^^^^^^ reference semanticdb maven jdk 11 java/lang/SuppressWarnings# public class RawTypes { // ^^^^^^^^ definition semanticdb maven . . minimized/RawTypes# -// documentation ```java\n@SuppressWarnings("ALL")\npublic class RawTypes\n``` +// display_name RawTypes +// signature_documentation java @SuppressWarnings("ALL")\npublic class RawTypes +// kind Class // ^^^^^^^^ definition semanticdb maven . . minimized/RawTypes#``(). -// documentation ```java\npublic RawTypes()\n``` +// display_name +// signature_documentation java public RawTypes() +// kind Constructor public static final List x = Collections.singletonList(42); // ^^^^ reference semanticdb maven jdk 11 java/util/List# // ^ definition semanticdb maven . . minimized/RawTypes#x. -// documentation ```java\npublic static final List x\n``` +// display_name x +// signature_documentation java public static final List x +// kind StaticField // ^^^^^^^^^^^ reference semanticdb maven jdk 11 java/util/Collections# // ^^^^^^^^^^^^^ reference semanticdb maven jdk 11 java/util/Collections#singletonList(). } diff --git a/tests/snapshots/src/main/generated/tests/minimized/src/main/java/minimized/SubClasses.java b/tests/snapshots/src/main/generated/tests/minimized/src/main/java/minimized/SubClasses.java index da84467c0..04a4c1db7 100644 --- a/tests/snapshots/src/main/generated/tests/minimized/src/main/java/minimized/SubClasses.java +++ b/tests/snapshots/src/main/generated/tests/minimized/src/main/java/minimized/SubClasses.java @@ -2,11 +2,15 @@ public class SubClasses extends AbstractClasses implements Interfaces { // ^^^^^^^^^^ definition semanticdb maven . . minimized/SubClasses# -// documentation ```java\npublic class SubClasses\n``` +// display_name SubClasses +// signature_documentation java public class SubClasses +// kind Class // relationship is_implementation semanticdb maven . . minimized/AbstractClasses# // relationship is_implementation semanticdb maven . . minimized/Interfaces# // ^^^^^^^^^^ definition semanticdb maven . . minimized/SubClasses#``(). -// documentation ```java\npublic SubClasses()\n``` +// display_name +// signature_documentation java public SubClasses() +// kind Constructor // ^^^^^^^^^^^^^^^ reference semanticdb maven . . minimized/AbstractClasses# // ^^^^^^^^^^ reference semanticdb maven . . minimized/Interfaces# @@ -15,7 +19,9 @@ public class SubClasses extends AbstractClasses implements Interfaces { public String abstractImplementation() { // ^^^^^^ reference semanticdb maven jdk 11 java/lang/String# // ^^^^^^^^^^^^^^^^^^^^^^ definition semanticdb maven . . minimized/SubClasses#abstractImplementation(). -// documentation ```java\n@Override\npublic String abstractImplementation()\n``` +// display_name abstractImplementation +// signature_documentation java @Override\npublic String abstractImplementation() +// kind Method // relationship is_reference is_implementation semanticdb maven . . minimized/AbstractClasses#abstractImplementation(). return "abstract"; } @@ -25,7 +31,9 @@ public String abstractImplementation() { public String abstractInterfaceMethod() { // ^^^^^^ reference semanticdb maven jdk 11 java/lang/String# // ^^^^^^^^^^^^^^^^^^^^^^^ definition semanticdb maven . . minimized/SubClasses#abstractInterfaceMethod(). -// documentation ```java\n@Override\npublic String abstractInterfaceMethod()\n``` +// display_name abstractInterfaceMethod +// signature_documentation java @Override\npublic String abstractInterfaceMethod() +// kind Method // relationship is_reference is_implementation semanticdb maven . . minimized/Interfaces#abstractInterfaceMethod(). return "abstractInterface"; } @@ -33,11 +41,16 @@ public String abstractInterfaceMethod() { public static String app() { // ^^^^^^ reference semanticdb maven jdk 11 java/lang/String# // ^^^ definition semanticdb maven . . minimized/SubClasses#app(). -// documentation ```java\npublic static String app()\n``` +// display_name app +// signature_documentation java public static String app() +// kind StaticMethod SubClasses s = new SubClasses(); // ^^^^^^^^^^ reference semanticdb maven . . minimized/SubClasses# // ^ definition local 0 -// documentation ```java\nSubClasses s\n``` +// display_name s +// signature_documentation java SubClasses s +// enclosing_symbol semanticdb maven . . minimized/SubClasses#app(). +// kind Variable // ^^^^^^^^^^ reference semanticdb maven . . minimized/SubClasses#``(). return s.abstractImplementation() // ^ reference local 0 diff --git a/tests/snapshots/src/main/generated/tests/minimized/src/main/java/minimized/TabIndented.java b/tests/snapshots/src/main/generated/tests/minimized/src/main/java/minimized/TabIndented.java index 8e623f7ef..30a3e7a2f 100644 --- a/tests/snapshots/src/main/generated/tests/minimized/src/main/java/minimized/TabIndented.java +++ b/tests/snapshots/src/main/generated/tests/minimized/src/main/java/minimized/TabIndented.java @@ -2,26 +2,40 @@ public class TabIndented { // ^^^^^^^^^^^ definition semanticdb maven . . minimized/TabIndented# -// documentation ```java\npublic class TabIndented\n``` +// display_name TabIndented +// signature_documentation java public class TabIndented +// kind Class // ^^^^^^^^^^^ definition semanticdb maven . . minimized/TabIndented#``(). -// documentation ```java\npublic TabIndented()\n``` +// display_name +// signature_documentation java public TabIndented() +// kind Constructor →public void app() { // ^^^ definition semanticdb maven . . minimized/TabIndented#app(). -// documentation ```java\npublic void app()\n``` +// display_name app +// signature_documentation java public void app() +// kind Method →→Object o = new Object() { //^^^^^^ reference semanticdb maven jdk 11 java/lang/Object# // ^ definition local 0 -// documentation ```java\nObject o\n``` +// display_name o +// signature_documentation java Object o +// enclosing_symbol semanticdb maven . . minimized/TabIndented#app(). +// kind Variable // ^^^^^^ reference semanticdb maven jdk 11 java/lang/Object# →→→@Override // ^^^^^^^^ reference semanticdb maven jdk 11 java/lang/Override# →→→public boolean equals(Object other) { // ^^^^^^ definition local 2 -// documentation ```java\n@Override\npublic boolean equals(Object other)\n``` +// display_name equals +// signature_documentation java @Override\npublic boolean equals(Object other) +// enclosing_symbol local 1 +// kind Method // relationship is_reference is_implementation semanticdb maven jdk 11 java/lang/Object#equals(). // ^^^^^^ reference semanticdb maven jdk 11 java/lang/Object# // ^^^^^ definition local 3 -// documentation ```java\nObject other\n``` +// display_name other +// signature_documentation java Object other +// enclosing_symbol local 2 →→→→return false; →→→} @@ -29,7 +43,10 @@ public class TabIndented { // ^^^^^^^^ reference semanticdb maven jdk 11 java/lang/Override# →→→public int hashCode() { // ^^^^^^^^ definition local 4 -// documentation ```java\n@Override\npublic int hashCode()\n``` +// display_name hashCode +// signature_documentation java @Override\npublic int hashCode() +// enclosing_symbol local 1 +// kind Method // relationship is_reference is_implementation semanticdb maven jdk 11 java/lang/Object#hashCode(). →→→→return System.identityHashCode(this); // ^^^^^^ reference semanticdb maven jdk 11 java/lang/System# @@ -41,7 +58,10 @@ public class TabIndented { →→→public String toString() { // ^^^^^^ reference semanticdb maven jdk 11 java/lang/String# // ^^^^^^^^ definition local 5 -// documentation ```java\n@Override\npublic String toString()\n``` +// display_name toString +// signature_documentation java @Override\npublic String toString() +// enclosing_symbol local 1 +// kind Method // relationship is_reference is_implementation semanticdb maven jdk 11 java/lang/Object#toString(). →→→→return ""; →→→} diff --git a/tests/snapshots/src/main/generated/tests/minimized/src/main/java/minimized/TypeVariables.java b/tests/snapshots/src/main/generated/tests/minimized/src/main/java/minimized/TypeVariables.java index c123adeb8..ba2aa79c3 100644 --- a/tests/snapshots/src/main/generated/tests/minimized/src/main/java/minimized/TypeVariables.java +++ b/tests/snapshots/src/main/generated/tests/minimized/src/main/java/minimized/TypeVariables.java @@ -3,62 +3,92 @@ /** Example from https://docs.oracle.com/javase/specs/jls/se8/html/jls-4.html#jls-4.4 */ public class TypeVariables { // ^^^^^^^^^^^^^ definition semanticdb maven . . minimized/TypeVariables# -// documentation ```java\npublic class TypeVariables\n``` +// display_name TypeVariables +// signature_documentation java public class TypeVariables +// kind Class // documentation Example from https://docs.oracle.com/javase/specs/jls/se8/html/jls-4.html#jls-4.4 // ^^^^^^^^^^^^^ definition semanticdb maven . . minimized/TypeVariables#``(). -// documentation ```java\npublic TypeVariables()\n``` +// display_name +// signature_documentation java public TypeVariables() +// kind Constructor static class C { // ^ definition semanticdb maven . . minimized/TypeVariables#C# -// documentation ```java\nstatic class C\n``` +// display_name C +// signature_documentation java static class C +// kind Class // ^ definition semanticdb maven . . minimized/TypeVariables#C#``(). -// documentation ```java\nC()\n``` +// display_name +// signature_documentation java C() +// kind Constructor public void mCPublic() {} // ^^^^^^^^ definition semanticdb maven . . minimized/TypeVariables#C#mCPublic(). -// documentation ```java\npublic void mCPublic()\n``` +// display_name mCPublic +// signature_documentation java public void mCPublic() +// kind Method protected void mCProtected() {} // ^^^^^^^^^^^ definition semanticdb maven . . minimized/TypeVariables#C#mCProtected(). -// documentation ```java\nprotected void mCProtected()\n``` +// display_name mCProtected +// signature_documentation java protected void mCProtected() +// kind Method void mCPackage() {} // ^^^^^^^^^ definition semanticdb maven . . minimized/TypeVariables#C#mCPackage(). -// documentation ```java\nvoid mCPackage()\n``` +// display_name mCPackage +// signature_documentation java void mCPackage() +// kind Method } interface I { // ^ definition semanticdb maven . . minimized/TypeVariables#I# -// documentation ```java\ninterface I\n``` +// display_name I +// signature_documentation java interface I +// kind Interface void mI(); // ^^ definition semanticdb maven . . minimized/TypeVariables#I#mI(). -// documentation ```java\npublic abstract void mI()\n``` +// display_name mI +// signature_documentation java public abstract void mI() +// kind AbstractMethod // relationship is_reference is_implementation semanticdb maven . . minimized/TypeVariables#CT#mI(). } static class CT extends C implements I { // ^^ definition semanticdb maven . . minimized/TypeVariables#CT# -// documentation ```java\nstatic class CT\n``` +// display_name CT +// signature_documentation java static class CT +// kind Class // relationship is_implementation semanticdb maven . . minimized/TypeVariables#C# // relationship is_implementation semanticdb maven . . minimized/TypeVariables#I# // ^^ definition semanticdb maven . . minimized/TypeVariables#CT#``(). -// documentation ```java\nCT()\n``` +// display_name +// signature_documentation java CT() +// kind Constructor // ^ reference semanticdb maven . . minimized/TypeVariables#C# // ^ reference semanticdb maven . . minimized/TypeVariables#I# public void mI() {} // ^^ definition semanticdb maven . . minimized/TypeVariables#CT#mI(). -// documentation ```java\npublic void mI()\n``` +// display_name mI +// signature_documentation java public void mI() +// kind Method // relationship is_reference is_implementation semanticdb maven . . minimized/TypeVariables#I#mI(). } public static void app(T t) { // ^ definition semanticdb maven . . minimized/TypeVariables#app().[T] -// documentation ```java\nT extends C & I\n``` +// display_name T +// signature_documentation java T extends C & I +// kind TypeParameter // ^ reference semanticdb maven . . minimized/TypeVariables#C# // ^ reference semanticdb maven . . minimized/TypeVariables#I# // ^^^ definition semanticdb maven . . minimized/TypeVariables#app(). -// documentation ```java\npublic static void app(T t)\n``` +// display_name app +// signature_documentation java public static void app(T t) +// kind StaticMethod // ^ reference semanticdb maven . . minimized/TypeVariables#app().[T] // ^ definition local 0 -// documentation ```java\nT t\n``` +// display_name t +// signature_documentation java T t +// enclosing_symbol semanticdb maven . . minimized/TypeVariables#app(). t.mI(); // ^ reference local 0 // ^^ reference semanticdb maven . . minimized/TypeVariables#I#mI(). diff --git a/tests/snapshots/src/main/generated/ujson/AstTransformer.scala b/tests/snapshots/src/main/generated/ujson/AstTransformer.scala index b6b58dd0f..18fd49407 100644 --- a/tests/snapshots/src/main/generated/ujson/AstTransformer.scala +++ b/tests/snapshots/src/main/generated/ujson/AstTransformer.scala @@ -11,9 +11,13 @@ import upickle.core.compat._ trait AstTransformer[I] extends Transformer[I] with JsVisitor[I, I]{ // ^^^^^^^^^^^^^^ definition semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/AstTransformer# -// documentation ```scala\ntrait AstTransformer[I]\n``` +// display_name AstTransformer +// signature_documentation scala trait AstTransformer[I] +// kind Trait // ^ definition semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/AstTransformer#[I] -// documentation ```scala\nI\n``` +// display_name I +// signature_documentation scala I +// kind TypeParameter // ^^^^^^^^^^^ reference semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/Transformer# // ^ reference semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/AstTransformer#[I] // ^^^^^^^^^ reference semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/JsVisitor# @@ -21,9 +25,13 @@ trait AstTransformer[I] extends Transformer[I] with JsVisitor[I, I]{ // ^ reference semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/AstTransformer#[I] def apply(t: Readable): I = t.transform(this) // ^^^^^ definition semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/AstTransformer#apply(). -// documentation ```scala\ndef apply(t: Readable): I\n``` +// display_name apply +// signature_documentation scala def apply(t: Readable): I +// kind Method // ^ definition semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/AstTransformer#apply().(t) -// documentation ```scala\nt: Readable \n``` +// display_name t +// signature_documentation scala t: Readable +// kind Parameter // ^^^^^^^^ reference semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/Readable# // ^ reference semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/AstTransformer#[I] // ^ reference semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/AstTransformer#apply().(t) @@ -31,20 +39,30 @@ trait AstTransformer[I] extends Transformer[I] with JsVisitor[I, I]{ def transformArray[T](f: Visitor[_, T], items: Iterable[I]) = { // ^^^^^^^^^^^^^^ definition semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/AstTransformer#transformArray(). -// documentation ```scala\ndef transformArray(f: Visitor[local0, T[, items: Iterable[I]): T\n``` +// display_name transformArray +// signature_documentation scala def transformArray(f: Visitor[local0, T[, items: Iterable[I]): T +// kind Method // ^ definition semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/AstTransformer#transformArray().[T] -// documentation ```scala\nT\n``` +// display_name T +// signature_documentation scala T +// kind TypeParameter // ^ definition semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/AstTransformer#transformArray().(f) -// documentation ```scala\nf: Visitor[local0, T[ \n``` +// display_name f +// signature_documentation scala f: Visitor[local0, T[ +// kind Parameter // ^^^^^^^ reference semanticdb maven maven/com.lihaoyi/upickle-core_2.13 1.4.0 upickle/core/Visitor# // ^ reference semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/AstTransformer#transformArray().[T] // ^^^^^ definition semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/AstTransformer#transformArray().(items) -// documentation ```scala\nitems: Iterable[I] \n``` +// display_name items +// signature_documentation scala items: Iterable[I] +// kind Parameter // ^^^^^^^^ reference semanticdb maven maven/org.scala-lang/scala-library 2.13.13 scala/package.Iterable# // ^ reference semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/AstTransformer#[I] val ctx = f.visitArray(items.size, -1).narrow // ^^^ definition local 1 -// documentation ```scala\nctx: ArrVisitor[Any, T] \n``` +// display_name ctx +// signature_documentation scala ctx: ArrVisitor[Any, T] +// kind Variable // ^ reference semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/AstTransformer#transformArray().(f) // ^^^^^^^^^^ reference semanticdb maven maven/com.lihaoyi/upickle-core_2.13 1.4.0 upickle/core/Visitor#visitArray(). // ^^^^^ reference semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/AstTransformer#transformArray().(items) @@ -52,7 +70,9 @@ trait AstTransformer[I] extends Transformer[I] with JsVisitor[I, I]{ // ^^^^^^ reference semanticdb maven maven/com.lihaoyi/upickle-core_2.13 1.4.0 upickle/core/ArrVisitor#narrow(). for(item <- items) ctx.visitValue(transform(item, ctx.subVisitor), -1) // ^^^^ definition local 2 -// documentation ```scala\nitem: I \n``` +// display_name item +// signature_documentation scala item: I +// kind Parameter // ^^^^^ reference semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/AstTransformer#transformArray().(items) // ^^^ reference local 1 // ^^^^^^^^^^ reference semanticdb maven maven/com.lihaoyi/upickle-core_2.13 1.4.0 upickle/core/ObjArrVisitor#visitValue(). @@ -66,21 +86,31 @@ trait AstTransformer[I] extends Transformer[I] with JsVisitor[I, I]{ } def transformObject[T](f: Visitor[_, T], items: Iterable[(String, I)]) = { // ^^^^^^^^^^^^^^^ definition semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/AstTransformer#transformObject(). -// documentation ```scala\ndef transformObject(f: Visitor[local3, T[, items: Iterable[(String, I)]): T\n``` +// display_name transformObject +// signature_documentation scala def transformObject(f: Visitor[local3, T[, items: Iterable[(String, I)]): T +// kind Method // ^ definition semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/AstTransformer#transformObject().[T] -// documentation ```scala\nT\n``` +// display_name T +// signature_documentation scala T +// kind TypeParameter // ^ definition semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/AstTransformer#transformObject().(f) -// documentation ```scala\nf: Visitor[local3, T[ \n``` +// display_name f +// signature_documentation scala f: Visitor[local3, T[ +// kind Parameter // ^^^^^^^ reference semanticdb maven maven/com.lihaoyi/upickle-core_2.13 1.4.0 upickle/core/Visitor# // ^ reference semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/AstTransformer#transformObject().[T] // ^^^^^ definition semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/AstTransformer#transformObject().(items) -// documentation ```scala\nitems: Iterable[(String, I)] \n``` +// display_name items +// signature_documentation scala items: Iterable[(String, I)] +// kind Parameter // ^^^^^^^^ reference semanticdb maven maven/org.scala-lang/scala-library 2.13.13 scala/package.Iterable# // ^^^^^^ reference semanticdb maven maven/org.scala-lang/scala-library 2.13.13 scala/Predef.String# // ^ reference semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/AstTransformer#[I] val ctx = f.visitObject(items.size, -1).narrow // ^^^ definition local 4 -// documentation ```scala\nctx: ObjVisitor[Any, T] \n``` +// display_name ctx +// signature_documentation scala ctx: ObjVisitor[Any, T] +// kind Variable // ^ reference semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/AstTransformer#transformObject().(f) // ^^^^^^^^^^^ reference semanticdb maven maven/com.lihaoyi/upickle-core_2.13 1.4.0 upickle/core/Visitor#visitObject(). // ^^^^^ reference semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/AstTransformer#transformObject().(items) @@ -88,11 +118,15 @@ trait AstTransformer[I] extends Transformer[I] with JsVisitor[I, I]{ // ^^^^^^ reference semanticdb maven maven/com.lihaoyi/upickle-core_2.13 1.4.0 upickle/core/ObjVisitor#narrow(). for(kv <- items) { // ^^ definition local 5 -// documentation ```scala\nkv: (String, I) \n``` +// display_name kv +// signature_documentation scala kv: (String, I) +// kind Parameter // ^^^^^ reference semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/AstTransformer#transformObject().(items) val keyVisitor = ctx.visitKey(-1) // ^^^^^^^^^^ definition local 6 -// documentation ```scala\nkeyVisitor: Visitor[local7, Any[ \n``` +// display_name keyVisitor +// signature_documentation scala keyVisitor: Visitor[local7, Any[ +// kind Variable // ^^^ reference local 4 // ^^^^^^^^ reference semanticdb maven maven/com.lihaoyi/upickle-core_2.13 1.4.0 upickle/core/ObjVisitor#visitKey(). ctx.visitKeyValue(keyVisitor.visitString(kv._1, -1)) @@ -118,25 +152,39 @@ trait AstTransformer[I] extends Transformer[I] with JsVisitor[I, I]{ class AstObjVisitor[T](build: T => I) // ^^^^^^^^^^^^^ definition semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/AstTransformer#AstObjVisitor# -// documentation ```scala\nclass AstObjVisitor[T]\n``` +// display_name AstObjVisitor +// signature_documentation scala class AstObjVisitor[T] +// kind Class // ^ definition semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/AstTransformer#AstObjVisitor#[T] -// documentation ```scala\nT\n``` +// display_name T +// signature_documentation scala T +// kind TypeParameter // ^ definition semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/AstTransformer#AstObjVisitor#``(). -// documentation ```scala\ndef this(build: (T) => I)(factory: Factory[(String, I), T])\n``` +// display_name +// signature_documentation scala def this(build: (T) => I)(factory: Factory[(String, I), T]) +// kind Constructor // ^^^^^ definition semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/AstTransformer#AstObjVisitor#build. -// documentation ```scala\nprivate[this] val build: (T) => I\n``` +// display_name build +// signature_documentation scala private[this] val build: (T) => I +// kind Method // relationship is_reference semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/AstTransformer#AstObjVisitor#``().(build) // _____ synthetic_definition semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/AstTransformer#AstObjVisitor#``().(build) -// documentation ```scala\nbuild: (T) => I \n``` +// display_name build +// signature_documentation scala build: (T) => I +// kind Parameter // relationship is_reference is_definition semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/AstTransformer#AstObjVisitor#build. // ^ reference semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/AstTransformer#AstObjVisitor#[T] // ^ reference semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/AstTransformer#[I] (implicit factory: Factory[(String, I), T])extends ObjVisitor[I, I] { // ^^^^^^^ definition semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/AstTransformer#AstObjVisitor#factory. -// documentation ```scala\nprivate[this] implicit val factory: Factory[(String, I), T]\n``` +// display_name factory +// signature_documentation scala private[this] implicit val factory: Factory[(String, I), T] +// kind Method // relationship is_reference semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/AstTransformer#AstObjVisitor#``().(factory) // _______ synthetic_definition semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/AstTransformer#AstObjVisitor#``().(factory) -// documentation ```scala\nimplicit factory: Factory[(String, I), T] \n``` +// display_name factory +// signature_documentation scala implicit factory: Factory[(String, I), T] +// kind Parameter // relationship is_reference is_definition semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/AstTransformer#AstObjVisitor#factory. // ^^^^^^^ reference semanticdb maven maven/com.lihaoyi/upickle-core_2.13 1.4.0 upickle/core/compat/package.Factory# // ^^^^^^ reference semanticdb maven maven/org.scala-lang/scala-library 2.13.13 scala/Predef.String# @@ -149,37 +197,53 @@ trait AstTransformer[I] extends Transformer[I] with JsVisitor[I, I]{ private[this] var key: String = null // ^^^ definition semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/AstTransformer#AstObjVisitor#key(). -// documentation ```scala\nprivate[this] var key: String\n``` +// display_name key +// signature_documentation scala private[this] var key: String +// kind Method // ___ synthetic_definition semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/AstTransformer#AstObjVisitor#`key_=`(). -// documentation ```scala\nprivate[this] var key_=(x$1: String): Unit\n``` +// display_name key_= +// signature_documentation scala private[this] var key_=(x$1: String): Unit +// kind Method // relationship is_definition semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/AstTransformer#AstObjVisitor#key(). // ^^^^^^ reference semanticdb maven maven/org.scala-lang/scala-library 2.13.13 scala/Predef.String# private[this] val vs = factory.newBuilder // ^^ definition semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/AstTransformer#AstObjVisitor#vs. -// documentation ```scala\nprivate[this] val vs: Builder[(String, I), T]\n``` +// display_name vs +// signature_documentation scala private[this] val vs: Builder[(String, I), T] +// kind Method // ^^^^^^^ reference semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/AstTransformer#AstObjVisitor#factory. // ^^^^^^^^^^ reference semanticdb maven maven/org.scala-lang/scala-library 2.13.13 scala/collection/Factory#newBuilder(). def subVisitor = AstTransformer.this // ^^^^^^^^^^ definition semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/AstTransformer#AstObjVisitor#subVisitor(). -// documentation ```scala\ndef subVisitor: AstTransformer[I]\n``` +// display_name subVisitor +// signature_documentation scala def subVisitor: AstTransformer[I] +// kind Method // relationship is_reference is_implementation semanticdb maven maven/com.lihaoyi/upickle-core_2.13 1.4.0 upickle/core/ObjArrVisitor#subVisitor(). // ^^^^^^^^^^^^^^ reference semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/AstTransformer# def visitKey(index: Int) = upickle.core.StringVisitor // ^^^^^^^^ definition semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/AstTransformer#AstObjVisitor#visitKey(). -// documentation ```scala\ndef visitKey(index: Int): StringVisitor\n``` +// display_name visitKey +// signature_documentation scala def visitKey(index: Int): StringVisitor +// kind Method // relationship is_reference is_implementation semanticdb maven maven/com.lihaoyi/upickle-core_2.13 1.4.0 upickle/core/ObjVisitor#visitKey(). // ^^^^^ definition semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/AstTransformer#AstObjVisitor#visitKey().(index) -// documentation ```scala\nindex: Int \n``` +// display_name index +// signature_documentation scala index: Int +// kind Parameter // ^^^ reference semanticdb maven maven/org.scala-lang/scala-library 2.13.13 scala/Int# // ^^^^^^^ reference semanticdb maven . . upickle/ // ^^^^ reference semanticdb maven . . upickle/core/ // ^^^^^^^^^^^^^ reference semanticdb maven maven/com.lihaoyi/upickle-core_2.13 1.4.0 upickle/core/StringVisitor. def visitKeyValue(s: Any): Unit = key = s.toString // ^^^^^^^^^^^^^ definition semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/AstTransformer#AstObjVisitor#visitKeyValue(). -// documentation ```scala\ndef visitKeyValue(s: Any): Unit\n``` +// display_name visitKeyValue +// signature_documentation scala def visitKeyValue(s: Any): Unit +// kind Method // relationship is_reference is_implementation semanticdb maven maven/com.lihaoyi/upickle-core_2.13 1.4.0 upickle/core/ObjVisitor#visitKeyValue(). // ^ definition semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/AstTransformer#AstObjVisitor#visitKeyValue().(s) -// documentation ```scala\ns: Any \n``` +// display_name s +// signature_documentation scala s: Any +// kind Parameter // ^^^ reference semanticdb maven . . scala/Any# // ^^^^ reference semanticdb maven maven/org.scala-lang/scala-library 2.13.13 scala/Unit# // ^^^ reference semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/AstTransformer#AstObjVisitor#key(). @@ -188,13 +252,19 @@ trait AstTransformer[I] extends Transformer[I] with JsVisitor[I, I]{ def visitValue(v: I, index: Int): Unit = vs += (key -> v) // ^^^^^^^^^^ definition semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/AstTransformer#AstObjVisitor#visitValue(). -// documentation ```scala\ndef visitValue(v: I, index: Int): Unit\n``` +// display_name visitValue +// signature_documentation scala def visitValue(v: I, index: Int): Unit +// kind Method // relationship is_reference is_implementation semanticdb maven maven/com.lihaoyi/upickle-core_2.13 1.4.0 upickle/core/ObjArrVisitor#visitValue(). // ^ definition semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/AstTransformer#AstObjVisitor#visitValue().(v) -// documentation ```scala\nv: I \n``` +// display_name v +// signature_documentation scala v: I +// kind Parameter // ^ reference semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/AstTransformer#[I] // ^^^^^ definition semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/AstTransformer#AstObjVisitor#visitValue().(index) -// documentation ```scala\nindex: Int \n``` +// display_name index +// signature_documentation scala index: Int +// kind Parameter // ^^^ reference semanticdb maven maven/org.scala-lang/scala-library 2.13.13 scala/Int# // ^^^^ reference semanticdb maven maven/org.scala-lang/scala-library 2.13.13 scala/Unit# // ^^ reference semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/AstTransformer#AstObjVisitor#vs. @@ -205,10 +275,14 @@ trait AstTransformer[I] extends Transformer[I] with JsVisitor[I, I]{ def visitEnd(index: Int) = build(vs.result) // ^^^^^^^^ definition semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/AstTransformer#AstObjVisitor#visitEnd(). -// documentation ```scala\ndef visitEnd(index: Int): I\n``` +// display_name visitEnd +// signature_documentation scala def visitEnd(index: Int): I +// kind Method // relationship is_reference is_implementation semanticdb maven maven/com.lihaoyi/upickle-core_2.13 1.4.0 upickle/core/ObjArrVisitor#visitEnd(). // ^^^^^ definition semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/AstTransformer#AstObjVisitor#visitEnd().(index) -// documentation ```scala\nindex: Int \n``` +// display_name index +// signature_documentation scala index: Int +// kind Parameter // ^^^ reference semanticdb maven maven/org.scala-lang/scala-library 2.13.13 scala/Int# // ^^^^^ reference semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/AstTransformer#AstObjVisitor#build. // ^^ reference semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/AstTransformer#AstObjVisitor#vs. @@ -216,26 +290,40 @@ trait AstTransformer[I] extends Transformer[I] with JsVisitor[I, I]{ } class AstArrVisitor[T[_]](build: T[I] => I) // ^^^^^^^^^^^^^ definition semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/AstTransformer#AstArrVisitor# -// documentation ```scala\nclass AstArrVisitor[T]\n``` +// display_name AstArrVisitor +// signature_documentation scala class AstArrVisitor[T] +// kind Class // ^ definition semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/AstTransformer#AstArrVisitor#[T] -// documentation ```scala\nT\n``` +// display_name T +// signature_documentation scala T +// kind TypeParameter // ^ definition semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/AstTransformer#AstArrVisitor#``(). -// documentation ```scala\ndef this(build: (T[I]) => I)(factory: Factory[I, T[I]])\n``` +// display_name +// signature_documentation scala def this(build: (T[I]) => I)(factory: Factory[I, T[I]]) +// kind Constructor // ^^^^^ definition semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/AstTransformer#AstArrVisitor#build. -// documentation ```scala\nprivate[this] val build: (T[I]) => I\n``` +// display_name build +// signature_documentation scala private[this] val build: (T[I]) => I +// kind Method // relationship is_reference semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/AstTransformer#AstArrVisitor#``().(build) // _____ synthetic_definition semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/AstTransformer#AstArrVisitor#``().(build) -// documentation ```scala\nbuild: (T[I]) => I \n``` +// display_name build +// signature_documentation scala build: (T[I]) => I +// kind Parameter // relationship is_reference is_definition semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/AstTransformer#AstArrVisitor#build. // ^ reference semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/AstTransformer#AstArrVisitor#[T] // ^ reference semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/AstTransformer#[I] // ^ reference semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/AstTransformer#[I] (implicit factory: Factory[I, T[I]]) extends ArrVisitor[I, I]{ // ^^^^^^^ definition semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/AstTransformer#AstArrVisitor#factory. -// documentation ```scala\nprivate[this] implicit val factory: Factory[I, T[I]]\n``` +// display_name factory +// signature_documentation scala private[this] implicit val factory: Factory[I, T[I]] +// kind Method // relationship is_reference semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/AstTransformer#AstArrVisitor#``().(factory) // _______ synthetic_definition semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/AstTransformer#AstArrVisitor#``().(factory) -// documentation ```scala\nimplicit factory: Factory[I, T[I]] \n``` +// display_name factory +// signature_documentation scala implicit factory: Factory[I, T[I]] +// kind Parameter // relationship is_reference is_definition semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/AstTransformer#AstArrVisitor#factory. // ^^^^^^^ reference semanticdb maven maven/com.lihaoyi/upickle-core_2.13 1.4.0 upickle/core/compat/package.Factory# // ^ reference semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/AstTransformer#[I] @@ -247,23 +335,33 @@ trait AstTransformer[I] extends Transformer[I] with JsVisitor[I, I]{ // ^ reference semanticdb maven jdk 11 java/lang/Object#``(). def subVisitor = AstTransformer.this // ^^^^^^^^^^ definition semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/AstTransformer#AstArrVisitor#subVisitor(). -// documentation ```scala\ndef subVisitor: AstTransformer[I]\n``` +// display_name subVisitor +// signature_documentation scala def subVisitor: AstTransformer[I] +// kind Method // relationship is_reference is_implementation semanticdb maven maven/com.lihaoyi/upickle-core_2.13 1.4.0 upickle/core/ObjArrVisitor#subVisitor(). // ^^^^^^^^^^^^^^ reference semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/AstTransformer# private[this] val vs = factory.newBuilder // ^^ definition semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/AstTransformer#AstArrVisitor#vs. -// documentation ```scala\nprivate[this] val vs: Builder[I, T[I]]\n``` +// display_name vs +// signature_documentation scala private[this] val vs: Builder[I, T[I]] +// kind Method // ^^^^^^^ reference semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/AstTransformer#AstArrVisitor#factory. // ^^^^^^^^^^ reference semanticdb maven maven/org.scala-lang/scala-library 2.13.13 scala/collection/Factory#newBuilder(). def visitValue(v: I, index: Int): Unit = vs += v // ^^^^^^^^^^ definition semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/AstTransformer#AstArrVisitor#visitValue(). -// documentation ```scala\ndef visitValue(v: I, index: Int): Unit\n``` +// display_name visitValue +// signature_documentation scala def visitValue(v: I, index: Int): Unit +// kind Method // relationship is_reference is_implementation semanticdb maven maven/com.lihaoyi/upickle-core_2.13 1.4.0 upickle/core/ObjArrVisitor#visitValue(). // ^ definition semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/AstTransformer#AstArrVisitor#visitValue().(v) -// documentation ```scala\nv: I \n``` +// display_name v +// signature_documentation scala v: I +// kind Parameter // ^ reference semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/AstTransformer#[I] // ^^^^^ definition semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/AstTransformer#AstArrVisitor#visitValue().(index) -// documentation ```scala\nindex: Int \n``` +// display_name index +// signature_documentation scala index: Int +// kind Parameter // ^^^ reference semanticdb maven maven/org.scala-lang/scala-library 2.13.13 scala/Int# // ^^^^ reference semanticdb maven maven/org.scala-lang/scala-library 2.13.13 scala/Unit# // ^^ reference semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/AstTransformer#AstArrVisitor#vs. @@ -272,10 +370,14 @@ trait AstTransformer[I] extends Transformer[I] with JsVisitor[I, I]{ def visitEnd(index: Int) = build(vs.result()) // ^^^^^^^^ definition semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/AstTransformer#AstArrVisitor#visitEnd(). -// documentation ```scala\ndef visitEnd(index: Int): I\n``` +// display_name visitEnd +// signature_documentation scala def visitEnd(index: Int): I +// kind Method // relationship is_reference is_implementation semanticdb maven maven/com.lihaoyi/upickle-core_2.13 1.4.0 upickle/core/ObjArrVisitor#visitEnd(). // ^^^^^ definition semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/AstTransformer#AstArrVisitor#visitEnd().(index) -// documentation ```scala\nindex: Int \n``` +// display_name index +// signature_documentation scala index: Int +// kind Parameter // ^^^ reference semanticdb maven maven/org.scala-lang/scala-library 2.13.13 scala/Int# // ^^^^^ reference semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/AstTransformer#AstArrVisitor#build. // ^^ reference semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/AstTransformer#AstArrVisitor#vs. diff --git a/tests/snapshots/src/main/generated/ujson/ByteArrayParser.scala b/tests/snapshots/src/main/generated/ujson/ByteArrayParser.scala index 3378f4f62..492e2db66 100644 --- a/tests/snapshots/src/main/generated/ujson/ByteArrayParser.scala +++ b/tests/snapshots/src/main/generated/ujson/ByteArrayParser.scala @@ -34,16 +34,26 @@ import upickle.core.{ObjArrVisitor, Visitor} */ final class ByteArrayParser[J](src: Array[Byte]) extends ByteParser[J]{ // ^^^^^^^^^^^^^^^ definition semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/ByteArrayParser# -// documentation ```scala\nfinal class ByteArrayParser[J]\n``` +// display_name ByteArrayParser +// signature_documentation scala final class ByteArrayParser[J] +// kind Class // ^ definition semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/ByteArrayParser#[J] -// documentation ```scala\nJ\n``` +// display_name J +// signature_documentation scala J +// kind TypeParameter // ^ definition semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/ByteArrayParser#``(). -// documentation ```scala\ndef this(src: Array[Byte])\n``` +// display_name +// signature_documentation scala def this(src: Array[Byte]) +// kind Constructor // ^^^ definition semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/ByteArrayParser#src. -// documentation ```scala\nprivate[this] val src: Array[Byte]\n``` +// display_name src +// signature_documentation scala private[this] val src: Array[Byte] +// kind Method // relationship is_reference semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/ByteArrayParser#``().(src) // ___ synthetic_definition semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/ByteArrayParser#``().(src) -// documentation ```scala\nsrc: Array[Byte] \n``` +// display_name src +// signature_documentation scala src: Array[Byte] +// kind Parameter // relationship is_reference is_definition semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/ByteArrayParser#src. // ^^^^^ reference semanticdb maven maven/org.scala-lang/scala-library 2.13.13 scala/Array# // ^^^^ reference semanticdb maven maven/org.scala-lang/scala-library 2.13.13 scala/Byte# @@ -53,34 +63,48 @@ final class ByteArrayParser[J](src: Array[Byte]) extends ByteParser[J]{ val srcLength = src.length // ^^^^^^^^^ definition semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/ByteArrayParser#srcLength. -// documentation ```scala\nval srcLength: Int\n``` +// display_name srcLength +// signature_documentation scala val srcLength: Int +// kind Method // ^^^ reference semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/ByteArrayParser#src. // ^^^^^^ reference semanticdb maven maven/org.scala-lang/scala-library 2.13.13 scala/Array#length(). protected[this] final def close() = {} // ^^^^^ definition semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/ByteArrayParser#close(). -// documentation ```scala\nfinal def close(): Unit\n``` +// display_name close +// signature_documentation scala final def close(): Unit +// kind Method // relationship is_reference is_implementation semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/ByteParser#close(). // Never grow the buffer since it's a directly using the original override def growBuffer(until: Int): Unit = () // ^^^^^^^^^^ definition semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/ByteArrayParser#growBuffer(). -// documentation ```scala\ndef growBuffer(until: Int): Unit\n``` +// display_name growBuffer +// signature_documentation scala def growBuffer(until: Int): Unit +// kind Method // relationship is_reference is_implementation semanticdb maven maven/com.lihaoyi/upickle-core_2.13 1.4.0 upickle/core/BufferingByteParser#growBuffer(). // ^^^^^ definition semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/ByteArrayParser#growBuffer().(until) -// documentation ```scala\nuntil: Int \n``` +// display_name until +// signature_documentation scala until: Int +// kind Parameter // ^^^ reference semanticdb maven maven/org.scala-lang/scala-library 2.13.13 scala/Int# // ^^^^ reference semanticdb maven maven/org.scala-lang/scala-library 2.13.13 scala/Unit# def readDataIntoBuffer(buffer: Array[Byte], bufferOffset: Int) = { // ^^^^^^^^^^^^^^^^^^ definition semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/ByteArrayParser#readDataIntoBuffer(). -// documentation ```scala\ndef readDataIntoBuffer(buffer: Array[Byte], bufferOffset: Int): (Array[Byte], Boolean, Int)\n``` +// display_name readDataIntoBuffer +// signature_documentation scala def readDataIntoBuffer(buffer: Array[Byte], bufferOffset: Int): (Array[Byte], Boolean, Int) +// kind Method // relationship is_reference is_implementation semanticdb maven maven/com.lihaoyi/upickle-core_2.13 1.4.0 upickle/core/BufferingByteParser#readDataIntoBuffer(). // ^^^^^^ definition semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/ByteArrayParser#readDataIntoBuffer().(buffer) -// documentation ```scala\nbuffer: Array[Byte] \n``` +// display_name buffer +// signature_documentation scala buffer: Array[Byte] +// kind Parameter // ^^^^^ reference semanticdb maven maven/org.scala-lang/scala-library 2.13.13 scala/Array# // ^^^^ reference semanticdb maven maven/org.scala-lang/scala-library 2.13.13 scala/Byte# // ^^^^^^^^^^^^ definition semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/ByteArrayParser#readDataIntoBuffer().(bufferOffset) -// documentation ```scala\nbufferOffset: Int \n``` +// display_name bufferOffset +// signature_documentation scala bufferOffset: Int +// kind Parameter // ^^^ reference semanticdb maven maven/org.scala-lang/scala-library 2.13.13 scala/Int# if(buffer == null) (src, srcLength == 0, srcLength) // ^^^^^^ reference semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/ByteArrayParser#readDataIntoBuffer().(buffer) @@ -96,23 +120,33 @@ final class ByteArrayParser[J](src: Array[Byte]) extends ByteParser[J]{ object ByteArrayParser extends Transformer[Array[Byte]]{ // ^^^^^^^^^^^^^^^ definition semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/ByteArrayParser. -// documentation ```scala\nobject ByteArrayParser\n``` +// display_name ByteArrayParser +// signature_documentation scala object ByteArrayParser +// kind Object // ^^^^^^^^^^^ reference semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/Transformer# // ^^^^^ reference semanticdb maven maven/org.scala-lang/scala-library 2.13.13 scala/Array# // ^^^^ reference semanticdb maven maven/org.scala-lang/scala-library 2.13.13 scala/Byte# // ^ reference semanticdb maven jdk 11 java/lang/Object#``(). def transform[T](j: Array[Byte], f: Visitor[_, T]) = new ByteArrayParser(j).parse(f) // ^^^^^^^^^ definition semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/ByteArrayParser.transform(). -// documentation ```scala\ndef transform(j: Array[Byte], f: Visitor[local0, T[): T\n``` +// display_name transform +// signature_documentation scala def transform(j: Array[Byte], f: Visitor[local0, T[): T +// kind Method // relationship is_reference is_implementation semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/Transformer#transform(). // ^ definition semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/ByteArrayParser.transform().[T] -// documentation ```scala\nT\n``` +// display_name T +// signature_documentation scala T +// kind TypeParameter // ^ definition semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/ByteArrayParser.transform().(j) -// documentation ```scala\nj: Array[Byte] \n``` +// display_name j +// signature_documentation scala j: Array[Byte] +// kind Parameter // ^^^^^ reference semanticdb maven maven/org.scala-lang/scala-library 2.13.13 scala/Array# // ^^^^ reference semanticdb maven maven/org.scala-lang/scala-library 2.13.13 scala/Byte# // ^ definition semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/ByteArrayParser.transform().(f) -// documentation ```scala\nf: Visitor[local0, T[ \n``` +// display_name f +// signature_documentation scala f: Visitor[local0, T[ +// kind Parameter // ^^^^^^^ reference semanticdb maven maven/com.lihaoyi/upickle-core_2.13 1.4.0 upickle/core/Visitor# // ^ reference semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/ByteArrayParser.transform().[T] // ^^^^^^^^^^^^^^^ reference semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/ByteArrayParser# diff --git a/tests/snapshots/src/main/generated/ujson/ByteBufferParser.scala b/tests/snapshots/src/main/generated/ujson/ByteBufferParser.scala index 739c0fac7..2713eced7 100644 --- a/tests/snapshots/src/main/generated/ujson/ByteBufferParser.scala +++ b/tests/snapshots/src/main/generated/ujson/ByteBufferParser.scala @@ -34,16 +34,26 @@ import java.nio.charset.StandardCharsets */ final class ByteBufferParser[J](src: ByteBuffer) extends ByteParser[J]{ // ^^^^^^^^^^^^^^^^ definition semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/ByteBufferParser# -// documentation ```scala\nfinal class ByteBufferParser[J]\n``` +// display_name ByteBufferParser +// signature_documentation scala final class ByteBufferParser[J] +// kind Class // ^ definition semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/ByteBufferParser#[J] -// documentation ```scala\nJ\n``` +// display_name J +// signature_documentation scala J +// kind TypeParameter // ^ definition semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/ByteBufferParser#``(). -// documentation ```scala\ndef this(src: ByteBuffer)\n``` +// display_name +// signature_documentation scala def this(src: ByteBuffer) +// kind Constructor // ^^^ definition semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/ByteBufferParser#src. -// documentation ```scala\nprivate[this] val src: ByteBuffer\n``` +// display_name src +// signature_documentation scala private[this] val src: ByteBuffer +// kind Method // relationship is_reference semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/ByteBufferParser#``().(src) // ___ synthetic_definition semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/ByteBufferParser#``().(src) -// documentation ```scala\nsrc: ByteBuffer \n``` +// display_name src +// signature_documentation scala src: ByteBuffer +// kind Parameter // relationship is_reference is_definition semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/ByteBufferParser#src. // ^^^^^^^^^^ reference semanticdb maven jdk 11 java/nio/ByteBuffer# // ^^^^^^^^^^ reference semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/ByteParser# @@ -51,12 +61,16 @@ final class ByteBufferParser[J](src: ByteBuffer) extends ByteParser[J]{ // ^ reference semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/ByteParser#``(). private[this] final val start = src.position() // ^^^^^ definition semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/ByteBufferParser#start. -// documentation ```scala\nprivate[this] final val start: Int\n``` +// display_name start +// signature_documentation scala private[this] final val start: Int +// kind Method // ^^^ reference semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/ByteBufferParser#src. // ^^^^^^^^ reference semanticdb maven jdk 11 java/nio/Buffer#position(). private[this] final val limit = src.limit() - start // ^^^^^ definition semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/ByteBufferParser#limit. -// documentation ```scala\nprivate[this] final val limit: Int\n``` +// display_name limit +// signature_documentation scala private[this] final val limit: Int +// kind Method // ^^^ reference semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/ByteBufferParser#src. // ^^^^^ reference semanticdb maven jdk 11 java/nio/Buffer#limit(). // ^ reference semanticdb maven maven/org.scala-lang/scala-library 2.13.13 scala/Int#`-`(+3). @@ -65,29 +79,41 @@ final class ByteBufferParser[J](src: ByteBuffer) extends ByteParser[J]{ protected[this] final def close() = { src.position(start) } // ^^^^^ definition semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/ByteBufferParser#close(). -// documentation ```scala\nfinal def close(): Unit\n``` +// display_name close +// signature_documentation scala final def close(): Unit +// kind Method // relationship is_reference is_implementation semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/ByteParser#close(). // ^^^ reference semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/ByteBufferParser#src. // ^^^^^^^^ reference semanticdb maven jdk 11 java/nio/ByteBuffer#position(). // ^^^^^ reference semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/ByteBufferParser#start. override def growBuffer(until: Int): Unit = () // ^^^^^^^^^^ definition semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/ByteBufferParser#growBuffer(). -// documentation ```scala\ndef growBuffer(until: Int): Unit\n``` +// display_name growBuffer +// signature_documentation scala def growBuffer(until: Int): Unit +// kind Method // relationship is_reference is_implementation semanticdb maven maven/com.lihaoyi/upickle-core_2.13 1.4.0 upickle/core/BufferingByteParser#growBuffer(). // ^^^^^ definition semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/ByteBufferParser#growBuffer().(until) -// documentation ```scala\nuntil: Int \n``` +// display_name until +// signature_documentation scala until: Int +// kind Parameter // ^^^ reference semanticdb maven maven/org.scala-lang/scala-library 2.13.13 scala/Int# // ^^^^ reference semanticdb maven maven/org.scala-lang/scala-library 2.13.13 scala/Unit# def readDataIntoBuffer(buffer: Array[Byte], bufferOffset: Int) = { // ^^^^^^^^^^^^^^^^^^ definition semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/ByteBufferParser#readDataIntoBuffer(). -// documentation ```scala\ndef readDataIntoBuffer(buffer: Array[Byte], bufferOffset: Int): (Array[Byte], Boolean, Int)\n``` +// display_name readDataIntoBuffer +// signature_documentation scala def readDataIntoBuffer(buffer: Array[Byte], bufferOffset: Int): (Array[Byte], Boolean, Int) +// kind Method // relationship is_reference is_implementation semanticdb maven maven/com.lihaoyi/upickle-core_2.13 1.4.0 upickle/core/BufferingByteParser#readDataIntoBuffer(). // ^^^^^^ definition semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/ByteBufferParser#readDataIntoBuffer().(buffer) -// documentation ```scala\nbuffer: Array[Byte] \n``` +// display_name buffer +// signature_documentation scala buffer: Array[Byte] +// kind Parameter // ^^^^^ reference semanticdb maven maven/org.scala-lang/scala-library 2.13.13 scala/Array# // ^^^^ reference semanticdb maven maven/org.scala-lang/scala-library 2.13.13 scala/Byte# // ^^^^^^^^^^^^ definition semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/ByteBufferParser#readDataIntoBuffer().(bufferOffset) -// documentation ```scala\nbufferOffset: Int \n``` +// display_name bufferOffset +// signature_documentation scala bufferOffset: Int +// kind Parameter // ^^^ reference semanticdb maven maven/org.scala-lang/scala-library 2.13.13 scala/Int# if(buffer == null) (java.util.Arrays.copyOfRange(src.array(), start, src.limit()), limit == 0, limit) @@ -113,21 +139,31 @@ final class ByteBufferParser[J](src: ByteBuffer) extends ByteParser[J]{ object ByteBufferParser extends Transformer[ByteBuffer]{ // ^^^^^^^^^^^^^^^^ definition semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/ByteBufferParser. -// documentation ```scala\nobject ByteBufferParser\n``` +// display_name ByteBufferParser +// signature_documentation scala object ByteBufferParser +// kind Object // ^^^^^^^^^^^ reference semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/Transformer# // ^^^^^^^^^^ reference semanticdb maven jdk 11 java/nio/ByteBuffer# // ^ reference semanticdb maven jdk 11 java/lang/Object#``(). def transform[T](j: ByteBuffer, f: Visitor[_, T]) = new ByteBufferParser(j).parse(f) // ^^^^^^^^^ definition semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/ByteBufferParser.transform(). -// documentation ```scala\ndef transform(j: ByteBuffer, f: Visitor[local0, T[): T\n``` +// display_name transform +// signature_documentation scala def transform(j: ByteBuffer, f: Visitor[local0, T[): T +// kind Method // relationship is_reference is_implementation semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/Transformer#transform(). // ^ definition semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/ByteBufferParser.transform().[T] -// documentation ```scala\nT\n``` +// display_name T +// signature_documentation scala T +// kind TypeParameter // ^ definition semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/ByteBufferParser.transform().(j) -// documentation ```scala\nj: ByteBuffer \n``` +// display_name j +// signature_documentation scala j: ByteBuffer +// kind Parameter // ^^^^^^^^^^ reference semanticdb maven jdk 11 java/nio/ByteBuffer# // ^ definition semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/ByteBufferParser.transform().(f) -// documentation ```scala\nf: Visitor[local0, T[ \n``` +// display_name f +// signature_documentation scala f: Visitor[local0, T[ +// kind Parameter // ^^^^^^^ reference semanticdb maven maven/com.lihaoyi/upickle-core_2.13 1.4.0 upickle/core/Visitor# // ^ reference semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/ByteBufferParser.transform().[T] // ^^^^^^^^^^^^^^^^ reference semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/ByteBufferParser# diff --git a/tests/snapshots/src/main/generated/ujson/CharSequenceParser.scala b/tests/snapshots/src/main/generated/ujson/CharSequenceParser.scala index 821327c7e..04e613ef9 100644 --- a/tests/snapshots/src/main/generated/ujson/CharSequenceParser.scala +++ b/tests/snapshots/src/main/generated/ujson/CharSequenceParser.scala @@ -15,16 +15,26 @@ import upickle.core.{ObjArrVisitor, Visitor} private[ujson] final class CharSequenceParser[J](cs: CharSequence) extends CharParser[J]{ // ^^^^^ reference semanticdb maven . . ujson/ // ^^^^^^^^^^^^^^^^^^ definition semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/CharSequenceParser# -// documentation ```scala\nprotected[ujson] final class CharSequenceParser[J]\n``` +// display_name CharSequenceParser +// signature_documentation scala protected[ujson] final class CharSequenceParser[J] +// kind Class // ^ definition semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/CharSequenceParser#[J] -// documentation ```scala\nJ\n``` +// display_name J +// signature_documentation scala J +// kind TypeParameter // ^ definition semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/CharSequenceParser#``(). -// documentation ```scala\ndef this(cs: CharSequence)\n``` +// display_name +// signature_documentation scala def this(cs: CharSequence) +// kind Constructor // ^^ definition semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/CharSequenceParser#cs. -// documentation ```scala\nprivate[this] val cs: CharSequence\n``` +// display_name cs +// signature_documentation scala private[this] val cs: CharSequence +// kind Method // relationship is_reference semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/CharSequenceParser#``().(cs) // __ synthetic_definition semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/CharSequenceParser#``().(cs) -// documentation ```scala\ncs: CharSequence \n``` +// display_name cs +// signature_documentation scala cs: CharSequence +// kind Parameter // relationship is_reference is_definition semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/CharSequenceParser#cs. // ^^^^^^^^^^^^ reference semanticdb maven jdk 11 java/lang/CharSequence# // ^^^^^^^^^^ reference semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/CharParser# @@ -32,22 +42,32 @@ private[ujson] final class CharSequenceParser[J](cs: CharSequence) extends CharP // ^ reference semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/CharParser#``(). override def growBuffer(until: Int): Unit = () // ^^^^^^^^^^ definition semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/CharSequenceParser#growBuffer(). -// documentation ```scala\ndef growBuffer(until: Int): Unit\n``` +// display_name growBuffer +// signature_documentation scala def growBuffer(until: Int): Unit +// kind Method // relationship is_reference is_implementation semanticdb maven maven/com.lihaoyi/upickle-core_2.13 1.4.0 upickle/core/BufferingCharParser#growBuffer(). // ^^^^^ definition semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/CharSequenceParser#growBuffer().(until) -// documentation ```scala\nuntil: Int \n``` +// display_name until +// signature_documentation scala until: Int +// kind Parameter // ^^^ reference semanticdb maven maven/org.scala-lang/scala-library 2.13.13 scala/Int# // ^^^^ reference semanticdb maven maven/org.scala-lang/scala-library 2.13.13 scala/Unit# def readDataIntoBuffer(buffer: Array[Char], bufferOffset: Int) = { // ^^^^^^^^^^^^^^^^^^ definition semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/CharSequenceParser#readDataIntoBuffer(). -// documentation ```scala\ndef readDataIntoBuffer(buffer: Array[Char], bufferOffset: Int): (Array[Char], Boolean, Int)\n``` +// display_name readDataIntoBuffer +// signature_documentation scala def readDataIntoBuffer(buffer: Array[Char], bufferOffset: Int): (Array[Char], Boolean, Int) +// kind Method // relationship is_reference is_implementation semanticdb maven maven/com.lihaoyi/upickle-core_2.13 1.4.0 upickle/core/BufferingCharParser#readDataIntoBuffer(). // ^^^^^^ definition semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/CharSequenceParser#readDataIntoBuffer().(buffer) -// documentation ```scala\nbuffer: Array[Char] \n``` +// display_name buffer +// signature_documentation scala buffer: Array[Char] +// kind Parameter // ^^^^^ reference semanticdb maven maven/org.scala-lang/scala-library 2.13.13 scala/Array# // ^^^^ reference semanticdb maven maven/org.scala-lang/scala-library 2.13.13 scala/Char# // ^^^^^^^^^^^^ definition semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/CharSequenceParser#readDataIntoBuffer().(bufferOffset) -// documentation ```scala\nbufferOffset: Int \n``` +// display_name bufferOffset +// signature_documentation scala bufferOffset: Int +// kind Parameter // ^^^ reference semanticdb maven maven/org.scala-lang/scala-library 2.13.13 scala/Int# if(buffer == null) (cs.toString.toCharArray, cs.length == 0, cs.length) // ^^^^^^ reference semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/CharSequenceParser#readDataIntoBuffer().(buffer) @@ -65,27 +85,39 @@ private[ujson] final class CharSequenceParser[J](cs: CharSequence) extends CharP } final def close() = () // ^^^^^ definition semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/CharSequenceParser#close(). -// documentation ```scala\nfinal def close(): Unit\n``` +// display_name close +// signature_documentation scala final def close(): Unit +// kind Method // relationship is_reference is_implementation semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/CharParser#close(). } object CharSequenceParser extends Transformer[CharSequence]{ // ^^^^^^^^^^^^^^^^^^ definition semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/CharSequenceParser. -// documentation ```scala\nobject CharSequenceParser\n``` +// display_name CharSequenceParser +// signature_documentation scala object CharSequenceParser +// kind Object // ^^^^^^^^^^^ reference semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/Transformer# // ^^^^^^^^^^^^ reference semanticdb maven jdk 11 java/lang/CharSequence# // ^ reference semanticdb maven jdk 11 java/lang/Object#``(). def transform[T](j: CharSequence, f: Visitor[_, T]) = new CharSequenceParser(j).parse(f) // ^^^^^^^^^ definition semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/CharSequenceParser.transform(). -// documentation ```scala\ndef transform(j: CharSequence, f: Visitor[local0, T[): T\n``` +// display_name transform +// signature_documentation scala def transform(j: CharSequence, f: Visitor[local0, T[): T +// kind Method // relationship is_reference is_implementation semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/Transformer#transform(). // ^ definition semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/CharSequenceParser.transform().[T] -// documentation ```scala\nT\n``` +// display_name T +// signature_documentation scala T +// kind TypeParameter // ^ definition semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/CharSequenceParser.transform().(j) -// documentation ```scala\nj: CharSequence \n``` +// display_name j +// signature_documentation scala j: CharSequence +// kind Parameter // ^^^^^^^^^^^^ reference semanticdb maven jdk 11 java/lang/CharSequence# // ^ definition semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/CharSequenceParser.transform().(f) -// documentation ```scala\nf: Visitor[local0, T[ \n``` +// display_name f +// signature_documentation scala f: Visitor[local0, T[ +// kind Parameter // ^^^^^^^ reference semanticdb maven maven/com.lihaoyi/upickle-core_2.13 1.4.0 upickle/core/Visitor# // ^ reference semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/CharSequenceParser.transform().[T] // ^^^^^^^^^^^^^^^^^^ reference semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/CharSequenceParser# diff --git a/tests/snapshots/src/main/generated/ujson/Exceptions.scala b/tests/snapshots/src/main/generated/ujson/Exceptions.scala index 7bf0c2a39..daeeeec9a 100644 --- a/tests/snapshots/src/main/generated/ujson/Exceptions.scala +++ b/tests/snapshots/src/main/generated/ujson/Exceptions.scala @@ -4,76 +4,108 @@ package ujson sealed trait ParsingFailedException extends Exception // ^^^^^^^^^^^^^^^^^^^^^^ definition semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/ParsingFailedException# -// documentation ```scala\nsealed trait ParsingFailedException\n``` +// display_name ParsingFailedException +// signature_documentation scala sealed trait ParsingFailedException +// kind Trait // ^^^^^^^^^ reference semanticdb maven maven/org.scala-lang/scala-library 2.13.13 scala/package.Exception# case class ParseException(clue: String, index: Int) // ^^^^^^^^^^^^^^ definition semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/ParseException# -// documentation ```scala\ncase class ParseException(clue: String, index: Int) extends Exception with ParsingFailedException\n``` +// display_name ParseException +// signature_documentation scala case class ParseException(clue: String, index: Int) extends Exception with ParsingFailedException +// kind Class // relationship is_reference semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/ParseException. // relationship is_reference semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/ParseException.apply(). // ______________ synthetic_definition semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/ParseException#productElementName(). -// documentation ```scala\ndef productElementName(x$1: Int): String\n``` +// display_name productElementName +// signature_documentation scala def productElementName(x$1: Int): String +// kind Method // relationship is_definition semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/ParseException# // relationship is_reference semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/ParseException.apply(). // relationship is_reference is_implementation semanticdb maven maven/org.scala-lang/scala-library 2.13.13 scala/Product#productElementName(). // ______________ synthetic_definition semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/ParseException.apply(). -// documentation ```scala\ndef apply(clue: String, index: Int): ParseException\n``` +// display_name apply +// signature_documentation scala def apply(clue: String, index: Int): ParseException +// kind Method // relationship is_definition semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/ParseException# // relationship is_reference is_implementation semanticdb maven maven/org.scala-lang/scala-library 2.13.13 scala/Function2#apply(). // ______________ synthetic_definition semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/ParseException. -// documentation ```scala\nobject ParseException\n``` +// display_name ParseException +// signature_documentation scala object ParseException +// kind Object // relationship is_definition semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/ParseException# // relationship is_reference semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/ParseException.apply(). // ______________ synthetic_definition semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/ParseException#copy(). -// documentation ```scala\ndef copy(clue: String, index: Int): ParseException\n``` +// display_name copy +// signature_documentation scala def copy(clue: String, index: Int): ParseException +// kind Method // relationship is_definition semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/ParseException# // relationship is_reference semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/ParseException.apply(). // ______________ synthetic_definition semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/ParseException#productElement(). -// documentation ```scala\ndef productElement(x$1: Int): Any\n``` +// display_name productElement +// signature_documentation scala def productElement(x$1: Int): Any +// kind Method // relationship is_definition semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/ParseException# // relationship is_reference semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/ParseException.apply(). // relationship is_reference is_implementation semanticdb maven maven/org.scala-lang/scala-library 2.13.13 scala/Product#productElement(). // ^ definition semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/ParseException#``(). -// documentation ```scala\ndef this(clue: String, index: Int)\n``` +// display_name +// signature_documentation scala def this(clue: String, index: Int) +// kind Constructor // ^^^^ definition semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/ParseException#clue. -// documentation ```scala\nval clue: String\n``` +// display_name clue +// signature_documentation scala val clue: String +// kind Method // relationship is_reference semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/ParseException#``().(clue) // relationship is_reference semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/ParseException#copy().(clue) // relationship is_reference semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/ParseException.apply().(clue) // ____ synthetic_definition semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/ParseException.apply().(clue) -// documentation ```scala\nclue: String \n``` +// display_name clue +// signature_documentation scala clue: String +// kind Parameter // relationship is_reference semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/ParseException#``().(clue) // relationship is_reference is_definition semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/ParseException#clue. // relationship is_reference semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/ParseException#copy().(clue) // ____ synthetic_definition semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/ParseException#``().(clue) -// documentation ```scala\nclue: String \n``` +// display_name clue +// signature_documentation scala clue: String +// kind Parameter // relationship is_reference is_definition semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/ParseException#clue. // relationship is_reference semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/ParseException#copy().(clue) // relationship is_reference semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/ParseException.apply().(clue) // ____ synthetic_definition semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/ParseException#copy().(clue) -// documentation ```scala\ndefault clue: String \n``` +// display_name clue +// signature_documentation scala default clue: String +// kind Parameter // relationship is_reference semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/ParseException#``().(clue) // relationship is_reference is_definition semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/ParseException#clue. // relationship is_reference semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/ParseException.apply().(clue) // ^^^^^^ reference semanticdb maven maven/org.scala-lang/scala-library 2.13.13 scala/Predef.String# // ^^^^^ definition semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/ParseException#index. -// documentation ```scala\nval index: Int\n``` +// display_name index +// signature_documentation scala val index: Int +// kind Method // relationship is_reference semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/ParseException#``().(index) // relationship is_reference semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/ParseException#copy().(index) // relationship is_reference semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/ParseException.apply().(index) // _____ synthetic_definition semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/ParseException#``().(index) -// documentation ```scala\nindex: Int \n``` +// display_name index +// signature_documentation scala index: Int +// kind Parameter // relationship is_reference semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/ParseException#copy().(index) // relationship is_reference is_definition semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/ParseException#index. // relationship is_reference semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/ParseException.apply().(index) // _____ synthetic_definition semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/ParseException.apply().(index) -// documentation ```scala\nindex: Int \n``` +// display_name index +// signature_documentation scala index: Int +// kind Parameter // relationship is_reference semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/ParseException#``().(index) // relationship is_reference semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/ParseException#copy().(index) // relationship is_reference is_definition semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/ParseException#index. // _____ synthetic_definition semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/ParseException#copy().(index) -// documentation ```scala\ndefault index: Int \n``` +// display_name index +// signature_documentation scala default index: Int +// kind Parameter // relationship is_reference semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/ParseException#``().(index) // relationship is_reference is_definition semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/ParseException#index. // relationship is_reference semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/ParseException.apply().(index) @@ -89,50 +121,72 @@ case class ParseException(clue: String, index: Int) case class IncompleteParseException(msg: String) // ^^^^^^^^^^^^^^^^^^^^^^^^ definition semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/IncompleteParseException# -// documentation ```scala\ncase class IncompleteParseException(msg: String) extends Exception with ParsingFailedException\n``` +// display_name IncompleteParseException +// signature_documentation scala case class IncompleteParseException(msg: String) extends Exception with ParsingFailedException +// kind Class // relationship is_reference semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/IncompleteParseException. // relationship is_reference semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/IncompleteParseException.apply(). // ________________________ synthetic_definition semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/IncompleteParseException#productElement(). -// documentation ```scala\ndef productElement(x$1: Int): Any\n``` +// display_name productElement +// signature_documentation scala def productElement(x$1: Int): Any +// kind Method // relationship is_definition semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/IncompleteParseException# // relationship is_reference semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/IncompleteParseException.apply(). // relationship is_reference is_implementation semanticdb maven maven/org.scala-lang/scala-library 2.13.13 scala/Product#productElement(). // ________________________ synthetic_definition semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/IncompleteParseException.apply(). -// documentation ```scala\ndef apply(msg: String): IncompleteParseException\n``` +// display_name apply +// signature_documentation scala def apply(msg: String): IncompleteParseException +// kind Method // relationship is_definition semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/IncompleteParseException# // relationship is_reference is_implementation semanticdb maven maven/org.scala-lang/scala-library 2.13.13 scala/Function1#apply(). // ________________________ synthetic_definition semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/IncompleteParseException#copy(). -// documentation ```scala\ndef copy(msg: String): IncompleteParseException\n``` +// display_name copy +// signature_documentation scala def copy(msg: String): IncompleteParseException +// kind Method // relationship is_definition semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/IncompleteParseException# // relationship is_reference semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/IncompleteParseException.apply(). // ________________________ synthetic_definition semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/IncompleteParseException#productElementName(). -// documentation ```scala\ndef productElementName(x$1: Int): String\n``` +// display_name productElementName +// signature_documentation scala def productElementName(x$1: Int): String +// kind Method // relationship is_definition semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/IncompleteParseException# // relationship is_reference semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/IncompleteParseException.apply(). // relationship is_reference is_implementation semanticdb maven maven/org.scala-lang/scala-library 2.13.13 scala/Product#productElementName(). // ________________________ synthetic_definition semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/IncompleteParseException. -// documentation ```scala\nobject IncompleteParseException\n``` +// display_name IncompleteParseException +// signature_documentation scala object IncompleteParseException +// kind Object // relationship is_definition semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/IncompleteParseException# // relationship is_reference semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/IncompleteParseException.apply(). // ^ definition semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/IncompleteParseException#``(). -// documentation ```scala\ndef this(msg: String)\n``` +// display_name +// signature_documentation scala def this(msg: String) +// kind Constructor // ^^^ definition semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/IncompleteParseException#msg. -// documentation ```scala\nval msg: String\n``` +// display_name msg +// signature_documentation scala val msg: String +// kind Method // relationship is_reference semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/IncompleteParseException#``().(msg) // relationship is_reference semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/IncompleteParseException#copy().(msg) // relationship is_reference semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/IncompleteParseException.apply().(msg) // ___ synthetic_definition semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/IncompleteParseException.apply().(msg) -// documentation ```scala\nmsg: String \n``` +// display_name msg +// signature_documentation scala msg: String +// kind Parameter // relationship is_reference semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/IncompleteParseException#``().(msg) // relationship is_reference semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/IncompleteParseException#copy().(msg) // relationship is_reference is_definition semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/IncompleteParseException#msg. // ___ synthetic_definition semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/IncompleteParseException#copy().(msg) -// documentation ```scala\ndefault msg: String \n``` +// display_name msg +// signature_documentation scala default msg: String +// kind Parameter // relationship is_reference semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/IncompleteParseException#``().(msg) // relationship is_reference is_definition semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/IncompleteParseException#msg. // relationship is_reference semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/IncompleteParseException.apply().(msg) // ___ synthetic_definition semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/IncompleteParseException#``().(msg) -// documentation ```scala\nmsg: String \n``` +// display_name msg +// signature_documentation scala msg: String +// kind Parameter // relationship is_reference semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/IncompleteParseException#copy().(msg) // relationship is_reference is_definition semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/IncompleteParseException#msg. // relationship is_reference semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/IncompleteParseException.apply().(msg) diff --git a/tests/snapshots/src/main/generated/ujson/IndexedValue.scala b/tests/snapshots/src/main/generated/ujson/IndexedValue.scala index c148642a7..e8f98b83a 100644 --- a/tests/snapshots/src/main/generated/ujson/IndexedValue.scala +++ b/tests/snapshots/src/main/generated/ujson/IndexedValue.scala @@ -30,10 +30,14 @@ import upickle.core.{Visitor, ObjVisitor, ArrVisitor, Abort, AbortException} */ sealed trait IndexedValue { // ^^^^^^^^^^^^ definition semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/IndexedValue# -// documentation ```scala\nsealed trait IndexedValue\n``` +// display_name IndexedValue +// signature_documentation scala sealed trait IndexedValue +// kind Trait def index: Int // ^^^^^ definition semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/IndexedValue#index(). -// documentation ```scala\ndef index: Int\n``` +// display_name index +// signature_documentation scala def index: Int +// kind AbstractMethod // relationship is_reference is_implementation semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/IndexedValue.Arr#index. // relationship is_reference is_implementation semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/IndexedValue.False#index. // relationship is_reference is_implementation semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/IndexedValue.Null#index. @@ -47,79 +51,111 @@ sealed trait IndexedValue { object IndexedValue extends Transformer[IndexedValue]{ // ^^^^^^^^^^^^ definition semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/IndexedValue. -// documentation ```scala\nobject IndexedValue\n``` +// display_name IndexedValue +// signature_documentation scala object IndexedValue +// kind Object // ^^^^^^^^^^^ reference semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/Transformer# // ^^^^^^^^^^^^ reference semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/IndexedValue# // ^ reference semanticdb maven jdk 11 java/lang/Object#``(). case class Str(index: Int, value0: java.lang.CharSequence) extends IndexedValue // ^^^ definition semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/IndexedValue.Str# -// documentation ```scala\ncase class Str(index: Int, value0: CharSequence) extends IndexedValue\n``` +// display_name Str +// signature_documentation scala case class Str(index: Int, value0: CharSequence) extends IndexedValue +// kind Class // relationship is_reference semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/IndexedValue.Str. // relationship is_reference semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/IndexedValue.Str.apply(). // ___ synthetic_definition semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/IndexedValue.Str#copy(). -// documentation ```scala\ndef copy(index: Int, value0: CharSequence): Str\n``` +// display_name copy +// signature_documentation scala def copy(index: Int, value0: CharSequence): Str +// kind Method // relationship is_definition semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/IndexedValue.Str# // relationship is_reference semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/IndexedValue.Str.apply(). // ___ synthetic_definition semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/IndexedValue.Str.apply(). -// documentation ```scala\ndef apply(index: Int, value0: CharSequence): Str\n``` +// display_name apply +// signature_documentation scala def apply(index: Int, value0: CharSequence): Str +// kind Method // relationship is_definition semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/IndexedValue.Str# // relationship is_reference is_implementation semanticdb maven maven/org.scala-lang/scala-library 2.13.13 scala/Function2#apply(). // ___ synthetic_definition semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/IndexedValue.Str. -// documentation ```scala\nobject Str\n``` +// display_name Str +// signature_documentation scala object Str +// kind Object // relationship is_definition semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/IndexedValue.Str# // relationship is_reference semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/IndexedValue.Str.apply(). // ___ synthetic_definition semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/IndexedValue.Str#productElement(). -// documentation ```scala\ndef productElement(x$1: Int): Any\n``` +// display_name productElement +// signature_documentation scala def productElement(x$1: Int): Any +// kind Method // relationship is_definition semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/IndexedValue.Str# // relationship is_reference semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/IndexedValue.Str.apply(). // relationship is_reference is_implementation semanticdb maven maven/org.scala-lang/scala-library 2.13.13 scala/Product#productElement(). // ___ synthetic_definition semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/IndexedValue.Str#productElementName(). -// documentation ```scala\ndef productElementName(x$1: Int): String\n``` +// display_name productElementName +// signature_documentation scala def productElementName(x$1: Int): String +// kind Method // relationship is_definition semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/IndexedValue.Str# // relationship is_reference semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/IndexedValue.Str.apply(). // relationship is_reference is_implementation semanticdb maven maven/org.scala-lang/scala-library 2.13.13 scala/Product#productElementName(). // ^ definition semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/IndexedValue.Str#``(). -// documentation ```scala\ndef this(index: Int, value0: CharSequence)\n``` +// display_name +// signature_documentation scala def this(index: Int, value0: CharSequence) +// kind Constructor // ^^^^^ definition semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/IndexedValue.Str#index. -// documentation ```scala\nval index: Int\n``` +// display_name index +// signature_documentation scala val index: Int +// kind Method // relationship is_reference is_implementation semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/IndexedValue#index(). // relationship is_reference semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/IndexedValue.Str#``().(index) // relationship is_reference semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/IndexedValue.Str#copy().(index) // relationship is_reference semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/IndexedValue.Str.apply().(index) // _____ synthetic_definition semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/IndexedValue.Str#copy().(index) -// documentation ```scala\ndefault index: Int \n``` +// display_name index +// signature_documentation scala default index: Int +// kind Parameter // relationship is_reference semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/IndexedValue.Str#``().(index) // relationship is_reference is_definition semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/IndexedValue.Str#index. // relationship is_reference semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/IndexedValue.Str.apply().(index) // _____ synthetic_definition semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/IndexedValue.Str#``().(index) -// documentation ```scala\nindex: Int \n``` +// display_name index +// signature_documentation scala index: Int +// kind Parameter // relationship is_reference semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/IndexedValue.Str#copy().(index) // relationship is_reference is_definition semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/IndexedValue.Str#index. // relationship is_reference semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/IndexedValue.Str.apply().(index) // _____ synthetic_definition semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/IndexedValue.Str.apply().(index) -// documentation ```scala\nindex: Int \n``` +// display_name index +// signature_documentation scala index: Int +// kind Parameter // relationship is_reference semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/IndexedValue.Str#``().(index) // relationship is_reference semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/IndexedValue.Str#copy().(index) // relationship is_reference is_definition semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/IndexedValue.Str#index. // ^^^ reference semanticdb maven maven/org.scala-lang/scala-library 2.13.13 scala/Int# // ^^^^^^ definition semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/IndexedValue.Str#value0. -// documentation ```scala\nval value0: CharSequence\n``` +// display_name value0 +// signature_documentation scala val value0: CharSequence +// kind Method // relationship is_reference semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/IndexedValue.Str#``().(value0) // relationship is_reference semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/IndexedValue.Str#copy().(value0) // relationship is_reference semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/IndexedValue.Str.apply().(value0) // ______ synthetic_definition semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/IndexedValue.Str#``().(value0) -// documentation ```scala\nvalue0: CharSequence \n``` +// display_name value0 +// signature_documentation scala value0: CharSequence +// kind Parameter // relationship is_reference semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/IndexedValue.Str#copy().(value0) // relationship is_reference is_definition semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/IndexedValue.Str#value0. // relationship is_reference semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/IndexedValue.Str.apply().(value0) // ______ synthetic_definition semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/IndexedValue.Str.apply().(value0) -// documentation ```scala\nvalue0: CharSequence \n``` +// display_name value0 +// signature_documentation scala value0: CharSequence +// kind Parameter // relationship is_reference semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/IndexedValue.Str#``().(value0) // relationship is_reference semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/IndexedValue.Str#copy().(value0) // relationship is_reference is_definition semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/IndexedValue.Str#value0. // ______ synthetic_definition semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/IndexedValue.Str#copy().(value0) -// documentation ```scala\ndefault value0: CharSequence \n``` +// display_name value0 +// signature_documentation scala default value0: CharSequence +// kind Parameter // relationship is_reference semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/IndexedValue.Str#``().(value0) // relationship is_reference is_definition semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/IndexedValue.Str#value0. // relationship is_reference semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/IndexedValue.Str.apply().(value0) @@ -130,53 +166,77 @@ object IndexedValue extends Transformer[IndexedValue]{ // ^ reference semanticdb maven jdk 11 java/lang/Object#``(). case class Obj(index: Int, value0: (java.lang.CharSequence, IndexedValue)*) extends IndexedValue // ^^^ definition semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/IndexedValue.Obj# -// documentation ```scala\ncase class Obj(index: Int, value0: (CharSequence, IndexedValue)*) extends IndexedValue\n``` +// display_name Obj +// signature_documentation scala case class Obj(index: Int, value0: (CharSequence, IndexedValue)*) extends IndexedValue +// kind Class // relationship is_reference semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/IndexedValue.Obj. // relationship is_reference semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/IndexedValue.Obj.apply(). // ___ synthetic_definition semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/IndexedValue.Obj.apply(). -// documentation ```scala\ndef apply(index: Int, value0: (CharSequence, IndexedValue)*): Obj\n``` +// display_name apply +// signature_documentation scala def apply(index: Int, value0: (CharSequence, IndexedValue)*): Obj +// kind Method // relationship is_definition semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/IndexedValue.Obj# // relationship is_reference is_implementation semanticdb maven maven/org.scala-lang/scala-library 2.13.13 scala/Function2#apply(). // ___ synthetic_definition semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/IndexedValue.Obj#productElement(). -// documentation ```scala\ndef productElement(x$1: Int): Any\n``` +// display_name productElement +// signature_documentation scala def productElement(x$1: Int): Any +// kind Method // relationship is_definition semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/IndexedValue.Obj# // relationship is_reference semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/IndexedValue.Obj.apply(). // relationship is_reference is_implementation semanticdb maven maven/org.scala-lang/scala-library 2.13.13 scala/Product#productElement(). // ___ synthetic_definition semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/IndexedValue.Obj. -// documentation ```scala\nobject Obj\n``` +// display_name Obj +// signature_documentation scala object Obj +// kind Object // relationship is_definition semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/IndexedValue.Obj# // relationship is_reference semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/IndexedValue.Obj.apply(). // ___ synthetic_definition semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/IndexedValue.Obj#productElementName(). -// documentation ```scala\ndef productElementName(x$1: Int): String\n``` +// display_name productElementName +// signature_documentation scala def productElementName(x$1: Int): String +// kind Method // relationship is_definition semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/IndexedValue.Obj# // relationship is_reference semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/IndexedValue.Obj.apply(). // relationship is_reference is_implementation semanticdb maven maven/org.scala-lang/scala-library 2.13.13 scala/Product#productElementName(). // ^ definition semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/IndexedValue.Obj#``(). -// documentation ```scala\ndef this(index: Int, value0: (CharSequence, IndexedValue)*)\n``` +// display_name +// signature_documentation scala def this(index: Int, value0: (CharSequence, IndexedValue)*) +// kind Constructor // ^^^^^ definition semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/IndexedValue.Obj#index. -// documentation ```scala\nval index: Int\n``` +// display_name index +// signature_documentation scala val index: Int +// kind Method // relationship is_reference is_implementation semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/IndexedValue#index(). // relationship is_reference semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/IndexedValue.Obj#``().(index) // relationship is_reference semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/IndexedValue.Obj.apply().(index) // _____ synthetic_definition semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/IndexedValue.Obj#``().(index) -// documentation ```scala\nindex: Int \n``` +// display_name index +// signature_documentation scala index: Int +// kind Parameter // relationship is_reference is_definition semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/IndexedValue.Obj#index. // relationship is_reference semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/IndexedValue.Obj.apply().(index) // _____ synthetic_definition semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/IndexedValue.Obj.apply().(index) -// documentation ```scala\nindex: Int \n``` +// display_name index +// signature_documentation scala index: Int +// kind Parameter // relationship is_reference semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/IndexedValue.Obj#``().(index) // relationship is_reference is_definition semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/IndexedValue.Obj#index. // ^^^ reference semanticdb maven maven/org.scala-lang/scala-library 2.13.13 scala/Int# // ^^^^^^ definition semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/IndexedValue.Obj#value0. -// documentation ```scala\nval value0: (CharSequence, IndexedValue)*\n``` +// display_name value0 +// signature_documentation scala val value0: (CharSequence, IndexedValue)* +// kind Method // relationship is_reference semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/IndexedValue.Obj#``().(value0) // relationship is_reference semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/IndexedValue.Obj.apply().(value0) // ______ synthetic_definition semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/IndexedValue.Obj.apply().(value0) -// documentation ```scala\nvalue0: (CharSequence, IndexedValue)* \n``` +// display_name value0 +// signature_documentation scala value0: (CharSequence, IndexedValue)* +// kind Parameter // relationship is_reference semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/IndexedValue.Obj#``().(value0) // relationship is_reference is_definition semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/IndexedValue.Obj#value0. // ______ synthetic_definition semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/IndexedValue.Obj#``().(value0) -// documentation ```scala\nvalue0: (CharSequence, IndexedValue)* \n``` +// display_name value0 +// signature_documentation scala value0: (CharSequence, IndexedValue)* +// kind Parameter // relationship is_reference is_definition semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/IndexedValue.Obj#value0. // relationship is_reference semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/IndexedValue.Obj.apply().(value0) // ^^^^ reference semanticdb maven . . java/ @@ -187,53 +247,77 @@ object IndexedValue extends Transformer[IndexedValue]{ // ^ reference semanticdb maven jdk 11 java/lang/Object#``(). case class Arr(index: Int, value: IndexedValue*) extends IndexedValue // ^^^ definition semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/IndexedValue.Arr# -// documentation ```scala\ncase class Arr(index: Int, value: IndexedValue*) extends IndexedValue\n``` +// display_name Arr +// signature_documentation scala case class Arr(index: Int, value: IndexedValue*) extends IndexedValue +// kind Class // relationship is_reference semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/IndexedValue.Arr. // relationship is_reference semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/IndexedValue.Arr.apply(). // ___ synthetic_definition semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/IndexedValue.Arr#productElementName(). -// documentation ```scala\ndef productElementName(x$1: Int): String\n``` +// display_name productElementName +// signature_documentation scala def productElementName(x$1: Int): String +// kind Method // relationship is_definition semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/IndexedValue.Arr# // relationship is_reference semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/IndexedValue.Arr.apply(). // relationship is_reference is_implementation semanticdb maven maven/org.scala-lang/scala-library 2.13.13 scala/Product#productElementName(). // ___ synthetic_definition semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/IndexedValue.Arr#productElement(). -// documentation ```scala\ndef productElement(x$1: Int): Any\n``` +// display_name productElement +// signature_documentation scala def productElement(x$1: Int): Any +// kind Method // relationship is_definition semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/IndexedValue.Arr# // relationship is_reference semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/IndexedValue.Arr.apply(). // relationship is_reference is_implementation semanticdb maven maven/org.scala-lang/scala-library 2.13.13 scala/Product#productElement(). // ___ synthetic_definition semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/IndexedValue.Arr. -// documentation ```scala\nobject Arr\n``` +// display_name Arr +// signature_documentation scala object Arr +// kind Object // relationship is_definition semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/IndexedValue.Arr# // relationship is_reference semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/IndexedValue.Arr.apply(). // ___ synthetic_definition semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/IndexedValue.Arr.apply(). -// documentation ```scala\ndef apply(index: Int, value: IndexedValue*): Arr\n``` +// display_name apply +// signature_documentation scala def apply(index: Int, value: IndexedValue*): Arr +// kind Method // relationship is_definition semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/IndexedValue.Arr# // relationship is_reference is_implementation semanticdb maven maven/org.scala-lang/scala-library 2.13.13 scala/Function2#apply(). // ^ definition semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/IndexedValue.Arr#``(). -// documentation ```scala\ndef this(index: Int, value: IndexedValue*)\n``` +// display_name +// signature_documentation scala def this(index: Int, value: IndexedValue*) +// kind Constructor // ^^^^^ definition semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/IndexedValue.Arr#index. -// documentation ```scala\nval index: Int\n``` +// display_name index +// signature_documentation scala val index: Int +// kind Method // relationship is_reference is_implementation semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/IndexedValue#index(). // relationship is_reference semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/IndexedValue.Arr#``().(index) // relationship is_reference semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/IndexedValue.Arr.apply().(index) // _____ synthetic_definition semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/IndexedValue.Arr.apply().(index) -// documentation ```scala\nindex: Int \n``` +// display_name index +// signature_documentation scala index: Int +// kind Parameter // relationship is_reference semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/IndexedValue.Arr#``().(index) // relationship is_reference is_definition semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/IndexedValue.Arr#index. // _____ synthetic_definition semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/IndexedValue.Arr#``().(index) -// documentation ```scala\nindex: Int \n``` +// display_name index +// signature_documentation scala index: Int +// kind Parameter // relationship is_reference is_definition semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/IndexedValue.Arr#index. // relationship is_reference semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/IndexedValue.Arr.apply().(index) // ^^^ reference semanticdb maven maven/org.scala-lang/scala-library 2.13.13 scala/Int# // ^^^^^ definition semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/IndexedValue.Arr#value. -// documentation ```scala\nval value: IndexedValue*\n``` +// display_name value +// signature_documentation scala val value: IndexedValue* +// kind Method // relationship is_reference semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/IndexedValue.Arr#``().(value) // relationship is_reference semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/IndexedValue.Arr.apply().(value) // _____ synthetic_definition semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/IndexedValue.Arr#``().(value) -// documentation ```scala\nvalue: IndexedValue* \n``` +// display_name value +// signature_documentation scala value: IndexedValue* +// kind Parameter // relationship is_reference is_definition semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/IndexedValue.Arr#value. // relationship is_reference semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/IndexedValue.Arr.apply().(value) // _____ synthetic_definition semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/IndexedValue.Arr.apply().(value) -// documentation ```scala\nvalue: IndexedValue* \n``` +// display_name value +// signature_documentation scala value: IndexedValue* +// kind Parameter // relationship is_reference semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/IndexedValue.Arr#``().(value) // relationship is_reference is_definition semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/IndexedValue.Arr#value. // ^^^^^^^^^^^^ reference semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/IndexedValue# @@ -241,114 +325,160 @@ object IndexedValue extends Transformer[IndexedValue]{ // ^ reference semanticdb maven jdk 11 java/lang/Object#``(). case class Num(index: Int, s: CharSequence, decIndex: Int, expIndex: Int) extends IndexedValue // ^^^ definition semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/IndexedValue.Num# -// documentation ```scala\ncase class Num(index: Int, s: CharSequence, decIndex: Int, expIndex: Int) extends IndexedValue\n``` +// display_name Num +// signature_documentation scala case class Num(index: Int, s: CharSequence, decIndex: Int, expIndex: Int) extends IndexedValue +// kind Class // relationship is_reference semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/IndexedValue.Num. // relationship is_reference semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/IndexedValue.Num.apply(). // ___ synthetic_definition semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/IndexedValue.Num. -// documentation ```scala\nobject Num\n``` +// display_name Num +// signature_documentation scala object Num +// kind Object // relationship is_definition semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/IndexedValue.Num# // relationship is_reference semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/IndexedValue.Num.apply(). // ___ synthetic_definition semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/IndexedValue.Num#copy(). -// documentation ```scala\ndef copy(index: Int, s: CharSequence, decIndex: Int, expIndex: Int): Num\n``` +// display_name copy +// signature_documentation scala def copy(index: Int, s: CharSequence, decIndex: Int, expIndex: Int): Num +// kind Method // relationship is_definition semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/IndexedValue.Num# // relationship is_reference semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/IndexedValue.Num.apply(). // ___ synthetic_definition semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/IndexedValue.Num#productElement(). -// documentation ```scala\ndef productElement(x$1: Int): Any\n``` +// display_name productElement +// signature_documentation scala def productElement(x$1: Int): Any +// kind Method // relationship is_definition semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/IndexedValue.Num# // relationship is_reference semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/IndexedValue.Num.apply(). // relationship is_reference is_implementation semanticdb maven maven/org.scala-lang/scala-library 2.13.13 scala/Product#productElement(). // ___ synthetic_definition semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/IndexedValue.Num#productElementName(). -// documentation ```scala\ndef productElementName(x$1: Int): String\n``` +// display_name productElementName +// signature_documentation scala def productElementName(x$1: Int): String +// kind Method // relationship is_definition semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/IndexedValue.Num# // relationship is_reference semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/IndexedValue.Num.apply(). // relationship is_reference is_implementation semanticdb maven maven/org.scala-lang/scala-library 2.13.13 scala/Product#productElementName(). // ___ synthetic_definition semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/IndexedValue.Num.apply(). -// documentation ```scala\ndef apply(index: Int, s: CharSequence, decIndex: Int, expIndex: Int): Num\n``` +// display_name apply +// signature_documentation scala def apply(index: Int, s: CharSequence, decIndex: Int, expIndex: Int): Num +// kind Method // relationship is_definition semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/IndexedValue.Num# // relationship is_reference is_implementation semanticdb maven maven/org.scala-lang/scala-library 2.13.13 scala/Function4#apply(). // ^ definition semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/IndexedValue.Num#``(). -// documentation ```scala\ndef this(index: Int, s: CharSequence, decIndex: Int, expIndex: Int)\n``` +// display_name +// signature_documentation scala def this(index: Int, s: CharSequence, decIndex: Int, expIndex: Int) +// kind Constructor // ^^^^^ definition semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/IndexedValue.Num#index. -// documentation ```scala\nval index: Int\n``` +// display_name index +// signature_documentation scala val index: Int +// kind Method // relationship is_reference is_implementation semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/IndexedValue#index(). // relationship is_reference semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/IndexedValue.Num#``().(index) // relationship is_reference semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/IndexedValue.Num#copy().(index) // relationship is_reference semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/IndexedValue.Num.apply().(index) // _____ synthetic_definition semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/IndexedValue.Num#copy().(index) -// documentation ```scala\ndefault index: Int \n``` +// display_name index +// signature_documentation scala default index: Int +// kind Parameter // relationship is_reference semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/IndexedValue.Num#``().(index) // relationship is_reference is_definition semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/IndexedValue.Num#index. // relationship is_reference semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/IndexedValue.Num.apply().(index) // _____ synthetic_definition semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/IndexedValue.Num#``().(index) -// documentation ```scala\nindex: Int \n``` +// display_name index +// signature_documentation scala index: Int +// kind Parameter // relationship is_reference semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/IndexedValue.Num#copy().(index) // relationship is_reference is_definition semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/IndexedValue.Num#index. // relationship is_reference semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/IndexedValue.Num.apply().(index) // _____ synthetic_definition semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/IndexedValue.Num.apply().(index) -// documentation ```scala\nindex: Int \n``` +// display_name index +// signature_documentation scala index: Int +// kind Parameter // relationship is_reference semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/IndexedValue.Num#``().(index) // relationship is_reference semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/IndexedValue.Num#copy().(index) // relationship is_reference is_definition semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/IndexedValue.Num#index. // ^^^ reference semanticdb maven maven/org.scala-lang/scala-library 2.13.13 scala/Int# // ^ definition semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/IndexedValue.Num#s. -// documentation ```scala\nval s: CharSequence\n``` +// display_name s +// signature_documentation scala val s: CharSequence +// kind Method // relationship is_reference semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/IndexedValue.Num#``().(s) // relationship is_reference semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/IndexedValue.Num#copy().(s) // relationship is_reference semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/IndexedValue.Num.apply().(s) // _ synthetic_definition semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/IndexedValue.Num.apply().(s) -// documentation ```scala\ns: CharSequence \n``` +// display_name s +// signature_documentation scala s: CharSequence +// kind Parameter // relationship is_reference semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/IndexedValue.Num#``().(s) // relationship is_reference semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/IndexedValue.Num#copy().(s) // relationship is_reference is_definition semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/IndexedValue.Num#s. // _ synthetic_definition semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/IndexedValue.Num#``().(s) -// documentation ```scala\ns: CharSequence \n``` +// display_name s +// signature_documentation scala s: CharSequence +// kind Parameter // relationship is_reference semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/IndexedValue.Num#copy().(s) // relationship is_reference is_definition semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/IndexedValue.Num#s. // relationship is_reference semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/IndexedValue.Num.apply().(s) // _ synthetic_definition semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/IndexedValue.Num#copy().(s) -// documentation ```scala\ndefault s: CharSequence \n``` +// display_name s +// signature_documentation scala default s: CharSequence +// kind Parameter // relationship is_reference semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/IndexedValue.Num#``().(s) // relationship is_reference is_definition semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/IndexedValue.Num#s. // relationship is_reference semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/IndexedValue.Num.apply().(s) // ^^^^^^^^^^^^ reference semanticdb maven jdk 11 java/lang/CharSequence# // ^^^^^^^^ definition semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/IndexedValue.Num#decIndex. -// documentation ```scala\nval decIndex: Int\n``` +// display_name decIndex +// signature_documentation scala val decIndex: Int +// kind Method // relationship is_reference semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/IndexedValue.Num#``().(decIndex) // relationship is_reference semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/IndexedValue.Num#copy().(decIndex) // relationship is_reference semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/IndexedValue.Num.apply().(decIndex) // ________ synthetic_definition semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/IndexedValue.Num#copy().(decIndex) -// documentation ```scala\ndefault decIndex: Int \n``` +// display_name decIndex +// signature_documentation scala default decIndex: Int +// kind Parameter // relationship is_reference semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/IndexedValue.Num#``().(decIndex) // relationship is_reference is_definition semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/IndexedValue.Num#decIndex. // relationship is_reference semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/IndexedValue.Num.apply().(decIndex) // ________ synthetic_definition semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/IndexedValue.Num.apply().(decIndex) -// documentation ```scala\ndecIndex: Int \n``` +// display_name decIndex +// signature_documentation scala decIndex: Int +// kind Parameter // relationship is_reference semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/IndexedValue.Num#``().(decIndex) // relationship is_reference semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/IndexedValue.Num#copy().(decIndex) // relationship is_reference is_definition semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/IndexedValue.Num#decIndex. // ________ synthetic_definition semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/IndexedValue.Num#``().(decIndex) -// documentation ```scala\ndecIndex: Int \n``` +// display_name decIndex +// signature_documentation scala decIndex: Int +// kind Parameter // relationship is_reference semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/IndexedValue.Num#copy().(decIndex) // relationship is_reference is_definition semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/IndexedValue.Num#decIndex. // relationship is_reference semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/IndexedValue.Num.apply().(decIndex) // ^^^ reference semanticdb maven maven/org.scala-lang/scala-library 2.13.13 scala/Int# // ^^^^^^^^ definition semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/IndexedValue.Num#expIndex. -// documentation ```scala\nval expIndex: Int\n``` +// display_name expIndex +// signature_documentation scala val expIndex: Int +// kind Method // relationship is_reference semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/IndexedValue.Num#``().(expIndex) // relationship is_reference semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/IndexedValue.Num#copy().(expIndex) // relationship is_reference semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/IndexedValue.Num.apply().(expIndex) // ________ synthetic_definition semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/IndexedValue.Num#``().(expIndex) -// documentation ```scala\nexpIndex: Int \n``` +// display_name expIndex +// signature_documentation scala expIndex: Int +// kind Parameter // relationship is_reference semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/IndexedValue.Num#copy().(expIndex) // relationship is_reference is_definition semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/IndexedValue.Num#expIndex. // relationship is_reference semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/IndexedValue.Num.apply().(expIndex) // ________ synthetic_definition semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/IndexedValue.Num.apply().(expIndex) -// documentation ```scala\nexpIndex: Int \n``` +// display_name expIndex +// signature_documentation scala expIndex: Int +// kind Parameter // relationship is_reference semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/IndexedValue.Num#``().(expIndex) // relationship is_reference semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/IndexedValue.Num#copy().(expIndex) // relationship is_reference is_definition semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/IndexedValue.Num#expIndex. // ________ synthetic_definition semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/IndexedValue.Num#copy().(expIndex) -// documentation ```scala\ndefault expIndex: Int \n``` +// display_name expIndex +// signature_documentation scala default expIndex: Int +// kind Parameter // relationship is_reference semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/IndexedValue.Num#``().(expIndex) // relationship is_reference is_definition semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/IndexedValue.Num#expIndex. // relationship is_reference semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/IndexedValue.Num.apply().(expIndex) @@ -357,72 +487,102 @@ object IndexedValue extends Transformer[IndexedValue]{ // ^ reference semanticdb maven jdk 11 java/lang/Object#``(). case class NumRaw(index: Int, d: Double) extends IndexedValue // ^^^^^^ definition semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/IndexedValue.NumRaw# -// documentation ```scala\ncase class NumRaw(index: Int, d: Double) extends IndexedValue\n``` +// display_name NumRaw +// signature_documentation scala case class NumRaw(index: Int, d: Double) extends IndexedValue +// kind Class // relationship is_reference semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/IndexedValue.NumRaw. // relationship is_reference semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/IndexedValue.NumRaw.apply(). // ______ synthetic_definition semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/IndexedValue.NumRaw#copy(). -// documentation ```scala\ndef copy(index: Int, d: Double): NumRaw\n``` +// display_name copy +// signature_documentation scala def copy(index: Int, d: Double): NumRaw +// kind Method // relationship is_definition semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/IndexedValue.NumRaw# // relationship is_reference semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/IndexedValue.NumRaw.apply(). // ______ synthetic_definition semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/IndexedValue.NumRaw. -// documentation ```scala\nobject NumRaw\n``` +// display_name NumRaw +// signature_documentation scala object NumRaw +// kind Object // relationship is_definition semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/IndexedValue.NumRaw# // relationship is_reference semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/IndexedValue.NumRaw.apply(). // ______ synthetic_definition semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/IndexedValue.NumRaw#productElement(). -// documentation ```scala\ndef productElement(x$1: Int): Any\n``` +// display_name productElement +// signature_documentation scala def productElement(x$1: Int): Any +// kind Method // relationship is_definition semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/IndexedValue.NumRaw# // relationship is_reference semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/IndexedValue.NumRaw.apply(). // relationship is_reference is_implementation semanticdb maven maven/org.scala-lang/scala-library 2.13.13 scala/Product#productElement(). // ______ synthetic_definition semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/IndexedValue.NumRaw.apply(). -// documentation ```scala\ndef apply(index: Int, d: Double): NumRaw\n``` +// display_name apply +// signature_documentation scala def apply(index: Int, d: Double): NumRaw +// kind Method // relationship is_definition semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/IndexedValue.NumRaw# // relationship is_reference is_implementation semanticdb maven maven/org.scala-lang/scala-library 2.13.13 scala/Function2#apply(). // ______ synthetic_definition semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/IndexedValue.NumRaw#productElementName(). -// documentation ```scala\ndef productElementName(x$1: Int): String\n``` +// display_name productElementName +// signature_documentation scala def productElementName(x$1: Int): String +// kind Method // relationship is_definition semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/IndexedValue.NumRaw# // relationship is_reference semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/IndexedValue.NumRaw.apply(). // relationship is_reference is_implementation semanticdb maven maven/org.scala-lang/scala-library 2.13.13 scala/Product#productElementName(). // ^ definition semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/IndexedValue.NumRaw#``(). -// documentation ```scala\ndef this(index: Int, d: Double)\n``` +// display_name +// signature_documentation scala def this(index: Int, d: Double) +// kind Constructor // ^^^^^ definition semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/IndexedValue.NumRaw#index. -// documentation ```scala\nval index: Int\n``` +// display_name index +// signature_documentation scala val index: Int +// kind Method // relationship is_reference is_implementation semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/IndexedValue#index(). // relationship is_reference semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/IndexedValue.NumRaw#``().(index) // relationship is_reference semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/IndexedValue.NumRaw#copy().(index) // relationship is_reference semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/IndexedValue.NumRaw.apply().(index) // _____ synthetic_definition semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/IndexedValue.NumRaw.apply().(index) -// documentation ```scala\nindex: Int \n``` +// display_name index +// signature_documentation scala index: Int +// kind Parameter // relationship is_reference semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/IndexedValue.NumRaw#``().(index) // relationship is_reference semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/IndexedValue.NumRaw#copy().(index) // relationship is_reference is_definition semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/IndexedValue.NumRaw#index. // _____ synthetic_definition semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/IndexedValue.NumRaw#``().(index) -// documentation ```scala\nindex: Int \n``` +// display_name index +// signature_documentation scala index: Int +// kind Parameter // relationship is_reference semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/IndexedValue.NumRaw#copy().(index) // relationship is_reference is_definition semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/IndexedValue.NumRaw#index. // relationship is_reference semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/IndexedValue.NumRaw.apply().(index) // _____ synthetic_definition semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/IndexedValue.NumRaw#copy().(index) -// documentation ```scala\ndefault index: Int \n``` +// display_name index +// signature_documentation scala default index: Int +// kind Parameter // relationship is_reference semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/IndexedValue.NumRaw#``().(index) // relationship is_reference is_definition semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/IndexedValue.NumRaw#index. // relationship is_reference semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/IndexedValue.NumRaw.apply().(index) // ^^^ reference semanticdb maven maven/org.scala-lang/scala-library 2.13.13 scala/Int# // ^ definition semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/IndexedValue.NumRaw#d. -// documentation ```scala\nval d: Double\n``` +// display_name d +// signature_documentation scala val d: Double +// kind Method // relationship is_reference semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/IndexedValue.NumRaw#``().(d) // relationship is_reference semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/IndexedValue.NumRaw#copy().(d) // relationship is_reference semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/IndexedValue.NumRaw.apply().(d) // _ synthetic_definition semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/IndexedValue.NumRaw#copy().(d) -// documentation ```scala\ndefault d: Double \n``` +// display_name d +// signature_documentation scala default d: Double +// kind Parameter // relationship is_reference semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/IndexedValue.NumRaw#``().(d) // relationship is_reference is_definition semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/IndexedValue.NumRaw#d. // relationship is_reference semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/IndexedValue.NumRaw.apply().(d) // _ synthetic_definition semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/IndexedValue.NumRaw.apply().(d) -// documentation ```scala\nd: Double \n``` +// display_name d +// signature_documentation scala d: Double +// kind Parameter // relationship is_reference semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/IndexedValue.NumRaw#``().(d) // relationship is_reference semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/IndexedValue.NumRaw#copy().(d) // relationship is_reference is_definition semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/IndexedValue.NumRaw#d. // _ synthetic_definition semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/IndexedValue.NumRaw#``().(d) -// documentation ```scala\nd: Double \n``` +// display_name d +// signature_documentation scala d: Double +// kind Parameter // relationship is_reference semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/IndexedValue.NumRaw#copy().(d) // relationship is_reference is_definition semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/IndexedValue.NumRaw#d. // relationship is_reference semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/IndexedValue.NumRaw.apply().(d) @@ -431,51 +591,73 @@ object IndexedValue extends Transformer[IndexedValue]{ // ^ reference semanticdb maven jdk 11 java/lang/Object#``(). case class False(index: Int) extends IndexedValue{ // ^^^^^ definition semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/IndexedValue.False# -// documentation ```scala\ncase class False(index: Int) extends IndexedValue\n``` +// display_name False +// signature_documentation scala case class False(index: Int) extends IndexedValue +// kind Class // relationship is_reference semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/IndexedValue.False. // relationship is_reference semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/IndexedValue.False.apply(). // _____ synthetic_definition semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/IndexedValue.False. -// documentation ```scala\nobject False\n``` +// display_name False +// signature_documentation scala object False +// kind Object // relationship is_definition semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/IndexedValue.False# // relationship is_reference semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/IndexedValue.False.apply(). // _____ synthetic_definition semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/IndexedValue.False#productElementName(). -// documentation ```scala\ndef productElementName(x$1: Int): String\n``` +// display_name productElementName +// signature_documentation scala def productElementName(x$1: Int): String +// kind Method // relationship is_definition semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/IndexedValue.False# // relationship is_reference semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/IndexedValue.False.apply(). // relationship is_reference is_implementation semanticdb maven maven/org.scala-lang/scala-library 2.13.13 scala/Product#productElementName(). // _____ synthetic_definition semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/IndexedValue.False.apply(). -// documentation ```scala\ndef apply(index: Int): False\n``` +// display_name apply +// signature_documentation scala def apply(index: Int): False +// kind Method // relationship is_definition semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/IndexedValue.False# // relationship is_reference is_implementation semanticdb maven maven/org.scala-lang/scala-library 2.13.13 scala/Function1#apply(). // _____ synthetic_definition semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/IndexedValue.False#productElement(). -// documentation ```scala\ndef productElement(x$1: Int): Any\n``` +// display_name productElement +// signature_documentation scala def productElement(x$1: Int): Any +// kind Method // relationship is_definition semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/IndexedValue.False# // relationship is_reference semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/IndexedValue.False.apply(). // relationship is_reference is_implementation semanticdb maven maven/org.scala-lang/scala-library 2.13.13 scala/Product#productElement(). // _____ synthetic_definition semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/IndexedValue.False#copy(). -// documentation ```scala\ndef copy(index: Int): False\n``` +// display_name copy +// signature_documentation scala def copy(index: Int): False +// kind Method // relationship is_definition semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/IndexedValue.False# // relationship is_reference semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/IndexedValue.False.apply(). // ^ definition semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/IndexedValue.False#``(). -// documentation ```scala\ndef this(index: Int)\n``` +// display_name +// signature_documentation scala def this(index: Int) +// kind Constructor // ^^^^^ definition semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/IndexedValue.False#index. -// documentation ```scala\nval index: Int\n``` +// display_name index +// signature_documentation scala val index: Int +// kind Method // relationship is_reference is_implementation semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/IndexedValue#index(). // relationship is_reference semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/IndexedValue.False#``().(index) // relationship is_reference semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/IndexedValue.False#copy().(index) // relationship is_reference semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/IndexedValue.False.apply().(index) // _____ synthetic_definition semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/IndexedValue.False.apply().(index) -// documentation ```scala\nindex: Int \n``` +// display_name index +// signature_documentation scala index: Int +// kind Parameter // relationship is_reference semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/IndexedValue.False#``().(index) // relationship is_reference semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/IndexedValue.False#copy().(index) // relationship is_reference is_definition semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/IndexedValue.False#index. // _____ synthetic_definition semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/IndexedValue.False#copy().(index) -// documentation ```scala\ndefault index: Int \n``` +// display_name index +// signature_documentation scala default index: Int +// kind Parameter // relationship is_reference semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/IndexedValue.False#``().(index) // relationship is_reference is_definition semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/IndexedValue.False#index. // relationship is_reference semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/IndexedValue.False.apply().(index) // _____ synthetic_definition semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/IndexedValue.False#``().(index) -// documentation ```scala\nindex: Int \n``` +// display_name index +// signature_documentation scala index: Int +// kind Parameter // relationship is_reference semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/IndexedValue.False#copy().(index) // relationship is_reference is_definition semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/IndexedValue.False#index. // relationship is_reference semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/IndexedValue.False.apply().(index) @@ -484,55 +666,79 @@ object IndexedValue extends Transformer[IndexedValue]{ // ^ reference semanticdb maven jdk 11 java/lang/Object#``(). def value = false // ^^^^^ definition semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/IndexedValue.False#value(). -// documentation ```scala\ndef value: Boolean\n``` +// display_name value +// signature_documentation scala def value: Boolean +// kind Method } case class True(index: Int) extends IndexedValue{ // ^^^^ definition semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/IndexedValue.True# -// documentation ```scala\ncase class True(index: Int) extends IndexedValue\n``` +// display_name True +// signature_documentation scala case class True(index: Int) extends IndexedValue +// kind Class // relationship is_reference semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/IndexedValue.True. // relationship is_reference semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/IndexedValue.True.apply(). // ____ synthetic_definition semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/IndexedValue.True#productElement(). -// documentation ```scala\ndef productElement(x$1: Int): Any\n``` +// display_name productElement +// signature_documentation scala def productElement(x$1: Int): Any +// kind Method // relationship is_definition semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/IndexedValue.True# // relationship is_reference semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/IndexedValue.True.apply(). // relationship is_reference is_implementation semanticdb maven maven/org.scala-lang/scala-library 2.13.13 scala/Product#productElement(). // ____ synthetic_definition semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/IndexedValue.True. -// documentation ```scala\nobject True\n``` +// display_name True +// signature_documentation scala object True +// kind Object // relationship is_definition semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/IndexedValue.True# // relationship is_reference semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/IndexedValue.True.apply(). // ____ synthetic_definition semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/IndexedValue.True#copy(). -// documentation ```scala\ndef copy(index: Int): True\n``` +// display_name copy +// signature_documentation scala def copy(index: Int): True +// kind Method // relationship is_definition semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/IndexedValue.True# // relationship is_reference semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/IndexedValue.True.apply(). // ____ synthetic_definition semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/IndexedValue.True.apply(). -// documentation ```scala\ndef apply(index: Int): True\n``` +// display_name apply +// signature_documentation scala def apply(index: Int): True +// kind Method // relationship is_definition semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/IndexedValue.True# // relationship is_reference is_implementation semanticdb maven maven/org.scala-lang/scala-library 2.13.13 scala/Function1#apply(). // ____ synthetic_definition semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/IndexedValue.True#productElementName(). -// documentation ```scala\ndef productElementName(x$1: Int): String\n``` +// display_name productElementName +// signature_documentation scala def productElementName(x$1: Int): String +// kind Method // relationship is_definition semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/IndexedValue.True# // relationship is_reference semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/IndexedValue.True.apply(). // relationship is_reference is_implementation semanticdb maven maven/org.scala-lang/scala-library 2.13.13 scala/Product#productElementName(). // ^ definition semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/IndexedValue.True#``(). -// documentation ```scala\ndef this(index: Int)\n``` +// display_name +// signature_documentation scala def this(index: Int) +// kind Constructor // ^^^^^ definition semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/IndexedValue.True#index. -// documentation ```scala\nval index: Int\n``` +// display_name index +// signature_documentation scala val index: Int +// kind Method // relationship is_reference is_implementation semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/IndexedValue#index(). // relationship is_reference semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/IndexedValue.True#``().(index) // relationship is_reference semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/IndexedValue.True#copy().(index) // relationship is_reference semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/IndexedValue.True.apply().(index) // _____ synthetic_definition semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/IndexedValue.True.apply().(index) -// documentation ```scala\nindex: Int \n``` +// display_name index +// signature_documentation scala index: Int +// kind Parameter // relationship is_reference semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/IndexedValue.True#``().(index) // relationship is_reference semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/IndexedValue.True#copy().(index) // relationship is_reference is_definition semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/IndexedValue.True#index. // _____ synthetic_definition semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/IndexedValue.True#``().(index) -// documentation ```scala\nindex: Int \n``` +// display_name index +// signature_documentation scala index: Int +// kind Parameter // relationship is_reference semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/IndexedValue.True#copy().(index) // relationship is_reference is_definition semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/IndexedValue.True#index. // relationship is_reference semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/IndexedValue.True.apply().(index) // _____ synthetic_definition semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/IndexedValue.True#copy().(index) -// documentation ```scala\ndefault index: Int \n``` +// display_name index +// signature_documentation scala default index: Int +// kind Parameter // relationship is_reference semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/IndexedValue.True#``().(index) // relationship is_reference is_definition semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/IndexedValue.True#index. // relationship is_reference semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/IndexedValue.True.apply().(index) @@ -541,55 +747,79 @@ object IndexedValue extends Transformer[IndexedValue]{ // ^ reference semanticdb maven jdk 11 java/lang/Object#``(). def value = true // ^^^^^ definition semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/IndexedValue.True#value(). -// documentation ```scala\ndef value: Boolean\n``` +// display_name value +// signature_documentation scala def value: Boolean +// kind Method } case class Null(index: Int) extends IndexedValue{ // ^^^^ definition semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/IndexedValue.Null# -// documentation ```scala\ncase class Null(index: Int) extends IndexedValue\n``` +// display_name Null +// signature_documentation scala case class Null(index: Int) extends IndexedValue +// kind Class // relationship is_reference semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/IndexedValue.Null. // relationship is_reference semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/IndexedValue.Null.apply(). // ____ synthetic_definition semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/IndexedValue.Null#copy(). -// documentation ```scala\ndef copy(index: Int): Null\n``` +// display_name copy +// signature_documentation scala def copy(index: Int): Null +// kind Method // relationship is_definition semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/IndexedValue.Null# // relationship is_reference semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/IndexedValue.Null.apply(). // ____ synthetic_definition semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/IndexedValue.Null#productElement(). -// documentation ```scala\ndef productElement(x$1: Int): Any\n``` +// display_name productElement +// signature_documentation scala def productElement(x$1: Int): Any +// kind Method // relationship is_definition semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/IndexedValue.Null# // relationship is_reference semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/IndexedValue.Null.apply(). // relationship is_reference is_implementation semanticdb maven maven/org.scala-lang/scala-library 2.13.13 scala/Product#productElement(). // ____ synthetic_definition semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/IndexedValue.Null#productElementName(). -// documentation ```scala\ndef productElementName(x$1: Int): String\n``` +// display_name productElementName +// signature_documentation scala def productElementName(x$1: Int): String +// kind Method // relationship is_definition semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/IndexedValue.Null# // relationship is_reference semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/IndexedValue.Null.apply(). // relationship is_reference is_implementation semanticdb maven maven/org.scala-lang/scala-library 2.13.13 scala/Product#productElementName(). // ____ synthetic_definition semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/IndexedValue.Null.apply(). -// documentation ```scala\ndef apply(index: Int): Null\n``` +// display_name apply +// signature_documentation scala def apply(index: Int): Null +// kind Method // relationship is_definition semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/IndexedValue.Null# // relationship is_reference is_implementation semanticdb maven maven/org.scala-lang/scala-library 2.13.13 scala/Function1#apply(). // ____ synthetic_definition semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/IndexedValue.Null. -// documentation ```scala\nobject Null\n``` +// display_name Null +// signature_documentation scala object Null +// kind Object // relationship is_definition semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/IndexedValue.Null# // relationship is_reference semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/IndexedValue.Null.apply(). // ^ definition semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/IndexedValue.Null#``(). -// documentation ```scala\ndef this(index: Int)\n``` +// display_name +// signature_documentation scala def this(index: Int) +// kind Constructor // ^^^^^ definition semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/IndexedValue.Null#index. -// documentation ```scala\nval index: Int\n``` +// display_name index +// signature_documentation scala val index: Int +// kind Method // relationship is_reference is_implementation semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/IndexedValue#index(). // relationship is_reference semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/IndexedValue.Null#``().(index) // relationship is_reference semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/IndexedValue.Null#copy().(index) // relationship is_reference semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/IndexedValue.Null.apply().(index) // _____ synthetic_definition semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/IndexedValue.Null#``().(index) -// documentation ```scala\nindex: Int \n``` +// display_name index +// signature_documentation scala index: Int +// kind Parameter // relationship is_reference semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/IndexedValue.Null#copy().(index) // relationship is_reference is_definition semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/IndexedValue.Null#index. // relationship is_reference semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/IndexedValue.Null.apply().(index) // _____ synthetic_definition semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/IndexedValue.Null.apply().(index) -// documentation ```scala\nindex: Int \n``` +// display_name index +// signature_documentation scala index: Int +// kind Parameter // relationship is_reference semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/IndexedValue.Null#``().(index) // relationship is_reference semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/IndexedValue.Null#copy().(index) // relationship is_reference is_definition semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/IndexedValue.Null#index. // _____ synthetic_definition semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/IndexedValue.Null#copy().(index) -// documentation ```scala\ndefault index: Int \n``` +// display_name index +// signature_documentation scala default index: Int +// kind Parameter // relationship is_reference semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/IndexedValue.Null#``().(index) // relationship is_reference is_definition semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/IndexedValue.Null#index. // relationship is_reference semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/IndexedValue.Null.apply().(index) @@ -598,20 +828,30 @@ object IndexedValue extends Transformer[IndexedValue]{ // ^ reference semanticdb maven jdk 11 java/lang/Object#``(). def value = null // ^^^^^ definition semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/IndexedValue.Null#value(). -// documentation ```scala\ndef value: Null\n``` +// display_name value +// signature_documentation scala def value: Null +// kind Method } def transform[T](j: IndexedValue, f: Visitor[_, T]): T = try{ // ^^^^^^^^^ definition semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/IndexedValue.transform(). -// documentation ```scala\ndef transform(j: IndexedValue, f: Visitor[local16, T[): T\n``` +// display_name transform +// signature_documentation scala def transform(j: IndexedValue, f: Visitor[local16, T[): T +// kind Method // relationship is_reference is_implementation semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/Transformer#transform(). // ^ definition semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/IndexedValue.transform().[T] -// documentation ```scala\nT\n``` +// display_name T +// signature_documentation scala T +// kind TypeParameter // ^ definition semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/IndexedValue.transform().(j) -// documentation ```scala\nj: IndexedValue \n``` +// display_name j +// signature_documentation scala j: IndexedValue +// kind Parameter // ^^^^^^^^^^^^ reference semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/IndexedValue# // ^ definition semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/IndexedValue.transform().(f) -// documentation ```scala\nf: Visitor[local16, T[ \n``` +// display_name f +// signature_documentation scala f: Visitor[local16, T[ +// kind Parameter // ^^^^^^^ reference semanticdb maven maven/com.lihaoyi/upickle-core_2.13 1.4.0 upickle/core/Visitor# // ^ reference semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/IndexedValue.transform().[T] // ^ reference semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/IndexedValue.transform().[T] @@ -621,7 +861,9 @@ object IndexedValue extends Transformer[IndexedValue]{ // ^^^^^^^^^^^^ reference semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/IndexedValue. // ^^^^ reference semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/IndexedValue.Null. // ^ definition local 17 -// documentation ```scala\ni: Int \n``` +// display_name i +// signature_documentation scala i: Int +// kind Variable // ^ reference semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/IndexedValue.transform().(f) // ^^^^^^^^^ reference semanticdb maven maven/com.lihaoyi/upickle-core_2.13 1.4.0 upickle/core/Visitor#visitNull(). // ^ reference local 17 @@ -629,7 +871,9 @@ object IndexedValue extends Transformer[IndexedValue]{ // ^^^^^^^^^^^^ reference semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/IndexedValue. // ^^^^ reference semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/IndexedValue.True. // ^ definition local 18 -// documentation ```scala\ni: Int \n``` +// display_name i +// signature_documentation scala i: Int +// kind Variable // ^ reference semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/IndexedValue.transform().(f) // ^^^^^^^^^ reference semanticdb maven maven/com.lihaoyi/upickle-core_2.13 1.4.0 upickle/core/Visitor#visitTrue(). // ^ reference local 18 @@ -637,7 +881,9 @@ object IndexedValue extends Transformer[IndexedValue]{ // ^^^^^^^^^^^^ reference semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/IndexedValue. // ^^^^^ reference semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/IndexedValue.False. // ^ definition local 19 -// documentation ```scala\ni: Int \n``` +// display_name i +// signature_documentation scala i: Int +// kind Variable // ^ reference semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/IndexedValue.transform().(f) // ^^^^^^^^^^ reference semanticdb maven maven/com.lihaoyi/upickle-core_2.13 1.4.0 upickle/core/Visitor#visitFalse(). // ^ reference local 19 @@ -645,9 +891,13 @@ object IndexedValue extends Transformer[IndexedValue]{ // ^^^^^^^^^^^^ reference semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/IndexedValue. // ^^^ reference semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/IndexedValue.Str. // ^ definition local 20 -// documentation ```scala\ni: Int \n``` +// display_name i +// signature_documentation scala i: Int +// kind Variable // ^ definition local 21 -// documentation ```scala\ns: CharSequence \n``` +// display_name s +// signature_documentation scala s: CharSequence +// kind Variable // ^ reference semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/IndexedValue.transform().(f) // ^^^^^^^^^^^ reference semanticdb maven maven/com.lihaoyi/upickle-core_2.13 1.4.0 upickle/core/Visitor#visitString(). // ^ reference local 21 @@ -656,13 +906,21 @@ object IndexedValue extends Transformer[IndexedValue]{ // ^^^^^^^^^^^^ reference semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/IndexedValue. // ^^^ reference semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/IndexedValue.Num. // ^ definition local 22 -// documentation ```scala\ni: Int \n``` +// display_name i +// signature_documentation scala i: Int +// kind Variable // ^ definition local 23 -// documentation ```scala\ns: CharSequence \n``` +// display_name s +// signature_documentation scala s: CharSequence +// kind Variable // ^ definition local 24 -// documentation ```scala\nd: Int \n``` +// display_name d +// signature_documentation scala d: Int +// kind Variable // ^ definition local 25 -// documentation ```scala\ne: Int \n``` +// display_name e +// signature_documentation scala e: Int +// kind Variable // ^ reference semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/IndexedValue.transform().(f) // ^^^^^^^^^^^^^^^^^^^^^^^ reference semanticdb maven maven/com.lihaoyi/upickle-core_2.13 1.4.0 upickle/core/Visitor#visitFloat64StringParts(). // ^ reference local 23 @@ -673,9 +931,13 @@ object IndexedValue extends Transformer[IndexedValue]{ // ^^^^^^^^^^^^ reference semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/IndexedValue. // ^^^^^^ reference semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/IndexedValue.NumRaw. // ^ definition local 26 -// documentation ```scala\ni: Int \n``` +// display_name i +// signature_documentation scala i: Int +// kind Variable // ^ definition local 27 -// documentation ```scala\nd: Double \n``` +// display_name d +// signature_documentation scala d: Double +// kind Variable // ^ reference semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/IndexedValue.transform().(f) // ^^^^^^^^^^^^ reference semanticdb maven maven/com.lihaoyi/upickle-core_2.13 1.4.0 upickle/core/Visitor#visitFloat64(). // ^ reference local 27 @@ -684,18 +946,26 @@ object IndexedValue extends Transformer[IndexedValue]{ // ^^^^^^^^^^^^ reference semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/IndexedValue. // ^^^ reference semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/IndexedValue.Arr. // ^ definition local 28 -// documentation ```scala\ni: Int \n``` +// display_name i +// signature_documentation scala i: Int +// kind Variable // ^^^^^ definition local 29 -// documentation ```scala\nitems: Seq[IndexedValue] \n``` +// display_name items +// signature_documentation scala items: Seq[IndexedValue] +// kind Variable val ctx = f.visitArray(-1, -1).narrow // ^^^ definition local 30 -// documentation ```scala\nctx: ArrVisitor[Any, T] \n``` +// display_name ctx +// signature_documentation scala ctx: ArrVisitor[Any, T] +// kind Variable // ^ reference semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/IndexedValue.transform().(f) // ^^^^^^^^^^ reference semanticdb maven maven/com.lihaoyi/upickle-core_2.13 1.4.0 upickle/core/Visitor#visitArray(). // ^^^^^^ reference semanticdb maven maven/com.lihaoyi/upickle-core_2.13 1.4.0 upickle/core/ArrVisitor#narrow(). for(item <- items) try ctx.visitValue(transform(item, ctx.subVisitor), item.index) catch reject(item.index) // ^^^^ definition local 31 -// documentation ```scala\nitem: IndexedValue \n``` +// display_name item +// signature_documentation scala item: IndexedValue +// kind Parameter // ^^^^^ reference local 29 // ^^^ reference local 30 // ^^^^^^^^^^ reference semanticdb maven maven/com.lihaoyi/upickle-core_2.13 1.4.0 upickle/core/ObjArrVisitor#visitValue(). @@ -716,24 +986,36 @@ object IndexedValue extends Transformer[IndexedValue]{ // ^^^^^^^^^^^^ reference semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/IndexedValue. // ^^^ reference semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/IndexedValue.Obj. // ^ definition local 34 -// documentation ```scala\ni: Int \n``` +// display_name i +// signature_documentation scala i: Int +// kind Variable // ^^^^^ definition local 35 -// documentation ```scala\nitems: Seq[(CharSequence, IndexedValue)] \n``` +// display_name items +// signature_documentation scala items: Seq[(CharSequence, IndexedValue)] +// kind Variable val ctx = f.visitObject(-1, -1).narrow // ^^^ definition local 36 -// documentation ```scala\nctx: ObjVisitor[Any, T] \n``` +// display_name ctx +// signature_documentation scala ctx: ObjVisitor[Any, T] +// kind Variable // ^ reference semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/IndexedValue.transform().(f) // ^^^^^^^^^^^ reference semanticdb maven maven/com.lihaoyi/upickle-core_2.13 1.4.0 upickle/core/Visitor#visitObject(). // ^^^^^^ reference semanticdb maven maven/com.lihaoyi/upickle-core_2.13 1.4.0 upickle/core/ObjVisitor#narrow(). for((k, item) <- items) { // ^ definition local 37 -// documentation ```scala\nk: CharSequence \n``` +// display_name k +// signature_documentation scala k: CharSequence +// kind Variable // ^^^^ definition local 38 -// documentation ```scala\nitem: IndexedValue \n``` +// display_name item +// signature_documentation scala item: IndexedValue +// kind Variable // ^^^^^ reference local 35 val keyVisitor = try ctx.visitKey(i) catch reject(i) // ^^^^^^^^^^ definition local 40 -// documentation ```scala\nkeyVisitor: Visitor[local41, Any[ \n``` +// display_name keyVisitor +// signature_documentation scala keyVisitor: Visitor[local41, Any[ +// kind Variable // ^^^ reference local 36 // ^^^^^^^^ reference semanticdb maven maven/com.lihaoyi/upickle-core_2.13 1.4.0 upickle/core/ObjVisitor#visitKey(). // ^ reference local 34 @@ -773,23 +1055,33 @@ object IndexedValue extends Transformer[IndexedValue]{ object Builder extends JsVisitor[IndexedValue, IndexedValue]{ // ^^^^^^^ definition semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/IndexedValue.Builder. -// documentation ```scala\nobject Builder\n``` +// display_name Builder +// signature_documentation scala object Builder +// kind Object // ^^^^^^^^^ reference semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/JsVisitor# // ^^^^^^^^^^^^ reference semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/IndexedValue# // ^^^^^^^^^^^^ reference semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/IndexedValue# // ^ reference semanticdb maven jdk 11 java/lang/Object#``(). def visitArray(length: Int, i: Int) = new ArrVisitor[IndexedValue, IndexedValue.Arr] { // ^^^^^^^^^^ definition semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/IndexedValue.Builder.visitArray(). -// documentation ```scala\ndef visitArray(length: Int, i: Int): { def subVisitor: Builder }\n``` +// display_name visitArray +// signature_documentation scala def visitArray(length: Int, i: Int): { def subVisitor: Builder } +// kind Method // relationship is_reference is_implementation semanticdb maven maven/com.lihaoyi/upickle-core_2.13 1.4.0 upickle/core/Visitor#visitArray(). // ^^^^^^ definition semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/IndexedValue.Builder.visitArray().(length) -// documentation ```scala\nlength: Int \n``` +// display_name length +// signature_documentation scala length: Int +// kind Parameter // ^^^ reference semanticdb maven maven/org.scala-lang/scala-library 2.13.13 scala/Int# // ^ definition semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/IndexedValue.Builder.visitArray().(i) -// documentation ```scala\ni: Int \n``` +// display_name i +// signature_documentation scala i: Int +// kind Parameter // ^^^ reference semanticdb maven maven/org.scala-lang/scala-library 2.13.13 scala/Int# // ^ definition local 49 -// documentation ```scala\nfinal class $anon\n``` +// display_name $anon +// signature_documentation scala final class $anon +// kind Class // ^^^^^^^^^^ reference semanticdb maven maven/com.lihaoyi/upickle-core_2.13 1.4.0 upickle/core/ArrVisitor# // ^^^^^^^^^^^^ reference semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/IndexedValue# // ^^^^^^^^^^^^ reference semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/IndexedValue. @@ -797,25 +1089,35 @@ object IndexedValue extends Transformer[IndexedValue]{ // ^ reference semanticdb maven jdk 11 java/lang/Object#``(). val out = mutable.Buffer.empty[IndexedValue] // ^^^ definition local 50 -// documentation ```scala\nprivate val out: Buffer[IndexedValue]\n``` +// display_name out +// signature_documentation scala private val out: Buffer[IndexedValue] +// kind Method // ^^^^^^^ reference semanticdb maven . . scala/collection/mutable/ // ^^^^^^ reference semanticdb maven maven/org.scala-lang/scala-library 2.13.13 scala/collection/mutable/Buffer. // ^^^^^ reference semanticdb maven maven/org.scala-lang/scala-library 2.13.13 scala/collection/SeqFactory.Delegate#empty(). // ^^^^^^^^^^^^ reference semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/IndexedValue# def subVisitor = Builder // ^^^^^^^^^^ definition local 48 -// documentation ```scala\ndef subVisitor: Builder\n``` +// display_name subVisitor +// signature_documentation scala def subVisitor: Builder +// kind Method // relationship is_reference is_implementation semanticdb maven maven/com.lihaoyi/upickle-core_2.13 1.4.0 upickle/core/ObjArrVisitor#subVisitor(). // ^^^^^^^ reference semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/IndexedValue.Builder. def visitValue(v: IndexedValue, index: Int): Unit = { // ^^^^^^^^^^ definition local 51 -// documentation ```scala\ndef visitValue(v: IndexedValue, index: Int): Unit\n``` +// display_name visitValue +// signature_documentation scala def visitValue(v: IndexedValue, index: Int): Unit +// kind Method // relationship is_reference is_implementation semanticdb maven maven/com.lihaoyi/upickle-core_2.13 1.4.0 upickle/core/ObjArrVisitor#visitValue(). // ^ definition local 53 -// documentation ```scala\nv: IndexedValue \n``` +// display_name v +// signature_documentation scala v: IndexedValue +// kind Parameter // ^^^^^^^^^^^^ reference semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/IndexedValue# // ^^^^^ definition local 54 -// documentation ```scala\nindex: Int \n``` +// display_name index +// signature_documentation scala index: Int +// kind Parameter // ^^^ reference semanticdb maven maven/org.scala-lang/scala-library 2.13.13 scala/Int# // ^^^^ reference semanticdb maven maven/org.scala-lang/scala-library 2.13.13 scala/Unit# out.append(v) @@ -825,10 +1127,14 @@ object IndexedValue extends Transformer[IndexedValue]{ } def visitEnd(index: Int): IndexedValue.Arr = IndexedValue.Arr(i, out.toSeq:_*) // ^^^^^^^^ definition local 52 -// documentation ```scala\ndef visitEnd(index: Int): Arr\n``` +// display_name visitEnd +// signature_documentation scala def visitEnd(index: Int): Arr +// kind Method // relationship is_reference is_implementation semanticdb maven maven/com.lihaoyi/upickle-core_2.13 1.4.0 upickle/core/ObjArrVisitor#visitEnd(). // ^^^^^ definition local 55 -// documentation ```scala\nindex: Int \n``` +// display_name index +// signature_documentation scala index: Int +// kind Parameter // ^^^ reference semanticdb maven maven/org.scala-lang/scala-library 2.13.13 scala/Int# // ^^^^^^^^^^^^ reference semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/IndexedValue. // ^^^ reference semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/IndexedValue.Arr# @@ -841,16 +1147,24 @@ object IndexedValue extends Transformer[IndexedValue]{ def visitObject(length: Int, i: Int) = new ObjVisitor[IndexedValue, IndexedValue.Obj] { // ^^^^^^^^^^^ definition semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/IndexedValue.Builder.visitObject(). -// documentation ```scala\ndef visitObject(length: Int, i: Int): { def subVisitor: Builder; def visitKey(index: Int): Builder }\n``` +// display_name visitObject +// signature_documentation scala def visitObject(length: Int, i: Int): { def subVisitor: Builder; def visitKey(index: Int): Builder } +// kind Method // relationship is_reference is_implementation semanticdb maven maven/com.lihaoyi/upickle-core_2.13 1.4.0 upickle/core/Visitor#visitObject(). // ^^^^^^ definition semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/IndexedValue.Builder.visitObject().(length) -// documentation ```scala\nlength: Int \n``` +// display_name length +// signature_documentation scala length: Int +// kind Parameter // ^^^ reference semanticdb maven maven/org.scala-lang/scala-library 2.13.13 scala/Int# // ^ definition semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/IndexedValue.Builder.visitObject().(i) -// documentation ```scala\ni: Int \n``` +// display_name i +// signature_documentation scala i: Int +// kind Parameter // ^^^ reference semanticdb maven maven/org.scala-lang/scala-library 2.13.13 scala/Int# // ^ definition local 59 -// documentation ```scala\nfinal class $anon\n``` +// display_name $anon +// signature_documentation scala final class $anon +// kind Class // ^^^^^^^^^^ reference semanticdb maven maven/com.lihaoyi/upickle-core_2.13 1.4.0 upickle/core/ObjVisitor# // ^^^^^^^^^^^^ reference semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/IndexedValue# // ^^^^^^^^^^^^ reference semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/IndexedValue. @@ -858,7 +1172,9 @@ object IndexedValue extends Transformer[IndexedValue]{ // ^ reference semanticdb maven jdk 11 java/lang/Object#``(). val out = mutable.Buffer.empty[(String, IndexedValue)] // ^^^ definition local 60 -// documentation ```scala\nprivate val out: Buffer[(String, IndexedValue)]\n``` +// display_name out +// signature_documentation scala private val out: Buffer[(String, IndexedValue)] +// kind Method // ^^^^^^^ reference semanticdb maven . . scala/collection/mutable/ // ^^^^^^ reference semanticdb maven maven/org.scala-lang/scala-library 2.13.13 scala/collection/mutable/Buffer. // ^^^^^ reference semanticdb maven maven/org.scala-lang/scala-library 2.13.13 scala/collection/SeqFactory.Delegate#empty(). @@ -866,28 +1182,40 @@ object IndexedValue extends Transformer[IndexedValue]{ // ^^^^^^^^^^^^ reference semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/IndexedValue# var currentKey: String = _ // ^^^^^^^^^^ definition local 61 -// documentation ```scala\nprivate var currentKey: String\n``` +// display_name currentKey +// signature_documentation scala private var currentKey: String +// kind Method // ^^^^^^ reference semanticdb maven maven/org.scala-lang/scala-library 2.13.13 scala/Predef.String# def subVisitor = Builder // ^^^^^^^^^^ definition local 56 -// documentation ```scala\ndef subVisitor: Builder\n``` +// display_name subVisitor +// signature_documentation scala def subVisitor: Builder +// kind Method // relationship is_reference is_implementation semanticdb maven maven/com.lihaoyi/upickle-core_2.13 1.4.0 upickle/core/ObjArrVisitor#subVisitor(). // ^^^^^^^ reference semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/IndexedValue.Builder. def visitKey(index: Int) = IndexedValue.Builder // ^^^^^^^^ definition local 57 -// documentation ```scala\ndef visitKey(index: Int): Builder\n``` +// display_name visitKey +// signature_documentation scala def visitKey(index: Int): Builder +// kind Method // relationship is_reference is_implementation semanticdb maven maven/com.lihaoyi/upickle-core_2.13 1.4.0 upickle/core/ObjVisitor#visitKey(). // ^^^^^ definition local 58 -// documentation ```scala\nindex: Int \n``` +// display_name index +// signature_documentation scala index: Int +// kind Parameter // ^^^ reference semanticdb maven maven/org.scala-lang/scala-library 2.13.13 scala/Int# // ^^^^^^^^^^^^ reference semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/IndexedValue. // ^^^^^^^ reference semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/IndexedValue.Builder. def visitKeyValue(s: Any): Unit = currentKey = s.asInstanceOf[IndexedValue.Str].value0.toString // ^^^^^^^^^^^^^ definition local 63 -// documentation ```scala\ndef visitKeyValue(s: Any): Unit\n``` +// display_name visitKeyValue +// signature_documentation scala def visitKeyValue(s: Any): Unit +// kind Method // relationship is_reference is_implementation semanticdb maven maven/com.lihaoyi/upickle-core_2.13 1.4.0 upickle/core/ObjVisitor#visitKeyValue(). // ^ definition local 67 -// documentation ```scala\ns: Any \n``` +// display_name s +// signature_documentation scala s: Any +// kind Parameter // ^^^ reference semanticdb maven . . scala/Any# // ^^^^ reference semanticdb maven maven/org.scala-lang/scala-library 2.13.13 scala/Unit# // ^^^^^^^^^^ reference local 62 @@ -899,13 +1227,19 @@ object IndexedValue extends Transformer[IndexedValue]{ // ^^^^^^^^ reference semanticdb maven jdk 11 java/lang/Object#toString(). def visitValue(v: IndexedValue, index: Int): Unit = { // ^^^^^^^^^^ definition local 64 -// documentation ```scala\ndef visitValue(v: IndexedValue, index: Int): Unit\n``` +// display_name visitValue +// signature_documentation scala def visitValue(v: IndexedValue, index: Int): Unit +// kind Method // relationship is_reference is_implementation semanticdb maven maven/com.lihaoyi/upickle-core_2.13 1.4.0 upickle/core/ObjArrVisitor#visitValue(). // ^ definition local 68 -// documentation ```scala\nv: IndexedValue \n``` +// display_name v +// signature_documentation scala v: IndexedValue +// kind Parameter // ^^^^^^^^^^^^ reference semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/IndexedValue# // ^^^^^ definition local 69 -// documentation ```scala\nindex: Int \n``` +// display_name index +// signature_documentation scala index: Int +// kind Parameter // ^^^ reference semanticdb maven maven/org.scala-lang/scala-library 2.13.13 scala/Int# // ^^^^ reference semanticdb maven maven/org.scala-lang/scala-library 2.13.13 scala/Unit# out.append((currentKey, v)) @@ -916,10 +1250,14 @@ object IndexedValue extends Transformer[IndexedValue]{ } def visitEnd(index: Int): IndexedValue.Obj = IndexedValue.Obj(i, out.toSeq:_*) // ^^^^^^^^ definition local 65 -// documentation ```scala\ndef visitEnd(index: Int): Obj\n``` +// display_name visitEnd +// signature_documentation scala def visitEnd(index: Int): Obj +// kind Method // relationship is_reference is_implementation semanticdb maven maven/com.lihaoyi/upickle-core_2.13 1.4.0 upickle/core/ObjArrVisitor#visitEnd(). // ^^^^^ definition local 70 -// documentation ```scala\nindex: Int \n``` +// display_name index +// signature_documentation scala index: Int +// kind Parameter // ^^^ reference semanticdb maven maven/org.scala-lang/scala-library 2.13.13 scala/Int# // ^^^^^^^^^^^^ reference semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/IndexedValue. // ^^^ reference semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/IndexedValue.Obj# @@ -932,10 +1270,14 @@ object IndexedValue extends Transformer[IndexedValue]{ def visitNull(i: Int) = IndexedValue.Null(i) // ^^^^^^^^^ definition semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/IndexedValue.Builder.visitNull(). -// documentation ```scala\ndef visitNull(i: Int): Null\n``` +// display_name visitNull +// signature_documentation scala def visitNull(i: Int): Null +// kind Method // relationship is_reference is_implementation semanticdb maven maven/com.lihaoyi/upickle-core_2.13 1.4.0 upickle/core/Visitor#visitNull(). // ^ definition semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/IndexedValue.Builder.visitNull().(i) -// documentation ```scala\ni: Int \n``` +// display_name i +// signature_documentation scala i: Int +// kind Parameter // ^^^ reference semanticdb maven maven/org.scala-lang/scala-library 2.13.13 scala/Int# // ^^^^^^^^^^^^ reference semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/IndexedValue. // ^^^^ reference semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/IndexedValue.Null. @@ -943,10 +1285,14 @@ object IndexedValue extends Transformer[IndexedValue]{ def visitFalse(i: Int) = IndexedValue.False(i) // ^^^^^^^^^^ definition semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/IndexedValue.Builder.visitFalse(). -// documentation ```scala\ndef visitFalse(i: Int): False\n``` +// display_name visitFalse +// signature_documentation scala def visitFalse(i: Int): False +// kind Method // relationship is_reference is_implementation semanticdb maven maven/com.lihaoyi/upickle-core_2.13 1.4.0 upickle/core/Visitor#visitFalse(). // ^ definition semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/IndexedValue.Builder.visitFalse().(i) -// documentation ```scala\ni: Int \n``` +// display_name i +// signature_documentation scala i: Int +// kind Parameter // ^^^ reference semanticdb maven maven/org.scala-lang/scala-library 2.13.13 scala/Int# // ^^^^^^^^^^^^ reference semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/IndexedValue. // ^^^^^ reference semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/IndexedValue.False. @@ -954,10 +1300,14 @@ object IndexedValue extends Transformer[IndexedValue]{ def visitTrue(i: Int) = IndexedValue.True(i) // ^^^^^^^^^ definition semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/IndexedValue.Builder.visitTrue(). -// documentation ```scala\ndef visitTrue(i: Int): True\n``` +// display_name visitTrue +// signature_documentation scala def visitTrue(i: Int): True +// kind Method // relationship is_reference is_implementation semanticdb maven maven/com.lihaoyi/upickle-core_2.13 1.4.0 upickle/core/Visitor#visitTrue(). // ^ definition semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/IndexedValue.Builder.visitTrue().(i) -// documentation ```scala\ni: Int \n``` +// display_name i +// signature_documentation scala i: Int +// kind Parameter // ^^^ reference semanticdb maven maven/org.scala-lang/scala-library 2.13.13 scala/Int# // ^^^^^^^^^^^^ reference semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/IndexedValue. // ^^^^ reference semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/IndexedValue.True. @@ -965,19 +1315,29 @@ object IndexedValue extends Transformer[IndexedValue]{ def visitFloat64StringParts(s: CharSequence, decIndex: Int, expIndex: Int, i: Int) = IndexedValue.Num(i, s, decIndex, expIndex) // ^^^^^^^^^^^^^^^^^^^^^^^ definition semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/IndexedValue.Builder.visitFloat64StringParts(). -// documentation ```scala\ndef visitFloat64StringParts(s: CharSequence, decIndex: Int, expIndex: Int, i: Int): Num\n``` +// display_name visitFloat64StringParts +// signature_documentation scala def visitFloat64StringParts(s: CharSequence, decIndex: Int, expIndex: Int, i: Int): Num +// kind Method // relationship is_reference is_implementation semanticdb maven maven/com.lihaoyi/upickle-core_2.13 1.4.0 upickle/core/Visitor#visitFloat64StringParts(). // ^ definition semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/IndexedValue.Builder.visitFloat64StringParts().(s) -// documentation ```scala\ns: CharSequence \n``` +// display_name s +// signature_documentation scala s: CharSequence +// kind Parameter // ^^^^^^^^^^^^ reference semanticdb maven jdk 11 java/lang/CharSequence# // ^^^^^^^^ definition semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/IndexedValue.Builder.visitFloat64StringParts().(decIndex) -// documentation ```scala\ndecIndex: Int \n``` +// display_name decIndex +// signature_documentation scala decIndex: Int +// kind Parameter // ^^^ reference semanticdb maven maven/org.scala-lang/scala-library 2.13.13 scala/Int# // ^^^^^^^^ definition semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/IndexedValue.Builder.visitFloat64StringParts().(expIndex) -// documentation ```scala\nexpIndex: Int \n``` +// display_name expIndex +// signature_documentation scala expIndex: Int +// kind Parameter // ^^^ reference semanticdb maven maven/org.scala-lang/scala-library 2.13.13 scala/Int# // ^ definition semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/IndexedValue.Builder.visitFloat64StringParts().(i) -// documentation ```scala\ni: Int \n``` +// display_name i +// signature_documentation scala i: Int +// kind Parameter // ^^^ reference semanticdb maven maven/org.scala-lang/scala-library 2.13.13 scala/Int# // ^^^^^^^^^^^^ reference semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/IndexedValue. // ^^^ reference semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/IndexedValue.Num. @@ -987,14 +1347,20 @@ object IndexedValue extends Transformer[IndexedValue]{ // ^^^^^^^^ reference semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/IndexedValue.Builder.visitFloat64StringParts().(expIndex) override def visitFloat64(d: Double, i: Int) = IndexedValue.NumRaw(i, d) // ^^^^^^^^^^^^ definition semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/IndexedValue.Builder.visitFloat64(). -// documentation ```scala\ndef visitFloat64(d: Double, i: Int): NumRaw\n``` +// display_name visitFloat64 +// signature_documentation scala def visitFloat64(d: Double, i: Int): NumRaw +// kind Method // relationship is_reference is_implementation semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/JsVisitor#visitFloat64(). // relationship is_reference is_implementation semanticdb maven maven/com.lihaoyi/upickle-core_2.13 1.4.0 upickle/core/Visitor#visitFloat64(). // ^ definition semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/IndexedValue.Builder.visitFloat64().(d) -// documentation ```scala\nd: Double \n``` +// display_name d +// signature_documentation scala d: Double +// kind Parameter // ^^^^^^ reference semanticdb maven maven/org.scala-lang/scala-library 2.13.13 scala/Double# // ^ definition semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/IndexedValue.Builder.visitFloat64().(i) -// documentation ```scala\ni: Int \n``` +// display_name i +// signature_documentation scala i: Int +// kind Parameter // ^^^ reference semanticdb maven maven/org.scala-lang/scala-library 2.13.13 scala/Int# // ^^^^^^^^^^^^ reference semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/IndexedValue. // ^^^^^^ reference semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/IndexedValue.NumRaw. @@ -1003,13 +1369,19 @@ object IndexedValue extends Transformer[IndexedValue]{ def visitString(s: CharSequence, i: Int) = IndexedValue.Str(i, s) // ^^^^^^^^^^^ definition semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/IndexedValue.Builder.visitString(). -// documentation ```scala\ndef visitString(s: CharSequence, i: Int): Str\n``` +// display_name visitString +// signature_documentation scala def visitString(s: CharSequence, i: Int): Str +// kind Method // relationship is_reference is_implementation semanticdb maven maven/com.lihaoyi/upickle-core_2.13 1.4.0 upickle/core/Visitor#visitString(). // ^ definition semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/IndexedValue.Builder.visitString().(s) -// documentation ```scala\ns: CharSequence \n``` +// display_name s +// signature_documentation scala s: CharSequence +// kind Parameter // ^^^^^^^^^^^^ reference semanticdb maven jdk 11 java/lang/CharSequence# // ^ definition semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/IndexedValue.Builder.visitString().(i) -// documentation ```scala\ni: Int \n``` +// display_name i +// signature_documentation scala i: Int +// kind Parameter // ^^^ reference semanticdb maven maven/org.scala-lang/scala-library 2.13.13 scala/Int# // ^^^^^^^^^^^^ reference semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/IndexedValue. // ^^^ reference semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/IndexedValue.Str. diff --git a/tests/snapshots/src/main/generated/ujson/InputStreamParser.scala b/tests/snapshots/src/main/generated/ujson/InputStreamParser.scala index 255d6b9f9..9e4c6b354 100644 --- a/tests/snapshots/src/main/generated/ujson/InputStreamParser.scala +++ b/tests/snapshots/src/main/generated/ujson/InputStreamParser.scala @@ -30,39 +30,57 @@ import upickle.core.{BufferingInputStreamParser, ObjArrVisitor, Visitor} */ final class InputStreamParser[J](val inputStream: java.io.InputStream, // ^^^^^^^^^^^^^^^^^ definition semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/InputStreamParser# -// documentation ```scala\nfinal class InputStreamParser[J]\n``` +// display_name InputStreamParser +// signature_documentation scala final class InputStreamParser[J] +// kind Class // ^ definition semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/InputStreamParser#[J] -// documentation ```scala\nJ\n``` +// display_name J +// signature_documentation scala J +// kind TypeParameter // ^ definition semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/InputStreamParser#``(). -// documentation ```scala\ndef this(inputStream: InputStream, minBufferStartSize: Int, maxBufferStartSize: Int)\n``` +// display_name +// signature_documentation scala def this(inputStream: InputStream, minBufferStartSize: Int, maxBufferStartSize: Int) +// kind Constructor // ^^^^^^^^^^^ definition semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/InputStreamParser#inputStream. -// documentation ```scala\nval inputStream: InputStream\n``` +// display_name inputStream +// signature_documentation scala val inputStream: InputStream +// kind Method // relationship is_reference semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/InputStreamParser#``().(inputStream) // relationship is_reference is_implementation semanticdb maven maven/com.lihaoyi/upickle-core_2.13 1.4.0 upickle/core/BufferingInputStreamParser#inputStream(). // ___________ synthetic_definition semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/InputStreamParser#``().(inputStream) -// documentation ```scala\ninputStream: InputStream \n``` +// display_name inputStream +// signature_documentation scala inputStream: InputStream +// kind Parameter // relationship is_reference is_definition semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/InputStreamParser#inputStream. // ^^^^ reference semanticdb maven . . java/ // ^^ reference semanticdb maven . . java/io/ // ^^^^^^^^^^^ reference semanticdb maven jdk 11 java/io/InputStream# val minBufferStartSize: Int = BufferingInputStreamParser.defaultMinBufferStartSize, // ^^^^^^^^^^^^^^^^^^ definition semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/InputStreamParser#minBufferStartSize. -// documentation ```scala\nval minBufferStartSize: Int\n``` +// display_name minBufferStartSize +// signature_documentation scala val minBufferStartSize: Int +// kind Method // relationship is_reference semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/InputStreamParser#``().(minBufferStartSize) // relationship is_reference is_implementation semanticdb maven maven/com.lihaoyi/upickle-core_2.13 1.4.0 upickle/core/BufferingInputStreamParser#minBufferStartSize(). // __________________ synthetic_definition semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/InputStreamParser#``().(minBufferStartSize) -// documentation ```scala\ndefault minBufferStartSize: Int \n``` +// display_name minBufferStartSize +// signature_documentation scala default minBufferStartSize: Int +// kind Parameter // relationship is_reference is_definition semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/InputStreamParser#minBufferStartSize. // ^^^ reference semanticdb maven maven/org.scala-lang/scala-library 2.13.13 scala/Int# // ^^^^^^^^^^^^^^^^^^^^^^^^^^ reference semanticdb maven maven/com.lihaoyi/upickle-core_2.13 1.4.0 upickle/core/BufferingInputStreamParser. // ^^^^^^^^^^^^^^^^^^^^^^^^^ reference semanticdb maven maven/com.lihaoyi/upickle-core_2.13 1.4.0 upickle/core/BufferingInputStreamParser.defaultMinBufferStartSize. val maxBufferStartSize: Int = BufferingInputStreamParser.defaultMaxBufferStartSize) // ^^^^^^^^^^^^^^^^^^ definition semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/InputStreamParser#maxBufferStartSize. -// documentation ```scala\nval maxBufferStartSize: Int\n``` +// display_name maxBufferStartSize +// signature_documentation scala val maxBufferStartSize: Int +// kind Method // relationship is_reference semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/InputStreamParser#``().(maxBufferStartSize) // relationship is_reference is_implementation semanticdb maven maven/com.lihaoyi/upickle-core_2.13 1.4.0 upickle/core/BufferingInputStreamParser#maxBufferStartSize(). // __________________ synthetic_definition semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/InputStreamParser#``().(maxBufferStartSize) -// documentation ```scala\ndefault maxBufferStartSize: Int \n``` +// display_name maxBufferStartSize +// signature_documentation scala default maxBufferStartSize: Int +// kind Parameter // relationship is_reference is_definition semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/InputStreamParser#maxBufferStartSize. // ^^^ reference semanticdb maven maven/org.scala-lang/scala-library 2.13.13 scala/Int# // ^^^^^^^^^^^^^^^^^^^^^^^^^^ reference semanticdb maven maven/com.lihaoyi/upickle-core_2.13 1.4.0 upickle/core/BufferingInputStreamParser. @@ -76,13 +94,17 @@ extends ByteParser[J] with upickle.core.BufferingInputStreamParser{ // ^^^^^^^^^^^^^^^^^^^^^^^^^^ reference semanticdb maven maven/com.lihaoyi/upickle-core_2.13 1.4.0 upickle/core/BufferingInputStreamParser# protected[this] final def close() = {} // ^^^^^ definition semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/InputStreamParser#close(). -// documentation ```scala\nfinal def close(): Unit\n``` +// display_name close +// signature_documentation scala final def close(): Unit +// kind Method // relationship is_reference is_implementation semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/ByteParser#close(). } object InputStreamParser extends Transformer[java.io.InputStream]{ // ^^^^^^^^^^^^^^^^^ definition semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/InputStreamParser. -// documentation ```scala\nobject InputStreamParser\n``` +// display_name InputStreamParser +// signature_documentation scala object InputStreamParser +// kind Object // ^^^^^^^^^^^ reference semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/Transformer# // ^^^^ reference semanticdb maven . . java/ // ^^ reference semanticdb maven . . java/io/ @@ -90,22 +112,32 @@ object InputStreamParser extends Transformer[java.io.InputStream]{ // ^ reference semanticdb maven jdk 11 java/lang/Object#``(). def transform[T](j: java.io.InputStream, f: Visitor[_, T]) = { // ^^^^^^^^^ definition semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/InputStreamParser.transform(). -// documentation ```scala\ndef transform(j: InputStream, f: Visitor[local0, T[): T\n``` +// display_name transform +// signature_documentation scala def transform(j: InputStream, f: Visitor[local0, T[): T +// kind Method // relationship is_reference is_implementation semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/Transformer#transform(). // ^ definition semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/InputStreamParser.transform().[T] -// documentation ```scala\nT\n``` +// display_name T +// signature_documentation scala T +// kind TypeParameter // ^ definition semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/InputStreamParser.transform().(j) -// documentation ```scala\nj: InputStream \n``` +// display_name j +// signature_documentation scala j: InputStream +// kind Parameter // ^^^^ reference semanticdb maven . . java/ // ^^ reference semanticdb maven . . java/io/ // ^^^^^^^^^^^ reference semanticdb maven jdk 11 java/io/InputStream# // ^ definition semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/InputStreamParser.transform().(f) -// documentation ```scala\nf: Visitor[local0, T[ \n``` +// display_name f +// signature_documentation scala f: Visitor[local0, T[ +// kind Parameter // ^^^^^^^ reference semanticdb maven maven/com.lihaoyi/upickle-core_2.13 1.4.0 upickle/core/Visitor# // ^ reference semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/InputStreamParser.transform().[T] val p = new InputStreamParser[T](j) // ^ definition local 1 -// documentation ```scala\np: InputStreamParser[T] \n``` +// display_name p +// signature_documentation scala p: InputStreamParser[T] +// kind Variable // ^^^^^^^^^^^^^^^^^ reference semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/InputStreamParser# // ^ reference semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/InputStreamParser.transform().[T] // ^ reference semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/InputStreamParser#``(). diff --git a/tests/snapshots/src/main/generated/ujson/JsVisitor.scala b/tests/snapshots/src/main/generated/ujson/JsVisitor.scala index 56b4b952d..aff0389d9 100644 --- a/tests/snapshots/src/main/generated/ujson/JsVisitor.scala +++ b/tests/snapshots/src/main/generated/ujson/JsVisitor.scala @@ -15,32 +15,46 @@ import upickle.core.{ArrVisitor, ObjVisitor, Visitor} */ trait JsVisitor[-T, +J] extends Visitor[T, J]{ // ^^^^^^^^^ definition semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/JsVisitor# -// documentation ```scala\ntrait JsVisitor[T, J]\n``` +// display_name JsVisitor +// signature_documentation scala trait JsVisitor[T, J] +// kind Trait // ^ definition semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/JsVisitor#[T] -// documentation ```scala\nT\n``` +// display_name T +// signature_documentation scala T +// kind TypeParameter // ^ definition semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/JsVisitor#[J] -// documentation ```scala\nJ\n``` +// display_name J +// signature_documentation scala J +// kind TypeParameter // ^^^^^^^ reference semanticdb maven maven/com.lihaoyi/upickle-core_2.13 1.4.0 upickle/core/Visitor# // ^ reference semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/JsVisitor#[T] // ^ reference semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/JsVisitor#[J] def visitFloat64(d: Double, index: Int): J = { // ^^^^^^^^^^^^ definition semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/JsVisitor#visitFloat64(). -// documentation ```scala\ndef visitFloat64(d: Double, index: Int): J\n``` +// display_name visitFloat64 +// signature_documentation scala def visitFloat64(d: Double, index: Int): J +// kind Method // relationship is_reference is_implementation semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/BaseByteRenderer#visitFloat64(). // relationship is_reference is_implementation semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/BaseCharRenderer#visitFloat64(). // relationship is_reference is_implementation semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/IndexedValue.Builder.visitFloat64(). // relationship is_reference is_implementation semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/Value.visitFloat64(). // relationship is_reference is_implementation semanticdb maven maven/com.lihaoyi/upickle-core_2.13 1.4.0 upickle/core/Visitor#visitFloat64(). // ^ definition semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/JsVisitor#visitFloat64().(d) -// documentation ```scala\nd: Double \n``` +// display_name d +// signature_documentation scala d: Double +// kind Parameter // ^^^^^^ reference semanticdb maven maven/org.scala-lang/scala-library 2.13.13 scala/Double# // ^^^^^ definition semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/JsVisitor#visitFloat64().(index) -// documentation ```scala\nindex: Int \n``` +// display_name index +// signature_documentation scala index: Int +// kind Parameter // ^^^ reference semanticdb maven maven/org.scala-lang/scala-library 2.13.13 scala/Int# // ^ reference semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/JsVisitor#[J] val i = d.toLong // ^ definition local 0 -// documentation ```scala\ni: Long \n``` +// display_name i +// signature_documentation scala i: Long +// kind Variable // ^ reference semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/JsVisitor#visitFloat64().(d) // ^^^^^^ reference semanticdb maven maven/org.scala-lang/scala-library 2.13.13 scala/Double#toLong(). if(i == d) visitFloat64StringParts(i.toString, -1, -1, index) @@ -61,13 +75,19 @@ trait JsVisitor[-T, +J] extends Visitor[T, J]{ def visitFloat32(d: Float, index: Int): J = visitFloat64(d, index) // ^^^^^^^^^^^^ definition semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/JsVisitor#visitFloat32(). -// documentation ```scala\ndef visitFloat32(d: Float, index: Int): J\n``` +// display_name visitFloat32 +// signature_documentation scala def visitFloat32(d: Float, index: Int): J +// kind Method // relationship is_reference is_implementation semanticdb maven maven/com.lihaoyi/upickle-core_2.13 1.4.0 upickle/core/Visitor#visitFloat32(). // ^ definition semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/JsVisitor#visitFloat32().(d) -// documentation ```scala\nd: Float \n``` +// display_name d +// signature_documentation scala d: Float +// kind Parameter // ^^^^^ reference semanticdb maven maven/org.scala-lang/scala-library 2.13.13 scala/Float# // ^^^^^ definition semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/JsVisitor#visitFloat32().(index) -// documentation ```scala\nindex: Int \n``` +// display_name index +// signature_documentation scala index: Int +// kind Parameter // ^^^ reference semanticdb maven maven/org.scala-lang/scala-library 2.13.13 scala/Int# // ^ reference semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/JsVisitor#[J] // ^^^^^^^^^^^^ reference semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/JsVisitor#visitFloat64(). @@ -75,13 +95,19 @@ trait JsVisitor[-T, +J] extends Visitor[T, J]{ // ^^^^^ reference semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/JsVisitor#visitFloat32().(index) def visitInt32(i: Int, index: Int): J = visitFloat64(i, index) // ^^^^^^^^^^ definition semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/JsVisitor#visitInt32(). -// documentation ```scala\ndef visitInt32(i: Int, index: Int): J\n``` +// display_name visitInt32 +// signature_documentation scala def visitInt32(i: Int, index: Int): J +// kind Method // relationship is_reference is_implementation semanticdb maven maven/com.lihaoyi/upickle-core_2.13 1.4.0 upickle/core/Visitor#visitInt32(). // ^ definition semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/JsVisitor#visitInt32().(i) -// documentation ```scala\ni: Int \n``` +// display_name i +// signature_documentation scala i: Int +// kind Parameter // ^^^ reference semanticdb maven maven/org.scala-lang/scala-library 2.13.13 scala/Int# // ^^^^^ definition semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/JsVisitor#visitInt32().(index) -// documentation ```scala\nindex: Int \n``` +// display_name index +// signature_documentation scala index: Int +// kind Parameter // ^^^ reference semanticdb maven maven/org.scala-lang/scala-library 2.13.13 scala/Int# // ^ reference semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/JsVisitor#[J] // ^^^^^^^^^^^^ reference semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/JsVisitor#visitFloat64(). @@ -89,13 +115,19 @@ trait JsVisitor[-T, +J] extends Visitor[T, J]{ // ^^^^^ reference semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/JsVisitor#visitInt32().(index) def visitInt64(i: Long, index: Int): J = { // ^^^^^^^^^^ definition semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/JsVisitor#visitInt64(). -// documentation ```scala\ndef visitInt64(i: Long, index: Int): J\n``` +// display_name visitInt64 +// signature_documentation scala def visitInt64(i: Long, index: Int): J +// kind Method // relationship is_reference is_implementation semanticdb maven maven/com.lihaoyi/upickle-core_2.13 1.4.0 upickle/core/Visitor#visitInt64(). // ^ definition semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/JsVisitor#visitInt64().(i) -// documentation ```scala\ni: Long \n``` +// display_name i +// signature_documentation scala i: Long +// kind Parameter // ^^^^ reference semanticdb maven maven/org.scala-lang/scala-library 2.13.13 scala/Long# // ^^^^^ definition semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/JsVisitor#visitInt64().(index) -// documentation ```scala\nindex: Int \n``` +// display_name index +// signature_documentation scala index: Int +// kind Parameter // ^^^ reference semanticdb maven maven/org.scala-lang/scala-library 2.13.13 scala/Int# // ^ reference semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/JsVisitor#[J] if (math.abs(i) > math.pow(2, 53) || i == -9223372036854775808L) visitString(i.toString, index) @@ -119,13 +151,19 @@ trait JsVisitor[-T, +J] extends Visitor[T, J]{ } def visitUInt64(i: Long, index: Int): J = { // ^^^^^^^^^^^ definition semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/JsVisitor#visitUInt64(). -// documentation ```scala\ndef visitUInt64(i: Long, index: Int): J\n``` +// display_name visitUInt64 +// signature_documentation scala def visitUInt64(i: Long, index: Int): J +// kind Method // relationship is_reference is_implementation semanticdb maven maven/com.lihaoyi/upickle-core_2.13 1.4.0 upickle/core/Visitor#visitUInt64(). // ^ definition semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/JsVisitor#visitUInt64().(i) -// documentation ```scala\ni: Long \n``` +// display_name i +// signature_documentation scala i: Long +// kind Parameter // ^^^^ reference semanticdb maven maven/org.scala-lang/scala-library 2.13.13 scala/Long# // ^^^^^ definition semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/JsVisitor#visitUInt64().(index) -// documentation ```scala\nindex: Int \n``` +// display_name index +// signature_documentation scala index: Int +// kind Parameter // ^^^ reference semanticdb maven maven/org.scala-lang/scala-library 2.13.13 scala/Int# // ^ reference semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/JsVisitor#[J] if (i > math.pow(2, 53) || i < 0) visitString(java.lang.Long.toUnsignedString(i), index) @@ -151,13 +189,19 @@ trait JsVisitor[-T, +J] extends Visitor[T, J]{ def visitFloat64String(s: String, index: Int): J = { // ^^^^^^^^^^^^^^^^^^ definition semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/JsVisitor#visitFloat64String(). -// documentation ```scala\ndef visitFloat64String(s: String, index: Int): J\n``` +// display_name visitFloat64String +// signature_documentation scala def visitFloat64String(s: String, index: Int): J +// kind Method // relationship is_reference is_implementation semanticdb maven maven/com.lihaoyi/upickle-core_2.13 1.4.0 upickle/core/Visitor#visitFloat64String(). // ^ definition semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/JsVisitor#visitFloat64String().(s) -// documentation ```scala\ns: String \n``` +// display_name s +// signature_documentation scala s: String +// kind Parameter // ^^^^^^ reference semanticdb maven maven/org.scala-lang/scala-library 2.13.13 scala/Predef.String# // ^^^^^ definition semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/JsVisitor#visitFloat64String().(index) -// documentation ```scala\nindex: Int \n``` +// display_name index +// signature_documentation scala index: Int +// kind Parameter // ^^^ reference semanticdb maven maven/org.scala-lang/scala-library 2.13.13 scala/Int# // ^ reference semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/JsVisitor#[J] visitFloat64StringParts( @@ -175,7 +219,9 @@ trait JsVisitor[-T, +J] extends Visitor[T, J]{ // ^^^^^^^ reference semanticdb maven jdk 11 java/lang/String#indexOf(). case n => n // ^ definition local 1 -// documentation ```scala\nn: Int \n``` +// display_name n +// signature_documentation scala n: Int +// kind Variable // ^ reference local 1 }, -1 @@ -184,31 +230,45 @@ trait JsVisitor[-T, +J] extends Visitor[T, J]{ def visitBinary(bytes: Array[Byte], offset: Int, len: Int, index: Int): J = { // ^^^^^^^^^^^ definition semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/JsVisitor#visitBinary(). -// documentation ```scala\ndef visitBinary(bytes: Array[Byte], offset: Int, len: Int, index: Int): J\n``` +// display_name visitBinary +// signature_documentation scala def visitBinary(bytes: Array[Byte], offset: Int, len: Int, index: Int): J +// kind Method // relationship is_reference is_implementation semanticdb maven maven/com.lihaoyi/upickle-core_2.13 1.4.0 upickle/core/Visitor#visitBinary(). // ^^^^^ definition semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/JsVisitor#visitBinary().(bytes) -// documentation ```scala\nbytes: Array[Byte] \n``` +// display_name bytes +// signature_documentation scala bytes: Array[Byte] +// kind Parameter // ^^^^^ reference semanticdb maven maven/org.scala-lang/scala-library 2.13.13 scala/Array# // ^^^^ reference semanticdb maven maven/org.scala-lang/scala-library 2.13.13 scala/Byte# // ^^^^^^ definition semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/JsVisitor#visitBinary().(offset) -// documentation ```scala\noffset: Int \n``` +// display_name offset +// signature_documentation scala offset: Int +// kind Parameter // ^^^ reference semanticdb maven maven/org.scala-lang/scala-library 2.13.13 scala/Int# // ^^^ definition semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/JsVisitor#visitBinary().(len) -// documentation ```scala\nlen: Int \n``` +// display_name len +// signature_documentation scala len: Int +// kind Parameter // ^^^ reference semanticdb maven maven/org.scala-lang/scala-library 2.13.13 scala/Int# // ^^^^^ definition semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/JsVisitor#visitBinary().(index) -// documentation ```scala\nindex: Int \n``` +// display_name index +// signature_documentation scala index: Int +// kind Parameter // ^^^ reference semanticdb maven maven/org.scala-lang/scala-library 2.13.13 scala/Int# // ^ reference semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/JsVisitor#[J] val arr = visitArray(len, index) // ^^^ definition local 2 -// documentation ```scala\narr: ArrVisitor[T, J] \n``` +// display_name arr +// signature_documentation scala arr: ArrVisitor[T, J] +// kind Variable // ^^^^^^^^^^ reference semanticdb maven maven/com.lihaoyi/upickle-core_2.13 1.4.0 upickle/core/Visitor#visitArray(). // ^^^ reference semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/JsVisitor#visitBinary().(len) // ^^^^^ reference semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/JsVisitor#visitBinary().(index) var i = 0 // ^ definition local 3 -// documentation ```scala\ni: Int \n``` +// display_name i +// signature_documentation scala i: Int +// kind Variable while (i < len){ // ^ reference local 3 // ^ reference semanticdb maven maven/org.scala-lang/scala-library 2.13.13 scala/Int#`<`(+3). @@ -239,15 +299,23 @@ trait JsVisitor[-T, +J] extends Visitor[T, J]{ def visitFloat64StringParts(s: CharSequence, decIndex: Int, expIndex: Int): J = visitFloat64StringParts(s, decIndex, expIndex, -1) // ^^^^^^^^^^^^^^^^^^^^^^^ definition semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/JsVisitor#visitFloat64StringParts(). -// documentation ```scala\ndef visitFloat64StringParts(s: CharSequence, decIndex: Int, expIndex: Int): J\n``` +// display_name visitFloat64StringParts +// signature_documentation scala def visitFloat64StringParts(s: CharSequence, decIndex: Int, expIndex: Int): J +// kind Method // ^ definition semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/JsVisitor#visitFloat64StringParts().(s) -// documentation ```scala\ns: CharSequence \n``` +// display_name s +// signature_documentation scala s: CharSequence +// kind Parameter // ^^^^^^^^^^^^ reference semanticdb maven jdk 11 java/lang/CharSequence# // ^^^^^^^^ definition semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/JsVisitor#visitFloat64StringParts().(decIndex) -// documentation ```scala\ndecIndex: Int \n``` +// display_name decIndex +// signature_documentation scala decIndex: Int +// kind Parameter // ^^^ reference semanticdb maven maven/org.scala-lang/scala-library 2.13.13 scala/Int# // ^^^^^^^^ definition semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/JsVisitor#visitFloat64StringParts().(expIndex) -// documentation ```scala\nexpIndex: Int \n``` +// display_name expIndex +// signature_documentation scala expIndex: Int +// kind Parameter // ^^^ reference semanticdb maven maven/org.scala-lang/scala-library 2.13.13 scala/Int# // ^ reference semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/JsVisitor#[J] // ^^^^^^^^^^^^^^^^^^^^^^^ reference semanticdb maven maven/com.lihaoyi/upickle-core_2.13 1.4.0 upickle/core/Visitor#visitFloat64StringParts(). @@ -257,28 +325,42 @@ trait JsVisitor[-T, +J] extends Visitor[T, J]{ def visitExt(tag: Byte, bytes: Array[Byte], offset: Int, len: Int, index: Int): J = { // ^^^^^^^^ definition semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/JsVisitor#visitExt(). -// documentation ```scala\ndef visitExt(tag: Byte, bytes: Array[Byte], offset: Int, len: Int, index: Int): J\n``` +// display_name visitExt +// signature_documentation scala def visitExt(tag: Byte, bytes: Array[Byte], offset: Int, len: Int, index: Int): J +// kind Method // relationship is_reference is_implementation semanticdb maven maven/com.lihaoyi/upickle-core_2.13 1.4.0 upickle/core/Visitor#visitExt(). // ^^^ definition semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/JsVisitor#visitExt().(tag) -// documentation ```scala\ntag: Byte \n``` +// display_name tag +// signature_documentation scala tag: Byte +// kind Parameter // ^^^^ reference semanticdb maven maven/org.scala-lang/scala-library 2.13.13 scala/Byte# // ^^^^^ definition semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/JsVisitor#visitExt().(bytes) -// documentation ```scala\nbytes: Array[Byte] \n``` +// display_name bytes +// signature_documentation scala bytes: Array[Byte] +// kind Parameter // ^^^^^ reference semanticdb maven maven/org.scala-lang/scala-library 2.13.13 scala/Array# // ^^^^ reference semanticdb maven maven/org.scala-lang/scala-library 2.13.13 scala/Byte# // ^^^^^^ definition semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/JsVisitor#visitExt().(offset) -// documentation ```scala\noffset: Int \n``` +// display_name offset +// signature_documentation scala offset: Int +// kind Parameter // ^^^ reference semanticdb maven maven/org.scala-lang/scala-library 2.13.13 scala/Int# // ^^^ definition semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/JsVisitor#visitExt().(len) -// documentation ```scala\nlen: Int \n``` +// display_name len +// signature_documentation scala len: Int +// kind Parameter // ^^^ reference semanticdb maven maven/org.scala-lang/scala-library 2.13.13 scala/Int# // ^^^^^ definition semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/JsVisitor#visitExt().(index) -// documentation ```scala\nindex: Int \n``` +// display_name index +// signature_documentation scala index: Int +// kind Parameter // ^^^ reference semanticdb maven maven/org.scala-lang/scala-library 2.13.13 scala/Int# // ^ reference semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/JsVisitor#[J] val arr = visitArray(-1, index) // ^^^ definition local 5 -// documentation ```scala\narr: ArrVisitor[T, J] \n``` +// display_name arr +// signature_documentation scala arr: ArrVisitor[T, J] +// kind Variable // ^^^^^^^^^^ reference semanticdb maven maven/com.lihaoyi/upickle-core_2.13 1.4.0 upickle/core/Visitor#visitArray(). // ^^^^^ reference semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/JsVisitor#visitExt().(index) arr.visitValue(visitFloat64(tag, index).asInstanceOf[T], -1) @@ -306,13 +388,19 @@ trait JsVisitor[-T, +J] extends Visitor[T, J]{ def visitChar(s: Char, index: Int) = visitString(s.toString, index) // ^^^^^^^^^ definition semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/JsVisitor#visitChar(). -// documentation ```scala\ndef visitChar(s: Char, index: Int): J\n``` +// display_name visitChar +// signature_documentation scala def visitChar(s: Char, index: Int): J +// kind Method // relationship is_reference is_implementation semanticdb maven maven/com.lihaoyi/upickle-core_2.13 1.4.0 upickle/core/Visitor#visitChar(). // ^ definition semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/JsVisitor#visitChar().(s) -// documentation ```scala\ns: Char \n``` +// display_name s +// signature_documentation scala s: Char +// kind Parameter // ^^^^ reference semanticdb maven maven/org.scala-lang/scala-library 2.13.13 scala/Char# // ^^^^^ definition semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/JsVisitor#visitChar().(index) -// documentation ```scala\nindex: Int \n``` +// display_name index +// signature_documentation scala index: Int +// kind Parameter // ^^^ reference semanticdb maven maven/org.scala-lang/scala-library 2.13.13 scala/Int# // ^^^^^^^^^^^ reference semanticdb maven maven/com.lihaoyi/upickle-core_2.13 1.4.0 upickle/core/Visitor#visitString(). // ^ reference semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/JsVisitor#visitChar().(s) diff --git a/tests/snapshots/src/main/generated/ujson/Readable.scala b/tests/snapshots/src/main/generated/ujson/Readable.scala index 74b4d4b59..588cae043 100644 --- a/tests/snapshots/src/main/generated/ujson/Readable.scala +++ b/tests/snapshots/src/main/generated/ujson/Readable.scala @@ -18,16 +18,24 @@ import upickle.core.{Visitor, ObjArrVisitor} // ^^^^^^^^^^^^^ reference semanticdb maven maven/com.lihaoyi/upickle-core_2.13 1.4.0 upickle/core/ObjArrVisitor# trait Readable { // ^^^^^^^^ definition semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/Readable# -// documentation ```scala\ntrait Readable\n``` +// display_name Readable +// signature_documentation scala trait Readable +// kind Trait def transform[T](f: Visitor[_, T]): T // ^^^^^^^^^ definition semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/Readable#transform(). -// documentation ```scala\ndef transform(f: Visitor[local0, T[): T\n``` +// display_name transform +// signature_documentation scala def transform(f: Visitor[local0, T[): T +// kind AbstractMethod // relationship is_reference is_implementation semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/Readable.fromTransformer#transform(). // relationship is_reference is_implementation semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/Value#transform(). // ^ definition semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/Readable#transform().[T] -// documentation ```scala\nT\n``` +// display_name T +// signature_documentation scala T +// kind TypeParameter // ^ definition semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/Readable#transform().(f) -// documentation ```scala\nf: Visitor[local0, T[ \n``` +// display_name f +// signature_documentation scala f: Visitor[local0, T[ +// kind Parameter // ^^^^^^^ reference semanticdb maven maven/com.lihaoyi/upickle-core_2.13 1.4.0 upickle/core/Visitor# // ^ reference semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/Readable#transform().[T] // ^ reference semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/Readable#transform().[T] @@ -35,77 +43,111 @@ trait Readable { object Readable extends ReadableLowPri{ // ^^^^^^^^ definition semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/Readable. -// documentation ```scala\nobject Readable\n``` +// display_name Readable +// signature_documentation scala object Readable +// kind Object // ^^^^^^^^^^^^^^ reference semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/ReadableLowPri# // ^ reference semanticdb maven jdk 11 java/lang/Object#``(). case class fromTransformer[T](t: T, w: Transformer[T]) extends Readable{ // ^^^^^^^^^^^^^^^ definition semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/Readable.fromTransformer# -// documentation ```scala\ncase class fromTransformer(t: T, w: Transformer[T])[T] extends Readable\n``` +// display_name fromTransformer +// signature_documentation scala case class fromTransformer(t: T, w: Transformer[T])[T] extends Readable +// kind Class // relationship is_reference semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/Readable.fromTransformer. // relationship is_reference semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/Readable.fromTransformer.apply(). // _______________ synthetic_definition semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/Readable.fromTransformer#copy(). -// documentation ```scala\ndef copy(t: T, w: Transformer[T]): fromTransformer[T]\n``` +// display_name copy +// signature_documentation scala def copy(t: T, w: Transformer[T]): fromTransformer[T] +// kind Method // relationship is_definition semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/Readable.fromTransformer# // relationship is_reference semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/Readable.fromTransformer.apply(). // _______________ synthetic_definition semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/Readable.fromTransformer#productElement(). -// documentation ```scala\ndef productElement(x$1: Int): Any\n``` +// display_name productElement +// signature_documentation scala def productElement(x$1: Int): Any +// kind Method // relationship is_definition semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/Readable.fromTransformer# // relationship is_reference semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/Readable.fromTransformer.apply(). // relationship is_reference is_implementation semanticdb maven maven/org.scala-lang/scala-library 2.13.13 scala/Product#productElement(). // _______________ synthetic_definition semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/Readable.fromTransformer.apply(). -// documentation ```scala\ndef apply(t: T, w: Transformer[T]): fromTransformer[T]\n``` +// display_name apply +// signature_documentation scala def apply(t: T, w: Transformer[T]): fromTransformer[T] +// kind Method // relationship is_definition semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/Readable.fromTransformer# // _______________ synthetic_definition semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/Readable.fromTransformer. -// documentation ```scala\nobject fromTransformer\n``` +// display_name fromTransformer +// signature_documentation scala object fromTransformer +// kind Object // relationship is_definition semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/Readable.fromTransformer# // relationship is_reference semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/Readable.fromTransformer.apply(). // _______________ synthetic_definition semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/Readable.fromTransformer#productElementName(). -// documentation ```scala\ndef productElementName(x$1: Int): String\n``` +// display_name productElementName +// signature_documentation scala def productElementName(x$1: Int): String +// kind Method // relationship is_definition semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/Readable.fromTransformer# // relationship is_reference semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/Readable.fromTransformer.apply(). // relationship is_reference is_implementation semanticdb maven maven/org.scala-lang/scala-library 2.13.13 scala/Product#productElementName(). // ^ definition semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/Readable.fromTransformer#[T] -// documentation ```scala\nT\n``` +// display_name T +// signature_documentation scala T +// kind TypeParameter // ^ definition semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/Readable.fromTransformer#``(). -// documentation ```scala\ndef this(t: T, w: Transformer[T])\n``` +// display_name +// signature_documentation scala def this(t: T, w: Transformer[T]) +// kind Constructor // ^ definition semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/Readable.fromTransformer#t. -// documentation ```scala\nval t: T\n``` +// display_name t +// signature_documentation scala val t: T +// kind Method // relationship is_reference semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/Readable.fromTransformer#``().(t) // relationship is_reference semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/Readable.fromTransformer#copy().(t) // relationship is_reference semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/Readable.fromTransformer.apply().(t) // _ synthetic_definition semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/Readable.fromTransformer#copy().(t) -// documentation ```scala\ndefault t: T \n``` +// display_name t +// signature_documentation scala default t: T +// kind Parameter // relationship is_reference semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/Readable.fromTransformer#``().(t) // relationship is_reference is_definition semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/Readable.fromTransformer#t. // relationship is_reference semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/Readable.fromTransformer.apply().(t) // _ synthetic_definition semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/Readable.fromTransformer#``().(t) -// documentation ```scala\nt: T \n``` +// display_name t +// signature_documentation scala t: T +// kind Parameter // relationship is_reference semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/Readable.fromTransformer#copy().(t) // relationship is_reference is_definition semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/Readable.fromTransformer#t. // relationship is_reference semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/Readable.fromTransformer.apply().(t) // _ synthetic_definition semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/Readable.fromTransformer.apply().(t) -// documentation ```scala\nt: T \n``` +// display_name t +// signature_documentation scala t: T +// kind Parameter // relationship is_reference semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/Readable.fromTransformer#``().(t) // relationship is_reference semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/Readable.fromTransformer#copy().(t) // relationship is_reference is_definition semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/Readable.fromTransformer#t. // ^ reference semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/Readable.fromTransformer#[T] // ^ definition semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/Readable.fromTransformer#w. -// documentation ```scala\nval w: Transformer[T]\n``` +// display_name w +// signature_documentation scala val w: Transformer[T] +// kind Method // relationship is_reference semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/Readable.fromTransformer#``().(w) // relationship is_reference semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/Readable.fromTransformer#copy().(w) // relationship is_reference semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/Readable.fromTransformer.apply().(w) // _ synthetic_definition semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/Readable.fromTransformer#copy().(w) -// documentation ```scala\ndefault w: Transformer[T] \n``` +// display_name w +// signature_documentation scala default w: Transformer[T] +// kind Parameter // relationship is_reference semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/Readable.fromTransformer#``().(w) // relationship is_reference is_definition semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/Readable.fromTransformer#w. // relationship is_reference semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/Readable.fromTransformer.apply().(w) // _ synthetic_definition semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/Readable.fromTransformer#``().(w) -// documentation ```scala\nw: Transformer[T] \n``` +// display_name w +// signature_documentation scala w: Transformer[T] +// kind Parameter // relationship is_reference semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/Readable.fromTransformer#copy().(w) // relationship is_reference is_definition semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/Readable.fromTransformer#w. // relationship is_reference semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/Readable.fromTransformer.apply().(w) // _ synthetic_definition semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/Readable.fromTransformer.apply().(w) -// documentation ```scala\nw: Transformer[T] \n``` +// display_name w +// signature_documentation scala w: Transformer[T] +// kind Parameter // relationship is_reference semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/Readable.fromTransformer#``().(w) // relationship is_reference semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/Readable.fromTransformer#copy().(w) // relationship is_reference is_definition semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/Readable.fromTransformer#w. @@ -115,12 +157,18 @@ object Readable extends ReadableLowPri{ // ^ reference semanticdb maven jdk 11 java/lang/Object#``(). def transform[T](f: Visitor[_, T]): T = { // ^^^^^^^^^ definition semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/Readable.fromTransformer#transform(). -// documentation ```scala\ndef transform(f: Visitor[local1, T[): T\n``` +// display_name transform +// signature_documentation scala def transform(f: Visitor[local1, T[): T +// kind Method // relationship is_reference is_implementation semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/Readable#transform(). // ^ definition semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/Readable.fromTransformer#transform().[T] -// documentation ```scala\nT\n``` +// display_name T +// signature_documentation scala T +// kind TypeParameter // ^ definition semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/Readable.fromTransformer#transform().(f) -// documentation ```scala\nf: Visitor[local1, T[ \n``` +// display_name f +// signature_documentation scala f: Visitor[local1, T[ +// kind Parameter // ^^^^^^^ reference semanticdb maven maven/com.lihaoyi/upickle-core_2.13 1.4.0 upickle/core/Visitor# // ^ reference semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/Readable.fromTransformer#transform().[T] // ^ reference semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/Readable.fromTransformer#transform().[T] @@ -133,9 +181,13 @@ object Readable extends ReadableLowPri{ } implicit def fromString(s: String): fromTransformer[String] = new fromTransformer(s, StringParser) // ^^^^^^^^^^ definition semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/Readable.fromString(). -// documentation ```scala\nimplicit def fromString(s: String): fromTransformer[String]\n``` +// display_name fromString +// signature_documentation scala implicit def fromString(s: String): fromTransformer[String] +// kind Method // ^ definition semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/Readable.fromString().(s) -// documentation ```scala\ns: String \n``` +// display_name s +// signature_documentation scala s: String +// kind Parameter // ^^^^^^ reference semanticdb maven maven/org.scala-lang/scala-library 2.13.13 scala/Predef.String# // ^^^^^^^^^^^^^^^ reference semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/Readable.fromTransformer# // ^^^^^^ reference semanticdb maven maven/org.scala-lang/scala-library 2.13.13 scala/Predef.String# @@ -145,9 +197,13 @@ object Readable extends ReadableLowPri{ // ^^^^^^^^^^^^ reference semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/StringParser. implicit def fromCharSequence(s: CharSequence): fromTransformer[CharSequence] = new fromTransformer(s, CharSequenceParser) // ^^^^^^^^^^^^^^^^ definition semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/Readable.fromCharSequence(). -// documentation ```scala\nimplicit def fromCharSequence(s: CharSequence): fromTransformer[CharSequence]\n``` +// display_name fromCharSequence +// signature_documentation scala implicit def fromCharSequence(s: CharSequence): fromTransformer[CharSequence] +// kind Method // ^ definition semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/Readable.fromCharSequence().(s) -// documentation ```scala\ns: CharSequence \n``` +// display_name s +// signature_documentation scala s: CharSequence +// kind Parameter // ^^^^^^^^^^^^ reference semanticdb maven jdk 11 java/lang/CharSequence# // ^^^^^^^^^^^^^^^ reference semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/Readable.fromTransformer# // ^^^^^^^^^^^^ reference semanticdb maven jdk 11 java/lang/CharSequence# @@ -157,31 +213,45 @@ object Readable extends ReadableLowPri{ // ^^^^^^^^^^^^^^^^^^ reference semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/CharSequenceParser. implicit def fromPath(s: java.nio.file.Path): Readable = new Readable { // ^^^^^^^^ definition semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/Readable.fromPath(). -// documentation ```scala\nimplicit def fromPath(s: Path): Readable\n``` +// display_name fromPath +// signature_documentation scala implicit def fromPath(s: Path): Readable +// kind Method // ^ definition semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/Readable.fromPath().(s) -// documentation ```scala\ns: Path \n``` +// display_name s +// signature_documentation scala s: Path +// kind Parameter // ^^^^ reference semanticdb maven . . java/ // ^^^ reference semanticdb maven . . java/nio/ // ^^^^ reference semanticdb maven . . java/nio/file/ // ^^^^ reference semanticdb maven jdk 11 java/nio/file/Path# // ^^^^^^^^ reference semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/Readable# // ^ definition local 3 -// documentation ```scala\nfinal class $anon\n``` +// display_name $anon +// signature_documentation scala final class $anon +// kind Class // ^^^^^^^^ reference semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/Readable# // ^ reference semanticdb maven jdk 11 java/lang/Object#``(). override def transform[T](f: Visitor[_, T]) = { // ^^^^^^^^^ definition local 4 -// documentation ```scala\ndef transform(f: Visitor[local7, local6[): local6\n``` +// display_name transform +// signature_documentation scala def transform(f: Visitor[local7, local6[): local6 +// kind Method // relationship is_reference is_implementation semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/Readable#transform(). // ^ definition local 6 -// documentation ```scala\nT\n``` +// display_name T +// signature_documentation scala T +// kind TypeParameter // ^ definition local 5 -// documentation ```scala\nf: Visitor[local7, local6[ \n``` +// display_name f +// signature_documentation scala f: Visitor[local7, local6[ +// kind Parameter // ^^^^^^^ reference semanticdb maven maven/com.lihaoyi/upickle-core_2.13 1.4.0 upickle/core/Visitor# // ^ reference local 6 val inputStream = java.nio.file.Files.newInputStream(s) // ^^^^^^^^^^^ definition local 8 -// documentation ```scala\ninputStream: InputStream \n``` +// display_name inputStream +// signature_documentation scala inputStream: InputStream +// kind Variable // ^^^^ reference semanticdb maven . . java/ // ^^^ reference semanticdb maven . . java/nio/ // ^^^^ reference semanticdb maven . . java/nio/file/ @@ -200,9 +270,13 @@ object Readable extends ReadableLowPri{ } implicit def fromFile(s: java.io.File): Readable = fromPath(s.toPath) // ^^^^^^^^ definition semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/Readable.fromFile(). -// documentation ```scala\nimplicit def fromFile(s: File): Readable\n``` +// display_name fromFile +// signature_documentation scala implicit def fromFile(s: File): Readable +// kind Method // ^ definition semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/Readable.fromFile().(s) -// documentation ```scala\ns: File \n``` +// display_name s +// signature_documentation scala s: File +// kind Parameter // ^^^^ reference semanticdb maven . . java/ // ^^ reference semanticdb maven . . java/io/ // ^^^^ reference semanticdb maven jdk 11 java/io/File# @@ -212,9 +286,13 @@ object Readable extends ReadableLowPri{ // ^^^^^^ reference semanticdb maven jdk 11 java/io/File#toPath(). implicit def fromByteBuffer(s: ByteBuffer): fromTransformer[ByteBuffer] = new fromTransformer(s, ByteBufferParser) // ^^^^^^^^^^^^^^ definition semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/Readable.fromByteBuffer(). -// documentation ```scala\nimplicit def fromByteBuffer(s: ByteBuffer): fromTransformer[ByteBuffer]\n``` +// display_name fromByteBuffer +// signature_documentation scala implicit def fromByteBuffer(s: ByteBuffer): fromTransformer[ByteBuffer] +// kind Method // ^ definition semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/Readable.fromByteBuffer().(s) -// documentation ```scala\ns: ByteBuffer \n``` +// display_name s +// signature_documentation scala s: ByteBuffer +// kind Parameter // ^^^^^^^^^^ reference semanticdb maven jdk 11 java/nio/ByteBuffer# // ^^^^^^^^^^^^^^^ reference semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/Readable.fromTransformer# // ^^^^^^^^^^ reference semanticdb maven jdk 11 java/nio/ByteBuffer# @@ -224,9 +302,13 @@ object Readable extends ReadableLowPri{ // ^^^^^^^^^^^^^^^^ reference semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/ByteBufferParser. implicit def fromByteArray(s: Array[Byte]): fromTransformer[Array[Byte]] = new fromTransformer(s, ByteArrayParser) // ^^^^^^^^^^^^^ definition semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/Readable.fromByteArray(). -// documentation ```scala\nimplicit def fromByteArray(s: Array[Byte]): fromTransformer[Array[Byte]]\n``` +// display_name fromByteArray +// signature_documentation scala implicit def fromByteArray(s: Array[Byte]): fromTransformer[Array[Byte]] +// kind Method // ^ definition semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/Readable.fromByteArray().(s) -// documentation ```scala\ns: Array[Byte] \n``` +// display_name s +// signature_documentation scala s: Array[Byte] +// kind Parameter // ^^^^^ reference semanticdb maven maven/org.scala-lang/scala-library 2.13.13 scala/Array# // ^^^^ reference semanticdb maven maven/org.scala-lang/scala-library 2.13.13 scala/Byte# // ^^^^^^^^^^^^^^^ reference semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/Readable.fromTransformer# @@ -240,33 +322,51 @@ object Readable extends ReadableLowPri{ trait ReadableLowPri{ // ^^^^^^^^^^^^^^ definition semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/ReadableLowPri# -// documentation ```scala\ntrait ReadableLowPri\n``` +// display_name ReadableLowPri +// signature_documentation scala trait ReadableLowPri +// kind Trait implicit def fromReadable[T](s: T)(implicit conv: T => geny.Readable): Readable = new Readable{ // ^^^^^^^^^^^^ definition semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/ReadableLowPri#fromReadable(). -// documentation ```scala\nimplicit def fromReadable(s: T)(conv: (T) => Readable): Readable\n``` +// display_name fromReadable +// signature_documentation scala implicit def fromReadable(s: T)(conv: (T) => Readable): Readable +// kind Method // ^ definition semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/ReadableLowPri#fromReadable().[T] -// documentation ```scala\nT\n``` +// display_name T +// signature_documentation scala T +// kind TypeParameter // ^ definition semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/ReadableLowPri#fromReadable().(s) -// documentation ```scala\ns: T \n``` +// display_name s +// signature_documentation scala s: T +// kind Parameter // ^ reference semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/ReadableLowPri#fromReadable().[T] // ^^^^ definition semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/ReadableLowPri#fromReadable().(conv) -// documentation ```scala\nimplicit conv: (T) => Readable \n``` +// display_name conv +// signature_documentation scala implicit conv: (T) => Readable +// kind Parameter // ^ reference semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/ReadableLowPri#fromReadable().[T] // ^^^^ reference semanticdb maven . . geny/ // ^^^^^^^^ reference semanticdb maven maven/com.lihaoyi/geny_2.13 0.6.10 geny/Readable# // ^^^^^^^^ reference semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/Readable# // ^ definition local 9 -// documentation ```scala\nfinal class $anon\n``` +// display_name $anon +// signature_documentation scala final class $anon +// kind Class // ^^^^^^^^ reference semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/Readable# // ^ reference semanticdb maven jdk 11 java/lang/Object#``(). def transform[T](f: Visitor[_, T]): T = conv(s).readBytesThrough(InputStreamParser.transform(_, f)) // ^^^^^^^^^ definition local 10 -// documentation ```scala\ndef transform(f: Visitor[local13, local12[): local12\n``` +// display_name transform +// signature_documentation scala def transform(f: Visitor[local13, local12[): local12 +// kind Method // relationship is_reference is_implementation semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/Readable#transform(). // ^ definition local 12 -// documentation ```scala\nT\n``` +// display_name T +// signature_documentation scala T +// kind TypeParameter // ^ definition local 11 -// documentation ```scala\nf: Visitor[local13, local12[ \n``` +// display_name f +// signature_documentation scala f: Visitor[local13, local12[ +// kind Parameter // ^^^^^^^ reference semanticdb maven maven/com.lihaoyi/upickle-core_2.13 1.4.0 upickle/core/Visitor# // ^ reference local 12 // ^ reference local 12 diff --git a/tests/snapshots/src/main/generated/ujson/Renderer.scala b/tests/snapshots/src/main/generated/ujson/Renderer.scala index f2826bcc7..29fcc8bfe 100644 --- a/tests/snapshots/src/main/generated/ujson/Renderer.scala +++ b/tests/snapshots/src/main/generated/ujson/Renderer.scala @@ -21,71 +21,101 @@ import scala.annotation.switch case class BytesRenderer(indent: Int = -1, escapeUnicode: Boolean = false) // ^^^^^^^^^^^^^ definition semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/BytesRenderer# -// documentation ```scala\ncase class BytesRenderer(indent: Int, escapeUnicode: Boolean) extends BaseByteRenderer[ByteArrayOutputStream]\n``` +// display_name BytesRenderer +// signature_documentation scala case class BytesRenderer(indent: Int, escapeUnicode: Boolean) extends BaseByteRenderer[ByteArrayOutputStream] +// kind Class // relationship is_reference semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/BytesRenderer. // relationship is_reference semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/BytesRenderer.apply(). // _____________ synthetic_definition semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/BytesRenderer#productElement(). -// documentation ```scala\ndef productElement(x$1: Int): Any\n``` +// display_name productElement +// signature_documentation scala def productElement(x$1: Int): Any +// kind Method // relationship is_definition semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/BytesRenderer# // relationship is_reference semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/BytesRenderer.apply(). // relationship is_reference is_implementation semanticdb maven maven/org.scala-lang/scala-library 2.13.13 scala/Product#productElement(). // _____________ synthetic_definition semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/BytesRenderer#productElementName(). -// documentation ```scala\ndef productElementName(x$1: Int): String\n``` +// display_name productElementName +// signature_documentation scala def productElementName(x$1: Int): String +// kind Method // relationship is_definition semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/BytesRenderer# // relationship is_reference semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/BytesRenderer.apply(). // relationship is_reference is_implementation semanticdb maven maven/org.scala-lang/scala-library 2.13.13 scala/Product#productElementName(). // _____________ synthetic_definition semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/BytesRenderer. -// documentation ```scala\nobject BytesRenderer\n``` +// display_name BytesRenderer +// signature_documentation scala object BytesRenderer +// kind Object // relationship is_definition semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/BytesRenderer# // relationship is_reference semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/BytesRenderer.apply(). // _____________ synthetic_definition semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/BytesRenderer#copy(). -// documentation ```scala\ndef copy(indent: Int, escapeUnicode: Boolean): BytesRenderer\n``` +// display_name copy +// signature_documentation scala def copy(indent: Int, escapeUnicode: Boolean): BytesRenderer +// kind Method // relationship is_definition semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/BytesRenderer# // relationship is_reference semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/BytesRenderer.apply(). // _____________ synthetic_definition semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/BytesRenderer.apply(). -// documentation ```scala\ndef apply(indent: Int, escapeUnicode: Boolean): BytesRenderer\n``` +// display_name apply +// signature_documentation scala def apply(indent: Int, escapeUnicode: Boolean): BytesRenderer +// kind Method // relationship is_definition semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/BytesRenderer# // relationship is_reference is_implementation semanticdb maven maven/org.scala-lang/scala-library 2.13.13 scala/Function2#apply(). // ^ definition semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/BytesRenderer#``(). -// documentation ```scala\ndef this(indent: Int, escapeUnicode: Boolean)\n``` +// display_name +// signature_documentation scala def this(indent: Int, escapeUnicode: Boolean) +// kind Constructor // ^^^^^^ definition semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/BytesRenderer#indent. -// documentation ```scala\nval indent: Int\n``` +// display_name indent +// signature_documentation scala val indent: Int +// kind Method // relationship is_reference semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/BytesRenderer#``().(indent) // relationship is_reference semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/BytesRenderer#copy().(indent) // relationship is_reference semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/BytesRenderer.apply().(indent) // ______ synthetic_definition semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/BytesRenderer#copy().(indent) -// documentation ```scala\ndefault indent: Int \n``` +// display_name indent +// signature_documentation scala default indent: Int +// kind Parameter // relationship is_reference semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/BytesRenderer#``().(indent) // relationship is_reference is_definition semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/BytesRenderer#indent. // relationship is_reference semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/BytesRenderer.apply().(indent) // ______ synthetic_definition semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/BytesRenderer#``().(indent) -// documentation ```scala\ndefault indent: Int \n``` +// display_name indent +// signature_documentation scala default indent: Int +// kind Parameter // relationship is_reference semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/BytesRenderer#copy().(indent) // relationship is_reference is_definition semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/BytesRenderer#indent. // relationship is_reference semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/BytesRenderer.apply().(indent) // ______ synthetic_definition semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/BytesRenderer.apply().(indent) -// documentation ```scala\ndefault indent: Int \n``` +// display_name indent +// signature_documentation scala default indent: Int +// kind Parameter // relationship is_reference semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/BytesRenderer#``().(indent) // relationship is_reference semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/BytesRenderer#copy().(indent) // relationship is_reference is_definition semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/BytesRenderer#indent. // ^^^ reference semanticdb maven maven/org.scala-lang/scala-library 2.13.13 scala/Int# // ^^^^^^^^^^^^^ definition semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/BytesRenderer#escapeUnicode. -// documentation ```scala\nval escapeUnicode: Boolean\n``` +// display_name escapeUnicode +// signature_documentation scala val escapeUnicode: Boolean +// kind Method // relationship is_reference semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/BytesRenderer#``().(escapeUnicode) // relationship is_reference semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/BytesRenderer#copy().(escapeUnicode) // relationship is_reference semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/BytesRenderer.apply().(escapeUnicode) // _____________ synthetic_definition semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/BytesRenderer#copy().(escapeUnicode) -// documentation ```scala\ndefault escapeUnicode: Boolean \n``` +// display_name escapeUnicode +// signature_documentation scala default escapeUnicode: Boolean +// kind Parameter // relationship is_reference semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/BytesRenderer#``().(escapeUnicode) // relationship is_reference is_definition semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/BytesRenderer#escapeUnicode. // relationship is_reference semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/BytesRenderer.apply().(escapeUnicode) // _____________ synthetic_definition semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/BytesRenderer.apply().(escapeUnicode) -// documentation ```scala\ndefault escapeUnicode: Boolean \n``` +// display_name escapeUnicode +// signature_documentation scala default escapeUnicode: Boolean +// kind Parameter // relationship is_reference semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/BytesRenderer#``().(escapeUnicode) // relationship is_reference semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/BytesRenderer#copy().(escapeUnicode) // relationship is_reference is_definition semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/BytesRenderer#escapeUnicode. // _____________ synthetic_definition semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/BytesRenderer#``().(escapeUnicode) -// documentation ```scala\ndefault escapeUnicode: Boolean \n``` +// display_name escapeUnicode +// signature_documentation scala default escapeUnicode: Boolean +// kind Parameter // relationship is_reference semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/BytesRenderer#copy().(escapeUnicode) // relationship is_reference is_definition semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/BytesRenderer#escapeUnicode. // relationship is_reference semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/BytesRenderer.apply().(escapeUnicode) @@ -102,72 +132,102 @@ case class BytesRenderer(indent: Int = -1, escapeUnicode: Boolean = false) case class StringRenderer(indent: Int = -1, // ^^^^^^^^^^^^^^ definition semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/StringRenderer# -// documentation ```scala\ncase class StringRenderer(indent: Int, escapeUnicode: Boolean) extends BaseCharRenderer[StringWriter]\n``` +// display_name StringRenderer +// signature_documentation scala case class StringRenderer(indent: Int, escapeUnicode: Boolean) extends BaseCharRenderer[StringWriter] +// kind Class // relationship is_reference semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/StringRenderer. // relationship is_reference semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/StringRenderer.apply(). // ______________ synthetic_definition semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/StringRenderer. -// documentation ```scala\nobject StringRenderer\n``` +// display_name StringRenderer +// signature_documentation scala object StringRenderer +// kind Object // relationship is_definition semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/StringRenderer# // relationship is_reference semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/StringRenderer.apply(). // ______________ synthetic_definition semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/StringRenderer#copy(). -// documentation ```scala\ndef copy(indent: Int, escapeUnicode: Boolean): StringRenderer\n``` +// display_name copy +// signature_documentation scala def copy(indent: Int, escapeUnicode: Boolean): StringRenderer +// kind Method // relationship is_definition semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/StringRenderer# // relationship is_reference semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/StringRenderer.apply(). // ______________ synthetic_definition semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/StringRenderer.apply(). -// documentation ```scala\ndef apply(indent: Int, escapeUnicode: Boolean): StringRenderer\n``` +// display_name apply +// signature_documentation scala def apply(indent: Int, escapeUnicode: Boolean): StringRenderer +// kind Method // relationship is_definition semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/StringRenderer# // relationship is_reference is_implementation semanticdb maven maven/org.scala-lang/scala-library 2.13.13 scala/Function2#apply(). // ______________ synthetic_definition semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/StringRenderer#productElement(). -// documentation ```scala\ndef productElement(x$1: Int): Any\n``` +// display_name productElement +// signature_documentation scala def productElement(x$1: Int): Any +// kind Method // relationship is_definition semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/StringRenderer# // relationship is_reference semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/StringRenderer.apply(). // relationship is_reference is_implementation semanticdb maven maven/org.scala-lang/scala-library 2.13.13 scala/Product#productElement(). // ______________ synthetic_definition semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/StringRenderer#productElementName(). -// documentation ```scala\ndef productElementName(x$1: Int): String\n``` +// display_name productElementName +// signature_documentation scala def productElementName(x$1: Int): String +// kind Method // relationship is_definition semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/StringRenderer# // relationship is_reference semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/StringRenderer.apply(). // relationship is_reference is_implementation semanticdb maven maven/org.scala-lang/scala-library 2.13.13 scala/Product#productElementName(). // ^ definition semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/StringRenderer#``(). -// documentation ```scala\ndef this(indent: Int, escapeUnicode: Boolean)\n``` +// display_name +// signature_documentation scala def this(indent: Int, escapeUnicode: Boolean) +// kind Constructor // ^^^^^^ definition semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/StringRenderer#indent. -// documentation ```scala\nval indent: Int\n``` +// display_name indent +// signature_documentation scala val indent: Int +// kind Method // relationship is_reference semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/StringRenderer#``().(indent) // relationship is_reference semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/StringRenderer#copy().(indent) // relationship is_reference semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/StringRenderer.apply().(indent) // ______ synthetic_definition semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/StringRenderer#copy().(indent) -// documentation ```scala\ndefault indent: Int \n``` +// display_name indent +// signature_documentation scala default indent: Int +// kind Parameter // relationship is_reference semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/StringRenderer#``().(indent) // relationship is_reference is_definition semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/StringRenderer#indent. // relationship is_reference semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/StringRenderer.apply().(indent) // ______ synthetic_definition semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/StringRenderer#``().(indent) -// documentation ```scala\ndefault indent: Int \n``` +// display_name indent +// signature_documentation scala default indent: Int +// kind Parameter // relationship is_reference semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/StringRenderer#copy().(indent) // relationship is_reference is_definition semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/StringRenderer#indent. // relationship is_reference semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/StringRenderer.apply().(indent) // ______ synthetic_definition semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/StringRenderer.apply().(indent) -// documentation ```scala\ndefault indent: Int \n``` +// display_name indent +// signature_documentation scala default indent: Int +// kind Parameter // relationship is_reference semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/StringRenderer#``().(indent) // relationship is_reference semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/StringRenderer#copy().(indent) // relationship is_reference is_definition semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/StringRenderer#indent. // ^^^ reference semanticdb maven maven/org.scala-lang/scala-library 2.13.13 scala/Int# escapeUnicode: Boolean = false) // ^^^^^^^^^^^^^ definition semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/StringRenderer#escapeUnicode. -// documentation ```scala\nval escapeUnicode: Boolean\n``` +// display_name escapeUnicode +// signature_documentation scala val escapeUnicode: Boolean +// kind Method // relationship is_reference semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/StringRenderer#``().(escapeUnicode) // relationship is_reference semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/StringRenderer#copy().(escapeUnicode) // relationship is_reference semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/StringRenderer.apply().(escapeUnicode) // _____________ synthetic_definition semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/StringRenderer.apply().(escapeUnicode) -// documentation ```scala\ndefault escapeUnicode: Boolean \n``` +// display_name escapeUnicode +// signature_documentation scala default escapeUnicode: Boolean +// kind Parameter // relationship is_reference semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/StringRenderer#``().(escapeUnicode) // relationship is_reference semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/StringRenderer#copy().(escapeUnicode) // relationship is_reference is_definition semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/StringRenderer#escapeUnicode. // _____________ synthetic_definition semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/StringRenderer#copy().(escapeUnicode) -// documentation ```scala\ndefault escapeUnicode: Boolean \n``` +// display_name escapeUnicode +// signature_documentation scala default escapeUnicode: Boolean +// kind Parameter // relationship is_reference semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/StringRenderer#``().(escapeUnicode) // relationship is_reference is_definition semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/StringRenderer#escapeUnicode. // relationship is_reference semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/StringRenderer.apply().(escapeUnicode) // _____________ synthetic_definition semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/StringRenderer#``().(escapeUnicode) -// documentation ```scala\ndefault escapeUnicode: Boolean \n``` +// display_name escapeUnicode +// signature_documentation scala default escapeUnicode: Boolean +// kind Parameter // relationship is_reference semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/StringRenderer#copy().(escapeUnicode) // relationship is_reference is_definition semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/StringRenderer#escapeUnicode. // relationship is_reference semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/StringRenderer.apply().(escapeUnicode) @@ -184,50 +244,72 @@ case class StringRenderer(indent: Int = -1, case class Renderer(out: java.io.Writer, // ^^^^^^^^ definition semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/Renderer# -// documentation ```scala\ncase class Renderer(out: Writer, indent: Int, escapeUnicode: Boolean) extends BaseCharRenderer[Writer]\n``` +// display_name Renderer +// signature_documentation scala case class Renderer(out: Writer, indent: Int, escapeUnicode: Boolean) extends BaseCharRenderer[Writer] +// kind Class // relationship is_reference semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/Renderer. // relationship is_reference semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/Renderer.apply(). // ________ synthetic_definition semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/Renderer. -// documentation ```scala\nobject Renderer\n``` +// display_name Renderer +// signature_documentation scala object Renderer +// kind Object // relationship is_definition semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/Renderer# // relationship is_reference semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/Renderer.apply(). // ________ synthetic_definition semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/Renderer.apply(). -// documentation ```scala\ndef apply(out: Writer, indent: Int, escapeUnicode: Boolean): Renderer\n``` +// display_name apply +// signature_documentation scala def apply(out: Writer, indent: Int, escapeUnicode: Boolean): Renderer +// kind Method // relationship is_definition semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/Renderer# // relationship is_reference is_implementation semanticdb maven maven/org.scala-lang/scala-library 2.13.13 scala/Function3#apply(). // ________ synthetic_definition semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/Renderer#productElementName(). -// documentation ```scala\ndef productElementName(x$1: Int): String\n``` +// display_name productElementName +// signature_documentation scala def productElementName(x$1: Int): String +// kind Method // relationship is_definition semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/Renderer# // relationship is_reference semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/Renderer.apply(). // relationship is_reference is_implementation semanticdb maven maven/org.scala-lang/scala-library 2.13.13 scala/Product#productElementName(). // ________ synthetic_definition semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/Renderer#copy(). -// documentation ```scala\ndef copy(out: Writer, indent: Int, escapeUnicode: Boolean): Renderer\n``` +// display_name copy +// signature_documentation scala def copy(out: Writer, indent: Int, escapeUnicode: Boolean): Renderer +// kind Method // relationship is_definition semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/Renderer# // relationship is_reference semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/Renderer.apply(). // ________ synthetic_definition semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/Renderer#productElement(). -// documentation ```scala\ndef productElement(x$1: Int): Any\n``` +// display_name productElement +// signature_documentation scala def productElement(x$1: Int): Any +// kind Method // relationship is_definition semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/Renderer# // relationship is_reference semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/Renderer.apply(). // relationship is_reference is_implementation semanticdb maven maven/org.scala-lang/scala-library 2.13.13 scala/Product#productElement(). // ^ definition semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/Renderer#``(). -// documentation ```scala\ndef this(out: Writer, indent: Int, escapeUnicode: Boolean)\n``` +// display_name +// signature_documentation scala def this(out: Writer, indent: Int, escapeUnicode: Boolean) +// kind Constructor // ^^^ definition semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/Renderer#out. -// documentation ```scala\nval out: Writer\n``` +// display_name out +// signature_documentation scala val out: Writer +// kind Method // relationship is_reference semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/Renderer#``().(out) // relationship is_reference semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/Renderer#copy().(out) // relationship is_reference semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/Renderer.apply().(out) // ___ synthetic_definition semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/Renderer.apply().(out) -// documentation ```scala\nout: Writer \n``` +// display_name out +// signature_documentation scala out: Writer +// kind Parameter // relationship is_reference semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/Renderer#``().(out) // relationship is_reference semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/Renderer#copy().(out) // relationship is_reference is_definition semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/Renderer#out. // ___ synthetic_definition semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/Renderer#copy().(out) -// documentation ```scala\ndefault out: Writer \n``` +// display_name out +// signature_documentation scala default out: Writer +// kind Parameter // relationship is_reference semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/Renderer#``().(out) // relationship is_reference is_definition semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/Renderer#out. // relationship is_reference semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/Renderer.apply().(out) // ___ synthetic_definition semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/Renderer#``().(out) -// documentation ```scala\nout: Writer \n``` +// display_name out +// signature_documentation scala out: Writer +// kind Parameter // relationship is_reference semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/Renderer#copy().(out) // relationship is_reference is_definition semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/Renderer#out. // relationship is_reference semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/Renderer.apply().(out) @@ -236,44 +318,60 @@ case class Renderer(out: java.io.Writer, // ^^^^^^ reference semanticdb maven jdk 11 java/io/Writer# indent: Int = -1, // ^^^^^^ definition semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/Renderer#indent. -// documentation ```scala\nval indent: Int\n``` +// display_name indent +// signature_documentation scala val indent: Int +// kind Method // relationship is_reference semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/Renderer#``().(indent) // relationship is_reference semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/Renderer#copy().(indent) // relationship is_reference semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/Renderer.apply().(indent) // ______ synthetic_definition semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/Renderer#copy().(indent) -// documentation ```scala\ndefault indent: Int \n``` +// display_name indent +// signature_documentation scala default indent: Int +// kind Parameter // relationship is_reference semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/Renderer#``().(indent) // relationship is_reference is_definition semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/Renderer#indent. // relationship is_reference semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/Renderer.apply().(indent) // ______ synthetic_definition semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/Renderer#``().(indent) -// documentation ```scala\ndefault indent: Int \n``` +// display_name indent +// signature_documentation scala default indent: Int +// kind Parameter // relationship is_reference semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/Renderer#copy().(indent) // relationship is_reference is_definition semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/Renderer#indent. // relationship is_reference semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/Renderer.apply().(indent) // ______ synthetic_definition semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/Renderer.apply().(indent) -// documentation ```scala\ndefault indent: Int \n``` +// display_name indent +// signature_documentation scala default indent: Int +// kind Parameter // relationship is_reference semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/Renderer#``().(indent) // relationship is_reference semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/Renderer#copy().(indent) // relationship is_reference is_definition semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/Renderer#indent. // ^^^ reference semanticdb maven maven/org.scala-lang/scala-library 2.13.13 scala/Int# escapeUnicode: Boolean = false) // ^^^^^^^^^^^^^ definition semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/Renderer#escapeUnicode. -// documentation ```scala\nval escapeUnicode: Boolean\n``` +// display_name escapeUnicode +// signature_documentation scala val escapeUnicode: Boolean +// kind Method // relationship is_reference semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/Renderer#``().(escapeUnicode) // relationship is_reference semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/Renderer#copy().(escapeUnicode) // relationship is_reference semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/Renderer.apply().(escapeUnicode) // _____________ synthetic_definition semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/Renderer.apply().(escapeUnicode) -// documentation ```scala\ndefault escapeUnicode: Boolean \n``` +// display_name escapeUnicode +// signature_documentation scala default escapeUnicode: Boolean +// kind Parameter // relationship is_reference semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/Renderer#``().(escapeUnicode) // relationship is_reference semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/Renderer#copy().(escapeUnicode) // relationship is_reference is_definition semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/Renderer#escapeUnicode. // _____________ synthetic_definition semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/Renderer#copy().(escapeUnicode) -// documentation ```scala\ndefault escapeUnicode: Boolean \n``` +// display_name escapeUnicode +// signature_documentation scala default escapeUnicode: Boolean +// kind Parameter // relationship is_reference semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/Renderer#``().(escapeUnicode) // relationship is_reference is_definition semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/Renderer#escapeUnicode. // relationship is_reference semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/Renderer.apply().(escapeUnicode) // _____________ synthetic_definition semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/Renderer#``().(escapeUnicode) -// documentation ```scala\ndefault escapeUnicode: Boolean \n``` +// display_name escapeUnicode +// signature_documentation scala default escapeUnicode: Boolean +// kind Parameter // relationship is_reference semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/Renderer#copy().(escapeUnicode) // relationship is_reference is_definition semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/Renderer#escapeUnicode. // relationship is_reference semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/Renderer.apply().(escapeUnicode) diff --git a/tests/snapshots/src/main/generated/ujson/StringParser.scala b/tests/snapshots/src/main/generated/ujson/StringParser.scala index 33db2bd79..a32dc6390 100644 --- a/tests/snapshots/src/main/generated/ujson/StringParser.scala +++ b/tests/snapshots/src/main/generated/ujson/StringParser.scala @@ -23,16 +23,26 @@ import upickle.core.{ObjArrVisitor, Visitor} private[ujson] final class StringParser[J](s: String) extends CharParser[J]{ // ^^^^^ reference semanticdb maven . . ujson/ // ^^^^^^^^^^^^ definition semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/StringParser# -// documentation ```scala\nprotected[ujson] final class StringParser[J]\n``` +// display_name StringParser +// signature_documentation scala protected[ujson] final class StringParser[J] +// kind Class // ^ definition semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/StringParser#[J] -// documentation ```scala\nJ\n``` +// display_name J +// signature_documentation scala J +// kind TypeParameter // ^ definition semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/StringParser#``(). -// documentation ```scala\ndef this(s: String)\n``` +// display_name +// signature_documentation scala def this(s: String) +// kind Constructor // ^ definition semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/StringParser#s. -// documentation ```scala\nprivate[this] val s: String\n``` +// display_name s +// signature_documentation scala private[this] val s: String +// kind Method // relationship is_reference semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/StringParser#``().(s) // _ synthetic_definition semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/StringParser#``().(s) -// documentation ```scala\ns: String \n``` +// display_name s +// signature_documentation scala s: String +// kind Parameter // relationship is_reference is_definition semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/StringParser#s. // ^^^^^^ reference semanticdb maven maven/org.scala-lang/scala-library 2.13.13 scala/Predef.String# // ^^^^^^^^^^ reference semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/CharParser# @@ -40,27 +50,39 @@ private[ujson] final class StringParser[J](s: String) extends CharParser[J]{ // ^ reference semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/CharParser#``(). private[this] val sLength = s.length // ^^^^^^^ definition semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/StringParser#sLength. -// documentation ```scala\nprivate[this] val sLength: Int\n``` +// display_name sLength +// signature_documentation scala private[this] val sLength: Int +// kind Method // ^ reference semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/StringParser#s. // ^^^^^^ reference semanticdb maven jdk 11 java/lang/String#length(). override def growBuffer(until: Int): Unit = () // ^^^^^^^^^^ definition semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/StringParser#growBuffer(). -// documentation ```scala\ndef growBuffer(until: Int): Unit\n``` +// display_name growBuffer +// signature_documentation scala def growBuffer(until: Int): Unit +// kind Method // relationship is_reference is_implementation semanticdb maven maven/com.lihaoyi/upickle-core_2.13 1.4.0 upickle/core/BufferingCharParser#growBuffer(). // ^^^^^ definition semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/StringParser#growBuffer().(until) -// documentation ```scala\nuntil: Int \n``` +// display_name until +// signature_documentation scala until: Int +// kind Parameter // ^^^ reference semanticdb maven maven/org.scala-lang/scala-library 2.13.13 scala/Int# // ^^^^ reference semanticdb maven maven/org.scala-lang/scala-library 2.13.13 scala/Unit# def readDataIntoBuffer(buffer: Array[Char], bufferOffset: Int) = { // ^^^^^^^^^^^^^^^^^^ definition semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/StringParser#readDataIntoBuffer(). -// documentation ```scala\ndef readDataIntoBuffer(buffer: Array[Char], bufferOffset: Int): (Array[Char], Boolean, Int)\n``` +// display_name readDataIntoBuffer +// signature_documentation scala def readDataIntoBuffer(buffer: Array[Char], bufferOffset: Int): (Array[Char], Boolean, Int) +// kind Method // relationship is_reference is_implementation semanticdb maven maven/com.lihaoyi/upickle-core_2.13 1.4.0 upickle/core/BufferingCharParser#readDataIntoBuffer(). // ^^^^^^ definition semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/StringParser#readDataIntoBuffer().(buffer) -// documentation ```scala\nbuffer: Array[Char] \n``` +// display_name buffer +// signature_documentation scala buffer: Array[Char] +// kind Parameter // ^^^^^ reference semanticdb maven maven/org.scala-lang/scala-library 2.13.13 scala/Array# // ^^^^ reference semanticdb maven maven/org.scala-lang/scala-library 2.13.13 scala/Char# // ^^^^^^^^^^^^ definition semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/StringParser#readDataIntoBuffer().(bufferOffset) -// documentation ```scala\nbufferOffset: Int \n``` +// display_name bufferOffset +// signature_documentation scala bufferOffset: Int +// kind Parameter // ^^^ reference semanticdb maven maven/org.scala-lang/scala-library 2.13.13 scala/Int# if(buffer == null) (s.toCharArray, sLength == 0, sLength) // ^^^^^^ reference semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/StringParser#readDataIntoBuffer().(buffer) @@ -75,27 +97,39 @@ private[ujson] final class StringParser[J](s: String) extends CharParser[J]{ } final def close() = () // ^^^^^ definition semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/StringParser#close(). -// documentation ```scala\nfinal def close(): Unit\n``` +// display_name close +// signature_documentation scala final def close(): Unit +// kind Method // relationship is_reference is_implementation semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/CharParser#close(). } object StringParser extends Transformer[String]{ // ^^^^^^^^^^^^ definition semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/StringParser. -// documentation ```scala\nobject StringParser\n``` +// display_name StringParser +// signature_documentation scala object StringParser +// kind Object // ^^^^^^^^^^^ reference semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/Transformer# // ^^^^^^ reference semanticdb maven maven/org.scala-lang/scala-library 2.13.13 scala/Predef.String# // ^ reference semanticdb maven jdk 11 java/lang/Object#``(). def transform[T](j: String, f: Visitor[_, T]) = new StringParser(j).parse(f) // ^^^^^^^^^ definition semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/StringParser.transform(). -// documentation ```scala\ndef transform(j: String, f: Visitor[local0, T[): T\n``` +// display_name transform +// signature_documentation scala def transform(j: String, f: Visitor[local0, T[): T +// kind Method // relationship is_reference is_implementation semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/Transformer#transform(). // ^ definition semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/StringParser.transform().[T] -// documentation ```scala\nT\n``` +// display_name T +// signature_documentation scala T +// kind TypeParameter // ^ definition semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/StringParser.transform().(j) -// documentation ```scala\nj: String \n``` +// display_name j +// signature_documentation scala j: String +// kind Parameter // ^^^^^^ reference semanticdb maven maven/org.scala-lang/scala-library 2.13.13 scala/Predef.String# // ^ definition semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/StringParser.transform().(f) -// documentation ```scala\nf: Visitor[local0, T[ \n``` +// display_name f +// signature_documentation scala f: Visitor[local0, T[ +// kind Parameter // ^^^^^^^ reference semanticdb maven maven/com.lihaoyi/upickle-core_2.13 1.4.0 upickle/core/Visitor# // ^ reference semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/StringParser.transform().[T] // ^^^^^^^^^^^^ reference semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/StringParser# diff --git a/tests/snapshots/src/main/generated/ujson/Transformer.scala b/tests/snapshots/src/main/generated/ujson/Transformer.scala index 5a60f2ecf..cada42dc3 100644 --- a/tests/snapshots/src/main/generated/ujson/Transformer.scala +++ b/tests/snapshots/src/main/generated/ujson/Transformer.scala @@ -8,12 +8,18 @@ import upickle.core.Visitor trait Transformer[I] { // ^^^^^^^^^^^ definition semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/Transformer# -// documentation ```scala\ntrait Transformer[I]\n``` +// display_name Transformer +// signature_documentation scala trait Transformer[I] +// kind Trait // ^ definition semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/Transformer#[I] -// documentation ```scala\nI\n``` +// display_name I +// signature_documentation scala I +// kind TypeParameter def transform[T](j: I, f: Visitor[_, T]): T // ^^^^^^^^^ definition semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/Transformer#transform(). -// documentation ```scala\ndef transform(j: I, f: Visitor[local0, T[): T\n``` +// display_name transform +// signature_documentation scala def transform(j: I, f: Visitor[local0, T[): T +// kind AbstractMethod // relationship is_reference is_implementation semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/ByteArrayParser.transform(). // relationship is_reference is_implementation semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/ByteBufferParser.transform(). // relationship is_reference is_implementation semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/CharSequenceParser.transform(). @@ -22,22 +28,34 @@ trait Transformer[I] { // relationship is_reference is_implementation semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/StringParser.transform(). // relationship is_reference is_implementation semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/Value.transform(). // ^ definition semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/Transformer#transform().[T] -// documentation ```scala\nT\n``` +// display_name T +// signature_documentation scala T +// kind TypeParameter // ^ definition semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/Transformer#transform().(j) -// documentation ```scala\nj: I \n``` +// display_name j +// signature_documentation scala j: I +// kind Parameter // ^ reference semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/Transformer#[I] // ^ definition semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/Transformer#transform().(f) -// documentation ```scala\nf: Visitor[local0, T[ \n``` +// display_name f +// signature_documentation scala f: Visitor[local0, T[ +// kind Parameter // ^^^^^^^ reference semanticdb maven maven/com.lihaoyi/upickle-core_2.13 1.4.0 upickle/core/Visitor# // ^ reference semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/Transformer#transform().[T] // ^ reference semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/Transformer#transform().[T] def transformable[T](j: I) = Readable.fromTransformer(j, this) // ^^^^^^^^^^^^^ definition semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/Transformer#transformable(). -// documentation ```scala\ndef transformable(j: I): fromTransformer[I]\n``` +// display_name transformable +// signature_documentation scala def transformable(j: I): fromTransformer[I] +// kind Method // ^ definition semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/Transformer#transformable().[T] -// documentation ```scala\nT\n``` +// display_name T +// signature_documentation scala T +// kind TypeParameter // ^ definition semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/Transformer#transformable().(j) -// documentation ```scala\nj: I \n``` +// display_name j +// signature_documentation scala j: I +// kind Parameter // ^ reference semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/Transformer#[I] // ^^^^^^^^ reference semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/Readable. // ^^^^^^^^^^^^^^^ reference semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/Readable.fromTransformer. diff --git a/tests/snapshots/src/main/generated/ujson/Value.scala b/tests/snapshots/src/main/generated/ujson/Value.scala index 338eca741..5624d46d0 100644 --- a/tests/snapshots/src/main/generated/ujson/Value.scala +++ b/tests/snapshots/src/main/generated/ujson/Value.scala @@ -31,18 +31,24 @@ import scala.collection.mutable.ArrayBuffer sealed trait Value extends Readable with geny.Writable{ // ^^^^^ definition semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/Value# -// documentation ```scala\nsealed trait Value\n``` +// display_name Value +// signature_documentation scala sealed trait Value +// kind Trait // ^^^^^^^^ reference semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/Readable# // ^^^^ reference semanticdb maven . . geny/ // ^^^^^^^^ reference semanticdb maven maven/com.lihaoyi/geny_2.13 0.6.10 geny/Writable# override def httpContentType = Some("application/json") // ^^^^^^^^^^^^^^^ definition semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/Value#httpContentType(). -// documentation ```scala\ndef httpContentType: Some[String]\n``` +// display_name httpContentType +// signature_documentation scala def httpContentType: Some[String] +// kind Method // relationship is_reference is_implementation semanticdb maven maven/com.lihaoyi/geny_2.13 0.6.10 geny/Writable#httpContentType(). // ^^^^ reference semanticdb maven maven/org.scala-lang/scala-library 2.13.13 scala/Some. def value: Any // ^^^^^ definition semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/Value#value(). -// documentation ```scala\ndef value: Any\n``` +// display_name value +// signature_documentation scala def value: Any +// kind AbstractMethod // relationship is_reference is_implementation semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/Arr#value. // relationship is_reference is_implementation semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/Bool#value(). // relationship is_reference is_implementation semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/False.value(). @@ -59,12 +65,16 @@ sealed trait Value extends Readable with geny.Writable{ */ def str = this match{ // ^^^ definition semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/Value#str(). -// documentation ```scala\ndef str: String\n``` +// display_name str +// signature_documentation scala def str: String +// kind Method case ujson.Str(value) => value // ^^^^^ reference semanticdb maven . . ujson/ // ^^^ reference semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/Str. // ^^^^^ definition local 0 -// documentation ```scala\nvalue: String \n``` +// display_name value +// signature_documentation scala value: String +// kind Variable // ^^^^^ reference local 0 case _ => throw Value.InvalidData(this, "Expected ujson.Str") // ^^^^^ reference semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/Value. @@ -76,11 +86,15 @@ sealed trait Value extends Readable with geny.Writable{ */ def strOpt = this match{ // ^^^^^^ definition semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/Value#strOpt(). -// documentation ```scala\ndef strOpt: Option[String]\n``` +// display_name strOpt +// signature_documentation scala def strOpt: Option[String] +// kind Method case Str(value) => Some(value) // ^^^ reference semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/Str. // ^^^^^ definition local 1 -// documentation ```scala\nvalue: String \n``` +// display_name value +// signature_documentation scala value: String +// kind Variable // ^^^^ reference semanticdb maven maven/org.scala-lang/scala-library 2.13.13 scala/Some. // ^^^^^ reference local 1 case _ => None @@ -93,12 +107,16 @@ sealed trait Value extends Readable with geny.Writable{ */ def obj = this match{ // ^^^ definition semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/Value#obj(). -// documentation ```scala\ndef obj: LinkedHashMap[String, Value]\n``` +// display_name obj +// signature_documentation scala def obj: LinkedHashMap[String, Value] +// kind Method case ujson.Obj(value) => value // ^^^^^ reference semanticdb maven . . ujson/ // ^^^ reference semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/Obj. // ^^^^^ definition local 2 -// documentation ```scala\nvalue: LinkedHashMap[String, Value] \n``` +// display_name value +// signature_documentation scala value: LinkedHashMap[String, Value] +// kind Variable // ^^^^^ reference local 2 case _ => throw Value.InvalidData(this, "Expected ujson.Obj") // ^^^^^ reference semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/Value. @@ -109,11 +127,15 @@ sealed trait Value extends Readable with geny.Writable{ */ def objOpt = this match{ // ^^^^^^ definition semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/Value#objOpt(). -// documentation ```scala\ndef objOpt: Option[LinkedHashMap[String, Value]]\n``` +// display_name objOpt +// signature_documentation scala def objOpt: Option[LinkedHashMap[String, Value]] +// kind Method case Obj(value) => Some(value) // ^^^ reference semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/Obj. // ^^^^^ definition local 3 -// documentation ```scala\nvalue: LinkedHashMap[String, Value] \n``` +// display_name value +// signature_documentation scala value: LinkedHashMap[String, Value] +// kind Variable // ^^^^ reference semanticdb maven maven/org.scala-lang/scala-library 2.13.13 scala/Some. // ^^^^^ reference local 3 case _ => None @@ -125,12 +147,16 @@ sealed trait Value extends Readable with geny.Writable{ */ def arr = this match{ // ^^^ definition semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/Value#arr(). -// documentation ```scala\ndef arr: ArrayBuffer[Value]\n``` +// display_name arr +// signature_documentation scala def arr: ArrayBuffer[Value] +// kind Method case ujson.Arr(value) => value // ^^^^^ reference semanticdb maven . . ujson/ // ^^^ reference semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/Arr. // ^^^^^ definition local 4 -// documentation ```scala\nvalue: ArrayBuffer[Value] \n``` +// display_name value +// signature_documentation scala value: ArrayBuffer[Value] +// kind Variable // ^^^^^ reference local 4 case _ => throw Value.InvalidData(this, "Expected ujson.Arr") // ^^^^^ reference semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/Value. @@ -141,11 +167,15 @@ sealed trait Value extends Readable with geny.Writable{ */ def arrOpt = this match{ // ^^^^^^ definition semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/Value#arrOpt(). -// documentation ```scala\ndef arrOpt: Option[ArrayBuffer[Value]]\n``` +// display_name arrOpt +// signature_documentation scala def arrOpt: Option[ArrayBuffer[Value]] +// kind Method case Arr(value) => Some(value) // ^^^ reference semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/Arr. // ^^^^^ definition local 5 -// documentation ```scala\nvalue: ArrayBuffer[Value] \n``` +// display_name value +// signature_documentation scala value: ArrayBuffer[Value] +// kind Variable // ^^^^ reference semanticdb maven maven/org.scala-lang/scala-library 2.13.13 scala/Some. // ^^^^^ reference local 5 case _ => None @@ -157,12 +187,16 @@ sealed trait Value extends Readable with geny.Writable{ */ def num = this match{ // ^^^ definition semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/Value#num(). -// documentation ```scala\ndef num: Double\n``` +// display_name num +// signature_documentation scala def num: Double +// kind Method case ujson.Num(value) => value // ^^^^^ reference semanticdb maven . . ujson/ // ^^^ reference semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/Num. // ^^^^^ definition local 6 -// documentation ```scala\nvalue: Double \n``` +// display_name value +// signature_documentation scala value: Double +// kind Variable // ^^^^^ reference local 6 case _ => throw Value.InvalidData(this, "Expected ujson.Num") // ^^^^^ reference semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/Value. @@ -173,11 +207,15 @@ sealed trait Value extends Readable with geny.Writable{ */ def numOpt = this match{ // ^^^^^^ definition semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/Value#numOpt(). -// documentation ```scala\ndef numOpt: Option[Double]\n``` +// display_name numOpt +// signature_documentation scala def numOpt: Option[Double] +// kind Method case Num(value) => Some(value) // ^^^ reference semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/Num. // ^^^^^ definition local 7 -// documentation ```scala\nvalue: Double \n``` +// display_name value +// signature_documentation scala value: Double +// kind Variable // ^^^^ reference semanticdb maven maven/org.scala-lang/scala-library 2.13.13 scala/Some. // ^^^^^ reference local 7 case _ => None @@ -189,12 +227,16 @@ sealed trait Value extends Readable with geny.Writable{ */ def bool = this match{ // ^^^^ definition semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/Value#bool(). -// documentation ```scala\ndef bool: Boolean\n``` +// display_name bool +// signature_documentation scala def bool: Boolean +// kind Method case ujson.Bool(value) => value // ^^^^^ reference semanticdb maven . . ujson/ // ^^^^ reference semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/Bool. // ^^^^^ definition local 8 -// documentation ```scala\nvalue: Boolean \n``` +// display_name value +// signature_documentation scala value: Boolean +// kind Variable // ^^^^^ reference local 8 case _ => throw Value.InvalidData(this, "Expected ujson.Bool") // ^^^^^ reference semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/Value. @@ -205,11 +247,15 @@ sealed trait Value extends Readable with geny.Writable{ */ def boolOpt = this match{ // ^^^^^^^ definition semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/Value#boolOpt(). -// documentation ```scala\ndef boolOpt: Option[Boolean]\n``` +// display_name boolOpt +// signature_documentation scala def boolOpt: Option[Boolean] +// kind Method case Bool(value) => Some(value) // ^^^^ reference semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/Bool. // ^^^^^ definition local 9 -// documentation ```scala\nvalue: Boolean \n``` +// display_name value +// signature_documentation scala value: Boolean +// kind Variable // ^^^^ reference semanticdb maven maven/org.scala-lang/scala-library 2.13.13 scala/Some. // ^^^^^ reference local 9 case _ => None @@ -220,7 +266,9 @@ sealed trait Value extends Readable with geny.Writable{ */ def isNull = this match { // ^^^^^^ definition semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/Value#isNull(). -// documentation ```scala\ndef isNull: Boolean\n``` +// display_name isNull +// signature_documentation scala def isNull: Boolean +// kind Method case ujson.Null => true // ^^^^^ reference semanticdb maven . . ujson/ // ^^^^ reference semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/Null. @@ -229,22 +277,32 @@ sealed trait Value extends Readable with geny.Writable{ def apply(s: Value.Selector): Value = s(this) // ^^^^^ definition semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/Value#apply(). -// documentation ```scala\ndef apply(s: Selector): Value\n``` +// display_name apply +// signature_documentation scala def apply(s: Selector): Value +// kind Method // ^ definition semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/Value#apply().(s) -// documentation ```scala\ns: Selector \n``` +// display_name s +// signature_documentation scala s: Selector +// kind Parameter // ^^^^^ reference semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/Value. // ^^^^^^^^ reference semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/Value.Selector# // ^^^^^ reference semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/Value# // ^ reference semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/Value#apply().(s) def update(s: Value.Selector, v: Value): Unit = s(this) = v // ^^^^^^ definition semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/Value#update(). -// documentation ```scala\ndef update(s: Selector, v: Value): Unit\n``` +// display_name update +// signature_documentation scala def update(s: Selector, v: Value): Unit +// kind Method // ^ definition semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/Value#update().(s) -// documentation ```scala\ns: Selector \n``` +// display_name s +// signature_documentation scala s: Selector +// kind Parameter // ^^^^^ reference semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/Value. // ^^^^^^^^ reference semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/Value.Selector# // ^ definition semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/Value#update().(v) -// documentation ```scala\nv: Value \n``` +// display_name v +// signature_documentation scala v: Value +// kind Parameter // ^^^^^ reference semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/Value# // ^^^^ reference semanticdb maven maven/org.scala-lang/scala-library 2.13.13 scala/Unit# // ^ reference semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/Value#update().(s) @@ -259,13 +317,19 @@ sealed trait Value extends Readable with geny.Writable{ */ def update(s: Value.Selector, f: Value => Value): Unit = s(this) = f(s(this)) // ^^^^^^ definition semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/Value#update(+1). -// documentation ```scala\ndef update(s: Selector, f: (Value) => Value): Unit\n``` +// display_name update +// signature_documentation scala def update(s: Selector, f: (Value) => Value): Unit +// kind Method // ^ definition semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/Value#update(+1).(s) -// documentation ```scala\ns: Selector \n``` +// display_name s +// signature_documentation scala s: Selector +// kind Parameter // ^^^^^ reference semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/Value. // ^^^^^^^^ reference semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/Value.Selector# // ^ definition semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/Value#update(+1).(f) -// documentation ```scala\nf: (Value) => Value \n``` +// display_name f +// signature_documentation scala f: (Value) => Value +// kind Parameter // ^^^^^ reference semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/Value# // ^^^^^ reference semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/Value# // ^^^^ reference semanticdb maven maven/org.scala-lang/scala-library 2.13.13 scala/Unit# @@ -275,12 +339,18 @@ sealed trait Value extends Readable with geny.Writable{ def transform[T](f: Visitor[_, T]) = Value.transform(this, f) // ^^^^^^^^^ definition semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/Value#transform(). -// documentation ```scala\ndef transform(f: Visitor[local10, T[): T\n``` +// display_name transform +// signature_documentation scala def transform(f: Visitor[local10, T[): T +// kind Method // relationship is_reference is_implementation semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/Readable#transform(). // ^ definition semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/Value#transform().[T] -// documentation ```scala\nT\n``` +// display_name T +// signature_documentation scala T +// kind TypeParameter // ^ definition semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/Value#transform().(f) -// documentation ```scala\nf: Visitor[local10, T[ \n``` +// display_name f +// signature_documentation scala f: Visitor[local10, T[ +// kind Parameter // ^^^^^^^ reference semanticdb maven maven/com.lihaoyi/upickle-core_2.13 1.4.0 upickle/core/Visitor# // ^ reference semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/Value#transform().[T] // ^^^^^ reference semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/Value. @@ -288,18 +358,26 @@ sealed trait Value extends Readable with geny.Writable{ // ^ reference semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/Value#transform().(f) override def toString = render() // ^^^^^^^^ definition semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/Value#toString(). -// documentation ```scala\ndef toString(): String\n``` +// display_name toString +// signature_documentation scala def toString(): String +// kind Method // relationship is_reference is_implementation semanticdb maven . . scala/Any#toString(). // relationship is_reference is_implementation semanticdb maven jdk 11 java/lang/Object#toString(). // ^^^^^^ reference semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/Value#render(). def render(indent: Int = -1, escapeUnicode: Boolean = false) = this.transform(StringRenderer(indent, escapeUnicode)).toString // ^^^^^^ definition semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/Value#render(). -// documentation ```scala\ndef render(indent: Int, escapeUnicode: Boolean): String\n``` +// display_name render +// signature_documentation scala def render(indent: Int, escapeUnicode: Boolean): String +// kind Method // ^^^^^^ definition semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/Value#render().(indent) -// documentation ```scala\ndefault indent: Int \n``` +// display_name indent +// signature_documentation scala default indent: Int +// kind Parameter // ^^^ reference semanticdb maven maven/org.scala-lang/scala-library 2.13.13 scala/Int# // ^^^^^^^^^^^^^ definition semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/Value#render().(escapeUnicode) -// documentation ```scala\ndefault escapeUnicode: Boolean \n``` +// display_name escapeUnicode +// signature_documentation scala default escapeUnicode: Boolean +// kind Parameter // ^^^^^^^ reference semanticdb maven maven/org.scala-lang/scala-library 2.13.13 scala/Boolean# // ^^^^^^^^^ reference semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/Value#transform(). // ^^^^^^^^^^^^^^ reference semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/StringRenderer. @@ -309,17 +387,25 @@ sealed trait Value extends Readable with geny.Writable{ def writeBytesTo(out: java.io.OutputStream, indent: Int = -1, escapeUnicode: Boolean = false): Unit = { // ^^^^^^^^^^^^ definition semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/Value#writeBytesTo(). -// documentation ```scala\ndef writeBytesTo(out: OutputStream, indent: Int, escapeUnicode: Boolean): Unit\n``` +// display_name writeBytesTo +// signature_documentation scala def writeBytesTo(out: OutputStream, indent: Int, escapeUnicode: Boolean): Unit +// kind Method // ^^^ definition semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/Value#writeBytesTo().(out) -// documentation ```scala\nout: OutputStream \n``` +// display_name out +// signature_documentation scala out: OutputStream +// kind Parameter // ^^^^ reference semanticdb maven . . java/ // ^^ reference semanticdb maven . . java/io/ // ^^^^^^^^^^^^ reference semanticdb maven jdk 11 java/io/OutputStream# // ^^^^^^ definition semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/Value#writeBytesTo().(indent) -// documentation ```scala\ndefault indent: Int \n``` +// display_name indent +// signature_documentation scala default indent: Int +// kind Parameter // ^^^ reference semanticdb maven maven/org.scala-lang/scala-library 2.13.13 scala/Int# // ^^^^^^^^^^^^^ definition semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/Value#writeBytesTo().(escapeUnicode) -// documentation ```scala\ndefault escapeUnicode: Boolean \n``` +// display_name escapeUnicode +// signature_documentation scala default escapeUnicode: Boolean +// kind Parameter // ^^^^^^^ reference semanticdb maven maven/org.scala-lang/scala-library 2.13.13 scala/Boolean# // ^^^^ reference semanticdb maven maven/org.scala-lang/scala-library 2.13.13 scala/Unit# this.transform(new ujson.BaseByteRenderer(out, indent, escapeUnicode)) @@ -333,10 +419,14 @@ sealed trait Value extends Readable with geny.Writable{ } def writeBytesTo(out: java.io.OutputStream): Unit = writeBytesTo(out, -1, false) // ^^^^^^^^^^^^ definition semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/Value#writeBytesTo(+1). -// documentation ```scala\ndef writeBytesTo(out: OutputStream): Unit\n``` +// display_name writeBytesTo +// signature_documentation scala def writeBytesTo(out: OutputStream): Unit +// kind Method // relationship is_reference is_implementation semanticdb maven maven/com.lihaoyi/geny_2.13 0.6.10 geny/Writable#writeBytesTo(). // ^^^ definition semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/Value#writeBytesTo(+1).(out) -// documentation ```scala\nout: OutputStream \n``` +// display_name out +// signature_documentation scala out: OutputStream +// kind Parameter // ^^^^ reference semanticdb maven . . java/ // ^^ reference semanticdb maven . . java/io/ // ^^^^^^^^^^^^ reference semanticdb maven jdk 11 java/io/OutputStream# @@ -353,63 +443,93 @@ sealed trait Value extends Readable with geny.Writable{ */ object Value extends AstTransformer[Value]{ // ^^^^^ definition semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/Value. -// documentation ```scala\nobject Value\n``` +// display_name Value +// signature_documentation scala object Value +// kind Object // ^^^^^^^^^^^^^^ reference semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/AstTransformer# // ^^^^^ reference semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/Value# // ^ reference semanticdb maven jdk 11 java/lang/Object#``(). type Value = ujson.Value // ^^^^^ definition semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/Value.Value# -// documentation ```scala\ntype Value >: Value <: Value\n``` +// display_name Value +// signature_documentation scala type Value >: Value <: Value +// kind Type // ^^^^^ reference semanticdb maven . . ujson/ // ^^^^^ reference semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/Value# sealed trait Selector{ // ^^^^^^^^ definition semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/Value.Selector# -// documentation ```scala\nsealed trait Selector\n``` +// display_name Selector +// signature_documentation scala sealed trait Selector +// kind Trait def apply(x: Value): Value // ^^^^^ definition semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/Value.Selector#apply(). -// documentation ```scala\ndef apply(x: Value): Value\n``` +// display_name apply +// signature_documentation scala def apply(x: Value): Value +// kind AbstractMethod // relationship is_reference is_implementation semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/Value.Selector.IntSelector#apply(). // relationship is_reference is_implementation semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/Value.Selector.StringSelector#apply(). // ^ definition semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/Value.Selector#apply().(x) -// documentation ```scala\nx: Value \n``` +// display_name x +// signature_documentation scala x: Value +// kind Parameter // ^^^^^ reference semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/Value.Value# // ^^^^^ reference semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/Value.Value# def update(x: Value, y: Value): Unit // ^^^^^^ definition semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/Value.Selector#update(). -// documentation ```scala\ndef update(x: Value, y: Value): Unit\n``` +// display_name update +// signature_documentation scala def update(x: Value, y: Value): Unit +// kind AbstractMethod // relationship is_reference is_implementation semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/Value.Selector.IntSelector#update(). // relationship is_reference is_implementation semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/Value.Selector.StringSelector#update(). // ^ definition semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/Value.Selector#update().(x) -// documentation ```scala\nx: Value \n``` +// display_name x +// signature_documentation scala x: Value +// kind Parameter // ^^^^^ reference semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/Value.Value# // ^ definition semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/Value.Selector#update().(y) -// documentation ```scala\ny: Value \n``` +// display_name y +// signature_documentation scala y: Value +// kind Parameter // ^^^^^ reference semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/Value.Value# // ^^^^ reference semanticdb maven maven/org.scala-lang/scala-library 2.13.13 scala/Unit# } object Selector{ // ^^^^^^^^ definition semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/Value.Selector. -// documentation ```scala\nobject Selector\n``` +// display_name Selector +// signature_documentation scala object Selector +// kind Object implicit class IntSelector(i: Int) extends Selector{ // ^^^^^^^^^^^ definition semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/Value.Selector.IntSelector# -// documentation ```scala\nimplicit class IntSelector\n``` +// display_name IntSelector +// signature_documentation scala implicit class IntSelector +// kind Class // ^ definition semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/Value.Selector.IntSelector#``(). -// documentation ```scala\ndef this(i: Int)\n``` +// display_name +// signature_documentation scala def this(i: Int) +// kind Constructor // ^ definition semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/Value.Selector.IntSelector#i. -// documentation ```scala\nprivate[this] val i: Int\n``` +// display_name i +// signature_documentation scala private[this] val i: Int +// kind Method // relationship is_reference semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/Value.Selector.IntSelector#``().(i) // _ synthetic_definition semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/Value.Selector.IntSelector#``().(i) -// documentation ```scala\ni: Int \n``` +// display_name i +// signature_documentation scala i: Int +// kind Parameter // relationship is_reference is_definition semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/Value.Selector.IntSelector#i. // ^^^ reference semanticdb maven maven/org.scala-lang/scala-library 2.13.13 scala/Int# // ^^^^^^^^ reference semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/Value.Selector# // ^ reference semanticdb maven jdk 11 java/lang/Object#``(). def apply(x: Value): Value = x.arr(i) // ^^^^^ definition semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/Value.Selector.IntSelector#apply(). -// documentation ```scala\ndef apply(x: Value): Value\n``` +// display_name apply +// signature_documentation scala def apply(x: Value): Value +// kind Method // relationship is_reference is_implementation semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/Value.Selector#apply(). // ^ definition semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/Value.Selector.IntSelector#apply().(x) -// documentation ```scala\nx: Value \n``` +// display_name x +// signature_documentation scala x: Value +// kind Parameter // ^^^^^ reference semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/Value.Value# // ^^^^^ reference semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/Value.Value# // ^ reference semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/Value.Selector.IntSelector#apply().(x) @@ -417,13 +537,19 @@ object Value extends AstTransformer[Value]{ // ^ reference semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/Value.Selector.IntSelector#i. def update(x: Value, y: Value) = x.arr(i) = y // ^^^^^^ definition semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/Value.Selector.IntSelector#update(). -// documentation ```scala\ndef update(x: Value, y: Value): Unit\n``` +// display_name update +// signature_documentation scala def update(x: Value, y: Value): Unit +// kind Method // relationship is_reference is_implementation semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/Value.Selector#update(). // ^ definition semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/Value.Selector.IntSelector#update().(x) -// documentation ```scala\nx: Value \n``` +// display_name x +// signature_documentation scala x: Value +// kind Parameter // ^^^^^ reference semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/Value.Value# // ^ definition semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/Value.Selector.IntSelector#update().(y) -// documentation ```scala\ny: Value \n``` +// display_name y +// signature_documentation scala y: Value +// kind Parameter // ^^^^^ reference semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/Value.Value# // ^ reference semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/Value.Selector.IntSelector#update().(x) // ^^^ reference semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/Value#arr(). @@ -432,24 +558,36 @@ object Value extends AstTransformer[Value]{ } implicit class StringSelector(i: String) extends Selector{ // ^^^^^^^^^^^^^^ definition semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/Value.Selector.StringSelector# -// documentation ```scala\nimplicit class StringSelector\n``` +// display_name StringSelector +// signature_documentation scala implicit class StringSelector +// kind Class // ^ definition semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/Value.Selector.StringSelector#``(). -// documentation ```scala\ndef this(i: String)\n``` +// display_name +// signature_documentation scala def this(i: String) +// kind Constructor // ^ definition semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/Value.Selector.StringSelector#i. -// documentation ```scala\nprivate[this] val i: String\n``` +// display_name i +// signature_documentation scala private[this] val i: String +// kind Method // relationship is_reference semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/Value.Selector.StringSelector#``().(i) // _ synthetic_definition semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/Value.Selector.StringSelector#``().(i) -// documentation ```scala\ni: String \n``` +// display_name i +// signature_documentation scala i: String +// kind Parameter // relationship is_reference is_definition semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/Value.Selector.StringSelector#i. // ^^^^^^ reference semanticdb maven maven/org.scala-lang/scala-library 2.13.13 scala/Predef.String# // ^^^^^^^^ reference semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/Value.Selector# // ^ reference semanticdb maven jdk 11 java/lang/Object#``(). def apply(x: Value): Value = x.obj(i) // ^^^^^ definition semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/Value.Selector.StringSelector#apply(). -// documentation ```scala\ndef apply(x: Value): Value\n``` +// display_name apply +// signature_documentation scala def apply(x: Value): Value +// kind Method // relationship is_reference is_implementation semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/Value.Selector#apply(). // ^ definition semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/Value.Selector.StringSelector#apply().(x) -// documentation ```scala\nx: Value \n``` +// display_name x +// signature_documentation scala x: Value +// kind Parameter // ^^^^^ reference semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/Value.Value# // ^^^^^ reference semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/Value.Value# // ^ reference semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/Value.Selector.StringSelector#apply().(x) @@ -457,13 +595,19 @@ object Value extends AstTransformer[Value]{ // ^ reference semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/Value.Selector.StringSelector#i. def update(x: Value, y: Value) = x.obj(i) = y // ^^^^^^ definition semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/Value.Selector.StringSelector#update(). -// documentation ```scala\ndef update(x: Value, y: Value): Unit\n``` +// display_name update +// signature_documentation scala def update(x: Value, y: Value): Unit +// kind Method // relationship is_reference is_implementation semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/Value.Selector#update(). // ^ definition semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/Value.Selector.StringSelector#update().(x) -// documentation ```scala\nx: Value \n``` +// display_name x +// signature_documentation scala x: Value +// kind Parameter // ^^^^^ reference semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/Value.Value# // ^ definition semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/Value.Selector.StringSelector#update().(y) -// documentation ```scala\ny: Value \n``` +// display_name y +// signature_documentation scala y: Value +// kind Parameter // ^^^^^ reference semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/Value.Value# // ^ reference semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/Value.Selector.StringSelector#update().(x) // ^^^ reference semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/Value#obj(). @@ -477,7 +621,9 @@ object Value extends AstTransformer[Value]{ // ^ reference semanticdb maven maven/org.scala-lang/scala-library 2.13.13 scala/deprecated#``(). val Str = ujson.Str // ^^^ definition semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/Value.Str. -// documentation ```scala\n@deprecated\nval Str: Str.type\n``` +// display_name Str +// signature_documentation scala @deprecated\nval Str: Str.type +// kind Method // ^^^^^ reference semanticdb maven . . ujson/ // ^^^ reference semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/Str. @deprecated("use ujson.Str") @@ -485,7 +631,9 @@ object Value extends AstTransformer[Value]{ // ^ reference semanticdb maven maven/org.scala-lang/scala-library 2.13.13 scala/deprecated#``(). type Str = ujson.Str // ^^^ definition semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/Value.Str# -// documentation ```scala\ntype Str >: Str <: Str\n``` +// display_name Str +// signature_documentation scala type Str >: Str <: Str +// kind Type // ^^^^^ reference semanticdb maven . . ujson/ // ^^^ reference semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/Str# @deprecated("use ujson.Obj") @@ -493,7 +641,9 @@ object Value extends AstTransformer[Value]{ // ^ reference semanticdb maven maven/org.scala-lang/scala-library 2.13.13 scala/deprecated#``(). val Obj = ujson.Obj // ^^^ definition semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/Value.Obj. -// documentation ```scala\n@deprecated\nval Obj: Obj.type\n``` +// display_name Obj +// signature_documentation scala @deprecated\nval Obj: Obj.type +// kind Method // ^^^^^ reference semanticdb maven . . ujson/ // ^^^ reference semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/Obj. @deprecated("use ujson.Obj") @@ -501,7 +651,9 @@ object Value extends AstTransformer[Value]{ // ^ reference semanticdb maven maven/org.scala-lang/scala-library 2.13.13 scala/deprecated#``(). type Obj = ujson.Obj // ^^^ definition semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/Value.Obj# -// documentation ```scala\ntype Obj >: Obj <: Obj\n``` +// display_name Obj +// signature_documentation scala type Obj >: Obj <: Obj +// kind Type // ^^^^^ reference semanticdb maven . . ujson/ // ^^^ reference semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/Obj# @deprecated("use ujson.Arr") @@ -509,7 +661,9 @@ object Value extends AstTransformer[Value]{ // ^ reference semanticdb maven maven/org.scala-lang/scala-library 2.13.13 scala/deprecated#``(). val Arr = ujson.Arr // ^^^ definition semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/Value.Arr. -// documentation ```scala\n@deprecated\nval Arr: Arr.type\n``` +// display_name Arr +// signature_documentation scala @deprecated\nval Arr: Arr.type +// kind Method // ^^^^^ reference semanticdb maven . . ujson/ // ^^^ reference semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/Arr. @deprecated("use ujson.Arr") @@ -517,7 +671,9 @@ object Value extends AstTransformer[Value]{ // ^ reference semanticdb maven maven/org.scala-lang/scala-library 2.13.13 scala/deprecated#``(). type Arr = ujson.Arr // ^^^ definition semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/Value.Arr# -// documentation ```scala\ntype Arr >: Arr <: Arr\n``` +// display_name Arr +// signature_documentation scala type Arr >: Arr <: Arr +// kind Type // ^^^^^ reference semanticdb maven . . ujson/ // ^^^ reference semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/Arr# @deprecated("use ujson.Num") @@ -525,7 +681,9 @@ object Value extends AstTransformer[Value]{ // ^ reference semanticdb maven maven/org.scala-lang/scala-library 2.13.13 scala/deprecated#``(). val Num = ujson.Num // ^^^ definition semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/Value.Num. -// documentation ```scala\n@deprecated\nval Num: Num.type\n``` +// display_name Num +// signature_documentation scala @deprecated\nval Num: Num.type +// kind Method // ^^^^^ reference semanticdb maven . . ujson/ // ^^^ reference semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/Num. @deprecated("use ujson.Num") @@ -533,7 +691,9 @@ object Value extends AstTransformer[Value]{ // ^ reference semanticdb maven maven/org.scala-lang/scala-library 2.13.13 scala/deprecated#``(). type Num = ujson.Num // ^^^ definition semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/Value.Num# -// documentation ```scala\ntype Num >: Num <: Num\n``` +// display_name Num +// signature_documentation scala type Num >: Num <: Num +// kind Type // ^^^^^ reference semanticdb maven . . ujson/ // ^^^ reference semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/Num# @deprecated("use ujson.Bool") @@ -541,7 +701,9 @@ object Value extends AstTransformer[Value]{ // ^ reference semanticdb maven maven/org.scala-lang/scala-library 2.13.13 scala/deprecated#``(). val Bool = ujson.Bool // ^^^^ definition semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/Value.Bool. -// documentation ```scala\n@deprecated\nval Bool: Bool.type\n``` +// display_name Bool +// signature_documentation scala @deprecated\nval Bool: Bool.type +// kind Method // ^^^^^ reference semanticdb maven . . ujson/ // ^^^^ reference semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/Bool. @deprecated("use ujson.Bool") @@ -549,7 +711,9 @@ object Value extends AstTransformer[Value]{ // ^ reference semanticdb maven maven/org.scala-lang/scala-library 2.13.13 scala/deprecated#``(). type Bool = ujson.Bool // ^^^^ definition semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/Value.Bool# -// documentation ```scala\ntype Bool >: Bool <: Bool\n``` +// display_name Bool +// signature_documentation scala type Bool >: Bool <: Bool +// kind Type // ^^^^^ reference semanticdb maven . . ujson/ // ^^^^ reference semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/Bool# @deprecated("use ujson.True") @@ -557,7 +721,9 @@ object Value extends AstTransformer[Value]{ // ^ reference semanticdb maven maven/org.scala-lang/scala-library 2.13.13 scala/deprecated#``(). val True = ujson.True // ^^^^ definition semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/Value.True. -// documentation ```scala\n@deprecated\nval True: True.type\n``` +// display_name True +// signature_documentation scala @deprecated\nval True: True.type +// kind Method // ^^^^^ reference semanticdb maven . . ujson/ // ^^^^ reference semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/True. @deprecated("use ujson.False") @@ -565,7 +731,9 @@ object Value extends AstTransformer[Value]{ // ^ reference semanticdb maven maven/org.scala-lang/scala-library 2.13.13 scala/deprecated#``(). val False = ujson.False // ^^^^^ definition semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/Value.False. -// documentation ```scala\n@deprecated\nval False: False.type\n``` +// display_name False +// signature_documentation scala @deprecated\nval False: False.type +// kind Method // ^^^^^ reference semanticdb maven . . ujson/ // ^^^^^ reference semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/False. @deprecated("use ujson.Null") @@ -573,21 +741,31 @@ object Value extends AstTransformer[Value]{ // ^ reference semanticdb maven maven/org.scala-lang/scala-library 2.13.13 scala/deprecated#``(). val Null = ujson.Null // ^^^^ definition semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/Value.Null. -// documentation ```scala\n@deprecated\nval Null: Null.type\n``` +// display_name Null +// signature_documentation scala @deprecated\nval Null: Null.type +// kind Method // ^^^^^ reference semanticdb maven . . ujson/ // ^^^^ reference semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/Null. implicit def JsonableSeq[T](items: TraversableOnce[T]) // ^^^^^^^^^^^ definition semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/Value.JsonableSeq(). -// documentation ```scala\nimplicit def JsonableSeq(items: TraversableOnce[T])(f: (T) => Value): Arr\n``` +// display_name JsonableSeq +// signature_documentation scala implicit def JsonableSeq(items: TraversableOnce[T])(f: (T) => Value): Arr +// kind Method // ^ definition semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/Value.JsonableSeq().[T] -// documentation ```scala\nT\n``` +// display_name T +// signature_documentation scala T +// kind TypeParameter // ^^^^^ definition semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/Value.JsonableSeq().(items) -// documentation ```scala\nitems: TraversableOnce[T] \n``` +// display_name items +// signature_documentation scala items: TraversableOnce[T] +// kind Parameter // ^^^^^^^^^^^^^^^ reference semanticdb maven maven/org.scala-lang/scala-library 2.13.13 scala/package.TraversableOnce# // ^ reference semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/Value.JsonableSeq().[T] (implicit f: T => Value): Arr = Arr.from(items.map(f)) // ^ definition semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/Value.JsonableSeq().(f) -// documentation ```scala\nimplicit f: (T) => Value \n``` +// display_name f +// signature_documentation scala implicit f: (T) => Value +// kind Parameter // ^ reference semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/Value.JsonableSeq().[T] // ^^^^^ reference semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/Value.Value# // ^^^ reference semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/Value.Arr# @@ -598,17 +776,25 @@ object Value extends AstTransformer[Value]{ // ^ reference semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/Value.JsonableSeq().(f) implicit def JsonableDict[T](items: TraversableOnce[(String, T)]) // ^^^^^^^^^^^^ definition semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/Value.JsonableDict(). -// documentation ```scala\nimplicit def JsonableDict(items: TraversableOnce[(String, T)])(f: (T) => Value): Obj\n``` +// display_name JsonableDict +// signature_documentation scala implicit def JsonableDict(items: TraversableOnce[(String, T)])(f: (T) => Value): Obj +// kind Method // ^ definition semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/Value.JsonableDict().[T] -// documentation ```scala\nT\n``` +// display_name T +// signature_documentation scala T +// kind TypeParameter // ^^^^^ definition semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/Value.JsonableDict().(items) -// documentation ```scala\nitems: TraversableOnce[(String, T)] \n``` +// display_name items +// signature_documentation scala items: TraversableOnce[(String, T)] +// kind Parameter // ^^^^^^^^^^^^^^^ reference semanticdb maven maven/org.scala-lang/scala-library 2.13.13 scala/package.TraversableOnce# // ^^^^^^ reference semanticdb maven maven/org.scala-lang/scala-library 2.13.13 scala/Predef.String# // ^ reference semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/Value.JsonableDict().[T] (implicit f: T => Value): Obj = Obj.from(items.map(x => (x._1, f(x._2)))) // ^ definition semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/Value.JsonableDict().(f) -// documentation ```scala\nimplicit f: (T) => Value \n``` +// display_name f +// signature_documentation scala implicit f: (T) => Value +// kind Parameter // ^ reference semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/Value.JsonableDict().[T] // ^^^^^ reference semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/Value.Value# // ^^^ reference semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/Value.Obj# @@ -617,7 +803,9 @@ object Value extends AstTransformer[Value]{ // ^^^^^ reference semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/Value.JsonableDict().(items) // ^^^ reference semanticdb maven maven/org.scala-lang/scala-library 2.13.13 scala/collection/IterableOnceExtensionMethods#map(). // ^ definition local 11 -// documentation ```scala\nx: (String, T) \n``` +// display_name x +// signature_documentation scala x: (String, T) +// kind Parameter // ^ reference local 11 // ^^ reference semanticdb maven maven/org.scala-lang/scala-library 2.13.13 scala/Tuple2#_1. // ^ reference semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/Value.JsonableDict().(f) @@ -625,9 +813,13 @@ object Value extends AstTransformer[Value]{ // ^^ reference semanticdb maven maven/org.scala-lang/scala-library 2.13.13 scala/Tuple2#_2. implicit def JsonableBoolean(i: Boolean): Bool = if (i) ujson.True else ujson.False // ^^^^^^^^^^^^^^^ definition semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/Value.JsonableBoolean(). -// documentation ```scala\nimplicit def JsonableBoolean(i: Boolean): Bool\n``` +// display_name JsonableBoolean +// signature_documentation scala implicit def JsonableBoolean(i: Boolean): Bool +// kind Method // ^ definition semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/Value.JsonableBoolean().(i) -// documentation ```scala\ni: Boolean \n``` +// display_name i +// signature_documentation scala i: Boolean +// kind Parameter // ^^^^^^^ reference semanticdb maven maven/org.scala-lang/scala-library 2.13.13 scala/Boolean# // ^^^^ reference semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/Value.Bool# // ^ reference semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/Value.JsonableBoolean().(i) @@ -637,36 +829,52 @@ object Value extends AstTransformer[Value]{ // ^^^^^ reference semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/False. implicit def JsonableByte(i: Byte): Num = Num(i) // ^^^^^^^^^^^^ definition semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/Value.JsonableByte(). -// documentation ```scala\nimplicit def JsonableByte(i: Byte): Num\n``` +// display_name JsonableByte +// signature_documentation scala implicit def JsonableByte(i: Byte): Num +// kind Method // ^ definition semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/Value.JsonableByte().(i) -// documentation ```scala\ni: Byte \n``` +// display_name i +// signature_documentation scala i: Byte +// kind Parameter // ^^^^ reference semanticdb maven maven/org.scala-lang/scala-library 2.13.13 scala/Byte# // ^^^ reference semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/Value.Num# // ^^^ reference semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/Value.Num. // ^ reference semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/Value.JsonableByte().(i) implicit def JsonableShort(i: Short): Num = Num(i) // ^^^^^^^^^^^^^ definition semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/Value.JsonableShort(). -// documentation ```scala\nimplicit def JsonableShort(i: Short): Num\n``` +// display_name JsonableShort +// signature_documentation scala implicit def JsonableShort(i: Short): Num +// kind Method // ^ definition semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/Value.JsonableShort().(i) -// documentation ```scala\ni: Short \n``` +// display_name i +// signature_documentation scala i: Short +// kind Parameter // ^^^^^ reference semanticdb maven maven/org.scala-lang/scala-library 2.13.13 scala/Short# // ^^^ reference semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/Value.Num# // ^^^ reference semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/Value.Num. // ^ reference semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/Value.JsonableShort().(i) implicit def JsonableInt(i: Int): Num = Num(i) // ^^^^^^^^^^^ definition semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/Value.JsonableInt(). -// documentation ```scala\nimplicit def JsonableInt(i: Int): Num\n``` +// display_name JsonableInt +// signature_documentation scala implicit def JsonableInt(i: Int): Num +// kind Method // ^ definition semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/Value.JsonableInt().(i) -// documentation ```scala\ni: Int \n``` +// display_name i +// signature_documentation scala i: Int +// kind Parameter // ^^^ reference semanticdb maven maven/org.scala-lang/scala-library 2.13.13 scala/Int# // ^^^ reference semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/Value.Num# // ^^^ reference semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/Value.Num. // ^ reference semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/Value.JsonableInt().(i) implicit def JsonableLong(i: Long): Str = Str(i.toString) // ^^^^^^^^^^^^ definition semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/Value.JsonableLong(). -// documentation ```scala\nimplicit def JsonableLong(i: Long): Str\n``` +// display_name JsonableLong +// signature_documentation scala implicit def JsonableLong(i: Long): Str +// kind Method // ^ definition semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/Value.JsonableLong().(i) -// documentation ```scala\ni: Long \n``` +// display_name i +// signature_documentation scala i: Long +// kind Parameter // ^^^^ reference semanticdb maven maven/org.scala-lang/scala-library 2.13.13 scala/Long# // ^^^ reference semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/Value.Str# // ^^^ reference semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/Value.Str. @@ -674,35 +882,51 @@ object Value extends AstTransformer[Value]{ // ^^^^^^^^ reference semanticdb maven . . scala/Any#toString(). implicit def JsonableFloat(i: Float): Num = Num(i) // ^^^^^^^^^^^^^ definition semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/Value.JsonableFloat(). -// documentation ```scala\nimplicit def JsonableFloat(i: Float): Num\n``` +// display_name JsonableFloat +// signature_documentation scala implicit def JsonableFloat(i: Float): Num +// kind Method // ^ definition semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/Value.JsonableFloat().(i) -// documentation ```scala\ni: Float \n``` +// display_name i +// signature_documentation scala i: Float +// kind Parameter // ^^^^^ reference semanticdb maven maven/org.scala-lang/scala-library 2.13.13 scala/Float# // ^^^ reference semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/Value.Num# // ^^^ reference semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/Value.Num. // ^ reference semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/Value.JsonableFloat().(i) implicit def JsonableDouble(i: Double): Num = Num(i) // ^^^^^^^^^^^^^^ definition semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/Value.JsonableDouble(). -// documentation ```scala\nimplicit def JsonableDouble(i: Double): Num\n``` +// display_name JsonableDouble +// signature_documentation scala implicit def JsonableDouble(i: Double): Num +// kind Method // ^ definition semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/Value.JsonableDouble().(i) -// documentation ```scala\ni: Double \n``` +// display_name i +// signature_documentation scala i: Double +// kind Parameter // ^^^^^^ reference semanticdb maven maven/org.scala-lang/scala-library 2.13.13 scala/Double# // ^^^ reference semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/Value.Num# // ^^^ reference semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/Value.Num. // ^ reference semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/Value.JsonableDouble().(i) implicit def JsonableNull(i: Null): Null.type = Null // ^^^^^^^^^^^^ definition semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/Value.JsonableNull(). -// documentation ```scala\nimplicit def JsonableNull(i: Null): Null.type\n``` +// display_name JsonableNull +// signature_documentation scala implicit def JsonableNull(i: Null): Null.type +// kind Method // ^ definition semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/Value.JsonableNull().(i) -// documentation ```scala\ni: Null \n``` +// display_name i +// signature_documentation scala i: Null +// kind Parameter // ^^^^ reference semanticdb maven . . scala/Null# // ^^^^ reference semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/Value.Null. // ^^^^ reference semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/Value.Null. implicit def JsonableString(s: CharSequence): Str = Str(s.toString) // ^^^^^^^^^^^^^^ definition semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/Value.JsonableString(). -// documentation ```scala\nimplicit def JsonableString(s: CharSequence): Str\n``` +// display_name JsonableString +// signature_documentation scala implicit def JsonableString(s: CharSequence): Str +// kind Method // ^ definition semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/Value.JsonableString().(s) -// documentation ```scala\ns: CharSequence \n``` +// display_name s +// signature_documentation scala s: CharSequence +// kind Parameter // ^^^^^^^^^^^^ reference semanticdb maven jdk 11 java/lang/CharSequence# // ^^^ reference semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/Value.Str# // ^^^ reference semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/Value.Str. @@ -712,15 +936,23 @@ object Value extends AstTransformer[Value]{ def transform[T](j: Value, f: Visitor[_, T]): T = { // ^^^^^^^^^ definition semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/Value.transform(). -// documentation ```scala\ndef transform(j: Value, f: Visitor[local12, T[): T\n``` +// display_name transform +// signature_documentation scala def transform(j: Value, f: Visitor[local12, T[): T +// kind Method // relationship is_reference is_implementation semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/Transformer#transform(). // ^ definition semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/Value.transform().[T] -// documentation ```scala\nT\n``` +// display_name T +// signature_documentation scala T +// kind TypeParameter // ^ definition semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/Value.transform().(j) -// documentation ```scala\nj: Value \n``` +// display_name j +// signature_documentation scala j: Value +// kind Parameter // ^^^^^ reference semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/Value.Value# // ^ definition semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/Value.transform().(f) -// documentation ```scala\nf: Visitor[local12, T[ \n``` +// display_name f +// signature_documentation scala f: Visitor[local12, T[ +// kind Parameter // ^^^^^^^ reference semanticdb maven maven/com.lihaoyi/upickle-core_2.13 1.4.0 upickle/core/Visitor# // ^ reference semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/Value.transform().[T] // ^ reference semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/Value.transform().[T] @@ -745,7 +977,9 @@ object Value extends AstTransformer[Value]{ // ^^^^^ reference semanticdb maven . . ujson/ // ^^^ reference semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/Str. // ^ definition local 13 -// documentation ```scala\ns: String \n``` +// display_name s +// signature_documentation scala s: String +// kind Variable // ^ reference semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/Value.transform().(f) // ^^^^^^^^^^^ reference semanticdb maven maven/com.lihaoyi/upickle-core_2.13 1.4.0 upickle/core/Visitor#visitString(). // ^ reference local 13 @@ -753,7 +987,9 @@ object Value extends AstTransformer[Value]{ // ^^^^^ reference semanticdb maven . . ujson/ // ^^^ reference semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/Num. // ^ definition local 14 -// documentation ```scala\nd: Double \n``` +// display_name d +// signature_documentation scala d: Double +// kind Variable // ^ reference semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/Value.transform().(f) // ^^^^^^^^^^^^ reference semanticdb maven maven/com.lihaoyi/upickle-core_2.13 1.4.0 upickle/core/Visitor#visitFloat64(). // ^ reference local 14 @@ -761,7 +997,9 @@ object Value extends AstTransformer[Value]{ // ^^^^^ reference semanticdb maven . . ujson/ // ^^^ reference semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/Arr. // ^^^^^ definition local 15 -// documentation ```scala\nitems: ArrayBuffer[Value] \n``` +// display_name items +// signature_documentation scala items: ArrayBuffer[Value] +// kind Variable // ^^^^^^^^^^^^^^ reference semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/AstTransformer#transformArray(). // ^ reference semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/Value.transform().(f) // ^^^^^ reference local 15 @@ -769,7 +1007,9 @@ object Value extends AstTransformer[Value]{ // ^^^^^ reference semanticdb maven . . ujson/ // ^^^ reference semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/Obj. // ^^^^^ definition local 16 -// documentation ```scala\nitems: LinkedHashMap[String, Value] \n``` +// display_name items +// signature_documentation scala items: LinkedHashMap[String, Value] +// kind Variable // ^^^^^^^^^^^^^^^ reference semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/AstTransformer#transformObject(). // ^ reference semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/Value.transform().(f) // ^^^^^ reference local 16 @@ -778,32 +1018,46 @@ object Value extends AstTransformer[Value]{ def visitArray(length: Int, index: Int) = new AstArrVisitor[ArrayBuffer](xs => ujson.Arr(xs)) // ^^^^^^^^^^ definition semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/Value.visitArray(). -// documentation ```scala\ndef visitArray(length: Int, index: Int): AstArrVisitor[ArrayBuffer]\n``` +// display_name visitArray +// signature_documentation scala def visitArray(length: Int, index: Int): AstArrVisitor[ArrayBuffer] +// kind Method // relationship is_reference is_implementation semanticdb maven maven/com.lihaoyi/upickle-core_2.13 1.4.0 upickle/core/Visitor#visitArray(). // ^^^^^^ definition semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/Value.visitArray().(length) -// documentation ```scala\nlength: Int \n``` +// display_name length +// signature_documentation scala length: Int +// kind Parameter // ^^^ reference semanticdb maven maven/org.scala-lang/scala-library 2.13.13 scala/Int# // ^^^^^ definition semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/Value.visitArray().(index) -// documentation ```scala\nindex: Int \n``` +// display_name index +// signature_documentation scala index: Int +// kind Parameter // ^^^ reference semanticdb maven maven/org.scala-lang/scala-library 2.13.13 scala/Int# // ^^^^^^^^^^^^^ reference semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/AstTransformer#AstArrVisitor# // ^^^^^^^^^^^ reference semanticdb maven maven/org.scala-lang/scala-library 2.13.13 scala/collection/mutable/ArrayBuffer# // ^ reference semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/AstTransformer#AstArrVisitor#``(). // ^^ definition local 17 -// documentation ```scala\nxs: ArrayBuffer[Value] \n``` +// display_name xs +// signature_documentation scala xs: ArrayBuffer[Value] +// kind Parameter // ^^^^^ reference semanticdb maven . . ujson/ // ^^^ reference semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/Arr. // ^^ reference local 17 def visitObject(length: Int, index: Int) = new AstObjVisitor[mutable.LinkedHashMap[String, Value]](xs => ujson.Obj(xs)) // ^^^^^^^^^^^ definition semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/Value.visitObject(). -// documentation ```scala\ndef visitObject(length: Int, index: Int): AstObjVisitor[LinkedHashMap[String, Value]]\n``` +// display_name visitObject +// signature_documentation scala def visitObject(length: Int, index: Int): AstObjVisitor[LinkedHashMap[String, Value]] +// kind Method // relationship is_reference is_implementation semanticdb maven maven/com.lihaoyi/upickle-core_2.13 1.4.0 upickle/core/Visitor#visitObject(). // ^^^^^^ definition semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/Value.visitObject().(length) -// documentation ```scala\nlength: Int \n``` +// display_name length +// signature_documentation scala length: Int +// kind Parameter // ^^^ reference semanticdb maven maven/org.scala-lang/scala-library 2.13.13 scala/Int# // ^^^^^ definition semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/Value.visitObject().(index) -// documentation ```scala\nindex: Int \n``` +// display_name index +// signature_documentation scala index: Int +// kind Parameter // ^^^ reference semanticdb maven maven/org.scala-lang/scala-library 2.13.13 scala/Int# // ^^^^^^^^^^^^^ reference semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/AstTransformer#AstObjVisitor# // ^^^^^^^ reference semanticdb maven . . scala/collection/mutable/ @@ -812,56 +1066,80 @@ object Value extends AstTransformer[Value]{ // ^^^^^ reference semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/Value.Value# // ^ reference semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/AstTransformer#AstObjVisitor#``(). // ^^ definition local 18 -// documentation ```scala\nxs: LinkedHashMap[String, Value] \n``` +// display_name xs +// signature_documentation scala xs: LinkedHashMap[String, Value] +// kind Parameter // ^^^^^ reference semanticdb maven . . ujson/ // ^^^ reference semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/Obj. // ^^ reference local 18 def visitNull(index: Int) = ujson.Null // ^^^^^^^^^ definition semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/Value.visitNull(). -// documentation ```scala\ndef visitNull(index: Int): Null\n``` +// display_name visitNull +// signature_documentation scala def visitNull(index: Int): Null +// kind Method // relationship is_reference is_implementation semanticdb maven maven/com.lihaoyi/upickle-core_2.13 1.4.0 upickle/core/Visitor#visitNull(). // ^^^^^ definition semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/Value.visitNull().(index) -// documentation ```scala\nindex: Int \n``` +// display_name index +// signature_documentation scala index: Int +// kind Parameter // ^^^ reference semanticdb maven maven/org.scala-lang/scala-library 2.13.13 scala/Int# // ^^^^^ reference semanticdb maven . . ujson/ // ^^^^ reference semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/Null. def visitFalse(index: Int) = ujson.False // ^^^^^^^^^^ definition semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/Value.visitFalse(). -// documentation ```scala\ndef visitFalse(index: Int): False\n``` +// display_name visitFalse +// signature_documentation scala def visitFalse(index: Int): False +// kind Method // relationship is_reference is_implementation semanticdb maven maven/com.lihaoyi/upickle-core_2.13 1.4.0 upickle/core/Visitor#visitFalse(). // ^^^^^ definition semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/Value.visitFalse().(index) -// documentation ```scala\nindex: Int \n``` +// display_name index +// signature_documentation scala index: Int +// kind Parameter // ^^^ reference semanticdb maven maven/org.scala-lang/scala-library 2.13.13 scala/Int# // ^^^^^ reference semanticdb maven . . ujson/ // ^^^^^ reference semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/False. def visitTrue(index: Int) = True // ^^^^^^^^^ definition semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/Value.visitTrue(). -// documentation ```scala\ndef visitTrue(index: Int): True\n``` +// display_name visitTrue +// signature_documentation scala def visitTrue(index: Int): True +// kind Method // relationship is_reference is_implementation semanticdb maven maven/com.lihaoyi/upickle-core_2.13 1.4.0 upickle/core/Visitor#visitTrue(). // ^^^^^ definition semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/Value.visitTrue().(index) -// documentation ```scala\nindex: Int \n``` +// display_name index +// signature_documentation scala index: Int +// kind Parameter // ^^^ reference semanticdb maven maven/org.scala-lang/scala-library 2.13.13 scala/Int# // ^^^^ reference semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/Value.True. override def visitFloat64StringParts(s: CharSequence, decIndex: Int, expIndex: Int, index: Int) = { // ^^^^^^^^^^^^^^^^^^^^^^^ definition semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/Value.visitFloat64StringParts(). -// documentation ```scala\ndef visitFloat64StringParts(s: CharSequence, decIndex: Int, expIndex: Int, index: Int): Num\n``` +// display_name visitFloat64StringParts +// signature_documentation scala def visitFloat64StringParts(s: CharSequence, decIndex: Int, expIndex: Int, index: Int): Num +// kind Method // relationship is_reference is_implementation semanticdb maven maven/com.lihaoyi/upickle-core_2.13 1.4.0 upickle/core/Visitor#visitFloat64StringParts(). // ^ definition semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/Value.visitFloat64StringParts().(s) -// documentation ```scala\ns: CharSequence \n``` +// display_name s +// signature_documentation scala s: CharSequence +// kind Parameter // ^^^^^^^^^^^^ reference semanticdb maven jdk 11 java/lang/CharSequence# // ^^^^^^^^ definition semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/Value.visitFloat64StringParts().(decIndex) -// documentation ```scala\ndecIndex: Int \n``` +// display_name decIndex +// signature_documentation scala decIndex: Int +// kind Parameter // ^^^ reference semanticdb maven maven/org.scala-lang/scala-library 2.13.13 scala/Int# // ^^^^^^^^ definition semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/Value.visitFloat64StringParts().(expIndex) -// documentation ```scala\nexpIndex: Int \n``` +// display_name expIndex +// signature_documentation scala expIndex: Int +// kind Parameter // ^^^ reference semanticdb maven maven/org.scala-lang/scala-library 2.13.13 scala/Int# // ^^^^^ definition semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/Value.visitFloat64StringParts().(index) -// documentation ```scala\nindex: Int \n``` +// display_name index +// signature_documentation scala index: Int +// kind Parameter // ^^^ reference semanticdb maven maven/org.scala-lang/scala-library 2.13.13 scala/Int# ujson.Num( // ^^^^^ reference semanticdb maven . . ujson/ @@ -887,14 +1165,20 @@ object Value extends AstTransformer[Value]{ override def visitFloat64(d: Double, index: Int) = ujson.Num(d) // ^^^^^^^^^^^^ definition semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/Value.visitFloat64(). -// documentation ```scala\ndef visitFloat64(d: Double, index: Int): Num\n``` +// display_name visitFloat64 +// signature_documentation scala def visitFloat64(d: Double, index: Int): Num +// kind Method // relationship is_reference is_implementation semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/JsVisitor#visitFloat64(). // relationship is_reference is_implementation semanticdb maven maven/com.lihaoyi/upickle-core_2.13 1.4.0 upickle/core/Visitor#visitFloat64(). // ^ definition semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/Value.visitFloat64().(d) -// documentation ```scala\nd: Double \n``` +// display_name d +// signature_documentation scala d: Double +// kind Parameter // ^^^^^^ reference semanticdb maven maven/org.scala-lang/scala-library 2.13.13 scala/Double# // ^^^^^ definition semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/Value.visitFloat64().(index) -// documentation ```scala\nindex: Int \n``` +// display_name index +// signature_documentation scala index: Int +// kind Parameter // ^^^ reference semanticdb maven maven/org.scala-lang/scala-library 2.13.13 scala/Int# // ^^^^^ reference semanticdb maven . . ujson/ // ^^^ reference semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/Num. @@ -902,13 +1186,19 @@ object Value extends AstTransformer[Value]{ def visitString(s: CharSequence, index: Int) = ujson.Str(s.toString) // ^^^^^^^^^^^ definition semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/Value.visitString(). -// documentation ```scala\ndef visitString(s: CharSequence, index: Int): Str\n``` +// display_name visitString +// signature_documentation scala def visitString(s: CharSequence, index: Int): Str +// kind Method // relationship is_reference is_implementation semanticdb maven maven/com.lihaoyi/upickle-core_2.13 1.4.0 upickle/core/Visitor#visitString(). // ^ definition semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/Value.visitString().(s) -// documentation ```scala\ns: CharSequence \n``` +// display_name s +// signature_documentation scala s: CharSequence +// kind Parameter // ^^^^^^^^^^^^ reference semanticdb maven jdk 11 java/lang/CharSequence# // ^^^^^ definition semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/Value.visitString().(index) -// documentation ```scala\nindex: Int \n``` +// display_name index +// signature_documentation scala index: Int +// kind Parameter // ^^^ reference semanticdb maven maven/org.scala-lang/scala-library 2.13.13 scala/Int# // ^^^^^ reference semanticdb maven . . ujson/ // ^^^ reference semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/Str. @@ -925,71 +1215,101 @@ object Value extends AstTransformer[Value]{ */ case class InvalidData(data: Value, msg: String) // ^^^^^^^^^^^ definition semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/Value.InvalidData# -// documentation ```scala\ncase class InvalidData(data: Value, msg: String) extends Exception\n``` +// display_name InvalidData +// signature_documentation scala case class InvalidData(data: Value, msg: String) extends Exception +// kind Class // relationship is_reference semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/Value.InvalidData. // relationship is_reference semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/Value.InvalidData.apply(). // ___________ synthetic_definition semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/Value.InvalidData#copy(). -// documentation ```scala\ndef copy(data: Value, msg: String): InvalidData\n``` +// display_name copy +// signature_documentation scala def copy(data: Value, msg: String): InvalidData +// kind Method // relationship is_definition semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/Value.InvalidData# // relationship is_reference semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/Value.InvalidData.apply(). // ___________ synthetic_definition semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/Value.InvalidData. -// documentation ```scala\nobject InvalidData\n``` +// display_name InvalidData +// signature_documentation scala object InvalidData +// kind Object // relationship is_definition semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/Value.InvalidData# // relationship is_reference semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/Value.InvalidData.apply(). // ___________ synthetic_definition semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/Value.InvalidData.apply(). -// documentation ```scala\ndef apply(data: Value, msg: String): InvalidData\n``` +// display_name apply +// signature_documentation scala def apply(data: Value, msg: String): InvalidData +// kind Method // relationship is_definition semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/Value.InvalidData# // relationship is_reference is_implementation semanticdb maven maven/org.scala-lang/scala-library 2.13.13 scala/Function2#apply(). // ___________ synthetic_definition semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/Value.InvalidData#productElementName(). -// documentation ```scala\ndef productElementName(x$1: Int): String\n``` +// display_name productElementName +// signature_documentation scala def productElementName(x$1: Int): String +// kind Method // relationship is_definition semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/Value.InvalidData# // relationship is_reference semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/Value.InvalidData.apply(). // relationship is_reference is_implementation semanticdb maven maven/org.scala-lang/scala-library 2.13.13 scala/Product#productElementName(). // ___________ synthetic_definition semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/Value.InvalidData#productElement(). -// documentation ```scala\ndef productElement(x$1: Int): Any\n``` +// display_name productElement +// signature_documentation scala def productElement(x$1: Int): Any +// kind Method // relationship is_definition semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/Value.InvalidData# // relationship is_reference semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/Value.InvalidData.apply(). // relationship is_reference is_implementation semanticdb maven maven/org.scala-lang/scala-library 2.13.13 scala/Product#productElement(). // ^ definition semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/Value.InvalidData#``(). -// documentation ```scala\ndef this(data: Value, msg: String)\n``` +// display_name +// signature_documentation scala def this(data: Value, msg: String) +// kind Constructor // ^^^^ definition semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/Value.InvalidData#data. -// documentation ```scala\nval data: Value\n``` +// display_name data +// signature_documentation scala val data: Value +// kind Method // relationship is_reference semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/Value.InvalidData#``().(data) // relationship is_reference semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/Value.InvalidData#copy().(data) // relationship is_reference semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/Value.InvalidData.apply().(data) // ____ synthetic_definition semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/Value.InvalidData.apply().(data) -// documentation ```scala\ndata: Value \n``` +// display_name data +// signature_documentation scala data: Value +// kind Parameter // relationship is_reference semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/Value.InvalidData#``().(data) // relationship is_reference semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/Value.InvalidData#copy().(data) // relationship is_reference is_definition semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/Value.InvalidData#data. // ____ synthetic_definition semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/Value.InvalidData#``().(data) -// documentation ```scala\ndata: Value \n``` +// display_name data +// signature_documentation scala data: Value +// kind Parameter // relationship is_reference semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/Value.InvalidData#copy().(data) // relationship is_reference is_definition semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/Value.InvalidData#data. // relationship is_reference semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/Value.InvalidData.apply().(data) // ____ synthetic_definition semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/Value.InvalidData#copy().(data) -// documentation ```scala\ndefault data: Value \n``` +// display_name data +// signature_documentation scala default data: Value +// kind Parameter // relationship is_reference semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/Value.InvalidData#``().(data) // relationship is_reference is_definition semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/Value.InvalidData#data. // relationship is_reference semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/Value.InvalidData.apply().(data) // ^^^^^ reference semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/Value.Value# // ^^^ definition semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/Value.InvalidData#msg. -// documentation ```scala\nval msg: String\n``` +// display_name msg +// signature_documentation scala val msg: String +// kind Method // relationship is_reference semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/Value.InvalidData#``().(msg) // relationship is_reference semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/Value.InvalidData#copy().(msg) // relationship is_reference semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/Value.InvalidData.apply().(msg) // ___ synthetic_definition semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/Value.InvalidData#``().(msg) -// documentation ```scala\nmsg: String \n``` +// display_name msg +// signature_documentation scala msg: String +// kind Parameter // relationship is_reference semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/Value.InvalidData#copy().(msg) // relationship is_reference is_definition semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/Value.InvalidData#msg. // relationship is_reference semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/Value.InvalidData.apply().(msg) // ___ synthetic_definition semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/Value.InvalidData#copy().(msg) -// documentation ```scala\ndefault msg: String \n``` +// display_name msg +// signature_documentation scala default msg: String +// kind Parameter // relationship is_reference semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/Value.InvalidData#``().(msg) // relationship is_reference is_definition semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/Value.InvalidData#msg. // relationship is_reference semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/Value.InvalidData.apply().(msg) // ___ synthetic_definition semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/Value.InvalidData.apply().(msg) -// documentation ```scala\nmsg: String \n``` +// display_name msg +// signature_documentation scala msg: String +// kind Parameter // relationship is_reference semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/Value.InvalidData#``().(msg) // relationship is_reference semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/Value.InvalidData#copy().(msg) // relationship is_reference is_definition semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/Value.InvalidData#msg. @@ -1004,51 +1324,73 @@ object Value extends AstTransformer[Value]{ case class Str(value: String) extends Value // ^^^ definition semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/Str# -// documentation ```scala\ncase class Str(value: String) extends Value\n``` +// display_name Str +// signature_documentation scala case class Str(value: String) extends Value +// kind Class // relationship is_reference semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/Str. // relationship is_reference semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/Str.apply(). // ___ synthetic_definition semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/Str#productElement(). -// documentation ```scala\ndef productElement(x$1: Int): Any\n``` +// display_name productElement +// signature_documentation scala def productElement(x$1: Int): Any +// kind Method // relationship is_definition semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/Str# // relationship is_reference semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/Str.apply(). // relationship is_reference is_implementation semanticdb maven maven/org.scala-lang/scala-library 2.13.13 scala/Product#productElement(). // ___ synthetic_definition semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/Str#copy(). -// documentation ```scala\ndef copy(value: String): Str\n``` +// display_name copy +// signature_documentation scala def copy(value: String): Str +// kind Method // relationship is_definition semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/Str# // relationship is_reference semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/Str.apply(). // ___ synthetic_definition semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/Str. -// documentation ```scala\nobject Str\n``` +// display_name Str +// signature_documentation scala object Str +// kind Object // relationship is_definition semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/Str# // relationship is_reference semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/Str.apply(). // ___ synthetic_definition semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/Str#productElementName(). -// documentation ```scala\ndef productElementName(x$1: Int): String\n``` +// display_name productElementName +// signature_documentation scala def productElementName(x$1: Int): String +// kind Method // relationship is_definition semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/Str# // relationship is_reference semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/Str.apply(). // relationship is_reference is_implementation semanticdb maven maven/org.scala-lang/scala-library 2.13.13 scala/Product#productElementName(). // ___ synthetic_definition semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/Str.apply(). -// documentation ```scala\ndef apply(value: String): Str\n``` +// display_name apply +// signature_documentation scala def apply(value: String): Str +// kind Method // relationship is_definition semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/Str# // relationship is_reference is_implementation semanticdb maven maven/org.scala-lang/scala-library 2.13.13 scala/Function1#apply(). // ^ definition semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/Str#``(). -// documentation ```scala\ndef this(value: String)\n``` +// display_name +// signature_documentation scala def this(value: String) +// kind Constructor // ^^^^^ definition semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/Str#value. -// documentation ```scala\nval value: String\n``` +// display_name value +// signature_documentation scala val value: String +// kind Method // relationship is_reference semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/Str#``().(value) // relationship is_reference semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/Str#copy().(value) // relationship is_reference semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/Str.apply().(value) // relationship is_reference is_implementation semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/Value#value(). // _____ synthetic_definition semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/Str.apply().(value) -// documentation ```scala\nvalue: String \n``` +// display_name value +// signature_documentation scala value: String +// kind Parameter // relationship is_reference semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/Str#``().(value) // relationship is_reference semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/Str#copy().(value) // relationship is_reference is_definition semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/Str#value. // _____ synthetic_definition semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/Str#``().(value) -// documentation ```scala\nvalue: String \n``` +// display_name value +// signature_documentation scala value: String +// kind Parameter // relationship is_reference semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/Str#copy().(value) // relationship is_reference is_definition semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/Str#value. // relationship is_reference semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/Str.apply().(value) // _____ synthetic_definition semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/Str#copy().(value) -// documentation ```scala\ndefault value: String \n``` +// display_name value +// signature_documentation scala default value: String +// kind Parameter // relationship is_reference semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/Str#``().(value) // relationship is_reference is_definition semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/Str#value. // relationship is_reference semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/Str.apply().(value) @@ -1057,38 +1399,56 @@ case class Str(value: String) extends Value // ^ reference semanticdb maven jdk 11 java/lang/Object#``(). case class Obj(value: mutable.LinkedHashMap[String, Value]) extends Value // ^^^ definition semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/Obj# -// documentation ```scala\ncase class Obj(value: LinkedHashMap[String, Value]) extends Value\n``` +// display_name Obj +// signature_documentation scala case class Obj(value: LinkedHashMap[String, Value]) extends Value +// kind Class // ___ synthetic_definition semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/Obj#productElementName(). -// documentation ```scala\ndef productElementName(x$1: Int): String\n``` +// display_name productElementName +// signature_documentation scala def productElementName(x$1: Int): String +// kind Method // relationship is_definition semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/Obj# // relationship is_reference is_implementation semanticdb maven maven/org.scala-lang/scala-library 2.13.13 scala/Product#productElementName(). // ___ synthetic_definition semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/Obj#productElement(). -// documentation ```scala\ndef productElement(x$1: Int): Any\n``` +// display_name productElement +// signature_documentation scala def productElement(x$1: Int): Any +// kind Method // relationship is_definition semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/Obj# // relationship is_reference is_implementation semanticdb maven maven/org.scala-lang/scala-library 2.13.13 scala/Product#productElement(). // ___ synthetic_definition semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/Obj#copy(). -// documentation ```scala\ndef copy(value: LinkedHashMap[String, Value]): Obj\n``` +// display_name copy +// signature_documentation scala def copy(value: LinkedHashMap[String, Value]): Obj +// kind Method // relationship is_definition semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/Obj# // ^ definition semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/Obj#``(). -// documentation ```scala\ndef this(value: LinkedHashMap[String, Value])\n``` +// display_name +// signature_documentation scala def this(value: LinkedHashMap[String, Value]) +// kind Constructor // ^^^^^ definition semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/Obj#value. -// documentation ```scala\nval value: LinkedHashMap[String, Value]\n``` +// display_name value +// signature_documentation scala val value: LinkedHashMap[String, Value] +// kind Method // relationship is_reference semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/Obj#``().(value) // relationship is_reference semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/Obj#copy().(value) // relationship is_reference semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/Obj.apply(+2).(value) // relationship is_reference is_implementation semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/Value#value(). // _____ synthetic_definition semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/Obj.apply(+2).(value) -// documentation ```scala\nvalue: LinkedHashMap[String, Value] \n``` +// display_name value +// signature_documentation scala value: LinkedHashMap[String, Value] +// kind Parameter // relationship is_reference semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/Obj#``().(value) // relationship is_reference semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/Obj#copy().(value) // relationship is_reference is_definition semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/Obj#value. // _____ synthetic_definition semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/Obj#``().(value) -// documentation ```scala\nvalue: LinkedHashMap[String, Value] \n``` +// display_name value +// signature_documentation scala value: LinkedHashMap[String, Value] +// kind Parameter // relationship is_reference semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/Obj#copy().(value) // relationship is_reference is_definition semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/Obj#value. // relationship is_reference semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/Obj.apply(+2).(value) // _____ synthetic_definition semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/Obj#copy().(value) -// documentation ```scala\ndefault value: LinkedHashMap[String, Value] \n``` +// display_name value +// signature_documentation scala default value: LinkedHashMap[String, Value] +// kind Parameter // relationship is_reference semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/Obj#``().(value) // relationship is_reference is_definition semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/Obj#value. // relationship is_reference semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/Obj.apply(+2).(value) @@ -1101,15 +1461,23 @@ case class Obj(value: mutable.LinkedHashMap[String, Value]) extends Value //^ reference semanticdb maven jdk 11 java/lang/Object#``(). object Obj{ // ^^^ definition semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/Obj. -// documentation ```scala\nobject Obj\n``` +// display_name Obj +// signature_documentation scala object Obj +// kind Object // ___ synthetic_definition semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/Obj.apply(+2). -// documentation ```scala\ndef apply(value: LinkedHashMap[String, Value]): Obj\n``` +// display_name apply +// signature_documentation scala def apply(value: LinkedHashMap[String, Value]): Obj +// kind Method // relationship is_definition semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/Obj. implicit def from(items: TraversableOnce[(String, Value)]): Obj = { // ^^^^ definition semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/Obj.from(). -// documentation ```scala\nimplicit def from(items: TraversableOnce[(String, Value)]): Obj\n``` +// display_name from +// signature_documentation scala implicit def from(items: TraversableOnce[(String, Value)]): Obj +// kind Method // ^^^^^ definition semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/Obj.from().(items) -// documentation ```scala\nitems: TraversableOnce[(String, Value)] \n``` +// display_name items +// signature_documentation scala items: TraversableOnce[(String, Value)] +// kind Parameter // ^^^^^^^^^^^^^^^ reference semanticdb maven maven/org.scala-lang/scala-library 2.13.13 scala/package.TraversableOnce# // ^^^^^^ reference semanticdb maven maven/org.scala-lang/scala-library 2.13.13 scala/Predef.String# // ^^^^^ reference semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/Value# @@ -1127,26 +1495,38 @@ object Obj{ // https://github.com/lihaoyi/upickle/issues/230 def apply[V](item: (String, V), // ^^^^^ definition semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/Obj.apply(). -// documentation ```scala\ndef apply(item: (String, V), items: (String, Value)*)(conv: (V) => Value): Obj\n``` +// display_name apply +// signature_documentation scala def apply(item: (String, V), items: (String, Value)*)(conv: (V) => Value): Obj +// kind Method // ^ definition semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/Obj.apply().[V] -// documentation ```scala\nV\n``` +// display_name V +// signature_documentation scala V +// kind TypeParameter // ^^^^ definition semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/Obj.apply().(item) -// documentation ```scala\nitem: (String, V) \n``` +// display_name item +// signature_documentation scala item: (String, V) +// kind Parameter // ^^^^^^ reference semanticdb maven maven/org.scala-lang/scala-library 2.13.13 scala/Predef.String# // ^ reference semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/Obj.apply().[V] items: (String, Value)*)(implicit conv: V => Value): Obj = { // ^^^^^ definition semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/Obj.apply().(items) -// documentation ```scala\nitems: (String, Value)* \n``` +// display_name items +// signature_documentation scala items: (String, Value)* +// kind Parameter // ^^^^^^ reference semanticdb maven maven/org.scala-lang/scala-library 2.13.13 scala/Predef.String# // ^^^^^ reference semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/Value# // ^^^^ definition semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/Obj.apply().(conv) -// documentation ```scala\nimplicit conv: (V) => Value \n``` +// display_name conv +// signature_documentation scala implicit conv: (V) => Value +// kind Parameter // ^ reference semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/Obj.apply().[V] // ^^^^^ reference semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/Value# // ^^^ reference semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/Obj# val map = new mutable.LinkedHashMap[String, Value]() // ^^^ definition local 22 -// documentation ```scala\nmap: LinkedHashMap[String, Value] \n``` +// display_name map +// signature_documentation scala map: LinkedHashMap[String, Value] +// kind Variable // ^^^^^^^ reference semanticdb maven . . scala/collection/mutable/ // ^^^^^^^^^^^^^ reference semanticdb maven maven/org.scala-lang/scala-library 2.13.13 scala/collection/mutable/LinkedHashMap# // ^^^^^^ reference semanticdb maven maven/org.scala-lang/scala-library 2.13.13 scala/Predef.String# @@ -1162,7 +1542,9 @@ object Obj{ // ^^ reference semanticdb maven maven/org.scala-lang/scala-library 2.13.13 scala/Tuple2#_2. for (i <- items) map.put(i._1, i._2) // ^ definition local 23 -// documentation ```scala\ni: (String, Value) \n``` +// display_name i +// signature_documentation scala i: (String, Value) +// kind Parameter // ^^^^^ reference semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/Obj.apply().(items) // ^^^ reference local 22 // ^^^ reference semanticdb maven maven/org.scala-lang/scala-library 2.13.13 scala/collection/mutable/LinkedHashMap#put(). @@ -1177,7 +1559,9 @@ object Obj{ def apply(): Obj = Obj(new mutable.LinkedHashMap[String, Value]()) // ^^^^^ definition semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/Obj.apply(+1). -// documentation ```scala\ndef apply(): Obj\n``` +// display_name apply +// signature_documentation scala def apply(): Obj +// kind Method // ^^^ reference semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/Obj# // ^^^ reference semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/Obj. // ^^^^^^^ reference semanticdb maven . . scala/collection/mutable/ @@ -1188,38 +1572,56 @@ object Obj{ } case class Arr(value: ArrayBuffer[Value]) extends Value // ^^^ definition semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/Arr# -// documentation ```scala\ncase class Arr(value: ArrayBuffer[Value]) extends Value\n``` +// display_name Arr +// signature_documentation scala case class Arr(value: ArrayBuffer[Value]) extends Value +// kind Class // ___ synthetic_definition semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/Arr#productElement(). -// documentation ```scala\ndef productElement(x$1: Int): Any\n``` +// display_name productElement +// signature_documentation scala def productElement(x$1: Int): Any +// kind Method // relationship is_definition semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/Arr# // relationship is_reference is_implementation semanticdb maven maven/org.scala-lang/scala-library 2.13.13 scala/Product#productElement(). // ___ synthetic_definition semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/Arr#productElementName(). -// documentation ```scala\ndef productElementName(x$1: Int): String\n``` +// display_name productElementName +// signature_documentation scala def productElementName(x$1: Int): String +// kind Method // relationship is_definition semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/Arr# // relationship is_reference is_implementation semanticdb maven maven/org.scala-lang/scala-library 2.13.13 scala/Product#productElementName(). // ___ synthetic_definition semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/Arr#copy(). -// documentation ```scala\ndef copy(value: ArrayBuffer[Value]): Arr\n``` +// display_name copy +// signature_documentation scala def copy(value: ArrayBuffer[Value]): Arr +// kind Method // relationship is_definition semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/Arr# // ^ definition semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/Arr#``(). -// documentation ```scala\ndef this(value: ArrayBuffer[Value])\n``` +// display_name +// signature_documentation scala def this(value: ArrayBuffer[Value]) +// kind Constructor // ^^^^^ definition semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/Arr#value. -// documentation ```scala\nval value: ArrayBuffer[Value]\n``` +// display_name value +// signature_documentation scala val value: ArrayBuffer[Value] +// kind Method // relationship is_reference semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/Arr#``().(value) // relationship is_reference semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/Arr#copy().(value) // relationship is_reference semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/Arr.apply(+1).(value) // relationship is_reference is_implementation semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/Value#value(). // _____ synthetic_definition semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/Arr#``().(value) -// documentation ```scala\nvalue: ArrayBuffer[Value] \n``` +// display_name value +// signature_documentation scala value: ArrayBuffer[Value] +// kind Parameter // relationship is_reference semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/Arr#copy().(value) // relationship is_reference is_definition semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/Arr#value. // relationship is_reference semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/Arr.apply(+1).(value) // _____ synthetic_definition semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/Arr#copy().(value) -// documentation ```scala\ndefault value: ArrayBuffer[Value] \n``` +// display_name value +// signature_documentation scala default value: ArrayBuffer[Value] +// kind Parameter // relationship is_reference semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/Arr#``().(value) // relationship is_reference is_definition semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/Arr#value. // relationship is_reference semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/Arr.apply(+1).(value) // _____ synthetic_definition semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/Arr.apply(+1).(value) -// documentation ```scala\nvalue: ArrayBuffer[Value] \n``` +// display_name value +// signature_documentation scala value: ArrayBuffer[Value] +// kind Parameter // relationship is_reference semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/Arr#``().(value) // relationship is_reference semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/Arr#copy().(value) // relationship is_reference is_definition semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/Arr#value. @@ -1230,27 +1632,41 @@ case class Arr(value: ArrayBuffer[Value]) extends Value //^ reference semanticdb maven jdk 11 java/lang/Object#``(). object Arr{ // ^^^ definition semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/Arr. -// documentation ```scala\nobject Arr\n``` +// display_name Arr +// signature_documentation scala object Arr +// kind Object // ___ synthetic_definition semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/Arr.apply(+1). -// documentation ```scala\ndef apply(value: ArrayBuffer[Value]): Arr\n``` +// display_name apply +// signature_documentation scala def apply(value: ArrayBuffer[Value]): Arr +// kind Method // relationship is_definition semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/Arr. implicit def from[T](items: TraversableOnce[T])(implicit conv: T => Value): Arr = { // ^^^^ definition semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/Arr.from(). -// documentation ```scala\nimplicit def from(items: TraversableOnce[T])(conv: (T) => Value): Arr\n``` +// display_name from +// signature_documentation scala implicit def from(items: TraversableOnce[T])(conv: (T) => Value): Arr +// kind Method // ^ definition semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/Arr.from().[T] -// documentation ```scala\nT\n``` +// display_name T +// signature_documentation scala T +// kind TypeParameter // ^^^^^ definition semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/Arr.from().(items) -// documentation ```scala\nitems: TraversableOnce[T] \n``` +// display_name items +// signature_documentation scala items: TraversableOnce[T] +// kind Parameter // ^^^^^^^^^^^^^^^ reference semanticdb maven maven/org.scala-lang/scala-library 2.13.13 scala/package.TraversableOnce# // ^ reference semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/Arr.from().[T] // ^^^^ definition semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/Arr.from().(conv) -// documentation ```scala\nimplicit conv: (T) => Value \n``` +// display_name conv +// signature_documentation scala implicit conv: (T) => Value +// kind Parameter // ^ reference semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/Arr.from().[T] // ^^^^^ reference semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/Value# // ^^^ reference semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/Arr# val buf = new mutable.ArrayBuffer[Value]() // ^^^ definition local 25 -// documentation ```scala\nbuf: ArrayBuffer[Value] \n``` +// display_name buf +// signature_documentation scala buf: ArrayBuffer[Value] +// kind Variable // ^^^^^^^ reference semanticdb maven . . scala/collection/mutable/ // ^^^^^^^^^^^ reference semanticdb maven maven/org.scala-lang/scala-library 2.13.13 scala/collection/mutable/ArrayBuffer# // ^^^^^ reference semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/Value# @@ -1259,7 +1675,9 @@ object Arr{ // ^^^^^ reference semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/Arr.from().(items) // ^^^^^^^ reference semanticdb maven maven/org.scala-lang/scala-library 2.13.13 scala/collection/IterableOnceExtensionMethods#foreach(). // ^^^^ definition local 26 -// documentation ```scala\nitem: T \n``` +// display_name item +// signature_documentation scala item: T +// kind Parameter buf += (conv(item): Value) // ^^^ reference local 25 // ^^ reference semanticdb maven maven/org.scala-lang/scala-library 2.13.13 scala/collection/mutable/Growable#`+=`(). @@ -1274,14 +1692,20 @@ object Arr{ def apply(items: Value*): Arr = { // ^^^^^ definition semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/Arr.apply(). -// documentation ```scala\ndef apply(items: Value*): Arr\n``` +// display_name apply +// signature_documentation scala def apply(items: Value*): Arr +// kind Method // ^^^^^ definition semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/Arr.apply().(items) -// documentation ```scala\nitems: Value* \n``` +// display_name items +// signature_documentation scala items: Value* +// kind Parameter // ^^^^^ reference semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/Value# // ^^^ reference semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/Arr# val buf = new mutable.ArrayBuffer[Value](items.length) // ^^^ definition local 27 -// documentation ```scala\nbuf: ArrayBuffer[Value] \n``` +// display_name buf +// signature_documentation scala buf: ArrayBuffer[Value] +// kind Variable // ^^^^^^^ reference semanticdb maven . . scala/collection/mutable/ // ^^^^^^^^^^^ reference semanticdb maven maven/org.scala-lang/scala-library 2.13.13 scala/collection/mutable/ArrayBuffer# // ^^^^^ reference semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/Value# @@ -1292,7 +1716,9 @@ object Arr{ // ^^^^^ reference semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/Arr.apply().(items) // ^^^^^^^ reference semanticdb maven maven/org.scala-lang/scala-library 2.13.13 scala/collection/IterableOnceOps#foreach(). // ^^^^ definition local 28 -// documentation ```scala\nitem: Value \n``` +// display_name item +// signature_documentation scala item: Value +// kind Parameter buf += item // ^^^ reference local 27 // ^^ reference semanticdb maven maven/org.scala-lang/scala-library 2.13.13 scala/collection/mutable/Growable#`+=`(). @@ -1305,51 +1731,73 @@ object Arr{ } case class Num(value: Double) extends Value // ^^^ definition semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/Num# -// documentation ```scala\ncase class Num(value: Double) extends Value\n``` +// display_name Num +// signature_documentation scala case class Num(value: Double) extends Value +// kind Class // relationship is_reference semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/Num. // relationship is_reference semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/Num.apply(). // ___ synthetic_definition semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/Num#productElement(). -// documentation ```scala\ndef productElement(x$1: Int): Any\n``` +// display_name productElement +// signature_documentation scala def productElement(x$1: Int): Any +// kind Method // relationship is_definition semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/Num# // relationship is_reference semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/Num.apply(). // relationship is_reference is_implementation semanticdb maven maven/org.scala-lang/scala-library 2.13.13 scala/Product#productElement(). // ___ synthetic_definition semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/Num#copy(). -// documentation ```scala\ndef copy(value: Double): Num\n``` +// display_name copy +// signature_documentation scala def copy(value: Double): Num +// kind Method // relationship is_definition semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/Num# // relationship is_reference semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/Num.apply(). // ___ synthetic_definition semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/Num.apply(). -// documentation ```scala\ndef apply(value: Double): Num\n``` +// display_name apply +// signature_documentation scala def apply(value: Double): Num +// kind Method // relationship is_definition semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/Num# // relationship is_reference is_implementation semanticdb maven maven/org.scala-lang/scala-library 2.13.13 scala/Function1#apply(). // ___ synthetic_definition semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/Num#productElementName(). -// documentation ```scala\ndef productElementName(x$1: Int): String\n``` +// display_name productElementName +// signature_documentation scala def productElementName(x$1: Int): String +// kind Method // relationship is_definition semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/Num# // relationship is_reference semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/Num.apply(). // relationship is_reference is_implementation semanticdb maven maven/org.scala-lang/scala-library 2.13.13 scala/Product#productElementName(). // ___ synthetic_definition semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/Num. -// documentation ```scala\nobject Num\n``` +// display_name Num +// signature_documentation scala object Num +// kind Object // relationship is_definition semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/Num# // relationship is_reference semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/Num.apply(). // ^ definition semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/Num#``(). -// documentation ```scala\ndef this(value: Double)\n``` +// display_name +// signature_documentation scala def this(value: Double) +// kind Constructor // ^^^^^ definition semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/Num#value. -// documentation ```scala\nval value: Double\n``` +// display_name value +// signature_documentation scala val value: Double +// kind Method // relationship is_reference semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/Num#``().(value) // relationship is_reference semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/Num#copy().(value) // relationship is_reference semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/Num.apply().(value) // relationship is_reference is_implementation semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/Value#value(). // _____ synthetic_definition semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/Num.apply().(value) -// documentation ```scala\nvalue: Double \n``` +// display_name value +// signature_documentation scala value: Double +// kind Parameter // relationship is_reference semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/Num#``().(value) // relationship is_reference semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/Num#copy().(value) // relationship is_reference is_definition semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/Num#value. // _____ synthetic_definition semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/Num#copy().(value) -// documentation ```scala\ndefault value: Double \n``` +// display_name value +// signature_documentation scala default value: Double +// kind Parameter // relationship is_reference semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/Num#``().(value) // relationship is_reference is_definition semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/Num#value. // relationship is_reference semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/Num.apply().(value) // _____ synthetic_definition semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/Num#``().(value) -// documentation ```scala\nvalue: Double \n``` +// display_name value +// signature_documentation scala value: Double +// kind Parameter // relationship is_reference semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/Num#copy().(value) // relationship is_reference is_definition semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/Num#value. // relationship is_reference semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/Num.apply().(value) @@ -1358,14 +1806,20 @@ case class Num(value: Double) extends Value // ^ reference semanticdb maven jdk 11 java/lang/Object#``(). sealed abstract class Bool extends Value{ // ^^^^ definition semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/Bool# -// documentation ```scala\nabstract sealed class Bool\n``` +// display_name Bool +// signature_documentation scala abstract sealed class Bool +// kind Class // ^ definition semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/Bool#``(). -// documentation ```scala\ndef this()\n``` +// display_name +// signature_documentation scala def this() +// kind Constructor // ^^^^^ reference semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/Value# // ^ reference semanticdb maven jdk 11 java/lang/Object#``(). def value: Boolean // ^^^^^ definition semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/Bool#value(). -// documentation ```scala\ndef value: Boolean\n``` +// display_name value +// signature_documentation scala def value: Boolean +// kind AbstractMethod // relationship is_reference is_implementation semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/False.value(). // relationship is_reference is_implementation semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/True.value(). // relationship is_reference is_implementation semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/Value#value(). @@ -1373,12 +1827,18 @@ sealed abstract class Bool extends Value{ } object Bool{ // ^^^^ definition semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/Bool. -// documentation ```scala\nobject Bool\n``` +// display_name Bool +// signature_documentation scala object Bool +// kind Object def apply(value: Boolean): Bool = if (value) True else False // ^^^^^ definition semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/Bool.apply(). -// documentation ```scala\ndef apply(value: Boolean): Bool\n``` +// display_name apply +// signature_documentation scala def apply(value: Boolean): Bool +// kind Method // ^^^^^ definition semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/Bool.apply().(value) -// documentation ```scala\nvalue: Boolean \n``` +// display_name value +// signature_documentation scala value: Boolean +// kind Parameter // ^^^^^^^ reference semanticdb maven maven/org.scala-lang/scala-library 2.13.13 scala/Boolean# // ^^^^ reference semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/Bool# // ^^^^^ reference semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/Bool.apply().(value) @@ -1386,9 +1846,13 @@ object Bool{ // ^^^^^ reference semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/False. def unapply(bool: Bool): Option[Boolean] = Some(bool.value) // ^^^^^^^ definition semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/Bool.unapply(). -// documentation ```scala\ndef unapply(bool: Bool): Option[Boolean]\n``` +// display_name unapply +// signature_documentation scala def unapply(bool: Bool): Option[Boolean] +// kind Method // ^^^^ definition semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/Bool.unapply().(bool) -// documentation ```scala\nbool: Bool \n``` +// display_name bool +// signature_documentation scala bool: Bool +// kind Parameter // ^^^^ reference semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/Bool# // ^^^^^^ reference semanticdb maven maven/org.scala-lang/scala-library 2.13.13 scala/Option# // ^^^^^^^ reference semanticdb maven maven/org.scala-lang/scala-library 2.13.13 scala/Boolean# @@ -1398,45 +1862,63 @@ object Bool{ } case object False extends Bool{ // ^^^^^ definition semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/False. -// documentation ```scala\ncase object False\n``` +// display_name False +// signature_documentation scala case object False +// kind Object // _____ synthetic_definition semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/False.productElement(). -// documentation ```scala\ndef productElement(x$1: Int): Any\n``` +// display_name productElement +// signature_documentation scala def productElement(x$1: Int): Any +// kind Method // relationship is_definition semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/False. // relationship is_reference is_implementation semanticdb maven maven/org.scala-lang/scala-library 2.13.13 scala/Product#productElement(). // ^^^^ reference semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/Bool# // ^ reference semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/Bool#``(). def value = false // ^^^^^ definition semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/False.value(). -// documentation ```scala\ndef value: Boolean\n``` +// display_name value +// signature_documentation scala def value: Boolean +// kind Method // relationship is_reference is_implementation semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/Bool#value(). // relationship is_reference is_implementation semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/Value#value(). } case object True extends Bool{ // ^^^^ definition semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/True. -// documentation ```scala\ncase object True\n``` +// display_name True +// signature_documentation scala case object True +// kind Object // ____ synthetic_definition semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/True.productElement(). -// documentation ```scala\ndef productElement(x$1: Int): Any\n``` +// display_name productElement +// signature_documentation scala def productElement(x$1: Int): Any +// kind Method // relationship is_definition semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/True. // relationship is_reference is_implementation semanticdb maven maven/org.scala-lang/scala-library 2.13.13 scala/Product#productElement(). // ^^^^ reference semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/Bool# // ^ reference semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/Bool#``(). def value = true // ^^^^^ definition semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/True.value(). -// documentation ```scala\ndef value: Boolean\n``` +// display_name value +// signature_documentation scala def value: Boolean +// kind Method // relationship is_reference is_implementation semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/Bool#value(). // relationship is_reference is_implementation semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/Value#value(). } case object Null extends Value{ // ^^^^ definition semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/Null. -// documentation ```scala\ncase object Null\n``` +// display_name Null +// signature_documentation scala case object Null +// kind Object // ____ synthetic_definition semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/Null.productElement(). -// documentation ```scala\ndef productElement(x$1: Int): Any\n``` +// display_name productElement +// signature_documentation scala def productElement(x$1: Int): Any +// kind Method // relationship is_definition semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/Null. // relationship is_reference is_implementation semanticdb maven maven/org.scala-lang/scala-library 2.13.13 scala/Product#productElement(). // ^^^^^ reference semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/Value# // ^ reference semanticdb maven jdk 11 java/lang/Object#``(). def value = null // ^^^^^ definition semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/Null.value(). -// documentation ```scala\ndef value: Null\n``` +// display_name value +// signature_documentation scala def value: Null +// kind Method // relationship is_reference is_implementation semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/Value#value(). } diff --git a/tests/snapshots/src/main/generated/ujson/package.scala b/tests/snapshots/src/main/generated/ujson/package.scala index b05ae3fe3..e7a607f02 100644 --- a/tests/snapshots/src/main/generated/ujson/package.scala +++ b/tests/snapshots/src/main/generated/ujson/package.scala @@ -5,17 +5,27 @@ import upickle.core.NoOpVisitor package object ujson{ // ^^^^^ definition semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/package. -// documentation ```scala\npackage object ujson\n``` +// display_name ujson +// signature_documentation scala package object ujson +// kind PackageObject def transform[T](t: Readable, v: upickle.core.Visitor[_, T]) = t.transform(v) // ^^^^^^^^^ definition semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/package.transform(). -// documentation ```scala\ndef transform(t: Readable, v: Visitor[local0, T[): T\n``` +// display_name transform +// signature_documentation scala def transform(t: Readable, v: Visitor[local0, T[): T +// kind Method // ^ definition semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/package.transform().[T] -// documentation ```scala\nT\n``` +// display_name T +// signature_documentation scala T +// kind TypeParameter // ^ definition semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/package.transform().(t) -// documentation ```scala\nt: Readable \n``` +// display_name t +// signature_documentation scala t: Readable +// kind Parameter // ^^^^^^^^ reference semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/Readable# // ^ definition semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/package.transform().(v) -// documentation ```scala\nv: Visitor[local0, T[ \n``` +// display_name v +// signature_documentation scala v: Visitor[local0, T[ +// kind Parameter // ^^^^^^^ reference semanticdb maven . . upickle/ // ^^^^ reference semanticdb maven . . upickle/core/ // ^^^^^^^ reference semanticdb maven maven/com.lihaoyi/upickle-core_2.13 1.4.0 upickle/core/Visitor# @@ -29,12 +39,18 @@ package object ujson{ */ def read(s: Readable, trace: Boolean = false): Value.Value = // ^^^^ definition semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/package.read(). -// documentation ```scala\ndef read(s: Readable, trace: Boolean): Value\n``` +// display_name read +// signature_documentation scala def read(s: Readable, trace: Boolean): Value +// kind Method // ^ definition semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/package.read().(s) -// documentation ```scala\ns: Readable \n``` +// display_name s +// signature_documentation scala s: Readable +// kind Parameter // ^^^^^^^^ reference semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/Readable# // ^^^^^ definition semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/package.read().(trace) -// documentation ```scala\ndefault trace: Boolean \n``` +// display_name trace +// signature_documentation scala default trace: Boolean +// kind Parameter // ^^^^^^^ reference semanticdb maven maven/org.scala-lang/scala-library 2.13.13 scala/Boolean# // ^^^^^ reference semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/Value. // ^^^^^ reference semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/Value.Value# @@ -50,9 +66,13 @@ package object ujson{ def copy(t: Value.Value): Value.Value = transform(t, Value) // ^^^^ definition semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/package.copy(). -// documentation ```scala\ndef copy(t: Value): Value\n``` +// display_name copy +// signature_documentation scala def copy(t: Value): Value +// kind Method // ^ definition semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/package.copy().(t) -// documentation ```scala\nt: Value \n``` +// display_name t +// signature_documentation scala t: Value +// kind Parameter // ^^^^^ reference semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/Value. // ^^^^^ reference semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/Value.Value# // ^^^^^ reference semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/Value. @@ -66,23 +86,33 @@ package object ujson{ */ def write(t: Value.Value, // ^^^^^ definition semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/package.write(). -// documentation ```scala\ndef write(t: Value, indent: Int, escapeUnicode: Boolean): String\n``` +// display_name write +// signature_documentation scala def write(t: Value, indent: Int, escapeUnicode: Boolean): String +// kind Method // ^ definition semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/package.write().(t) -// documentation ```scala\nt: Value \n``` +// display_name t +// signature_documentation scala t: Value +// kind Parameter // ^^^^^ reference semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/Value. // ^^^^^ reference semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/Value.Value# indent: Int = -1, // ^^^^^^ definition semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/package.write().(indent) -// documentation ```scala\ndefault indent: Int \n``` +// display_name indent +// signature_documentation scala default indent: Int +// kind Parameter // ^^^ reference semanticdb maven maven/org.scala-lang/scala-library 2.13.13 scala/Int# escapeUnicode: Boolean = false): String = { // ^^^^^^^^^^^^^ definition semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/package.write().(escapeUnicode) -// documentation ```scala\ndefault escapeUnicode: Boolean \n``` +// display_name escapeUnicode +// signature_documentation scala default escapeUnicode: Boolean +// kind Parameter // ^^^^^^^ reference semanticdb maven maven/org.scala-lang/scala-library 2.13.13 scala/Boolean# // ^^^^^^ reference semanticdb maven maven/org.scala-lang/scala-library 2.13.13 scala/Predef.String# val writer = new java.io.StringWriter // ^^^^^^ definition local 1 -// documentation ```scala\nwriter: StringWriter \n``` +// display_name writer +// signature_documentation scala writer: StringWriter +// kind Variable // ^^^^ reference semanticdb maven . . java/ // ^^ reference semanticdb maven . . java/io/ // ^^^^^^^^^^^^ reference semanticdb maven jdk 11 java/io/StringWriter# @@ -103,24 +133,34 @@ package object ujson{ */ def writeTo(t: Value.Value, // ^^^^^^^ definition semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/package.writeTo(). -// documentation ```scala\ndef writeTo(t: Value, out: Writer, indent: Int, escapeUnicode: Boolean): Unit\n``` +// display_name writeTo +// signature_documentation scala def writeTo(t: Value, out: Writer, indent: Int, escapeUnicode: Boolean): Unit +// kind Method // ^ definition semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/package.writeTo().(t) -// documentation ```scala\nt: Value \n``` +// display_name t +// signature_documentation scala t: Value +// kind Parameter // ^^^^^ reference semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/Value. // ^^^^^ reference semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/Value.Value# out: java.io.Writer, // ^^^ definition semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/package.writeTo().(out) -// documentation ```scala\nout: Writer \n``` +// display_name out +// signature_documentation scala out: Writer +// kind Parameter // ^^^^ reference semanticdb maven . . java/ // ^^ reference semanticdb maven . . java/io/ // ^^^^^^ reference semanticdb maven jdk 11 java/io/Writer# indent: Int = -1, // ^^^^^^ definition semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/package.writeTo().(indent) -// documentation ```scala\ndefault indent: Int \n``` +// display_name indent +// signature_documentation scala default indent: Int +// kind Parameter // ^^^ reference semanticdb maven maven/org.scala-lang/scala-library 2.13.13 scala/Int# escapeUnicode: Boolean = false): Unit = { // ^^^^^^^^^^^^^ definition semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/package.writeTo().(escapeUnicode) -// documentation ```scala\ndefault escapeUnicode: Boolean \n``` +// display_name escapeUnicode +// signature_documentation scala default escapeUnicode: Boolean +// kind Parameter // ^^^^^^^ reference semanticdb maven maven/org.scala-lang/scala-library 2.13.13 scala/Boolean# // ^^^^ reference semanticdb maven maven/org.scala-lang/scala-library 2.13.13 scala/Unit# transform(t, Renderer(out, indent, escapeUnicode)) @@ -133,24 +173,34 @@ package object ujson{ } def writeToOutputStream(t: Value.Value, // ^^^^^^^^^^^^^^^^^^^ definition semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/package.writeToOutputStream(). -// documentation ```scala\ndef writeToOutputStream(t: Value, out: OutputStream, indent: Int, escapeUnicode: Boolean): Unit\n``` +// display_name writeToOutputStream +// signature_documentation scala def writeToOutputStream(t: Value, out: OutputStream, indent: Int, escapeUnicode: Boolean): Unit +// kind Method // ^ definition semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/package.writeToOutputStream().(t) -// documentation ```scala\nt: Value \n``` +// display_name t +// signature_documentation scala t: Value +// kind Parameter // ^^^^^ reference semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/Value. // ^^^^^ reference semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/Value.Value# out: java.io.OutputStream, // ^^^ definition semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/package.writeToOutputStream().(out) -// documentation ```scala\nout: OutputStream \n``` +// display_name out +// signature_documentation scala out: OutputStream +// kind Parameter // ^^^^ reference semanticdb maven . . java/ // ^^ reference semanticdb maven . . java/io/ // ^^^^^^^^^^^^ reference semanticdb maven jdk 11 java/io/OutputStream# indent: Int = -1, // ^^^^^^ definition semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/package.writeToOutputStream().(indent) -// documentation ```scala\ndefault indent: Int \n``` +// display_name indent +// signature_documentation scala default indent: Int +// kind Parameter // ^^^ reference semanticdb maven maven/org.scala-lang/scala-library 2.13.13 scala/Int# escapeUnicode: Boolean = false): Unit = { // ^^^^^^^^^^^^^ definition semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/package.writeToOutputStream().(escapeUnicode) -// documentation ```scala\ndefault escapeUnicode: Boolean \n``` +// display_name escapeUnicode +// signature_documentation scala default escapeUnicode: Boolean +// kind Parameter // ^^^^^^^ reference semanticdb maven maven/org.scala-lang/scala-library 2.13.13 scala/Boolean# // ^^^^ reference semanticdb maven maven/org.scala-lang/scala-library 2.13.13 scala/Unit# transform(t, new BaseByteRenderer(out, indent, escapeUnicode)) @@ -165,22 +215,32 @@ package object ujson{ def writeToByteArray(t: Value.Value, // ^^^^^^^^^^^^^^^^ definition semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/package.writeToByteArray(). -// documentation ```scala\ndef writeToByteArray(t: Value, indent: Int, escapeUnicode: Boolean): Array[Byte]\n``` +// display_name writeToByteArray +// signature_documentation scala def writeToByteArray(t: Value, indent: Int, escapeUnicode: Boolean): Array[Byte] +// kind Method // ^ definition semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/package.writeToByteArray().(t) -// documentation ```scala\nt: Value \n``` +// display_name t +// signature_documentation scala t: Value +// kind Parameter // ^^^^^ reference semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/Value. // ^^^^^ reference semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/Value.Value# indent: Int = -1, // ^^^^^^ definition semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/package.writeToByteArray().(indent) -// documentation ```scala\ndefault indent: Int \n``` +// display_name indent +// signature_documentation scala default indent: Int +// kind Parameter // ^^^ reference semanticdb maven maven/org.scala-lang/scala-library 2.13.13 scala/Int# escapeUnicode: Boolean = false) = { // ^^^^^^^^^^^^^ definition semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/package.writeToByteArray().(escapeUnicode) -// documentation ```scala\ndefault escapeUnicode: Boolean \n``` +// display_name escapeUnicode +// signature_documentation scala default escapeUnicode: Boolean +// kind Parameter // ^^^^^^^ reference semanticdb maven maven/org.scala-lang/scala-library 2.13.13 scala/Boolean# val baos = new java.io.ByteArrayOutputStream // ^^^^ definition local 2 -// documentation ```scala\nbaos: ByteArrayOutputStream \n``` +// display_name baos +// signature_documentation scala baos: ByteArrayOutputStream +// kind Variable // ^^^^ reference semanticdb maven . . java/ // ^^ reference semanticdb maven . . java/io/ // ^^^^^^^^^^^^^^^^^^^^^ reference semanticdb maven jdk 11 java/io/ByteArrayOutputStream# @@ -201,9 +261,13 @@ package object ujson{ */ def validate(s: Readable): Unit = transform(s, NoOpVisitor) // ^^^^^^^^ definition semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/package.validate(). -// documentation ```scala\ndef validate(s: Readable): Unit\n``` +// display_name validate +// signature_documentation scala def validate(s: Readable): Unit +// kind Method // ^ definition semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/package.validate().(s) -// documentation ```scala\ns: Readable \n``` +// display_name s +// signature_documentation scala s: Readable +// kind Parameter // ^^^^^^^^ reference semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/Readable# // ^^^^ reference semanticdb maven maven/org.scala-lang/scala-library 2.13.13 scala/Unit# // ^^^^^^^^^ reference semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/package.transform(). @@ -215,20 +279,30 @@ package object ujson{ */ def reformat(s: Readable, indent: Int = -1, escapeUnicode: Boolean = false): String = { // ^^^^^^^^ definition semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/package.reformat(). -// documentation ```scala\ndef reformat(s: Readable, indent: Int, escapeUnicode: Boolean): String\n``` +// display_name reformat +// signature_documentation scala def reformat(s: Readable, indent: Int, escapeUnicode: Boolean): String +// kind Method // ^ definition semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/package.reformat().(s) -// documentation ```scala\ns: Readable \n``` +// display_name s +// signature_documentation scala s: Readable +// kind Parameter // ^^^^^^^^ reference semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/Readable# // ^^^^^^ definition semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/package.reformat().(indent) -// documentation ```scala\ndefault indent: Int \n``` +// display_name indent +// signature_documentation scala default indent: Int +// kind Parameter // ^^^ reference semanticdb maven maven/org.scala-lang/scala-library 2.13.13 scala/Int# // ^^^^^^^^^^^^^ definition semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/package.reformat().(escapeUnicode) -// documentation ```scala\ndefault escapeUnicode: Boolean \n``` +// display_name escapeUnicode +// signature_documentation scala default escapeUnicode: Boolean +// kind Parameter // ^^^^^^^ reference semanticdb maven maven/org.scala-lang/scala-library 2.13.13 scala/Boolean# // ^^^^^^ reference semanticdb maven maven/org.scala-lang/scala-library 2.13.13 scala/Predef.String# val writer = new java.io.StringWriter() // ^^^^^^ definition local 3 -// documentation ```scala\nwriter: StringWriter \n``` +// display_name writer +// signature_documentation scala writer: StringWriter +// kind Variable // ^^^^ reference semanticdb maven . . java/ // ^^ reference semanticdb maven . . java/io/ // ^^^^^^^^^^^^ reference semanticdb maven jdk 11 java/io/StringWriter# @@ -249,20 +323,30 @@ package object ujson{ */ def reformatTo(s: Readable, out: java.io.Writer, indent: Int = -1, escapeUnicode: Boolean = false): Unit = { // ^^^^^^^^^^ definition semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/package.reformatTo(). -// documentation ```scala\ndef reformatTo(s: Readable, out: Writer, indent: Int, escapeUnicode: Boolean): Unit\n``` +// display_name reformatTo +// signature_documentation scala def reformatTo(s: Readable, out: Writer, indent: Int, escapeUnicode: Boolean): Unit +// kind Method // ^ definition semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/package.reformatTo().(s) -// documentation ```scala\ns: Readable \n``` +// display_name s +// signature_documentation scala s: Readable +// kind Parameter // ^^^^^^^^ reference semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/Readable# // ^^^ definition semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/package.reformatTo().(out) -// documentation ```scala\nout: Writer \n``` +// display_name out +// signature_documentation scala out: Writer +// kind Parameter // ^^^^ reference semanticdb maven . . java/ // ^^ reference semanticdb maven . . java/io/ // ^^^^^^ reference semanticdb maven jdk 11 java/io/Writer# // ^^^^^^ definition semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/package.reformatTo().(indent) -// documentation ```scala\ndefault indent: Int \n``` +// display_name indent +// signature_documentation scala default indent: Int +// kind Parameter // ^^^ reference semanticdb maven maven/org.scala-lang/scala-library 2.13.13 scala/Int# // ^^^^^^^^^^^^^ definition semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/package.reformatTo().(escapeUnicode) -// documentation ```scala\ndefault escapeUnicode: Boolean \n``` +// display_name escapeUnicode +// signature_documentation scala default escapeUnicode: Boolean +// kind Parameter // ^^^^^^^ reference semanticdb maven maven/org.scala-lang/scala-library 2.13.13 scala/Boolean# // ^^^^ reference semanticdb maven maven/org.scala-lang/scala-library 2.13.13 scala/Unit# transform(s, Renderer(out, indent, escapeUnicode)) @@ -279,23 +363,33 @@ package object ujson{ */ def reformatToOutputStream(s: Readable, // ^^^^^^^^^^^^^^^^^^^^^^ definition semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/package.reformatToOutputStream(). -// documentation ```scala\ndef reformatToOutputStream(s: Readable, out: OutputStream, indent: Int, escapeUnicode: Boolean): Unit\n``` +// display_name reformatToOutputStream +// signature_documentation scala def reformatToOutputStream(s: Readable, out: OutputStream, indent: Int, escapeUnicode: Boolean): Unit +// kind Method // ^ definition semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/package.reformatToOutputStream().(s) -// documentation ```scala\ns: Readable \n``` +// display_name s +// signature_documentation scala s: Readable +// kind Parameter // ^^^^^^^^ reference semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/Readable# out: java.io.OutputStream, // ^^^ definition semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/package.reformatToOutputStream().(out) -// documentation ```scala\nout: OutputStream \n``` +// display_name out +// signature_documentation scala out: OutputStream +// kind Parameter // ^^^^ reference semanticdb maven . . java/ // ^^ reference semanticdb maven . . java/io/ // ^^^^^^^^^^^^ reference semanticdb maven jdk 11 java/io/OutputStream# indent: Int = -1, // ^^^^^^ definition semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/package.reformatToOutputStream().(indent) -// documentation ```scala\ndefault indent: Int \n``` +// display_name indent +// signature_documentation scala default indent: Int +// kind Parameter // ^^^ reference semanticdb maven maven/org.scala-lang/scala-library 2.13.13 scala/Int# escapeUnicode: Boolean = false): Unit = { // ^^^^^^^^^^^^^ definition semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/package.reformatToOutputStream().(escapeUnicode) -// documentation ```scala\ndefault escapeUnicode: Boolean \n``` +// display_name escapeUnicode +// signature_documentation scala default escapeUnicode: Boolean +// kind Parameter // ^^^^^^^ reference semanticdb maven maven/org.scala-lang/scala-library 2.13.13 scala/Boolean# // ^^^^ reference semanticdb maven maven/org.scala-lang/scala-library 2.13.13 scala/Unit# transform(s, new BaseByteRenderer(out, indent, escapeUnicode)) @@ -309,21 +403,31 @@ package object ujson{ } def reformatToByteArray(s: Readable, // ^^^^^^^^^^^^^^^^^^^ definition semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/package.reformatToByteArray(). -// documentation ```scala\ndef reformatToByteArray(s: Readable, indent: Int, escapeUnicode: Boolean): Array[Byte]\n``` +// display_name reformatToByteArray +// signature_documentation scala def reformatToByteArray(s: Readable, indent: Int, escapeUnicode: Boolean): Array[Byte] +// kind Method // ^ definition semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/package.reformatToByteArray().(s) -// documentation ```scala\ns: Readable \n``` +// display_name s +// signature_documentation scala s: Readable +// kind Parameter // ^^^^^^^^ reference semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/Readable# indent: Int = -1, // ^^^^^^ definition semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/package.reformatToByteArray().(indent) -// documentation ```scala\ndefault indent: Int \n``` +// display_name indent +// signature_documentation scala default indent: Int +// kind Parameter // ^^^ reference semanticdb maven maven/org.scala-lang/scala-library 2.13.13 scala/Int# escapeUnicode: Boolean = false) = { // ^^^^^^^^^^^^^ definition semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/package.reformatToByteArray().(escapeUnicode) -// documentation ```scala\ndefault escapeUnicode: Boolean \n``` +// display_name escapeUnicode +// signature_documentation scala default escapeUnicode: Boolean +// kind Parameter // ^^^^^^^ reference semanticdb maven maven/org.scala-lang/scala-library 2.13.13 scala/Boolean# val baos = new java.io.ByteArrayOutputStream // ^^^^ definition local 4 -// documentation ```scala\nbaos: ByteArrayOutputStream \n``` +// display_name baos +// signature_documentation scala baos: ByteArrayOutputStream +// kind Variable // ^^^^ reference semanticdb maven . . java/ // ^^ reference semanticdb maven . . java/io/ // ^^^^^^^^^^^^^^^^^^^^^ reference semanticdb maven jdk 11 java/io/ByteArrayOutputStream# @@ -344,13 +448,17 @@ package object ujson{ // ^ reference semanticdb maven maven/org.scala-lang/scala-library 2.13.13 scala/deprecated#``(). type Js = Value // ^^ definition semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/package.Js# -// documentation ```scala\ntype Js >: Value <: Value\n``` +// display_name Js +// signature_documentation scala type Js >: Value <: Value +// kind Type // ^^^^^ reference semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/Value# @deprecated("use ujson.Value") // ^^^^^^^^^^ reference semanticdb maven maven/org.scala-lang/scala-library 2.13.13 scala/deprecated# // ^ reference semanticdb maven maven/org.scala-lang/scala-library 2.13.13 scala/deprecated#``(). val Js = Value // ^^ definition semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/package.Js. -// documentation ```scala\n@deprecated\nval Js: \n``` +// display_name Js +// signature_documentation scala @deprecated\nval Js: +// kind Method // ^^^^^ reference semanticdb maven maven/com.lihaoyi/ujson_2.13 1.4.0 ujson/Value. } diff --git a/tests/unit/src/test/scala/tests/SnapshotCommandSuite.scala b/tests/unit/src/test/scala/tests/SnapshotCommandSuite.scala index 7fc0eeb91..061841ed5 100644 --- a/tests/unit/src/test/scala/tests/SnapshotCommandSuite.scala +++ b/tests/unit/src/test/scala/tests/SnapshotCommandSuite.scala @@ -13,8 +13,13 @@ class SnapshotCommandSuite extends MopedSuite(ScipJava.app) { FileLayout.fromString( """/main/Sample.java |package main; - | + | /** + | * Sample class + | */ |public class Sample { + | /** + | * Main application entry point + | */ | public static void main(String[] asdf) {} |} |""".stripMargin, @@ -37,6 +42,7 @@ class SnapshotCommandSuite extends MopedSuite(ScipJava.app) { targetroot.toString ) ) + assertEquals(indexExit, 0, clues(app.capturedOutput)) val snapshotExit = app().run( @@ -47,18 +53,33 @@ class SnapshotCommandSuite extends MopedSuite(ScipJava.app) { FileLayout.asString(generatedpath), """|/main/Sample.java |package main; - | + | /** + | * Sample class + | */ |public class Sample { |// ^^^^^^ definition semanticdb maven . . main/Sample# - |// documentation ```java\npublic class Sample\n``` + |// display_name Sample + |// signature_documentation java public class Sample + |// kind Class + |// documentation Sample class\n |// ^^^^^^ definition semanticdb maven . . main/Sample#``(). - |// documentation ```java\npublic Sample()\n``` + |// display_name + |// signature_documentation java public Sample() + |// kind Constructor + | /** + | * Main application entry point + | */ | public static void main(String[] asdf) {} |// ^^^^ definition semanticdb maven . . main/Sample#main(). - |// documentation ```java\npublic static void main(String[] asdf)\n``` + |// display_name main + |// signature_documentation java public static void main(String[] asdf) + |// kind StaticMethod + |// documentation Main application entry point\n |// ^^^^^^ reference semanticdb maven jdk 11 java/lang/String# |// ^^^^ definition local 0 - |// documentation ```java\nString[] asdf\n``` + |// display_name asdf + |// signature_documentation java String[] asdf + |// enclosing_symbol semanticdb maven . . main/Sample#main(). |} |""".stripMargin )