diff --git a/LICENSE.md b/LICENSE.md index 6a309be..e206643 100644 --- a/LICENSE.md +++ b/LICENSE.md @@ -1,4 +1,4 @@ -Copyright 2023 NotEvenJoking/770grappenmaker +Copyright 2024 NotEvenJoking/770grappenmaker Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the “Software”), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: diff --git a/README.md b/README.md index a3b6704..ed458b9 100644 --- a/README.md +++ b/README.md @@ -30,7 +30,7 @@ dependencies { ``` ### Docs -Available in [GitHub Pages](https://770grappenmaker.github.io/mappings-util/). +Available in [GitHub Pages](https://770grappenmaker.github.io/mappings-util/mappings-util/). ### Examples Note: these examples are in Kotlin, but can be applied in Java as well. diff --git a/build.gradle.kts b/build.gradle.kts index 9bdeee3..77f9c7e 100644 --- a/build.gradle.kts +++ b/build.gradle.kts @@ -1,144 +1,26 @@ -import org.jetbrains.dokka.gradle.DokkaTask -import java.net.URI +allprojects { + group = "com.grappenmaker" + version = "0.1.8" +} plugins { - alias(libs.plugins.kotlin.jvm) + alias(libs.plugins.kotlin.jvm) apply false alias(libs.plugins.dokka) - `maven-publish` - `java-library` - signing } repositories { mavenCentral() } -group = "com.grappenmaker" -version = "0.1.7" - -kotlin { - jvmToolchain(8) - explicitApi() - compilerOptions { freeCompilerArgs.add("-Xcontext-receivers") } -} - -val dokkaJavadoc by tasks.getting(DokkaTask::class) -val dokkaAsJavadoc by tasks.registering(Jar::class) { - dependsOn(dokkaJavadoc) - from(dokkaJavadoc.outputDirectory) - archiveClassifier.set("javadoc") -} - -java { - withSourcesJar() -} - -dependencies { - api(libs.bundles.asm) - api(libs.coroutines.core) - testImplementation(kotlin("test")) -} - -publishing { - publications { - fun MavenPublication.setup() { - artifact(dokkaAsJavadoc) - from(components["java"]) - pom { - name = project.name - description = "A library for handling and using JVM name mappings (SRG, Tiny, Proguard)" - url = "https://github.com/770grappenmaker/mappings-util" - packaging = "jar" - - licenses { - license { - name = "The MIT License" - url = "https://opensource.org/license/mit/" - distribution = "repo" - } - } - - developers { - developer { - id = "770grappenmaker" - name = "NotEvenJoking" - email = "770grappenmaker@gmail.com" - url = "https://github.com/770grappenmaker/" - } - } - - scm { - connection = "scm:git:git://github.com/770grappenmaker/mappings-util.git" - developerConnection = "scm:git:ssh://github.com:770grappenmaker/mappings-util.git" - url = "https://github.com/770grappenmaker/mappings-util/tree/main" - } - } - } - - create("central") { - groupId = "io.github.770grappenmaker" - setup() - } - - create("packages", MavenPublication::setup) - } - - repositories { - maven { - name = "Packages" - url = uri("https://maven.pkg.github.com/770grappenmaker/mappings-util") - - credentials { - username = System.getenv("GITHUB_ACTOR") - password = System.getenv("GITHUB_TOKEN") - } - } - - maven { - name = "Central" - url = uri("https://s01.oss.sonatype.org/service/local/staging/deploy/maven2/") - credentials(PasswordCredentials::class) - } - } -} - -signing { - sign(publishing.publications) -} - tasks { - test { - useJUnitPlatform() - testLogging { - events("passed") - } - } - - withType().configureEach { - dokkaSourceSets.configureEach { - val test by project(":samples").sourceSets.getting - samples.from(test.kotlin) - reportUndocumented = true - - sourceLink { - localDirectory = rootDir - remoteUrl = URI("https://github.com/770grappenmaker/mappings-util/tree/main").toURL() - remoteLineSuffix = "#L" - } - - includes.from("dokka-module.md") + val docsDir = projectDir.resolve("docs") + val deployDocs by registering(Copy::class) { + notCompatibleWithConfigurationCache("indirectly invokes dokka which makes it unsupported") - externalDocumentationLink { - url = URI("https://asm.ow2.io/javadoc/").toURL() - packageListUrl = project.layout.projectDirectory.file("asm.package-list").asFile.toURI().toURL() - } - } - } + dependsOn(dokkaHtmlMultiModule) + from(dokkaHtmlMultiModule.map { it.outputDirectory }) + into(docsDir) - val dokkaHtml by getting - val deployDocs by registering(Copy::class) { - dependsOn(dokkaHtml) - from(dokkaHtml) - into(projectDir.resolve("docs")) + duplicatesStrategy = DuplicatesStrategy.FAIL } } \ No newline at end of file diff --git a/conventions/build.gradle.kts b/conventions/build.gradle.kts new file mode 100644 index 0000000..851d088 --- /dev/null +++ b/conventions/build.gradle.kts @@ -0,0 +1,12 @@ +plugins { + `kotlin-dsl` +} + +repositories { + mavenCentral() +} + +dependencies { + implementation(libs.dokka) + implementation(libs.kotlin.jvm) +} \ No newline at end of file diff --git a/conventions/settings.gradle.kts b/conventions/settings.gradle.kts new file mode 100644 index 0000000..5e184bf --- /dev/null +++ b/conventions/settings.gradle.kts @@ -0,0 +1,13 @@ +dependencyResolutionManagement { + versionCatalogs { + create("libs") { + from(files("../gradle/libs.versions.toml")) + } + } +} + +rootProject.name = "conventions" + +plugins { + id("org.gradle.toolchains.foojay-resolver-convention") version "0.8.0" +} \ No newline at end of file diff --git a/conventions/src/main/kotlin/kotlin-convention.gradle.kts b/conventions/src/main/kotlin/kotlin-convention.gradle.kts new file mode 100644 index 0000000..e973754 --- /dev/null +++ b/conventions/src/main/kotlin/kotlin-convention.gradle.kts @@ -0,0 +1,12 @@ +plugins { + id("org.jetbrains.kotlin.jvm") +} + +repositories { + mavenCentral() +} + +kotlin { + jvmToolchain(8) + compilerOptions { freeCompilerArgs.add("-Xcontext-receivers") } +} \ No newline at end of file diff --git a/conventions/src/main/kotlin/published-library.gradle.kts b/conventions/src/main/kotlin/published-library.gradle.kts new file mode 100644 index 0000000..9a6e5af --- /dev/null +++ b/conventions/src/main/kotlin/published-library.gradle.kts @@ -0,0 +1,126 @@ +import org.jetbrains.dokka.gradle.DokkaTask +import org.jetbrains.dokka.gradle.DokkaTaskPartial +import java.net.URI + +plugins { + `maven-publish` + `java-library` + signing + id("kotlin-convention") + id("org.jetbrains.dokka") +} + +repositories { + mavenCentral() +} + +val dokkaJavadoc by tasks.getting(DokkaTask::class) +val dokkaAsJavadoc by tasks.registering(Jar::class) { + dependsOn(dokkaJavadoc) + from(dokkaJavadoc.outputDirectory) + archiveClassifier.set("javadoc") +} + +java { withSourcesJar() } +kotlin { explicitApi() } + +interface PublishingConventionExtension { + val enablePackages: Property +} + +val libraryExtension = project.extensions.create("publishedLibrary").apply { + enablePackages.convention(false) +} + +afterEvaluate { + publishing { + publications { + fun MavenPublication.setup() { + artifact(dokkaAsJavadoc) + from(components["java"]) + + pom { + name = project.name + description = "A library for handling and using JVM name mappings (SRG, Tiny, Proguard)" + url = "https://github.com/770grappenmaker/mappings-util" + packaging = "jar" + + licenses { + license { + name = "The MIT License" + url = "https://opensource.org/license/mit/" + distribution = "repo" + } + } + + developers { + developer { + id = "770grappenmaker" + name = "NotEvenJoking" + email = "770grappenmaker@gmail.com" + url = "https://github.com/770grappenmaker/" + } + } + + scm { + connection = "scm:git:git://github.com/770grappenmaker/mappings-util.git" + developerConnection = "scm:git:ssh://github.com:770grappenmaker/mappings-util.git" + url = "https://github.com/770grappenmaker/mappings-util/tree/main" + } + } + } + + create("central") { + groupId = "io.github.770grappenmaker" + setup() + } + + if (libraryExtension.enablePackages.get()) create("packages", MavenPublication::setup) + } + + repositories { + if (libraryExtension.enablePackages.get()) maven { + name = "Packages" + url = uri("https://maven.pkg.github.com/770grappenmaker/mappings-util") + + credentials { + username = System.getenv("GITHUB_ACTOR") + password = System.getenv("GITHUB_TOKEN") + } + } + + maven { + name = "Central" + url = uri("https://s01.oss.sonatype.org/service/local/staging/deploy/maven2/") + credentials(PasswordCredentials::class) + } + } + } +} + +signing { + sign(publishing.publications) +} + +tasks { + withType().configureEach { + dokkaSourceSets.configureEach { + val test by project(":samples").sourceSets.getting + samples.from(test.extensions.getByName("kotlin")) + reportUndocumented = true + + sourceLink { + localDirectory = rootDir + remoteUrl = URI("https://github.com/770grappenmaker/mappings-util/tree/main").toURL() + remoteLineSuffix = "#L" + } + + includes.from("dokka-module.md") + + externalDocumentationLink { + url = URI("https://asm.ow2.io/javadoc/").toURL() + packageListUrl = rootProject.layout.projectDirectory.file("asm.package-list").asFile.toURI().toURL() + } + } + } +} \ No newline at end of file diff --git a/docs/com.grappenmaker.mappings/-access-mask/-access-mask.html b/docs/com.grappenmaker.mappings/-access-mask/-access-mask.html new file mode 100644 index 0000000..f11a708 --- /dev/null +++ b/docs/com.grappenmaker.mappings/-access-mask/-access-mask.html @@ -0,0 +1,80 @@ + + + + + AccessMask + + + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

AccessMask

+
+
constructor(value: Int)
+
+ +
+
+
+ + diff --git a/docs/com.grappenmaker.mappings/-access-mask/-companion/-e-m-p-t-y.html b/docs/com.grappenmaker.mappings/-access-mask/-companion/-e-m-p-t-y.html new file mode 100644 index 0000000..8aecf18 --- /dev/null +++ b/docs/com.grappenmaker.mappings/-access-mask/-companion/-e-m-p-t-y.html @@ -0,0 +1,80 @@ + + + + + EMPTY + + + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

EMPTY

+
+

An AccessMask without any AccessTypes containing it

+
+ +
+
+
+ + diff --git a/docs/com.grappenmaker.mappings/-access-mask/-companion/index.html b/docs/com.grappenmaker.mappings/-access-mask/-companion/index.html new file mode 100644 index 0000000..0529802 --- /dev/null +++ b/docs/com.grappenmaker.mappings/-access-mask/-companion/index.html @@ -0,0 +1,104 @@ + + + + + Companion + + + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

Companion

+
object Companion

Utility for constructing an AccessMask

+
+
+
+
+
+

Properties

+
+
+
+
+ + +
Link copied to clipboard
+
+
+
+

An AccessMask without any AccessTypes containing it

+
+
+
+
+
+
+
+
+
+ +
+
+
+ + diff --git a/docs/com.grappenmaker.mappings/-access-mask/contains.html b/docs/com.grappenmaker.mappings/-access-mask/contains.html new file mode 100644 index 0000000..0b6e5fa --- /dev/null +++ b/docs/com.grappenmaker.mappings/-access-mask/contains.html @@ -0,0 +1,80 @@ + + + + + contains + + + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

contains

+
+
operator fun contains(type: AccessType): Boolean

Tests whether a given AccessType is contained in this AccessMask

+
+ +
+
+
+ + diff --git a/docs/com.grappenmaker.mappings/-access-mask/index.html b/docs/com.grappenmaker.mappings/-access-mask/index.html new file mode 100644 index 0000000..94e52df --- /dev/null +++ b/docs/com.grappenmaker.mappings/-access-mask/index.html @@ -0,0 +1,251 @@ + + + + + AccessMask + + + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

AccessMask

+
value class AccessMask(val value: Int) : Iterable<AccessType>

A bitmask representing a set of AccessTypes

+
+
+
+
+
+

Constructors

+
+
+
+
+ + +
Link copied to clipboard
+
+
+
+
constructor(value: Int)
+
+
+
+
+
+
+
+

Types

+
+
+
+
+ + +
Link copied to clipboard
+
+
+
+
object Companion

Utility for constructing an AccessMask

+
+
+
+
+
+
+
+

Properties

+
+
+
+
+ + +
Link copied to clipboard
+
+
+
+
val value: Int

The integer value representing this mask

+
+
+
+
+
+
+
+

Functions

+
+
+
+
+ + +
Link copied to clipboard
+
+
+
+
operator fun contains(type: AccessType): Boolean

Tests whether a given AccessType is contained in this AccessMask

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
open fun forEach(p0: Consumer<in AccessType>)
+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
open operator override fun iterator(): Iterator<AccessType>

Returns an Iterator that yields all AccessTypes in this AccessMask

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+

Converts some sort of collection of AccessMasks to a resultant AccessMask combining them

Combines AccessWideners using the AccessWidener.plus operator, producing a new AccessWidener that, when applied, produces the same result as applying all of the wideners sequentially. If this Iterable would be considered empty (its Iterator.hasNext would return false on the first iteration), IllegalArgumentException is thrown

fun Iterable<Mappings>.join(intermediateNamespace: String, requireMatch: Boolean = false): Mappings

Joins together an Iterable of Mappings, producing new Mappings that contain all entries from all Mappings. Note: all namespaces are kept, in order to be able to reduce the mappings nicely without a lot of overhead. If you want to exclude certain namespaces, use Mappings.filterNamespaces. If this Iterable would be considered empty (its Iterator.hasNext would return false on the first iteration), EmptyMappings is returned.

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
operator fun minus(other: AccessMask?): AccessMask

Excludes all set AccessTypes in the other from this AccessMask, producing a new AccessMask that therefore contains all AccessTypes in this AccessMask that are not in the other

operator fun minus(other: AccessType?): AccessMask

Removes an AccessType from this AccessMask, producing a new AccessMask that therefore contains all AccessTypes in this AccessMask that are not equal to other. If other is not in this AccessMask, an identical AccessMask will be returned.

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
operator fun plus(other: AccessMask?): AccessMask

Combines this AccessMask and other to produce a new AccessMask that can be interpreted as first applying this AccessMask and then the other.

operator fun plus(other: AccessType?): AccessMask

Combines this AccessMask and other to produce a new AccessMask that can be interpreted as first applying this AccessMask and then the other.

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+ +
+
+
+
+
+
+
+
+ +
+
+
+ + diff --git a/docs/com.grappenmaker.mappings/-access-mask/iterator.html b/docs/com.grappenmaker.mappings/-access-mask/iterator.html new file mode 100644 index 0000000..1685eab --- /dev/null +++ b/docs/com.grappenmaker.mappings/-access-mask/iterator.html @@ -0,0 +1,80 @@ + + + + + iterator + + + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

iterator

+
+
open operator override fun iterator(): Iterator<AccessType>

Returns an Iterator that yields all AccessTypes in this AccessMask

+
+ +
+
+
+ + diff --git a/docs/com.grappenmaker.mappings/-access-mask/minus.html b/docs/com.grappenmaker.mappings/-access-mask/minus.html new file mode 100644 index 0000000..85f77e8 --- /dev/null +++ b/docs/com.grappenmaker.mappings/-access-mask/minus.html @@ -0,0 +1,80 @@ + + + + + minus + + + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

minus

+
+
operator fun minus(other: AccessMask?): AccessMask

Excludes all set AccessTypes in the other from this AccessMask, producing a new AccessMask that therefore contains all AccessTypes in this AccessMask that are not in the other


operator fun minus(other: AccessType?): AccessMask

Removes an AccessType from this AccessMask, producing a new AccessMask that therefore contains all AccessTypes in this AccessMask that are not equal to other. If other is not in this AccessMask, an identical AccessMask will be returned.

+
+ +
+
+
+ + diff --git a/docs/com.grappenmaker.mappings/-access-mask/plus.html b/docs/com.grappenmaker.mappings/-access-mask/plus.html new file mode 100644 index 0000000..234a87d --- /dev/null +++ b/docs/com.grappenmaker.mappings/-access-mask/plus.html @@ -0,0 +1,80 @@ + + + + + plus + + + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

plus

+
+
operator fun plus(other: AccessMask?): AccessMask

Combines this AccessMask and other to produce a new AccessMask that can be interpreted as first applying this AccessMask and then the other.


operator fun plus(other: AccessType?): AccessMask

Combines this AccessMask and other to produce a new AccessMask that can be interpreted as first applying this AccessMask and then the other.

+
+ +
+
+
+ + diff --git a/docs/com.grappenmaker.mappings/-access-mask/value.html b/docs/com.grappenmaker.mappings/-access-mask/value.html new file mode 100644 index 0000000..f1bbcf8 --- /dev/null +++ b/docs/com.grappenmaker.mappings/-access-mask/value.html @@ -0,0 +1,80 @@ + + + + + value + + + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

value

+
+
val value: Int
+
+ +
+
+
+ + diff --git a/docs/com.grappenmaker.mappings/-access-type/-a-c-c-e-s-s-i-b-l-e/index.html b/docs/com.grappenmaker.mappings/-access-type/-a-c-c-e-s-s-i-b-l-e/index.html new file mode 100644 index 0000000..2db8bc1 --- /dev/null +++ b/docs/com.grappenmaker.mappings/-access-type/-a-c-c-e-s-s-i-b-l-e/index.html @@ -0,0 +1,153 @@ + + + + + ACCESSIBLE + + + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

ACCESSIBLE

+

Means that a member should be made accessible / public

+
+
+
+
+
+

Properties

+
+
+
+
+ + +
Link copied to clipboard
+
+
+
+
val mask: Int

The value that is equivalent to an AccessMask as an integer instead of a value class

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+ +
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+ +
+
+
+
+
+
+
+

Functions

+
+
+
+
+ + +
Link copied to clipboard
+
+
+
+

Creates an AccessMask containing only this AccessType

+
+
+
+
+
+
+
+
+
+ +
+
+
+ + diff --git a/docs/com.grappenmaker.mappings/-access-type/-companion/get-or-null.html b/docs/com.grappenmaker.mappings/-access-type/-companion/get-or-null.html new file mode 100644 index 0000000..610bf46 --- /dev/null +++ b/docs/com.grappenmaker.mappings/-access-type/-companion/get-or-null.html @@ -0,0 +1,80 @@ + + + + + getOrNull + + + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

getOrNull

+
+

Returns an AccessType associated with a given name, or null when name is not associated with any AccessType

+
+ +
+
+
+ + diff --git a/docs/com.grappenmaker.mappings/-access-type/-companion/index.html b/docs/com.grappenmaker.mappings/-access-type/-companion/index.html new file mode 100644 index 0000000..193f661 --- /dev/null +++ b/docs/com.grappenmaker.mappings/-access-type/-companion/index.html @@ -0,0 +1,119 @@ + + + + + Companion + + + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

Companion

+
object Companion

Allows for easy lookup of AccessTypes by a given String

+
+
+
+
+
+

Functions

+
+
+
+
+ + +
Link copied to clipboard
+
+
+
+

Returns an AccessType associated with a given name, or null when name is not associated with any AccessType

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
operator fun invoke(name: String): AccessType

Returns an AccessType associated with a given name, throws IllegalArgumentException when name is not associated with any AccessType

+
+
+
+
+
+
+
+
+
+ +
+
+
+ + diff --git a/docs/com.grappenmaker.mappings/-access-type/-companion/invoke.html b/docs/com.grappenmaker.mappings/-access-type/-companion/invoke.html new file mode 100644 index 0000000..1f49868 --- /dev/null +++ b/docs/com.grappenmaker.mappings/-access-type/-companion/invoke.html @@ -0,0 +1,80 @@ + + + + + invoke + + + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

invoke

+
+
operator fun invoke(name: String): AccessType

Returns an AccessType associated with a given name, throws IllegalArgumentException when name is not associated with any AccessType

+
+ +
+
+
+ + diff --git a/docs/com.grappenmaker.mappings/-access-type/-e-x-t-e-n-d-a-b-l-e/index.html b/docs/com.grappenmaker.mappings/-access-type/-e-x-t-e-n-d-a-b-l-e/index.html new file mode 100644 index 0000000..8883421 --- /dev/null +++ b/docs/com.grappenmaker.mappings/-access-type/-e-x-t-e-n-d-a-b-l-e/index.html @@ -0,0 +1,153 @@ + + + + + EXTENDABLE + + + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

EXTENDABLE

+

Means that a method or class should be made non-final and overridable/extendable. Invalid on fields.

+
+
+
+
+
+

Properties

+
+
+
+
+ + +
Link copied to clipboard
+
+
+
+
val mask: Int

The value that is equivalent to an AccessMask as an integer instead of a value class

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+ +
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+ +
+
+
+
+
+
+
+

Functions

+
+
+
+
+ + +
Link copied to clipboard
+
+
+
+

Creates an AccessMask containing only this AccessType

+
+
+
+
+
+
+
+
+
+ +
+
+
+ + diff --git a/docs/com.grappenmaker.mappings/-access-type/-m-u-t-a-b-l-e/index.html b/docs/com.grappenmaker.mappings/-access-type/-m-u-t-a-b-l-e/index.html new file mode 100644 index 0000000..12f7217 --- /dev/null +++ b/docs/com.grappenmaker.mappings/-access-type/-m-u-t-a-b-l-e/index.html @@ -0,0 +1,153 @@ + + + + + MUTABLE + + + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

MUTABLE

+

Means that a field should be made non-final (mutable). Invalid on classes and methods. Note: there is no reason for the mappings format to merge this and EXTENDABLE to fix the incompatibility and simplify the format a little, it just is not the case.

+
+
+
+
+
+

Properties

+
+
+
+
+ + +
Link copied to clipboard
+
+
+
+
val mask: Int

The value that is equivalent to an AccessMask as an integer instead of a value class

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+ +
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+ +
+
+
+
+
+
+
+

Functions

+
+
+
+
+ + +
Link copied to clipboard
+
+
+
+

Creates an AccessMask containing only this AccessType

+
+
+
+
+
+
+
+
+
+ +
+
+
+ + diff --git a/docs/com.grappenmaker.mappings/-access-type/entries.html b/docs/com.grappenmaker.mappings/-access-type/entries.html new file mode 100644 index 0000000..fb9d683 --- /dev/null +++ b/docs/com.grappenmaker.mappings/-access-type/entries.html @@ -0,0 +1,80 @@ + + + + + entries + + + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

entries

+
+

Returns a representation of an immutable list of all enum entries, in the order they're declared.

This method may be used to iterate over the enum entries.

+
+ +
+
+
+ + diff --git a/docs/com.grappenmaker.mappings/-access-type/index.html b/docs/com.grappenmaker.mappings/-access-type/index.html new file mode 100644 index 0000000..714c6bf --- /dev/null +++ b/docs/com.grappenmaker.mappings/-access-type/index.html @@ -0,0 +1,266 @@ + + + + + AccessType + + + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

AccessType

+

A type of access that can be "widened" on a class, field or method

+
+
+
+
+
+

Entries

+
+
+
+
+ + +
Link copied to clipboard
+
+
+
+

Means that a member should be made accessible / public

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+

Means that a method or class should be made non-final and overridable/extendable. Invalid on fields.

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+

Means that a field should be made non-final (mutable). Invalid on classes and methods. Note: there is no reason for the mappings format to merge this and EXTENDABLE to fix the incompatibility and simplify the format a little, it just is not the case.

+
+
+
+
+
+
+
+

Types

+
+
+
+
+ + +
Link copied to clipboard
+
+
+
+
object Companion

Allows for easy lookup of AccessTypes by a given String

+
+
+
+
+
+
+
+

Properties

+
+
+
+
+ + +
Link copied to clipboard
+
+
+
+

Returns a representation of an immutable list of all enum entries, in the order they're declared.

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
val mask: Int

The value that is equivalent to an AccessMask as an integer instead of a value class

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+ +
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+ +
+
+
+
+
+
+
+

Functions

+
+
+
+
+ + +
Link copied to clipboard
+
+
+
+

Creates an AccessMask containing only this AccessType

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+

Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+

Returns an array containing the constants of this enum type, in the order they're declared.

+
+
+
+
+
+
+
+
+
+ +
+
+
+ + diff --git a/docs/com.grappenmaker.mappings/-access-type/mask.html b/docs/com.grappenmaker.mappings/-access-type/mask.html new file mode 100644 index 0000000..4a7e898 --- /dev/null +++ b/docs/com.grappenmaker.mappings/-access-type/mask.html @@ -0,0 +1,80 @@ + + + + + mask + + + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

mask

+
+
val mask: Int
+
+ +
+
+
+ + diff --git a/docs/com.grappenmaker.mappings/-access-type/to-mask.html b/docs/com.grappenmaker.mappings/-access-type/to-mask.html new file mode 100644 index 0000000..2914d1c --- /dev/null +++ b/docs/com.grappenmaker.mappings/-access-type/to-mask.html @@ -0,0 +1,80 @@ + + + + + toMask + + + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

toMask

+
+

Creates an AccessMask containing only this AccessType

+
+ +
+
+
+ + diff --git a/docs/com.grappenmaker.mappings/-access-type/value-of.html b/docs/com.grappenmaker.mappings/-access-type/value-of.html new file mode 100644 index 0000000..fad88bb --- /dev/null +++ b/docs/com.grappenmaker.mappings/-access-type/value-of.html @@ -0,0 +1,80 @@ + + + + + valueOf + + + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

valueOf

+
+

Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)

Throws

if this enum type has no constant with the specified name

+
+ +
+
+
+ + diff --git a/docs/com.grappenmaker.mappings/-access-type/values.html b/docs/com.grappenmaker.mappings/-access-type/values.html new file mode 100644 index 0000000..5931b19 --- /dev/null +++ b/docs/com.grappenmaker.mappings/-access-type/values.html @@ -0,0 +1,80 @@ + + + + + values + + + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

values

+
+

Returns an array containing the constants of this enum type, in the order they're declared.

This method may be used to iterate over the constants.

+
+ +
+
+
+ + diff --git a/docs/com.grappenmaker.mappings/-access-widener-tree/-access-widener-tree.html b/docs/com.grappenmaker.mappings/-access-widener-tree/-access-widener-tree.html new file mode 100644 index 0000000..4f0dfa6 --- /dev/null +++ b/docs/com.grappenmaker.mappings/-access-widener-tree/-access-widener-tree.html @@ -0,0 +1,80 @@ + + + + + AccessWidenerTree + + + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

AccessWidenerTree

+
+
constructor(namespace: String, classes: Map<String, AccessedClass>)
+
+ +
+
+
+ + diff --git a/docs/com.grappenmaker.mappings/-access-widener-tree/classes.html b/docs/com.grappenmaker.mappings/-access-widener-tree/classes.html new file mode 100644 index 0000000..8402f1d --- /dev/null +++ b/docs/com.grappenmaker.mappings/-access-widener-tree/classes.html @@ -0,0 +1,80 @@ + + + + + classes + + + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

classes

+
+ +
+ +
+
+
+ + diff --git a/docs/com.grappenmaker.mappings/-access-widener-tree/index.html b/docs/com.grappenmaker.mappings/-access-widener-tree/index.html new file mode 100644 index 0000000..a30db62 --- /dev/null +++ b/docs/com.grappenmaker.mappings/-access-widener-tree/index.html @@ -0,0 +1,138 @@ + + + + + AccessWidenerTree + + + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

AccessWidenerTree

+
data class AccessWidenerTree(val namespace: String, val classes: Map<String, AccessedClass>)

A tree-like structure that is easier to use when access widening one or more classes

+
+
+
+
+
+

Constructors

+
+
+
+
+ + +
Link copied to clipboard
+
+
+
+
constructor(namespace: String, classes: Map<String, AccessedClass>)
+
+
+
+
+
+
+
+

Properties

+
+
+
+
+ + +
Link copied to clipboard
+
+
+
+

All of the "touched" classes for each internal/JVMS class name

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+

The namespace the names of the members in this tree are in

+
+
+
+
+
+
+
+
+
+ +
+
+
+ + diff --git a/docs/com.grappenmaker.mappings/-access-widener-tree/namespace.html b/docs/com.grappenmaker.mappings/-access-widener-tree/namespace.html new file mode 100644 index 0000000..b4d7aa3 --- /dev/null +++ b/docs/com.grappenmaker.mappings/-access-widener-tree/namespace.html @@ -0,0 +1,80 @@ + + + + + namespace + + + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

namespace

+
+ +
+ +
+
+
+ + diff --git a/docs/com.grappenmaker.mappings/-access-widener-visitor/-access-widener-visitor.html b/docs/com.grappenmaker.mappings/-access-widener-visitor/-access-widener-visitor.html new file mode 100644 index 0000000..5401da9 --- /dev/null +++ b/docs/com.grappenmaker.mappings/-access-widener-visitor/-access-widener-visitor.html @@ -0,0 +1,80 @@ + + + + + AccessWidenerVisitor + + + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

AccessWidenerVisitor

+
+
constructor(parent: ClassVisitor?, tree: AccessWidenerTree)
+
+ +
+
+
+ + diff --git a/docs/com.grappenmaker.mappings/-access-widener-visitor/index.html b/docs/com.grappenmaker.mappings/-access-widener-visitor/index.html new file mode 100644 index 0000000..2f9709e --- /dev/null +++ b/docs/com.grappenmaker.mappings/-access-widener-visitor/index.html @@ -0,0 +1,348 @@ + + + + + AccessWidenerVisitor + + + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

AccessWidenerVisitor

+
class AccessWidenerVisitor(parent: ClassVisitor?, tree: AccessWidenerTree) : ClassVisitor

ClassVisitor that can handle access widening tasks

+
+
+
+
+
+

Constructors

+
+
+
+
+ + +
Link copied to clipboard
+
+
+
+
constructor(parent: ClassVisitor?, tree: AccessWidenerTree)
+
+
+
+
+
+
+
+

Functions

+
+
+
+
+ + +
Link copied to clipboard
+
+
+
+
open fun getDelegate(): ClassVisitor
+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
open override fun visit(version: Int, access: Int, name: String, signature: String?, superName: String?, interfaces: Array<String>?)
+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
open fun visitAnnotation(p0: String, p1: Boolean): AnnotationVisitor
+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
open fun visitAttribute(p0: Attribute)
+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
open fun visitEnd()
+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
open override fun visitField(access: Int, name: String, descriptor: String, signature: String?, value: Any?): FieldVisitor?
+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
open override fun visitInnerClass(name: String, outerName: String?, innerName: String?, access: Int)
+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
open override fun visitMethod(access: Int, name: String, descriptor: String, signature: String?, exceptions: Array<String>?): MethodVisitor
+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
open fun visitModule(p0: String, p1: Int, p2: String): ModuleVisitor
+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
open fun visitNestHost(p0: String)
+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
open fun visitNestMember(p0: String)
+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
open fun visitOuterClass(p0: String, p1: String, p2: String)
+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
open override fun visitPermittedSubclass(permittedSubclass: String?)
+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
open fun visitRecordComponent(p0: String, p1: String, p2: String): RecordComponentVisitor
+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
open fun visitSource(p0: String, p1: String)
+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
open fun visitTypeAnnotation(p0: Int, p1: TypePath, p2: String, p3: Boolean): AnnotationVisitor
+
+
+
+
+
+
+
+
+
+ +
+
+
+ + diff --git a/docs/com.grappenmaker.mappings/-access-widener-visitor/visit-field.html b/docs/com.grappenmaker.mappings/-access-widener-visitor/visit-field.html new file mode 100644 index 0000000..58df9fc --- /dev/null +++ b/docs/com.grappenmaker.mappings/-access-widener-visitor/visit-field.html @@ -0,0 +1,80 @@ + + + + + visitField + + + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

visitField

+
+
open override fun visitField(access: Int, name: String, descriptor: String, signature: String?, value: Any?): FieldVisitor?
+
+ +
+
+
+ + diff --git a/docs/com.grappenmaker.mappings/-access-widener-visitor/visit-inner-class.html b/docs/com.grappenmaker.mappings/-access-widener-visitor/visit-inner-class.html new file mode 100644 index 0000000..5601a32 --- /dev/null +++ b/docs/com.grappenmaker.mappings/-access-widener-visitor/visit-inner-class.html @@ -0,0 +1,80 @@ + + + + + visitInnerClass + + + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

visitInnerClass

+
+
open override fun visitInnerClass(name: String, outerName: String?, innerName: String?, access: Int)
+
+ +
+
+
+ + diff --git a/docs/com.grappenmaker.mappings/-access-widener-visitor/visit-method.html b/docs/com.grappenmaker.mappings/-access-widener-visitor/visit-method.html new file mode 100644 index 0000000..7106b10 --- /dev/null +++ b/docs/com.grappenmaker.mappings/-access-widener-visitor/visit-method.html @@ -0,0 +1,80 @@ + + + + + visitMethod + + + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

visitMethod

+
+
open override fun visitMethod(access: Int, name: String, descriptor: String, signature: String?, exceptions: Array<String>?): MethodVisitor
+
+ +
+
+
+ + diff --git a/docs/com.grappenmaker.mappings/-access-widener-visitor/visit-permitted-subclass.html b/docs/com.grappenmaker.mappings/-access-widener-visitor/visit-permitted-subclass.html new file mode 100644 index 0000000..ec0372a --- /dev/null +++ b/docs/com.grappenmaker.mappings/-access-widener-visitor/visit-permitted-subclass.html @@ -0,0 +1,80 @@ + + + + + visitPermittedSubclass + + + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

visitPermittedSubclass

+
+
open override fun visitPermittedSubclass(permittedSubclass: String?)
+
+ +
+
+
+ + diff --git a/docs/com.grappenmaker.mappings/-access-widener-visitor/visit.html b/docs/com.grappenmaker.mappings/-access-widener-visitor/visit.html new file mode 100644 index 0000000..5733f41 --- /dev/null +++ b/docs/com.grappenmaker.mappings/-access-widener-visitor/visit.html @@ -0,0 +1,80 @@ + + + + + visit + + + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

visit

+
+
open override fun visit(version: Int, access: Int, name: String, signature: String?, superName: String?, interfaces: Array<String>?)
+
+ +
+
+
+ + diff --git a/docs/com.grappenmaker.mappings/-access-widener/-access-widener.html b/docs/com.grappenmaker.mappings/-access-widener/-access-widener.html new file mode 100644 index 0000000..1cf4203 --- /dev/null +++ b/docs/com.grappenmaker.mappings/-access-widener/-access-widener.html @@ -0,0 +1,80 @@ + + + + + AccessWidener + + + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

AccessWidener

+
+
constructor(version: Int, namespace: String, classes: Map<String, AccessMask>, methods: Map<AccessedMember, AccessMask>, fields: Map<AccessedMember, AccessMask>)
+
+ +
+
+
+ + diff --git a/docs/com.grappenmaker.mappings/-access-widener/classes.html b/docs/com.grappenmaker.mappings/-access-widener/classes.html new file mode 100644 index 0000000..56f510c --- /dev/null +++ b/docs/com.grappenmaker.mappings/-access-widener/classes.html @@ -0,0 +1,80 @@ + + + + + classes + + + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

classes

+
+ +
+ +
+
+
+ + diff --git a/docs/com.grappenmaker.mappings/-access-widener/fields.html b/docs/com.grappenmaker.mappings/-access-widener/fields.html new file mode 100644 index 0000000..aa2ff7a --- /dev/null +++ b/docs/com.grappenmaker.mappings/-access-widener/fields.html @@ -0,0 +1,80 @@ + + + + + fields + + + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

fields

+
+ +
+ +
+
+
+ + diff --git a/docs/com.grappenmaker.mappings/-access-widener/index.html b/docs/com.grappenmaker.mappings/-access-widener/index.html new file mode 100644 index 0000000..4b90461 --- /dev/null +++ b/docs/com.grappenmaker.mappings/-access-widener/index.html @@ -0,0 +1,262 @@ + + + + + AccessWidener + + + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

AccessWidener

+
data class AccessWidener(val version: Int, val namespace: String, val classes: Map<String, AccessMask>, val methods: Map<AccessedMember, AccessMask>, val fields: Map<AccessedMember, AccessMask>)

Represents an access widener file

+
+
+
+
+
+

Constructors

+
+
+
+
+ + +
Link copied to clipboard
+
+
+
+
constructor(version: Int, namespace: String, classes: Map<String, AccessMask>, methods: Map<AccessedMember, AccessMask>, fields: Map<AccessedMember, AccessMask>)
+
+
+
+
+
+
+
+

Properties

+
+
+
+
+ + +
Link copied to clipboard
+
+
+
+

All masks for each "touched" class in the file

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+

All masks for each "touched" field in the file

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+

All masks for each "touched" method in the file

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+

The namespace the names of the members in this file are in

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+

The version (part of the file format but undocumented elsewhere) of the file

+
+
+
+
+
+
+
+

Functions

+
+
+
+
+ + +
Link copied to clipboard
+
+
+
+

Combines this AccessWidener with other, returning a new access widener that, when applied, produces the same result as applying one widener and then the other.

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
fun AccessWidener.remap(mappings: Mappings, toNamespace: String): AccessWidener

Remaps this AccessWidener using mappings to a new namespace toNamespace to produce a new AccessWidener

fun AccessWidener.remap(remapper: Remapper, toNamespace: String): AccessWidener

Remaps this AccessWidener using a remapper to a new namespace toNamespace to produce a new AccessWidener

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+ +
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+

Writes this AccessWidener structure to a file representing this AccessWidener

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+

Writes this AccessWidener structure to a lazily generated sequence representing this AccessWidener

+
+
+
+
+
+
+
+
+
+ +
+
+
+ + diff --git a/docs/com.grappenmaker.mappings/-access-widener/methods.html b/docs/com.grappenmaker.mappings/-access-widener/methods.html new file mode 100644 index 0000000..5bff949 --- /dev/null +++ b/docs/com.grappenmaker.mappings/-access-widener/methods.html @@ -0,0 +1,80 @@ + + + + + methods + + + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

methods

+
+ +
+ +
+
+
+ + diff --git a/docs/com.grappenmaker.mappings/-access-widener/namespace.html b/docs/com.grappenmaker.mappings/-access-widener/namespace.html new file mode 100644 index 0000000..a19a3d8 --- /dev/null +++ b/docs/com.grappenmaker.mappings/-access-widener/namespace.html @@ -0,0 +1,80 @@ + + + + + namespace + + + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

namespace

+
+ +
+ +
+
+
+ + diff --git a/docs/com.grappenmaker.mappings/-access-widener/version.html b/docs/com.grappenmaker.mappings/-access-widener/version.html new file mode 100644 index 0000000..58ccf8f --- /dev/null +++ b/docs/com.grappenmaker.mappings/-access-widener/version.html @@ -0,0 +1,80 @@ + + + + + version + + + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

version

+
+ +
+ +
+
+
+ + diff --git a/docs/com.grappenmaker.mappings/-accessed-class/-accessed-class.html b/docs/com.grappenmaker.mappings/-accessed-class/-accessed-class.html new file mode 100644 index 0000000..a3eb854 --- /dev/null +++ b/docs/com.grappenmaker.mappings/-accessed-class/-accessed-class.html @@ -0,0 +1,80 @@ + + + + + AccessedClass + + + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

AccessedClass

+
+
constructor(mask: AccessMask, methods: Map<MemberIdentifier, AccessMask>, fields: Map<MemberIdentifier, AccessMask>)
+
+ +
+
+
+ + diff --git a/docs/com.grappenmaker.mappings/-accessed-class/fields.html b/docs/com.grappenmaker.mappings/-accessed-class/fields.html new file mode 100644 index 0000000..6431155 --- /dev/null +++ b/docs/com.grappenmaker.mappings/-accessed-class/fields.html @@ -0,0 +1,80 @@ + + + + + fields + + + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

fields

+
+ +
+ +
+
+
+ + diff --git a/docs/com.grappenmaker.mappings/-accessed-class/index.html b/docs/com.grappenmaker.mappings/-accessed-class/index.html new file mode 100644 index 0000000..b8b1d56 --- /dev/null +++ b/docs/com.grappenmaker.mappings/-accessed-class/index.html @@ -0,0 +1,183 @@ + + + + + AccessedClass + + + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

AccessedClass

+
data class AccessedClass(val mask: AccessMask, val methods: Map<MemberIdentifier, AccessMask>, val fields: Map<MemberIdentifier, AccessMask>)

Part of an AccessWidenerTree

+
+
+
+
+
+

Constructors

+
+
+
+
+ + +
Link copied to clipboard
+
+
+
+
constructor(mask: AccessMask, methods: Map<MemberIdentifier, AccessMask>, fields: Map<MemberIdentifier, AccessMask>)
+
+
+
+
+
+
+
+

Properties

+
+
+
+
+ + +
Link copied to clipboard
+
+
+
+

All of the "touched" fields for each name-descriptor pair

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+

The mask that was configured for this class

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+

All of the "touched" methods for each name-descriptor pair

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+

A mask of AccessTypes that are propagated down to the class as a result of wideners in members

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+

The mask that should be applied to this class

+
+
+
+
+
+
+
+
+
+ +
+
+
+ + diff --git a/docs/com.grappenmaker.mappings/-accessed-class/mask.html b/docs/com.grappenmaker.mappings/-accessed-class/mask.html new file mode 100644 index 0000000..e5c3d0d --- /dev/null +++ b/docs/com.grappenmaker.mappings/-accessed-class/mask.html @@ -0,0 +1,80 @@ + + + + + mask + + + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

mask

+
+ +
+ +
+
+
+ + diff --git a/docs/com.grappenmaker.mappings/-accessed-class/methods.html b/docs/com.grappenmaker.mappings/-accessed-class/methods.html new file mode 100644 index 0000000..323691b --- /dev/null +++ b/docs/com.grappenmaker.mappings/-accessed-class/methods.html @@ -0,0 +1,80 @@ + + + + + methods + + + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

methods

+
+ +
+ +
+
+
+ + diff --git a/docs/com.grappenmaker.mappings/-accessed-class/propagated.html b/docs/com.grappenmaker.mappings/-accessed-class/propagated.html new file mode 100644 index 0000000..fd98f9b --- /dev/null +++ b/docs/com.grappenmaker.mappings/-accessed-class/propagated.html @@ -0,0 +1,80 @@ + + + + + propagated + + + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

propagated

+
+ +
+ +
+
+
+ + diff --git a/docs/com.grappenmaker.mappings/-accessed-class/total.html b/docs/com.grappenmaker.mappings/-accessed-class/total.html new file mode 100644 index 0000000..9130f04 --- /dev/null +++ b/docs/com.grappenmaker.mappings/-accessed-class/total.html @@ -0,0 +1,80 @@ + + + + + total + + + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

total

+
+ +
+ +
+
+
+ + diff --git a/docs/com.grappenmaker.mappings/-accessed-member/-accessed-member.html b/docs/com.grappenmaker.mappings/-accessed-member/-accessed-member.html new file mode 100644 index 0000000..82d1ddd --- /dev/null +++ b/docs/com.grappenmaker.mappings/-accessed-member/-accessed-member.html @@ -0,0 +1,80 @@ + + + + + AccessedMember + + + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

AccessedMember

+
+
constructor(owner: String, name: String, desc: String)
+
+ +
+
+
+ + diff --git a/docs/com.grappenmaker.mappings/-accessed-member/desc.html b/docs/com.grappenmaker.mappings/-accessed-member/desc.html new file mode 100644 index 0000000..4c4e81d --- /dev/null +++ b/docs/com.grappenmaker.mappings/-accessed-member/desc.html @@ -0,0 +1,80 @@ + + + + + desc + + + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

desc

+
+ +
+ +
+
+
+ + diff --git a/docs/com.grappenmaker.mappings/-accessed-member/index.html b/docs/com.grappenmaker.mappings/-accessed-member/index.html new file mode 100644 index 0000000..4bc194e --- /dev/null +++ b/docs/com.grappenmaker.mappings/-accessed-member/index.html @@ -0,0 +1,153 @@ + + + + + AccessedMember + + + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

AccessedMember

+
data class AccessedMember(val owner: String, val name: String, val desc: String)

Represents a field or method that is being widened

+
+
+
+
+
+

Constructors

+
+
+
+
+ + +
Link copied to clipboard
+
+
+
+
constructor(owner: String, name: String, desc: String)
+
+
+
+
+
+
+
+

Properties

+
+
+
+
+ + +
Link copied to clipboard
+
+
+
+

The descriptor of the represented member

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+

The name of the represented member

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+

The internal/JVMS name of the owner of the represented member

+
+
+
+
+
+
+
+
+
+ +
+
+
+ + diff --git a/docs/com.grappenmaker.mappings/-accessed-member/name.html b/docs/com.grappenmaker.mappings/-accessed-member/name.html new file mode 100644 index 0000000..78c9d99 --- /dev/null +++ b/docs/com.grappenmaker.mappings/-accessed-member/name.html @@ -0,0 +1,80 @@ + + + + + name + + + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

name

+
+ +
+ +
+
+
+ + diff --git a/docs/com.grappenmaker.mappings/-accessed-member/owner.html b/docs/com.grappenmaker.mappings/-accessed-member/owner.html new file mode 100644 index 0000000..07b967f --- /dev/null +++ b/docs/com.grappenmaker.mappings/-accessed-member/owner.html @@ -0,0 +1,80 @@ + + + + + owner + + + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

owner

+
+ +
+ +
+
+
+ + diff --git a/docs/com.grappenmaker.mappings/-c-s-r-g-mappings-format/index.html b/docs/com.grappenmaker.mappings/-c-s-r-g-mappings-format/index.html new file mode 100644 index 0000000..69b8fbc --- /dev/null +++ b/docs/com.grappenmaker.mappings/-c-s-r-g-mappings-format/index.html @@ -0,0 +1,164 @@ + + + + + CSRGMappingsFormat + + + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

CSRGMappingsFormat

+

Represents the CSRG mappings format

+
+
+
+
+
+

Functions

+
+
+
+
+ + +
Link copied to clipboard
+
+
+
+
open override fun detect(lines: List<String>): Boolean

Returns whether this MappingsFormat thinks the lines represent a valid input for the mappings parser

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
open override fun parse(lines: Iterator<String>): CSRGMappings

Parses lines (an iterator of lines in a mappings file) into a mappings data structure. Throws an IllegalStateException when lines is not a valid input for this mappings format.

open fun parse(lines: List<String>): CSRGMappings

Parses lines (representing a mappings file) into a mappings data structure. Throws an IllegalStateException when lines is not a valid input for this mappings format. To check if lines can be parsed, you could invoke detect.

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+

Parses lines (a Sequence of lines in a mappings file) into a mappings data structure. Throws an IllegalStateException when lines is not a valid input for this mappings format.

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
open fun write(mappings: CSRGMappings): List<String>

Writes mappings compatible with this MappingsFormat back to a list of lines representing a mappings file

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
open override fun writeLazy(mappings: CSRGMappings): Sequence<String>

Writes mappings compatible with this MappingsFormat to a lazily evaluated Sequence

+
+
+
+
+
+
+
+
+
+ +
+
+
+ + diff --git a/docs/com.grappenmaker.mappings/-c-s-r-g-mappings-format/parse.html b/docs/com.grappenmaker.mappings/-c-s-r-g-mappings-format/parse.html new file mode 100644 index 0000000..8630d39 --- /dev/null +++ b/docs/com.grappenmaker.mappings/-c-s-r-g-mappings-format/parse.html @@ -0,0 +1,80 @@ + + + + + parse + + + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

parse

+
+
open override fun parse(lines: Iterator<String>): CSRGMappings

Parses lines (an iterator of lines in a mappings file) into a mappings data structure. Throws an IllegalStateException when lines is not a valid input for this mappings format.

+
+ +
+
+
+ + diff --git a/docs/com.grappenmaker.mappings/-c-s-r-g-mappings-format/write-lazy.html b/docs/com.grappenmaker.mappings/-c-s-r-g-mappings-format/write-lazy.html new file mode 100644 index 0000000..e721fa5 --- /dev/null +++ b/docs/com.grappenmaker.mappings/-c-s-r-g-mappings-format/write-lazy.html @@ -0,0 +1,80 @@ + + + + + writeLazy + + + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

writeLazy

+
+
open override fun writeLazy(mappings: CSRGMappings): Sequence<String>

Writes mappings compatible with this MappingsFormat to a lazily evaluated Sequence

+
+ +
+
+
+ + diff --git a/docs/com.grappenmaker.mappings/-c-s-r-g-mappings/-c-s-r-g-mappings.html b/docs/com.grappenmaker.mappings/-c-s-r-g-mappings/-c-s-r-g-mappings.html new file mode 100644 index 0000000..69031ce --- /dev/null +++ b/docs/com.grappenmaker.mappings/-c-s-r-g-mappings/-c-s-r-g-mappings.html @@ -0,0 +1,80 @@ + + + + + CSRGMappings + + + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

CSRGMappings

+
+
constructor(classes: List<MappedClass>)
+
+ +
+
+
+ + diff --git a/docs/com.grappenmaker.mappings/-c-s-r-g-mappings/classes.html b/docs/com.grappenmaker.mappings/-c-s-r-g-mappings/classes.html new file mode 100644 index 0000000..d39c57c --- /dev/null +++ b/docs/com.grappenmaker.mappings/-c-s-r-g-mappings/classes.html @@ -0,0 +1,80 @@ + + + + + classes + + + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

classes

+
+
open override val classes: List<MappedClass>
+
+ +
+
+
+ + diff --git a/docs/com.grappenmaker.mappings/-c-s-r-g-mappings/index.html b/docs/com.grappenmaker.mappings/-c-s-r-g-mappings/index.html new file mode 100644 index 0000000..c3d79d8 --- /dev/null +++ b/docs/com.grappenmaker.mappings/-c-s-r-g-mappings/index.html @@ -0,0 +1,547 @@ + + + + + CSRGMappings + + + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

CSRGMappings

+
data class CSRGMappings(val classes: List<MappedClass>) : Mappings

Represents a CSRG Mappings file

+
+
+
+
+
+

Constructors

+
+
+
+
+ + +
Link copied to clipboard
+
+
+
+
constructor(classes: List<MappedClass>)
+
+
+
+
+
+
+
+

Properties

+
+
+
+
+ + +
Link copied to clipboard
+
+
+
+
open override val classes: List<MappedClass>

All mapped classes in this mappings file (in order, not important)

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
open override val namespaces: List<String>

All namespaces (in order) that this mappings file supports/contains

+
+
+
+
+
+
+
+

Functions

+
+
+
+
+ + +
Link copied to clipboard
+
+
+
+
fun Mappings.asASMMapping(from: String, to: String, includeMethods: Boolean = true, includeFields: Boolean = true): Map<String, String>

Returns a simple mapping representing all of the Mappings, mapping between the namespaces from and to. If includeMethods is true, then methods will be included in the mapping. If includeFields is true, then fields will be included in the mapping.

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+ +
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+ +
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+ +
+
+ +
+
+
+ + +
Link copied to clipboard
+
+ +
+
+ +
+
+
+ + +
Link copied to clipboard
+
+ +
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+ +
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
fun Mappings.asSimpleRemapper(from: String, to: String): SimpleRemapper

Returns an asm SimpleRemapper for remapping references between namespaces from and to disregarding inheritance and lambdas. For proper remapping, you should use the MappingsRemapper.

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+

Converts these Mappings to SRGMappings, enabling XSRG when extended is true.

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+

Converts these Mappings to TinyMappings, enabling Tiny v2 when v2 is true.

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+

Converts these Mappings to TSRGMappings, enabling TSRG v2 when v2 is true.

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+

Removes all duplicate namespace usages in this Mappings.

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+

Transforms this Mappings structure to a generic mappings implementation that maps between from and to.

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
inline fun Mappings.filterClasses(predicate: (MappedClass) -> Boolean): Mappings

Filters classes matching the predicate

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
inline fun Mappings.filterMethods(predicate: (owner: MappedClass, method: MappedMethod) -> Boolean): Mappings

Filters methods matching the predicate

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
fun Mappings.filterNamespaces(vararg allowed: String, allowDuplicates: Boolean = false): Mappings
fun Mappings.filterNamespaces(allowed: Set<String>, allowDuplicates: Boolean = false): Mappings

Filters these Mappings to only contain namespaces that are in allowed. If allowDuplicates is true, the returned Mappings will also have duplicate namespaces removed.

inline fun Mappings.filterNamespaces(allowDuplicates: Boolean = false, predicate: (String) -> Boolean): Mappings

Filters these Mappings to only contain namespaces for which the predicate returns true. If allowDuplicates is true, the returned Mappings will also have duplicate namespaces removed.

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
fun Mappings.join(otherMappings: Mappings, intermediateNamespace: String, requireMatch: Boolean = false): Mappings

Joins together this Mappings with otherMappings, by matching on intermediateNamespace, producing new Mappings that contain all entries from this Mappings and otherMappings. If requireMatch is true, this method will throw an exception when no method or field or class is found

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+

Maps classes according to the given block

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
inline fun Mappings.mapMethods(block: (owner: MappedClass, method: MappedMethod) -> MappedMethod): Mappings

Maps methods according to the given block

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+

Returns the index of a namespace named name, but throws an IllegalStateException when name is not in the Mappings.namespaces.

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+

See recoverFieldDescriptors. file is a jar file resource (caller is responsible for closing it) that contains the classes that are referenced in the generic overload.

fun Mappings.recoverFieldDescriptors(bytesProvider: (name: String) -> ByteArray?): Mappings

Attempts to recover field descriptors that are missing because the original mappings format did not specify them. bytesProvider is responsible for providing all of the classes that might be referenced in this Mappings object, such that the descriptors can be recovered based on named (fields can be uniquely identified by an owner-name pair). When field descriptors were not found, field mappings will not be passed onto the new Mappings as field mappings without descriptors will be considered invalid.

@JvmName(name = "recoverDescsByNode")
fun Mappings.recoverFieldDescriptors(nodeProvider: (name: String) -> ClassNode?): Mappings

Attempts to recover field descriptors that are missing because the original mappings format did not specify them. nodeProvider is responsible for providing all of the ClassNodes that might be referenced in this Mappings object, such that the descriptors can be recovered based on named (fields can be uniquely identified by an owner-name pair). When field descriptors were not found, field mappings will not be passed onto the new Mappings as field mappings without descriptors will be considered invalid.

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+

Returns new Mappings that are identical to these Mappings, except the comments will be removed

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
fun Mappings.removeRedundancy(inheritanceProvider: InheritanceProvider, removeDuplicateMethods: Boolean = false): Mappings

Removes redundant or straight up incorrect data from this Mappings object, by looking at the inheritance information present in class files, presented by the inheritanceProvider.

fun Mappings.removeRedundancy(file: JarFile, removeDuplicateMethods: Boolean = false): Mappings

See removeRedundancy. file is a jar file resource (caller is responsible for closing it) that contains the classes that are referenced in the generic overload. Calls with identical names are being cached by this function, the caller is not responsible for this.

fun Mappings.removeRedundancy(removeDuplicateMethods: Boolean = false, loader: ClasspathLoader): Mappings

Removes redundant or straight up incorrect data from this Mappings object, by looking at the inheritance information present in class files, presented by the loader.

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+

Swaps out the names for the namespaces in this Mappings data structure.

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+

Swaps out the names for the namespaces in this Mappings data structure, by reordering. Duplicate names are allowed, in which case mapped entries are duplicated to fit the new order. If a name in Mappings.namespaces does not appear in order, its mapping entries will be missing in the returned Mappings.

Swaps out the names for the namespaces in this Mappings data structure, by reordering. Duplicate names are allowed, in which case mapped entries are duplicated to fit the new order. If a name in Mappings.namespaces does not appear in order, its mapping entries will be missing in the returned Mappings. If a namespace in order does not exist in this Mappings, an IllegalArgumentException will be thrown.

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+

Writes CSRGMappings to a mappings file represented by a list of strings

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+

Writes CSRGMappings as a lazily evaluated Sequence

+
+
+
+
+
+
+
+
+
+ +
+
+
+ + diff --git a/docs/com.grappenmaker.mappings/-c-s-r-g-mappings/namespaces.html b/docs/com.grappenmaker.mappings/-c-s-r-g-mappings/namespaces.html new file mode 100644 index 0000000..d2b5aad --- /dev/null +++ b/docs/com.grappenmaker.mappings/-c-s-r-g-mappings/namespaces.html @@ -0,0 +1,80 @@ + + + + + namespaces + + + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

namespaces

+
+
open override val namespaces: List<String>
+
+ +
+
+
+ + diff --git a/docs/com.grappenmaker.mappings/-classpath-loader/index.html b/docs/com.grappenmaker.mappings/-classpath-loader/index.html new file mode 100644 index 0000000..5f63064 --- /dev/null +++ b/docs/com.grappenmaker.mappings/-classpath-loader/index.html @@ -0,0 +1,84 @@ + + + + + ClasspathLoader + + + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

ClasspathLoader

+
typealias ClasspathLoader = (name: String) -> ByteArray?

An alias for a function that returns class file buffers given an internal/JVMS class name

+
+
+
+
+
+
+ +
+
+
+ + diff --git a/docs/com.grappenmaker.mappings/-classpath-loaders/compound.html b/docs/com.grappenmaker.mappings/-classpath-loaders/compound.html new file mode 100644 index 0000000..d930756 --- /dev/null +++ b/docs/com.grappenmaker.mappings/-classpath-loaders/compound.html @@ -0,0 +1,80 @@ + + + + + compound + + + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

compound

+
+

Combines several loaders into a single classpath loader, that queries each loader in order, returning the first nonnull value

+
+ +
+
+
+ + diff --git a/docs/com.grappenmaker.mappings/-classpath-loaders/from-jar.html b/docs/com.grappenmaker.mappings/-classpath-loaders/from-jar.html new file mode 100644 index 0000000..2d81bd9 --- /dev/null +++ b/docs/com.grappenmaker.mappings/-classpath-loaders/from-jar.html @@ -0,0 +1,80 @@ + + + + + fromJar + + + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

fromJar

+
+

Attempts to load classes a jar, the caller is responsible for closing jar when it is no longer relevant / used in the remapper

+
+ +
+
+
+ + diff --git a/docs/com.grappenmaker.mappings/-classpath-loaders/from-jars.html b/docs/com.grappenmaker.mappings/-classpath-loaders/from-jars.html new file mode 100644 index 0000000..bf449d0 --- /dev/null +++ b/docs/com.grappenmaker.mappings/-classpath-loaders/from-jars.html @@ -0,0 +1,80 @@ + + + + + fromJars + + + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

fromJars

+
+

Attempts to load classes from jars, the caller is responsible for closing those jar files when they are no longer relevant / used in the remapper

+
+ +
+
+
+ + diff --git a/docs/com.grappenmaker.mappings/-classpath-loaders/from-loader.html b/docs/com.grappenmaker.mappings/-classpath-loaders/from-loader.html new file mode 100644 index 0000000..ad5736f --- /dev/null +++ b/docs/com.grappenmaker.mappings/-classpath-loaders/from-loader.html @@ -0,0 +1,80 @@ + + + + + fromLoader + + + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

fromLoader

+
+

Attempts to load classes using resources in loader

+
+ +
+
+
+ + diff --git a/docs/com.grappenmaker.mappings/-classpath-loaders/from-lookup.html b/docs/com.grappenmaker.mappings/-classpath-loaders/from-lookup.html new file mode 100644 index 0000000..56b24c2 --- /dev/null +++ b/docs/com.grappenmaker.mappings/-classpath-loaders/from-lookup.html @@ -0,0 +1,80 @@ + + + + + fromLookup + + + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

fromLookup

+
+

Creates a ClasspathLoader from a lookup, which should have JVMS internal names as keys, and class file buffers as values

+
+ +
+
+
+ + diff --git a/docs/com.grappenmaker.mappings/-classpath-loaders/from-system-loader.html b/docs/com.grappenmaker.mappings/-classpath-loaders/from-system-loader.html new file mode 100644 index 0000000..123566c --- /dev/null +++ b/docs/com.grappenmaker.mappings/-classpath-loaders/from-system-loader.html @@ -0,0 +1,80 @@ + + + + + fromSystemLoader + + + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

fromSystemLoader

+
+

Attempts to load classes using resources in the system class loader

+
+ +
+
+
+ + diff --git a/docs/com.grappenmaker.mappings/-classpath-loaders/index.html b/docs/com.grappenmaker.mappings/-classpath-loaders/index.html new file mode 100644 index 0000000..c4275ae --- /dev/null +++ b/docs/com.grappenmaker.mappings/-classpath-loaders/index.html @@ -0,0 +1,179 @@ + + + + + ClasspathLoaders + + + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

ClasspathLoaders

+

Provides default implementations for the classpath loaders in MappingsRemapper

+
+
+
+
+
+

Functions

+
+
+
+
+ + +
Link copied to clipboard
+
+
+
+

Combines several loaders into a single classpath loader, that queries each loader in order, returning the first nonnull value

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+

Attempts to load classes a jar, the caller is responsible for closing jar when it is no longer relevant / used in the remapper

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+

Attempts to load classes from jars, the caller is responsible for closing those jar files when they are no longer relevant / used in the remapper

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+

Attempts to load classes using resources in loader

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+

Creates a ClasspathLoader from a lookup, which should have JVMS internal names as keys, and class file buffers as values

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+

Attempts to load classes using resources in the system class loader

+
+
+
+
+
+
+
+
+
+ +
+
+
+ + diff --git a/docs/com.grappenmaker.mappings/-commented/comments.html b/docs/com.grappenmaker.mappings/-commented/comments.html new file mode 100644 index 0000000..a068035 --- /dev/null +++ b/docs/com.grappenmaker.mappings/-commented/comments.html @@ -0,0 +1,80 @@ + + + + + comments + + + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

comments

+
+
abstract val comments: List<String>
+
+ +
+
+
+ + diff --git a/docs/com.grappenmaker.mappings/-commented/index.html b/docs/com.grappenmaker.mappings/-commented/index.html new file mode 100644 index 0000000..aa1d20b --- /dev/null +++ b/docs/com.grappenmaker.mappings/-commented/index.html @@ -0,0 +1,104 @@ + + + + + Commented + + + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

Commented

+
sealed interface Commented

Represents any entity that can have comments (commonly used in Tiny mappings)

Inheritors

+
+
+
+
+
+

Properties

+
+
+
+
+ + +
Link copied to clipboard
+
+
+
+
abstract val comments: List<String>

All comments that the author of some Mappings file wrote

+
+
+
+
+
+
+
+
+
+ +
+
+
+ + diff --git a/docs/com.grappenmaker.mappings/-compacted-mappings-format/index.html b/docs/com.grappenmaker.mappings/-compacted-mappings-format/index.html new file mode 100644 index 0000000..7270036 --- /dev/null +++ b/docs/com.grappenmaker.mappings/-compacted-mappings-format/index.html @@ -0,0 +1,134 @@ + + + + + CompactedMappingsFormat + + + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

CompactedMappingsFormat

+

Represents the compacted mappings format. Note: this does not support the usual MappingsFormat capability, since this is the only mappings format that has a binary representation. Compacted mappings should be explicitly handled through this object

+
+
+
+
+
+

Functions

+
+
+
+
+ + +
Link copied to clipboard
+
+
+
+

Parses some CompactedMappings that is an equivalent representation of a given InputStream (when fully read)

Parses some CompactedMappings that is an equivalent representation of the given buffer as bytes

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+

Writes some mappings to a buffer that is an equivalent representation of the mappings

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
fun writeTo(mappings: CompactedMappings, stream: OutputStream)

Writes some mappings to an OutputStream as an equivalent representation

+
+
+
+
+
+
+
+
+
+ +
+
+
+ + diff --git a/docs/com.grappenmaker.mappings/-compacted-mappings-format/parse.html b/docs/com.grappenmaker.mappings/-compacted-mappings-format/parse.html new file mode 100644 index 0000000..6acf514 --- /dev/null +++ b/docs/com.grappenmaker.mappings/-compacted-mappings-format/parse.html @@ -0,0 +1,80 @@ + + + + + parse + + + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

parse

+
+

Parses some CompactedMappings that is an equivalent representation of the given buffer as bytes


Parses some CompactedMappings that is an equivalent representation of a given InputStream (when fully read)

+
+ +
+
+
+ + diff --git a/docs/com.grappenmaker.mappings/-compacted-mappings-format/write-to.html b/docs/com.grappenmaker.mappings/-compacted-mappings-format/write-to.html new file mode 100644 index 0000000..740bccf --- /dev/null +++ b/docs/com.grappenmaker.mappings/-compacted-mappings-format/write-to.html @@ -0,0 +1,80 @@ + + + + + writeTo + + + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

writeTo

+
+
fun writeTo(mappings: CompactedMappings, stream: OutputStream)

Writes some mappings to an OutputStream as an equivalent representation

+
+ +
+
+
+ + diff --git a/docs/com.grappenmaker.mappings/-compacted-mappings-format/write.html b/docs/com.grappenmaker.mappings/-compacted-mappings-format/write.html new file mode 100644 index 0000000..3211010 --- /dev/null +++ b/docs/com.grappenmaker.mappings/-compacted-mappings-format/write.html @@ -0,0 +1,80 @@ + + + + + write + + + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

write

+
+

Writes some mappings to a buffer that is an equivalent representation of the mappings

+
+ +
+
+
+ + diff --git a/docs/com.grappenmaker.mappings/-compacted-mappings/-compacted-mappings.html b/docs/com.grappenmaker.mappings/-compacted-mappings/-compacted-mappings.html new file mode 100644 index 0000000..5bcd33a --- /dev/null +++ b/docs/com.grappenmaker.mappings/-compacted-mappings/-compacted-mappings.html @@ -0,0 +1,80 @@ + + + + + CompactedMappings + + + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

CompactedMappings

+
+
constructor(namespaces: List<String>, classes: List<MappedClass>, version: Int = 2)
+
+ +
+
+
+ + diff --git a/docs/com.grappenmaker.mappings/-compacted-mappings/classes.html b/docs/com.grappenmaker.mappings/-compacted-mappings/classes.html new file mode 100644 index 0000000..35aeb2a --- /dev/null +++ b/docs/com.grappenmaker.mappings/-compacted-mappings/classes.html @@ -0,0 +1,80 @@ + + + + + classes + + + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

classes

+
+
open override val classes: List<MappedClass>
+
+ +
+
+
+ + diff --git a/docs/com.grappenmaker.mappings/-compacted-mappings/index.html b/docs/com.grappenmaker.mappings/-compacted-mappings/index.html new file mode 100644 index 0000000..62d58e0 --- /dev/null +++ b/docs/com.grappenmaker.mappings/-compacted-mappings/index.html @@ -0,0 +1,562 @@ + + + + + CompactedMappings + + + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

CompactedMappings

+
data class CompactedMappings(val namespaces: List<String>, val classes: List<MappedClass>, val version: Int = 2) : Mappings

Represents a compacted mappings file. See CompactedMappingsFormat

+
+
+
+
+
+

Constructors

+
+
+
+
+ + +
Link copied to clipboard
+
+
+
+
constructor(namespaces: List<String>, classes: List<MappedClass>, version: Int = 2)
+
+
+
+
+
+
+
+

Properties

+
+
+
+
+ + +
Link copied to clipboard
+
+
+
+
open override val classes: List<MappedClass>

All mapped classes in this mappings file (in order, not important)

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
open override val namespaces: List<String>

All namespaces (in order) that this mappings file supports/contains

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
val version: Int = 2

The version of this mappings file. Currently, this is either 1 or 2.

+
+
+
+
+
+
+
+

Functions

+
+
+
+
+ + +
Link copied to clipboard
+
+
+
+
fun Mappings.asASMMapping(from: String, to: String, includeMethods: Boolean = true, includeFields: Boolean = true): Map<String, String>

Returns a simple mapping representing all of the Mappings, mapping between the namespaces from and to. If includeMethods is true, then methods will be included in the mapping. If includeFields is true, then fields will be included in the mapping.

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+ +
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+ +
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+ +
+
+ +
+
+
+ + +
Link copied to clipboard
+
+ +
+
+ +
+
+
+ + +
Link copied to clipboard
+
+ +
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+ +
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
fun Mappings.asSimpleRemapper(from: String, to: String): SimpleRemapper

Returns an asm SimpleRemapper for remapping references between namespaces from and to disregarding inheritance and lambdas. For proper remapping, you should use the MappingsRemapper.

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+

Converts these Mappings to SRGMappings, enabling XSRG when extended is true.

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+

Converts these Mappings to TinyMappings, enabling Tiny v2 when v2 is true.

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+

Converts these Mappings to TSRGMappings, enabling TSRG v2 when v2 is true.

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+

Removes all duplicate namespace usages in this Mappings.

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+

Transforms this Mappings structure to a generic mappings implementation that maps between from and to.

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
inline fun Mappings.filterClasses(predicate: (MappedClass) -> Boolean): Mappings

Filters classes matching the predicate

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
inline fun Mappings.filterMethods(predicate: (owner: MappedClass, method: MappedMethod) -> Boolean): Mappings

Filters methods matching the predicate

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
fun Mappings.filterNamespaces(vararg allowed: String, allowDuplicates: Boolean = false): Mappings
fun Mappings.filterNamespaces(allowed: Set<String>, allowDuplicates: Boolean = false): Mappings

Filters these Mappings to only contain namespaces that are in allowed. If allowDuplicates is true, the returned Mappings will also have duplicate namespaces removed.

inline fun Mappings.filterNamespaces(allowDuplicates: Boolean = false, predicate: (String) -> Boolean): Mappings

Filters these Mappings to only contain namespaces for which the predicate returns true. If allowDuplicates is true, the returned Mappings will also have duplicate namespaces removed.

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
fun Mappings.join(otherMappings: Mappings, intermediateNamespace: String, requireMatch: Boolean = false): Mappings

Joins together this Mappings with otherMappings, by matching on intermediateNamespace, producing new Mappings that contain all entries from this Mappings and otherMappings. If requireMatch is true, this method will throw an exception when no method or field or class is found

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+

Maps classes according to the given block

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
inline fun Mappings.mapMethods(block: (owner: MappedClass, method: MappedMethod) -> MappedMethod): Mappings

Maps methods according to the given block

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+

Returns the index of a namespace named name, but throws an IllegalStateException when name is not in the Mappings.namespaces.

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+

See recoverFieldDescriptors. file is a jar file resource (caller is responsible for closing it) that contains the classes that are referenced in the generic overload.

fun Mappings.recoverFieldDescriptors(bytesProvider: (name: String) -> ByteArray?): Mappings

Attempts to recover field descriptors that are missing because the original mappings format did not specify them. bytesProvider is responsible for providing all of the classes that might be referenced in this Mappings object, such that the descriptors can be recovered based on named (fields can be uniquely identified by an owner-name pair). When field descriptors were not found, field mappings will not be passed onto the new Mappings as field mappings without descriptors will be considered invalid.

@JvmName(name = "recoverDescsByNode")
fun Mappings.recoverFieldDescriptors(nodeProvider: (name: String) -> ClassNode?): Mappings

Attempts to recover field descriptors that are missing because the original mappings format did not specify them. nodeProvider is responsible for providing all of the ClassNodes that might be referenced in this Mappings object, such that the descriptors can be recovered based on named (fields can be uniquely identified by an owner-name pair). When field descriptors were not found, field mappings will not be passed onto the new Mappings as field mappings without descriptors will be considered invalid.

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+

Returns new Mappings that are identical to these Mappings, except the comments will be removed

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
fun Mappings.removeRedundancy(inheritanceProvider: InheritanceProvider, removeDuplicateMethods: Boolean = false): Mappings

Removes redundant or straight up incorrect data from this Mappings object, by looking at the inheritance information present in class files, presented by the inheritanceProvider.

fun Mappings.removeRedundancy(file: JarFile, removeDuplicateMethods: Boolean = false): Mappings

See removeRedundancy. file is a jar file resource (caller is responsible for closing it) that contains the classes that are referenced in the generic overload. Calls with identical names are being cached by this function, the caller is not responsible for this.

fun Mappings.removeRedundancy(removeDuplicateMethods: Boolean = false, loader: ClasspathLoader): Mappings

Removes redundant or straight up incorrect data from this Mappings object, by looking at the inheritance information present in class files, presented by the loader.

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+

Swaps out the names for the namespaces in this Mappings data structure.

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+

Swaps out the names for the namespaces in this Mappings data structure, by reordering. Duplicate names are allowed, in which case mapped entries are duplicated to fit the new order. If a name in Mappings.namespaces does not appear in order, its mapping entries will be missing in the returned Mappings.

Swaps out the names for the namespaces in this Mappings data structure, by reordering. Duplicate names are allowed, in which case mapped entries are duplicated to fit the new order. If a name in Mappings.namespaces does not appear in order, its mapping entries will be missing in the returned Mappings. If a namespace in order does not exist in this Mappings, an IllegalArgumentException will be thrown.

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+

Writes CompactedMappings as its binary representation

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+

Writes some mappings to an OutputStream as an equivalent representation

+
+
+
+
+
+
+
+
+
+ +
+
+
+ + diff --git a/docs/com.grappenmaker.mappings/-compacted-mappings/namespaces.html b/docs/com.grappenmaker.mappings/-compacted-mappings/namespaces.html new file mode 100644 index 0000000..fc272ef --- /dev/null +++ b/docs/com.grappenmaker.mappings/-compacted-mappings/namespaces.html @@ -0,0 +1,80 @@ + + + + + namespaces + + + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

namespaces

+
+
open override val namespaces: List<String>
+
+ +
+
+
+ + diff --git a/docs/com.grappenmaker.mappings/-compacted-mappings/version.html b/docs/com.grappenmaker.mappings/-compacted-mappings/version.html new file mode 100644 index 0000000..a7d7e5e --- /dev/null +++ b/docs/com.grappenmaker.mappings/-compacted-mappings/version.html @@ -0,0 +1,80 @@ + + + + + version + + + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

version

+
+
val version: Int = 2
+
+ +
+
+
+ + diff --git a/docs/com.grappenmaker.mappings/-empty-mappings/classes.html b/docs/com.grappenmaker.mappings/-empty-mappings/classes.html new file mode 100644 index 0000000..38d9218 --- /dev/null +++ b/docs/com.grappenmaker.mappings/-empty-mappings/classes.html @@ -0,0 +1,80 @@ + + + + + classes + + + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

classes

+
+
open override val classes: List<MappedClass>
+
+ +
+
+
+ + diff --git a/docs/com.grappenmaker.mappings/-empty-mappings/index.html b/docs/com.grappenmaker.mappings/-empty-mappings/index.html new file mode 100644 index 0000000..6d97918 --- /dev/null +++ b/docs/com.grappenmaker.mappings/-empty-mappings/index.html @@ -0,0 +1,498 @@ + + + + + EmptyMappings + + + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

EmptyMappings

+
data object EmptyMappings : Mappings

Represents an empty mappings object, with no data.

+
+
+
+
+
+

Properties

+
+
+
+
+ + +
Link copied to clipboard
+
+
+
+
open override val classes: List<MappedClass>

All mapped classes in this mappings file (in order, not important)

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
open override val namespaces: List<String>

All namespaces (in order) that this mappings file supports/contains

+
+
+
+
+
+
+
+

Functions

+
+
+
+
+ + +
Link copied to clipboard
+
+
+
+
fun Mappings.asASMMapping(from: String, to: String, includeMethods: Boolean = true, includeFields: Boolean = true): Map<String, String>

Returns a simple mapping representing all of the Mappings, mapping between the namespaces from and to. If includeMethods is true, then methods will be included in the mapping. If includeFields is true, then fields will be included in the mapping.

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+ +
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+ +
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+ +
+
+ +
+
+
+ + +
Link copied to clipboard
+
+ +
+
+ +
+
+
+ + +
Link copied to clipboard
+
+ +
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+ +
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
fun Mappings.asSimpleRemapper(from: String, to: String): SimpleRemapper

Returns an asm SimpleRemapper for remapping references between namespaces from and to disregarding inheritance and lambdas. For proper remapping, you should use the MappingsRemapper.

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+

Converts these Mappings to SRGMappings, enabling XSRG when extended is true.

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+

Converts these Mappings to TinyMappings, enabling Tiny v2 when v2 is true.

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+

Converts these Mappings to TSRGMappings, enabling TSRG v2 when v2 is true.

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+

Removes all duplicate namespace usages in this Mappings.

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+

Transforms this Mappings structure to a generic mappings implementation that maps between from and to.

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
inline fun Mappings.filterClasses(predicate: (MappedClass) -> Boolean): Mappings

Filters classes matching the predicate

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
inline fun Mappings.filterMethods(predicate: (owner: MappedClass, method: MappedMethod) -> Boolean): Mappings

Filters methods matching the predicate

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
fun Mappings.filterNamespaces(vararg allowed: String, allowDuplicates: Boolean = false): Mappings
fun Mappings.filterNamespaces(allowed: Set<String>, allowDuplicates: Boolean = false): Mappings

Filters these Mappings to only contain namespaces that are in allowed. If allowDuplicates is true, the returned Mappings will also have duplicate namespaces removed.

inline fun Mappings.filterNamespaces(allowDuplicates: Boolean = false, predicate: (String) -> Boolean): Mappings

Filters these Mappings to only contain namespaces for which the predicate returns true. If allowDuplicates is true, the returned Mappings will also have duplicate namespaces removed.

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
fun Mappings.join(otherMappings: Mappings, intermediateNamespace: String, requireMatch: Boolean = false): Mappings

Joins together this Mappings with otherMappings, by matching on intermediateNamespace, producing new Mappings that contain all entries from this Mappings and otherMappings. If requireMatch is true, this method will throw an exception when no method or field or class is found

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+

Maps classes according to the given block

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
inline fun Mappings.mapMethods(block: (owner: MappedClass, method: MappedMethod) -> MappedMethod): Mappings

Maps methods according to the given block

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+

Returns the index of a namespace named name, but throws an IllegalStateException when name is not in the Mappings.namespaces.

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+

See recoverFieldDescriptors. file is a jar file resource (caller is responsible for closing it) that contains the classes that are referenced in the generic overload.

fun Mappings.recoverFieldDescriptors(bytesProvider: (name: String) -> ByteArray?): Mappings

Attempts to recover field descriptors that are missing because the original mappings format did not specify them. bytesProvider is responsible for providing all of the classes that might be referenced in this Mappings object, such that the descriptors can be recovered based on named (fields can be uniquely identified by an owner-name pair). When field descriptors were not found, field mappings will not be passed onto the new Mappings as field mappings without descriptors will be considered invalid.

@JvmName(name = "recoverDescsByNode")
fun Mappings.recoverFieldDescriptors(nodeProvider: (name: String) -> ClassNode?): Mappings

Attempts to recover field descriptors that are missing because the original mappings format did not specify them. nodeProvider is responsible for providing all of the ClassNodes that might be referenced in this Mappings object, such that the descriptors can be recovered based on named (fields can be uniquely identified by an owner-name pair). When field descriptors were not found, field mappings will not be passed onto the new Mappings as field mappings without descriptors will be considered invalid.

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+

Returns new Mappings that are identical to these Mappings, except the comments will be removed

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
fun Mappings.removeRedundancy(inheritanceProvider: InheritanceProvider, removeDuplicateMethods: Boolean = false): Mappings

Removes redundant or straight up incorrect data from this Mappings object, by looking at the inheritance information present in class files, presented by the inheritanceProvider.

fun Mappings.removeRedundancy(file: JarFile, removeDuplicateMethods: Boolean = false): Mappings

See removeRedundancy. file is a jar file resource (caller is responsible for closing it) that contains the classes that are referenced in the generic overload. Calls with identical names are being cached by this function, the caller is not responsible for this.

fun Mappings.removeRedundancy(removeDuplicateMethods: Boolean = false, loader: ClasspathLoader): Mappings

Removes redundant or straight up incorrect data from this Mappings object, by looking at the inheritance information present in class files, presented by the loader.

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+

Swaps out the names for the namespaces in this Mappings data structure.

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+

Swaps out the names for the namespaces in this Mappings data structure, by reordering. Duplicate names are allowed, in which case mapped entries are duplicated to fit the new order. If a name in Mappings.namespaces does not appear in order, its mapping entries will be missing in the returned Mappings.

Swaps out the names for the namespaces in this Mappings data structure, by reordering. Duplicate names are allowed, in which case mapped entries are duplicated to fit the new order. If a name in Mappings.namespaces does not appear in order, its mapping entries will be missing in the returned Mappings. If a namespace in order does not exist in this Mappings, an IllegalArgumentException will be thrown.

+
+
+
+
+
+
+
+
+
+ +
+
+
+ + diff --git a/docs/com.grappenmaker.mappings/-empty-mappings/namespaces.html b/docs/com.grappenmaker.mappings/-empty-mappings/namespaces.html new file mode 100644 index 0000000..bafde76 --- /dev/null +++ b/docs/com.grappenmaker.mappings/-empty-mappings/namespaces.html @@ -0,0 +1,80 @@ + + + + + namespaces + + + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

namespaces

+
+
open override val namespaces: List<String>
+
+ +
+
+
+ + diff --git a/docs/com.grappenmaker.mappings/-enigma-mappings-format/detect.html b/docs/com.grappenmaker.mappings/-enigma-mappings-format/detect.html new file mode 100644 index 0000000..3420e31 --- /dev/null +++ b/docs/com.grappenmaker.mappings/-enigma-mappings-format/detect.html @@ -0,0 +1,80 @@ + + + + + detect + + + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

detect

+
+
open override fun detect(lines: List<String>): Boolean

Returns whether this MappingsFormat thinks the lines represent a valid input for the mappings parser

+
+ +
+
+
+ + diff --git a/docs/com.grappenmaker.mappings/-enigma-mappings-format/index.html b/docs/com.grappenmaker.mappings/-enigma-mappings-format/index.html new file mode 100644 index 0000000..8c66bb7 --- /dev/null +++ b/docs/com.grappenmaker.mappings/-enigma-mappings-format/index.html @@ -0,0 +1,164 @@ + + + + + EnigmaMappingsFormat + + + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

EnigmaMappingsFormat

+

Represents the enigma mappings format

+
+
+
+
+
+

Functions

+
+
+
+
+ + +
Link copied to clipboard
+
+
+
+
open override fun detect(lines: List<String>): Boolean

Returns whether this MappingsFormat thinks the lines represent a valid input for the mappings parser

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
open override fun parse(lines: Iterator<String>): EnigmaMappings

Parses lines (an iterator of lines in a mappings file) into a mappings data structure. Throws an IllegalStateException when lines is not a valid input for this mappings format.

open fun parse(lines: List<String>): EnigmaMappings

Parses lines (representing a mappings file) into a mappings data structure. Throws an IllegalStateException when lines is not a valid input for this mappings format. To check if lines can be parsed, you could invoke detect.

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+

Parses lines (a Sequence of lines in a mappings file) into a mappings data structure. Throws an IllegalStateException when lines is not a valid input for this mappings format.

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
open fun write(mappings: EnigmaMappings): List<String>

Writes mappings compatible with this MappingsFormat back to a list of lines representing a mappings file

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
open override fun writeLazy(mappings: EnigmaMappings): Sequence<String>

Writes mappings compatible with this MappingsFormat to a lazily evaluated Sequence

+
+
+
+
+
+
+
+
+
+ +
+
+
+ + diff --git a/docs/com.grappenmaker.mappings/-enigma-mappings-format/parse.html b/docs/com.grappenmaker.mappings/-enigma-mappings-format/parse.html new file mode 100644 index 0000000..cc17e15 --- /dev/null +++ b/docs/com.grappenmaker.mappings/-enigma-mappings-format/parse.html @@ -0,0 +1,80 @@ + + + + + parse + + + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

parse

+
+
open override fun parse(lines: Iterator<String>): EnigmaMappings

Parses lines (an iterator of lines in a mappings file) into a mappings data structure. Throws an IllegalStateException when lines is not a valid input for this mappings format.

+
+ +
+
+
+ + diff --git a/docs/com.grappenmaker.mappings/-enigma-mappings-format/write-lazy.html b/docs/com.grappenmaker.mappings/-enigma-mappings-format/write-lazy.html new file mode 100644 index 0000000..c4606eb --- /dev/null +++ b/docs/com.grappenmaker.mappings/-enigma-mappings-format/write-lazy.html @@ -0,0 +1,80 @@ + + + + + writeLazy + + + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

writeLazy

+
+
open override fun writeLazy(mappings: EnigmaMappings): Sequence<String>

Writes mappings compatible with this MappingsFormat to a lazily evaluated Sequence

+
+ +
+
+
+ + diff --git a/docs/com.grappenmaker.mappings/-enigma-mappings/-enigma-mappings.html b/docs/com.grappenmaker.mappings/-enigma-mappings/-enigma-mappings.html new file mode 100644 index 0000000..2ab3de8 --- /dev/null +++ b/docs/com.grappenmaker.mappings/-enigma-mappings/-enigma-mappings.html @@ -0,0 +1,80 @@ + + + + + EnigmaMappings + + + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

EnigmaMappings

+
+
constructor(classes: List<MappedClass>)
+
+ +
+
+
+ + diff --git a/docs/com.grappenmaker.mappings/-enigma-mappings/classes.html b/docs/com.grappenmaker.mappings/-enigma-mappings/classes.html new file mode 100644 index 0000000..0bc2b70 --- /dev/null +++ b/docs/com.grappenmaker.mappings/-enigma-mappings/classes.html @@ -0,0 +1,80 @@ + + + + + classes + + + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

classes

+
+
open override val classes: List<MappedClass>
+
+ +
+
+
+ + diff --git a/docs/com.grappenmaker.mappings/-enigma-mappings/index.html b/docs/com.grappenmaker.mappings/-enigma-mappings/index.html new file mode 100644 index 0000000..0dd3344 --- /dev/null +++ b/docs/com.grappenmaker.mappings/-enigma-mappings/index.html @@ -0,0 +1,547 @@ + + + + + EnigmaMappings + + + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

EnigmaMappings

+
data class EnigmaMappings(val classes: List<MappedClass>) : Mappings

Represents either an enigma mappings file

+
+
+
+
+
+

Constructors

+
+
+
+
+ + +
Link copied to clipboard
+
+
+
+
constructor(classes: List<MappedClass>)
+
+
+
+
+
+
+
+

Properties

+
+
+
+
+ + +
Link copied to clipboard
+
+
+
+
open override val classes: List<MappedClass>

All mapped classes in this mappings file (in order, not important)

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
open override val namespaces: List<String>

All namespaces (in order) that this mappings file supports/contains

+
+
+
+
+
+
+
+

Functions

+
+
+
+
+ + +
Link copied to clipboard
+
+
+
+
fun Mappings.asASMMapping(from: String, to: String, includeMethods: Boolean = true, includeFields: Boolean = true): Map<String, String>

Returns a simple mapping representing all of the Mappings, mapping between the namespaces from and to. If includeMethods is true, then methods will be included in the mapping. If includeFields is true, then fields will be included in the mapping.

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+ +
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+ +
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+ +
+
+ +
+
+
+ + +
Link copied to clipboard
+
+ +
+
+ +
+
+
+ + +
Link copied to clipboard
+
+ +
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+ +
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
fun Mappings.asSimpleRemapper(from: String, to: String): SimpleRemapper

Returns an asm SimpleRemapper for remapping references between namespaces from and to disregarding inheritance and lambdas. For proper remapping, you should use the MappingsRemapper.

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+

Converts these Mappings to SRGMappings, enabling XSRG when extended is true.

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+

Converts these Mappings to TinyMappings, enabling Tiny v2 when v2 is true.

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+

Converts these Mappings to TSRGMappings, enabling TSRG v2 when v2 is true.

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+

Removes all duplicate namespace usages in this Mappings.

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+

Transforms this Mappings structure to a generic mappings implementation that maps between from and to.

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
inline fun Mappings.filterClasses(predicate: (MappedClass) -> Boolean): Mappings

Filters classes matching the predicate

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
inline fun Mappings.filterMethods(predicate: (owner: MappedClass, method: MappedMethod) -> Boolean): Mappings

Filters methods matching the predicate

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
fun Mappings.filterNamespaces(vararg allowed: String, allowDuplicates: Boolean = false): Mappings
fun Mappings.filterNamespaces(allowed: Set<String>, allowDuplicates: Boolean = false): Mappings

Filters these Mappings to only contain namespaces that are in allowed. If allowDuplicates is true, the returned Mappings will also have duplicate namespaces removed.

inline fun Mappings.filterNamespaces(allowDuplicates: Boolean = false, predicate: (String) -> Boolean): Mappings

Filters these Mappings to only contain namespaces for which the predicate returns true. If allowDuplicates is true, the returned Mappings will also have duplicate namespaces removed.

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
fun Mappings.join(otherMappings: Mappings, intermediateNamespace: String, requireMatch: Boolean = false): Mappings

Joins together this Mappings with otherMappings, by matching on intermediateNamespace, producing new Mappings that contain all entries from this Mappings and otherMappings. If requireMatch is true, this method will throw an exception when no method or field or class is found

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+

Maps classes according to the given block

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
inline fun Mappings.mapMethods(block: (owner: MappedClass, method: MappedMethod) -> MappedMethod): Mappings

Maps methods according to the given block

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+

Returns the index of a namespace named name, but throws an IllegalStateException when name is not in the Mappings.namespaces.

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+

See recoverFieldDescriptors. file is a jar file resource (caller is responsible for closing it) that contains the classes that are referenced in the generic overload.

fun Mappings.recoverFieldDescriptors(bytesProvider: (name: String) -> ByteArray?): Mappings

Attempts to recover field descriptors that are missing because the original mappings format did not specify them. bytesProvider is responsible for providing all of the classes that might be referenced in this Mappings object, such that the descriptors can be recovered based on named (fields can be uniquely identified by an owner-name pair). When field descriptors were not found, field mappings will not be passed onto the new Mappings as field mappings without descriptors will be considered invalid.

@JvmName(name = "recoverDescsByNode")
fun Mappings.recoverFieldDescriptors(nodeProvider: (name: String) -> ClassNode?): Mappings

Attempts to recover field descriptors that are missing because the original mappings format did not specify them. nodeProvider is responsible for providing all of the ClassNodes that might be referenced in this Mappings object, such that the descriptors can be recovered based on named (fields can be uniquely identified by an owner-name pair). When field descriptors were not found, field mappings will not be passed onto the new Mappings as field mappings without descriptors will be considered invalid.

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+

Returns new Mappings that are identical to these Mappings, except the comments will be removed

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
fun Mappings.removeRedundancy(inheritanceProvider: InheritanceProvider, removeDuplicateMethods: Boolean = false): Mappings

Removes redundant or straight up incorrect data from this Mappings object, by looking at the inheritance information present in class files, presented by the inheritanceProvider.

fun Mappings.removeRedundancy(file: JarFile, removeDuplicateMethods: Boolean = false): Mappings

See removeRedundancy. file is a jar file resource (caller is responsible for closing it) that contains the classes that are referenced in the generic overload. Calls with identical names are being cached by this function, the caller is not responsible for this.

fun Mappings.removeRedundancy(removeDuplicateMethods: Boolean = false, loader: ClasspathLoader): Mappings

Removes redundant or straight up incorrect data from this Mappings object, by looking at the inheritance information present in class files, presented by the loader.

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+

Swaps out the names for the namespaces in this Mappings data structure.

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+

Swaps out the names for the namespaces in this Mappings data structure, by reordering. Duplicate names are allowed, in which case mapped entries are duplicated to fit the new order. If a name in Mappings.namespaces does not appear in order, its mapping entries will be missing in the returned Mappings.

Swaps out the names for the namespaces in this Mappings data structure, by reordering. Duplicate names are allowed, in which case mapped entries are duplicated to fit the new order. If a name in Mappings.namespaces does not appear in order, its mapping entries will be missing in the returned Mappings. If a namespace in order does not exist in this Mappings, an IllegalArgumentException will be thrown.

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+

Writes EnigmaMappings to a mappings file represented by a list of strings.

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+

Writes EnigmaMappings as a lazily evaluated Sequence.

+
+
+
+
+
+
+
+
+
+ +
+
+
+ + diff --git a/docs/com.grappenmaker.mappings/-enigma-mappings/namespaces.html b/docs/com.grappenmaker.mappings/-enigma-mappings/namespaces.html new file mode 100644 index 0000000..c30530e --- /dev/null +++ b/docs/com.grappenmaker.mappings/-enigma-mappings/namespaces.html @@ -0,0 +1,80 @@ + + + + + namespaces + + + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

namespaces

+
+
open override val namespaces: List<String>
+
+ +
+
+
+ + diff --git a/docs/com.grappenmaker.mappings/-experimental-jar-remapper/index.html b/docs/com.grappenmaker.mappings/-experimental-jar-remapper/index.html new file mode 100644 index 0000000..dbc56d1 --- /dev/null +++ b/docs/com.grappenmaker.mappings/-experimental-jar-remapper/index.html @@ -0,0 +1,84 @@ + + + + + ExperimentalJarRemapper + + + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

ExperimentalJarRemapper

+
annotation class ExperimentalJarRemapper

Marker annotation that declares that the annotated type is experimental Jar Remapper API

+
+
+
+
+
+
+ +
+
+
+ + diff --git a/docs/com.grappenmaker.mappings/-generic-mappings/-generic-mappings.html b/docs/com.grappenmaker.mappings/-generic-mappings/-generic-mappings.html new file mode 100644 index 0000000..f8f1c66 --- /dev/null +++ b/docs/com.grappenmaker.mappings/-generic-mappings/-generic-mappings.html @@ -0,0 +1,80 @@ + + + + + GenericMappings + + + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

GenericMappings

+
+
constructor(namespaces: List<String>, classes: List<MappedClass>)
+
+ +
+
+
+ + diff --git a/docs/com.grappenmaker.mappings/-generic-mappings/classes.html b/docs/com.grappenmaker.mappings/-generic-mappings/classes.html new file mode 100644 index 0000000..5fb37c7 --- /dev/null +++ b/docs/com.grappenmaker.mappings/-generic-mappings/classes.html @@ -0,0 +1,80 @@ + + + + + classes + + + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

classes

+
+
open override val classes: List<MappedClass>
+
+ +
+
+
+ + diff --git a/docs/com.grappenmaker.mappings/-generic-mappings/index.html b/docs/com.grappenmaker.mappings/-generic-mappings/index.html new file mode 100644 index 0000000..d046f44 --- /dev/null +++ b/docs/com.grappenmaker.mappings/-generic-mappings/index.html @@ -0,0 +1,517 @@ + + + + + GenericMappings + + + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

GenericMappings

+
data class GenericMappings(val namespaces: List<String>, val classes: List<MappedClass>) : Mappings

Represents a generic type of mapping that is not deserialized from anything, nor can be serialized to a mappings file. It does not carry format-specific metadata, and is used as an intermediate value for transforming mappings.

+
+
+
+
+
+

Constructors

+
+
+
+
+ + +
Link copied to clipboard
+
+
+
+
constructor(namespaces: List<String>, classes: List<MappedClass>)
+
+
+
+
+
+
+
+

Properties

+
+
+
+
+ + +
Link copied to clipboard
+
+
+
+
open override val classes: List<MappedClass>

All mapped classes in this mappings file (in order, not important)

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
open override val namespaces: List<String>

All namespaces (in order) that this mappings file supports/contains

+
+
+
+
+
+
+
+

Functions

+
+
+
+
+ + +
Link copied to clipboard
+
+
+
+
fun Mappings.asASMMapping(from: String, to: String, includeMethods: Boolean = true, includeFields: Boolean = true): Map<String, String>

Returns a simple mapping representing all of the Mappings, mapping between the namespaces from and to. If includeMethods is true, then methods will be included in the mapping. If includeFields is true, then fields will be included in the mapping.

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+ +
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+ +
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+ +
+
+ +
+
+
+ + +
Link copied to clipboard
+
+ +
+
+ +
+
+
+ + +
Link copied to clipboard
+
+ +
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+ +
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
fun Mappings.asSimpleRemapper(from: String, to: String): SimpleRemapper

Returns an asm SimpleRemapper for remapping references between namespaces from and to disregarding inheritance and lambdas. For proper remapping, you should use the MappingsRemapper.

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+

Converts these Mappings to SRGMappings, enabling XSRG when extended is true.

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+

Converts these Mappings to TinyMappings, enabling Tiny v2 when v2 is true.

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+

Converts these Mappings to TSRGMappings, enabling TSRG v2 when v2 is true.

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+

Removes all duplicate namespace usages in this Mappings.

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+

Transforms this Mappings structure to a generic mappings implementation that maps between from and to.

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
inline fun Mappings.filterClasses(predicate: (MappedClass) -> Boolean): Mappings

Filters classes matching the predicate

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
inline fun Mappings.filterMethods(predicate: (owner: MappedClass, method: MappedMethod) -> Boolean): Mappings

Filters methods matching the predicate

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
fun Mappings.filterNamespaces(vararg allowed: String, allowDuplicates: Boolean = false): Mappings
fun Mappings.filterNamespaces(allowed: Set<String>, allowDuplicates: Boolean = false): Mappings

Filters these Mappings to only contain namespaces that are in allowed. If allowDuplicates is true, the returned Mappings will also have duplicate namespaces removed.

inline fun Mappings.filterNamespaces(allowDuplicates: Boolean = false, predicate: (String) -> Boolean): Mappings

Filters these Mappings to only contain namespaces for which the predicate returns true. If allowDuplicates is true, the returned Mappings will also have duplicate namespaces removed.

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
fun Mappings.join(otherMappings: Mappings, intermediateNamespace: String, requireMatch: Boolean = false): Mappings

Joins together this Mappings with otherMappings, by matching on intermediateNamespace, producing new Mappings that contain all entries from this Mappings and otherMappings. If requireMatch is true, this method will throw an exception when no method or field or class is found

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+

Maps classes according to the given block

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
inline fun Mappings.mapMethods(block: (owner: MappedClass, method: MappedMethod) -> MappedMethod): Mappings

Maps methods according to the given block

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+

Returns the index of a namespace named name, but throws an IllegalStateException when name is not in the Mappings.namespaces.

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+

See recoverFieldDescriptors. file is a jar file resource (caller is responsible for closing it) that contains the classes that are referenced in the generic overload.

fun Mappings.recoverFieldDescriptors(bytesProvider: (name: String) -> ByteArray?): Mappings

Attempts to recover field descriptors that are missing because the original mappings format did not specify them. bytesProvider is responsible for providing all of the classes that might be referenced in this Mappings object, such that the descriptors can be recovered based on named (fields can be uniquely identified by an owner-name pair). When field descriptors were not found, field mappings will not be passed onto the new Mappings as field mappings without descriptors will be considered invalid.

@JvmName(name = "recoverDescsByNode")
fun Mappings.recoverFieldDescriptors(nodeProvider: (name: String) -> ClassNode?): Mappings

Attempts to recover field descriptors that are missing because the original mappings format did not specify them. nodeProvider is responsible for providing all of the ClassNodes that might be referenced in this Mappings object, such that the descriptors can be recovered based on named (fields can be uniquely identified by an owner-name pair). When field descriptors were not found, field mappings will not be passed onto the new Mappings as field mappings without descriptors will be considered invalid.

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+

Returns new Mappings that are identical to these Mappings, except the comments will be removed

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
fun Mappings.removeRedundancy(inheritanceProvider: InheritanceProvider, removeDuplicateMethods: Boolean = false): Mappings

Removes redundant or straight up incorrect data from this Mappings object, by looking at the inheritance information present in class files, presented by the inheritanceProvider.

fun Mappings.removeRedundancy(file: JarFile, removeDuplicateMethods: Boolean = false): Mappings

See removeRedundancy. file is a jar file resource (caller is responsible for closing it) that contains the classes that are referenced in the generic overload. Calls with identical names are being cached by this function, the caller is not responsible for this.

fun Mappings.removeRedundancy(removeDuplicateMethods: Boolean = false, loader: ClasspathLoader): Mappings

Removes redundant or straight up incorrect data from this Mappings object, by looking at the inheritance information present in class files, presented by the loader.

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+

Swaps out the names for the namespaces in this Mappings data structure.

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+

Swaps out the names for the namespaces in this Mappings data structure, by reordering. Duplicate names are allowed, in which case mapped entries are duplicated to fit the new order. If a name in Mappings.namespaces does not appear in order, its mapping entries will be missing in the returned Mappings.

Swaps out the names for the namespaces in this Mappings data structure, by reordering. Duplicate names are allowed, in which case mapped entries are duplicated to fit the new order. If a name in Mappings.namespaces does not appear in order, its mapping entries will be missing in the returned Mappings. If a namespace in order does not exist in this Mappings, an IllegalArgumentException will be thrown.

+
+
+
+
+
+
+
+
+
+ +
+
+
+ + diff --git a/docs/com.grappenmaker.mappings/-generic-mappings/namespaces.html b/docs/com.grappenmaker.mappings/-generic-mappings/namespaces.html new file mode 100644 index 0000000..33ca6ca --- /dev/null +++ b/docs/com.grappenmaker.mappings/-generic-mappings/namespaces.html @@ -0,0 +1,80 @@ + + + + + namespaces + + + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

namespaces

+
+
open override val namespaces: List<String>
+
+ +
+
+
+ + diff --git a/docs/com.grappenmaker.mappings/-i-n-h-e-r-i-t-a-b-l-e_-m-a-s-k.html b/docs/com.grappenmaker.mappings/-i-n-h-e-r-i-t-a-b-l-e_-m-a-s-k.html new file mode 100644 index 0000000..3f16862 --- /dev/null +++ b/docs/com.grappenmaker.mappings/-i-n-h-e-r-i-t-a-b-l-e_-m-a-s-k.html @@ -0,0 +1,80 @@ + + + + + INHERITABLE_MASK + + + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

INHERITABLE_MASK

+
+
const val INHERITABLE_MASK: Int = 26

Represents the bitmask of access flags that a member may not have to be considered inheritable, see InheritanceProvider.getDeclaredMethods

+
+ +
+
+
+ + diff --git a/docs/com.grappenmaker.mappings/-inheritance-provider/get-declared-methods.html b/docs/com.grappenmaker.mappings/-inheritance-provider/get-declared-methods.html new file mode 100644 index 0000000..f222c5c --- /dev/null +++ b/docs/com.grappenmaker.mappings/-inheritance-provider/get-declared-methods.html @@ -0,0 +1,80 @@ + + + + + getDeclaredMethods + + + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

getDeclaredMethods

+
+
abstract fun getDeclaredMethods(internalName: String, filterInheritable: Boolean): Iterable<String>

Returns the signatures of the methods declared in a class with a given internalName.

A signature is a string that represents a method by concatenating its name with its JVMS descriptor For example: valueOf(Ljava/lang/String;)Lsome/EnumType;

A declared method is a method that is directly declared in the bytecode of the class.

If filterInheritable is true, this method should only return the signatures of methods that are non-private, non-static, non-final. That is, access & (ACC_PRIVATE | ACC_STATIC | ACC_FINAL) == 0, where access is the bitset of access flags as defined by the JVMS. The convienience constant INHERITABLE_MASK can be used for this computation as well, by comparing access &INHERITABLE_MASK == 0

+
+ +
+
+
+ + diff --git a/docs/com.grappenmaker.mappings/-inheritance-provider/get-direct-parents.html b/docs/com.grappenmaker.mappings/-inheritance-provider/get-direct-parents.html new file mode 100644 index 0000000..319bab5 --- /dev/null +++ b/docs/com.grappenmaker.mappings/-inheritance-provider/get-direct-parents.html @@ -0,0 +1,80 @@ + + + + + getDirectParents + + + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

getDirectParents

+
+
abstract fun getDirectParents(internalName: String): Iterable<String>

Returns the direct parents of a class with a given internalName, that is, it returns an iterable of its super class (if any) and its superinterfaces, in that order.

+
+ +
+
+
+ + diff --git a/docs/com.grappenmaker.mappings/-inheritance-provider/get-parents.html b/docs/com.grappenmaker.mappings/-inheritance-provider/get-parents.html new file mode 100644 index 0000000..6570d5d --- /dev/null +++ b/docs/com.grappenmaker.mappings/-inheritance-provider/get-parents.html @@ -0,0 +1,80 @@ + + + + + getParents + + + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

getParents

+
+
open fun getParents(internalName: String): Iterable<String>

Returns the internal names of the parents of a class with a given internalName, in depth-first order, interfaces first.

Suppose we have the following class definitions:

class A extends B implements C, D class B extends E

Then, calling this method on A should return {D, C, E} ({C, D, E} is also valid).

The default implementation performs depth-first search with pruning over getDirectParents. Implementations are welcome to optimize it for their specific use-case.

+
+ +
+
+
+ + diff --git a/docs/com.grappenmaker.mappings/-inheritance-provider/index.html b/docs/com.grappenmaker.mappings/-inheritance-provider/index.html new file mode 100644 index 0000000..bc77c33 --- /dev/null +++ b/docs/com.grappenmaker.mappings/-inheritance-provider/index.html @@ -0,0 +1,149 @@ + + + + + InheritanceProvider + + + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

InheritanceProvider

+

Represents an entry point for tasks like remapping and transformations to gather inheritance information from the classpath. Its simple design allows implementations to fetch information from different kinds of resources, like the classpath (see LoaderInheritanceProvider).

Inheritors

+
+
+
+
+
+

Functions

+
+
+
+
+ + +
Link copied to clipboard
+
+
+
+
abstract fun getDeclaredMethods(internalName: String, filterInheritable: Boolean): Iterable<String>

Returns the signatures of the methods declared in a class with a given internalName.

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
abstract fun getDirectParents(internalName: String): Iterable<String>

Returns the direct parents of a class with a given internalName, that is, it returns an iterable of its super class (if any) and its superinterfaces, in that order.

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
open fun getParents(internalName: String): Iterable<String>

Returns the internal names of the parents of a class with a given internalName, in depth-first order, interfaces first.

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+

Wraps this into a new provider that remembers the results of calls

+
+
+
+
+
+
+
+
+
+ +
+
+
+ + diff --git a/docs/com.grappenmaker.mappings/-jar-class-visitor/index.html b/docs/com.grappenmaker.mappings/-jar-class-visitor/index.html new file mode 100644 index 0000000..27c6ec9 --- /dev/null +++ b/docs/com.grappenmaker.mappings/-jar-class-visitor/index.html @@ -0,0 +1,104 @@ + + + + + JarClassVisitor + + + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

JarClassVisitor

+
fun interface JarClassVisitor

A functional interface that allows users of the JarRemapper to annotate or mutate class files with ASM during remapping

+
+
+
+
+
+

Functions

+
+
+
+
+ + +
Link copied to clipboard
+
+
+
+
abstract fun visit(name: String, parent: ClassVisitor): ClassVisitor?

Called whenever a class file with UNMAPPED name is being remapped from an input jar file by the JarRemapper. The ClassVisitor that this JarClassVisitor returns will be passed onto the next JarClassVisitor in the chain, and at the end the resulting ClassVisitor will be visited during remapping with the original class file in the input jar file. Calls that are made to the parent remapper will eventually be passed on to a ClassWriter, the output of which will be written to the output jar file. Returning null here means that this JarClassVisitor is not interested in visiting this class

+
+
+
+
+
+
+
+
+
+ +
+
+
+ + diff --git a/docs/com.grappenmaker.mappings/-jar-class-visitor/visit.html b/docs/com.grappenmaker.mappings/-jar-class-visitor/visit.html new file mode 100644 index 0000000..2ffb7d3 --- /dev/null +++ b/docs/com.grappenmaker.mappings/-jar-class-visitor/visit.html @@ -0,0 +1,80 @@ + + + + + visit + + + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

visit

+
+
abstract fun visit(name: String, parent: ClassVisitor): ClassVisitor?

Called whenever a class file with UNMAPPED name is being remapped from an input jar file by the JarRemapper. The ClassVisitor that this JarClassVisitor returns will be passed onto the next JarClassVisitor in the chain, and at the end the resulting ClassVisitor will be visited during remapping with the original class file in the input jar file. Calls that are made to the parent remapper will eventually be passed on to a ClassWriter, the output of which will be written to the output jar file. Returning null here means that this JarClassVisitor is not interested in visiting this class

+
+ +
+
+
+ + diff --git a/docs/com.grappenmaker.mappings/-jar-remap-task/-jar-remap-task.html b/docs/com.grappenmaker.mappings/-jar-remap-task/-jar-remap-task.html new file mode 100644 index 0000000..850d55c --- /dev/null +++ b/docs/com.grappenmaker.mappings/-jar-remap-task/-jar-remap-task.html @@ -0,0 +1,80 @@ + + + + + JarRemapTask + + + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

JarRemapTask

+
+
constructor(input: Path, output: Path, fromNamespace: String, toNamespace: String)
+
+ +
+
+
+ + diff --git a/docs/com.grappenmaker.mappings/-jar-remap-task/from-namespace.html b/docs/com.grappenmaker.mappings/-jar-remap-task/from-namespace.html new file mode 100644 index 0000000..a8c4355 --- /dev/null +++ b/docs/com.grappenmaker.mappings/-jar-remap-task/from-namespace.html @@ -0,0 +1,80 @@ + + + + + fromNamespace + + + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

fromNamespace

+
+ +
+ +
+
+
+ + diff --git a/docs/com.grappenmaker.mappings/-jar-remap-task/index.html b/docs/com.grappenmaker.mappings/-jar-remap-task/index.html new file mode 100644 index 0000000..9efcf7b --- /dev/null +++ b/docs/com.grappenmaker.mappings/-jar-remap-task/index.html @@ -0,0 +1,168 @@ + + + + + JarRemapTask + + + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

JarRemapTask

+
data class JarRemapTask(val input: Path, val output: Path, val fromNamespace: String, val toNamespace: String)

A data structure that specifies what the JarRemapper should do with a specific jar file

+
+
+
+
+
+

Constructors

+
+
+
+
+ + +
Link copied to clipboard
+
+
+
+
constructor(input: Path, output: Path, fromNamespace: String, toNamespace: String)
+
+
+
+
+
+
+
+

Properties

+
+
+
+
+ + +
Link copied to clipboard
+
+
+
+

the namespace the input file is in

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
val input: Path

the file that will be read by the jar remapper, remapped into output

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+

the file that will be written by the jar remapper

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+

the namespace the output file will be written in

+
+
+
+
+
+
+
+
+
+ +
+
+
+ + diff --git a/docs/com.grappenmaker.mappings/-jar-remap-task/input.html b/docs/com.grappenmaker.mappings/-jar-remap-task/input.html new file mode 100644 index 0000000..d3f939b --- /dev/null +++ b/docs/com.grappenmaker.mappings/-jar-remap-task/input.html @@ -0,0 +1,80 @@ + + + + + input + + + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

input

+
+
val input: Path
+
+ +
+
+
+ + diff --git a/docs/com.grappenmaker.mappings/-jar-remap-task/output.html b/docs/com.grappenmaker.mappings/-jar-remap-task/output.html new file mode 100644 index 0000000..082df43 --- /dev/null +++ b/docs/com.grappenmaker.mappings/-jar-remap-task/output.html @@ -0,0 +1,80 @@ + + + + + output + + + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

output

+
+ +
+ +
+
+
+ + diff --git a/docs/com.grappenmaker.mappings/-jar-remap-task/to-namespace.html b/docs/com.grappenmaker.mappings/-jar-remap-task/to-namespace.html new file mode 100644 index 0000000..34b3d5e --- /dev/null +++ b/docs/com.grappenmaker.mappings/-jar-remap-task/to-namespace.html @@ -0,0 +1,80 @@ + + + + + toNamespace + + + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

toNamespace

+
+ +
+ +
+
+
+ + diff --git a/docs/com.grappenmaker.mappings/-jar-remapper-d-s-l/index.html b/docs/com.grappenmaker.mappings/-jar-remapper-d-s-l/index.html new file mode 100644 index 0000000..8e70b44 --- /dev/null +++ b/docs/com.grappenmaker.mappings/-jar-remapper-d-s-l/index.html @@ -0,0 +1,84 @@ + + + + + JarRemapperDSL + + + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

JarRemapperDSL

+
annotation class JarRemapperDSL

Marker annotation that declares that a certain type is part of the jar remapper DSL

+
+
+
+
+
+
+ +
+
+
+ + diff --git a/docs/com.grappenmaker.mappings/-jar-remapper/-jar-remapper.html b/docs/com.grappenmaker.mappings/-jar-remapper/-jar-remapper.html new file mode 100644 index 0000000..273f4d5 --- /dev/null +++ b/docs/com.grappenmaker.mappings/-jar-remapper/-jar-remapper.html @@ -0,0 +1,80 @@ + + + + + JarRemapper + + + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

JarRemapper

+
+
constructor()
+
+ +
+
+
+ + diff --git a/docs/com.grappenmaker.mappings/-jar-remapper/copy-resources.html b/docs/com.grappenmaker.mappings/-jar-remapper/copy-resources.html new file mode 100644 index 0000000..9ae5507 --- /dev/null +++ b/docs/com.grappenmaker.mappings/-jar-remapper/copy-resources.html @@ -0,0 +1,80 @@ + + + + + copyResources + + + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

copyResources

+
+

Determines whether the JarRemapper will copy non-classfile resources from input jars into output jars

+
+ +
+
+
+ + diff --git a/docs/com.grappenmaker.mappings/-jar-remapper/index.html b/docs/com.grappenmaker.mappings/-jar-remapper/index.html new file mode 100644 index 0000000..76dce73 --- /dev/null +++ b/docs/com.grappenmaker.mappings/-jar-remapper/index.html @@ -0,0 +1,217 @@ + + + + + JarRemapper + + + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

JarRemapper

+

Helper / DSL for creating an JarRemapper

+
+
+
+
+
+

Constructors

+
+
+
+
+ + +
Link copied to clipboard
+
+
+
+
constructor()
+
+
+
+
+
+
+
+

Properties

+
+
+
+
+ + +
Link copied to clipboard
+
+
+
+

Determines whether the JarRemapper will copy non-classfile resources from input jars into output jars

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+

The ClasspathLoader that should be used to request class files from classpath / environment files, that are not present in input jars. Note that this ClasspathLoader will be wrapped into a new one, including input jars and a memoization layer. It is therefore not recommended to add memoization layers in this ClasspathLoader. The loader should be thread-safe.

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+

The Mappings that will be used to remap classes in input jar files

+
+
+
+
+
+
+
+

Functions

+
+
+
+
+ + +
Link copied to clipboard
+
+
+
+
suspend fun perform()

Performs all configured tasks

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
fun task(input: Path, output: Path, fromNamespace: String, toNamespace: String)

Adds a new remapping task to the JarRemapper. The input jar file will be read, remapped, and written to an output file. The input jar file is expected to be in the fromNamespace, and will be remapped into the toNamespace.

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+

Adds a JarClassVisitor to the pipeline of visitors that will be applied to each remapped class

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+

Adds a JarResourceVisitor to the pipeline of visitors that will be applied to each copied resource

+
+
+
+
+
+
+
+
+
+ +
+
+
+ + diff --git a/docs/com.grappenmaker.mappings/-jar-remapper/loader.html b/docs/com.grappenmaker.mappings/-jar-remapper/loader.html new file mode 100644 index 0000000..3219920 --- /dev/null +++ b/docs/com.grappenmaker.mappings/-jar-remapper/loader.html @@ -0,0 +1,80 @@ + + + + + loader + + + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

loader

+
+

The ClasspathLoader that should be used to request class files from classpath / environment files, that are not present in input jars. Note that this ClasspathLoader will be wrapped into a new one, including input jars and a memoization layer. It is therefore not recommended to add memoization layers in this ClasspathLoader. The loader should be thread-safe.

+
+ +
+
+
+ + diff --git a/docs/com.grappenmaker.mappings/-jar-remapper/mappings.html b/docs/com.grappenmaker.mappings/-jar-remapper/mappings.html new file mode 100644 index 0000000..f130e01 --- /dev/null +++ b/docs/com.grappenmaker.mappings/-jar-remapper/mappings.html @@ -0,0 +1,80 @@ + + + + + mappings + + + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

mappings

+
+

The Mappings that will be used to remap classes in input jar files

+
+ +
+
+
+ + diff --git a/docs/com.grappenmaker.mappings/-jar-remapper/perform.html b/docs/com.grappenmaker.mappings/-jar-remapper/perform.html new file mode 100644 index 0000000..ee4f34f --- /dev/null +++ b/docs/com.grappenmaker.mappings/-jar-remapper/perform.html @@ -0,0 +1,80 @@ + + + + + perform + + + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

perform

+
+
suspend fun perform()

Performs all configured tasks

+
+ +
+
+
+ + diff --git a/docs/com.grappenmaker.mappings/-jar-remapper/task.html b/docs/com.grappenmaker.mappings/-jar-remapper/task.html new file mode 100644 index 0000000..d2c1b3e --- /dev/null +++ b/docs/com.grappenmaker.mappings/-jar-remapper/task.html @@ -0,0 +1,80 @@ + + + + + task + + + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

task

+
+
fun task(input: Path, output: Path, fromNamespace: String, toNamespace: String)

Adds a new remapping task to the JarRemapper. The input jar file will be read, remapped, and written to an output file. The input jar file is expected to be in the fromNamespace, and will be remapped into the toNamespace.

+
+ +
+
+
+ + diff --git a/docs/com.grappenmaker.mappings/-jar-remapper/visit-classes.html b/docs/com.grappenmaker.mappings/-jar-remapper/visit-classes.html new file mode 100644 index 0000000..9b1690d --- /dev/null +++ b/docs/com.grappenmaker.mappings/-jar-remapper/visit-classes.html @@ -0,0 +1,80 @@ + + + + + visitClasses + + + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

visitClasses

+
+

Adds a JarClassVisitor to the pipeline of visitors that will be applied to each remapped class

See also

+
+ +
+
+
+ + diff --git a/docs/com.grappenmaker.mappings/-jar-remapper/visit-resources.html b/docs/com.grappenmaker.mappings/-jar-remapper/visit-resources.html new file mode 100644 index 0000000..4195fe8 --- /dev/null +++ b/docs/com.grappenmaker.mappings/-jar-remapper/visit-resources.html @@ -0,0 +1,80 @@ + + + + + visitResources + + + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

visitResources

+
+

Adds a JarResourceVisitor to the pipeline of visitors that will be applied to each copied resource

See also

+
+ +
+
+
+ + diff --git a/docs/com.grappenmaker.mappings/-jar-resource-visitor/index.html b/docs/com.grappenmaker.mappings/-jar-resource-visitor/index.html new file mode 100644 index 0000000..b0a1446 --- /dev/null +++ b/docs/com.grappenmaker.mappings/-jar-resource-visitor/index.html @@ -0,0 +1,104 @@ + + + + + JarResourceVisitor + + + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

JarResourceVisitor

+
fun interface JarResourceVisitor

A functional interface that allows users of the JarRemapper to annotate or mutate resources in jar files that are not classes

+
+
+
+
+
+

Functions

+
+
+
+
+ + +
Link copied to clipboard
+
+
+
+
abstract fun visit(name: String, file: ByteArray): ByteArray?

Called whenever a resource is being copied over from an input jar file by the JarRemapper, where name is the name of the resource being copied, and file the original buffer read from the input jar file. The ByteArray that this JarResourceVisitor returns will be passed onto the next JarResourceVisitor in the chain, and at the end the newly created buffer will be written to the output jar file. Returning null here means that this JarResourceVisitor believes the file should not be copied over and should be discarded.

+
+
+
+
+
+
+
+
+
+ +
+
+
+ + diff --git a/docs/com.grappenmaker.mappings/-jar-resource-visitor/visit.html b/docs/com.grappenmaker.mappings/-jar-resource-visitor/visit.html new file mode 100644 index 0000000..42c94df --- /dev/null +++ b/docs/com.grappenmaker.mappings/-jar-resource-visitor/visit.html @@ -0,0 +1,80 @@ + + + + + visit + + + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

visit

+
+
abstract fun visit(name: String, file: ByteArray): ByteArray?

Called whenever a resource is being copied over from an input jar file by the JarRemapper, where name is the name of the resource being copied, and file the original buffer read from the input jar file. The ByteArray that this JarResourceVisitor returns will be passed onto the next JarResourceVisitor in the chain, and at the end the newly created buffer will be written to the output jar file. Returning null here means that this JarResourceVisitor believes the file should not be copied over and should be discarded.

+
+ +
+
+
+ + diff --git a/docs/com.grappenmaker.mappings/-lambda-aware-method-remapper/-lambda-aware-method-remapper.html b/docs/com.grappenmaker.mappings/-lambda-aware-method-remapper/-lambda-aware-method-remapper.html new file mode 100644 index 0000000..9e65b6c --- /dev/null +++ b/docs/com.grappenmaker.mappings/-lambda-aware-method-remapper/-lambda-aware-method-remapper.html @@ -0,0 +1,80 @@ + + + + + LambdaAwareMethodRemapper + + + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

LambdaAwareMethodRemapper

+
+
constructor(parent: MethodVisitor, remapper: Remapper)
+
+ +
+
+
+ + diff --git a/docs/com.grappenmaker.mappings/-lambda-aware-method-remapper/index.html b/docs/com.grappenmaker.mappings/-lambda-aware-method-remapper/index.html new file mode 100644 index 0000000..97141f3 --- /dev/null +++ b/docs/com.grappenmaker.mappings/-lambda-aware-method-remapper/index.html @@ -0,0 +1,588 @@ + + + + + LambdaAwareMethodRemapper + + + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

LambdaAwareMethodRemapper

+
open class LambdaAwareMethodRemapper(parent: MethodVisitor, remapper: Remapper) : MethodRemapper

A MethodRemapper that is aware of the remapping of Invoke Dynamic instructions for lambdas.

+
+
+
+
+
+

Constructors

+
+
+
+
+ + +
Link copied to clipboard
+
+
+
+
constructor(parent: MethodVisitor, remapper: Remapper)
+
+
+
+
+
+
+
+

Functions

+
+
+
+
+ + +
Link copied to clipboard
+
+
+
+
open fun getDelegate(): MethodVisitor
+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+ +
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
open override fun visitAnnotation(p0: String, p1: Boolean): AnnotationVisitor
+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
open override fun visitAnnotationDefault(): AnnotationVisitor
+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
open fun visitAttribute(p0: Attribute)
+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
open fun visitCode()
+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
open fun visitEnd()
+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
open override fun visitFieldInsn(p0: Int, p1: String, p2: String, p3: String)
+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
open override fun visitFrame(p0: Int, p1: Int, p2: Array<Any>, p3: Int, p4: Array<Any>)
+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
open fun visitIincInsn(p0: Int, p1: Int)
+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
open fun visitInsn(p0: Int)
+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
open override fun visitInsnAnnotation(p0: Int, p1: TypePath, p2: String, p3: Boolean): AnnotationVisitor
+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
open fun visitIntInsn(p0: Int, p1: Int)
+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
open override fun visitInvokeDynamicInsn(name: String, descriptor: String, handle: Handle, vararg args: Any)
+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
open fun visitJumpInsn(p0: Int, p1: Label)
+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
open fun visitLabel(p0: Label)
+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
open override fun visitLdcInsn(p0: Any)
+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
open fun visitLineNumber(p0: Int, p1: Label)
+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
open override fun visitLocalVariable(p0: String, p1: String, p2: String, p3: Label, p4: Label, p5: Int)
+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
open override fun visitLocalVariableAnnotation(p0: Int, p1: TypePath, p2: Array<Label>, p3: Array<Label>, p4: IntArray, p5: String, p6: Boolean): AnnotationVisitor
+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
open fun visitLookupSwitchInsn(p0: Label, p1: IntArray, p2: Array<Label>)
+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
open fun visitMaxs(p0: Int, p1: Int)
+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
open fun visitMethodInsn(p0: Int, p1: String, p2: String, p3: String)
open override fun visitMethodInsn(p0: Int, p1: String, p2: String, p3: String, p4: Boolean)
+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
open override fun visitMultiANewArrayInsn(p0: String, p1: Int)
+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
open fun visitParameter(p0: String, p1: Int)
+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
open override fun visitParameterAnnotation(p0: Int, p1: String, p2: Boolean): AnnotationVisitor
+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
open fun visitTableSwitchInsn(p0: Int, p1: Int, p2: Label, vararg p3: Label)
+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
open override fun visitTryCatchAnnotation(p0: Int, p1: TypePath, p2: String, p3: Boolean): AnnotationVisitor
+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
open override fun visitTryCatchBlock(p0: Label, p1: Label, p2: Label, p3: String)
+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
open override fun visitTypeAnnotation(p0: Int, p1: TypePath, p2: String, p3: Boolean): AnnotationVisitor
+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
open override fun visitTypeInsn(p0: Int, p1: String)
+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
open fun visitVarInsn(p0: Int, p1: Int)
+
+
+
+
+
+
+
+
+
+ +
+
+
+ + diff --git a/docs/com.grappenmaker.mappings/-lambda-aware-method-remapper/visit-invoke-dynamic-insn.html b/docs/com.grappenmaker.mappings/-lambda-aware-method-remapper/visit-invoke-dynamic-insn.html new file mode 100644 index 0000000..eda74df --- /dev/null +++ b/docs/com.grappenmaker.mappings/-lambda-aware-method-remapper/visit-invoke-dynamic-insn.html @@ -0,0 +1,80 @@ + + + + + visitInvokeDynamicInsn + + + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

visitInvokeDynamicInsn

+
+
open override fun visitInvokeDynamicInsn(name: String, descriptor: String, handle: Handle, vararg args: Any)
+
+ +
+
+
+ + diff --git a/docs/com.grappenmaker.mappings/-lambda-aware-remapper/-lambda-aware-remapper.html b/docs/com.grappenmaker.mappings/-lambda-aware-remapper/-lambda-aware-remapper.html new file mode 100644 index 0000000..df70055 --- /dev/null +++ b/docs/com.grappenmaker.mappings/-lambda-aware-remapper/-lambda-aware-remapper.html @@ -0,0 +1,80 @@ + + + + + LambdaAwareRemapper + + + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

LambdaAwareRemapper

+
+
constructor(parent: ClassVisitor, remapper: Remapper)
+
+ +
+
+
+ + diff --git a/docs/com.grappenmaker.mappings/-lambda-aware-remapper/index.html b/docs/com.grappenmaker.mappings/-lambda-aware-remapper/index.html new file mode 100644 index 0000000..6aa6e3a --- /dev/null +++ b/docs/com.grappenmaker.mappings/-lambda-aware-remapper/index.html @@ -0,0 +1,348 @@ + + + + + LambdaAwareRemapper + + + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

LambdaAwareRemapper

+
open class LambdaAwareRemapper(parent: ClassVisitor, remapper: Remapper) : ClassRemapper

A ClassRemapper that is aware of the remapping of Invoke Dynamic instructions for lambdas.

+
+
+
+
+
+

Constructors

+
+
+
+
+ + +
Link copied to clipboard
+
+
+
+
constructor(parent: ClassVisitor, remapper: Remapper)
+
+
+
+
+
+
+
+

Functions

+
+
+
+
+ + +
Link copied to clipboard
+
+
+
+
open fun getDelegate(): ClassVisitor
+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
open override fun visit(p0: Int, p1: Int, p2: String, p3: String, p4: String, p5: Array<String>)
+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
open override fun visitAnnotation(p0: String, p1: Boolean): AnnotationVisitor
+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
open override fun visitAttribute(p0: Attribute)
+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
open fun visitEnd()
+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
open override fun visitField(p0: Int, p1: String, p2: String, p3: String, p4: Any): FieldVisitor
+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
open override fun visitInnerClass(p0: String, p1: String, p2: String, p3: Int)
+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
open override fun visitMethod(p0: Int, p1: String, p2: String, p3: String, p4: Array<String>): MethodVisitor
+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
open override fun visitModule(p0: String, p1: Int, p2: String): ModuleVisitor
+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
open override fun visitNestHost(p0: String)
+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
open override fun visitNestMember(p0: String)
+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
open override fun visitOuterClass(p0: String, p1: String, p2: String)
+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
open override fun visitPermittedSubclass(p0: String)
+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
open override fun visitRecordComponent(p0: String, p1: String, p2: String): RecordComponentVisitor
+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
open fun visitSource(p0: String, p1: String)
+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
open override fun visitTypeAnnotation(p0: Int, p1: TypePath, p2: String, p3: Boolean): AnnotationVisitor
+
+
+
+
+
+
+
+
+
+ +
+
+
+ + diff --git a/docs/com.grappenmaker.mappings/-loader-inheritance-provider/-loader-inheritance-provider.html b/docs/com.grappenmaker.mappings/-loader-inheritance-provider/-loader-inheritance-provider.html new file mode 100644 index 0000000..79dc1d6 --- /dev/null +++ b/docs/com.grappenmaker.mappings/-loader-inheritance-provider/-loader-inheritance-provider.html @@ -0,0 +1,80 @@ + + + + + LoaderInheritanceProvider + + + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

LoaderInheritanceProvider

+
+
constructor(loader: ClasspathLoader)
+
+ +
+
+
+ + diff --git a/docs/com.grappenmaker.mappings/-loader-inheritance-provider/get-declared-methods.html b/docs/com.grappenmaker.mappings/-loader-inheritance-provider/get-declared-methods.html new file mode 100644 index 0000000..e4bf940 --- /dev/null +++ b/docs/com.grappenmaker.mappings/-loader-inheritance-provider/get-declared-methods.html @@ -0,0 +1,80 @@ + + + + + getDeclaredMethods + + + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

getDeclaredMethods

+
+
open override fun getDeclaredMethods(internalName: String, filterInheritable: Boolean): Iterable<String>

Returns the signatures of the methods declared in a class with a given internalName.

A signature is a string that represents a method by concatenating its name with its JVMS descriptor For example: valueOf(Ljava/lang/String;)Lsome/EnumType;

A declared method is a method that is directly declared in the bytecode of the class.

If filterInheritable is true, this method should only return the signatures of methods that are non-private, non-static, non-final. That is, access & (ACC_PRIVATE | ACC_STATIC | ACC_FINAL) == 0, where access is the bitset of access flags as defined by the JVMS. The convienience constant INHERITABLE_MASK can be used for this computation as well, by comparing access &INHERITABLE_MASK == 0

+
+ +
+
+
+ + diff --git a/docs/com.grappenmaker.mappings/-loader-inheritance-provider/get-direct-parents.html b/docs/com.grappenmaker.mappings/-loader-inheritance-provider/get-direct-parents.html new file mode 100644 index 0000000..2b76880 --- /dev/null +++ b/docs/com.grappenmaker.mappings/-loader-inheritance-provider/get-direct-parents.html @@ -0,0 +1,80 @@ + + + + + getDirectParents + + + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

getDirectParents

+
+
open override fun getDirectParents(internalName: String): Iterable<String>

Returns the direct parents of a class with a given internalName, that is, it returns an iterable of its super class (if any) and its superinterfaces, in that order.

+
+ +
+
+
+ + diff --git a/docs/com.grappenmaker.mappings/-loader-inheritance-provider/index.html b/docs/com.grappenmaker.mappings/-loader-inheritance-provider/index.html new file mode 100644 index 0000000..2e45c07 --- /dev/null +++ b/docs/com.grappenmaker.mappings/-loader-inheritance-provider/index.html @@ -0,0 +1,168 @@ + + + + + LoaderInheritanceProvider + + + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

LoaderInheritanceProvider

+

An InheritanceProvider that delegates to a ClasspathLoader, loader, to extract inheritance information

+
+
+
+
+
+

Constructors

+
+
+
+
+ + +
Link copied to clipboard
+
+
+
+
constructor(loader: ClasspathLoader)
+
+
+
+
+
+
+
+

Functions

+
+
+
+
+ + +
Link copied to clipboard
+
+
+
+
open override fun getDeclaredMethods(internalName: String, filterInheritable: Boolean): Iterable<String>

Returns the signatures of the methods declared in a class with a given internalName.

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
open override fun getDirectParents(internalName: String): Iterable<String>

Returns the direct parents of a class with a given internalName, that is, it returns an iterable of its super class (if any) and its superinterfaces, in that order.

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
open fun getParents(internalName: String): Iterable<String>

Returns the internal names of the parents of a class with a given internalName, in depth-first order, interfaces first.

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+

Wraps this into a new provider that remembers the results of calls

+
+
+
+
+
+
+
+
+
+ +
+
+
+ + diff --git a/docs/com.grappenmaker.mappings/-loader-simple-remapper/-loader-simple-remapper.html b/docs/com.grappenmaker.mappings/-loader-simple-remapper/-loader-simple-remapper.html new file mode 100644 index 0000000..fd9f8bb --- /dev/null +++ b/docs/com.grappenmaker.mappings/-loader-simple-remapper/-loader-simple-remapper.html @@ -0,0 +1,80 @@ + + + + + LoaderSimpleRemapper + + + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

LoaderSimpleRemapper

+
+
constructor(map: Map<String, String>, loader: ClasspathLoader, memoizeInheritance: Boolean = true)


constructor(map: Map<String, String>, inheritanceProvider: InheritanceProvider, memoizeInheritance: Boolean = true)

Parameters

memoizeInheritance

if true, the results of the InheritanceProvider will be memoized, see InheritanceProvider.memoized

+
+ +
+
+
+ + diff --git a/docs/com.grappenmaker.mappings/-loader-simple-remapper/index.html b/docs/com.grappenmaker.mappings/-loader-simple-remapper/index.html new file mode 100644 index 0000000..7127e90 --- /dev/null +++ b/docs/com.grappenmaker.mappings/-loader-simple-remapper/index.html @@ -0,0 +1,333 @@ + + + + + LoaderSimpleRemapper + + + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

LoaderSimpleRemapper

+
open class LoaderSimpleRemapper(map: Map<String, String>, inheritanceProvider: InheritanceProvider, memoizeInheritance: Boolean = true) : Remapper

A Remapper that can use a InheritanceProvider for inheritance information to apply a certain map, that should be in an equivalent format as the one produced by Mappings.asASMMapping.

Parameters

memoizeInheritance

if true, the results of the InheritanceProvider will be memoized, see InheritanceProvider.memoized

Inheritors

+
+
+
+
+
+

Constructors

+
+
+
+
+ + +
Link copied to clipboard
+
+
+
+
constructor(map: Map<String, String>, loader: ClasspathLoader, memoizeInheritance: Boolean = true)
constructor(map: Map<String, String>, inheritanceProvider: InheritanceProvider, memoizeInheritance: Boolean = true)
+
+
+
+
+
+
+
+

Functions

+
+
+
+
+ + +
Link copied to clipboard
+
+
+
+
open override fun map(internalName: String): String
+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+ +
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
open fun mapDesc(p0: String): String
+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
open override fun mapFieldName(owner: String, name: String, desc: String?): String
+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
open fun mapInnerClassName(p0: String, p1: String, p2: String): String
+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+ +
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
open fun mapMethodDesc(p0: String): String
+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
open override fun mapMethodName(owner: String, name: String, desc: String): String
+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
open fun mapModuleName(p0: String): String
+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+ +
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
open override fun mapRecordComponentName(owner: String, name: String, desc: String): String
+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
open override fun mapSignature(signature: String?, typeSignature: Boolean): String?
+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
open fun mapType(p0: String): String
+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
open fun mapTypes(p0: Array<String>): Array<String>
+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
open fun mapValue(p0: Any): Any
+
+
+
+
+
+
+
+
+
+ +
+
+
+ + diff --git a/docs/com.grappenmaker.mappings/-loader-simple-remapper/map-field-name.html b/docs/com.grappenmaker.mappings/-loader-simple-remapper/map-field-name.html new file mode 100644 index 0000000..6ce5c66 --- /dev/null +++ b/docs/com.grappenmaker.mappings/-loader-simple-remapper/map-field-name.html @@ -0,0 +1,80 @@ + + + + + mapFieldName + + + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

mapFieldName

+
+
open override fun mapFieldName(owner: String, name: String, desc: String?): String
+
+ +
+
+
+ + diff --git a/docs/com.grappenmaker.mappings/-loader-simple-remapper/map-method-name.html b/docs/com.grappenmaker.mappings/-loader-simple-remapper/map-method-name.html new file mode 100644 index 0000000..eaabc42 --- /dev/null +++ b/docs/com.grappenmaker.mappings/-loader-simple-remapper/map-method-name.html @@ -0,0 +1,80 @@ + + + + + mapMethodName + + + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

mapMethodName

+
+
open override fun mapMethodName(owner: String, name: String, desc: String): String
+
+ +
+
+
+ + diff --git a/docs/com.grappenmaker.mappings/-loader-simple-remapper/map-record-component-name.html b/docs/com.grappenmaker.mappings/-loader-simple-remapper/map-record-component-name.html new file mode 100644 index 0000000..2e05965 --- /dev/null +++ b/docs/com.grappenmaker.mappings/-loader-simple-remapper/map-record-component-name.html @@ -0,0 +1,80 @@ + + + + + mapRecordComponentName + + + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

mapRecordComponentName

+
+
open override fun mapRecordComponentName(owner: String, name: String, desc: String): String
+
+ +
+
+
+ + diff --git a/docs/com.grappenmaker.mappings/-loader-simple-remapper/map-signature.html b/docs/com.grappenmaker.mappings/-loader-simple-remapper/map-signature.html new file mode 100644 index 0000000..5d656ce --- /dev/null +++ b/docs/com.grappenmaker.mappings/-loader-simple-remapper/map-signature.html @@ -0,0 +1,80 @@ + + + + + mapSignature + + + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

mapSignature

+
+
open override fun mapSignature(signature: String?, typeSignature: Boolean): String?
+
+ +
+
+
+ + diff --git a/docs/com.grappenmaker.mappings/-loader-simple-remapper/map.html b/docs/com.grappenmaker.mappings/-loader-simple-remapper/map.html new file mode 100644 index 0000000..4c79e50 --- /dev/null +++ b/docs/com.grappenmaker.mappings/-loader-simple-remapper/map.html @@ -0,0 +1,80 @@ + + + + + map + + + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

map

+
+
open override fun map(internalName: String): String
+
+ +
+
+
+ + diff --git a/docs/com.grappenmaker.mappings/-mapped-class/-mapped-class.html b/docs/com.grappenmaker.mappings/-mapped-class/-mapped-class.html new file mode 100644 index 0000000..cec02ea --- /dev/null +++ b/docs/com.grappenmaker.mappings/-mapped-class/-mapped-class.html @@ -0,0 +1,80 @@ + + + + + MappedClass + + + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

MappedClass

+
+
constructor(names: List<String>, comments: List<String> = emptyList(), fields: List<MappedField> = emptyList(), methods: List<MappedMethod> = emptyList())
+
+ +
+
+
+ + diff --git a/docs/com.grappenmaker.mappings/-mapped-class/comments.html b/docs/com.grappenmaker.mappings/-mapped-class/comments.html new file mode 100644 index 0000000..3de02c1 --- /dev/null +++ b/docs/com.grappenmaker.mappings/-mapped-class/comments.html @@ -0,0 +1,80 @@ + + + + + comments + + + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

comments

+
+
open override val comments: List<String>
+
+ +
+
+
+ + diff --git a/docs/com.grappenmaker.mappings/-mapped-class/fields.html b/docs/com.grappenmaker.mappings/-mapped-class/fields.html new file mode 100644 index 0000000..c5d3798 --- /dev/null +++ b/docs/com.grappenmaker.mappings/-mapped-class/fields.html @@ -0,0 +1,80 @@ + + + + + fields + + + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

fields

+
+ +
+ +
+
+
+ + diff --git a/docs/com.grappenmaker.mappings/-mapped-class/index.html b/docs/com.grappenmaker.mappings/-mapped-class/index.html new file mode 100644 index 0000000..4fea0a5 --- /dev/null +++ b/docs/com.grappenmaker.mappings/-mapped-class/index.html @@ -0,0 +1,202 @@ + + + + + MappedClass + + + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

MappedClass

+
data class MappedClass(val names: List<String>, val comments: List<String> = emptyList(), val fields: List<MappedField> = emptyList(), val methods: List<MappedMethod> = emptyList()) : Mapped, Commented

Represents a mapped class (containing fields and methods)

+
+
+
+
+
+

Constructors

+
+
+
+
+ + +
Link copied to clipboard
+
+
+
+
constructor(names: List<String>, comments: List<String> = emptyList(), fields: List<MappedField> = emptyList(), methods: List<MappedMethod> = emptyList())
+
+
+
+
+
+
+
+

Properties

+
+
+
+
+ + +
Link copied to clipboard
+
+
+
+
open override val comments: List<String>

All comments that the author of some Mappings file wrote

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+

Mapping information for member fields

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+

Mapping information for member methods

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
open override val names: List<String>

The names of this named entity, which should correspond to some namespaces in Mappings.namespaces

+
+
+
+
+
+
+
+

Functions

+
+
+
+
+ + +
Link copied to clipboard
+
+
+
+

Filters methods matching the predicate

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+

Maps methods according to the given block

+
+
+
+
+
+
+
+
+
+ +
+
+
+ + diff --git a/docs/com.grappenmaker.mappings/-mapped-class/methods.html b/docs/com.grappenmaker.mappings/-mapped-class/methods.html new file mode 100644 index 0000000..97e5848 --- /dev/null +++ b/docs/com.grappenmaker.mappings/-mapped-class/methods.html @@ -0,0 +1,80 @@ + + + + + methods + + + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

methods

+
+ +
+ +
+
+
+ + diff --git a/docs/com.grappenmaker.mappings/-mapped-class/names.html b/docs/com.grappenmaker.mappings/-mapped-class/names.html new file mode 100644 index 0000000..23c465b --- /dev/null +++ b/docs/com.grappenmaker.mappings/-mapped-class/names.html @@ -0,0 +1,80 @@ + + + + + names + + + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

names

+
+
open override val names: List<String>
+
+ +
+
+
+ + diff --git a/docs/com.grappenmaker.mappings/-mapped-field/-mapped-field.html b/docs/com.grappenmaker.mappings/-mapped-field/-mapped-field.html new file mode 100644 index 0000000..2e6468a --- /dev/null +++ b/docs/com.grappenmaker.mappings/-mapped-field/-mapped-field.html @@ -0,0 +1,80 @@ + + + + + MappedField + + + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

MappedField

+
+
constructor(names: List<String>, comments: List<String> = emptyList(), desc: String?)
+
+ +
+
+
+ + diff --git a/docs/com.grappenmaker.mappings/-mapped-field/comments.html b/docs/com.grappenmaker.mappings/-mapped-field/comments.html new file mode 100644 index 0000000..523c805 --- /dev/null +++ b/docs/com.grappenmaker.mappings/-mapped-field/comments.html @@ -0,0 +1,80 @@ + + + + + comments + + + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

comments

+
+
open override val comments: List<String>
+
+ +
+
+
+ + diff --git a/docs/com.grappenmaker.mappings/-mapped-field/desc.html b/docs/com.grappenmaker.mappings/-mapped-field/desc.html new file mode 100644 index 0000000..945cb85 --- /dev/null +++ b/docs/com.grappenmaker.mappings/-mapped-field/desc.html @@ -0,0 +1,80 @@ + + + + + desc + + + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

desc

+
+
val desc: String?
+
+ +
+
+
+ + diff --git a/docs/com.grappenmaker.mappings/-mapped-field/index.html b/docs/com.grappenmaker.mappings/-mapped-field/index.html new file mode 100644 index 0000000..bba16a6 --- /dev/null +++ b/docs/com.grappenmaker.mappings/-mapped-field/index.html @@ -0,0 +1,153 @@ + + + + + MappedField + + + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

MappedField

+
data class MappedField(val names: List<String>, val comments: List<String> = emptyList(), val desc: String?) : Mapped, Commented

Represents a mapped field

+
+
+
+
+
+

Constructors

+
+
+
+
+ + +
Link copied to clipboard
+
+
+
+
constructor(names: List<String>, comments: List<String> = emptyList(), desc: String?)
+
+
+
+
+
+
+
+

Properties

+
+
+
+
+ + +
Link copied to clipboard
+
+
+
+
open override val comments: List<String>

All comments that the author of some Mappings file wrote

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
val desc: String?

The JVMS field descriptor in the "first namespace" of a Mappings file

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
open override val names: List<String>

The names of this named entity, which should correspond to some namespaces in Mappings.namespaces

+
+
+
+
+
+
+
+
+
+ +
+
+
+ + diff --git a/docs/com.grappenmaker.mappings/-mapped-field/names.html b/docs/com.grappenmaker.mappings/-mapped-field/names.html new file mode 100644 index 0000000..9d2cfb5 --- /dev/null +++ b/docs/com.grappenmaker.mappings/-mapped-field/names.html @@ -0,0 +1,80 @@ + + + + + names + + + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

names

+
+
open override val names: List<String>
+
+ +
+
+
+ + diff --git a/docs/com.grappenmaker.mappings/-mapped-local/--index--.html b/docs/com.grappenmaker.mappings/-mapped-local/--index--.html new file mode 100644 index 0000000..4a881c6 --- /dev/null +++ b/docs/com.grappenmaker.mappings/-mapped-local/--index--.html @@ -0,0 +1,80 @@ + + + + + index + + + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

index

+
+
val index: Int
+
+ +
+
+
+ + diff --git a/docs/com.grappenmaker.mappings/-mapped-local/-mapped-local.html b/docs/com.grappenmaker.mappings/-mapped-local/-mapped-local.html new file mode 100644 index 0000000..9269573 --- /dev/null +++ b/docs/com.grappenmaker.mappings/-mapped-local/-mapped-local.html @@ -0,0 +1,80 @@ + + + + + MappedLocal + + + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

MappedLocal

+
+
constructor(index: Int, startOffset: Int, lvtIndex: Int, names: List<String>)
+
+ +
+
+
+ + diff --git a/docs/com.grappenmaker.mappings/-mapped-local/index.html b/docs/com.grappenmaker.mappings/-mapped-local/index.html new file mode 100644 index 0000000..c3995ba --- /dev/null +++ b/docs/com.grappenmaker.mappings/-mapped-local/index.html @@ -0,0 +1,168 @@ + + + + + MappedLocal + + + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

MappedLocal

+
data class MappedLocal(val index: Int, val startOffset: Int, val lvtIndex: Int, val names: List<String>) : Mapped

Represents a mapped local variable. This is different to a MappedParameter, because it carries data about LVT and usage in the bytecode.

+
+
+
+
+
+

Constructors

+
+
+
+
+ + +
Link copied to clipboard
+
+
+
+
constructor(index: Int, startOffset: Int, lvtIndex: Int, names: List<String>)
+
+
+
+
+
+
+
+

Properties

+
+
+
+
+ + +
Link copied to clipboard
+
+
+
+
val index: Int

the index (starting at zero) of this local variable

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+

the index of this local variable in the local variable table (less than zero if omitted)

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
open override val names: List<String>

The names of this named entity, which should correspond to some namespaces in Mappings.namespaces

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+

the offset of this local variable in the local variable table

+
+
+
+
+
+
+
+
+
+ +
+
+
+ + diff --git a/docs/com.grappenmaker.mappings/-mapped-local/lvt-index.html b/docs/com.grappenmaker.mappings/-mapped-local/lvt-index.html new file mode 100644 index 0000000..8125a95 --- /dev/null +++ b/docs/com.grappenmaker.mappings/-mapped-local/lvt-index.html @@ -0,0 +1,80 @@ + + + + + lvtIndex + + + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

lvtIndex

+
+ +
+ +
+
+
+ + diff --git a/docs/com.grappenmaker.mappings/-mapped-local/names.html b/docs/com.grappenmaker.mappings/-mapped-local/names.html new file mode 100644 index 0000000..2baf57d --- /dev/null +++ b/docs/com.grappenmaker.mappings/-mapped-local/names.html @@ -0,0 +1,80 @@ + + + + + names + + + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

names

+
+
open override val names: List<String>
+
+ +
+
+
+ + diff --git a/docs/com.grappenmaker.mappings/-mapped-local/start-offset.html b/docs/com.grappenmaker.mappings/-mapped-local/start-offset.html new file mode 100644 index 0000000..fb9d21c --- /dev/null +++ b/docs/com.grappenmaker.mappings/-mapped-local/start-offset.html @@ -0,0 +1,80 @@ + + + + + startOffset + + + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

startOffset

+
+ +
+ +
+
+
+ + diff --git a/docs/com.grappenmaker.mappings/-mapped-method/-mapped-method.html b/docs/com.grappenmaker.mappings/-mapped-method/-mapped-method.html new file mode 100644 index 0000000..762a1fb --- /dev/null +++ b/docs/com.grappenmaker.mappings/-mapped-method/-mapped-method.html @@ -0,0 +1,80 @@ + + + + + MappedMethod + + + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

MappedMethod

+
+
constructor(names: List<String>, comments: List<String> = emptyList(), desc: String, parameters: List<MappedParameter> = emptyList(), variables: List<MappedLocal> = emptyList())
+
+ +
+
+
+ + diff --git a/docs/com.grappenmaker.mappings/-mapped-method/comments.html b/docs/com.grappenmaker.mappings/-mapped-method/comments.html new file mode 100644 index 0000000..82f8be8 --- /dev/null +++ b/docs/com.grappenmaker.mappings/-mapped-method/comments.html @@ -0,0 +1,80 @@ + + + + + comments + + + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

comments

+
+
open override val comments: List<String>
+
+ +
+
+
+ + diff --git a/docs/com.grappenmaker.mappings/-mapped-method/desc.html b/docs/com.grappenmaker.mappings/-mapped-method/desc.html new file mode 100644 index 0000000..6fc3721 --- /dev/null +++ b/docs/com.grappenmaker.mappings/-mapped-method/desc.html @@ -0,0 +1,80 @@ + + + + + desc + + + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

desc

+
+ +
+ +
+
+
+ + diff --git a/docs/com.grappenmaker.mappings/-mapped-method/index.html b/docs/com.grappenmaker.mappings/-mapped-method/index.html new file mode 100644 index 0000000..230b7c3 --- /dev/null +++ b/docs/com.grappenmaker.mappings/-mapped-method/index.html @@ -0,0 +1,202 @@ + + + + + MappedMethod + + + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

MappedMethod

+
data class MappedMethod(val names: List<String>, val comments: List<String> = emptyList(), val desc: String, val parameters: List<MappedParameter> = emptyList(), val variables: List<MappedLocal> = emptyList()) : Mapped, Commented

Represents a mapped method

+
+
+
+
+
+

Constructors

+
+
+
+
+ + +
Link copied to clipboard
+
+
+
+
constructor(names: List<String>, comments: List<String> = emptyList(), desc: String, parameters: List<MappedParameter> = emptyList(), variables: List<MappedLocal> = emptyList())
+
+
+
+
+
+
+
+

Properties

+
+
+
+
+ + +
Link copied to clipboard
+
+
+
+
open override val comments: List<String>

All comments that the author of some Mappings file wrote

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+

The JVMS method descriptor in the "first namespace" of a Mappings file

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
open override val names: List<String>

The names of this named entity, which should correspond to some namespaces in Mappings.namespaces

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+

Deobfuscation information regarding parameter names

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+

Deobfuscation information regarding local variable names

+
+
+
+
+
+
+
+

Functions

+
+
+
+
+ + +
Link copied to clipboard
+
+
+
+

Returns whether the methods represented by this MappedMethod is a data method, that is, if this method is hashCode, toString, equals or an initializer, like a constructor or init {} block (this means that the jvm names are and , respectively)

+
+
+
+
+
+
+
+
+
+ +
+
+
+ + diff --git a/docs/com.grappenmaker.mappings/-mapped-method/names.html b/docs/com.grappenmaker.mappings/-mapped-method/names.html new file mode 100644 index 0000000..ec77cc6 --- /dev/null +++ b/docs/com.grappenmaker.mappings/-mapped-method/names.html @@ -0,0 +1,80 @@ + + + + + names + + + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

names

+
+
open override val names: List<String>
+
+ +
+
+
+ + diff --git a/docs/com.grappenmaker.mappings/-mapped-method/parameters.html b/docs/com.grappenmaker.mappings/-mapped-method/parameters.html new file mode 100644 index 0000000..dc5bbd1 --- /dev/null +++ b/docs/com.grappenmaker.mappings/-mapped-method/parameters.html @@ -0,0 +1,80 @@ + + + + + parameters + + + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

parameters

+
+ +
+ +
+
+
+ + diff --git a/docs/com.grappenmaker.mappings/-mapped-method/variables.html b/docs/com.grappenmaker.mappings/-mapped-method/variables.html new file mode 100644 index 0000000..a411068 --- /dev/null +++ b/docs/com.grappenmaker.mappings/-mapped-method/variables.html @@ -0,0 +1,80 @@ + + + + + variables + + + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

variables

+
+ +
+ +
+
+
+ + diff --git a/docs/com.grappenmaker.mappings/-mapped-parameter/--index--.html b/docs/com.grappenmaker.mappings/-mapped-parameter/--index--.html new file mode 100644 index 0000000..7a26875 --- /dev/null +++ b/docs/com.grappenmaker.mappings/-mapped-parameter/--index--.html @@ -0,0 +1,80 @@ + + + + + index + + + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

index

+
+
val index: Int
+
+ +
+
+
+ + diff --git a/docs/com.grappenmaker.mappings/-mapped-parameter/-mapped-parameter.html b/docs/com.grappenmaker.mappings/-mapped-parameter/-mapped-parameter.html new file mode 100644 index 0000000..32491e5 --- /dev/null +++ b/docs/com.grappenmaker.mappings/-mapped-parameter/-mapped-parameter.html @@ -0,0 +1,80 @@ + + + + + MappedParameter + + + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

MappedParameter

+
+
constructor(names: List<String>, index: Int)
+
+ +
+
+
+ + diff --git a/docs/com.grappenmaker.mappings/-mapped-parameter/index.html b/docs/com.grappenmaker.mappings/-mapped-parameter/index.html new file mode 100644 index 0000000..1afa4b9 --- /dev/null +++ b/docs/com.grappenmaker.mappings/-mapped-parameter/index.html @@ -0,0 +1,138 @@ + + + + + MappedParameter + + + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

MappedParameter

+
data class MappedParameter(val names: List<String>, val index: Int) : Mapped

Represents a mapped parameter of a MappedMethod, which is different from a MappedLocal (see docs)

+
+
+
+
+
+

Constructors

+
+
+
+
+ + +
Link copied to clipboard
+
+
+
+
constructor(names: List<String>, index: Int)
+
+
+
+
+
+
+
+

Properties

+
+
+
+
+ + +
Link copied to clipboard
+
+
+
+
val index: Int

the index (starting at zero) of this parameter

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
open override val names: List<String>

The names of this named entity, which should correspond to some namespaces in Mappings.namespaces

+
+
+
+
+
+
+
+
+
+ +
+
+
+ + diff --git a/docs/com.grappenmaker.mappings/-mapped-parameter/names.html b/docs/com.grappenmaker.mappings/-mapped-parameter/names.html new file mode 100644 index 0000000..9acf1df --- /dev/null +++ b/docs/com.grappenmaker.mappings/-mapped-parameter/names.html @@ -0,0 +1,80 @@ + + + + + names + + + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

names

+
+
open override val names: List<String>
+
+ +
+
+
+ + diff --git a/docs/com.grappenmaker.mappings/-mapped/index.html b/docs/com.grappenmaker.mappings/-mapped/index.html new file mode 100644 index 0000000..7c962ed --- /dev/null +++ b/docs/com.grappenmaker.mappings/-mapped/index.html @@ -0,0 +1,104 @@ + + + + + Mapped + + + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

Mapped

+
sealed interface Mapped

Represents any entity that can have different mapped names

Inheritors

+
+
+
+
+
+

Properties

+
+
+
+
+ + +
Link copied to clipboard
+
+
+
+
abstract val names: List<String>

The names of this named entity, which should correspond to some namespaces in Mappings.namespaces

+
+
+
+
+
+
+
+
+
+ +
+
+
+ + diff --git a/docs/com.grappenmaker.mappings/-mapped/names.html b/docs/com.grappenmaker.mappings/-mapped/names.html new file mode 100644 index 0000000..3460836 --- /dev/null +++ b/docs/com.grappenmaker.mappings/-mapped/names.html @@ -0,0 +1,80 @@ + + + + + names + + + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

names

+
+
abstract val names: List<String>
+
+ +
+
+
+ + diff --git a/docs/com.grappenmaker.mappings/-mappings-format/-undetectable/detect.html b/docs/com.grappenmaker.mappings/-mappings-format/-undetectable/detect.html new file mode 100644 index 0000000..b76fa13 --- /dev/null +++ b/docs/com.grappenmaker.mappings/-mappings-format/-undetectable/detect.html @@ -0,0 +1,80 @@ + + + + + detect + + + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

detect

+
+
open override fun detect(lines: List<String>): Boolean

Deprecated

This mappings format does not support detection

Replace with

false

Returns whether this MappingsFormat thinks the lines represent a valid input for the mappings parser

+
+ +
+
+
+ + diff --git a/docs/com.grappenmaker.mappings/-mappings-format/-undetectable/index.html b/docs/com.grappenmaker.mappings/-mappings-format/-undetectable/index.html new file mode 100644 index 0000000..44dcab0 --- /dev/null +++ b/docs/com.grappenmaker.mappings/-mappings-format/-undetectable/index.html @@ -0,0 +1,164 @@ + + + + + Undetectable + + + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

Undetectable

+
sealed interface Undetectable<T : Mappings> : MappingsFormat<T>

Represents a mappings format that does not support detecting inputs, because of ambiguities or similarities with other formats. detect will always return false. If you want to use this mappings format, it should either be known ahead of time or stored somewhere that this is the case, this library won't handle that for you.

Inheritors

+
+
+
+
+
+

Functions

+
+
+
+
+ + +
Link copied to clipboard
+
+
+
+
open override fun detect(lines: List<String>): Boolean

Returns whether this MappingsFormat thinks the lines represent a valid input for the mappings parser

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
abstract fun parse(lines: Iterator<String>): T

Parses lines (an iterator of lines in a mappings file) into a mappings data structure. Throws an IllegalStateException when lines is not a valid input for this mappings format.

open fun parse(lines: List<String>): T

Parses lines (representing a mappings file) into a mappings data structure. Throws an IllegalStateException when lines is not a valid input for this mappings format. To check if lines can be parsed, you could invoke detect.

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+

Parses lines (a Sequence of lines in a mappings file) into a mappings data structure. Throws an IllegalStateException when lines is not a valid input for this mappings format.

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
open fun write(mappings: T): List<String>

Writes mappings compatible with this MappingsFormat back to a list of lines representing a mappings file

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
abstract fun writeLazy(mappings: T): Sequence<String>

Writes mappings compatible with this MappingsFormat to a lazily evaluated Sequence

+
+
+
+
+
+
+
+
+
+ +
+
+
+ + diff --git a/docs/com.grappenmaker.mappings/-mappings-format/detect.html b/docs/com.grappenmaker.mappings/-mappings-format/detect.html new file mode 100644 index 0000000..6ee9b64 --- /dev/null +++ b/docs/com.grappenmaker.mappings/-mappings-format/detect.html @@ -0,0 +1,80 @@ + + + + + detect + + + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

detect

+
+
abstract fun detect(lines: List<String>): Boolean

Returns whether this MappingsFormat thinks the lines represent a valid input for the mappings parser

+
+ +
+
+
+ + diff --git a/docs/com.grappenmaker.mappings/-mappings-format/index.html b/docs/com.grappenmaker.mappings/-mappings-format/index.html new file mode 100644 index 0000000..d941495 --- /dev/null +++ b/docs/com.grappenmaker.mappings/-mappings-format/index.html @@ -0,0 +1,183 @@ + + + + + MappingsFormat + + + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ + +
+
+
+
+

Types

+
+
+
+
+ + +
Link copied to clipboard
+
+
+
+
sealed interface Undetectable<T : Mappings> : MappingsFormat<T>

Represents a mappings format that does not support detecting inputs, because of ambiguities or similarities with other formats. detect will always return false. If you want to use this mappings format, it should either be known ahead of time or stored somewhere that this is the case, this library won't handle that for you.

+
+
+
+
+
+
+
+

Functions

+
+
+
+
+ + +
Link copied to clipboard
+
+
+
+
abstract fun detect(lines: List<String>): Boolean

Returns whether this MappingsFormat thinks the lines represent a valid input for the mappings parser

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
abstract fun parse(lines: Iterator<String>): T

Parses lines (an iterator of lines in a mappings file) into a mappings data structure. Throws an IllegalStateException when lines is not a valid input for this mappings format.

open fun parse(lines: List<String>): T

Parses lines (representing a mappings file) into a mappings data structure. Throws an IllegalStateException when lines is not a valid input for this mappings format. To check if lines can be parsed, you could invoke detect.

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+

Parses lines (a Sequence of lines in a mappings file) into a mappings data structure. Throws an IllegalStateException when lines is not a valid input for this mappings format.

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
open fun write(mappings: T): List<String>

Writes mappings compatible with this MappingsFormat back to a list of lines representing a mappings file

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
abstract fun writeLazy(mappings: T): Sequence<String>

Writes mappings compatible with this MappingsFormat to a lazily evaluated Sequence

+
+
+
+
+
+
+
+
+
+ +
+
+
+ + diff --git a/docs/com.grappenmaker.mappings/-mappings-format/parse.html b/docs/com.grappenmaker.mappings/-mappings-format/parse.html new file mode 100644 index 0000000..e1e130c --- /dev/null +++ b/docs/com.grappenmaker.mappings/-mappings-format/parse.html @@ -0,0 +1,80 @@ + + + + + parse + + + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

parse

+
+
open fun parse(lines: List<String>): T

Parses lines (representing a mappings file) into a mappings data structure. Throws an IllegalStateException when lines is not a valid input for this mappings format. To check if lines can be parsed, you could invoke detect.

If detection is not required, parse with an Iterator should be preferred


abstract fun parse(lines: Iterator<String>): T

Parses lines (an iterator of lines in a mappings file) into a mappings data structure. Throws an IllegalStateException when lines is not a valid input for this mappings format.

+
+ +
+
+
+ + diff --git a/docs/com.grappenmaker.mappings/-mappings-format/write-lazy.html b/docs/com.grappenmaker.mappings/-mappings-format/write-lazy.html new file mode 100644 index 0000000..671fc6e --- /dev/null +++ b/docs/com.grappenmaker.mappings/-mappings-format/write-lazy.html @@ -0,0 +1,80 @@ + + + + + writeLazy + + + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

writeLazy

+
+
abstract fun writeLazy(mappings: T): Sequence<String>

Writes mappings compatible with this MappingsFormat to a lazily evaluated Sequence

+
+ +
+
+
+ + diff --git a/docs/com.grappenmaker.mappings/-mappings-format/write.html b/docs/com.grappenmaker.mappings/-mappings-format/write.html new file mode 100644 index 0000000..b8a1f0f --- /dev/null +++ b/docs/com.grappenmaker.mappings/-mappings-format/write.html @@ -0,0 +1,80 @@ + + + + + write + + + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

write

+
+
open fun write(mappings: T): List<String>

Writes mappings compatible with this MappingsFormat back to a list of lines representing a mappings file

+
+ +
+
+
+ + diff --git a/docs/com.grappenmaker.mappings/-mappings-loader/all-mappings-formats.html b/docs/com.grappenmaker.mappings/-mappings-loader/all-mappings-formats.html new file mode 100644 index 0000000..fda4638 --- /dev/null +++ b/docs/com.grappenmaker.mappings/-mappings-loader/all-mappings-formats.html @@ -0,0 +1,80 @@ + + + + + allMappingsFormats + + + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

allMappingsFormats

+
+

Contains all supported MappingsFormats.

+
+ +
+
+
+ + diff --git a/docs/com.grappenmaker.mappings/-mappings-loader/find-mappings-format.html b/docs/com.grappenmaker.mappings/-mappings-loader/find-mappings-format.html new file mode 100644 index 0000000..952b674 --- /dev/null +++ b/docs/com.grappenmaker.mappings/-mappings-loader/find-mappings-format.html @@ -0,0 +1,80 @@ + + + + + findMappingsFormat + + + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

findMappingsFormat

+
+

Finds the correct MappingsFormat for the mappings file represented by lines. Throws an IllegalStateException when an invalid mappings sequence is provided (or not supported).

Note that mappings formats that do not support detection (inheritors of MappingsFormat.Undetectable) will not be returned by this function.

See also

+
+ +
+
+
+ + diff --git a/docs/com.grappenmaker.mappings/-mappings-loader/index.html b/docs/com.grappenmaker.mappings/-mappings-loader/index.html new file mode 100644 index 0000000..e9e3f64 --- /dev/null +++ b/docs/com.grappenmaker.mappings/-mappings-loader/index.html @@ -0,0 +1,138 @@ + + + + + MappingsLoader + + + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

MappingsLoader

+

The entry point for loading Mappings.

Note that it should be preferred that it is known in advance which mappings format is being dealt with, as the detection mechanism can be inaccurate due to it not fully parsing the input file. It can also slow the entire process down, since it requires the caller to read some probably large resource into a List first, which costs allocations.

+
+
+
+
+
+

Properties

+
+
+
+
+ + +
Link copied to clipboard
+
+
+
+

Contains all supported MappingsFormats.

+
+
+
+
+
+
+
+

Functions

+
+
+
+
+ + +
Link copied to clipboard
+
+
+
+

Finds the correct MappingsFormat for the mappings file represented by lines. Throws an IllegalStateException when an invalid mappings sequence is provided (or not supported).

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+

Attempts to load the mappings represented by lines as Mappings. Throws an IllegalStateException when an invalid mappings sequence is provided (or not supported).

+
+
+
+
+
+
+
+
+
+ +
+
+
+ + diff --git a/docs/com.grappenmaker.mappings/-mappings-loader/load-mappings.html b/docs/com.grappenmaker.mappings/-mappings-loader/load-mappings.html new file mode 100644 index 0000000..4754cb6 --- /dev/null +++ b/docs/com.grappenmaker.mappings/-mappings-loader/load-mappings.html @@ -0,0 +1,80 @@ + + + + + loadMappings + + + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

loadMappings

+
+

Attempts to load the mappings represented by lines as Mappings. Throws an IllegalStateException when an invalid mappings sequence is provided (or not supported).

Note that mappings in formats that do not support detection (inheritors of MappingsFormat.Undetectable) will not be parsed correctly, and an IllegalStateException will be thrown.

See also

+
+ +
+
+
+ + diff --git a/docs/com.grappenmaker.mappings/-mappings-remapper/-mappings-remapper.html b/docs/com.grappenmaker.mappings/-mappings-remapper/-mappings-remapper.html new file mode 100644 index 0000000..379bd99 --- /dev/null +++ b/docs/com.grappenmaker.mappings/-mappings-remapper/-mappings-remapper.html @@ -0,0 +1,80 @@ + + + + + MappingsRemapper + + + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

MappingsRemapper

+
+
constructor(mappings: Mappings, from: String, to: String, loader: ClasspathLoader)
+
+ +
+
+
+ + diff --git a/docs/com.grappenmaker.mappings/-mappings-remapper/from.html b/docs/com.grappenmaker.mappings/-mappings-remapper/from.html new file mode 100644 index 0000000..8888f13 --- /dev/null +++ b/docs/com.grappenmaker.mappings/-mappings-remapper/from.html @@ -0,0 +1,80 @@ + + + + + from + + + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

from

+
+ +
+ +
+
+
+ + diff --git a/docs/com.grappenmaker.mappings/-mappings-remapper/index.html b/docs/com.grappenmaker.mappings/-mappings-remapper/index.html new file mode 100644 index 0000000..b95cd0b --- /dev/null +++ b/docs/com.grappenmaker.mappings/-mappings-remapper/index.html @@ -0,0 +1,397 @@ + + + + + MappingsRemapper + + + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

MappingsRemapper

+
class MappingsRemapper(val mappings: Mappings, val from: String, val to: String, loader: ClasspathLoader) : LoaderSimpleRemapper

A Remapper for Mappings, which is capable of using inheritance information from classes (the implementor may choose to cache them) to resolve mapping data.

Maps between from and to namespaces. If shouldRemapDesc is true (which it is by default if the from namespace is not the first namespace in the mappings), this MappingsRemapper will remap the descriptors of methods before passing them on to the mappings, in order to find the correct overload.

loader should return the bytes for a class file with a given internal name, whether that is in a jar file, this JVMs system class loader, or another resource. If loader returns null, the remapper considers the class file not present/missing/irrelevant.

See also

for default implementations of loader

+
+
+
+
+
+

Constructors

+
+
+
+
+ + +
Link copied to clipboard
+
+
+
+
constructor(mappings: Mappings, from: String, to: String, loader: ClasspathLoader)
+
+
+
+
+
+
+
+

Properties

+
+
+
+
+ + +
Link copied to clipboard
+
+
+
+

the namespace to remap from

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+

the mappings used for remapping

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
val to: String

the namespace to remap to

+
+
+
+
+
+
+
+

Functions

+
+
+
+
+ + +
Link copied to clipboard
+
+
+
+
open override fun map(internalName: String): String
+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+ +
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
open fun mapDesc(p0: String): String
+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
open override fun mapFieldName(owner: String, name: String, desc: String?): String
+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
open fun mapInnerClassName(p0: String, p1: String, p2: String): String
+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+ +
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
open fun mapMethodDesc(p0: String): String
+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
open override fun mapMethodName(owner: String, name: String, desc: String): String
+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
open fun mapModuleName(p0: String): String
+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+ +
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
open override fun mapRecordComponentName(owner: String, name: String, desc: String): String
+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
open override fun mapSignature(signature: String?, typeSignature: Boolean): String?
+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
open fun mapType(p0: String): String
+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
open fun mapTypes(p0: Array<String>): Array<String>
+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
open fun mapValue(p0: Any): Any
+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
fun reverse(loader: ClasspathLoader = this.loader): MappingsRemapper

Returns a MappingsRemapper that reverses the changes of this MappingsRemapper.

+
+
+
+
+
+
+
+
+
+ +
+
+
+ + diff --git a/docs/com.grappenmaker.mappings/-mappings-remapper/mappings.html b/docs/com.grappenmaker.mappings/-mappings-remapper/mappings.html new file mode 100644 index 0000000..f295f6b --- /dev/null +++ b/docs/com.grappenmaker.mappings/-mappings-remapper/mappings.html @@ -0,0 +1,80 @@ + + + + + mappings + + + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

mappings

+
+ +
+ +
+
+
+ + diff --git a/docs/com.grappenmaker.mappings/-mappings-remapper/reverse.html b/docs/com.grappenmaker.mappings/-mappings-remapper/reverse.html new file mode 100644 index 0000000..540be79 --- /dev/null +++ b/docs/com.grappenmaker.mappings/-mappings-remapper/reverse.html @@ -0,0 +1,80 @@ + + + + + reverse + + + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

reverse

+
+
fun reverse(loader: ClasspathLoader = this.loader): MappingsRemapper

Returns a MappingsRemapper that reverses the changes of this MappingsRemapper.

Note that loader is by default set to the already passed loader, but it might be incorrect depending on the implementation of loader in the original MappingsRemapper. Make sure to pass a new implementation if inheritance data matters to you and the original loader could not handle different namespaced names.

+
+ +
+
+
+ + diff --git a/docs/com.grappenmaker.mappings/-mappings-remapper/to.html b/docs/com.grappenmaker.mappings/-mappings-remapper/to.html new file mode 100644 index 0000000..ea4a8e2 --- /dev/null +++ b/docs/com.grappenmaker.mappings/-mappings-remapper/to.html @@ -0,0 +1,80 @@ + + + + + to + + + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

to

+
+
val to: String
+
+ +
+
+
+ + diff --git a/docs/com.grappenmaker.mappings/-mappings/classes.html b/docs/com.grappenmaker.mappings/-mappings/classes.html new file mode 100644 index 0000000..c5ecb90 --- /dev/null +++ b/docs/com.grappenmaker.mappings/-mappings/classes.html @@ -0,0 +1,80 @@ + + + + + classes + + + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

classes

+
+
abstract val classes: List<MappedClass>
+
+ +
+
+
+ + diff --git a/docs/com.grappenmaker.mappings/-mappings/index.html b/docs/com.grappenmaker.mappings/-mappings/index.html new file mode 100644 index 0000000..75f744a --- /dev/null +++ b/docs/com.grappenmaker.mappings/-mappings/index.html @@ -0,0 +1,498 @@ + + + + + Mappings + + + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

Mappings

+
sealed interface Mappings

Represents any type of mappings. The names in all of the Mapped entities are in the order of the namespaces, and should have equal length arrays.

Inheritors

+
+
+
+
+
+

Properties

+
+
+
+
+ + +
Link copied to clipboard
+
+
+
+
abstract val classes: List<MappedClass>

All mapped classes in this mappings file (in order, not important)

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
abstract val namespaces: List<String>

All namespaces (in order) that this mappings file supports/contains

+
+
+
+
+
+
+
+

Functions

+
+
+
+
+ + +
Link copied to clipboard
+
+
+
+
fun Mappings.asASMMapping(from: String, to: String, includeMethods: Boolean = true, includeFields: Boolean = true): Map<String, String>

Returns a simple mapping representing all of the Mappings, mapping between the namespaces from and to. If includeMethods is true, then methods will be included in the mapping. If includeFields is true, then fields will be included in the mapping.

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+ +
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+ +
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+ +
+
+ +
+
+
+ + +
Link copied to clipboard
+
+ +
+
+ +
+
+
+ + +
Link copied to clipboard
+
+ +
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+ +
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
fun Mappings.asSimpleRemapper(from: String, to: String): SimpleRemapper

Returns an asm SimpleRemapper for remapping references between namespaces from and to disregarding inheritance and lambdas. For proper remapping, you should use the MappingsRemapper.

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+

Converts these Mappings to SRGMappings, enabling XSRG when extended is true.

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+

Converts these Mappings to TinyMappings, enabling Tiny v2 when v2 is true.

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+

Converts these Mappings to TSRGMappings, enabling TSRG v2 when v2 is true.

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+

Removes all duplicate namespace usages in this Mappings.

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+

Transforms this Mappings structure to a generic mappings implementation that maps between from and to.

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
inline fun Mappings.filterClasses(predicate: (MappedClass) -> Boolean): Mappings

Filters classes matching the predicate

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
inline fun Mappings.filterMethods(predicate: (owner: MappedClass, method: MappedMethod) -> Boolean): Mappings

Filters methods matching the predicate

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
fun Mappings.filterNamespaces(vararg allowed: String, allowDuplicates: Boolean = false): Mappings
fun Mappings.filterNamespaces(allowed: Set<String>, allowDuplicates: Boolean = false): Mappings

Filters these Mappings to only contain namespaces that are in allowed. If allowDuplicates is true, the returned Mappings will also have duplicate namespaces removed.

inline fun Mappings.filterNamespaces(allowDuplicates: Boolean = false, predicate: (String) -> Boolean): Mappings

Filters these Mappings to only contain namespaces for which the predicate returns true. If allowDuplicates is true, the returned Mappings will also have duplicate namespaces removed.

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
fun Mappings.join(otherMappings: Mappings, intermediateNamespace: String, requireMatch: Boolean = false): Mappings

Joins together this Mappings with otherMappings, by matching on intermediateNamespace, producing new Mappings that contain all entries from this Mappings and otherMappings. If requireMatch is true, this method will throw an exception when no method or field or class is found

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+

Maps classes according to the given block

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
inline fun Mappings.mapMethods(block: (owner: MappedClass, method: MappedMethod) -> MappedMethod): Mappings

Maps methods according to the given block

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+

Returns the index of a namespace named name, but throws an IllegalStateException when name is not in the Mappings.namespaces.

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+

See recoverFieldDescriptors. file is a jar file resource (caller is responsible for closing it) that contains the classes that are referenced in the generic overload.

fun Mappings.recoverFieldDescriptors(bytesProvider: (name: String) -> ByteArray?): Mappings

Attempts to recover field descriptors that are missing because the original mappings format did not specify them. bytesProvider is responsible for providing all of the classes that might be referenced in this Mappings object, such that the descriptors can be recovered based on named (fields can be uniquely identified by an owner-name pair). When field descriptors were not found, field mappings will not be passed onto the new Mappings as field mappings without descriptors will be considered invalid.

@JvmName(name = "recoverDescsByNode")
fun Mappings.recoverFieldDescriptors(nodeProvider: (name: String) -> ClassNode?): Mappings

Attempts to recover field descriptors that are missing because the original mappings format did not specify them. nodeProvider is responsible for providing all of the ClassNodes that might be referenced in this Mappings object, such that the descriptors can be recovered based on named (fields can be uniquely identified by an owner-name pair). When field descriptors were not found, field mappings will not be passed onto the new Mappings as field mappings without descriptors will be considered invalid.

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+

Returns new Mappings that are identical to these Mappings, except the comments will be removed

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
fun Mappings.removeRedundancy(inheritanceProvider: InheritanceProvider, removeDuplicateMethods: Boolean = false): Mappings

Removes redundant or straight up incorrect data from this Mappings object, by looking at the inheritance information present in class files, presented by the inheritanceProvider.

fun Mappings.removeRedundancy(file: JarFile, removeDuplicateMethods: Boolean = false): Mappings

See removeRedundancy. file is a jar file resource (caller is responsible for closing it) that contains the classes that are referenced in the generic overload. Calls with identical names are being cached by this function, the caller is not responsible for this.

fun Mappings.removeRedundancy(removeDuplicateMethods: Boolean = false, loader: ClasspathLoader): Mappings

Removes redundant or straight up incorrect data from this Mappings object, by looking at the inheritance information present in class files, presented by the loader.

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+

Swaps out the names for the namespaces in this Mappings data structure.

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+

Swaps out the names for the namespaces in this Mappings data structure, by reordering. Duplicate names are allowed, in which case mapped entries are duplicated to fit the new order. If a name in Mappings.namespaces does not appear in order, its mapping entries will be missing in the returned Mappings.

Swaps out the names for the namespaces in this Mappings data structure, by reordering. Duplicate names are allowed, in which case mapped entries are duplicated to fit the new order. If a name in Mappings.namespaces does not appear in order, its mapping entries will be missing in the returned Mappings. If a namespace in order does not exist in this Mappings, an IllegalArgumentException will be thrown.

+
+
+
+
+
+
+
+
+
+ +
+
+
+ + diff --git a/docs/com.grappenmaker.mappings/-mappings/namespaces.html b/docs/com.grappenmaker.mappings/-mappings/namespaces.html new file mode 100644 index 0000000..304eaed --- /dev/null +++ b/docs/com.grappenmaker.mappings/-mappings/namespaces.html @@ -0,0 +1,80 @@ + + + + + namespaces + + + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

namespaces

+
+
abstract val namespaces: List<String>
+
+ +
+
+
+ + diff --git a/docs/com.grappenmaker.mappings/-member-identifier/-member-identifier.html b/docs/com.grappenmaker.mappings/-member-identifier/-member-identifier.html new file mode 100644 index 0000000..9a2e8b7 --- /dev/null +++ b/docs/com.grappenmaker.mappings/-member-identifier/-member-identifier.html @@ -0,0 +1,80 @@ + + + + + MemberIdentifier + + + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

MemberIdentifier

+
+
constructor(name: String, desc: String)
+
+ +
+
+
+ + diff --git a/docs/com.grappenmaker.mappings/-member-identifier/desc.html b/docs/com.grappenmaker.mappings/-member-identifier/desc.html new file mode 100644 index 0000000..0611367 --- /dev/null +++ b/docs/com.grappenmaker.mappings/-member-identifier/desc.html @@ -0,0 +1,80 @@ + + + + + desc + + + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

desc

+
+ +
+ +
+
+
+ + diff --git a/docs/com.grappenmaker.mappings/-member-identifier/index.html b/docs/com.grappenmaker.mappings/-member-identifier/index.html new file mode 100644 index 0000000..645cca6 --- /dev/null +++ b/docs/com.grappenmaker.mappings/-member-identifier/index.html @@ -0,0 +1,138 @@ + + + + + MemberIdentifier + + + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

MemberIdentifier

+
data class MemberIdentifier(val name: String, val desc: String)

Similar to AccessedMember, but without an owner field. Used in an AccessedClass

+
+
+
+
+
+

Constructors

+
+
+
+
+ + +
Link copied to clipboard
+
+
+
+
constructor(name: String, desc: String)
+
+
+
+
+
+
+
+

Properties

+
+
+
+
+ + +
Link copied to clipboard
+
+
+
+

The descriptor of the represented member

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+

The name of the represented member

+
+
+
+
+
+
+
+
+
+ +
+
+
+ + diff --git a/docs/com.grappenmaker.mappings/-member-identifier/name.html b/docs/com.grappenmaker.mappings/-member-identifier/name.html new file mode 100644 index 0000000..5becc78 --- /dev/null +++ b/docs/com.grappenmaker.mappings/-member-identifier/name.html @@ -0,0 +1,80 @@ + + + + + name + + + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

name

+
+ +
+ +
+
+
+ + diff --git a/docs/com.grappenmaker.mappings/-memoized-inheritance-provider/-memoized-inheritance-provider.html b/docs/com.grappenmaker.mappings/-memoized-inheritance-provider/-memoized-inheritance-provider.html new file mode 100644 index 0000000..250bb22 --- /dev/null +++ b/docs/com.grappenmaker.mappings/-memoized-inheritance-provider/-memoized-inheritance-provider.html @@ -0,0 +1,80 @@ + + + + + MemoizedInheritanceProvider + + + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

MemoizedInheritanceProvider

+
+
constructor(delegate: InheritanceProvider)
+
+ +
+
+
+ + diff --git a/docs/com.grappenmaker.mappings/-memoized-inheritance-provider/get-declared-methods.html b/docs/com.grappenmaker.mappings/-memoized-inheritance-provider/get-declared-methods.html new file mode 100644 index 0000000..76a653e --- /dev/null +++ b/docs/com.grappenmaker.mappings/-memoized-inheritance-provider/get-declared-methods.html @@ -0,0 +1,80 @@ + + + + + getDeclaredMethods + + + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

getDeclaredMethods

+
+
open override fun getDeclaredMethods(internalName: String, filterInheritable: Boolean): Iterable<String>

Returns the signatures of the methods declared in a class with a given internalName.

A signature is a string that represents a method by concatenating its name with its JVMS descriptor For example: valueOf(Ljava/lang/String;)Lsome/EnumType;

A declared method is a method that is directly declared in the bytecode of the class.

If filterInheritable is true, this method should only return the signatures of methods that are non-private, non-static, non-final. That is, access & (ACC_PRIVATE | ACC_STATIC | ACC_FINAL) == 0, where access is the bitset of access flags as defined by the JVMS. The convienience constant INHERITABLE_MASK can be used for this computation as well, by comparing access &INHERITABLE_MASK == 0

+
+ +
+
+
+ + diff --git a/docs/com.grappenmaker.mappings/-memoized-inheritance-provider/get-direct-parents.html b/docs/com.grappenmaker.mappings/-memoized-inheritance-provider/get-direct-parents.html new file mode 100644 index 0000000..7a96c45 --- /dev/null +++ b/docs/com.grappenmaker.mappings/-memoized-inheritance-provider/get-direct-parents.html @@ -0,0 +1,80 @@ + + + + + getDirectParents + + + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

getDirectParents

+
+
open override fun getDirectParents(internalName: String): Iterable<String>

Returns the direct parents of a class with a given internalName, that is, it returns an iterable of its super class (if any) and its superinterfaces, in that order.

+
+ +
+
+
+ + diff --git a/docs/com.grappenmaker.mappings/-memoized-inheritance-provider/index.html b/docs/com.grappenmaker.mappings/-memoized-inheritance-provider/index.html new file mode 100644 index 0000000..a4506c2 --- /dev/null +++ b/docs/com.grappenmaker.mappings/-memoized-inheritance-provider/index.html @@ -0,0 +1,168 @@ + + + + + MemoizedInheritanceProvider + + + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

MemoizedInheritanceProvider

+

An InheritanceProvider that delegates to another given InheritanceProvider, delegate, and remembers its results.

+
+
+
+
+
+

Constructors

+
+
+
+
+ + +
Link copied to clipboard
+
+
+
+
constructor(delegate: InheritanceProvider)
+
+
+
+
+
+
+
+

Functions

+
+
+
+
+ + +
Link copied to clipboard
+
+
+
+
open override fun getDeclaredMethods(internalName: String, filterInheritable: Boolean): Iterable<String>

Returns the signatures of the methods declared in a class with a given internalName.

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
open override fun getDirectParents(internalName: String): Iterable<String>

Returns the direct parents of a class with a given internalName, that is, it returns an iterable of its super class (if any) and its superinterfaces, in that order.

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
open fun getParents(internalName: String): Iterable<String>

Returns the internal names of the parents of a class with a given internalName, in depth-first order, interfaces first.

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+

Wraps this into a new provider that remembers the results of calls

+
+
+
+
+
+
+
+
+
+ +
+
+
+ + diff --git a/docs/com.grappenmaker.mappings/-proguard-mappings-format/detect.html b/docs/com.grappenmaker.mappings/-proguard-mappings-format/detect.html new file mode 100644 index 0000000..92a065f --- /dev/null +++ b/docs/com.grappenmaker.mappings/-proguard-mappings-format/detect.html @@ -0,0 +1,80 @@ + + + + + detect + + + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

detect

+
+
open override fun detect(lines: List<String>): Boolean

Returns whether this MappingsFormat thinks the lines represent a valid input for the mappings parser

+
+ +
+
+
+ + diff --git a/docs/com.grappenmaker.mappings/-proguard-mappings-format/index.html b/docs/com.grappenmaker.mappings/-proguard-mappings-format/index.html new file mode 100644 index 0000000..944db18 --- /dev/null +++ b/docs/com.grappenmaker.mappings/-proguard-mappings-format/index.html @@ -0,0 +1,164 @@ + + + + + ProguardMappingsFormat + + + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

ProguardMappingsFormat

+

Implements the Proguard mappings format, disregarding line number information, which is written as 1:1 when serialized.

+
+
+
+
+
+

Functions

+
+
+
+
+ + +
Link copied to clipboard
+
+
+
+
open override fun detect(lines: List<String>): Boolean

Returns whether this MappingsFormat thinks the lines represent a valid input for the mappings parser

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
open fun parse(lines: List<String>): ProguardMappings

Parses lines (representing a mappings file) into a mappings data structure. Throws an IllegalStateException when lines is not a valid input for this mappings format. To check if lines can be parsed, you could invoke detect.

open override fun parse(lines: Iterator<String>): ProguardMappings

Parses lines (an iterator of lines in a mappings file) into a mappings data structure. Throws an IllegalStateException when lines is not a valid input for this mappings format.

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+

Parses lines (a Sequence of lines in a mappings file) into a mappings data structure. Throws an IllegalStateException when lines is not a valid input for this mappings format.

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
open fun write(mappings: ProguardMappings): List<String>

Writes mappings compatible with this MappingsFormat back to a list of lines representing a mappings file

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
open override fun writeLazy(mappings: ProguardMappings): Sequence<String>

Writes mappings compatible with this MappingsFormat to a lazily evaluated Sequence

+
+
+
+
+
+
+
+
+
+ +
+
+
+ + diff --git a/docs/com.grappenmaker.mappings/-proguard-mappings-format/parse.html b/docs/com.grappenmaker.mappings/-proguard-mappings-format/parse.html new file mode 100644 index 0000000..15a5059 --- /dev/null +++ b/docs/com.grappenmaker.mappings/-proguard-mappings-format/parse.html @@ -0,0 +1,80 @@ + + + + + parse + + + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

parse

+
+
open override fun parse(lines: Iterator<String>): ProguardMappings

Parses lines (an iterator of lines in a mappings file) into a mappings data structure. Throws an IllegalStateException when lines is not a valid input for this mappings format.

+
+ +
+
+
+ + diff --git a/docs/com.grappenmaker.mappings/-proguard-mappings-format/write-lazy.html b/docs/com.grappenmaker.mappings/-proguard-mappings-format/write-lazy.html new file mode 100644 index 0000000..b3f6601 --- /dev/null +++ b/docs/com.grappenmaker.mappings/-proguard-mappings-format/write-lazy.html @@ -0,0 +1,80 @@ + + + + + writeLazy + + + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

writeLazy

+
+
open override fun writeLazy(mappings: ProguardMappings): Sequence<String>

Writes mappings compatible with this MappingsFormat to a lazily evaluated Sequence

+
+ +
+
+
+ + diff --git a/docs/com.grappenmaker.mappings/-proguard-mappings/-proguard-mappings.html b/docs/com.grappenmaker.mappings/-proguard-mappings/-proguard-mappings.html new file mode 100644 index 0000000..8515dc1 --- /dev/null +++ b/docs/com.grappenmaker.mappings/-proguard-mappings/-proguard-mappings.html @@ -0,0 +1,80 @@ + + + + + ProguardMappings + + + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

ProguardMappings

+
+
constructor(classes: List<MappedClass>, comments: List<String> = emptyList())
+
+ +
+
+
+ + diff --git a/docs/com.grappenmaker.mappings/-proguard-mappings/classes.html b/docs/com.grappenmaker.mappings/-proguard-mappings/classes.html new file mode 100644 index 0000000..6e04340 --- /dev/null +++ b/docs/com.grappenmaker.mappings/-proguard-mappings/classes.html @@ -0,0 +1,80 @@ + + + + + classes + + + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

classes

+
+
open override val classes: List<MappedClass>
+
+ +
+
+
+ + diff --git a/docs/com.grappenmaker.mappings/-proguard-mappings/comments.html b/docs/com.grappenmaker.mappings/-proguard-mappings/comments.html new file mode 100644 index 0000000..4cd3fe7 --- /dev/null +++ b/docs/com.grappenmaker.mappings/-proguard-mappings/comments.html @@ -0,0 +1,80 @@ + + + + + comments + + + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

comments

+
+
open override val comments: List<String>
+
+ +
+
+
+ + diff --git a/docs/com.grappenmaker.mappings/-proguard-mappings/index.html b/docs/com.grappenmaker.mappings/-proguard-mappings/index.html new file mode 100644 index 0000000..a9405f5 --- /dev/null +++ b/docs/com.grappenmaker.mappings/-proguard-mappings/index.html @@ -0,0 +1,562 @@ + + + + + ProguardMappings + + + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

ProguardMappings

+
data class ProguardMappings(val classes: List<MappedClass>, val comments: List<String> = emptyList()) : Mappings, Commented

Represents Proguard debug deobfuscation mappings. Note that Proguard only supports two mappings namespaces. Line number information is ignored by the parser.

+
+
+
+
+
+

Constructors

+
+
+
+
+ + +
Link copied to clipboard
+
+
+
+
constructor(classes: List<MappedClass>, comments: List<String> = emptyList())
+
+
+
+
+
+
+
+

Properties

+
+
+
+
+ + +
Link copied to clipboard
+
+
+
+
open override val classes: List<MappedClass>

All mapped classes in this mappings file (in order, not important)

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
open override val comments: List<String>

All comments that the author of some Mappings file wrote

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
open override val namespaces: List<String>

All namespaces (in order) that this mappings file supports/contains

+
+
+
+
+
+
+
+

Functions

+
+
+
+
+ + +
Link copied to clipboard
+
+
+
+
fun Mappings.asASMMapping(from: String, to: String, includeMethods: Boolean = true, includeFields: Boolean = true): Map<String, String>

Returns a simple mapping representing all of the Mappings, mapping between the namespaces from and to. If includeMethods is true, then methods will be included in the mapping. If includeFields is true, then fields will be included in the mapping.

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+ +
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+ +
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+ +
+
+ +
+
+
+ + +
Link copied to clipboard
+
+ +
+
+ +
+
+
+ + +
Link copied to clipboard
+
+ +
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+ +
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
fun Mappings.asSimpleRemapper(from: String, to: String): SimpleRemapper

Returns an asm SimpleRemapper for remapping references between namespaces from and to disregarding inheritance and lambdas. For proper remapping, you should use the MappingsRemapper.

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+

Converts these Mappings to SRGMappings, enabling XSRG when extended is true.

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+

Converts these Mappings to TinyMappings, enabling Tiny v2 when v2 is true.

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+

Converts these Mappings to TSRGMappings, enabling TSRG v2 when v2 is true.

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+

Removes all duplicate namespace usages in this Mappings.

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+

Transforms this Mappings structure to a generic mappings implementation that maps between from and to.

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
inline fun Mappings.filterClasses(predicate: (MappedClass) -> Boolean): Mappings

Filters classes matching the predicate

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
inline fun Mappings.filterMethods(predicate: (owner: MappedClass, method: MappedMethod) -> Boolean): Mappings

Filters methods matching the predicate

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
fun Mappings.filterNamespaces(vararg allowed: String, allowDuplicates: Boolean = false): Mappings
fun Mappings.filterNamespaces(allowed: Set<String>, allowDuplicates: Boolean = false): Mappings

Filters these Mappings to only contain namespaces that are in allowed. If allowDuplicates is true, the returned Mappings will also have duplicate namespaces removed.

inline fun Mappings.filterNamespaces(allowDuplicates: Boolean = false, predicate: (String) -> Boolean): Mappings

Filters these Mappings to only contain namespaces for which the predicate returns true. If allowDuplicates is true, the returned Mappings will also have duplicate namespaces removed.

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
fun Mappings.join(otherMappings: Mappings, intermediateNamespace: String, requireMatch: Boolean = false): Mappings

Joins together this Mappings with otherMappings, by matching on intermediateNamespace, producing new Mappings that contain all entries from this Mappings and otherMappings. If requireMatch is true, this method will throw an exception when no method or field or class is found

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+

Maps classes according to the given block

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
inline fun Mappings.mapMethods(block: (owner: MappedClass, method: MappedMethod) -> MappedMethod): Mappings

Maps methods according to the given block

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+

Returns the index of a namespace named name, but throws an IllegalStateException when name is not in the Mappings.namespaces.

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+

See recoverFieldDescriptors. file is a jar file resource (caller is responsible for closing it) that contains the classes that are referenced in the generic overload.

fun Mappings.recoverFieldDescriptors(bytesProvider: (name: String) -> ByteArray?): Mappings

Attempts to recover field descriptors that are missing because the original mappings format did not specify them. bytesProvider is responsible for providing all of the classes that might be referenced in this Mappings object, such that the descriptors can be recovered based on named (fields can be uniquely identified by an owner-name pair). When field descriptors were not found, field mappings will not be passed onto the new Mappings as field mappings without descriptors will be considered invalid.

@JvmName(name = "recoverDescsByNode")
fun Mappings.recoverFieldDescriptors(nodeProvider: (name: String) -> ClassNode?): Mappings

Attempts to recover field descriptors that are missing because the original mappings format did not specify them. nodeProvider is responsible for providing all of the ClassNodes that might be referenced in this Mappings object, such that the descriptors can be recovered based on named (fields can be uniquely identified by an owner-name pair). When field descriptors were not found, field mappings will not be passed onto the new Mappings as field mappings without descriptors will be considered invalid.

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+

Returns new Mappings that are identical to these Mappings, except the comments will be removed

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
fun Mappings.removeRedundancy(inheritanceProvider: InheritanceProvider, removeDuplicateMethods: Boolean = false): Mappings

Removes redundant or straight up incorrect data from this Mappings object, by looking at the inheritance information present in class files, presented by the inheritanceProvider.

fun Mappings.removeRedundancy(file: JarFile, removeDuplicateMethods: Boolean = false): Mappings

See removeRedundancy. file is a jar file resource (caller is responsible for closing it) that contains the classes that are referenced in the generic overload. Calls with identical names are being cached by this function, the caller is not responsible for this.

fun Mappings.removeRedundancy(removeDuplicateMethods: Boolean = false, loader: ClasspathLoader): Mappings

Removes redundant or straight up incorrect data from this Mappings object, by looking at the inheritance information present in class files, presented by the loader.

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+

Swaps out the names for the namespaces in this Mappings data structure.

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+

Swaps out the names for the namespaces in this Mappings data structure, by reordering. Duplicate names are allowed, in which case mapped entries are duplicated to fit the new order. If a name in Mappings.namespaces does not appear in order, its mapping entries will be missing in the returned Mappings.

Swaps out the names for the namespaces in this Mappings data structure, by reordering. Duplicate names are allowed, in which case mapped entries are duplicated to fit the new order. If a name in Mappings.namespaces does not appear in order, its mapping entries will be missing in the returned Mappings. If a namespace in order does not exist in this Mappings, an IllegalArgumentException will be thrown.

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+

Writes ProguardMappings to a mappings file represented by a list of strings

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+ +
+
+
+
+
+
+
+
+
+ +
+
+
+ + diff --git a/docs/com.grappenmaker.mappings/-proguard-mappings/namespaces.html b/docs/com.grappenmaker.mappings/-proguard-mappings/namespaces.html new file mode 100644 index 0000000..b5b0a9a --- /dev/null +++ b/docs/com.grappenmaker.mappings/-proguard-mappings/namespaces.html @@ -0,0 +1,80 @@ + + + + + namespaces + + + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

namespaces

+
+
open override val namespaces: List<String>
+
+ +
+
+
+ + diff --git a/docs/com.grappenmaker.mappings/-recaf-mappings-format/index.html b/docs/com.grappenmaker.mappings/-recaf-mappings-format/index.html new file mode 100644 index 0000000..d51384d --- /dev/null +++ b/docs/com.grappenmaker.mappings/-recaf-mappings-format/index.html @@ -0,0 +1,164 @@ + + + + + RecafMappingsFormat + + + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

RecafMappingsFormat

+

Represents the Recaf mappings format

+
+
+
+
+
+

Functions

+
+
+
+
+ + +
Link copied to clipboard
+
+
+
+
open override fun detect(lines: List<String>): Boolean

Returns whether this MappingsFormat thinks the lines represent a valid input for the mappings parser

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
open fun parse(lines: List<String>): RecafMappings

Parses lines (representing a mappings file) into a mappings data structure. Throws an IllegalStateException when lines is not a valid input for this mappings format. To check if lines can be parsed, you could invoke detect.

open override fun parse(lines: Iterator<String>): RecafMappings

Parses lines (an iterator of lines in a mappings file) into a mappings data structure. Throws an IllegalStateException when lines is not a valid input for this mappings format.

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+

Parses lines (a Sequence of lines in a mappings file) into a mappings data structure. Throws an IllegalStateException when lines is not a valid input for this mappings format.

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
open fun write(mappings: RecafMappings): List<String>

Writes mappings compatible with this MappingsFormat back to a list of lines representing a mappings file

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
open override fun writeLazy(mappings: RecafMappings): Sequence<String>

Writes mappings compatible with this MappingsFormat to a lazily evaluated Sequence

+
+
+
+
+
+
+
+
+
+ +
+
+
+ + diff --git a/docs/com.grappenmaker.mappings/-recaf-mappings-format/parse.html b/docs/com.grappenmaker.mappings/-recaf-mappings-format/parse.html new file mode 100644 index 0000000..400506d --- /dev/null +++ b/docs/com.grappenmaker.mappings/-recaf-mappings-format/parse.html @@ -0,0 +1,80 @@ + + + + + parse + + + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

parse

+
+
open override fun parse(lines: Iterator<String>): RecafMappings

Parses lines (an iterator of lines in a mappings file) into a mappings data structure. Throws an IllegalStateException when lines is not a valid input for this mappings format.

+
+ +
+
+
+ + diff --git a/docs/com.grappenmaker.mappings/-recaf-mappings-format/write-lazy.html b/docs/com.grappenmaker.mappings/-recaf-mappings-format/write-lazy.html new file mode 100644 index 0000000..e88cb3c --- /dev/null +++ b/docs/com.grappenmaker.mappings/-recaf-mappings-format/write-lazy.html @@ -0,0 +1,80 @@ + + + + + writeLazy + + + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

writeLazy

+
+
open override fun writeLazy(mappings: RecafMappings): Sequence<String>

Writes mappings compatible with this MappingsFormat to a lazily evaluated Sequence

+
+ +
+
+
+ + diff --git a/docs/com.grappenmaker.mappings/-recaf-mappings/-recaf-mappings.html b/docs/com.grappenmaker.mappings/-recaf-mappings/-recaf-mappings.html new file mode 100644 index 0000000..d8d0f97 --- /dev/null +++ b/docs/com.grappenmaker.mappings/-recaf-mappings/-recaf-mappings.html @@ -0,0 +1,80 @@ + + + + + RecafMappings + + + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

RecafMappings

+
+
constructor(classes: List<MappedClass>)
+
+ +
+
+
+ + diff --git a/docs/com.grappenmaker.mappings/-recaf-mappings/classes.html b/docs/com.grappenmaker.mappings/-recaf-mappings/classes.html new file mode 100644 index 0000000..41bf72e --- /dev/null +++ b/docs/com.grappenmaker.mappings/-recaf-mappings/classes.html @@ -0,0 +1,80 @@ + + + + + classes + + + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

classes

+
+
open override val classes: List<MappedClass>
+
+ +
+
+
+ + diff --git a/docs/com.grappenmaker.mappings/-recaf-mappings/index.html b/docs/com.grappenmaker.mappings/-recaf-mappings/index.html new file mode 100644 index 0000000..a4ea138 --- /dev/null +++ b/docs/com.grappenmaker.mappings/-recaf-mappings/index.html @@ -0,0 +1,547 @@ + + + + + RecafMappings + + + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

RecafMappings

+
data class RecafMappings(val classes: List<MappedClass>) : Mappings

Represents a Recaf Mappings file

+
+
+
+
+
+

Constructors

+
+
+
+
+ + +
Link copied to clipboard
+
+
+
+
constructor(classes: List<MappedClass>)
+
+
+
+
+
+
+
+

Properties

+
+
+
+
+ + +
Link copied to clipboard
+
+
+
+
open override val classes: List<MappedClass>

All mapped classes in this mappings file (in order, not important)

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
open override val namespaces: List<String>

All namespaces (in order) that this mappings file supports/contains

+
+
+
+
+
+
+
+

Functions

+
+
+
+
+ + +
Link copied to clipboard
+
+
+
+
fun Mappings.asASMMapping(from: String, to: String, includeMethods: Boolean = true, includeFields: Boolean = true): Map<String, String>

Returns a simple mapping representing all of the Mappings, mapping between the namespaces from and to. If includeMethods is true, then methods will be included in the mapping. If includeFields is true, then fields will be included in the mapping.

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+ +
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+ +
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+ +
+
+ +
+
+
+ + +
Link copied to clipboard
+
+ +
+
+ +
+
+
+ + +
Link copied to clipboard
+
+ +
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+ +
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
fun Mappings.asSimpleRemapper(from: String, to: String): SimpleRemapper

Returns an asm SimpleRemapper for remapping references between namespaces from and to disregarding inheritance and lambdas. For proper remapping, you should use the MappingsRemapper.

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+

Converts these Mappings to SRGMappings, enabling XSRG when extended is true.

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+

Converts these Mappings to TinyMappings, enabling Tiny v2 when v2 is true.

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+

Converts these Mappings to TSRGMappings, enabling TSRG v2 when v2 is true.

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+

Removes all duplicate namespace usages in this Mappings.

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+

Transforms this Mappings structure to a generic mappings implementation that maps between from and to.

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
inline fun Mappings.filterClasses(predicate: (MappedClass) -> Boolean): Mappings

Filters classes matching the predicate

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
inline fun Mappings.filterMethods(predicate: (owner: MappedClass, method: MappedMethod) -> Boolean): Mappings

Filters methods matching the predicate

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
fun Mappings.filterNamespaces(vararg allowed: String, allowDuplicates: Boolean = false): Mappings
fun Mappings.filterNamespaces(allowed: Set<String>, allowDuplicates: Boolean = false): Mappings

Filters these Mappings to only contain namespaces that are in allowed. If allowDuplicates is true, the returned Mappings will also have duplicate namespaces removed.

inline fun Mappings.filterNamespaces(allowDuplicates: Boolean = false, predicate: (String) -> Boolean): Mappings

Filters these Mappings to only contain namespaces for which the predicate returns true. If allowDuplicates is true, the returned Mappings will also have duplicate namespaces removed.

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
fun Mappings.join(otherMappings: Mappings, intermediateNamespace: String, requireMatch: Boolean = false): Mappings

Joins together this Mappings with otherMappings, by matching on intermediateNamespace, producing new Mappings that contain all entries from this Mappings and otherMappings. If requireMatch is true, this method will throw an exception when no method or field or class is found

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+

Maps classes according to the given block

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
inline fun Mappings.mapMethods(block: (owner: MappedClass, method: MappedMethod) -> MappedMethod): Mappings

Maps methods according to the given block

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+

Returns the index of a namespace named name, but throws an IllegalStateException when name is not in the Mappings.namespaces.

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+

See recoverFieldDescriptors. file is a jar file resource (caller is responsible for closing it) that contains the classes that are referenced in the generic overload.

fun Mappings.recoverFieldDescriptors(bytesProvider: (name: String) -> ByteArray?): Mappings

Attempts to recover field descriptors that are missing because the original mappings format did not specify them. bytesProvider is responsible for providing all of the classes that might be referenced in this Mappings object, such that the descriptors can be recovered based on named (fields can be uniquely identified by an owner-name pair). When field descriptors were not found, field mappings will not be passed onto the new Mappings as field mappings without descriptors will be considered invalid.

@JvmName(name = "recoverDescsByNode")
fun Mappings.recoverFieldDescriptors(nodeProvider: (name: String) -> ClassNode?): Mappings

Attempts to recover field descriptors that are missing because the original mappings format did not specify them. nodeProvider is responsible for providing all of the ClassNodes that might be referenced in this Mappings object, such that the descriptors can be recovered based on named (fields can be uniquely identified by an owner-name pair). When field descriptors were not found, field mappings will not be passed onto the new Mappings as field mappings without descriptors will be considered invalid.

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+

Returns new Mappings that are identical to these Mappings, except the comments will be removed

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
fun Mappings.removeRedundancy(inheritanceProvider: InheritanceProvider, removeDuplicateMethods: Boolean = false): Mappings

Removes redundant or straight up incorrect data from this Mappings object, by looking at the inheritance information present in class files, presented by the inheritanceProvider.

fun Mappings.removeRedundancy(file: JarFile, removeDuplicateMethods: Boolean = false): Mappings

See removeRedundancy. file is a jar file resource (caller is responsible for closing it) that contains the classes that are referenced in the generic overload. Calls with identical names are being cached by this function, the caller is not responsible for this.

fun Mappings.removeRedundancy(removeDuplicateMethods: Boolean = false, loader: ClasspathLoader): Mappings

Removes redundant or straight up incorrect data from this Mappings object, by looking at the inheritance information present in class files, presented by the loader.

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+

Swaps out the names for the namespaces in this Mappings data structure.

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+

Swaps out the names for the namespaces in this Mappings data structure, by reordering. Duplicate names are allowed, in which case mapped entries are duplicated to fit the new order. If a name in Mappings.namespaces does not appear in order, its mapping entries will be missing in the returned Mappings.

Swaps out the names for the namespaces in this Mappings data structure, by reordering. Duplicate names are allowed, in which case mapped entries are duplicated to fit the new order. If a name in Mappings.namespaces does not appear in order, its mapping entries will be missing in the returned Mappings. If a namespace in order does not exist in this Mappings, an IllegalArgumentException will be thrown.

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+

Writes RecafMappings to a mappings file represented by a list of strings

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+

Writes RecafMappings as a lazily evaluated Sequence

+
+
+
+
+
+
+
+
+
+ +
+
+
+ + diff --git a/docs/com.grappenmaker.mappings/-recaf-mappings/namespaces.html b/docs/com.grappenmaker.mappings/-recaf-mappings/namespaces.html new file mode 100644 index 0000000..f8ac3b7 --- /dev/null +++ b/docs/com.grappenmaker.mappings/-recaf-mappings/namespaces.html @@ -0,0 +1,80 @@ + + + + + namespaces + + + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

namespaces

+
+
open override val namespaces: List<String>
+
+ +
+
+
+ + diff --git a/docs/com.grappenmaker.mappings/-s-r-g-mappings-format/index.html b/docs/com.grappenmaker.mappings/-s-r-g-mappings-format/index.html new file mode 100644 index 0000000..33d0284 --- /dev/null +++ b/docs/com.grappenmaker.mappings/-s-r-g-mappings-format/index.html @@ -0,0 +1,164 @@ + + + + + SRGMappingsFormat + + + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

SRGMappingsFormat

+

Represents the SRG mappings format

+
+
+
+
+
+

Functions

+
+
+
+
+ + +
Link copied to clipboard
+
+
+
+
open override fun detect(lines: List<String>): Boolean

Returns whether this MappingsFormat thinks the lines represent a valid input for the mappings parser

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
open override fun parse(lines: Iterator<String>): SRGMappings

Parses lines (an iterator of lines in a mappings file) into a mappings data structure. Throws an IllegalStateException when lines is not a valid input for this mappings format.

open override fun parse(lines: List<String>): SRGMappings

Parses lines (representing a mappings file) into a mappings data structure. Throws an IllegalStateException when lines is not a valid input for this mappings format. To check if lines can be parsed, you could invoke detect.

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+

Parses lines (a Sequence of lines in a mappings file) into a mappings data structure. Throws an IllegalStateException when lines is not a valid input for this mappings format.

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
open override fun write(mappings: SRGMappings): List<String>

Writes mappings compatible with this MappingsFormat back to a list of lines representing a mappings file

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
open override fun writeLazy(mappings: SRGMappings): Sequence<String>

Writes mappings compatible with this MappingsFormat to a lazily evaluated Sequence

+
+
+
+
+
+
+
+
+
+ +
+
+
+ + diff --git a/docs/com.grappenmaker.mappings/-s-r-g-mappings/-s-r-g-mappings.html b/docs/com.grappenmaker.mappings/-s-r-g-mappings/-s-r-g-mappings.html new file mode 100644 index 0000000..bdad5fc --- /dev/null +++ b/docs/com.grappenmaker.mappings/-s-r-g-mappings/-s-r-g-mappings.html @@ -0,0 +1,80 @@ + + + + + SRGMappings + + + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

SRGMappings

+
+
constructor(classes: List<MappedClass>, isExtended: Boolean)
+
+ +
+
+
+ + diff --git a/docs/com.grappenmaker.mappings/-s-r-g-mappings/classes.html b/docs/com.grappenmaker.mappings/-s-r-g-mappings/classes.html new file mode 100644 index 0000000..2bfe270 --- /dev/null +++ b/docs/com.grappenmaker.mappings/-s-r-g-mappings/classes.html @@ -0,0 +1,80 @@ + + + + + classes + + + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

classes

+
+
open override val classes: List<MappedClass>
+
+ +
+
+
+ + diff --git a/docs/com.grappenmaker.mappings/-s-r-g-mappings/index.html b/docs/com.grappenmaker.mappings/-s-r-g-mappings/index.html new file mode 100644 index 0000000..746b7a1 --- /dev/null +++ b/docs/com.grappenmaker.mappings/-s-r-g-mappings/index.html @@ -0,0 +1,562 @@ + + + + + SRGMappings + + + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

SRGMappings

+
data class SRGMappings(val classes: List<MappedClass>, val isExtended: Boolean) : Mappings

Represent any type of SRG mappings, whether this data structure represents XSRG or regular SRG is governed by isExtended.

+
+
+
+
+
+

Constructors

+
+
+
+
+ + +
Link copied to clipboard
+
+
+
+
constructor(classes: List<MappedClass>, isExtended: Boolean)
+
+
+
+
+
+
+
+

Properties

+
+
+
+
+ + +
Link copied to clipboard
+
+
+
+
open override val classes: List<MappedClass>

All mapped classes in this mappings file (in order, not important)

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+

whether this is an extended SRG mappings file (XSRG)

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
open override val namespaces: List<String>

All namespaces (in order) that this mappings file supports/contains

+
+
+
+
+
+
+
+

Functions

+
+
+
+
+ + +
Link copied to clipboard
+
+
+
+
fun Mappings.asASMMapping(from: String, to: String, includeMethods: Boolean = true, includeFields: Boolean = true): Map<String, String>

Returns a simple mapping representing all of the Mappings, mapping between the namespaces from and to. If includeMethods is true, then methods will be included in the mapping. If includeFields is true, then fields will be included in the mapping.

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+ +
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+ +
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+ +
+
+ +
+
+
+ + +
Link copied to clipboard
+
+ +
+
+ +
+
+
+ + +
Link copied to clipboard
+
+ +
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+ +
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
fun SRGMappings.asSimpleRemapper(): SimpleRemapper

Shorthand for converting SRGMappings to a SimpleRemapper.

fun Mappings.asSimpleRemapper(from: String, to: String): SimpleRemapper

Returns an asm SimpleRemapper for remapping references between namespaces from and to disregarding inheritance and lambdas. For proper remapping, you should use the MappingsRemapper.

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+

Converts these Mappings to SRGMappings, enabling XSRG when extended is true.

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+

Converts these Mappings to TinyMappings, enabling Tiny v2 when v2 is true.

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+

Converts these Mappings to TSRGMappings, enabling TSRG v2 when v2 is true.

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+

Removes all duplicate namespace usages in this Mappings.

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+

Transforms this Mappings structure to a generic mappings implementation that maps between from and to.

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
inline fun Mappings.filterClasses(predicate: (MappedClass) -> Boolean): Mappings

Filters classes matching the predicate

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
inline fun Mappings.filterMethods(predicate: (owner: MappedClass, method: MappedMethod) -> Boolean): Mappings

Filters methods matching the predicate

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
fun Mappings.filterNamespaces(vararg allowed: String, allowDuplicates: Boolean = false): Mappings
fun Mappings.filterNamespaces(allowed: Set<String>, allowDuplicates: Boolean = false): Mappings

Filters these Mappings to only contain namespaces that are in allowed. If allowDuplicates is true, the returned Mappings will also have duplicate namespaces removed.

inline fun Mappings.filterNamespaces(allowDuplicates: Boolean = false, predicate: (String) -> Boolean): Mappings

Filters these Mappings to only contain namespaces for which the predicate returns true. If allowDuplicates is true, the returned Mappings will also have duplicate namespaces removed.

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
fun Mappings.join(otherMappings: Mappings, intermediateNamespace: String, requireMatch: Boolean = false): Mappings

Joins together this Mappings with otherMappings, by matching on intermediateNamespace, producing new Mappings that contain all entries from this Mappings and otherMappings. If requireMatch is true, this method will throw an exception when no method or field or class is found

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+

Maps classes according to the given block

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
inline fun Mappings.mapMethods(block: (owner: MappedClass, method: MappedMethod) -> MappedMethod): Mappings

Maps methods according to the given block

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+

Returns the index of a namespace named name, but throws an IllegalStateException when name is not in the Mappings.namespaces.

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+

See recoverFieldDescriptors. file is a jar file resource (caller is responsible for closing it) that contains the classes that are referenced in the generic overload.

fun Mappings.recoverFieldDescriptors(bytesProvider: (name: String) -> ByteArray?): Mappings

Attempts to recover field descriptors that are missing because the original mappings format did not specify them. bytesProvider is responsible for providing all of the classes that might be referenced in this Mappings object, such that the descriptors can be recovered based on named (fields can be uniquely identified by an owner-name pair). When field descriptors were not found, field mappings will not be passed onto the new Mappings as field mappings without descriptors will be considered invalid.

@JvmName(name = "recoverDescsByNode")
fun Mappings.recoverFieldDescriptors(nodeProvider: (name: String) -> ClassNode?): Mappings

Attempts to recover field descriptors that are missing because the original mappings format did not specify them. nodeProvider is responsible for providing all of the ClassNodes that might be referenced in this Mappings object, such that the descriptors can be recovered based on named (fields can be uniquely identified by an owner-name pair). When field descriptors were not found, field mappings will not be passed onto the new Mappings as field mappings without descriptors will be considered invalid.

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+

Returns new Mappings that are identical to these Mappings, except the comments will be removed

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
fun Mappings.removeRedundancy(inheritanceProvider: InheritanceProvider, removeDuplicateMethods: Boolean = false): Mappings

Removes redundant or straight up incorrect data from this Mappings object, by looking at the inheritance information present in class files, presented by the inheritanceProvider.

fun Mappings.removeRedundancy(file: JarFile, removeDuplicateMethods: Boolean = false): Mappings

See removeRedundancy. file is a jar file resource (caller is responsible for closing it) that contains the classes that are referenced in the generic overload. Calls with identical names are being cached by this function, the caller is not responsible for this.

fun Mappings.removeRedundancy(removeDuplicateMethods: Boolean = false, loader: ClasspathLoader): Mappings

Removes redundant or straight up incorrect data from this Mappings object, by looking at the inheritance information present in class files, presented by the loader.

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+

Swaps out the names for the namespaces in this Mappings data structure.

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+

Swaps out the names for the namespaces in this Mappings data structure, by reordering. Duplicate names are allowed, in which case mapped entries are duplicated to fit the new order. If a name in Mappings.namespaces does not appear in order, its mapping entries will be missing in the returned Mappings.

Swaps out the names for the namespaces in this Mappings data structure, by reordering. Duplicate names are allowed, in which case mapped entries are duplicated to fit the new order. If a name in Mappings.namespaces does not appear in order, its mapping entries will be missing in the returned Mappings. If a namespace in order does not exist in this Mappings, an IllegalArgumentException will be thrown.

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+

Writes SRGMappings to a mappings file represented by a list of strings

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+

Writes SRGMappings as a lazily evaluated Sequence

+
+
+
+
+
+
+
+
+
+ +
+
+
+ + diff --git a/docs/com.grappenmaker.mappings/-s-r-g-mappings/is-extended.html b/docs/com.grappenmaker.mappings/-s-r-g-mappings/is-extended.html new file mode 100644 index 0000000..fc7cfac --- /dev/null +++ b/docs/com.grappenmaker.mappings/-s-r-g-mappings/is-extended.html @@ -0,0 +1,80 @@ + + + + + isExtended + + + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

isExtended

+
+ +
+ +
+
+
+ + diff --git a/docs/com.grappenmaker.mappings/-s-r-g-mappings/namespaces.html b/docs/com.grappenmaker.mappings/-s-r-g-mappings/namespaces.html new file mode 100644 index 0000000..85382f8 --- /dev/null +++ b/docs/com.grappenmaker.mappings/-s-r-g-mappings/namespaces.html @@ -0,0 +1,80 @@ + + + + + namespaces + + + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

namespaces

+
+
open override val namespaces: List<String>
+
+ +
+
+
+ + diff --git a/docs/com.grappenmaker.mappings/-t-s-r-g-mappings/-t-s-r-g-mappings.html b/docs/com.grappenmaker.mappings/-t-s-r-g-mappings/-t-s-r-g-mappings.html new file mode 100644 index 0000000..33832ac --- /dev/null +++ b/docs/com.grappenmaker.mappings/-t-s-r-g-mappings/-t-s-r-g-mappings.html @@ -0,0 +1,80 @@ + + + + + TSRGMappings + + + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

TSRGMappings

+
+
constructor(namespaces: List<String>, classes: List<MappedClass>, isV2: Boolean)
+
+ +
+
+
+ + diff --git a/docs/com.grappenmaker.mappings/-t-s-r-g-mappings/classes.html b/docs/com.grappenmaker.mappings/-t-s-r-g-mappings/classes.html new file mode 100644 index 0000000..9e61664 --- /dev/null +++ b/docs/com.grappenmaker.mappings/-t-s-r-g-mappings/classes.html @@ -0,0 +1,80 @@ + + + + + classes + + + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

classes

+
+
open override val classes: List<MappedClass>
+
+ +
+
+
+ + diff --git a/docs/com.grappenmaker.mappings/-t-s-r-g-mappings/index.html b/docs/com.grappenmaker.mappings/-t-s-r-g-mappings/index.html new file mode 100644 index 0000000..dc6c89e --- /dev/null +++ b/docs/com.grappenmaker.mappings/-t-s-r-g-mappings/index.html @@ -0,0 +1,562 @@ + + + + + TSRGMappings + + + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

TSRGMappings

+
data class TSRGMappings(val namespaces: List<String>, val classes: List<MappedClass>, val isV2: Boolean) : Mappings

Represents either a TSRG v1 or a TSRG v2 mappings file, which does not have a definition anywhere. The serialization method of these mappings is governed by isV2

+
+
+
+
+
+

Constructors

+
+
+
+
+ + +
Link copied to clipboard
+
+
+
+
constructor(namespaces: List<String>, classes: List<MappedClass>, isV2: Boolean)
+
+
+
+
+
+
+
+

Properties

+
+
+
+
+ + +
Link copied to clipboard
+
+
+
+
open override val classes: List<MappedClass>

All mapped classes in this mappings file (in order, not important)

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+

whether this mappings file is TSRG version 2

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
open override val namespaces: List<String>

All namespaces (in order) that this mappings file supports/contains

+
+
+
+
+
+
+
+

Functions

+
+
+
+
+ + +
Link copied to clipboard
+
+
+
+
fun Mappings.asASMMapping(from: String, to: String, includeMethods: Boolean = true, includeFields: Boolean = true): Map<String, String>

Returns a simple mapping representing all of the Mappings, mapping between the namespaces from and to. If includeMethods is true, then methods will be included in the mapping. If includeFields is true, then fields will be included in the mapping.

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+ +
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+ +
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+ +
+
+ +
+
+
+ + +
Link copied to clipboard
+
+ +
+
+ +
+
+
+ + +
Link copied to clipboard
+
+ +
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+ +
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
fun Mappings.asSimpleRemapper(from: String, to: String): SimpleRemapper

Returns an asm SimpleRemapper for remapping references between namespaces from and to disregarding inheritance and lambdas. For proper remapping, you should use the MappingsRemapper.

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+

Converts these Mappings to SRGMappings, enabling XSRG when extended is true.

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+

Converts these Mappings to TinyMappings, enabling Tiny v2 when v2 is true.

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+

Converts these Mappings to TSRGMappings, enabling TSRG v2 when v2 is true.

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+

Removes all duplicate namespace usages in this Mappings.

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+

Transforms this Mappings structure to a generic mappings implementation that maps between from and to.

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
inline fun Mappings.filterClasses(predicate: (MappedClass) -> Boolean): Mappings

Filters classes matching the predicate

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
inline fun Mappings.filterMethods(predicate: (owner: MappedClass, method: MappedMethod) -> Boolean): Mappings

Filters methods matching the predicate

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
fun Mappings.filterNamespaces(vararg allowed: String, allowDuplicates: Boolean = false): Mappings
fun Mappings.filterNamespaces(allowed: Set<String>, allowDuplicates: Boolean = false): Mappings

Filters these Mappings to only contain namespaces that are in allowed. If allowDuplicates is true, the returned Mappings will also have duplicate namespaces removed.

inline fun Mappings.filterNamespaces(allowDuplicates: Boolean = false, predicate: (String) -> Boolean): Mappings

Filters these Mappings to only contain namespaces for which the predicate returns true. If allowDuplicates is true, the returned Mappings will also have duplicate namespaces removed.

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
fun Mappings.join(otherMappings: Mappings, intermediateNamespace: String, requireMatch: Boolean = false): Mappings

Joins together this Mappings with otherMappings, by matching on intermediateNamespace, producing new Mappings that contain all entries from this Mappings and otherMappings. If requireMatch is true, this method will throw an exception when no method or field or class is found

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+

Maps classes according to the given block

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
inline fun Mappings.mapMethods(block: (owner: MappedClass, method: MappedMethod) -> MappedMethod): Mappings

Maps methods according to the given block

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+

Returns the index of a namespace named name, but throws an IllegalStateException when name is not in the Mappings.namespaces.

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+

See recoverFieldDescriptors. file is a jar file resource (caller is responsible for closing it) that contains the classes that are referenced in the generic overload.

fun Mappings.recoverFieldDescriptors(bytesProvider: (name: String) -> ByteArray?): Mappings

Attempts to recover field descriptors that are missing because the original mappings format did not specify them. bytesProvider is responsible for providing all of the classes that might be referenced in this Mappings object, such that the descriptors can be recovered based on named (fields can be uniquely identified by an owner-name pair). When field descriptors were not found, field mappings will not be passed onto the new Mappings as field mappings without descriptors will be considered invalid.

@JvmName(name = "recoverDescsByNode")
fun Mappings.recoverFieldDescriptors(nodeProvider: (name: String) -> ClassNode?): Mappings

Attempts to recover field descriptors that are missing because the original mappings format did not specify them. nodeProvider is responsible for providing all of the ClassNodes that might be referenced in this Mappings object, such that the descriptors can be recovered based on named (fields can be uniquely identified by an owner-name pair). When field descriptors were not found, field mappings will not be passed onto the new Mappings as field mappings without descriptors will be considered invalid.

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+

Returns new Mappings that are identical to these Mappings, except the comments will be removed

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
fun Mappings.removeRedundancy(inheritanceProvider: InheritanceProvider, removeDuplicateMethods: Boolean = false): Mappings

Removes redundant or straight up incorrect data from this Mappings object, by looking at the inheritance information present in class files, presented by the inheritanceProvider.

fun Mappings.removeRedundancy(file: JarFile, removeDuplicateMethods: Boolean = false): Mappings

See removeRedundancy. file is a jar file resource (caller is responsible for closing it) that contains the classes that are referenced in the generic overload. Calls with identical names are being cached by this function, the caller is not responsible for this.

fun Mappings.removeRedundancy(removeDuplicateMethods: Boolean = false, loader: ClasspathLoader): Mappings

Removes redundant or straight up incorrect data from this Mappings object, by looking at the inheritance information present in class files, presented by the loader.

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+

Swaps out the names for the namespaces in this Mappings data structure.

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+

Swaps out the names for the namespaces in this Mappings data structure, by reordering. Duplicate names are allowed, in which case mapped entries are duplicated to fit the new order. If a name in Mappings.namespaces does not appear in order, its mapping entries will be missing in the returned Mappings.

Swaps out the names for the namespaces in this Mappings data structure, by reordering. Duplicate names are allowed, in which case mapped entries are duplicated to fit the new order. If a name in Mappings.namespaces does not appear in order, its mapping entries will be missing in the returned Mappings. If a namespace in order does not exist in this Mappings, an IllegalArgumentException will be thrown.

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+

Writes TSRGMappings to a mappings file represented by a list of strings

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+

Writes TSRGMappings as a lazily evaluated Sequence

+
+
+
+
+
+
+
+
+
+ +
+
+
+ + diff --git a/docs/com.grappenmaker.mappings/-t-s-r-g-mappings/is-v2.html b/docs/com.grappenmaker.mappings/-t-s-r-g-mappings/is-v2.html new file mode 100644 index 0000000..db47aa2 --- /dev/null +++ b/docs/com.grappenmaker.mappings/-t-s-r-g-mappings/is-v2.html @@ -0,0 +1,80 @@ + + + + + isV2 + + + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

isV2

+
+ +
+ +
+
+
+ + diff --git a/docs/com.grappenmaker.mappings/-t-s-r-g-mappings/namespaces.html b/docs/com.grappenmaker.mappings/-t-s-r-g-mappings/namespaces.html new file mode 100644 index 0000000..60b3122 --- /dev/null +++ b/docs/com.grappenmaker.mappings/-t-s-r-g-mappings/namespaces.html @@ -0,0 +1,80 @@ + + + + + namespaces + + + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

namespaces

+
+
open override val namespaces: List<String>
+
+ +
+
+
+ + diff --git a/docs/com.grappenmaker.mappings/-t-s-r-g-v1-mappings-format/index.html b/docs/com.grappenmaker.mappings/-t-s-r-g-v1-mappings-format/index.html new file mode 100644 index 0000000..62dceb2 --- /dev/null +++ b/docs/com.grappenmaker.mappings/-t-s-r-g-v1-mappings-format/index.html @@ -0,0 +1,164 @@ + + + + + TSRGV1MappingsFormat + + + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

TSRGV1MappingsFormat

+

Represents the TSRG v1 mappings format

+
+
+
+
+
+

Functions

+
+
+
+
+ + +
Link copied to clipboard
+
+
+
+
open override fun detect(lines: List<String>): Boolean

Returns whether this MappingsFormat thinks the lines represent a valid input for the mappings parser

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
open override fun parse(lines: Iterator<String>): TSRGMappings

Parses lines (an iterator of lines in a mappings file) into a mappings data structure. Throws an IllegalStateException when lines is not a valid input for this mappings format.

open override fun parse(lines: List<String>): TSRGMappings

Parses lines (representing a mappings file) into a mappings data structure. Throws an IllegalStateException when lines is not a valid input for this mappings format. To check if lines can be parsed, you could invoke detect.

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+

Parses lines (a Sequence of lines in a mappings file) into a mappings data structure. Throws an IllegalStateException when lines is not a valid input for this mappings format.

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
open override fun write(mappings: TSRGMappings): List<String>

Writes mappings compatible with this MappingsFormat back to a list of lines representing a mappings file

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
open override fun writeLazy(mappings: TSRGMappings): Sequence<String>

Writes mappings compatible with this MappingsFormat to a lazily evaluated Sequence

+
+
+
+
+
+
+
+
+
+ +
+
+
+ + diff --git a/docs/com.grappenmaker.mappings/-t-s-r-g-v2-mappings-format/index.html b/docs/com.grappenmaker.mappings/-t-s-r-g-v2-mappings-format/index.html new file mode 100644 index 0000000..59f2b03 --- /dev/null +++ b/docs/com.grappenmaker.mappings/-t-s-r-g-v2-mappings-format/index.html @@ -0,0 +1,164 @@ + + + + + TSRGV2MappingsFormat + + + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

TSRGV2MappingsFormat

+

Represents the TSRG v2 mappings format

+
+
+
+
+
+

Functions

+
+
+
+
+ + +
Link copied to clipboard
+
+
+
+
open override fun detect(lines: List<String>): Boolean

Returns whether this MappingsFormat thinks the lines represent a valid input for the mappings parser

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
open override fun parse(lines: Iterator<String>): TSRGMappings

Parses lines (an iterator of lines in a mappings file) into a mappings data structure. Throws an IllegalStateException when lines is not a valid input for this mappings format.

open override fun parse(lines: List<String>): TSRGMappings

Parses lines (representing a mappings file) into a mappings data structure. Throws an IllegalStateException when lines is not a valid input for this mappings format. To check if lines can be parsed, you could invoke detect.

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+

Parses lines (a Sequence of lines in a mappings file) into a mappings data structure. Throws an IllegalStateException when lines is not a valid input for this mappings format.

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
open override fun write(mappings: TSRGMappings): List<String>

Writes mappings compatible with this MappingsFormat back to a list of lines representing a mappings file

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
open override fun writeLazy(mappings: TSRGMappings): Sequence<String>

Writes mappings compatible with this MappingsFormat to a lazily evaluated Sequence

+
+
+
+
+
+
+
+
+
+ +
+
+
+ + diff --git a/docs/com.grappenmaker.mappings/-tiny-mappings-v1-format/detect.html b/docs/com.grappenmaker.mappings/-tiny-mappings-v1-format/detect.html new file mode 100644 index 0000000..2d92e2a --- /dev/null +++ b/docs/com.grappenmaker.mappings/-tiny-mappings-v1-format/detect.html @@ -0,0 +1,80 @@ + + + + + detect + + + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

detect

+
+
open override fun detect(lines: List<String>): Boolean

Returns whether this MappingsFormat thinks the lines represent a valid input for the mappings parser

+
+ +
+
+
+ + diff --git a/docs/com.grappenmaker.mappings/-tiny-mappings-v1-format/index.html b/docs/com.grappenmaker.mappings/-tiny-mappings-v1-format/index.html new file mode 100644 index 0000000..f6cf697 --- /dev/null +++ b/docs/com.grappenmaker.mappings/-tiny-mappings-v1-format/index.html @@ -0,0 +1,164 @@ + + + + + TinyMappingsV1Format + + + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

TinyMappingsV1Format

+

Represents the Tiny v1 mappings format

+
+
+
+
+
+

Functions

+
+
+
+
+ + +
Link copied to clipboard
+
+
+
+
open override fun detect(lines: List<String>): Boolean

Returns whether this MappingsFormat thinks the lines represent a valid input for the mappings parser

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
open fun parse(lines: List<String>): TinyMappings

Parses lines (representing a mappings file) into a mappings data structure. Throws an IllegalStateException when lines is not a valid input for this mappings format. To check if lines can be parsed, you could invoke detect.

open override fun parse(lines: Iterator<String>): TinyMappings

Parses lines (an iterator of lines in a mappings file) into a mappings data structure. Throws an IllegalStateException when lines is not a valid input for this mappings format.

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+

Parses lines (a Sequence of lines in a mappings file) into a mappings data structure. Throws an IllegalStateException when lines is not a valid input for this mappings format.

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
open fun write(mappings: TinyMappings): List<String>

Writes mappings compatible with this MappingsFormat back to a list of lines representing a mappings file

Writes some tiny mappings represented by a Context to a file

open fun write(mappings: TinyMappings, compact: Boolean): Sequence<String>

Writes tiny mappings represented by mappings to a file, using a compact format if compact is set.

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
open override fun writeLazy(mappings: TinyMappings): Sequence<String>

Writes mappings compatible with this MappingsFormat to a lazily evaluated Sequence

+
+
+
+
+
+
+
+
+
+ +
+
+
+ + diff --git a/docs/com.grappenmaker.mappings/-tiny-mappings-v1-format/parse.html b/docs/com.grappenmaker.mappings/-tiny-mappings-v1-format/parse.html new file mode 100644 index 0000000..d17c35b --- /dev/null +++ b/docs/com.grappenmaker.mappings/-tiny-mappings-v1-format/parse.html @@ -0,0 +1,80 @@ + + + + + parse + + + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

parse

+
+
open override fun parse(lines: Iterator<String>): TinyMappings

Parses lines (an iterator of lines in a mappings file) into a mappings data structure. Throws an IllegalStateException when lines is not a valid input for this mappings format.

+
+ +
+
+
+ + diff --git a/docs/com.grappenmaker.mappings/-tiny-mappings-v1-format/write.html b/docs/com.grappenmaker.mappings/-tiny-mappings-v1-format/write.html new file mode 100644 index 0000000..0403389 --- /dev/null +++ b/docs/com.grappenmaker.mappings/-tiny-mappings-v1-format/write.html @@ -0,0 +1,80 @@ + + + + + write + + + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

write

+
+

Writes some tiny mappings represented by a Context to a file

+
+ +
+
+
+ + diff --git a/docs/com.grappenmaker.mappings/-tiny-mappings-v2-format/detect.html b/docs/com.grappenmaker.mappings/-tiny-mappings-v2-format/detect.html new file mode 100644 index 0000000..5635b66 --- /dev/null +++ b/docs/com.grappenmaker.mappings/-tiny-mappings-v2-format/detect.html @@ -0,0 +1,80 @@ + + + + + detect + + + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

detect

+
+
open override fun detect(lines: List<String>): Boolean

Returns whether this MappingsFormat thinks the lines represent a valid input for the mappings parser

+
+ +
+
+
+ + diff --git a/docs/com.grappenmaker.mappings/-tiny-mappings-v2-format/index.html b/docs/com.grappenmaker.mappings/-tiny-mappings-v2-format/index.html new file mode 100644 index 0000000..9d19f48 --- /dev/null +++ b/docs/com.grappenmaker.mappings/-tiny-mappings-v2-format/index.html @@ -0,0 +1,164 @@ + + + + + TinyMappingsV2Format + + + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

TinyMappingsV2Format

+

Represents the Tiny v2 mappings format

+
+
+
+
+
+

Functions

+
+
+
+
+ + +
Link copied to clipboard
+
+
+
+
open override fun detect(lines: List<String>): Boolean

Returns whether this MappingsFormat thinks the lines represent a valid input for the mappings parser

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
open fun parse(lines: List<String>): TinyMappings

Parses lines (representing a mappings file) into a mappings data structure. Throws an IllegalStateException when lines is not a valid input for this mappings format. To check if lines can be parsed, you could invoke detect.

open override fun parse(lines: Iterator<String>): TinyMappings

Parses lines (an iterator of lines in a mappings file) into a mappings data structure. Throws an IllegalStateException when lines is not a valid input for this mappings format.

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+

Parses lines (a Sequence of lines in a mappings file) into a mappings data structure. Throws an IllegalStateException when lines is not a valid input for this mappings format.

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
open fun write(mappings: TinyMappings): List<String>

Writes mappings compatible with this MappingsFormat back to a list of lines representing a mappings file

Writes some tiny mappings represented by a Context to a file

open fun write(mappings: TinyMappings, compact: Boolean): Sequence<String>

Writes tiny mappings represented by mappings to a file, using a compact format if compact is set.

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
open override fun writeLazy(mappings: TinyMappings): Sequence<String>

Writes mappings compatible with this MappingsFormat to a lazily evaluated Sequence

+
+
+
+
+
+
+
+
+
+ +
+
+
+ + diff --git a/docs/com.grappenmaker.mappings/-tiny-mappings-v2-format/parse.html b/docs/com.grappenmaker.mappings/-tiny-mappings-v2-format/parse.html new file mode 100644 index 0000000..3aea88c --- /dev/null +++ b/docs/com.grappenmaker.mappings/-tiny-mappings-v2-format/parse.html @@ -0,0 +1,80 @@ + + + + + parse + + + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

parse

+
+
open override fun parse(lines: Iterator<String>): TinyMappings

Parses lines (an iterator of lines in a mappings file) into a mappings data structure. Throws an IllegalStateException when lines is not a valid input for this mappings format.

+
+ +
+
+
+ + diff --git a/docs/com.grappenmaker.mappings/-tiny-mappings-v2-format/write.html b/docs/com.grappenmaker.mappings/-tiny-mappings-v2-format/write.html new file mode 100644 index 0000000..4662107 --- /dev/null +++ b/docs/com.grappenmaker.mappings/-tiny-mappings-v2-format/write.html @@ -0,0 +1,80 @@ + + + + + write + + + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

write

+
+

Writes some tiny mappings represented by a Context to a file

+
+ +
+
+
+ + diff --git a/docs/com.grappenmaker.mappings/-tiny-mappings-writer/-context/-context.html b/docs/com.grappenmaker.mappings/-tiny-mappings-writer/-context/-context.html new file mode 100644 index 0000000..7a78e52 --- /dev/null +++ b/docs/com.grappenmaker.mappings/-tiny-mappings-writer/-context/-context.html @@ -0,0 +1,80 @@ + + + + + Context + + + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

Context

+
+
constructor(mappings: TinyMappings, compact: Boolean)
+
+ +
+
+
+ + diff --git a/docs/com.grappenmaker.mappings/-tiny-mappings-writer/-context/compact.html b/docs/com.grappenmaker.mappings/-tiny-mappings-writer/-context/compact.html new file mode 100644 index 0000000..42a7421 --- /dev/null +++ b/docs/com.grappenmaker.mappings/-tiny-mappings-writer/-context/compact.html @@ -0,0 +1,80 @@ + + + + + compact + + + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

compact

+
+ +
+ +
+
+
+ + diff --git a/docs/com.grappenmaker.mappings/-tiny-mappings-writer/-context/index.html b/docs/com.grappenmaker.mappings/-tiny-mappings-writer/-context/index.html new file mode 100644 index 0000000..07872c9 --- /dev/null +++ b/docs/com.grappenmaker.mappings/-tiny-mappings-writer/-context/index.html @@ -0,0 +1,157 @@ + + + + + Context + + + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

Context

+
data class Context(val mappings: TinyMappings, val compact: Boolean)

Context for writing TinyMappings, see write. If compact is set, a more compact format will be used, which is unsupported by mappings-io but supported by tiny-mappings-parser and this library.

+
+
+
+
+
+

Constructors

+
+
+
+
+ + +
Link copied to clipboard
+
+
+
+
constructor(mappings: TinyMappings, compact: Boolean)
+
+
+
+
+
+
+
+

Properties

+
+
+
+
+ + +
Link copied to clipboard
+
+
+
+

whether a compact format will be used

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+

the mappings that will be written by this Context

+
+
+
+
+
+
+
+

Functions

+
+
+
+
+ + +
Link copied to clipboard
+
+
+
+

Writes some tiny mappings represented by a Context to a file

+
+
+
+
+
+
+
+
+
+ +
+
+
+ + diff --git a/docs/com.grappenmaker.mappings/-tiny-mappings-writer/-context/mappings.html b/docs/com.grappenmaker.mappings/-tiny-mappings-writer/-context/mappings.html new file mode 100644 index 0000000..dd49724 --- /dev/null +++ b/docs/com.grappenmaker.mappings/-tiny-mappings-writer/-context/mappings.html @@ -0,0 +1,80 @@ + + + + + mappings + + + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

mappings

+
+ +
+ +
+
+
+ + diff --git a/docs/com.grappenmaker.mappings/-tiny-mappings-writer/index.html b/docs/com.grappenmaker.mappings/-tiny-mappings-writer/index.html new file mode 100644 index 0000000..f7cfc72 --- /dev/null +++ b/docs/com.grappenmaker.mappings/-tiny-mappings-writer/index.html @@ -0,0 +1,183 @@ + + + + + TinyMappingsWriter + + + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

TinyMappingsWriter

+

Convenience interface for parameterizing writing tiny mappings

Inheritors

+
+
+
+
+
+

Types

+
+
+
+
+ + +
Link copied to clipboard
+
+
+
+
data class Context(val mappings: TinyMappings, val compact: Boolean)

Context for writing TinyMappings, see write. If compact is set, a more compact format will be used, which is unsupported by mappings-io but supported by tiny-mappings-parser and this library.

+
+
+
+
+
+
+
+

Functions

+
+
+
+
+ + +
Link copied to clipboard
+
+
+
+
abstract fun detect(lines: List<String>): Boolean

Returns whether this MappingsFormat thinks the lines represent a valid input for the mappings parser

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
abstract fun parse(lines: Iterator<String>): TinyMappings

Parses lines (an iterator of lines in a mappings file) into a mappings data structure. Throws an IllegalStateException when lines is not a valid input for this mappings format.

open fun parse(lines: List<String>): TinyMappings

Parses lines (representing a mappings file) into a mappings data structure. Throws an IllegalStateException when lines is not a valid input for this mappings format. To check if lines can be parsed, you could invoke detect.

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+

Parses lines (a Sequence of lines in a mappings file) into a mappings data structure. Throws an IllegalStateException when lines is not a valid input for this mappings format.

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
open fun write(mappings: TinyMappings): List<String>

Writes mappings compatible with this MappingsFormat back to a list of lines representing a mappings file

Writes some tiny mappings represented by a Context to a file

open fun write(mappings: TinyMappings, compact: Boolean): Sequence<String>

Writes tiny mappings represented by mappings to a file, using a compact format if compact is set.

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
open override fun writeLazy(mappings: TinyMappings): Sequence<String>

Writes mappings compatible with this MappingsFormat to a lazily evaluated Sequence

+
+
+
+
+
+
+
+
+
+ +
+
+
+ + diff --git a/docs/com.grappenmaker.mappings/-tiny-mappings-writer/write-lazy.html b/docs/com.grappenmaker.mappings/-tiny-mappings-writer/write-lazy.html new file mode 100644 index 0000000..0e377c8 --- /dev/null +++ b/docs/com.grappenmaker.mappings/-tiny-mappings-writer/write-lazy.html @@ -0,0 +1,80 @@ + + + + + writeLazy + + + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

writeLazy

+
+
open override fun writeLazy(mappings: TinyMappings): Sequence<String>

Writes mappings compatible with this MappingsFormat to a lazily evaluated Sequence

+
+ +
+
+
+ + diff --git a/docs/com.grappenmaker.mappings/-tiny-mappings-writer/write.html b/docs/com.grappenmaker.mappings/-tiny-mappings-writer/write.html new file mode 100644 index 0000000..99e0d99 --- /dev/null +++ b/docs/com.grappenmaker.mappings/-tiny-mappings-writer/write.html @@ -0,0 +1,80 @@ + + + + + write + + + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

write

+
+

Writes some tiny mappings represented by a Context to a file


open fun write(mappings: TinyMappings, compact: Boolean): Sequence<String>

Writes tiny mappings represented by mappings to a file, using a compact format if compact is set.

+
+ +
+
+
+ + diff --git a/docs/com.grappenmaker.mappings/-tiny-mappings/-tiny-mappings.html b/docs/com.grappenmaker.mappings/-tiny-mappings/-tiny-mappings.html new file mode 100644 index 0000000..09bedf6 --- /dev/null +++ b/docs/com.grappenmaker.mappings/-tiny-mappings/-tiny-mappings.html @@ -0,0 +1,80 @@ + + + + + TinyMappings + + + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

TinyMappings

+
+
constructor(namespaces: List<String>, classes: List<MappedClass>, isV2: Boolean)
+
+ +
+
+
+ + diff --git a/docs/com.grappenmaker.mappings/-tiny-mappings/classes.html b/docs/com.grappenmaker.mappings/-tiny-mappings/classes.html new file mode 100644 index 0000000..16b261a --- /dev/null +++ b/docs/com.grappenmaker.mappings/-tiny-mappings/classes.html @@ -0,0 +1,80 @@ + + + + + classes + + + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

classes

+
+
open override val classes: List<MappedClass>
+
+ +
+
+
+ + diff --git a/docs/com.grappenmaker.mappings/-tiny-mappings/index.html b/docs/com.grappenmaker.mappings/-tiny-mappings/index.html new file mode 100644 index 0000000..858ba9f --- /dev/null +++ b/docs/com.grappenmaker.mappings/-tiny-mappings/index.html @@ -0,0 +1,562 @@ + + + + + TinyMappings + + + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

TinyMappings

+
data class TinyMappings(val namespaces: List<String>, val classes: List<MappedClass>, val isV2: Boolean) : Mappings

Represents either a tiny v1 or a tiny v2 mappings file, which does not have a definition anywhere. The serialization method of these mappings is governed by isV2

+
+
+
+
+
+

Constructors

+
+
+
+
+ + +
Link copied to clipboard
+
+
+
+
constructor(namespaces: List<String>, classes: List<MappedClass>, isV2: Boolean)
+
+
+
+
+
+
+
+

Properties

+
+
+
+
+ + +
Link copied to clipboard
+
+
+
+
open override val classes: List<MappedClass>

All mapped classes in this mappings file (in order, not important)

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+

whether this mappings file is Tiny version 2.

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
open override val namespaces: List<String>

All namespaces (in order) that this mappings file supports/contains

+
+
+
+
+
+
+
+

Functions

+
+
+
+
+ + +
Link copied to clipboard
+
+
+
+
fun Mappings.asASMMapping(from: String, to: String, includeMethods: Boolean = true, includeFields: Boolean = true): Map<String, String>

Returns a simple mapping representing all of the Mappings, mapping between the namespaces from and to. If includeMethods is true, then methods will be included in the mapping. If includeFields is true, then fields will be included in the mapping.

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+ +
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+ +
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+ +
+
+ +
+
+
+ + +
Link copied to clipboard
+
+ +
+
+ +
+
+
+ + +
Link copied to clipboard
+
+ +
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+ +
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
fun Mappings.asSimpleRemapper(from: String, to: String): SimpleRemapper

Returns an asm SimpleRemapper for remapping references between namespaces from and to disregarding inheritance and lambdas. For proper remapping, you should use the MappingsRemapper.

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+

Converts these Mappings to SRGMappings, enabling XSRG when extended is true.

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+

Converts these Mappings to TinyMappings, enabling Tiny v2 when v2 is true.

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+

Converts these Mappings to TSRGMappings, enabling TSRG v2 when v2 is true.

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+

Removes all duplicate namespace usages in this Mappings.

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+

Transforms this Mappings structure to a generic mappings implementation that maps between from and to.

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
inline fun Mappings.filterClasses(predicate: (MappedClass) -> Boolean): Mappings

Filters classes matching the predicate

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
inline fun Mappings.filterMethods(predicate: (owner: MappedClass, method: MappedMethod) -> Boolean): Mappings

Filters methods matching the predicate

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
fun Mappings.filterNamespaces(vararg allowed: String, allowDuplicates: Boolean = false): Mappings
fun Mappings.filterNamespaces(allowed: Set<String>, allowDuplicates: Boolean = false): Mappings

Filters these Mappings to only contain namespaces that are in allowed. If allowDuplicates is true, the returned Mappings will also have duplicate namespaces removed.

inline fun Mappings.filterNamespaces(allowDuplicates: Boolean = false, predicate: (String) -> Boolean): Mappings

Filters these Mappings to only contain namespaces for which the predicate returns true. If allowDuplicates is true, the returned Mappings will also have duplicate namespaces removed.

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
fun Mappings.join(otherMappings: Mappings, intermediateNamespace: String, requireMatch: Boolean = false): Mappings

Joins together this Mappings with otherMappings, by matching on intermediateNamespace, producing new Mappings that contain all entries from this Mappings and otherMappings. If requireMatch is true, this method will throw an exception when no method or field or class is found

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+

Maps classes according to the given block

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
inline fun Mappings.mapMethods(block: (owner: MappedClass, method: MappedMethod) -> MappedMethod): Mappings

Maps methods according to the given block

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+

Returns the index of a namespace named name, but throws an IllegalStateException when name is not in the Mappings.namespaces.

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+

See recoverFieldDescriptors. file is a jar file resource (caller is responsible for closing it) that contains the classes that are referenced in the generic overload.

fun Mappings.recoverFieldDescriptors(bytesProvider: (name: String) -> ByteArray?): Mappings

Attempts to recover field descriptors that are missing because the original mappings format did not specify them. bytesProvider is responsible for providing all of the classes that might be referenced in this Mappings object, such that the descriptors can be recovered based on named (fields can be uniquely identified by an owner-name pair). When field descriptors were not found, field mappings will not be passed onto the new Mappings as field mappings without descriptors will be considered invalid.

@JvmName(name = "recoverDescsByNode")
fun Mappings.recoverFieldDescriptors(nodeProvider: (name: String) -> ClassNode?): Mappings

Attempts to recover field descriptors that are missing because the original mappings format did not specify them. nodeProvider is responsible for providing all of the ClassNodes that might be referenced in this Mappings object, such that the descriptors can be recovered based on named (fields can be uniquely identified by an owner-name pair). When field descriptors were not found, field mappings will not be passed onto the new Mappings as field mappings without descriptors will be considered invalid.

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+

Returns new Mappings that are identical to these Mappings, except the comments will be removed

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
fun Mappings.removeRedundancy(inheritanceProvider: InheritanceProvider, removeDuplicateMethods: Boolean = false): Mappings

Removes redundant or straight up incorrect data from this Mappings object, by looking at the inheritance information present in class files, presented by the inheritanceProvider.

fun Mappings.removeRedundancy(file: JarFile, removeDuplicateMethods: Boolean = false): Mappings

See removeRedundancy. file is a jar file resource (caller is responsible for closing it) that contains the classes that are referenced in the generic overload. Calls with identical names are being cached by this function, the caller is not responsible for this.

fun Mappings.removeRedundancy(removeDuplicateMethods: Boolean = false, loader: ClasspathLoader): Mappings

Removes redundant or straight up incorrect data from this Mappings object, by looking at the inheritance information present in class files, presented by the loader.

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+

Swaps out the names for the namespaces in this Mappings data structure.

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+

Swaps out the names for the namespaces in this Mappings data structure, by reordering. Duplicate names are allowed, in which case mapped entries are duplicated to fit the new order. If a name in Mappings.namespaces does not appear in order, its mapping entries will be missing in the returned Mappings.

Swaps out the names for the namespaces in this Mappings data structure, by reordering. Duplicate names are allowed, in which case mapped entries are duplicated to fit the new order. If a name in Mappings.namespaces does not appear in order, its mapping entries will be missing in the returned Mappings. If a namespace in order does not exist in this Mappings, an IllegalArgumentException will be thrown.

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
fun TinyMappings.write(compact: Boolean = isV2): List<String>

Writes TinyMappings to a mappings file represented by a list of strings. If compact is set, a more compact format of tiny mappings will be used, see TinyMappingsWriter.write.

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+

Writes TinyMappings as a lazily evaluated Sequence. If compact is set, a more compact format of tiny mappings will be used, see TinyMappingsWriter.write.

+
+
+
+
+
+
+
+
+
+ +
+
+
+ + diff --git a/docs/com.grappenmaker.mappings/-tiny-mappings/is-v2.html b/docs/com.grappenmaker.mappings/-tiny-mappings/is-v2.html new file mode 100644 index 0000000..3ce699e --- /dev/null +++ b/docs/com.grappenmaker.mappings/-tiny-mappings/is-v2.html @@ -0,0 +1,80 @@ + + + + + isV2 + + + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

isV2

+
+ +
+ +
+
+
+ + diff --git a/docs/com.grappenmaker.mappings/-tiny-mappings/namespaces.html b/docs/com.grappenmaker.mappings/-tiny-mappings/namespaces.html new file mode 100644 index 0000000..ca1bfd3 --- /dev/null +++ b/docs/com.grappenmaker.mappings/-tiny-mappings/namespaces.html @@ -0,0 +1,80 @@ + + + + + namespaces + + + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

namespaces

+
+
open override val namespaces: List<String>
+
+ +
+
+
+ + diff --git a/docs/com.grappenmaker.mappings/-x-s-r-g-mappings-format/index.html b/docs/com.grappenmaker.mappings/-x-s-r-g-mappings-format/index.html new file mode 100644 index 0000000..88c2e57 --- /dev/null +++ b/docs/com.grappenmaker.mappings/-x-s-r-g-mappings-format/index.html @@ -0,0 +1,164 @@ + + + + + XSRGMappingsFormat + + + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

XSRGMappingsFormat

+

Represents the XSRG mappings format

+
+
+
+
+
+

Functions

+
+
+
+
+ + +
Link copied to clipboard
+
+
+
+
open override fun detect(lines: List<String>): Boolean

Returns whether this MappingsFormat thinks the lines represent a valid input for the mappings parser

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
open override fun parse(lines: Iterator<String>): SRGMappings

Parses lines (an iterator of lines in a mappings file) into a mappings data structure. Throws an IllegalStateException when lines is not a valid input for this mappings format.

open override fun parse(lines: List<String>): SRGMappings

Parses lines (representing a mappings file) into a mappings data structure. Throws an IllegalStateException when lines is not a valid input for this mappings format. To check if lines can be parsed, you could invoke detect.

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+

Parses lines (a Sequence of lines in a mappings file) into a mappings data structure. Throws an IllegalStateException when lines is not a valid input for this mappings format.

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
open override fun write(mappings: SRGMappings): List<String>

Writes mappings compatible with this MappingsFormat back to a list of lines representing a mappings file

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
open override fun writeLazy(mappings: SRGMappings): Sequence<String>

Writes mappings compatible with this MappingsFormat to a lazily evaluated Sequence

+
+
+
+
+
+
+
+
+
+ +
+
+
+ + diff --git a/docs/com.grappenmaker.mappings/apply-widener.html b/docs/com.grappenmaker.mappings/apply-widener.html new file mode 100644 index 0000000..a9bebbb --- /dev/null +++ b/docs/com.grappenmaker.mappings/apply-widener.html @@ -0,0 +1,80 @@ + + + + + applyWidener + + + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

applyWidener

+
+
fun ClassNode.applyWidener(tree: AccessWidenerTree)

Applies an AccessWidenerTree to a given ClassNode

+
+ +
+
+
+ + diff --git a/docs/com.grappenmaker.mappings/as-a-s-m-mapping.html b/docs/com.grappenmaker.mappings/as-a-s-m-mapping.html new file mode 100644 index 0000000..79d6117 --- /dev/null +++ b/docs/com.grappenmaker.mappings/as-a-s-m-mapping.html @@ -0,0 +1,80 @@ + + + + + asASMMapping + + + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

asASMMapping

+
+
fun Mappings.asASMMapping(from: String, to: String, includeMethods: Boolean = true, includeFields: Boolean = true): Map<String, String>

Returns a simple mapping representing all of the Mappings, mapping between the namespaces from and to. If includeMethods is true, then methods will be included in the mapping. If includeFields is true, then fields will be included in the mapping.

+
+ +
+
+
+ + diff --git a/docs/com.grappenmaker.mappings/as-c-s-r-g-mappings.html b/docs/com.grappenmaker.mappings/as-c-s-r-g-mappings.html new file mode 100644 index 0000000..411b2a6 --- /dev/null +++ b/docs/com.grappenmaker.mappings/as-c-s-r-g-mappings.html @@ -0,0 +1,80 @@ + + + + + asCSRGMappings + + + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

asCSRGMappings

+
+ +
+ +
+
+
+ + diff --git a/docs/com.grappenmaker.mappings/as-compacted-mappings.html b/docs/com.grappenmaker.mappings/as-compacted-mappings.html new file mode 100644 index 0000000..734ae9d --- /dev/null +++ b/docs/com.grappenmaker.mappings/as-compacted-mappings.html @@ -0,0 +1,80 @@ + + + + + asCompactedMappings + + + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

asCompactedMappings

+
+

Converts these Mappings to CompactedMappings.

Samples

samples.Mappings.conversions
+
+ +
+
+
+ + diff --git a/docs/com.grappenmaker.mappings/as-enigma-mappings.html b/docs/com.grappenmaker.mappings/as-enigma-mappings.html new file mode 100644 index 0000000..aa4744d --- /dev/null +++ b/docs/com.grappenmaker.mappings/as-enigma-mappings.html @@ -0,0 +1,80 @@ + + + + + asEnigmaMappings + + + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

asEnigmaMappings

+
+ +
+ +
+
+
+ + diff --git a/docs/com.grappenmaker.mappings/as-generic-mappings.html b/docs/com.grappenmaker.mappings/as-generic-mappings.html new file mode 100644 index 0000000..ab32c64 --- /dev/null +++ b/docs/com.grappenmaker.mappings/as-generic-mappings.html @@ -0,0 +1,80 @@ + + + + + asGenericMappings + + + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

asGenericMappings

+
+ +
+ +
+
+
+ + diff --git a/docs/com.grappenmaker.mappings/as-inheritance-provider.html b/docs/com.grappenmaker.mappings/as-inheritance-provider.html new file mode 100644 index 0000000..b7a5ae0 --- /dev/null +++ b/docs/com.grappenmaker.mappings/as-inheritance-provider.html @@ -0,0 +1,80 @@ + + + + + asInheritanceProvider + + + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

asInheritanceProvider

+
+

Wraps this into a InheritanceProvider that uses this to extract inheritance information

+
+ +
+
+
+ + diff --git a/docs/com.grappenmaker.mappings/as-proguard-mappings.html b/docs/com.grappenmaker.mappings/as-proguard-mappings.html new file mode 100644 index 0000000..134238e --- /dev/null +++ b/docs/com.grappenmaker.mappings/as-proguard-mappings.html @@ -0,0 +1,80 @@ + + + + + asProguardMappings + + + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

asProguardMappings

+
+

Converts these Mappings to ProguardMappings.

Samples

samples.Mappings.conversions
+
+ +
+
+
+ + diff --git a/docs/com.grappenmaker.mappings/as-recaf-mappings.html b/docs/com.grappenmaker.mappings/as-recaf-mappings.html new file mode 100644 index 0000000..0d87263 --- /dev/null +++ b/docs/com.grappenmaker.mappings/as-recaf-mappings.html @@ -0,0 +1,80 @@ + + + + + asRecafMappings + + + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

asRecafMappings

+
+ +
+ +
+
+
+ + diff --git a/docs/com.grappenmaker.mappings/as-s-r-g-mappings.html b/docs/com.grappenmaker.mappings/as-s-r-g-mappings.html new file mode 100644 index 0000000..78da4e4 --- /dev/null +++ b/docs/com.grappenmaker.mappings/as-s-r-g-mappings.html @@ -0,0 +1,80 @@ + + + + + asSRGMappings + + + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

asSRGMappings

+
+

Converts these Mappings to SRGMappings, enabling XSRG when extended is true.

Samples

samples.Mappings.conversions
+
+ +
+
+
+ + diff --git a/docs/com.grappenmaker.mappings/as-simple-remapper.html b/docs/com.grappenmaker.mappings/as-simple-remapper.html new file mode 100644 index 0000000..e46fc54 --- /dev/null +++ b/docs/com.grappenmaker.mappings/as-simple-remapper.html @@ -0,0 +1,80 @@ + + + + + asSimpleRemapper + + + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

asSimpleRemapper

+
+
fun Mappings.asSimpleRemapper(from: String, to: String): SimpleRemapper

Returns an asm SimpleRemapper for remapping references between namespaces from and to disregarding inheritance and lambdas. For proper remapping, you should use the MappingsRemapper.


fun SRGMappings.asSimpleRemapper(): SimpleRemapper

Shorthand for converting SRGMappings to a SimpleRemapper.

See also

+
+ +
+
+
+ + diff --git a/docs/com.grappenmaker.mappings/as-t-s-r-g-mappings.html b/docs/com.grappenmaker.mappings/as-t-s-r-g-mappings.html new file mode 100644 index 0000000..19dbb9e --- /dev/null +++ b/docs/com.grappenmaker.mappings/as-t-s-r-g-mappings.html @@ -0,0 +1,80 @@ + + + + + asTSRGMappings + + + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

asTSRGMappings

+
+

Converts these Mappings to TSRGMappings, enabling TSRG v2 when v2 is true.

Samples

samples.Mappings.conversions
+
+ +
+
+
+ + diff --git a/docs/com.grappenmaker.mappings/as-tiny-mappings.html b/docs/com.grappenmaker.mappings/as-tiny-mappings.html new file mode 100644 index 0000000..a7f9718 --- /dev/null +++ b/docs/com.grappenmaker.mappings/as-tiny-mappings.html @@ -0,0 +1,80 @@ + + + + + asTinyMappings + + + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

asTinyMappings

+
+

Converts these Mappings to TinyMappings, enabling Tiny v2 when v2 is true.

Samples

samples.Mappings.conversions
+
+ +
+
+
+ + diff --git a/docs/com.grappenmaker.mappings/deduplicate-namespaces.html b/docs/com.grappenmaker.mappings/deduplicate-namespaces.html new file mode 100644 index 0000000..c6b5526 --- /dev/null +++ b/docs/com.grappenmaker.mappings/deduplicate-namespaces.html @@ -0,0 +1,80 @@ + + + + + deduplicateNamespaces + + + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

deduplicateNamespaces

+
+

Removes all duplicate namespace usages in this Mappings.

Samples

samples.Mappings.dedup
+
+ +
+
+
+ + diff --git a/docs/com.grappenmaker.mappings/extract-namespaces.html b/docs/com.grappenmaker.mappings/extract-namespaces.html new file mode 100644 index 0000000..c249053 --- /dev/null +++ b/docs/com.grappenmaker.mappings/extract-namespaces.html @@ -0,0 +1,80 @@ + + + + + extractNamespaces + + + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

extractNamespaces

+
+

Deprecated

This function is redundant

Replace with

import com.grappenmaker.mappings.reorderNamespaces
this.reorderNamespaces(from, to)

Transforms this Mappings structure to a generic mappings implementation that maps between from and to.

+
+ +
+
+
+ + diff --git a/docs/com.grappenmaker.mappings/filter-classes.html b/docs/com.grappenmaker.mappings/filter-classes.html new file mode 100644 index 0000000..10aa892 --- /dev/null +++ b/docs/com.grappenmaker.mappings/filter-classes.html @@ -0,0 +1,80 @@ + + + + + filterClasses + + + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

filterClasses

+
+
inline fun Mappings.filterClasses(predicate: (MappedClass) -> Boolean): Mappings

Filters classes matching the predicate

+
+ +
+
+
+ + diff --git a/docs/com.grappenmaker.mappings/filter-methods.html b/docs/com.grappenmaker.mappings/filter-methods.html new file mode 100644 index 0000000..6eada65 --- /dev/null +++ b/docs/com.grappenmaker.mappings/filter-methods.html @@ -0,0 +1,80 @@ + + + + + filterMethods + + + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

filterMethods

+
+
inline fun Mappings.filterMethods(predicate: (owner: MappedClass, method: MappedMethod) -> Boolean): Mappings

Filters methods matching the predicate

+
+ +
+
+
+ + diff --git a/docs/com.grappenmaker.mappings/filter-namespaces.html b/docs/com.grappenmaker.mappings/filter-namespaces.html new file mode 100644 index 0000000..466bd21 --- /dev/null +++ b/docs/com.grappenmaker.mappings/filter-namespaces.html @@ -0,0 +1,80 @@ + + + + + filterNamespaces + + + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

filterNamespaces

+
+
inline fun Mappings.filterNamespaces(allowDuplicates: Boolean = false, predicate: (String) -> Boolean): Mappings

Filters these Mappings to only contain namespaces for which the predicate returns true. If allowDuplicates is true, the returned Mappings will also have duplicate namespaces removed.

The functionality of this function differs slightly from that of Mappings.reorderNamespaces, in that this function acts as a filter, which means that order will be preserved as is present in this Mappings.

Samples

samples.Mappings.filter
fun Mappings.filterNamespaces(vararg allowed: String, allowDuplicates: Boolean = false): Mappings
fun Mappings.filterNamespaces(allowed: Set<String>, allowDuplicates: Boolean = false): Mappings

Filters these Mappings to only contain namespaces that are in allowed. If allowDuplicates is true, the returned Mappings will also have duplicate namespaces removed.

The functionality of this function differs slightly from that of Mappings.reorderNamespaces, in that this function acts as a filter, which means that order will be preserved as is present in this Mappings, and if some namespace in allowed does not exist, no error will be thrown.

Samples

samples.Mappings.filter
+
+ +
+
+
+ + diff --git a/docs/com.grappenmaker.mappings/index.html b/docs/com.grappenmaker.mappings/index.html new file mode 100644 index 0000000..8041177 --- /dev/null +++ b/docs/com.grappenmaker.mappings/index.html @@ -0,0 +1,1641 @@ + + + + + com.grappenmaker.mappings + + + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

Package-level declarations

+
+
+
+
+
+

Types

+
+
+
+
+ + +
Link copied to clipboard
+
+
+
+
data class AccessedClass(val mask: AccessMask, val methods: Map<MemberIdentifier, AccessMask>, val fields: Map<MemberIdentifier, AccessMask>)
+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
data class AccessedMember(val owner: String, val name: String, val desc: String)

Represents a field or method that is being widened

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
value class AccessMask(val value: Int) : Iterable<AccessType>

A bitmask representing a set of AccessTypes

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+

A type of access that can be "widened" on a class, field or method

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
data class AccessWidener(val version: Int, val namespace: String, val classes: Map<String, AccessMask>, val methods: Map<AccessedMember, AccessMask>, val fields: Map<AccessedMember, AccessMask>)

Represents an access widener file

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
data class AccessWidenerTree(val namespace: String, val classes: Map<String, AccessedClass>)

A tree-like structure that is easier to use when access widening one or more classes

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
class AccessWidenerVisitor(parent: ClassVisitor?, tree: AccessWidenerTree) : ClassVisitor

ClassVisitor that can handle access widening tasks

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
typealias ClasspathLoader = (name: String) -> ByteArray?

An alias for a function that returns class file buffers given an internal/JVMS class name

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+

Provides default implementations for the classpath loaders in MappingsRemapper

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
sealed interface Commented

Represents any entity that can have comments (commonly used in Tiny mappings)

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
data class CompactedMappings(val namespaces: List<String>, val classes: List<MappedClass>, val version: Int = 2) : Mappings

Represents a compacted mappings file. See CompactedMappingsFormat

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+

Represents the compacted mappings format. Note: this does not support the usual MappingsFormat capability, since this is the only mappings format that has a binary representation. Compacted mappings should be explicitly handled through this object

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
data class CSRGMappings(val classes: List<MappedClass>) : Mappings

Represents a CSRG Mappings file

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+

Represents the CSRG mappings format

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
data object EmptyMappings : Mappings

Represents an empty mappings object, with no data.

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
data class EnigmaMappings(val classes: List<MappedClass>) : Mappings

Represents either an enigma mappings file

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+

Represents the enigma mappings format

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
annotation class ExperimentalJarRemapper

Marker annotation that declares that the annotated type is experimental Jar Remapper API

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
data class GenericMappings(val namespaces: List<String>, val classes: List<MappedClass>) : Mappings

Represents a generic type of mapping that is not deserialized from anything, nor can be serialized to a mappings file. It does not carry format-specific metadata, and is used as an intermediate value for transforming mappings.

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+

Represents an entry point for tasks like remapping and transformations to gather inheritance information from the classpath. Its simple design allows implementations to fetch information from different kinds of resources, like the classpath (see LoaderInheritanceProvider).

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
fun interface JarClassVisitor

A functional interface that allows users of the JarRemapper to annotate or mutate class files with ASM during remapping

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+

Helper / DSL for creating an JarRemapper

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
annotation class JarRemapperDSL

Marker annotation that declares that a certain type is part of the jar remapper DSL

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
data class JarRemapTask(val input: Path, val output: Path, val fromNamespace: String, val toNamespace: String)

A data structure that specifies what the JarRemapper should do with a specific jar file

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
fun interface JarResourceVisitor

A functional interface that allows users of the JarRemapper to annotate or mutate resources in jar files that are not classes

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
open class LambdaAwareMethodRemapper(parent: MethodVisitor, remapper: Remapper) : MethodRemapper

A MethodRemapper that is aware of the remapping of Invoke Dynamic instructions for lambdas.

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
open class LambdaAwareRemapper(parent: ClassVisitor, remapper: Remapper) : ClassRemapper

A ClassRemapper that is aware of the remapping of Invoke Dynamic instructions for lambdas.

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+

An InheritanceProvider that delegates to a ClasspathLoader, loader, to extract inheritance information

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
open class LoaderSimpleRemapper(map: Map<String, String>, inheritanceProvider: InheritanceProvider, memoizeInheritance: Boolean = true) : Remapper

A Remapper that can use a InheritanceProvider for inheritance information to apply a certain map, that should be in an equivalent format as the one produced by Mappings.asASMMapping.

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
sealed interface Mapped

Represents any entity that can have different mapped names

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
data class MappedClass(val names: List<String>, val comments: List<String> = emptyList(), val fields: List<MappedField> = emptyList(), val methods: List<MappedMethod> = emptyList()) : Mapped, Commented

Represents a mapped class (containing fields and methods)

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
data class MappedField(val names: List<String>, val comments: List<String> = emptyList(), val desc: String?) : Mapped, Commented

Represents a mapped field

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
data class MappedLocal(val index: Int, val startOffset: Int, val lvtIndex: Int, val names: List<String>) : Mapped

Represents a mapped local variable. This is different to a MappedParameter, because it carries data about LVT and usage in the bytecode.

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
data class MappedMethod(val names: List<String>, val comments: List<String> = emptyList(), val desc: String, val parameters: List<MappedParameter> = emptyList(), val variables: List<MappedLocal> = emptyList()) : Mapped, Commented

Represents a mapped method

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
data class MappedParameter(val names: List<String>, val index: Int) : Mapped

Represents a mapped parameter of a MappedMethod, which is different from a MappedLocal (see docs)

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
sealed interface Mappings

Represents any type of mappings. The names in all of the Mapped entities are in the order of the namespaces, and should have equal length arrays.

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
sealed interface MappingsFormat<T : Mappings>

Represents a generic mappings format

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+

The entry point for loading Mappings.

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
class MappingsRemapper(val mappings: Mappings, val from: String, val to: String, loader: ClasspathLoader) : LoaderSimpleRemapper

A Remapper for Mappings, which is capable of using inheritance information from classes (the implementor may choose to cache them) to resolve mapping data.

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
data class MemberIdentifier(val name: String, val desc: String)

Similar to AccessedMember, but without an owner field. Used in an AccessedClass

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+

An InheritanceProvider that delegates to another given InheritanceProvider, delegate, and remembers its results.

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
data class ProguardMappings(val classes: List<MappedClass>, val comments: List<String> = emptyList()) : Mappings, Commented

Represents Proguard debug deobfuscation mappings. Note that Proguard only supports two mappings namespaces. Line number information is ignored by the parser.

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+

Implements the Proguard mappings format, disregarding line number information, which is written as 1:1 when serialized.

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
data class RecafMappings(val classes: List<MappedClass>) : Mappings

Represents a Recaf Mappings file

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+

Represents the Recaf mappings format

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
data class SRGMappings(val classes: List<MappedClass>, val isExtended: Boolean) : Mappings

Represent any type of SRG mappings, whether this data structure represents XSRG or regular SRG is governed by isExtended.

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+

Represents the SRG mappings format

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
data class TinyMappings(val namespaces: List<String>, val classes: List<MappedClass>, val isV2: Boolean) : Mappings

Represents either a tiny v1 or a tiny v2 mappings file, which does not have a definition anywhere. The serialization method of these mappings is governed by isV2

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+

Represents the Tiny v1 mappings format

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+

Represents the Tiny v2 mappings format

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+

Convenience interface for parameterizing writing tiny mappings

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
data class TSRGMappings(val namespaces: List<String>, val classes: List<MappedClass>, val isV2: Boolean) : Mappings

Represents either a TSRG v1 or a TSRG v2 mappings file, which does not have a definition anywhere. The serialization method of these mappings is governed by isV2

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+

Represents the TSRG v1 mappings format

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+

Represents the TSRG v2 mappings format

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+

Represents the XSRG mappings format

+
+
+
+
+
+
+
+

Properties

+
+
+
+
+ + +
Link copied to clipboard
+
+
+
+
const val INHERITABLE_MASK: Int = 26

Represents the bitmask of access flags that a member may not have to be considered inheritable, see InheritanceProvider.getDeclaredMethods

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+

Whether a given Type represents a JVM primitive type

+
+
+
+
+
+
+
+

Functions

+
+
+
+
+ + +
Link copied to clipboard
+
+
+
+
fun ClassNode.applyWidener(tree: AccessWidenerTree)

Applies an AccessWidenerTree to a given ClassNode

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
fun Mappings.asASMMapping(from: String, to: String, includeMethods: Boolean = true, includeFields: Boolean = true): Map<String, String>

Returns a simple mapping representing all of the Mappings, mapping between the namespaces from and to. If includeMethods is true, then methods will be included in the mapping. If includeFields is true, then fields will be included in the mapping.

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+ +
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+ +
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+ +
+
+ +
+
+
+ + +
Link copied to clipboard
+
+ +
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+

Wraps this into a InheritanceProvider that uses this to extract inheritance information

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+ +
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+ +
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
fun SRGMappings.asSimpleRemapper(): SimpleRemapper

Shorthand for converting SRGMappings to a SimpleRemapper.

fun Mappings.asSimpleRemapper(from: String, to: String): SimpleRemapper

Returns an asm SimpleRemapper for remapping references between namespaces from and to disregarding inheritance and lambdas. For proper remapping, you should use the MappingsRemapper.

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+

Converts these Mappings to SRGMappings, enabling XSRG when extended is true.

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+

Converts these Mappings to TinyMappings, enabling Tiny v2 when v2 is true.

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+

Converts these Mappings to TSRGMappings, enabling TSRG v2 when v2 is true.

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+

Removes all duplicate namespace usages in this Mappings.

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+

Transforms this Mappings structure to a generic mappings implementation that maps between from and to.

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
inline fun Mappings.filterClasses(predicate: (MappedClass) -> Boolean): Mappings

Filters classes matching the predicate

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
inline fun Mappings.filterMethods(predicate: (owner: MappedClass, method: MappedMethod) -> Boolean): Mappings

Filters methods matching the predicate

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
fun Mappings.filterNamespaces(vararg allowed: String, allowDuplicates: Boolean = false): Mappings
fun Mappings.filterNamespaces(allowed: Set<String>, allowDuplicates: Boolean = false): Mappings

Filters these Mappings to only contain namespaces that are in allowed. If allowDuplicates is true, the returned Mappings will also have duplicate namespaces removed.

inline fun Mappings.filterNamespaces(allowDuplicates: Boolean = false, predicate: (String) -> Boolean): Mappings

Filters these Mappings to only contain namespaces for which the predicate returns true. If allowDuplicates is true, the returned Mappings will also have duplicate namespaces removed.

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+

Returns whether the methods represented by this MappedMethod is a data method, that is, if this method is hashCode, toString, equals or an initializer, like a constructor or init {} block (this means that the jvm names are and , respectively)

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+

Converts some sort of collection of AccessMasks to a resultant AccessMask combining them

Combines AccessWideners using the AccessWidener.plus operator, producing a new AccessWidener that, when applied, produces the same result as applying all of the wideners sequentially. If this Iterable would be considered empty (its Iterator.hasNext would return false on the first iteration), IllegalArgumentException is thrown

Combines this sequence of AccessWideners using the AccessWidener.plus operator, producing a new AccessWidener that, when applied, produces the same result as applying all of the wideners sequentially. If this Sequence would be considered empty, IllegalArgumentException is thrown

fun Iterable<Mappings>.join(intermediateNamespace: String, requireMatch: Boolean = false): Mappings

Joins together an Iterable of Mappings, producing new Mappings that contain all entries from all Mappings. Note: all namespaces are kept, in order to be able to reduce the mappings nicely without a lot of overhead. If you want to exclude certain namespaces, use Mappings.filterNamespaces. If this Iterable would be considered empty (its Iterator.hasNext would return false on the first iteration), EmptyMappings is returned.

fun Mappings.join(otherMappings: Mappings, intermediateNamespace: String, requireMatch: Boolean = false): Mappings

Joins together this Mappings with otherMappings, by matching on intermediateNamespace, producing new Mappings that contain all entries from this Mappings and otherMappings. If requireMatch is true, this method will throw an exception when no method or field or class is found

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+

Reads a file represented by lines (an iterator of every line in an access widener file) as an AccessWidener

Reads a file represented by lines as an AccessWidener

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
fun Type.map(names: Map<String, String>): Type

Remaps a given Type, using a map of class names

fun Type.map(remapper: Remapper): Type

Remaps a given Type using a given remapper

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+

Maps classes according to the given block

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
fun mapDesc(desc: String, names: Map<String, String>): String

Remaps a given descriptor desc, using a map of class names

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
fun mapMethodDesc(desc: String, names: Map<String, String>): String

Remaps a given method descriptor desc, using a map of class names

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
inline fun Mappings.mapMethods(block: (owner: MappedClass, method: MappedMethod) -> MappedMethod): Mappings

Maps methods according to the given block

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+

Wraps this into a new provider that remembers the results of calls

Composes this to a new classpath loader, that caches the results of this

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+

Composes this to a new classpath loader, that caches the results of this inside of a given memo

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+

Returns the index of a namespace named name, but throws an IllegalStateException when name is not in the Mappings.namespaces.

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+

Parses lines (a Sequence of lines in a mappings file) into a mappings data structure. Throws an IllegalStateException when lines is not a valid input for this mappings format.

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
inline suspend fun performRemap(builder: JarRemapper.() -> Unit)

Performs a remap using JarRemapper.perform. Configuration for it can be provided in the builder

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+

Combines this AccessWidener with other, returning a new access widener that, when applied, produces the same result as applying one widener and then the other.

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+

See recoverFieldDescriptors. file is a jar file resource (caller is responsible for closing it) that contains the classes that are referenced in the generic overload.

fun Mappings.recoverFieldDescriptors(bytesProvider: (name: String) -> ByteArray?): Mappings

Attempts to recover field descriptors that are missing because the original mappings format did not specify them. bytesProvider is responsible for providing all of the classes that might be referenced in this Mappings object, such that the descriptors can be recovered based on named (fields can be uniquely identified by an owner-name pair). When field descriptors were not found, field mappings will not be passed onto the new Mappings as field mappings without descriptors will be considered invalid.

@JvmName(name = "recoverDescsByNode")
fun Mappings.recoverFieldDescriptors(nodeProvider: (name: String) -> ClassNode?): Mappings

Attempts to recover field descriptors that are missing because the original mappings format did not specify them. nodeProvider is responsible for providing all of the ClassNodes that might be referenced in this Mappings object, such that the descriptors can be recovered based on named (fields can be uniquely identified by an owner-name pair). When field descriptors were not found, field mappings will not be passed onto the new Mappings as field mappings without descriptors will be considered invalid.

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
fun Array<MutableList<out AnnotationNode>?>.remap(remapper: Remapper)

Remaps an array of lists of annotations, which is typically used to represent parameter annotations

fun MutableList<out AnnotationNode>.remap(remapper: Remapper)

Remaps a list of annotations, which is typically used to represent a set of annotations that are applied / present on a parameter, field, method, or class

fun AnnotationNode.remap(remapper: Remapper)

Remaps an AnnotationNode using a given remapper

fun AccessWidener.remap(mappings: Mappings, toNamespace: String): AccessWidener

Remaps this AccessWidener using mappings to a new namespace toNamespace to produce a new AccessWidener

fun AccessWidener.remap(remapper: Remapper, toNamespace: String): AccessWidener

Remaps this AccessWidener using a remapper to a new namespace toNamespace to produce a new AccessWidener

fun AbstractInsnNode.remap(remapper: Remapper, lambdaAware: Boolean = true)

Utility that can apply a Remapper to an AbstractInsnNode, remapping it in place. If lambdaAware is true, the remapping will behave like a LambdaAwareRemapper

fun ClassNode.remap(remapper: Remapper, lambdaAware: Boolean = true)

Utility that can apply a Remapper to a ClassNode, remapping it in place. If lambdaAware is true, the remapping will behave like a LambdaAwareRemapper

fun FieldNode.remap(ownerName: String, remapper: Remapper)

Utility that can apply a Remapper to a FieldNode inside of an owner represented by ownerName, remapping it in place

fun MethodNode.remap(ownerName: String, remapper: Remapper, lambdaAware: Boolean = true)

Utility that can apply a Remapper to a MethodNode inside of an owner represented by ownerName, remapping it in place. If lambdaAware is true, the remapping will behave like a LambdaAwareRemapper

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
fun remapJar(mappings: Mappings, input: File, output: File, from: String = "official", to: String = "named", loader: ClasspathLoader = { null }, visitor: (parent: ClassVisitor) -> ClassVisitor? = null)

Remaps a .jar file input to an output file, using mappings, between namespaces from and to. If inheritance info from external sources matters, you should pass a classpath loader. If additional class processing is required, an additional visitor can be passed.

fun remapJar(mappings: Mappings, input: File, output: File, from: String = "official", to: String = "named", files: List<File>, visitor: (parent: ClassVisitor) -> ClassVisitor = { it })

This function provides a shorthand for remapJar when using physical files representing a classpath, and also takes cares of delegating to the system loader if necessary.

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
fun ClasspathLoader.remapping(remapper: Remapper): ClasspathLoader

Composes this to create a new classpath loader, that maps bytes given by this using a remapper

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+

Composes this to create a new classpath loader, that maps names before passing them to this between namespaces from and to using given mappings. It also alters the returned class file's class name references to match the to namespace. Method and field names remain untouched.

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+

Returns new Mappings that are identical to these Mappings, except the comments will be removed

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
fun Mappings.removeRedundancy(inheritanceProvider: InheritanceProvider, removeDuplicateMethods: Boolean = false): Mappings

Removes redundant or straight up incorrect data from this Mappings object, by looking at the inheritance information present in class files, presented by the inheritanceProvider.

fun Mappings.removeRedundancy(file: JarFile, removeDuplicateMethods: Boolean = false): Mappings

See removeRedundancy. file is a jar file resource (caller is responsible for closing it) that contains the classes that are referenced in the generic overload. Calls with identical names are being cached by this function, the caller is not responsible for this.

fun Mappings.removeRedundancy(removeDuplicateMethods: Boolean = false, loader: ClasspathLoader): Mappings

Removes redundant or straight up incorrect data from this Mappings object, by looking at the inheritance information present in class files, presented by the loader.

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+

Swaps out the names for the namespaces in this Mappings data structure.

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+

Swaps out the names for the namespaces in this Mappings data structure, by reordering. Duplicate names are allowed, in which case mapped entries are duplicated to fit the new order. If a name in Mappings.namespaces does not appear in order, its mapping entries will be missing in the returned Mappings.

Swaps out the names for the namespaces in this Mappings data structure, by reordering. Duplicate names are allowed, in which case mapped entries are duplicated to fit the new order. If a name in Mappings.namespaces does not appear in order, its mapping entries will be missing in the returned Mappings. If a namespace in order does not exist in this Mappings, an IllegalArgumentException will be thrown.

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+

Converts a set of AccessTypes to an AccessMask representing it

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+ +
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+

Writes this AccessWidener structure to a file representing this AccessWidener

Writes CSRGMappings to a mappings file represented by a list of strings

Writes CompactedMappings as its binary representation

Writes EnigmaMappings to a mappings file represented by a list of strings.

Writes ProguardMappings to a mappings file represented by a list of strings

Writes RecafMappings to a mappings file represented by a list of strings

Writes SRGMappings to a mappings file represented by a list of strings

Writes TSRGMappings to a mappings file represented by a list of strings

fun TinyMappings.write(compact: Boolean = isV2): List<String>

Writes TinyMappings to a mappings file represented by a list of strings. If compact is set, a more compact format of tiny mappings will be used, see TinyMappingsWriter.write.

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+

Writes this AccessWidener structure to a lazily generated sequence representing this AccessWidener

Writes CSRGMappings as a lazily evaluated Sequence

Writes EnigmaMappings as a lazily evaluated Sequence.

Writes ProguardMappings as a lazily evaluated Sequence

Writes RecafMappings as a lazily evaluated Sequence

Writes SRGMappings as a lazily evaluated Sequence

Writes TSRGMappings as a lazily evaluated Sequence

Writes TinyMappings as a lazily evaluated Sequence. If compact is set, a more compact format of tiny mappings will be used, see TinyMappingsWriter.write.

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+

Writes some mappings to an OutputStream as an equivalent representation

+
+
+
+
+
+
+
+
+
+ +
+
+
+ + diff --git a/docs/com.grappenmaker.mappings/is-data.html b/docs/com.grappenmaker.mappings/is-data.html new file mode 100644 index 0000000..724a9ee --- /dev/null +++ b/docs/com.grappenmaker.mappings/is-data.html @@ -0,0 +1,80 @@ + + + + + isData + + + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

isData

+
+

Returns whether the methods represented by this MappedMethod is a data method, that is, if this method is hashCode, toString, equals or an initializer, like a constructor or init {} block (this means that the jvm names are and , respectively)

+
+ +
+
+
+ + diff --git a/docs/com.grappenmaker.mappings/is-primitive.html b/docs/com.grappenmaker.mappings/is-primitive.html new file mode 100644 index 0000000..72903a4 --- /dev/null +++ b/docs/com.grappenmaker.mappings/is-primitive.html @@ -0,0 +1,80 @@ + + + + + isPrimitive + + + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

isPrimitive

+
+

Whether a given Type represents a JVM primitive type

+
+ +
+
+
+ + diff --git a/docs/com.grappenmaker.mappings/join.html b/docs/com.grappenmaker.mappings/join.html new file mode 100644 index 0000000..6a6fd99 --- /dev/null +++ b/docs/com.grappenmaker.mappings/join.html @@ -0,0 +1,80 @@ + + + + + join + + + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

join

+
+

Converts some sort of collection of AccessMasks to a resultant AccessMask combining them


Combines AccessWideners using the AccessWidener.plus operator, producing a new AccessWidener that, when applied, produces the same result as applying all of the wideners sequentially. If this Iterable would be considered empty (its Iterator.hasNext would return false on the first iteration), IllegalArgumentException is thrown

Throws


Combines this sequence of AccessWideners using the AccessWidener.plus operator, producing a new AccessWidener that, when applied, produces the same result as applying all of the wideners sequentially. If this Sequence would be considered empty, IllegalArgumentException is thrown

Throws


fun Mappings.join(otherMappings: Mappings, intermediateNamespace: String, requireMatch: Boolean = false): Mappings

Joins together this Mappings with otherMappings, by matching on intermediateNamespace, producing new Mappings that contain all entries from this Mappings and otherMappings. If requireMatch is true, this method will throw an exception when no method or field or class is found

Samples

samples.Mappings.join
fun Iterable<Mappings>.join(intermediateNamespace: String, requireMatch: Boolean = false): Mappings

Joins together an Iterable of Mappings, producing new Mappings that contain all entries from all Mappings. Note: all namespaces are kept, in order to be able to reduce the mappings nicely without a lot of overhead. If you want to exclude certain namespaces, use Mappings.filterNamespaces. If this Iterable would be considered empty (its Iterator.hasNext would return false on the first iteration), EmptyMappings is returned.

The order of these namespaces will be confusing due to the way Mappings.join orders namespaces. Use Mappings.reorderNamespaces to ensure the resulting Mappings will be properly namespaced, if required.

See also

Samples

samples.Mappings.joinList
+
+ +
+
+
+ + diff --git a/docs/com.grappenmaker.mappings/load-access-widener.html b/docs/com.grappenmaker.mappings/load-access-widener.html new file mode 100644 index 0000000..448f9bc --- /dev/null +++ b/docs/com.grappenmaker.mappings/load-access-widener.html @@ -0,0 +1,80 @@ + + + + + loadAccessWidener + + + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

loadAccessWidener

+
+

Reads a file represented by lines as an AccessWidener


Reads a file represented by lines (an iterator of every line in an access widener file) as an AccessWidener

+
+ +
+
+
+ + diff --git a/docs/com.grappenmaker.mappings/map-classes.html b/docs/com.grappenmaker.mappings/map-classes.html new file mode 100644 index 0000000..08b8d6d --- /dev/null +++ b/docs/com.grappenmaker.mappings/map-classes.html @@ -0,0 +1,80 @@ + + + + + mapClasses + + + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

mapClasses

+
+

Maps classes according to the given block

+
+ +
+
+
+ + diff --git a/docs/com.grappenmaker.mappings/map-desc.html b/docs/com.grappenmaker.mappings/map-desc.html new file mode 100644 index 0000000..7396c6c --- /dev/null +++ b/docs/com.grappenmaker.mappings/map-desc.html @@ -0,0 +1,80 @@ + + + + + mapDesc + + + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

mapDesc

+
+
fun mapDesc(desc: String, names: Map<String, String>): String

Remaps a given descriptor desc, using a map of class names

+
+ +
+
+
+ + diff --git a/docs/com.grappenmaker.mappings/map-method-desc.html b/docs/com.grappenmaker.mappings/map-method-desc.html new file mode 100644 index 0000000..beab790 --- /dev/null +++ b/docs/com.grappenmaker.mappings/map-method-desc.html @@ -0,0 +1,80 @@ + + + + + mapMethodDesc + + + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

mapMethodDesc

+
+
fun mapMethodDesc(desc: String, names: Map<String, String>): String

Remaps a given method descriptor desc, using a map of class names

+
+ +
+
+
+ + diff --git a/docs/com.grappenmaker.mappings/map-methods.html b/docs/com.grappenmaker.mappings/map-methods.html new file mode 100644 index 0000000..3d231c8 --- /dev/null +++ b/docs/com.grappenmaker.mappings/map-methods.html @@ -0,0 +1,80 @@ + + + + + mapMethods + + + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

mapMethods

+
+
inline fun Mappings.mapMethods(block: (owner: MappedClass, method: MappedMethod) -> MappedMethod): Mappings

Maps methods according to the given block

+
+ +
+
+
+ + diff --git a/docs/com.grappenmaker.mappings/map.html b/docs/com.grappenmaker.mappings/map.html new file mode 100644 index 0000000..576884b --- /dev/null +++ b/docs/com.grappenmaker.mappings/map.html @@ -0,0 +1,80 @@ + + + + + map + + + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

map

+
+
fun Type.map(remapper: Remapper): Type

Remaps a given Type using a given remapper


fun Type.map(names: Map<String, String>): Type

Remaps a given Type, using a map of class names

+
+ +
+
+
+ + diff --git a/docs/com.grappenmaker.mappings/memoized-to.html b/docs/com.grappenmaker.mappings/memoized-to.html new file mode 100644 index 0000000..f6791f8 --- /dev/null +++ b/docs/com.grappenmaker.mappings/memoized-to.html @@ -0,0 +1,80 @@ + + + + + memoizedTo + + + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

memoizedTo

+
+

Composes this to a new classpath loader, that caches the results of this inside of a given memo

+
+ +
+
+
+ + diff --git a/docs/com.grappenmaker.mappings/memoized.html b/docs/com.grappenmaker.mappings/memoized.html new file mode 100644 index 0000000..4bf0fc9 --- /dev/null +++ b/docs/com.grappenmaker.mappings/memoized.html @@ -0,0 +1,80 @@ + + + + + memoized + + + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

memoized

+
+

Composes this to a new classpath loader, that caches the results of this


Wraps this into a new provider that remembers the results of calls

+
+ +
+
+
+ + diff --git a/docs/com.grappenmaker.mappings/namespace.html b/docs/com.grappenmaker.mappings/namespace.html new file mode 100644 index 0000000..9722383 --- /dev/null +++ b/docs/com.grappenmaker.mappings/namespace.html @@ -0,0 +1,80 @@ + + + + + namespace + + + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

namespace

+
+

Returns the index of a namespace named name, but throws an IllegalStateException when name is not in the Mappings.namespaces.

+
+ +
+
+
+ + diff --git a/docs/com.grappenmaker.mappings/parse.html b/docs/com.grappenmaker.mappings/parse.html new file mode 100644 index 0000000..fe46de9 --- /dev/null +++ b/docs/com.grappenmaker.mappings/parse.html @@ -0,0 +1,80 @@ + + + + + parse + + + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

parse

+
+

Parses lines (a Sequence of lines in a mappings file) into a mappings data structure. Throws an IllegalStateException when lines is not a valid input for this mappings format.

+
+ +
+
+
+ + diff --git a/docs/com.grappenmaker.mappings/perform-remap.html b/docs/com.grappenmaker.mappings/perform-remap.html new file mode 100644 index 0000000..8f8ec83 --- /dev/null +++ b/docs/com.grappenmaker.mappings/perform-remap.html @@ -0,0 +1,80 @@ + + + + + performRemap + + + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

performRemap

+
+
inline suspend fun performRemap(builder: JarRemapper.() -> Unit)

Performs a remap using JarRemapper.perform. Configuration for it can be provided in the builder

+
+ +
+
+
+ + diff --git a/docs/com.grappenmaker.mappings/plus.html b/docs/com.grappenmaker.mappings/plus.html new file mode 100644 index 0000000..ae7722d --- /dev/null +++ b/docs/com.grappenmaker.mappings/plus.html @@ -0,0 +1,80 @@ + + + + + plus + + + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

plus

+
+

Combines this AccessWidener with other, returning a new access widener that, when applied, produces the same result as applying one widener and then the other.

+
+ +
+
+
+ + diff --git a/docs/com.grappenmaker.mappings/recover-field-descriptors.html b/docs/com.grappenmaker.mappings/recover-field-descriptors.html new file mode 100644 index 0000000..adc3daf --- /dev/null +++ b/docs/com.grappenmaker.mappings/recover-field-descriptors.html @@ -0,0 +1,80 @@ + + + + + recoverFieldDescriptors + + + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

recoverFieldDescriptors

+
+
fun Mappings.recoverFieldDescriptors(bytesProvider: (name: String) -> ByteArray?): Mappings

Attempts to recover field descriptors that are missing because the original mappings format did not specify them. bytesProvider is responsible for providing all of the classes that might be referenced in this Mappings object, such that the descriptors can be recovered based on named (fields can be uniquely identified by an owner-name pair). When field descriptors were not found, field mappings will not be passed onto the new Mappings as field mappings without descriptors will be considered invalid.


@JvmName(name = "recoverDescsByNode")
fun Mappings.recoverFieldDescriptors(nodeProvider: (name: String) -> ClassNode?): Mappings

Attempts to recover field descriptors that are missing because the original mappings format did not specify them. nodeProvider is responsible for providing all of the ClassNodes that might be referenced in this Mappings object, such that the descriptors can be recovered based on named (fields can be uniquely identified by an owner-name pair). When field descriptors were not found, field mappings will not be passed onto the new Mappings as field mappings without descriptors will be considered invalid.


See recoverFieldDescriptors. file is a jar file resource (caller is responsible for closing it) that contains the classes that are referenced in the generic overload.

+
+ +
+
+
+ + diff --git a/docs/com.grappenmaker.mappings/remap-jar.html b/docs/com.grappenmaker.mappings/remap-jar.html new file mode 100644 index 0000000..35fd30c --- /dev/null +++ b/docs/com.grappenmaker.mappings/remap-jar.html @@ -0,0 +1,80 @@ + + + + + remapJar + + + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

remapJar

+
+
fun remapJar(mappings: Mappings, input: File, output: File, from: String = "official", to: String = "named", loader: ClasspathLoader = { null }, visitor: (parent: ClassVisitor) -> ClassVisitor? = null)

Remaps a .jar file input to an output file, using mappings, between namespaces from and to. If inheritance info from external sources matters, you should pass a classpath loader. If additional class processing is required, an additional visitor can be passed.


fun remapJar(mappings: Mappings, input: File, output: File, from: String = "official", to: String = "named", files: List<File>, visitor: (parent: ClassVisitor) -> ClassVisitor = { it })

This function provides a shorthand for remapJar when using physical files representing a classpath, and also takes cares of delegating to the system loader if necessary.

+
+ +
+
+
+ + diff --git a/docs/com.grappenmaker.mappings/remap.html b/docs/com.grappenmaker.mappings/remap.html new file mode 100644 index 0000000..3f280b8 --- /dev/null +++ b/docs/com.grappenmaker.mappings/remap.html @@ -0,0 +1,80 @@ + + + + + remap + + + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

remap

+
+
fun AccessWidener.remap(mappings: Mappings, toNamespace: String): AccessWidener

Remaps this AccessWidener using mappings to a new namespace toNamespace to produce a new AccessWidener


fun AccessWidener.remap(remapper: Remapper, toNamespace: String): AccessWidener

Remaps this AccessWidener using a remapper to a new namespace toNamespace to produce a new AccessWidener


fun AbstractInsnNode.remap(remapper: Remapper, lambdaAware: Boolean = true)

Utility that can apply a Remapper to an AbstractInsnNode, remapping it in place. If lambdaAware is true, the remapping will behave like a LambdaAwareRemapper


fun MethodNode.remap(ownerName: String, remapper: Remapper, lambdaAware: Boolean = true)

Utility that can apply a Remapper to a MethodNode inside of an owner represented by ownerName, remapping it in place. If lambdaAware is true, the remapping will behave like a LambdaAwareRemapper


fun FieldNode.remap(ownerName: String, remapper: Remapper)

Utility that can apply a Remapper to a FieldNode inside of an owner represented by ownerName, remapping it in place


fun ClassNode.remap(remapper: Remapper, lambdaAware: Boolean = true)

Utility that can apply a Remapper to a ClassNode, remapping it in place. If lambdaAware is true, the remapping will behave like a LambdaAwareRemapper


fun Array<MutableList<out AnnotationNode>?>.remap(remapper: Remapper)

Remaps an array of lists of annotations, which is typically used to represent parameter annotations

See also


fun MutableList<out AnnotationNode>.remap(remapper: Remapper)

Remaps a list of annotations, which is typically used to represent a set of annotations that are applied / present on a parameter, field, method, or class


fun AnnotationNode.remap(remapper: Remapper)

Remaps an AnnotationNode using a given remapper

+
+ +
+
+
+ + diff --git a/docs/com.grappenmaker.mappings/remapping-names.html b/docs/com.grappenmaker.mappings/remapping-names.html new file mode 100644 index 0000000..6112a63 --- /dev/null +++ b/docs/com.grappenmaker.mappings/remapping-names.html @@ -0,0 +1,80 @@ + + + + + remappingNames + + + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

remappingNames

+
+

Composes this to create a new classpath loader, that maps names before passing them to this between namespaces from and to using given mappings. It also alters the returned class file's class name references to match the to namespace. Method and field names remain untouched.

+
+ +
+
+
+ + diff --git a/docs/com.grappenmaker.mappings/remapping.html b/docs/com.grappenmaker.mappings/remapping.html new file mode 100644 index 0000000..71df69b --- /dev/null +++ b/docs/com.grappenmaker.mappings/remapping.html @@ -0,0 +1,80 @@ + + + + + remapping + + + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

remapping

+
+
fun ClasspathLoader.remapping(remapper: Remapper): ClasspathLoader

Composes this to create a new classpath loader, that maps bytes given by this using a remapper

+
+ +
+
+
+ + diff --git a/docs/com.grappenmaker.mappings/remove-comments.html b/docs/com.grappenmaker.mappings/remove-comments.html new file mode 100644 index 0000000..c39c42c --- /dev/null +++ b/docs/com.grappenmaker.mappings/remove-comments.html @@ -0,0 +1,80 @@ + + + + + removeComments + + + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

removeComments

+
+

Returns new Mappings that are identical to these Mappings, except the comments will be removed

+
+ +
+
+
+ + diff --git a/docs/com.grappenmaker.mappings/remove-redundancy.html b/docs/com.grappenmaker.mappings/remove-redundancy.html new file mode 100644 index 0000000..0c6ed60 --- /dev/null +++ b/docs/com.grappenmaker.mappings/remove-redundancy.html @@ -0,0 +1,80 @@ + + + + + removeRedundancy + + + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

removeRedundancy

+
+
fun Mappings.removeRedundancy(removeDuplicateMethods: Boolean = false, loader: ClasspathLoader): Mappings

Removes redundant or straight up incorrect data from this Mappings object, by looking at the inheritance information present in class files, presented by the loader.

Redundant information is one of the following:

  • Overloads are given a mapping again. Since overloads share the same name, they cannot have different info, therefore this information is duplicate.

  • Abstract methods are populated to interfaces (this can happen when using proguard mappings). This is usually straight up wrong information, when a mapped method entry is not present on the actual class.

  • a method being a data method (MappedMethod.isData)

  • a method whose names are all identical

If removeDuplicateMethods is true (false by default), this function will also look for methods with the same obfuscated/first name and descriptor. This is false by default since this might be expensive, and most of the time, there will not be any duplicates in the first place, since that could be seen as an invalid mappings file. In the case of a duplicate, the last declared one will be kept. The order of mapped methods will be preserved.

Samples

samples.Mappings.redundancy
fun Mappings.removeRedundancy(inheritanceProvider: InheritanceProvider, removeDuplicateMethods: Boolean = false): Mappings

Removes redundant or straight up incorrect data from this Mappings object, by looking at the inheritance information present in class files, presented by the inheritanceProvider.

Redundant information is one of the following:

  • Overloads are given a mapping again. Since overloads share the same name, they cannot have different info, therefore this information is duplicate.

  • Abstract methods are populated to interfaces (this can happen when using proguard mappings). This is usually straight up wrong information, when a mapped method entry is not present on the actual class.

  • a method being a data method (MappedMethod.isData)

  • a method whose names are all identical

If removeDuplicateMethods is true (false by default), this function will also look for methods with the same obfuscated/first name and descriptor. This is false by default since this might be expensive, and most of the time, there will not be any duplicates in the first place, since that could be seen as an invalid mappings file. In the case of a duplicate, the last declared one will be kept. The order of mapped methods will be preserved.

Samples

samples.Mappings.redundancy
fun Mappings.removeRedundancy(file: JarFile, removeDuplicateMethods: Boolean = false): Mappings

See removeRedundancy. file is a jar file resource (caller is responsible for closing it) that contains the classes that are referenced in the generic overload. Calls with identical names are being cached by this function, the caller is not responsible for this.

If removeDuplicateMethods is true (false by default), this function will also look for methods with the same obfuscated/first name and descriptor. This is false by default since this might be expensive, and most of the time, there will not be any duplicates in the first place, since that could be seen as an invalid mappings file. In the case of a duplicate, the last declared one will be kept. The order of mapped methods will be preserved.

Samples

samples.Mappings.redundancy
+
+ +
+
+
+ + diff --git a/docs/com.grappenmaker.mappings/rename-namespaces.html b/docs/com.grappenmaker.mappings/rename-namespaces.html new file mode 100644 index 0000000..14203e0 --- /dev/null +++ b/docs/com.grappenmaker.mappings/rename-namespaces.html @@ -0,0 +1,80 @@ + + + + + renameNamespaces + + + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

renameNamespaces

+
+

Swaps out the names for the namespaces in this Mappings data structure.

Samples

samples.Mappings.rename
+
+ +
+
+
+ + diff --git a/docs/com.grappenmaker.mappings/reorder-namespaces.html b/docs/com.grappenmaker.mappings/reorder-namespaces.html new file mode 100644 index 0000000..871d29c --- /dev/null +++ b/docs/com.grappenmaker.mappings/reorder-namespaces.html @@ -0,0 +1,80 @@ + + + + + reorderNamespaces + + + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

reorderNamespaces

+
+

Swaps out the names for the namespaces in this Mappings data structure, by reordering. Duplicate names are allowed, in which case mapped entries are duplicated to fit the new order. If a name in Mappings.namespaces does not appear in order, its mapping entries will be missing in the returned Mappings.

Samples

samples.Mappings.reorder

Swaps out the names for the namespaces in this Mappings data structure, by reordering. Duplicate names are allowed, in which case mapped entries are duplicated to fit the new order. If a name in Mappings.namespaces does not appear in order, its mapping entries will be missing in the returned Mappings. If a namespace in order does not exist in this Mappings, an IllegalArgumentException will be thrown.

Samples

samples.Mappings.reorder
+
+ +
+
+
+ + diff --git a/docs/com.grappenmaker.mappings/to-mask.html b/docs/com.grappenmaker.mappings/to-mask.html new file mode 100644 index 0000000..deabbb6 --- /dev/null +++ b/docs/com.grappenmaker.mappings/to-mask.html @@ -0,0 +1,80 @@ + + + + + toMask + + + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

toMask

+
+

Converts a set of AccessTypes to an AccessMask representing it

+
+ +
+
+
+ + diff --git a/docs/com.grappenmaker.mappings/to-tree.html b/docs/com.grappenmaker.mappings/to-tree.html new file mode 100644 index 0000000..d2ad19d --- /dev/null +++ b/docs/com.grappenmaker.mappings/to-tree.html @@ -0,0 +1,80 @@ + + + + + toTree + + + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

toTree

+
+ +
+ +
+
+
+ + diff --git a/docs/com.grappenmaker.mappings/write-lazy.html b/docs/com.grappenmaker.mappings/write-lazy.html new file mode 100644 index 0000000..266d25f --- /dev/null +++ b/docs/com.grappenmaker.mappings/write-lazy.html @@ -0,0 +1,80 @@ + + + + + writeLazy + + + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

writeLazy

+
+

Writes this AccessWidener structure to a lazily generated sequence representing this AccessWidener


Writes CSRGMappings as a lazily evaluated Sequence


Writes EnigmaMappings as a lazily evaluated Sequence.


Writes ProguardMappings as a lazily evaluated Sequence


Writes RecafMappings as a lazily evaluated Sequence


Writes SRGMappings as a lazily evaluated Sequence


Writes TSRGMappings as a lazily evaluated Sequence


Writes TinyMappings as a lazily evaluated Sequence. If compact is set, a more compact format of tiny mappings will be used, see TinyMappingsWriter.write.

+
+ +
+
+
+ + diff --git a/docs/com.grappenmaker.mappings/write-to.html b/docs/com.grappenmaker.mappings/write-to.html new file mode 100644 index 0000000..c63ba5b --- /dev/null +++ b/docs/com.grappenmaker.mappings/write-to.html @@ -0,0 +1,80 @@ + + + + + writeTo + + + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

writeTo

+
+

Writes some mappings to an OutputStream as an equivalent representation

+
+ +
+
+
+ + diff --git a/docs/com.grappenmaker.mappings/write.html b/docs/com.grappenmaker.mappings/write.html new file mode 100644 index 0000000..df79b9f --- /dev/null +++ b/docs/com.grappenmaker.mappings/write.html @@ -0,0 +1,80 @@ + + + + + write + + + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

write

+
+

Writes this AccessWidener structure to a file representing this AccessWidener


Writes CSRGMappings to a mappings file represented by a list of strings


Writes CompactedMappings as its binary representation


Writes EnigmaMappings to a mappings file represented by a list of strings.


Writes ProguardMappings to a mappings file represented by a list of strings


Writes RecafMappings to a mappings file represented by a list of strings


Writes SRGMappings to a mappings file represented by a list of strings


Writes TSRGMappings to a mappings file represented by a list of strings


fun TinyMappings.write(compact: Boolean = isV2): List<String>

Writes TinyMappings to a mappings file represented by a list of strings. If compact is set, a more compact format of tiny mappings will be used, see TinyMappingsWriter.write.

+
+ +
+
+
+ + diff --git a/docs/index.html b/docs/index.html index 1df3a19..2639e8f 100644 --- a/docs/index.html +++ b/docs/index.html @@ -2,7 +2,7 @@ - mappings-util + All modules @@ -19,7 +19,6 @@ } } - @@ -41,14 +40,11 @@
-0.1.7
- -
- +0.1.8
-
+
-

mappings-util

-

A small JVM mappings library designed to load, modify, and use mappings, for runtime and pre-runtime remapping. Several mappings formats are supported, like SRG, XSRG, Tiny (v1 and v2), Proguard.

Important: some documentation entries will have seemingly runnable samples. They are, in fact, not runnable. This is a known Dokka issue which will be addressed in a future release of Dokka. See this issue.

Supported MappingsFormats

NameDescription
ProguardMappingsFormatEmitted by Proguard as debug symbols
SRGMappingsFormatSearge mappings commonly used in the ModCoderPack
XSRGMappingsFormatAn extension of the SRGMappingsFormat
CSRGMappingsFormatA simplification of the SRGMappingsFormat
TSRGV1MappingsFormatA variation on the SRGMappingsFormat
TSRGV2MappingsFormatA variation on the SRGMappingsFormat
TinyMappingsV1FormatAn obsolete version of Tiny mappings, popularized by yarn
TinyMappingsV2FormatTiny mappings, popularized by yarn
EnigmaMappingsFormatEnigma mappings, used in Enigma
RecafMappingsFormatEnigma mappings, used in Enigma
CompactedMappingsFormatAn experimental mappings format inspired by Tiny, which compresses the format slightly (its docs are in com.grappenmaker.mappings.compact)

Loading (mappings) files

TypeSnippet
Any type of MappingsFormatMappingsLoader.loadMappings
An AccessWidenerloadAccessWidener
CompactedMappingsCompactedMappingsFormat.parse

Writing (mappings) files

TypeSnippet
Any type of MappingsFormatMappings.write
An AccessWidenerAccessWidener.write
CompactedMappingsCompactedMappings.write

Mappings transformations

NameDescription
Mappings.renameNamespacesRenames namespaces
Mappings.reorderNamespacesReorders/duplicates namespaces
Mappings.joinJoins two Mappings objects together
Mappings.filterNamespacesFilters certain namespaces by a set of allowed names, or a predicate
Mappings.deduplicateNamespacesRemoves duplicate namespaces

Common Mappings operations

// Parsing mappings
val lines = File("/path/to/some/mappings/file").readLines()

// The mappings format is automatically detected
val mappings = MappingsLoader.loadMappings(lines)

// Using mappings
val remapper = MappingsRemapper(
mappings,
from = "fromNamespace",
to = "toNamespace",
loader = ClasspathLoaders.fromSystemLoader()
)

val reader = ClassReader(bytes)
val writer = ClassWriter(reader)
reader.accept(LambdaAwareRemapper(writer, remapper), 0)

// Or remapping a ClassNode
val node = ClassNode()
reader.accept(node)
node.remap(remapper)

// Or for remapping a full jar
remapJar(mappings, inputFile, outputFile, "fromNamespace", "toNamespace")

// Transforming mappings
val extracted = mappings.extractNamespaces("newFrom", "newTo")
val renamed = mappings.renameNamespaces("newFirst", "newSecond", "newThird")
val reordered = mappings.reorderNamespaces("c", "b", "a")
val joined = mappings.join(otherMappings, "intermediary")
val filtered = mappings.filterNamespaces("b", "c")
val tinyMappings = mappings.asTinyMappings(v2 = true)

// Writing mappings
File("/path/to/some/mappings/file").writeText(tinyMappings.write().joinToString("\n"))

Common AccessWidener operations

// Parsing
val lines = File("/path/to/some/file.accesswidener").readText().trim().lines()
val aw = loadAccessWidener(lines)

// Remapping to a different namespace
aw.remap(mappings, "newNamespace")
aw.remap(remapper, "newNamespace")

// Converting to a tree
val tree = aw.toTree()

// Applying to a Class file
val reader = ClassReader(bytes)
val writer = ClassWriter(reader)
reader.accept(AccessWidenerVisitor(writer, tree), 0)

// Applying to a ClassNode
val node = ClassNode()
reader.accept(node)
node.applyWidener(tree)

// Combining to create a "joined" widener
val joined = aw + otherAW

// Works on Sequences and Iterables
val joined = listOf(aw, otherAW, yetAnotherAW).join()

// Writing (unsupported for trees)
aw.write()

Compacted mappings specification (CompactedMappingsFormat)

Conventions:

  • arrays are denoted name[] and are stored with an integral data type before it to indicate the amount of entries in the array

  • string are encoded by first storing its length as a single byte, followed by the utf-8 representation

  • varints are used, see wiki.vg

  • descriptors are encoded like strings but without its length, since that can be deduced by reading the descriptor bit by bit. The following replacements are made (to save space):

    • Ljava/lang/Object; ->A

    • Ljava/lang/String; ->G

    • Ljava/util/List; ->R

Format:

Name & TypeDescription
magic: intAlways "ACMF" to identify the format, encoded as ascii to a single integer: magicEncoded
version: byteThe version of the format being serialized, which is currently just 1
namespaces[]: string[]The namespaces stored (the length is stored as a byte)
classes[]: class[]The mapped classes (the length is stored as an int)

class type (corresponding to MappedClass):

Name & TypeDescription
names[]: string[]Names of this MappedClass instance, an empty string (length = 0) means the last name with a nonzero length should be copied
members: mapped[]The mapped members (the length is stored as a varint)

mapped type (corresponding to Mapped):

Name & TypeDescription
names[]: string[]Names of this Mapped instance, an empty string (length = 0) means the last name with a nonzero length should be copied
descriptor: descriptorIf the descriptor starts with a (, this Mapped represents a method, a field otherwise
-
-

Packages

-
-
-
+

All modules:

+
+
-
- - +
+ +
Link copied to clipboard
-
-
- -
-
+
+

A small JVM mappings library designed to load, modify, and use mappings, for runtime and pre-runtime remapping. Several mappings formats are supported, like SRG, XSRG, Tiny (v1 and v2), Proguard.

+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+

Utility for using this mappings library with tiny-remapper, instead of the remapper provided in this library, since it is considered more versatile and extensible.

+
-
diff --git a/docs/lib/com.grappenmaker.mappings/-access-mask/-access-mask.html b/docs/lib/com.grappenmaker.mappings/-access-mask/-access-mask.html new file mode 100644 index 0000000..3f932c8 --- /dev/null +++ b/docs/lib/com.grappenmaker.mappings/-access-mask/-access-mask.html @@ -0,0 +1,76 @@ + + + + + AccessMask + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

AccessMask

+
+
constructor(value: Int)
+
+ +
+
+
+ + + diff --git a/docs/lib/com.grappenmaker.mappings/-access-mask/-companion/-e-m-p-t-y.html b/docs/lib/com.grappenmaker.mappings/-access-mask/-companion/-e-m-p-t-y.html new file mode 100644 index 0000000..b8fe68e --- /dev/null +++ b/docs/lib/com.grappenmaker.mappings/-access-mask/-companion/-e-m-p-t-y.html @@ -0,0 +1,76 @@ + + + + + EMPTY + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

EMPTY

+
+

An AccessMask without any AccessTypes containing it

+
+ +
+
+
+ + + diff --git a/docs/lib/com.grappenmaker.mappings/-access-mask/-companion/index.html b/docs/lib/com.grappenmaker.mappings/-access-mask/-companion/index.html new file mode 100644 index 0000000..617f44b --- /dev/null +++ b/docs/lib/com.grappenmaker.mappings/-access-mask/-companion/index.html @@ -0,0 +1,100 @@ + + + + + Companion + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

Companion

+
object Companion

Utility for constructing an AccessMask

+
+
+
+
+
+

Properties

+
+
+
+
+ + +
Link copied to clipboard
+
+
+
+

An AccessMask without any AccessTypes containing it

+
+
+
+
+
+
+
+
+
+ +
+
+
+ + + diff --git a/docs/lib/com.grappenmaker.mappings/-access-mask/contains.html b/docs/lib/com.grappenmaker.mappings/-access-mask/contains.html new file mode 100644 index 0000000..e59cc38 --- /dev/null +++ b/docs/lib/com.grappenmaker.mappings/-access-mask/contains.html @@ -0,0 +1,76 @@ + + + + + contains + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

contains

+
+
operator fun contains(type: AccessType): Boolean

Tests whether a given AccessType is contained in this AccessMask

+
+ +
+
+
+ + + diff --git a/docs/lib/com.grappenmaker.mappings/-access-mask/index.html b/docs/lib/com.grappenmaker.mappings/-access-mask/index.html new file mode 100644 index 0000000..dcc13af --- /dev/null +++ b/docs/lib/com.grappenmaker.mappings/-access-mask/index.html @@ -0,0 +1,247 @@ + + + + + AccessMask + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

AccessMask

+
value class AccessMask(val value: Int) : Iterable<AccessType>

A bitmask representing a set of AccessTypes

+
+
+
+
+
+

Constructors

+
+
+
+
+ + +
Link copied to clipboard
+
+
+
+
constructor(value: Int)
+
+
+
+
+
+
+
+

Types

+
+
+
+
+ + +
Link copied to clipboard
+
+
+
+
object Companion

Utility for constructing an AccessMask

+
+
+
+
+
+
+
+

Properties

+
+
+
+
+ + +
Link copied to clipboard
+
+
+
+
val value: Int

The integer value representing this mask

+
+
+
+
+
+
+
+

Functions

+
+
+
+
+ + +
Link copied to clipboard
+
+
+
+
operator fun contains(type: AccessType): Boolean

Tests whether a given AccessType is contained in this AccessMask

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
open fun forEach(p0: Consumer<in AccessType>)
+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
open operator override fun iterator(): Iterator<AccessType>

Returns an Iterator that yields all AccessTypes in this AccessMask

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+

Converts some sort of collection of AccessMasks to a resultant AccessMask combining them

Combines AccessWideners using the AccessWidener.plus operator, producing a new AccessWidener that, when applied, produces the same result as applying all of the wideners sequentially. If this Iterable would be considered empty (its Iterator.hasNext would return false on the first iteration), IllegalArgumentException is thrown

fun Iterable<Mappings>.join(intermediateNamespace: String, requireMatch: Boolean = false): Mappings

Joins together an Iterable of Mappings, producing new Mappings that contain all entries from all Mappings. Note: all namespaces are kept, in order to be able to reduce the mappings nicely without a lot of overhead. If you want to exclude certain namespaces, use Mappings.filterNamespaces. If this Iterable would be considered empty (its Iterator.hasNext would return false on the first iteration), EmptyMappings is returned.

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
operator fun minus(other: AccessMask?): AccessMask

Excludes all set AccessTypes in the other from this AccessMask, producing a new AccessMask that therefore contains all AccessTypes in this AccessMask that are not in the other

operator fun minus(other: AccessType?): AccessMask

Removes an AccessType from this AccessMask, producing a new AccessMask that therefore contains all AccessTypes in this AccessMask that are not equal to other. If other is not in this AccessMask, an identical AccessMask will be returned.

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
operator fun plus(other: AccessMask?): AccessMask

Combines this AccessMask and other to produce a new AccessMask that can be interpreted as first applying this AccessMask and then the other.

operator fun plus(other: AccessType?): AccessMask

Combines this AccessMask and other to produce a new AccessMask that can be interpreted as first applying this AccessMask and then the other.

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+ +
+
+
+
+
+
+
+
+ +
+
+
+ + + diff --git a/docs/lib/com.grappenmaker.mappings/-access-mask/iterator.html b/docs/lib/com.grappenmaker.mappings/-access-mask/iterator.html new file mode 100644 index 0000000..a03c6f9 --- /dev/null +++ b/docs/lib/com.grappenmaker.mappings/-access-mask/iterator.html @@ -0,0 +1,76 @@ + + + + + iterator + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

iterator

+
+
open operator override fun iterator(): Iterator<AccessType>

Returns an Iterator that yields all AccessTypes in this AccessMask

+
+ +
+
+
+ + + diff --git a/docs/lib/com.grappenmaker.mappings/-access-mask/minus.html b/docs/lib/com.grappenmaker.mappings/-access-mask/minus.html new file mode 100644 index 0000000..c96e1a8 --- /dev/null +++ b/docs/lib/com.grappenmaker.mappings/-access-mask/minus.html @@ -0,0 +1,76 @@ + + + + + minus + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

minus

+
+
operator fun minus(other: AccessMask?): AccessMask

Excludes all set AccessTypes in the other from this AccessMask, producing a new AccessMask that therefore contains all AccessTypes in this AccessMask that are not in the other


operator fun minus(other: AccessType?): AccessMask

Removes an AccessType from this AccessMask, producing a new AccessMask that therefore contains all AccessTypes in this AccessMask that are not equal to other. If other is not in this AccessMask, an identical AccessMask will be returned.

+
+ +
+
+
+ + + diff --git a/docs/lib/com.grappenmaker.mappings/-access-mask/plus.html b/docs/lib/com.grappenmaker.mappings/-access-mask/plus.html new file mode 100644 index 0000000..d690229 --- /dev/null +++ b/docs/lib/com.grappenmaker.mappings/-access-mask/plus.html @@ -0,0 +1,76 @@ + + + + + plus + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

plus

+
+
operator fun plus(other: AccessMask?): AccessMask

Combines this AccessMask and other to produce a new AccessMask that can be interpreted as first applying this AccessMask and then the other.


operator fun plus(other: AccessType?): AccessMask

Combines this AccessMask and other to produce a new AccessMask that can be interpreted as first applying this AccessMask and then the other.

+
+ +
+
+
+ + + diff --git a/docs/lib/com.grappenmaker.mappings/-access-mask/value.html b/docs/lib/com.grappenmaker.mappings/-access-mask/value.html new file mode 100644 index 0000000..b2b9791 --- /dev/null +++ b/docs/lib/com.grappenmaker.mappings/-access-mask/value.html @@ -0,0 +1,76 @@ + + + + + value + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

value

+
+
val value: Int
+
+ +
+
+
+ + + diff --git a/docs/lib/com.grappenmaker.mappings/-access-type/-a-c-c-e-s-s-i-b-l-e/index.html b/docs/lib/com.grappenmaker.mappings/-access-type/-a-c-c-e-s-s-i-b-l-e/index.html new file mode 100644 index 0000000..9b9f39b --- /dev/null +++ b/docs/lib/com.grappenmaker.mappings/-access-type/-a-c-c-e-s-s-i-b-l-e/index.html @@ -0,0 +1,149 @@ + + + + + ACCESSIBLE + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

ACCESSIBLE

+

Means that a member should be made accessible / public

+
+
+
+
+
+

Properties

+
+
+
+
+ + +
Link copied to clipboard
+
+
+
+
val mask: Int

The value that is equivalent to an AccessMask as an integer instead of a value class

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+ +
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+ +
+
+
+
+
+
+
+

Functions

+
+
+
+
+ + +
Link copied to clipboard
+
+
+
+

Creates an AccessMask containing only this AccessType

+
+
+
+
+
+
+
+
+
+ +
+
+
+ + + diff --git a/docs/lib/com.grappenmaker.mappings/-access-type/-companion/get-or-null.html b/docs/lib/com.grappenmaker.mappings/-access-type/-companion/get-or-null.html new file mode 100644 index 0000000..e2aa838 --- /dev/null +++ b/docs/lib/com.grappenmaker.mappings/-access-type/-companion/get-or-null.html @@ -0,0 +1,76 @@ + + + + + getOrNull + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

getOrNull

+
+

Returns an AccessType associated with a given name, or null when name is not associated with any AccessType

+
+ +
+
+
+ + + diff --git a/docs/lib/com.grappenmaker.mappings/-access-type/-companion/index.html b/docs/lib/com.grappenmaker.mappings/-access-type/-companion/index.html new file mode 100644 index 0000000..7bec957 --- /dev/null +++ b/docs/lib/com.grappenmaker.mappings/-access-type/-companion/index.html @@ -0,0 +1,115 @@ + + + + + Companion + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

Companion

+
object Companion

Allows for easy lookup of AccessTypes by a given String

+
+
+
+
+
+

Functions

+
+
+
+
+ + +
Link copied to clipboard
+
+
+
+

Returns an AccessType associated with a given name, or null when name is not associated with any AccessType

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
operator fun invoke(name: String): AccessType

Returns an AccessType associated with a given name, throws IllegalArgumentException when name is not associated with any AccessType

+
+
+
+
+
+
+
+
+
+ +
+
+
+ + + diff --git a/docs/lib/com.grappenmaker.mappings/-access-type/-companion/invoke.html b/docs/lib/com.grappenmaker.mappings/-access-type/-companion/invoke.html new file mode 100644 index 0000000..8bcb43b --- /dev/null +++ b/docs/lib/com.grappenmaker.mappings/-access-type/-companion/invoke.html @@ -0,0 +1,76 @@ + + + + + invoke + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

invoke

+
+
operator fun invoke(name: String): AccessType

Returns an AccessType associated with a given name, throws IllegalArgumentException when name is not associated with any AccessType

+
+ +
+
+
+ + + diff --git a/docs/lib/com.grappenmaker.mappings/-access-type/-e-x-t-e-n-d-a-b-l-e/index.html b/docs/lib/com.grappenmaker.mappings/-access-type/-e-x-t-e-n-d-a-b-l-e/index.html new file mode 100644 index 0000000..24e29d5 --- /dev/null +++ b/docs/lib/com.grappenmaker.mappings/-access-type/-e-x-t-e-n-d-a-b-l-e/index.html @@ -0,0 +1,149 @@ + + + + + EXTENDABLE + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

EXTENDABLE

+

Means that a method or class should be made non-final and overridable/extendable. Invalid on fields.

+
+
+
+
+
+

Properties

+
+
+
+
+ + +
Link copied to clipboard
+
+
+
+
val mask: Int

The value that is equivalent to an AccessMask as an integer instead of a value class

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+ +
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+ +
+
+
+
+
+
+
+

Functions

+
+
+
+
+ + +
Link copied to clipboard
+
+
+
+

Creates an AccessMask containing only this AccessType

+
+
+
+
+
+
+
+
+
+ +
+
+
+ + + diff --git a/docs/lib/com.grappenmaker.mappings/-access-type/-m-u-t-a-b-l-e/index.html b/docs/lib/com.grappenmaker.mappings/-access-type/-m-u-t-a-b-l-e/index.html new file mode 100644 index 0000000..c199d3e --- /dev/null +++ b/docs/lib/com.grappenmaker.mappings/-access-type/-m-u-t-a-b-l-e/index.html @@ -0,0 +1,149 @@ + + + + + MUTABLE + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

MUTABLE

+

Means that a field should be made non-final (mutable). Invalid on classes and methods. Note: there is no reason for the mappings format to merge this and EXTENDABLE to fix the incompatibility and simplify the format a little, it just is not the case.

+
+
+
+
+
+

Properties

+
+
+
+
+ + +
Link copied to clipboard
+
+
+
+
val mask: Int

The value that is equivalent to an AccessMask as an integer instead of a value class

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+ +
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+ +
+
+
+
+
+
+
+

Functions

+
+
+
+
+ + +
Link copied to clipboard
+
+
+
+

Creates an AccessMask containing only this AccessType

+
+
+
+
+
+
+
+
+
+ +
+
+
+ + + diff --git a/docs/lib/com.grappenmaker.mappings/-access-type/entries.html b/docs/lib/com.grappenmaker.mappings/-access-type/entries.html new file mode 100644 index 0000000..f339f81 --- /dev/null +++ b/docs/lib/com.grappenmaker.mappings/-access-type/entries.html @@ -0,0 +1,76 @@ + + + + + entries + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

entries

+
+

Returns a representation of an immutable list of all enum entries, in the order they're declared.

This method may be used to iterate over the enum entries.

+
+ +
+
+
+ + + diff --git a/docs/lib/com.grappenmaker.mappings/-access-type/index.html b/docs/lib/com.grappenmaker.mappings/-access-type/index.html new file mode 100644 index 0000000..3d7cf34 --- /dev/null +++ b/docs/lib/com.grappenmaker.mappings/-access-type/index.html @@ -0,0 +1,262 @@ + + + + + AccessType + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

AccessType

+

A type of access that can be "widened" on a class, field or method

+
+
+
+
+
+

Entries

+
+
+
+
+ + +
Link copied to clipboard
+
+
+
+

Means that a member should be made accessible / public

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+

Means that a method or class should be made non-final and overridable/extendable. Invalid on fields.

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+

Means that a field should be made non-final (mutable). Invalid on classes and methods. Note: there is no reason for the mappings format to merge this and EXTENDABLE to fix the incompatibility and simplify the format a little, it just is not the case.

+
+
+
+
+
+
+
+

Types

+
+
+
+
+ + +
Link copied to clipboard
+
+
+
+
object Companion

Allows for easy lookup of AccessTypes by a given String

+
+
+
+
+
+
+
+

Properties

+
+
+
+
+ + +
Link copied to clipboard
+
+
+
+

Returns a representation of an immutable list of all enum entries, in the order they're declared.

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
val mask: Int

The value that is equivalent to an AccessMask as an integer instead of a value class

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+ +
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+ +
+
+
+
+
+
+
+

Functions

+
+
+
+
+ + +
Link copied to clipboard
+
+
+
+

Creates an AccessMask containing only this AccessType

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+

Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+

Returns an array containing the constants of this enum type, in the order they're declared.

+
+
+
+
+
+
+
+
+
+ +
+
+
+ + + diff --git a/docs/lib/com.grappenmaker.mappings/-access-type/mask.html b/docs/lib/com.grappenmaker.mappings/-access-type/mask.html new file mode 100644 index 0000000..4afb33f --- /dev/null +++ b/docs/lib/com.grappenmaker.mappings/-access-type/mask.html @@ -0,0 +1,76 @@ + + + + + mask + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

mask

+
+
val mask: Int
+
+ +
+
+
+ + + diff --git a/docs/lib/com.grappenmaker.mappings/-access-type/to-mask.html b/docs/lib/com.grappenmaker.mappings/-access-type/to-mask.html new file mode 100644 index 0000000..e3f3335 --- /dev/null +++ b/docs/lib/com.grappenmaker.mappings/-access-type/to-mask.html @@ -0,0 +1,76 @@ + + + + + toMask + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

toMask

+
+

Creates an AccessMask containing only this AccessType

+
+ +
+
+
+ + + diff --git a/docs/lib/com.grappenmaker.mappings/-access-type/value-of.html b/docs/lib/com.grappenmaker.mappings/-access-type/value-of.html new file mode 100644 index 0000000..a3e6d07 --- /dev/null +++ b/docs/lib/com.grappenmaker.mappings/-access-type/value-of.html @@ -0,0 +1,76 @@ + + + + + valueOf + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

valueOf

+
+

Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)

Throws

if this enum type has no constant with the specified name

+
+ +
+
+
+ + + diff --git a/docs/lib/com.grappenmaker.mappings/-access-type/values.html b/docs/lib/com.grappenmaker.mappings/-access-type/values.html new file mode 100644 index 0000000..31486e0 --- /dev/null +++ b/docs/lib/com.grappenmaker.mappings/-access-type/values.html @@ -0,0 +1,76 @@ + + + + + values + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

values

+
+

Returns an array containing the constants of this enum type, in the order they're declared.

This method may be used to iterate over the constants.

+
+ +
+
+
+ + + diff --git a/docs/lib/com.grappenmaker.mappings/-access-widener-tree/-access-widener-tree.html b/docs/lib/com.grappenmaker.mappings/-access-widener-tree/-access-widener-tree.html new file mode 100644 index 0000000..acd6e42 --- /dev/null +++ b/docs/lib/com.grappenmaker.mappings/-access-widener-tree/-access-widener-tree.html @@ -0,0 +1,76 @@ + + + + + AccessWidenerTree + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

AccessWidenerTree

+
+
constructor(namespace: String, classes: Map<String, AccessedClass>)
+
+ +
+
+
+ + + diff --git a/docs/lib/com.grappenmaker.mappings/-access-widener-tree/classes.html b/docs/lib/com.grappenmaker.mappings/-access-widener-tree/classes.html new file mode 100644 index 0000000..336421f --- /dev/null +++ b/docs/lib/com.grappenmaker.mappings/-access-widener-tree/classes.html @@ -0,0 +1,76 @@ + + + + + classes + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

classes

+
+ +
+ +
+
+
+ + + diff --git a/docs/lib/com.grappenmaker.mappings/-access-widener-tree/index.html b/docs/lib/com.grappenmaker.mappings/-access-widener-tree/index.html new file mode 100644 index 0000000..c0aaa08 --- /dev/null +++ b/docs/lib/com.grappenmaker.mappings/-access-widener-tree/index.html @@ -0,0 +1,134 @@ + + + + + AccessWidenerTree + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

AccessWidenerTree

+
data class AccessWidenerTree(val namespace: String, val classes: Map<String, AccessedClass>)

A tree-like structure that is easier to use when access widening one or more classes

+
+
+
+
+
+

Constructors

+
+
+
+
+ + +
Link copied to clipboard
+
+
+
+
constructor(namespace: String, classes: Map<String, AccessedClass>)
+
+
+
+
+
+
+
+

Properties

+
+
+
+
+ + +
Link copied to clipboard
+
+
+
+

All of the "touched" classes for each internal/JVMS class name

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+

The namespace the names of the members in this tree are in

+
+
+
+
+
+
+
+
+
+ +
+
+
+ + + diff --git a/docs/lib/com.grappenmaker.mappings/-access-widener-tree/namespace.html b/docs/lib/com.grappenmaker.mappings/-access-widener-tree/namespace.html new file mode 100644 index 0000000..31b9d1a --- /dev/null +++ b/docs/lib/com.grappenmaker.mappings/-access-widener-tree/namespace.html @@ -0,0 +1,76 @@ + + + + + namespace + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

namespace

+
+ +
+ +
+
+
+ + + diff --git a/docs/lib/com.grappenmaker.mappings/-access-widener-visitor/-access-widener-visitor.html b/docs/lib/com.grappenmaker.mappings/-access-widener-visitor/-access-widener-visitor.html new file mode 100644 index 0000000..51f8bb0 --- /dev/null +++ b/docs/lib/com.grappenmaker.mappings/-access-widener-visitor/-access-widener-visitor.html @@ -0,0 +1,76 @@ + + + + + AccessWidenerVisitor + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

AccessWidenerVisitor

+
+
constructor(parent: ClassVisitor?, tree: AccessWidenerTree)
+
+ +
+
+
+ + + diff --git a/docs/lib/com.grappenmaker.mappings/-access-widener-visitor/index.html b/docs/lib/com.grappenmaker.mappings/-access-widener-visitor/index.html new file mode 100644 index 0000000..2ee0c1b --- /dev/null +++ b/docs/lib/com.grappenmaker.mappings/-access-widener-visitor/index.html @@ -0,0 +1,344 @@ + + + + + AccessWidenerVisitor + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

AccessWidenerVisitor

+
class AccessWidenerVisitor(parent: ClassVisitor?, tree: AccessWidenerTree) : ClassVisitor

ClassVisitor that can handle access widening tasks

+
+
+
+
+
+

Constructors

+
+
+
+
+ + +
Link copied to clipboard
+
+
+
+
constructor(parent: ClassVisitor?, tree: AccessWidenerTree)
+
+
+
+
+
+
+
+

Functions

+
+
+
+
+ + +
Link copied to clipboard
+
+
+
+
open fun getDelegate(): ClassVisitor
+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
open override fun visit(version: Int, access: Int, name: String, signature: String?, superName: String?, interfaces: Array<String>?)
+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
open fun visitAnnotation(p0: String, p1: Boolean): AnnotationVisitor
+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
open fun visitAttribute(p0: Attribute)
+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
open fun visitEnd()
+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
open override fun visitField(access: Int, name: String, descriptor: String, signature: String?, value: Any?): FieldVisitor?
+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
open override fun visitInnerClass(name: String, outerName: String?, innerName: String?, access: Int)
+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
open override fun visitMethod(access: Int, name: String, descriptor: String, signature: String?, exceptions: Array<String>?): MethodVisitor
+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
open fun visitModule(p0: String, p1: Int, p2: String): ModuleVisitor
+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
open fun visitNestHost(p0: String)
+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
open fun visitNestMember(p0: String)
+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
open fun visitOuterClass(p0: String, p1: String, p2: String)
+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
open override fun visitPermittedSubclass(permittedSubclass: String?)
+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
open fun visitRecordComponent(p0: String, p1: String, p2: String): RecordComponentVisitor
+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
open fun visitSource(p0: String, p1: String)
+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
open fun visitTypeAnnotation(p0: Int, p1: TypePath, p2: String, p3: Boolean): AnnotationVisitor
+
+
+
+
+
+
+
+
+
+ +
+
+
+ + + diff --git a/docs/lib/com.grappenmaker.mappings/-access-widener-visitor/visit-field.html b/docs/lib/com.grappenmaker.mappings/-access-widener-visitor/visit-field.html new file mode 100644 index 0000000..1b1b909 --- /dev/null +++ b/docs/lib/com.grappenmaker.mappings/-access-widener-visitor/visit-field.html @@ -0,0 +1,76 @@ + + + + + visitField + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

visitField

+
+
open override fun visitField(access: Int, name: String, descriptor: String, signature: String?, value: Any?): FieldVisitor?
+
+ +
+
+
+ + + diff --git a/docs/lib/com.grappenmaker.mappings/-access-widener-visitor/visit-inner-class.html b/docs/lib/com.grappenmaker.mappings/-access-widener-visitor/visit-inner-class.html new file mode 100644 index 0000000..10679b5 --- /dev/null +++ b/docs/lib/com.grappenmaker.mappings/-access-widener-visitor/visit-inner-class.html @@ -0,0 +1,76 @@ + + + + + visitInnerClass + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

visitInnerClass

+
+
open override fun visitInnerClass(name: String, outerName: String?, innerName: String?, access: Int)
+
+ +
+
+
+ + + diff --git a/docs/lib/com.grappenmaker.mappings/-access-widener-visitor/visit-method.html b/docs/lib/com.grappenmaker.mappings/-access-widener-visitor/visit-method.html new file mode 100644 index 0000000..7b71b77 --- /dev/null +++ b/docs/lib/com.grappenmaker.mappings/-access-widener-visitor/visit-method.html @@ -0,0 +1,76 @@ + + + + + visitMethod + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

visitMethod

+
+
open override fun visitMethod(access: Int, name: String, descriptor: String, signature: String?, exceptions: Array<String>?): MethodVisitor
+
+ +
+
+
+ + + diff --git a/docs/lib/com.grappenmaker.mappings/-access-widener-visitor/visit-permitted-subclass.html b/docs/lib/com.grappenmaker.mappings/-access-widener-visitor/visit-permitted-subclass.html new file mode 100644 index 0000000..32d592a --- /dev/null +++ b/docs/lib/com.grappenmaker.mappings/-access-widener-visitor/visit-permitted-subclass.html @@ -0,0 +1,76 @@ + + + + + visitPermittedSubclass + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

visitPermittedSubclass

+
+
open override fun visitPermittedSubclass(permittedSubclass: String?)
+
+ +
+
+
+ + + diff --git a/docs/lib/com.grappenmaker.mappings/-access-widener-visitor/visit.html b/docs/lib/com.grappenmaker.mappings/-access-widener-visitor/visit.html new file mode 100644 index 0000000..3118ee0 --- /dev/null +++ b/docs/lib/com.grappenmaker.mappings/-access-widener-visitor/visit.html @@ -0,0 +1,76 @@ + + + + + visit + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

visit

+
+
open override fun visit(version: Int, access: Int, name: String, signature: String?, superName: String?, interfaces: Array<String>?)
+
+ +
+
+
+ + + diff --git a/docs/lib/com.grappenmaker.mappings/-access-widener/-access-widener.html b/docs/lib/com.grappenmaker.mappings/-access-widener/-access-widener.html new file mode 100644 index 0000000..6a63bf9 --- /dev/null +++ b/docs/lib/com.grappenmaker.mappings/-access-widener/-access-widener.html @@ -0,0 +1,76 @@ + + + + + AccessWidener + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

AccessWidener

+
+
constructor(version: Int, namespace: String, classes: Map<String, AccessMask>, methods: Map<AccessedMember, AccessMask>, fields: Map<AccessedMember, AccessMask>)
+
+ +
+
+
+ + + diff --git a/docs/lib/com.grappenmaker.mappings/-access-widener/classes.html b/docs/lib/com.grappenmaker.mappings/-access-widener/classes.html new file mode 100644 index 0000000..a77bff1 --- /dev/null +++ b/docs/lib/com.grappenmaker.mappings/-access-widener/classes.html @@ -0,0 +1,76 @@ + + + + + classes + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

classes

+
+ +
+ +
+
+
+ + + diff --git a/docs/lib/com.grappenmaker.mappings/-access-widener/fields.html b/docs/lib/com.grappenmaker.mappings/-access-widener/fields.html new file mode 100644 index 0000000..f52dd46 --- /dev/null +++ b/docs/lib/com.grappenmaker.mappings/-access-widener/fields.html @@ -0,0 +1,76 @@ + + + + + fields + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

fields

+
+ +
+ +
+
+
+ + + diff --git a/docs/lib/com.grappenmaker.mappings/-access-widener/index.html b/docs/lib/com.grappenmaker.mappings/-access-widener/index.html new file mode 100644 index 0000000..50a7eeb --- /dev/null +++ b/docs/lib/com.grappenmaker.mappings/-access-widener/index.html @@ -0,0 +1,258 @@ + + + + + AccessWidener + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

AccessWidener

+
data class AccessWidener(val version: Int, val namespace: String, val classes: Map<String, AccessMask>, val methods: Map<AccessedMember, AccessMask>, val fields: Map<AccessedMember, AccessMask>)

Represents an access widener file

+
+
+
+
+
+

Constructors

+
+
+
+
+ + +
Link copied to clipboard
+
+
+
+
constructor(version: Int, namespace: String, classes: Map<String, AccessMask>, methods: Map<AccessedMember, AccessMask>, fields: Map<AccessedMember, AccessMask>)
+
+
+
+
+
+
+
+

Properties

+
+
+
+
+ + +
Link copied to clipboard
+
+
+
+

All masks for each "touched" class in the file

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+

All masks for each "touched" field in the file

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+

All masks for each "touched" method in the file

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+

The namespace the names of the members in this file are in

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+

The version (part of the file format but undocumented elsewhere) of the file

+
+
+
+
+
+
+
+

Functions

+
+
+
+
+ + +
Link copied to clipboard
+
+
+
+

Combines this AccessWidener with other, returning a new access widener that, when applied, produces the same result as applying one widener and then the other.

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
fun AccessWidener.remap(mappings: Mappings, toNamespace: String): AccessWidener

Remaps this AccessWidener using mappings to a new namespace toNamespace to produce a new AccessWidener

fun AccessWidener.remap(remapper: Remapper, toNamespace: String): AccessWidener

Remaps this AccessWidener using a remapper to a new namespace toNamespace to produce a new AccessWidener

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+ +
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+

Writes this AccessWidener structure to a file representing this AccessWidener

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+

Writes this AccessWidener structure to a lazily generated sequence representing this AccessWidener

+
+
+
+
+
+
+
+
+
+ +
+
+
+ + + diff --git a/docs/lib/com.grappenmaker.mappings/-access-widener/methods.html b/docs/lib/com.grappenmaker.mappings/-access-widener/methods.html new file mode 100644 index 0000000..27f70ff --- /dev/null +++ b/docs/lib/com.grappenmaker.mappings/-access-widener/methods.html @@ -0,0 +1,76 @@ + + + + + methods + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

methods

+
+ +
+ +
+
+
+ + + diff --git a/docs/lib/com.grappenmaker.mappings/-access-widener/namespace.html b/docs/lib/com.grappenmaker.mappings/-access-widener/namespace.html new file mode 100644 index 0000000..704205c --- /dev/null +++ b/docs/lib/com.grappenmaker.mappings/-access-widener/namespace.html @@ -0,0 +1,76 @@ + + + + + namespace + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

namespace

+
+ +
+ +
+
+
+ + + diff --git a/docs/lib/com.grappenmaker.mappings/-access-widener/version.html b/docs/lib/com.grappenmaker.mappings/-access-widener/version.html new file mode 100644 index 0000000..faca9d9 --- /dev/null +++ b/docs/lib/com.grappenmaker.mappings/-access-widener/version.html @@ -0,0 +1,76 @@ + + + + + version + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

version

+
+ +
+ +
+
+
+ + + diff --git a/docs/lib/com.grappenmaker.mappings/-accessed-class/-accessed-class.html b/docs/lib/com.grappenmaker.mappings/-accessed-class/-accessed-class.html new file mode 100644 index 0000000..09039d9 --- /dev/null +++ b/docs/lib/com.grappenmaker.mappings/-accessed-class/-accessed-class.html @@ -0,0 +1,76 @@ + + + + + AccessedClass + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

AccessedClass

+
+
constructor(mask: AccessMask, methods: Map<MemberIdentifier, AccessMask>, fields: Map<MemberIdentifier, AccessMask>)
+
+ +
+
+
+ + + diff --git a/docs/lib/com.grappenmaker.mappings/-accessed-class/fields.html b/docs/lib/com.grappenmaker.mappings/-accessed-class/fields.html new file mode 100644 index 0000000..106be98 --- /dev/null +++ b/docs/lib/com.grappenmaker.mappings/-accessed-class/fields.html @@ -0,0 +1,76 @@ + + + + + fields + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

fields

+
+ +
+ +
+
+
+ + + diff --git a/docs/lib/com.grappenmaker.mappings/-accessed-class/index.html b/docs/lib/com.grappenmaker.mappings/-accessed-class/index.html new file mode 100644 index 0000000..2c898b1 --- /dev/null +++ b/docs/lib/com.grappenmaker.mappings/-accessed-class/index.html @@ -0,0 +1,179 @@ + + + + + AccessedClass + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

AccessedClass

+
data class AccessedClass(val mask: AccessMask, val methods: Map<MemberIdentifier, AccessMask>, val fields: Map<MemberIdentifier, AccessMask>)

Part of an AccessWidenerTree

+
+
+
+
+
+

Constructors

+
+
+
+
+ + +
Link copied to clipboard
+
+
+
+
constructor(mask: AccessMask, methods: Map<MemberIdentifier, AccessMask>, fields: Map<MemberIdentifier, AccessMask>)
+
+
+
+
+
+
+
+

Properties

+
+
+
+
+ + +
Link copied to clipboard
+
+
+
+

All of the "touched" fields for each name-descriptor pair

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+

The mask that was configured for this class

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+

All of the "touched" methods for each name-descriptor pair

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+

A mask of AccessTypes that are propagated down to the class as a result of wideners in members

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+

The mask that should be applied to this class

+
+
+
+
+
+
+
+
+
+ +
+
+
+ + + diff --git a/docs/lib/com.grappenmaker.mappings/-accessed-class/mask.html b/docs/lib/com.grappenmaker.mappings/-accessed-class/mask.html new file mode 100644 index 0000000..ed7b305 --- /dev/null +++ b/docs/lib/com.grappenmaker.mappings/-accessed-class/mask.html @@ -0,0 +1,76 @@ + + + + + mask + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

mask

+
+ +
+ +
+
+
+ + + diff --git a/docs/lib/com.grappenmaker.mappings/-accessed-class/methods.html b/docs/lib/com.grappenmaker.mappings/-accessed-class/methods.html new file mode 100644 index 0000000..6f0d195 --- /dev/null +++ b/docs/lib/com.grappenmaker.mappings/-accessed-class/methods.html @@ -0,0 +1,76 @@ + + + + + methods + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

methods

+
+ +
+ +
+
+
+ + + diff --git a/docs/lib/com.grappenmaker.mappings/-accessed-class/propagated.html b/docs/lib/com.grappenmaker.mappings/-accessed-class/propagated.html new file mode 100644 index 0000000..0c6c477 --- /dev/null +++ b/docs/lib/com.grappenmaker.mappings/-accessed-class/propagated.html @@ -0,0 +1,76 @@ + + + + + propagated + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

propagated

+
+ +
+ +
+
+
+ + + diff --git a/docs/lib/com.grappenmaker.mappings/-accessed-class/total.html b/docs/lib/com.grappenmaker.mappings/-accessed-class/total.html new file mode 100644 index 0000000..0ea06b9 --- /dev/null +++ b/docs/lib/com.grappenmaker.mappings/-accessed-class/total.html @@ -0,0 +1,76 @@ + + + + + total + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

total

+
+ +
+ +
+
+
+ + + diff --git a/docs/lib/com.grappenmaker.mappings/-accessed-member/-accessed-member.html b/docs/lib/com.grappenmaker.mappings/-accessed-member/-accessed-member.html new file mode 100644 index 0000000..be8d421 --- /dev/null +++ b/docs/lib/com.grappenmaker.mappings/-accessed-member/-accessed-member.html @@ -0,0 +1,76 @@ + + + + + AccessedMember + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

AccessedMember

+
+
constructor(owner: String, name: String, desc: String)
+
+ +
+
+
+ + + diff --git a/docs/lib/com.grappenmaker.mappings/-accessed-member/desc.html b/docs/lib/com.grappenmaker.mappings/-accessed-member/desc.html new file mode 100644 index 0000000..608fa58 --- /dev/null +++ b/docs/lib/com.grappenmaker.mappings/-accessed-member/desc.html @@ -0,0 +1,76 @@ + + + + + desc + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

desc

+
+ +
+ +
+
+
+ + + diff --git a/docs/lib/com.grappenmaker.mappings/-accessed-member/index.html b/docs/lib/com.grappenmaker.mappings/-accessed-member/index.html new file mode 100644 index 0000000..3852d57 --- /dev/null +++ b/docs/lib/com.grappenmaker.mappings/-accessed-member/index.html @@ -0,0 +1,149 @@ + + + + + AccessedMember + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

AccessedMember

+
data class AccessedMember(val owner: String, val name: String, val desc: String)

Represents a field or method that is being widened

+
+
+
+
+
+

Constructors

+
+
+
+
+ + +
Link copied to clipboard
+
+
+
+
constructor(owner: String, name: String, desc: String)
+
+
+
+
+
+
+
+

Properties

+
+
+
+
+ + +
Link copied to clipboard
+
+
+
+

The descriptor of the represented member

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+

The name of the represented member

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+

The internal/JVMS name of the owner of the represented member

+
+
+
+
+
+
+
+
+
+ +
+
+
+ + + diff --git a/docs/lib/com.grappenmaker.mappings/-accessed-member/name.html b/docs/lib/com.grappenmaker.mappings/-accessed-member/name.html new file mode 100644 index 0000000..6c12ed3 --- /dev/null +++ b/docs/lib/com.grappenmaker.mappings/-accessed-member/name.html @@ -0,0 +1,76 @@ + + + + + name + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

name

+
+ +
+ +
+
+
+ + + diff --git a/docs/lib/com.grappenmaker.mappings/-accessed-member/owner.html b/docs/lib/com.grappenmaker.mappings/-accessed-member/owner.html new file mode 100644 index 0000000..7e299fc --- /dev/null +++ b/docs/lib/com.grappenmaker.mappings/-accessed-member/owner.html @@ -0,0 +1,76 @@ + + + + + owner + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

owner

+
+ +
+ +
+
+
+ + + diff --git a/docs/lib/com.grappenmaker.mappings/-c-s-r-g-mappings-format/index.html b/docs/lib/com.grappenmaker.mappings/-c-s-r-g-mappings-format/index.html new file mode 100644 index 0000000..8c8a853 --- /dev/null +++ b/docs/lib/com.grappenmaker.mappings/-c-s-r-g-mappings-format/index.html @@ -0,0 +1,160 @@ + + + + + CSRGMappingsFormat + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

CSRGMappingsFormat

+

Represents the CSRG mappings format

+
+
+
+
+
+

Functions

+
+
+
+
+ + +
Link copied to clipboard
+
+
+
+
open override fun detect(lines: List<String>): Boolean

Returns whether this MappingsFormat thinks the lines represent a valid input for the mappings parser

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
open override fun parse(lines: Iterator<String>): CSRGMappings

Parses lines (an iterator of lines in a mappings file) into a mappings data structure. Throws an IllegalStateException when lines is not a valid input for this mappings format.

open fun parse(lines: List<String>): CSRGMappings

Parses lines (representing a mappings file) into a mappings data structure. Throws an IllegalStateException when lines is not a valid input for this mappings format. To check if lines can be parsed, you could invoke detect.

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+

Parses lines (a Sequence of lines in a mappings file) into a mappings data structure. Throws an IllegalStateException when lines is not a valid input for this mappings format.

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
open fun write(mappings: CSRGMappings): List<String>

Writes mappings compatible with this MappingsFormat back to a list of lines representing a mappings file

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
open override fun writeLazy(mappings: CSRGMappings): Sequence<String>

Writes mappings compatible with this MappingsFormat to a lazily evaluated Sequence

+
+
+
+
+
+
+
+
+
+ +
+
+
+ + + diff --git a/docs/lib/com.grappenmaker.mappings/-c-s-r-g-mappings-format/parse.html b/docs/lib/com.grappenmaker.mappings/-c-s-r-g-mappings-format/parse.html new file mode 100644 index 0000000..9cfd8f8 --- /dev/null +++ b/docs/lib/com.grappenmaker.mappings/-c-s-r-g-mappings-format/parse.html @@ -0,0 +1,76 @@ + + + + + parse + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

parse

+
+
open override fun parse(lines: Iterator<String>): CSRGMappings

Parses lines (an iterator of lines in a mappings file) into a mappings data structure. Throws an IllegalStateException when lines is not a valid input for this mappings format.

+
+ +
+
+
+ + + diff --git a/docs/lib/com.grappenmaker.mappings/-c-s-r-g-mappings-format/write-lazy.html b/docs/lib/com.grappenmaker.mappings/-c-s-r-g-mappings-format/write-lazy.html new file mode 100644 index 0000000..aff7517 --- /dev/null +++ b/docs/lib/com.grappenmaker.mappings/-c-s-r-g-mappings-format/write-lazy.html @@ -0,0 +1,76 @@ + + + + + writeLazy + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

writeLazy

+
+
open override fun writeLazy(mappings: CSRGMappings): Sequence<String>

Writes mappings compatible with this MappingsFormat to a lazily evaluated Sequence

+
+ +
+
+
+ + + diff --git a/docs/lib/com.grappenmaker.mappings/-c-s-r-g-mappings/-c-s-r-g-mappings.html b/docs/lib/com.grappenmaker.mappings/-c-s-r-g-mappings/-c-s-r-g-mappings.html new file mode 100644 index 0000000..a10419e --- /dev/null +++ b/docs/lib/com.grappenmaker.mappings/-c-s-r-g-mappings/-c-s-r-g-mappings.html @@ -0,0 +1,76 @@ + + + + + CSRGMappings + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

CSRGMappings

+
+
constructor(classes: List<MappedClass>)
+
+ +
+
+
+ + + diff --git a/docs/lib/com.grappenmaker.mappings/-c-s-r-g-mappings/classes.html b/docs/lib/com.grappenmaker.mappings/-c-s-r-g-mappings/classes.html new file mode 100644 index 0000000..57a3e80 --- /dev/null +++ b/docs/lib/com.grappenmaker.mappings/-c-s-r-g-mappings/classes.html @@ -0,0 +1,76 @@ + + + + + classes + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

classes

+
+
open override val classes: List<MappedClass>
+
+ +
+
+
+ + + diff --git a/docs/lib/com.grappenmaker.mappings/-c-s-r-g-mappings/index.html b/docs/lib/com.grappenmaker.mappings/-c-s-r-g-mappings/index.html new file mode 100644 index 0000000..85735e2 --- /dev/null +++ b/docs/lib/com.grappenmaker.mappings/-c-s-r-g-mappings/index.html @@ -0,0 +1,543 @@ + + + + + CSRGMappings + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

CSRGMappings

+
data class CSRGMappings(val classes: List<MappedClass>) : Mappings

Represents a CSRG Mappings file

+
+
+
+
+
+

Constructors

+
+
+
+
+ + +
Link copied to clipboard
+
+
+
+
constructor(classes: List<MappedClass>)
+
+
+
+
+
+
+
+

Properties

+
+
+
+
+ + +
Link copied to clipboard
+
+
+
+
open override val classes: List<MappedClass>

All mapped classes in this mappings file (in order, not important)

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
open override val namespaces: List<String>

All namespaces (in order) that this mappings file supports/contains

+
+
+
+
+
+
+
+

Functions

+
+
+
+
+ + +
Link copied to clipboard
+
+
+
+
fun Mappings.asASMMapping(from: String, to: String, includeMethods: Boolean = true, includeFields: Boolean = true): Map<String, String>

Returns a simple mapping representing all of the Mappings, mapping between the namespaces from and to. If includeMethods is true, then methods will be included in the mapping. If includeFields is true, then fields will be included in the mapping.

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+ +
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+ +
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+ +
+
+ +
+
+
+ + +
Link copied to clipboard
+
+ +
+
+ +
+
+
+ + +
Link copied to clipboard
+
+ +
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+ +
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
fun Mappings.asSimpleRemapper(from: String, to: String): SimpleRemapper

Returns an asm SimpleRemapper for remapping references between namespaces from and to disregarding inheritance and lambdas. For proper remapping, you should use the MappingsRemapper.

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+

Converts these Mappings to SRGMappings, enabling XSRG when extended is true.

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+

Converts these Mappings to TinyMappings, enabling Tiny v2 when v2 is true.

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+

Converts these Mappings to TSRGMappings, enabling TSRG v2 when v2 is true.

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+

Removes all duplicate namespace usages in this Mappings.

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+

Transforms this Mappings structure to a generic mappings implementation that maps between from and to.

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
inline fun Mappings.filterClasses(predicate: (MappedClass) -> Boolean): Mappings

Filters classes matching the predicate

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
inline fun Mappings.filterMethods(predicate: (owner: MappedClass, method: MappedMethod) -> Boolean): Mappings

Filters methods matching the predicate

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
fun Mappings.filterNamespaces(vararg allowed: String, allowDuplicates: Boolean = false): Mappings
fun Mappings.filterNamespaces(allowed: Set<String>, allowDuplicates: Boolean = false): Mappings

Filters these Mappings to only contain namespaces that are in allowed. If allowDuplicates is true, the returned Mappings will also have duplicate namespaces removed.

inline fun Mappings.filterNamespaces(allowDuplicates: Boolean = false, predicate: (String) -> Boolean): Mappings

Filters these Mappings to only contain namespaces for which the predicate returns true. If allowDuplicates is true, the returned Mappings will also have duplicate namespaces removed.

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
fun Mappings.join(otherMappings: Mappings, intermediateNamespace: String, requireMatch: Boolean = false): Mappings

Joins together this Mappings with otherMappings, by matching on intermediateNamespace, producing new Mappings that contain all entries from this Mappings and otherMappings. If requireMatch is true, this method will throw an exception when no method or field or class is found

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+

Maps classes according to the given block

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
inline fun Mappings.mapMethods(block: (owner: MappedClass, method: MappedMethod) -> MappedMethod): Mappings

Maps methods according to the given block

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+

Returns the index of a namespace named name, but throws an IllegalStateException when name is not in the Mappings.namespaces.

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+

See recoverFieldDescriptors. file is a jar file resource (caller is responsible for closing it) that contains the classes that are referenced in the generic overload.

fun Mappings.recoverFieldDescriptors(bytesProvider: (name: String) -> ByteArray?): Mappings

Attempts to recover field descriptors that are missing because the original mappings format did not specify them. bytesProvider is responsible for providing all of the classes that might be referenced in this Mappings object, such that the descriptors can be recovered based on named (fields can be uniquely identified by an owner-name pair). When field descriptors were not found, field mappings will not be passed onto the new Mappings as field mappings without descriptors will be considered invalid.

@JvmName(name = "recoverDescsByNode")
fun Mappings.recoverFieldDescriptors(nodeProvider: (name: String) -> ClassNode?): Mappings

Attempts to recover field descriptors that are missing because the original mappings format did not specify them. nodeProvider is responsible for providing all of the ClassNodes that might be referenced in this Mappings object, such that the descriptors can be recovered based on named (fields can be uniquely identified by an owner-name pair). When field descriptors were not found, field mappings will not be passed onto the new Mappings as field mappings without descriptors will be considered invalid.

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+

Returns new Mappings that are identical to these Mappings, except the comments will be removed

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
fun Mappings.removeRedundancy(inheritanceProvider: InheritanceProvider, removeDuplicateMethods: Boolean = false): Mappings

Removes redundant or straight up incorrect data from this Mappings object, by looking at the inheritance information present in class files, presented by the inheritanceProvider.

fun Mappings.removeRedundancy(file: JarFile, removeDuplicateMethods: Boolean = false): Mappings

See removeRedundancy. file is a jar file resource (caller is responsible for closing it) that contains the classes that are referenced in the generic overload. Calls with identical names are being cached by this function, the caller is not responsible for this.

fun Mappings.removeRedundancy(removeDuplicateMethods: Boolean = false, loader: ClasspathLoader): Mappings

Removes redundant or straight up incorrect data from this Mappings object, by looking at the inheritance information present in class files, presented by the loader.

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+

Swaps out the names for the namespaces in this Mappings data structure.

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+

Swaps out the names for the namespaces in this Mappings data structure, by reordering. Duplicate names are allowed, in which case mapped entries are duplicated to fit the new order. If a name in Mappings.namespaces does not appear in order, its mapping entries will be missing in the returned Mappings.

Swaps out the names for the namespaces in this Mappings data structure, by reordering. Duplicate names are allowed, in which case mapped entries are duplicated to fit the new order. If a name in Mappings.namespaces does not appear in order, its mapping entries will be missing in the returned Mappings. If a namespace in order does not exist in this Mappings, an IllegalArgumentException will be thrown.

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+

Writes CSRGMappings to a mappings file represented by a list of strings

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+

Writes CSRGMappings as a lazily evaluated Sequence

+
+
+
+
+
+
+
+
+
+ +
+
+
+ + + diff --git a/docs/lib/com.grappenmaker.mappings/-c-s-r-g-mappings/namespaces.html b/docs/lib/com.grappenmaker.mappings/-c-s-r-g-mappings/namespaces.html new file mode 100644 index 0000000..08f2919 --- /dev/null +++ b/docs/lib/com.grappenmaker.mappings/-c-s-r-g-mappings/namespaces.html @@ -0,0 +1,76 @@ + + + + + namespaces + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

namespaces

+
+
open override val namespaces: List<String>
+
+ +
+
+
+ + + diff --git a/docs/lib/com.grappenmaker.mappings/-classpath-loader/index.html b/docs/lib/com.grappenmaker.mappings/-classpath-loader/index.html new file mode 100644 index 0000000..c90f542 --- /dev/null +++ b/docs/lib/com.grappenmaker.mappings/-classpath-loader/index.html @@ -0,0 +1,80 @@ + + + + + ClasspathLoader + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

ClasspathLoader

+
typealias ClasspathLoader = (name: String) -> ByteArray?

An alias for a function that returns class file buffers given an internal/JVMS class name

+
+
+
+
+
+
+ +
+
+
+ + + diff --git a/docs/lib/com.grappenmaker.mappings/-classpath-loaders/compound.html b/docs/lib/com.grappenmaker.mappings/-classpath-loaders/compound.html new file mode 100644 index 0000000..711e753 --- /dev/null +++ b/docs/lib/com.grappenmaker.mappings/-classpath-loaders/compound.html @@ -0,0 +1,76 @@ + + + + + compound + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

compound

+
+

Combines several loaders into a single classpath loader, that queries each loader in order, returning the first nonnull value

+
+ +
+
+
+ + + diff --git a/docs/lib/com.grappenmaker.mappings/-classpath-loaders/from-jar.html b/docs/lib/com.grappenmaker.mappings/-classpath-loaders/from-jar.html new file mode 100644 index 0000000..23528fa --- /dev/null +++ b/docs/lib/com.grappenmaker.mappings/-classpath-loaders/from-jar.html @@ -0,0 +1,76 @@ + + + + + fromJar + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

fromJar

+
+

Attempts to load classes a jar, the caller is responsible for closing jar when it is no longer relevant / used in the remapper

+
+ +
+
+
+ + + diff --git a/docs/lib/com.grappenmaker.mappings/-classpath-loaders/from-jars.html b/docs/lib/com.grappenmaker.mappings/-classpath-loaders/from-jars.html new file mode 100644 index 0000000..4d48873 --- /dev/null +++ b/docs/lib/com.grappenmaker.mappings/-classpath-loaders/from-jars.html @@ -0,0 +1,76 @@ + + + + + fromJars + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

fromJars

+
+

Attempts to load classes from jars, the caller is responsible for closing those jar files when they are no longer relevant / used in the remapper

+
+ +
+
+
+ + + diff --git a/docs/lib/com.grappenmaker.mappings/-classpath-loaders/from-loader.html b/docs/lib/com.grappenmaker.mappings/-classpath-loaders/from-loader.html new file mode 100644 index 0000000..912de3d --- /dev/null +++ b/docs/lib/com.grappenmaker.mappings/-classpath-loaders/from-loader.html @@ -0,0 +1,76 @@ + + + + + fromLoader + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

fromLoader

+
+

Attempts to load classes using resources in loader

+
+ +
+
+
+ + + diff --git a/docs/lib/com.grappenmaker.mappings/-classpath-loaders/from-lookup.html b/docs/lib/com.grappenmaker.mappings/-classpath-loaders/from-lookup.html new file mode 100644 index 0000000..da426c1 --- /dev/null +++ b/docs/lib/com.grappenmaker.mappings/-classpath-loaders/from-lookup.html @@ -0,0 +1,76 @@ + + + + + fromLookup + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

fromLookup

+
+

Creates a ClasspathLoader from a lookup, which should have JVMS internal names as keys, and class file buffers as values

+
+ +
+
+
+ + + diff --git a/docs/lib/com.grappenmaker.mappings/-classpath-loaders/from-system-loader.html b/docs/lib/com.grappenmaker.mappings/-classpath-loaders/from-system-loader.html new file mode 100644 index 0000000..4dee6ea --- /dev/null +++ b/docs/lib/com.grappenmaker.mappings/-classpath-loaders/from-system-loader.html @@ -0,0 +1,76 @@ + + + + + fromSystemLoader + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

fromSystemLoader

+
+

Attempts to load classes using resources in the system class loader

+
+ +
+
+
+ + + diff --git a/docs/lib/com.grappenmaker.mappings/-classpath-loaders/index.html b/docs/lib/com.grappenmaker.mappings/-classpath-loaders/index.html new file mode 100644 index 0000000..9a2577a --- /dev/null +++ b/docs/lib/com.grappenmaker.mappings/-classpath-loaders/index.html @@ -0,0 +1,175 @@ + + + + + ClasspathLoaders + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

ClasspathLoaders

+

Provides default implementations for the classpath loaders in MappingsRemapper

+
+
+
+
+
+

Functions

+
+
+
+
+ + +
Link copied to clipboard
+
+
+
+

Combines several loaders into a single classpath loader, that queries each loader in order, returning the first nonnull value

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+

Attempts to load classes a jar, the caller is responsible for closing jar when it is no longer relevant / used in the remapper

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+

Attempts to load classes from jars, the caller is responsible for closing those jar files when they are no longer relevant / used in the remapper

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+

Attempts to load classes using resources in loader

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+

Creates a ClasspathLoader from a lookup, which should have JVMS internal names as keys, and class file buffers as values

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+

Attempts to load classes using resources in the system class loader

+
+
+
+
+
+
+
+
+
+ +
+
+
+ + + diff --git a/docs/lib/com.grappenmaker.mappings/-commented/comments.html b/docs/lib/com.grappenmaker.mappings/-commented/comments.html new file mode 100644 index 0000000..027b078 --- /dev/null +++ b/docs/lib/com.grappenmaker.mappings/-commented/comments.html @@ -0,0 +1,76 @@ + + + + + comments + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

comments

+
+
abstract val comments: List<String>
+
+ +
+
+
+ + + diff --git a/docs/lib/com.grappenmaker.mappings/-commented/index.html b/docs/lib/com.grappenmaker.mappings/-commented/index.html new file mode 100644 index 0000000..2e74c20 --- /dev/null +++ b/docs/lib/com.grappenmaker.mappings/-commented/index.html @@ -0,0 +1,100 @@ + + + + + Commented + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

Commented

+
sealed interface Commented

Represents any entity that can have comments (commonly used in Tiny mappings)

Inheritors

+
+
+
+
+
+

Properties

+
+
+
+
+ + +
Link copied to clipboard
+
+
+
+
abstract val comments: List<String>

All comments that the author of some Mappings file wrote

+
+
+
+
+
+
+
+
+
+ +
+
+
+ + + diff --git a/docs/lib/com.grappenmaker.mappings/-compacted-mappings-format/index.html b/docs/lib/com.grappenmaker.mappings/-compacted-mappings-format/index.html new file mode 100644 index 0000000..be3a2ab --- /dev/null +++ b/docs/lib/com.grappenmaker.mappings/-compacted-mappings-format/index.html @@ -0,0 +1,130 @@ + + + + + CompactedMappingsFormat + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

CompactedMappingsFormat

+

Represents the compacted mappings format. Note: this does not support the usual MappingsFormat capability, since this is the only mappings format that has a binary representation. Compacted mappings should be explicitly handled through this object

+
+
+
+
+
+

Functions

+
+
+
+
+ + +
Link copied to clipboard
+
+
+
+

Parses some CompactedMappings that is an equivalent representation of a given InputStream (when fully read)

Parses some CompactedMappings that is an equivalent representation of the given buffer as bytes

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+

Writes some mappings to a buffer that is an equivalent representation of the mappings

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
fun writeTo(mappings: CompactedMappings, stream: OutputStream)

Writes some mappings to an OutputStream as an equivalent representation

+
+
+
+
+
+
+
+
+
+ +
+
+
+ + + diff --git a/docs/lib/com.grappenmaker.mappings/-compacted-mappings-format/parse.html b/docs/lib/com.grappenmaker.mappings/-compacted-mappings-format/parse.html new file mode 100644 index 0000000..5147479 --- /dev/null +++ b/docs/lib/com.grappenmaker.mappings/-compacted-mappings-format/parse.html @@ -0,0 +1,76 @@ + + + + + parse + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

parse

+
+

Parses some CompactedMappings that is an equivalent representation of the given buffer as bytes


Parses some CompactedMappings that is an equivalent representation of a given InputStream (when fully read)

+
+ +
+
+
+ + + diff --git a/docs/lib/com.grappenmaker.mappings/-compacted-mappings-format/write-to.html b/docs/lib/com.grappenmaker.mappings/-compacted-mappings-format/write-to.html new file mode 100644 index 0000000..324b9a1 --- /dev/null +++ b/docs/lib/com.grappenmaker.mappings/-compacted-mappings-format/write-to.html @@ -0,0 +1,76 @@ + + + + + writeTo + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

writeTo

+
+
fun writeTo(mappings: CompactedMappings, stream: OutputStream)

Writes some mappings to an OutputStream as an equivalent representation

+
+ +
+
+
+ + + diff --git a/docs/lib/com.grappenmaker.mappings/-compacted-mappings-format/write.html b/docs/lib/com.grappenmaker.mappings/-compacted-mappings-format/write.html new file mode 100644 index 0000000..3af219f --- /dev/null +++ b/docs/lib/com.grappenmaker.mappings/-compacted-mappings-format/write.html @@ -0,0 +1,76 @@ + + + + + write + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

write

+
+

Writes some mappings to a buffer that is an equivalent representation of the mappings

+
+ +
+
+
+ + + diff --git a/docs/lib/com.grappenmaker.mappings/-compacted-mappings/-compacted-mappings.html b/docs/lib/com.grappenmaker.mappings/-compacted-mappings/-compacted-mappings.html new file mode 100644 index 0000000..8df5c90 --- /dev/null +++ b/docs/lib/com.grappenmaker.mappings/-compacted-mappings/-compacted-mappings.html @@ -0,0 +1,76 @@ + + + + + CompactedMappings + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

CompactedMappings

+
+
constructor(namespaces: List<String>, classes: List<MappedClass>, version: Int = 2)
+
+ +
+
+
+ + + diff --git a/docs/lib/com.grappenmaker.mappings/-compacted-mappings/classes.html b/docs/lib/com.grappenmaker.mappings/-compacted-mappings/classes.html new file mode 100644 index 0000000..7648a86 --- /dev/null +++ b/docs/lib/com.grappenmaker.mappings/-compacted-mappings/classes.html @@ -0,0 +1,76 @@ + + + + + classes + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

classes

+
+
open override val classes: List<MappedClass>
+
+ +
+
+
+ + + diff --git a/docs/lib/com.grappenmaker.mappings/-compacted-mappings/index.html b/docs/lib/com.grappenmaker.mappings/-compacted-mappings/index.html new file mode 100644 index 0000000..62f9b08 --- /dev/null +++ b/docs/lib/com.grappenmaker.mappings/-compacted-mappings/index.html @@ -0,0 +1,558 @@ + + + + + CompactedMappings + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

CompactedMappings

+
data class CompactedMappings(val namespaces: List<String>, val classes: List<MappedClass>, val version: Int = 2) : Mappings

Represents a compacted mappings file. See CompactedMappingsFormat

+
+
+
+
+
+

Constructors

+
+
+
+
+ + +
Link copied to clipboard
+
+
+
+
constructor(namespaces: List<String>, classes: List<MappedClass>, version: Int = 2)
+
+
+
+
+
+
+
+

Properties

+
+
+
+
+ + +
Link copied to clipboard
+
+
+
+
open override val classes: List<MappedClass>

All mapped classes in this mappings file (in order, not important)

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
open override val namespaces: List<String>

All namespaces (in order) that this mappings file supports/contains

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
val version: Int = 2

The version of this mappings file. Currently, this is either 1 or 2.

+
+
+
+
+
+
+
+

Functions

+
+
+
+
+ + +
Link copied to clipboard
+
+
+
+
fun Mappings.asASMMapping(from: String, to: String, includeMethods: Boolean = true, includeFields: Boolean = true): Map<String, String>

Returns a simple mapping representing all of the Mappings, mapping between the namespaces from and to. If includeMethods is true, then methods will be included in the mapping. If includeFields is true, then fields will be included in the mapping.

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+ +
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+ +
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+ +
+
+ +
+
+
+ + +
Link copied to clipboard
+
+ +
+
+ +
+
+
+ + +
Link copied to clipboard
+
+ +
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+ +
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
fun Mappings.asSimpleRemapper(from: String, to: String): SimpleRemapper

Returns an asm SimpleRemapper for remapping references between namespaces from and to disregarding inheritance and lambdas. For proper remapping, you should use the MappingsRemapper.

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+

Converts these Mappings to SRGMappings, enabling XSRG when extended is true.

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+

Converts these Mappings to TinyMappings, enabling Tiny v2 when v2 is true.

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+

Converts these Mappings to TSRGMappings, enabling TSRG v2 when v2 is true.

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+

Removes all duplicate namespace usages in this Mappings.

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+

Transforms this Mappings structure to a generic mappings implementation that maps between from and to.

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
inline fun Mappings.filterClasses(predicate: (MappedClass) -> Boolean): Mappings

Filters classes matching the predicate

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
inline fun Mappings.filterMethods(predicate: (owner: MappedClass, method: MappedMethod) -> Boolean): Mappings

Filters methods matching the predicate

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
fun Mappings.filterNamespaces(vararg allowed: String, allowDuplicates: Boolean = false): Mappings
fun Mappings.filterNamespaces(allowed: Set<String>, allowDuplicates: Boolean = false): Mappings

Filters these Mappings to only contain namespaces that are in allowed. If allowDuplicates is true, the returned Mappings will also have duplicate namespaces removed.

inline fun Mappings.filterNamespaces(allowDuplicates: Boolean = false, predicate: (String) -> Boolean): Mappings

Filters these Mappings to only contain namespaces for which the predicate returns true. If allowDuplicates is true, the returned Mappings will also have duplicate namespaces removed.

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
fun Mappings.join(otherMappings: Mappings, intermediateNamespace: String, requireMatch: Boolean = false): Mappings

Joins together this Mappings with otherMappings, by matching on intermediateNamespace, producing new Mappings that contain all entries from this Mappings and otherMappings. If requireMatch is true, this method will throw an exception when no method or field or class is found

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+

Maps classes according to the given block

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
inline fun Mappings.mapMethods(block: (owner: MappedClass, method: MappedMethod) -> MappedMethod): Mappings

Maps methods according to the given block

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+

Returns the index of a namespace named name, but throws an IllegalStateException when name is not in the Mappings.namespaces.

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+

See recoverFieldDescriptors. file is a jar file resource (caller is responsible for closing it) that contains the classes that are referenced in the generic overload.

fun Mappings.recoverFieldDescriptors(bytesProvider: (name: String) -> ByteArray?): Mappings

Attempts to recover field descriptors that are missing because the original mappings format did not specify them. bytesProvider is responsible for providing all of the classes that might be referenced in this Mappings object, such that the descriptors can be recovered based on named (fields can be uniquely identified by an owner-name pair). When field descriptors were not found, field mappings will not be passed onto the new Mappings as field mappings without descriptors will be considered invalid.

@JvmName(name = "recoverDescsByNode")
fun Mappings.recoverFieldDescriptors(nodeProvider: (name: String) -> ClassNode?): Mappings

Attempts to recover field descriptors that are missing because the original mappings format did not specify them. nodeProvider is responsible for providing all of the ClassNodes that might be referenced in this Mappings object, such that the descriptors can be recovered based on named (fields can be uniquely identified by an owner-name pair). When field descriptors were not found, field mappings will not be passed onto the new Mappings as field mappings without descriptors will be considered invalid.

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+

Returns new Mappings that are identical to these Mappings, except the comments will be removed

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
fun Mappings.removeRedundancy(inheritanceProvider: InheritanceProvider, removeDuplicateMethods: Boolean = false): Mappings

Removes redundant or straight up incorrect data from this Mappings object, by looking at the inheritance information present in class files, presented by the inheritanceProvider.

fun Mappings.removeRedundancy(file: JarFile, removeDuplicateMethods: Boolean = false): Mappings

See removeRedundancy. file is a jar file resource (caller is responsible for closing it) that contains the classes that are referenced in the generic overload. Calls with identical names are being cached by this function, the caller is not responsible for this.

fun Mappings.removeRedundancy(removeDuplicateMethods: Boolean = false, loader: ClasspathLoader): Mappings

Removes redundant or straight up incorrect data from this Mappings object, by looking at the inheritance information present in class files, presented by the loader.

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+

Swaps out the names for the namespaces in this Mappings data structure.

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+

Swaps out the names for the namespaces in this Mappings data structure, by reordering. Duplicate names are allowed, in which case mapped entries are duplicated to fit the new order. If a name in Mappings.namespaces does not appear in order, its mapping entries will be missing in the returned Mappings.

Swaps out the names for the namespaces in this Mappings data structure, by reordering. Duplicate names are allowed, in which case mapped entries are duplicated to fit the new order. If a name in Mappings.namespaces does not appear in order, its mapping entries will be missing in the returned Mappings. If a namespace in order does not exist in this Mappings, an IllegalArgumentException will be thrown.

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+

Writes CompactedMappings as its binary representation

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+

Writes some mappings to an OutputStream as an equivalent representation

+
+
+
+
+
+
+
+
+
+ +
+
+
+ + + diff --git a/docs/lib/com.grappenmaker.mappings/-compacted-mappings/namespaces.html b/docs/lib/com.grappenmaker.mappings/-compacted-mappings/namespaces.html new file mode 100644 index 0000000..ed09182 --- /dev/null +++ b/docs/lib/com.grappenmaker.mappings/-compacted-mappings/namespaces.html @@ -0,0 +1,76 @@ + + + + + namespaces + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

namespaces

+
+
open override val namespaces: List<String>
+
+ +
+
+
+ + + diff --git a/docs/lib/com.grappenmaker.mappings/-compacted-mappings/version.html b/docs/lib/com.grappenmaker.mappings/-compacted-mappings/version.html new file mode 100644 index 0000000..3826564 --- /dev/null +++ b/docs/lib/com.grappenmaker.mappings/-compacted-mappings/version.html @@ -0,0 +1,76 @@ + + + + + version + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

version

+
+
val version: Int = 2
+
+ +
+
+
+ + + diff --git a/docs/lib/com.grappenmaker.mappings/-empty-mappings/classes.html b/docs/lib/com.grappenmaker.mappings/-empty-mappings/classes.html new file mode 100644 index 0000000..740155a --- /dev/null +++ b/docs/lib/com.grappenmaker.mappings/-empty-mappings/classes.html @@ -0,0 +1,76 @@ + + + + + classes + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

classes

+
+
open override val classes: List<MappedClass>
+
+ +
+
+
+ + + diff --git a/docs/lib/com.grappenmaker.mappings/-empty-mappings/index.html b/docs/lib/com.grappenmaker.mappings/-empty-mappings/index.html new file mode 100644 index 0000000..550c513 --- /dev/null +++ b/docs/lib/com.grappenmaker.mappings/-empty-mappings/index.html @@ -0,0 +1,494 @@ + + + + + EmptyMappings + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

EmptyMappings

+
data object EmptyMappings : Mappings

Represents an empty mappings object, with no data.

+
+
+
+
+
+

Properties

+
+
+
+
+ + +
Link copied to clipboard
+
+
+
+
open override val classes: List<MappedClass>

All mapped classes in this mappings file (in order, not important)

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
open override val namespaces: List<String>

All namespaces (in order) that this mappings file supports/contains

+
+
+
+
+
+
+
+

Functions

+
+
+
+
+ + +
Link copied to clipboard
+
+
+
+
fun Mappings.asASMMapping(from: String, to: String, includeMethods: Boolean = true, includeFields: Boolean = true): Map<String, String>

Returns a simple mapping representing all of the Mappings, mapping between the namespaces from and to. If includeMethods is true, then methods will be included in the mapping. If includeFields is true, then fields will be included in the mapping.

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+ +
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+ +
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+ +
+
+ +
+
+
+ + +
Link copied to clipboard
+
+ +
+
+ +
+
+
+ + +
Link copied to clipboard
+
+ +
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+ +
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
fun Mappings.asSimpleRemapper(from: String, to: String): SimpleRemapper

Returns an asm SimpleRemapper for remapping references between namespaces from and to disregarding inheritance and lambdas. For proper remapping, you should use the MappingsRemapper.

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+

Converts these Mappings to SRGMappings, enabling XSRG when extended is true.

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+

Converts these Mappings to TinyMappings, enabling Tiny v2 when v2 is true.

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+

Converts these Mappings to TSRGMappings, enabling TSRG v2 when v2 is true.

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+

Removes all duplicate namespace usages in this Mappings.

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+

Transforms this Mappings structure to a generic mappings implementation that maps between from and to.

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
inline fun Mappings.filterClasses(predicate: (MappedClass) -> Boolean): Mappings

Filters classes matching the predicate

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
inline fun Mappings.filterMethods(predicate: (owner: MappedClass, method: MappedMethod) -> Boolean): Mappings

Filters methods matching the predicate

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
fun Mappings.filterNamespaces(vararg allowed: String, allowDuplicates: Boolean = false): Mappings
fun Mappings.filterNamespaces(allowed: Set<String>, allowDuplicates: Boolean = false): Mappings

Filters these Mappings to only contain namespaces that are in allowed. If allowDuplicates is true, the returned Mappings will also have duplicate namespaces removed.

inline fun Mappings.filterNamespaces(allowDuplicates: Boolean = false, predicate: (String) -> Boolean): Mappings

Filters these Mappings to only contain namespaces for which the predicate returns true. If allowDuplicates is true, the returned Mappings will also have duplicate namespaces removed.

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
fun Mappings.join(otherMappings: Mappings, intermediateNamespace: String, requireMatch: Boolean = false): Mappings

Joins together this Mappings with otherMappings, by matching on intermediateNamespace, producing new Mappings that contain all entries from this Mappings and otherMappings. If requireMatch is true, this method will throw an exception when no method or field or class is found

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+

Maps classes according to the given block

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
inline fun Mappings.mapMethods(block: (owner: MappedClass, method: MappedMethod) -> MappedMethod): Mappings

Maps methods according to the given block

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+

Returns the index of a namespace named name, but throws an IllegalStateException when name is not in the Mappings.namespaces.

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+

See recoverFieldDescriptors. file is a jar file resource (caller is responsible for closing it) that contains the classes that are referenced in the generic overload.

fun Mappings.recoverFieldDescriptors(bytesProvider: (name: String) -> ByteArray?): Mappings

Attempts to recover field descriptors that are missing because the original mappings format did not specify them. bytesProvider is responsible for providing all of the classes that might be referenced in this Mappings object, such that the descriptors can be recovered based on named (fields can be uniquely identified by an owner-name pair). When field descriptors were not found, field mappings will not be passed onto the new Mappings as field mappings without descriptors will be considered invalid.

@JvmName(name = "recoverDescsByNode")
fun Mappings.recoverFieldDescriptors(nodeProvider: (name: String) -> ClassNode?): Mappings

Attempts to recover field descriptors that are missing because the original mappings format did not specify them. nodeProvider is responsible for providing all of the ClassNodes that might be referenced in this Mappings object, such that the descriptors can be recovered based on named (fields can be uniquely identified by an owner-name pair). When field descriptors were not found, field mappings will not be passed onto the new Mappings as field mappings without descriptors will be considered invalid.

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+

Returns new Mappings that are identical to these Mappings, except the comments will be removed

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
fun Mappings.removeRedundancy(inheritanceProvider: InheritanceProvider, removeDuplicateMethods: Boolean = false): Mappings

Removes redundant or straight up incorrect data from this Mappings object, by looking at the inheritance information present in class files, presented by the inheritanceProvider.

fun Mappings.removeRedundancy(file: JarFile, removeDuplicateMethods: Boolean = false): Mappings

See removeRedundancy. file is a jar file resource (caller is responsible for closing it) that contains the classes that are referenced in the generic overload. Calls with identical names are being cached by this function, the caller is not responsible for this.

fun Mappings.removeRedundancy(removeDuplicateMethods: Boolean = false, loader: ClasspathLoader): Mappings

Removes redundant or straight up incorrect data from this Mappings object, by looking at the inheritance information present in class files, presented by the loader.

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+

Swaps out the names for the namespaces in this Mappings data structure.

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+

Swaps out the names for the namespaces in this Mappings data structure, by reordering. Duplicate names are allowed, in which case mapped entries are duplicated to fit the new order. If a name in Mappings.namespaces does not appear in order, its mapping entries will be missing in the returned Mappings.

Swaps out the names for the namespaces in this Mappings data structure, by reordering. Duplicate names are allowed, in which case mapped entries are duplicated to fit the new order. If a name in Mappings.namespaces does not appear in order, its mapping entries will be missing in the returned Mappings. If a namespace in order does not exist in this Mappings, an IllegalArgumentException will be thrown.

+
+
+
+
+
+
+
+
+
+ +
+
+
+ + + diff --git a/docs/lib/com.grappenmaker.mappings/-empty-mappings/namespaces.html b/docs/lib/com.grappenmaker.mappings/-empty-mappings/namespaces.html new file mode 100644 index 0000000..03b9ec4 --- /dev/null +++ b/docs/lib/com.grappenmaker.mappings/-empty-mappings/namespaces.html @@ -0,0 +1,76 @@ + + + + + namespaces + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

namespaces

+
+
open override val namespaces: List<String>
+
+ +
+
+
+ + + diff --git a/docs/lib/com.grappenmaker.mappings/-enigma-mappings-format/detect.html b/docs/lib/com.grappenmaker.mappings/-enigma-mappings-format/detect.html new file mode 100644 index 0000000..681448f --- /dev/null +++ b/docs/lib/com.grappenmaker.mappings/-enigma-mappings-format/detect.html @@ -0,0 +1,76 @@ + + + + + detect + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

detect

+
+
open override fun detect(lines: List<String>): Boolean

Returns whether this MappingsFormat thinks the lines represent a valid input for the mappings parser

+
+ +
+
+
+ + + diff --git a/docs/lib/com.grappenmaker.mappings/-enigma-mappings-format/index.html b/docs/lib/com.grappenmaker.mappings/-enigma-mappings-format/index.html new file mode 100644 index 0000000..89d2ca9 --- /dev/null +++ b/docs/lib/com.grappenmaker.mappings/-enigma-mappings-format/index.html @@ -0,0 +1,160 @@ + + + + + EnigmaMappingsFormat + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

EnigmaMappingsFormat

+

Represents the enigma mappings format

+
+
+
+
+
+

Functions

+
+
+
+
+ + +
Link copied to clipboard
+
+
+
+
open override fun detect(lines: List<String>): Boolean

Returns whether this MappingsFormat thinks the lines represent a valid input for the mappings parser

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
open override fun parse(lines: Iterator<String>): EnigmaMappings

Parses lines (an iterator of lines in a mappings file) into a mappings data structure. Throws an IllegalStateException when lines is not a valid input for this mappings format.

open fun parse(lines: List<String>): EnigmaMappings

Parses lines (representing a mappings file) into a mappings data structure. Throws an IllegalStateException when lines is not a valid input for this mappings format. To check if lines can be parsed, you could invoke detect.

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+

Parses lines (a Sequence of lines in a mappings file) into a mappings data structure. Throws an IllegalStateException when lines is not a valid input for this mappings format.

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
open fun write(mappings: EnigmaMappings): List<String>

Writes mappings compatible with this MappingsFormat back to a list of lines representing a mappings file

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
open override fun writeLazy(mappings: EnigmaMappings): Sequence<String>

Writes mappings compatible with this MappingsFormat to a lazily evaluated Sequence

+
+
+
+
+
+
+
+
+
+ +
+
+
+ + + diff --git a/docs/lib/com.grappenmaker.mappings/-enigma-mappings-format/parse.html b/docs/lib/com.grappenmaker.mappings/-enigma-mappings-format/parse.html new file mode 100644 index 0000000..f365201 --- /dev/null +++ b/docs/lib/com.grappenmaker.mappings/-enigma-mappings-format/parse.html @@ -0,0 +1,76 @@ + + + + + parse + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

parse

+
+
open override fun parse(lines: Iterator<String>): EnigmaMappings

Parses lines (an iterator of lines in a mappings file) into a mappings data structure. Throws an IllegalStateException when lines is not a valid input for this mappings format.

+
+ +
+
+
+ + + diff --git a/docs/lib/com.grappenmaker.mappings/-enigma-mappings-format/write-lazy.html b/docs/lib/com.grappenmaker.mappings/-enigma-mappings-format/write-lazy.html new file mode 100644 index 0000000..0e00a2b --- /dev/null +++ b/docs/lib/com.grappenmaker.mappings/-enigma-mappings-format/write-lazy.html @@ -0,0 +1,76 @@ + + + + + writeLazy + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

writeLazy

+
+
open override fun writeLazy(mappings: EnigmaMappings): Sequence<String>

Writes mappings compatible with this MappingsFormat to a lazily evaluated Sequence

+
+ +
+
+
+ + + diff --git a/docs/lib/com.grappenmaker.mappings/-enigma-mappings/-enigma-mappings.html b/docs/lib/com.grappenmaker.mappings/-enigma-mappings/-enigma-mappings.html new file mode 100644 index 0000000..fb48984 --- /dev/null +++ b/docs/lib/com.grappenmaker.mappings/-enigma-mappings/-enigma-mappings.html @@ -0,0 +1,76 @@ + + + + + EnigmaMappings + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

EnigmaMappings

+
+
constructor(classes: List<MappedClass>)
+
+ +
+
+
+ + + diff --git a/docs/lib/com.grappenmaker.mappings/-enigma-mappings/classes.html b/docs/lib/com.grappenmaker.mappings/-enigma-mappings/classes.html new file mode 100644 index 0000000..a20b782 --- /dev/null +++ b/docs/lib/com.grappenmaker.mappings/-enigma-mappings/classes.html @@ -0,0 +1,76 @@ + + + + + classes + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

classes

+
+
open override val classes: List<MappedClass>
+
+ +
+
+
+ + + diff --git a/docs/lib/com.grappenmaker.mappings/-enigma-mappings/index.html b/docs/lib/com.grappenmaker.mappings/-enigma-mappings/index.html new file mode 100644 index 0000000..e6a21b4 --- /dev/null +++ b/docs/lib/com.grappenmaker.mappings/-enigma-mappings/index.html @@ -0,0 +1,543 @@ + + + + + EnigmaMappings + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

EnigmaMappings

+
data class EnigmaMappings(val classes: List<MappedClass>) : Mappings

Represents either an enigma mappings file

+
+
+
+
+
+

Constructors

+
+
+
+
+ + +
Link copied to clipboard
+
+
+
+
constructor(classes: List<MappedClass>)
+
+
+
+
+
+
+
+

Properties

+
+
+
+
+ + +
Link copied to clipboard
+
+
+
+
open override val classes: List<MappedClass>

All mapped classes in this mappings file (in order, not important)

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
open override val namespaces: List<String>

All namespaces (in order) that this mappings file supports/contains

+
+
+
+
+
+
+
+

Functions

+
+
+
+
+ + +
Link copied to clipboard
+
+
+
+
fun Mappings.asASMMapping(from: String, to: String, includeMethods: Boolean = true, includeFields: Boolean = true): Map<String, String>

Returns a simple mapping representing all of the Mappings, mapping between the namespaces from and to. If includeMethods is true, then methods will be included in the mapping. If includeFields is true, then fields will be included in the mapping.

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+ +
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+ +
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+ +
+
+ +
+
+
+ + +
Link copied to clipboard
+
+ +
+
+ +
+
+
+ + +
Link copied to clipboard
+
+ +
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+ +
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
fun Mappings.asSimpleRemapper(from: String, to: String): SimpleRemapper

Returns an asm SimpleRemapper for remapping references between namespaces from and to disregarding inheritance and lambdas. For proper remapping, you should use the MappingsRemapper.

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+

Converts these Mappings to SRGMappings, enabling XSRG when extended is true.

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+

Converts these Mappings to TinyMappings, enabling Tiny v2 when v2 is true.

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+

Converts these Mappings to TSRGMappings, enabling TSRG v2 when v2 is true.

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+

Removes all duplicate namespace usages in this Mappings.

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+

Transforms this Mappings structure to a generic mappings implementation that maps between from and to.

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
inline fun Mappings.filterClasses(predicate: (MappedClass) -> Boolean): Mappings

Filters classes matching the predicate

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
inline fun Mappings.filterMethods(predicate: (owner: MappedClass, method: MappedMethod) -> Boolean): Mappings

Filters methods matching the predicate

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
fun Mappings.filterNamespaces(vararg allowed: String, allowDuplicates: Boolean = false): Mappings
fun Mappings.filterNamespaces(allowed: Set<String>, allowDuplicates: Boolean = false): Mappings

Filters these Mappings to only contain namespaces that are in allowed. If allowDuplicates is true, the returned Mappings will also have duplicate namespaces removed.

inline fun Mappings.filterNamespaces(allowDuplicates: Boolean = false, predicate: (String) -> Boolean): Mappings

Filters these Mappings to only contain namespaces for which the predicate returns true. If allowDuplicates is true, the returned Mappings will also have duplicate namespaces removed.

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
fun Mappings.join(otherMappings: Mappings, intermediateNamespace: String, requireMatch: Boolean = false): Mappings

Joins together this Mappings with otherMappings, by matching on intermediateNamespace, producing new Mappings that contain all entries from this Mappings and otherMappings. If requireMatch is true, this method will throw an exception when no method or field or class is found

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+

Maps classes according to the given block

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
inline fun Mappings.mapMethods(block: (owner: MappedClass, method: MappedMethod) -> MappedMethod): Mappings

Maps methods according to the given block

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+

Returns the index of a namespace named name, but throws an IllegalStateException when name is not in the Mappings.namespaces.

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+

See recoverFieldDescriptors. file is a jar file resource (caller is responsible for closing it) that contains the classes that are referenced in the generic overload.

fun Mappings.recoverFieldDescriptors(bytesProvider: (name: String) -> ByteArray?): Mappings

Attempts to recover field descriptors that are missing because the original mappings format did not specify them. bytesProvider is responsible for providing all of the classes that might be referenced in this Mappings object, such that the descriptors can be recovered based on named (fields can be uniquely identified by an owner-name pair). When field descriptors were not found, field mappings will not be passed onto the new Mappings as field mappings without descriptors will be considered invalid.

@JvmName(name = "recoverDescsByNode")
fun Mappings.recoverFieldDescriptors(nodeProvider: (name: String) -> ClassNode?): Mappings

Attempts to recover field descriptors that are missing because the original mappings format did not specify them. nodeProvider is responsible for providing all of the ClassNodes that might be referenced in this Mappings object, such that the descriptors can be recovered based on named (fields can be uniquely identified by an owner-name pair). When field descriptors were not found, field mappings will not be passed onto the new Mappings as field mappings without descriptors will be considered invalid.

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+

Returns new Mappings that are identical to these Mappings, except the comments will be removed

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
fun Mappings.removeRedundancy(inheritanceProvider: InheritanceProvider, removeDuplicateMethods: Boolean = false): Mappings

Removes redundant or straight up incorrect data from this Mappings object, by looking at the inheritance information present in class files, presented by the inheritanceProvider.

fun Mappings.removeRedundancy(file: JarFile, removeDuplicateMethods: Boolean = false): Mappings

See removeRedundancy. file is a jar file resource (caller is responsible for closing it) that contains the classes that are referenced in the generic overload. Calls with identical names are being cached by this function, the caller is not responsible for this.

fun Mappings.removeRedundancy(removeDuplicateMethods: Boolean = false, loader: ClasspathLoader): Mappings

Removes redundant or straight up incorrect data from this Mappings object, by looking at the inheritance information present in class files, presented by the loader.

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+

Swaps out the names for the namespaces in this Mappings data structure.

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+

Swaps out the names for the namespaces in this Mappings data structure, by reordering. Duplicate names are allowed, in which case mapped entries are duplicated to fit the new order. If a name in Mappings.namespaces does not appear in order, its mapping entries will be missing in the returned Mappings.

Swaps out the names for the namespaces in this Mappings data structure, by reordering. Duplicate names are allowed, in which case mapped entries are duplicated to fit the new order. If a name in Mappings.namespaces does not appear in order, its mapping entries will be missing in the returned Mappings. If a namespace in order does not exist in this Mappings, an IllegalArgumentException will be thrown.

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+

Writes EnigmaMappings to a mappings file represented by a list of strings.

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+

Writes EnigmaMappings as a lazily evaluated Sequence.

+
+
+
+
+
+
+
+
+
+ +
+
+
+ + + diff --git a/docs/lib/com.grappenmaker.mappings/-enigma-mappings/namespaces.html b/docs/lib/com.grappenmaker.mappings/-enigma-mappings/namespaces.html new file mode 100644 index 0000000..e9904ac --- /dev/null +++ b/docs/lib/com.grappenmaker.mappings/-enigma-mappings/namespaces.html @@ -0,0 +1,76 @@ + + + + + namespaces + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

namespaces

+
+
open override val namespaces: List<String>
+
+ +
+
+
+ + + diff --git a/docs/lib/com.grappenmaker.mappings/-experimental-jar-remapper/index.html b/docs/lib/com.grappenmaker.mappings/-experimental-jar-remapper/index.html new file mode 100644 index 0000000..d7c0e08 --- /dev/null +++ b/docs/lib/com.grappenmaker.mappings/-experimental-jar-remapper/index.html @@ -0,0 +1,80 @@ + + + + + ExperimentalJarRemapper + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

ExperimentalJarRemapper

+
annotation class ExperimentalJarRemapper

Marker annotation that declares that the annotated type is experimental Jar Remapper API

+
+
+
+
+
+
+ +
+
+
+ + + diff --git a/docs/lib/com.grappenmaker.mappings/-generic-mappings/-generic-mappings.html b/docs/lib/com.grappenmaker.mappings/-generic-mappings/-generic-mappings.html new file mode 100644 index 0000000..0b43714 --- /dev/null +++ b/docs/lib/com.grappenmaker.mappings/-generic-mappings/-generic-mappings.html @@ -0,0 +1,76 @@ + + + + + GenericMappings + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

GenericMappings

+
+
constructor(namespaces: List<String>, classes: List<MappedClass>)
+
+ +
+
+
+ + + diff --git a/docs/lib/com.grappenmaker.mappings/-generic-mappings/classes.html b/docs/lib/com.grappenmaker.mappings/-generic-mappings/classes.html new file mode 100644 index 0000000..70b456e --- /dev/null +++ b/docs/lib/com.grappenmaker.mappings/-generic-mappings/classes.html @@ -0,0 +1,76 @@ + + + + + classes + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

classes

+
+
open override val classes: List<MappedClass>
+
+ +
+
+
+ + + diff --git a/docs/lib/com.grappenmaker.mappings/-generic-mappings/index.html b/docs/lib/com.grappenmaker.mappings/-generic-mappings/index.html new file mode 100644 index 0000000..88d0ea6 --- /dev/null +++ b/docs/lib/com.grappenmaker.mappings/-generic-mappings/index.html @@ -0,0 +1,513 @@ + + + + + GenericMappings + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

GenericMappings

+
data class GenericMappings(val namespaces: List<String>, val classes: List<MappedClass>) : Mappings

Represents a generic type of mapping that is not deserialized from anything, nor can be serialized to a mappings file. It does not carry format-specific metadata, and is used as an intermediate value for transforming mappings.

+
+
+
+
+
+

Constructors

+
+
+
+
+ + +
Link copied to clipboard
+
+
+
+
constructor(namespaces: List<String>, classes: List<MappedClass>)
+
+
+
+
+
+
+
+

Properties

+
+
+
+
+ + +
Link copied to clipboard
+
+
+
+
open override val classes: List<MappedClass>

All mapped classes in this mappings file (in order, not important)

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
open override val namespaces: List<String>

All namespaces (in order) that this mappings file supports/contains

+
+
+
+
+
+
+
+

Functions

+
+
+
+
+ + +
Link copied to clipboard
+
+
+
+
fun Mappings.asASMMapping(from: String, to: String, includeMethods: Boolean = true, includeFields: Boolean = true): Map<String, String>

Returns a simple mapping representing all of the Mappings, mapping between the namespaces from and to. If includeMethods is true, then methods will be included in the mapping. If includeFields is true, then fields will be included in the mapping.

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+ +
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+ +
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+ +
+
+ +
+
+
+ + +
Link copied to clipboard
+
+ +
+
+ +
+
+
+ + +
Link copied to clipboard
+
+ +
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+ +
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
fun Mappings.asSimpleRemapper(from: String, to: String): SimpleRemapper

Returns an asm SimpleRemapper for remapping references between namespaces from and to disregarding inheritance and lambdas. For proper remapping, you should use the MappingsRemapper.

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+

Converts these Mappings to SRGMappings, enabling XSRG when extended is true.

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+

Converts these Mappings to TinyMappings, enabling Tiny v2 when v2 is true.

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+

Converts these Mappings to TSRGMappings, enabling TSRG v2 when v2 is true.

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+

Removes all duplicate namespace usages in this Mappings.

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+

Transforms this Mappings structure to a generic mappings implementation that maps between from and to.

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
inline fun Mappings.filterClasses(predicate: (MappedClass) -> Boolean): Mappings

Filters classes matching the predicate

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
inline fun Mappings.filterMethods(predicate: (owner: MappedClass, method: MappedMethod) -> Boolean): Mappings

Filters methods matching the predicate

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
fun Mappings.filterNamespaces(vararg allowed: String, allowDuplicates: Boolean = false): Mappings
fun Mappings.filterNamespaces(allowed: Set<String>, allowDuplicates: Boolean = false): Mappings

Filters these Mappings to only contain namespaces that are in allowed. If allowDuplicates is true, the returned Mappings will also have duplicate namespaces removed.

inline fun Mappings.filterNamespaces(allowDuplicates: Boolean = false, predicate: (String) -> Boolean): Mappings

Filters these Mappings to only contain namespaces for which the predicate returns true. If allowDuplicates is true, the returned Mappings will also have duplicate namespaces removed.

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
fun Mappings.join(otherMappings: Mappings, intermediateNamespace: String, requireMatch: Boolean = false): Mappings

Joins together this Mappings with otherMappings, by matching on intermediateNamespace, producing new Mappings that contain all entries from this Mappings and otherMappings. If requireMatch is true, this method will throw an exception when no method or field or class is found

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+

Maps classes according to the given block

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
inline fun Mappings.mapMethods(block: (owner: MappedClass, method: MappedMethod) -> MappedMethod): Mappings

Maps methods according to the given block

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+

Returns the index of a namespace named name, but throws an IllegalStateException when name is not in the Mappings.namespaces.

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+

See recoverFieldDescriptors. file is a jar file resource (caller is responsible for closing it) that contains the classes that are referenced in the generic overload.

fun Mappings.recoverFieldDescriptors(bytesProvider: (name: String) -> ByteArray?): Mappings

Attempts to recover field descriptors that are missing because the original mappings format did not specify them. bytesProvider is responsible for providing all of the classes that might be referenced in this Mappings object, such that the descriptors can be recovered based on named (fields can be uniquely identified by an owner-name pair). When field descriptors were not found, field mappings will not be passed onto the new Mappings as field mappings without descriptors will be considered invalid.

@JvmName(name = "recoverDescsByNode")
fun Mappings.recoverFieldDescriptors(nodeProvider: (name: String) -> ClassNode?): Mappings

Attempts to recover field descriptors that are missing because the original mappings format did not specify them. nodeProvider is responsible for providing all of the ClassNodes that might be referenced in this Mappings object, such that the descriptors can be recovered based on named (fields can be uniquely identified by an owner-name pair). When field descriptors were not found, field mappings will not be passed onto the new Mappings as field mappings without descriptors will be considered invalid.

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+

Returns new Mappings that are identical to these Mappings, except the comments will be removed

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
fun Mappings.removeRedundancy(inheritanceProvider: InheritanceProvider, removeDuplicateMethods: Boolean = false): Mappings

Removes redundant or straight up incorrect data from this Mappings object, by looking at the inheritance information present in class files, presented by the inheritanceProvider.

fun Mappings.removeRedundancy(file: JarFile, removeDuplicateMethods: Boolean = false): Mappings

See removeRedundancy. file is a jar file resource (caller is responsible for closing it) that contains the classes that are referenced in the generic overload. Calls with identical names are being cached by this function, the caller is not responsible for this.

fun Mappings.removeRedundancy(removeDuplicateMethods: Boolean = false, loader: ClasspathLoader): Mappings

Removes redundant or straight up incorrect data from this Mappings object, by looking at the inheritance information present in class files, presented by the loader.

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+

Swaps out the names for the namespaces in this Mappings data structure.

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+

Swaps out the names for the namespaces in this Mappings data structure, by reordering. Duplicate names are allowed, in which case mapped entries are duplicated to fit the new order. If a name in Mappings.namespaces does not appear in order, its mapping entries will be missing in the returned Mappings.

Swaps out the names for the namespaces in this Mappings data structure, by reordering. Duplicate names are allowed, in which case mapped entries are duplicated to fit the new order. If a name in Mappings.namespaces does not appear in order, its mapping entries will be missing in the returned Mappings. If a namespace in order does not exist in this Mappings, an IllegalArgumentException will be thrown.

+
+
+
+
+
+
+
+
+
+ +
+
+
+ + + diff --git a/docs/lib/com.grappenmaker.mappings/-generic-mappings/namespaces.html b/docs/lib/com.grappenmaker.mappings/-generic-mappings/namespaces.html new file mode 100644 index 0000000..56fa746 --- /dev/null +++ b/docs/lib/com.grappenmaker.mappings/-generic-mappings/namespaces.html @@ -0,0 +1,76 @@ + + + + + namespaces + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

namespaces

+
+
open override val namespaces: List<String>
+
+ +
+
+
+ + + diff --git a/docs/lib/com.grappenmaker.mappings/-i-n-h-e-r-i-t-a-b-l-e_-m-a-s-k.html b/docs/lib/com.grappenmaker.mappings/-i-n-h-e-r-i-t-a-b-l-e_-m-a-s-k.html new file mode 100644 index 0000000..d40ea56 --- /dev/null +++ b/docs/lib/com.grappenmaker.mappings/-i-n-h-e-r-i-t-a-b-l-e_-m-a-s-k.html @@ -0,0 +1,76 @@ + + + + + INHERITABLE_MASK + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

INHERITABLE_MASK

+
+
const val INHERITABLE_MASK: Int = 26

Represents the bitmask of access flags that a member may not have to be considered inheritable, see InheritanceProvider.getDeclaredMethods

+
+ +
+
+
+ + + diff --git a/docs/lib/com.grappenmaker.mappings/-inheritance-provider/get-declared-methods.html b/docs/lib/com.grappenmaker.mappings/-inheritance-provider/get-declared-methods.html new file mode 100644 index 0000000..92e91ce --- /dev/null +++ b/docs/lib/com.grappenmaker.mappings/-inheritance-provider/get-declared-methods.html @@ -0,0 +1,76 @@ + + + + + getDeclaredMethods + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

getDeclaredMethods

+
+
abstract fun getDeclaredMethods(internalName: String, filterInheritable: Boolean): Iterable<String>

Returns the signatures of the methods declared in a class with a given internalName.

A signature is a string that represents a method by concatenating its name with its JVMS descriptor For example: valueOf(Ljava/lang/String;)Lsome/EnumType;

A declared method is a method that is directly declared in the bytecode of the class.

If filterInheritable is true, this method should only return the signatures of methods that are non-private, non-static, non-final. That is, access & (ACC_PRIVATE | ACC_STATIC | ACC_FINAL) == 0, where access is the bitset of access flags as defined by the JVMS. The convienience constant INHERITABLE_MASK can be used for this computation as well, by comparing access &INHERITABLE_MASK == 0

+
+ +
+
+
+ + + diff --git a/docs/lib/com.grappenmaker.mappings/-inheritance-provider/get-direct-parents.html b/docs/lib/com.grappenmaker.mappings/-inheritance-provider/get-direct-parents.html new file mode 100644 index 0000000..dc5f1f2 --- /dev/null +++ b/docs/lib/com.grappenmaker.mappings/-inheritance-provider/get-direct-parents.html @@ -0,0 +1,76 @@ + + + + + getDirectParents + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

getDirectParents

+
+
abstract fun getDirectParents(internalName: String): Iterable<String>

Returns the direct parents of a class with a given internalName, that is, it returns an iterable of its super class (if any) and its superinterfaces, in that order.

+
+ +
+
+
+ + + diff --git a/docs/lib/com.grappenmaker.mappings/-inheritance-provider/get-parents.html b/docs/lib/com.grappenmaker.mappings/-inheritance-provider/get-parents.html new file mode 100644 index 0000000..57a8f4f --- /dev/null +++ b/docs/lib/com.grappenmaker.mappings/-inheritance-provider/get-parents.html @@ -0,0 +1,76 @@ + + + + + getParents + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

getParents

+
+
open fun getParents(internalName: String): Iterable<String>

Returns the internal names of the parents of a class with a given internalName, in depth-first order, interfaces first.

Suppose we have the following class definitions:

class A extends B implements C, D class B extends E

Then, calling this method on A should return {D, C, E} ({C, D, E} is also valid).

The default implementation performs depth-first search with pruning over getDirectParents. Implementations are welcome to optimize it for their specific use-case.

+
+ +
+
+
+ + + diff --git a/docs/lib/com.grappenmaker.mappings/-inheritance-provider/index.html b/docs/lib/com.grappenmaker.mappings/-inheritance-provider/index.html new file mode 100644 index 0000000..d354830 --- /dev/null +++ b/docs/lib/com.grappenmaker.mappings/-inheritance-provider/index.html @@ -0,0 +1,145 @@ + + + + + InheritanceProvider + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

InheritanceProvider

+

Represents an entry point for tasks like remapping and transformations to gather inheritance information from the classpath. Its simple design allows implementations to fetch information from different kinds of resources, like the classpath (see LoaderInheritanceProvider).

Inheritors

+
+
+
+
+
+

Functions

+
+
+
+
+ + +
Link copied to clipboard
+
+
+
+
abstract fun getDeclaredMethods(internalName: String, filterInheritable: Boolean): Iterable<String>

Returns the signatures of the methods declared in a class with a given internalName.

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
abstract fun getDirectParents(internalName: String): Iterable<String>

Returns the direct parents of a class with a given internalName, that is, it returns an iterable of its super class (if any) and its superinterfaces, in that order.

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
open fun getParents(internalName: String): Iterable<String>

Returns the internal names of the parents of a class with a given internalName, in depth-first order, interfaces first.

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+

Wraps this into a new provider that remembers the results of calls

+
+
+
+
+
+
+
+
+
+ +
+
+
+ + + diff --git a/docs/lib/com.grappenmaker.mappings/-jar-class-visitor/index.html b/docs/lib/com.grappenmaker.mappings/-jar-class-visitor/index.html new file mode 100644 index 0000000..7aba6ea --- /dev/null +++ b/docs/lib/com.grappenmaker.mappings/-jar-class-visitor/index.html @@ -0,0 +1,100 @@ + + + + + JarClassVisitor + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

JarClassVisitor

+
fun interface JarClassVisitor

A functional interface that allows users of the JarRemapper to annotate or mutate class files with ASM during remapping

+
+
+
+
+
+

Functions

+
+
+
+
+ + +
Link copied to clipboard
+
+
+
+
abstract fun visit(name: String, parent: ClassVisitor): ClassVisitor?

Called whenever a class file with UNMAPPED name is being remapped from an input jar file by the JarRemapper. The ClassVisitor that this JarClassVisitor returns will be passed onto the next JarClassVisitor in the chain, and at the end the resulting ClassVisitor will be visited during remapping with the original class file in the input jar file. Calls that are made to the parent remapper will eventually be passed on to a ClassWriter, the output of which will be written to the output jar file. Returning null here means that this JarClassVisitor is not interested in visiting this class

+
+
+
+
+
+
+
+
+
+ +
+
+
+ + + diff --git a/docs/lib/com.grappenmaker.mappings/-jar-class-visitor/visit.html b/docs/lib/com.grappenmaker.mappings/-jar-class-visitor/visit.html new file mode 100644 index 0000000..cf2b8bd --- /dev/null +++ b/docs/lib/com.grappenmaker.mappings/-jar-class-visitor/visit.html @@ -0,0 +1,76 @@ + + + + + visit + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

visit

+
+
abstract fun visit(name: String, parent: ClassVisitor): ClassVisitor?

Called whenever a class file with UNMAPPED name is being remapped from an input jar file by the JarRemapper. The ClassVisitor that this JarClassVisitor returns will be passed onto the next JarClassVisitor in the chain, and at the end the resulting ClassVisitor will be visited during remapping with the original class file in the input jar file. Calls that are made to the parent remapper will eventually be passed on to a ClassWriter, the output of which will be written to the output jar file. Returning null here means that this JarClassVisitor is not interested in visiting this class

+
+ +
+
+
+ + + diff --git a/docs/lib/com.grappenmaker.mappings/-jar-remap-task/-jar-remap-task.html b/docs/lib/com.grappenmaker.mappings/-jar-remap-task/-jar-remap-task.html new file mode 100644 index 0000000..d5b32de --- /dev/null +++ b/docs/lib/com.grappenmaker.mappings/-jar-remap-task/-jar-remap-task.html @@ -0,0 +1,76 @@ + + + + + JarRemapTask + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

JarRemapTask

+
+
constructor(input: Path, output: Path, fromNamespace: String, toNamespace: String)
+
+ +
+
+
+ + + diff --git a/docs/lib/com.grappenmaker.mappings/-jar-remap-task/from-namespace.html b/docs/lib/com.grappenmaker.mappings/-jar-remap-task/from-namespace.html new file mode 100644 index 0000000..cbdc23c --- /dev/null +++ b/docs/lib/com.grappenmaker.mappings/-jar-remap-task/from-namespace.html @@ -0,0 +1,76 @@ + + + + + fromNamespace + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

fromNamespace

+
+ +
+ +
+
+
+ + + diff --git a/docs/lib/com.grappenmaker.mappings/-jar-remap-task/index.html b/docs/lib/com.grappenmaker.mappings/-jar-remap-task/index.html new file mode 100644 index 0000000..9481562 --- /dev/null +++ b/docs/lib/com.grappenmaker.mappings/-jar-remap-task/index.html @@ -0,0 +1,164 @@ + + + + + JarRemapTask + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

JarRemapTask

+
data class JarRemapTask(val input: Path, val output: Path, val fromNamespace: String, val toNamespace: String)

A data structure that specifies what the JarRemapper should do with a specific jar file

+
+
+
+
+
+

Constructors

+
+
+
+
+ + +
Link copied to clipboard
+
+
+
+
constructor(input: Path, output: Path, fromNamespace: String, toNamespace: String)
+
+
+
+
+
+
+
+

Properties

+
+
+
+
+ + +
Link copied to clipboard
+
+
+
+

the namespace the input file is in

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
val input: Path

the file that will be read by the jar remapper, remapped into output

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+

the file that will be written by the jar remapper

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+

the namespace the output file will be written in

+
+
+
+
+
+
+
+
+
+ +
+
+
+ + + diff --git a/docs/lib/com.grappenmaker.mappings/-jar-remap-task/input.html b/docs/lib/com.grappenmaker.mappings/-jar-remap-task/input.html new file mode 100644 index 0000000..0576815 --- /dev/null +++ b/docs/lib/com.grappenmaker.mappings/-jar-remap-task/input.html @@ -0,0 +1,76 @@ + + + + + input + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

input

+
+
val input: Path
+
+ +
+
+
+ + + diff --git a/docs/lib/com.grappenmaker.mappings/-jar-remap-task/output.html b/docs/lib/com.grappenmaker.mappings/-jar-remap-task/output.html new file mode 100644 index 0000000..a1ae191 --- /dev/null +++ b/docs/lib/com.grappenmaker.mappings/-jar-remap-task/output.html @@ -0,0 +1,76 @@ + + + + + output + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

output

+
+ +
+ +
+
+
+ + + diff --git a/docs/lib/com.grappenmaker.mappings/-jar-remap-task/to-namespace.html b/docs/lib/com.grappenmaker.mappings/-jar-remap-task/to-namespace.html new file mode 100644 index 0000000..0306c55 --- /dev/null +++ b/docs/lib/com.grappenmaker.mappings/-jar-remap-task/to-namespace.html @@ -0,0 +1,76 @@ + + + + + toNamespace + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

toNamespace

+
+ +
+ +
+
+
+ + + diff --git a/docs/lib/com.grappenmaker.mappings/-jar-remapper-d-s-l/index.html b/docs/lib/com.grappenmaker.mappings/-jar-remapper-d-s-l/index.html new file mode 100644 index 0000000..612052e --- /dev/null +++ b/docs/lib/com.grappenmaker.mappings/-jar-remapper-d-s-l/index.html @@ -0,0 +1,80 @@ + + + + + JarRemapperDSL + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

JarRemapperDSL

+
annotation class JarRemapperDSL

Marker annotation that declares that a certain type is part of the jar remapper DSL

+
+
+
+
+
+
+ +
+
+
+ + + diff --git a/docs/lib/com.grappenmaker.mappings/-jar-remapper/-jar-remapper.html b/docs/lib/com.grappenmaker.mappings/-jar-remapper/-jar-remapper.html new file mode 100644 index 0000000..f0a74ee --- /dev/null +++ b/docs/lib/com.grappenmaker.mappings/-jar-remapper/-jar-remapper.html @@ -0,0 +1,76 @@ + + + + + JarRemapper + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

JarRemapper

+
+
constructor()
+
+ +
+
+
+ + + diff --git a/docs/lib/com.grappenmaker.mappings/-jar-remapper/copy-resources.html b/docs/lib/com.grappenmaker.mappings/-jar-remapper/copy-resources.html new file mode 100644 index 0000000..5af6f16 --- /dev/null +++ b/docs/lib/com.grappenmaker.mappings/-jar-remapper/copy-resources.html @@ -0,0 +1,76 @@ + + + + + copyResources + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

copyResources

+
+

Determines whether the JarRemapper will copy non-classfile resources from input jars into output jars

+
+ +
+
+
+ + + diff --git a/docs/lib/com.grappenmaker.mappings/-jar-remapper/index.html b/docs/lib/com.grappenmaker.mappings/-jar-remapper/index.html new file mode 100644 index 0000000..d5a5497 --- /dev/null +++ b/docs/lib/com.grappenmaker.mappings/-jar-remapper/index.html @@ -0,0 +1,213 @@ + + + + + JarRemapper + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

JarRemapper

+

Helper / DSL for creating an JarRemapper

+
+
+
+
+
+

Constructors

+
+
+
+
+ + +
Link copied to clipboard
+
+
+
+
constructor()
+
+
+
+
+
+
+
+

Properties

+
+
+
+
+ + +
Link copied to clipboard
+
+
+
+

Determines whether the JarRemapper will copy non-classfile resources from input jars into output jars

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+

The ClasspathLoader that should be used to request class files from classpath / environment files, that are not present in input jars. Note that this ClasspathLoader will be wrapped into a new one, including input jars and a memoization layer. It is therefore not recommended to add memoization layers in this ClasspathLoader. The loader should be thread-safe.

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+

The Mappings that will be used to remap classes in input jar files

+
+
+
+
+
+
+
+

Functions

+
+
+
+
+ + +
Link copied to clipboard
+
+
+
+
suspend fun perform()

Performs all configured tasks

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
fun task(input: Path, output: Path, fromNamespace: String, toNamespace: String)

Adds a new remapping task to the JarRemapper. The input jar file will be read, remapped, and written to an output file. The input jar file is expected to be in the fromNamespace, and will be remapped into the toNamespace.

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+

Adds a JarClassVisitor to the pipeline of visitors that will be applied to each remapped class

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+

Adds a JarResourceVisitor to the pipeline of visitors that will be applied to each copied resource

+
+
+
+
+
+
+
+
+
+ +
+
+
+ + + diff --git a/docs/lib/com.grappenmaker.mappings/-jar-remapper/loader.html b/docs/lib/com.grappenmaker.mappings/-jar-remapper/loader.html new file mode 100644 index 0000000..2ad8b04 --- /dev/null +++ b/docs/lib/com.grappenmaker.mappings/-jar-remapper/loader.html @@ -0,0 +1,76 @@ + + + + + loader + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

loader

+
+

The ClasspathLoader that should be used to request class files from classpath / environment files, that are not present in input jars. Note that this ClasspathLoader will be wrapped into a new one, including input jars and a memoization layer. It is therefore not recommended to add memoization layers in this ClasspathLoader. The loader should be thread-safe.

+
+ +
+
+
+ + + diff --git a/docs/lib/com.grappenmaker.mappings/-jar-remapper/mappings.html b/docs/lib/com.grappenmaker.mappings/-jar-remapper/mappings.html new file mode 100644 index 0000000..b0341dc --- /dev/null +++ b/docs/lib/com.grappenmaker.mappings/-jar-remapper/mappings.html @@ -0,0 +1,76 @@ + + + + + mappings + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

mappings

+
+

The Mappings that will be used to remap classes in input jar files

+
+ +
+
+
+ + + diff --git a/docs/lib/com.grappenmaker.mappings/-jar-remapper/perform.html b/docs/lib/com.grappenmaker.mappings/-jar-remapper/perform.html new file mode 100644 index 0000000..c5e672a --- /dev/null +++ b/docs/lib/com.grappenmaker.mappings/-jar-remapper/perform.html @@ -0,0 +1,76 @@ + + + + + perform + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

perform

+
+
suspend fun perform()

Performs all configured tasks

+
+ +
+
+
+ + + diff --git a/docs/lib/com.grappenmaker.mappings/-jar-remapper/task.html b/docs/lib/com.grappenmaker.mappings/-jar-remapper/task.html new file mode 100644 index 0000000..c0688a3 --- /dev/null +++ b/docs/lib/com.grappenmaker.mappings/-jar-remapper/task.html @@ -0,0 +1,76 @@ + + + + + task + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

task

+
+
fun task(input: Path, output: Path, fromNamespace: String, toNamespace: String)

Adds a new remapping task to the JarRemapper. The input jar file will be read, remapped, and written to an output file. The input jar file is expected to be in the fromNamespace, and will be remapped into the toNamespace.

+
+ +
+
+
+ + + diff --git a/docs/lib/com.grappenmaker.mappings/-jar-remapper/visit-classes.html b/docs/lib/com.grappenmaker.mappings/-jar-remapper/visit-classes.html new file mode 100644 index 0000000..817e790 --- /dev/null +++ b/docs/lib/com.grappenmaker.mappings/-jar-remapper/visit-classes.html @@ -0,0 +1,76 @@ + + + + + visitClasses + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

visitClasses

+
+

Adds a JarClassVisitor to the pipeline of visitors that will be applied to each remapped class

See also

+
+ +
+
+
+ + + diff --git a/docs/lib/com.grappenmaker.mappings/-jar-remapper/visit-resources.html b/docs/lib/com.grappenmaker.mappings/-jar-remapper/visit-resources.html new file mode 100644 index 0000000..702ef4f --- /dev/null +++ b/docs/lib/com.grappenmaker.mappings/-jar-remapper/visit-resources.html @@ -0,0 +1,76 @@ + + + + + visitResources + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

visitResources

+
+

Adds a JarResourceVisitor to the pipeline of visitors that will be applied to each copied resource

See also

+
+ +
+
+
+ + + diff --git a/docs/lib/com.grappenmaker.mappings/-jar-resource-visitor/index.html b/docs/lib/com.grappenmaker.mappings/-jar-resource-visitor/index.html new file mode 100644 index 0000000..52840fe --- /dev/null +++ b/docs/lib/com.grappenmaker.mappings/-jar-resource-visitor/index.html @@ -0,0 +1,100 @@ + + + + + JarResourceVisitor + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

JarResourceVisitor

+
fun interface JarResourceVisitor

A functional interface that allows users of the JarRemapper to annotate or mutate resources in jar files that are not classes

+
+
+
+
+
+

Functions

+
+
+
+
+ + +
Link copied to clipboard
+
+
+
+
abstract fun visit(name: String, file: ByteArray): ByteArray?

Called whenever a resource is being copied over from an input jar file by the JarRemapper, where name is the name of the resource being copied, and file the original buffer read from the input jar file. The ByteArray that this JarResourceVisitor returns will be passed onto the next JarResourceVisitor in the chain, and at the end the newly created buffer will be written to the output jar file. Returning null here means that this JarResourceVisitor believes the file should not be copied over and should be discarded.

+
+
+
+
+
+
+
+
+
+ +
+
+
+ + + diff --git a/docs/lib/com.grappenmaker.mappings/-jar-resource-visitor/visit.html b/docs/lib/com.grappenmaker.mappings/-jar-resource-visitor/visit.html new file mode 100644 index 0000000..77e0402 --- /dev/null +++ b/docs/lib/com.grappenmaker.mappings/-jar-resource-visitor/visit.html @@ -0,0 +1,76 @@ + + + + + visit + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

visit

+
+
abstract fun visit(name: String, file: ByteArray): ByteArray?

Called whenever a resource is being copied over from an input jar file by the JarRemapper, where name is the name of the resource being copied, and file the original buffer read from the input jar file. The ByteArray that this JarResourceVisitor returns will be passed onto the next JarResourceVisitor in the chain, and at the end the newly created buffer will be written to the output jar file. Returning null here means that this JarResourceVisitor believes the file should not be copied over and should be discarded.

+
+ +
+
+
+ + + diff --git a/docs/lib/com.grappenmaker.mappings/-lambda-aware-method-remapper/-lambda-aware-method-remapper.html b/docs/lib/com.grappenmaker.mappings/-lambda-aware-method-remapper/-lambda-aware-method-remapper.html new file mode 100644 index 0000000..a44eb0f --- /dev/null +++ b/docs/lib/com.grappenmaker.mappings/-lambda-aware-method-remapper/-lambda-aware-method-remapper.html @@ -0,0 +1,76 @@ + + + + + LambdaAwareMethodRemapper + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

LambdaAwareMethodRemapper

+
+
constructor(parent: MethodVisitor, remapper: Remapper)
+
+ +
+
+
+ + + diff --git a/docs/lib/com.grappenmaker.mappings/-lambda-aware-method-remapper/index.html b/docs/lib/com.grappenmaker.mappings/-lambda-aware-method-remapper/index.html new file mode 100644 index 0000000..7e22df6 --- /dev/null +++ b/docs/lib/com.grappenmaker.mappings/-lambda-aware-method-remapper/index.html @@ -0,0 +1,584 @@ + + + + + LambdaAwareMethodRemapper + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

LambdaAwareMethodRemapper

+
open class LambdaAwareMethodRemapper(parent: MethodVisitor, remapper: Remapper) : MethodRemapper

A MethodRemapper that is aware of the remapping of Invoke Dynamic instructions for lambdas.

+
+
+
+
+
+

Constructors

+
+
+
+
+ + +
Link copied to clipboard
+
+
+
+
constructor(parent: MethodVisitor, remapper: Remapper)
+
+
+
+
+
+
+
+

Functions

+
+
+
+
+ + +
Link copied to clipboard
+
+
+
+
open fun getDelegate(): MethodVisitor
+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+ +
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
open override fun visitAnnotation(p0: String, p1: Boolean): AnnotationVisitor
+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
open override fun visitAnnotationDefault(): AnnotationVisitor
+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
open fun visitAttribute(p0: Attribute)
+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
open fun visitCode()
+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
open fun visitEnd()
+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
open override fun visitFieldInsn(p0: Int, p1: String, p2: String, p3: String)
+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
open override fun visitFrame(p0: Int, p1: Int, p2: Array<Any>, p3: Int, p4: Array<Any>)
+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
open fun visitIincInsn(p0: Int, p1: Int)
+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
open fun visitInsn(p0: Int)
+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
open override fun visitInsnAnnotation(p0: Int, p1: TypePath, p2: String, p3: Boolean): AnnotationVisitor
+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
open fun visitIntInsn(p0: Int, p1: Int)
+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
open override fun visitInvokeDynamicInsn(name: String, descriptor: String, handle: Handle, vararg args: Any)
+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
open fun visitJumpInsn(p0: Int, p1: Label)
+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
open fun visitLabel(p0: Label)
+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
open override fun visitLdcInsn(p0: Any)
+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
open fun visitLineNumber(p0: Int, p1: Label)
+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
open override fun visitLocalVariable(p0: String, p1: String, p2: String, p3: Label, p4: Label, p5: Int)
+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
open override fun visitLocalVariableAnnotation(p0: Int, p1: TypePath, p2: Array<Label>, p3: Array<Label>, p4: IntArray, p5: String, p6: Boolean): AnnotationVisitor
+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
open fun visitLookupSwitchInsn(p0: Label, p1: IntArray, p2: Array<Label>)
+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
open fun visitMaxs(p0: Int, p1: Int)
+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
open fun visitMethodInsn(p0: Int, p1: String, p2: String, p3: String)
open override fun visitMethodInsn(p0: Int, p1: String, p2: String, p3: String, p4: Boolean)
+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
open override fun visitMultiANewArrayInsn(p0: String, p1: Int)
+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
open fun visitParameter(p0: String, p1: Int)
+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
open override fun visitParameterAnnotation(p0: Int, p1: String, p2: Boolean): AnnotationVisitor
+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
open fun visitTableSwitchInsn(p0: Int, p1: Int, p2: Label, vararg p3: Label)
+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
open override fun visitTryCatchAnnotation(p0: Int, p1: TypePath, p2: String, p3: Boolean): AnnotationVisitor
+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
open override fun visitTryCatchBlock(p0: Label, p1: Label, p2: Label, p3: String)
+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
open override fun visitTypeAnnotation(p0: Int, p1: TypePath, p2: String, p3: Boolean): AnnotationVisitor
+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
open override fun visitTypeInsn(p0: Int, p1: String)
+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
open fun visitVarInsn(p0: Int, p1: Int)
+
+
+
+
+
+
+
+
+
+ +
+
+
+ + + diff --git a/docs/lib/com.grappenmaker.mappings/-lambda-aware-method-remapper/visit-invoke-dynamic-insn.html b/docs/lib/com.grappenmaker.mappings/-lambda-aware-method-remapper/visit-invoke-dynamic-insn.html new file mode 100644 index 0000000..de1ed55 --- /dev/null +++ b/docs/lib/com.grappenmaker.mappings/-lambda-aware-method-remapper/visit-invoke-dynamic-insn.html @@ -0,0 +1,76 @@ + + + + + visitInvokeDynamicInsn + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

visitInvokeDynamicInsn

+
+
open override fun visitInvokeDynamicInsn(name: String, descriptor: String, handle: Handle, vararg args: Any)
+
+ +
+
+
+ + + diff --git a/docs/lib/com.grappenmaker.mappings/-lambda-aware-remapper/-lambda-aware-remapper.html b/docs/lib/com.grappenmaker.mappings/-lambda-aware-remapper/-lambda-aware-remapper.html new file mode 100644 index 0000000..ed81f02 --- /dev/null +++ b/docs/lib/com.grappenmaker.mappings/-lambda-aware-remapper/-lambda-aware-remapper.html @@ -0,0 +1,76 @@ + + + + + LambdaAwareRemapper + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

LambdaAwareRemapper

+
+
constructor(parent: ClassVisitor, remapper: Remapper)
+
+ +
+
+
+ + + diff --git a/docs/lib/com.grappenmaker.mappings/-lambda-aware-remapper/index.html b/docs/lib/com.grappenmaker.mappings/-lambda-aware-remapper/index.html new file mode 100644 index 0000000..8f7c4f3 --- /dev/null +++ b/docs/lib/com.grappenmaker.mappings/-lambda-aware-remapper/index.html @@ -0,0 +1,344 @@ + + + + + LambdaAwareRemapper + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

LambdaAwareRemapper

+
open class LambdaAwareRemapper(parent: ClassVisitor, remapper: Remapper) : ClassRemapper

A ClassRemapper that is aware of the remapping of Invoke Dynamic instructions for lambdas.

+
+
+
+
+
+

Constructors

+
+
+
+
+ + +
Link copied to clipboard
+
+
+
+
constructor(parent: ClassVisitor, remapper: Remapper)
+
+
+
+
+
+
+
+

Functions

+
+
+
+
+ + +
Link copied to clipboard
+
+
+
+
open fun getDelegate(): ClassVisitor
+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
open override fun visit(p0: Int, p1: Int, p2: String, p3: String, p4: String, p5: Array<String>)
+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
open override fun visitAnnotation(p0: String, p1: Boolean): AnnotationVisitor
+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
open override fun visitAttribute(p0: Attribute)
+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
open fun visitEnd()
+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
open override fun visitField(p0: Int, p1: String, p2: String, p3: String, p4: Any): FieldVisitor
+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
open override fun visitInnerClass(p0: String, p1: String, p2: String, p3: Int)
+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
open override fun visitMethod(p0: Int, p1: String, p2: String, p3: String, p4: Array<String>): MethodVisitor
+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
open override fun visitModule(p0: String, p1: Int, p2: String): ModuleVisitor
+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
open override fun visitNestHost(p0: String)
+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
open override fun visitNestMember(p0: String)
+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
open override fun visitOuterClass(p0: String, p1: String, p2: String)
+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
open override fun visitPermittedSubclass(p0: String)
+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
open override fun visitRecordComponent(p0: String, p1: String, p2: String): RecordComponentVisitor
+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
open fun visitSource(p0: String, p1: String)
+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
open override fun visitTypeAnnotation(p0: Int, p1: TypePath, p2: String, p3: Boolean): AnnotationVisitor
+
+
+
+
+
+
+
+
+
+ +
+
+
+ + + diff --git a/docs/lib/com.grappenmaker.mappings/-loader-inheritance-provider/-loader-inheritance-provider.html b/docs/lib/com.grappenmaker.mappings/-loader-inheritance-provider/-loader-inheritance-provider.html new file mode 100644 index 0000000..a7b2f81 --- /dev/null +++ b/docs/lib/com.grappenmaker.mappings/-loader-inheritance-provider/-loader-inheritance-provider.html @@ -0,0 +1,76 @@ + + + + + LoaderInheritanceProvider + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

LoaderInheritanceProvider

+
+
constructor(loader: ClasspathLoader)
+
+ +
+
+
+ + + diff --git a/docs/lib/com.grappenmaker.mappings/-loader-inheritance-provider/get-declared-methods.html b/docs/lib/com.grappenmaker.mappings/-loader-inheritance-provider/get-declared-methods.html new file mode 100644 index 0000000..57ee285 --- /dev/null +++ b/docs/lib/com.grappenmaker.mappings/-loader-inheritance-provider/get-declared-methods.html @@ -0,0 +1,76 @@ + + + + + getDeclaredMethods + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

getDeclaredMethods

+
+
open override fun getDeclaredMethods(internalName: String, filterInheritable: Boolean): Iterable<String>

Returns the signatures of the methods declared in a class with a given internalName.

A signature is a string that represents a method by concatenating its name with its JVMS descriptor For example: valueOf(Ljava/lang/String;)Lsome/EnumType;

A declared method is a method that is directly declared in the bytecode of the class.

If filterInheritable is true, this method should only return the signatures of methods that are non-private, non-static, non-final. That is, access & (ACC_PRIVATE | ACC_STATIC | ACC_FINAL) == 0, where access is the bitset of access flags as defined by the JVMS. The convienience constant INHERITABLE_MASK can be used for this computation as well, by comparing access &INHERITABLE_MASK == 0

+
+ +
+
+
+ + + diff --git a/docs/lib/com.grappenmaker.mappings/-loader-inheritance-provider/get-direct-parents.html b/docs/lib/com.grappenmaker.mappings/-loader-inheritance-provider/get-direct-parents.html new file mode 100644 index 0000000..7b0132d --- /dev/null +++ b/docs/lib/com.grappenmaker.mappings/-loader-inheritance-provider/get-direct-parents.html @@ -0,0 +1,76 @@ + + + + + getDirectParents + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

getDirectParents

+
+
open override fun getDirectParents(internalName: String): Iterable<String>

Returns the direct parents of a class with a given internalName, that is, it returns an iterable of its super class (if any) and its superinterfaces, in that order.

+
+ +
+
+
+ + + diff --git a/docs/lib/com.grappenmaker.mappings/-loader-inheritance-provider/index.html b/docs/lib/com.grappenmaker.mappings/-loader-inheritance-provider/index.html new file mode 100644 index 0000000..90c40e5 --- /dev/null +++ b/docs/lib/com.grappenmaker.mappings/-loader-inheritance-provider/index.html @@ -0,0 +1,164 @@ + + + + + LoaderInheritanceProvider + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

LoaderInheritanceProvider

+

An InheritanceProvider that delegates to a ClasspathLoader, loader, to extract inheritance information

+
+
+
+
+
+

Constructors

+
+
+
+
+ + +
Link copied to clipboard
+
+
+
+
constructor(loader: ClasspathLoader)
+
+
+
+
+
+
+
+

Functions

+
+
+
+
+ + +
Link copied to clipboard
+
+
+
+
open override fun getDeclaredMethods(internalName: String, filterInheritable: Boolean): Iterable<String>

Returns the signatures of the methods declared in a class with a given internalName.

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
open override fun getDirectParents(internalName: String): Iterable<String>

Returns the direct parents of a class with a given internalName, that is, it returns an iterable of its super class (if any) and its superinterfaces, in that order.

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
open fun getParents(internalName: String): Iterable<String>

Returns the internal names of the parents of a class with a given internalName, in depth-first order, interfaces first.

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+

Wraps this into a new provider that remembers the results of calls

+
+
+
+
+
+
+
+
+
+ +
+
+
+ + + diff --git a/docs/lib/com.grappenmaker.mappings/-loader-simple-remapper/-loader-simple-remapper.html b/docs/lib/com.grappenmaker.mappings/-loader-simple-remapper/-loader-simple-remapper.html new file mode 100644 index 0000000..79c6b9c --- /dev/null +++ b/docs/lib/com.grappenmaker.mappings/-loader-simple-remapper/-loader-simple-remapper.html @@ -0,0 +1,76 @@ + + + + + LoaderSimpleRemapper + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

LoaderSimpleRemapper

+
+
constructor(map: Map<String, String>, loader: ClasspathLoader, memoizeInheritance: Boolean = true)


constructor(map: Map<String, String>, inheritanceProvider: InheritanceProvider, memoizeInheritance: Boolean = true)

Parameters

memoizeInheritance

if true, the results of the InheritanceProvider will be memoized, see InheritanceProvider.memoized

+
+ +
+
+
+ + + diff --git a/docs/lib/com.grappenmaker.mappings/-loader-simple-remapper/index.html b/docs/lib/com.grappenmaker.mappings/-loader-simple-remapper/index.html new file mode 100644 index 0000000..35f4d6a --- /dev/null +++ b/docs/lib/com.grappenmaker.mappings/-loader-simple-remapper/index.html @@ -0,0 +1,329 @@ + + + + + LoaderSimpleRemapper + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

LoaderSimpleRemapper

+
open class LoaderSimpleRemapper(map: Map<String, String>, inheritanceProvider: InheritanceProvider, memoizeInheritance: Boolean = true) : Remapper

A Remapper that can use a InheritanceProvider for inheritance information to apply a certain map, that should be in an equivalent format as the one produced by Mappings.asASMMapping.

Parameters

memoizeInheritance

if true, the results of the InheritanceProvider will be memoized, see InheritanceProvider.memoized

Inheritors

+
+
+
+
+
+

Constructors

+
+
+
+
+ + +
Link copied to clipboard
+
+
+
+
constructor(map: Map<String, String>, loader: ClasspathLoader, memoizeInheritance: Boolean = true)
constructor(map: Map<String, String>, inheritanceProvider: InheritanceProvider, memoizeInheritance: Boolean = true)
+
+
+
+
+
+
+
+

Functions

+
+
+
+
+ + +
Link copied to clipboard
+
+
+
+
open override fun map(internalName: String): String
+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+ +
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
open fun mapDesc(p0: String): String
+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
open override fun mapFieldName(owner: String, name: String, desc: String?): String
+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
open fun mapInnerClassName(p0: String, p1: String, p2: String): String
+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+ +
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
open fun mapMethodDesc(p0: String): String
+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
open override fun mapMethodName(owner: String, name: String, desc: String): String
+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
open fun mapModuleName(p0: String): String
+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+ +
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
open override fun mapRecordComponentName(owner: String, name: String, desc: String): String
+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
open override fun mapSignature(signature: String?, typeSignature: Boolean): String?
+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
open fun mapType(p0: String): String
+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
open fun mapTypes(p0: Array<String>): Array<String>
+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
open fun mapValue(p0: Any): Any
+
+
+
+
+
+
+
+
+
+ +
+
+
+ + + diff --git a/docs/lib/com.grappenmaker.mappings/-loader-simple-remapper/map-field-name.html b/docs/lib/com.grappenmaker.mappings/-loader-simple-remapper/map-field-name.html new file mode 100644 index 0000000..d720626 --- /dev/null +++ b/docs/lib/com.grappenmaker.mappings/-loader-simple-remapper/map-field-name.html @@ -0,0 +1,76 @@ + + + + + mapFieldName + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

mapFieldName

+
+
open override fun mapFieldName(owner: String, name: String, desc: String?): String
+
+ +
+
+
+ + + diff --git a/docs/lib/com.grappenmaker.mappings/-loader-simple-remapper/map-method-name.html b/docs/lib/com.grappenmaker.mappings/-loader-simple-remapper/map-method-name.html new file mode 100644 index 0000000..347f648 --- /dev/null +++ b/docs/lib/com.grappenmaker.mappings/-loader-simple-remapper/map-method-name.html @@ -0,0 +1,76 @@ + + + + + mapMethodName + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

mapMethodName

+
+
open override fun mapMethodName(owner: String, name: String, desc: String): String
+
+ +
+
+
+ + + diff --git a/docs/lib/com.grappenmaker.mappings/-loader-simple-remapper/map-record-component-name.html b/docs/lib/com.grappenmaker.mappings/-loader-simple-remapper/map-record-component-name.html new file mode 100644 index 0000000..f335d9f --- /dev/null +++ b/docs/lib/com.grappenmaker.mappings/-loader-simple-remapper/map-record-component-name.html @@ -0,0 +1,76 @@ + + + + + mapRecordComponentName + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

mapRecordComponentName

+
+
open override fun mapRecordComponentName(owner: String, name: String, desc: String): String
+
+ +
+
+
+ + + diff --git a/docs/lib/com.grappenmaker.mappings/-loader-simple-remapper/map-signature.html b/docs/lib/com.grappenmaker.mappings/-loader-simple-remapper/map-signature.html new file mode 100644 index 0000000..17cf094 --- /dev/null +++ b/docs/lib/com.grappenmaker.mappings/-loader-simple-remapper/map-signature.html @@ -0,0 +1,76 @@ + + + + + mapSignature + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

mapSignature

+
+
open override fun mapSignature(signature: String?, typeSignature: Boolean): String?
+
+ +
+
+
+ + + diff --git a/docs/lib/com.grappenmaker.mappings/-loader-simple-remapper/map.html b/docs/lib/com.grappenmaker.mappings/-loader-simple-remapper/map.html new file mode 100644 index 0000000..340aa80 --- /dev/null +++ b/docs/lib/com.grappenmaker.mappings/-loader-simple-remapper/map.html @@ -0,0 +1,76 @@ + + + + + map + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

map

+
+
open override fun map(internalName: String): String
+
+ +
+
+
+ + + diff --git a/docs/lib/com.grappenmaker.mappings/-mapped-class/-mapped-class.html b/docs/lib/com.grappenmaker.mappings/-mapped-class/-mapped-class.html new file mode 100644 index 0000000..70179dc --- /dev/null +++ b/docs/lib/com.grappenmaker.mappings/-mapped-class/-mapped-class.html @@ -0,0 +1,76 @@ + + + + + MappedClass + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

MappedClass

+
+
constructor(names: List<String>, comments: List<String> = emptyList(), fields: List<MappedField> = emptyList(), methods: List<MappedMethod> = emptyList())
+
+ +
+
+
+ + + diff --git a/docs/lib/com.grappenmaker.mappings/-mapped-class/comments.html b/docs/lib/com.grappenmaker.mappings/-mapped-class/comments.html new file mode 100644 index 0000000..6921900 --- /dev/null +++ b/docs/lib/com.grappenmaker.mappings/-mapped-class/comments.html @@ -0,0 +1,76 @@ + + + + + comments + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

comments

+
+
open override val comments: List<String>
+
+ +
+
+
+ + + diff --git a/docs/lib/com.grappenmaker.mappings/-mapped-class/fields.html b/docs/lib/com.grappenmaker.mappings/-mapped-class/fields.html new file mode 100644 index 0000000..8907d7d --- /dev/null +++ b/docs/lib/com.grappenmaker.mappings/-mapped-class/fields.html @@ -0,0 +1,76 @@ + + + + + fields + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

fields

+
+ +
+ +
+
+
+ + + diff --git a/docs/lib/com.grappenmaker.mappings/-mapped-class/index.html b/docs/lib/com.grappenmaker.mappings/-mapped-class/index.html new file mode 100644 index 0000000..5ad2ef2 --- /dev/null +++ b/docs/lib/com.grappenmaker.mappings/-mapped-class/index.html @@ -0,0 +1,198 @@ + + + + + MappedClass + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

MappedClass

+
data class MappedClass(val names: List<String>, val comments: List<String> = emptyList(), val fields: List<MappedField> = emptyList(), val methods: List<MappedMethod> = emptyList()) : Mapped, Commented

Represents a mapped class (containing fields and methods)

+
+
+
+
+
+

Constructors

+
+
+
+
+ + +
Link copied to clipboard
+
+
+
+
constructor(names: List<String>, comments: List<String> = emptyList(), fields: List<MappedField> = emptyList(), methods: List<MappedMethod> = emptyList())
+
+
+
+
+
+
+
+

Properties

+
+
+
+
+ + +
Link copied to clipboard
+
+
+
+
open override val comments: List<String>

All comments that the author of some Mappings file wrote

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+

Mapping information for member fields

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+

Mapping information for member methods

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
open override val names: List<String>

The names of this named entity, which should correspond to some namespaces in Mappings.namespaces

+
+
+
+
+
+
+
+

Functions

+
+
+
+
+ + +
Link copied to clipboard
+
+
+
+

Filters methods matching the predicate

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+

Maps methods according to the given block

+
+
+
+
+
+
+
+
+
+ +
+
+
+ + + diff --git a/docs/lib/com.grappenmaker.mappings/-mapped-class/methods.html b/docs/lib/com.grappenmaker.mappings/-mapped-class/methods.html new file mode 100644 index 0000000..322aec7 --- /dev/null +++ b/docs/lib/com.grappenmaker.mappings/-mapped-class/methods.html @@ -0,0 +1,76 @@ + + + + + methods + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

methods

+
+ +
+ +
+
+
+ + + diff --git a/docs/lib/com.grappenmaker.mappings/-mapped-class/names.html b/docs/lib/com.grappenmaker.mappings/-mapped-class/names.html new file mode 100644 index 0000000..55fdaaf --- /dev/null +++ b/docs/lib/com.grappenmaker.mappings/-mapped-class/names.html @@ -0,0 +1,76 @@ + + + + + names + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

names

+
+
open override val names: List<String>
+
+ +
+
+
+ + + diff --git a/docs/lib/com.grappenmaker.mappings/-mapped-field/-mapped-field.html b/docs/lib/com.grappenmaker.mappings/-mapped-field/-mapped-field.html new file mode 100644 index 0000000..ea8eb75 --- /dev/null +++ b/docs/lib/com.grappenmaker.mappings/-mapped-field/-mapped-field.html @@ -0,0 +1,76 @@ + + + + + MappedField + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

MappedField

+
+
constructor(names: List<String>, comments: List<String> = emptyList(), desc: String?)
+
+ +
+
+
+ + + diff --git a/docs/lib/com.grappenmaker.mappings/-mapped-field/comments.html b/docs/lib/com.grappenmaker.mappings/-mapped-field/comments.html new file mode 100644 index 0000000..a37d44a --- /dev/null +++ b/docs/lib/com.grappenmaker.mappings/-mapped-field/comments.html @@ -0,0 +1,76 @@ + + + + + comments + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

comments

+
+
open override val comments: List<String>
+
+ +
+
+
+ + + diff --git a/docs/lib/com.grappenmaker.mappings/-mapped-field/desc.html b/docs/lib/com.grappenmaker.mappings/-mapped-field/desc.html new file mode 100644 index 0000000..a49424a --- /dev/null +++ b/docs/lib/com.grappenmaker.mappings/-mapped-field/desc.html @@ -0,0 +1,76 @@ + + + + + desc + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

desc

+
+
val desc: String?
+
+ +
+
+
+ + + diff --git a/docs/lib/com.grappenmaker.mappings/-mapped-field/index.html b/docs/lib/com.grappenmaker.mappings/-mapped-field/index.html new file mode 100644 index 0000000..dc115c9 --- /dev/null +++ b/docs/lib/com.grappenmaker.mappings/-mapped-field/index.html @@ -0,0 +1,149 @@ + + + + + MappedField + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

MappedField

+
data class MappedField(val names: List<String>, val comments: List<String> = emptyList(), val desc: String?) : Mapped, Commented

Represents a mapped field

+
+
+
+
+
+

Constructors

+
+
+
+
+ + +
Link copied to clipboard
+
+
+
+
constructor(names: List<String>, comments: List<String> = emptyList(), desc: String?)
+
+
+
+
+
+
+
+

Properties

+
+
+
+
+ + +
Link copied to clipboard
+
+
+
+
open override val comments: List<String>

All comments that the author of some Mappings file wrote

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
val desc: String?

The JVMS field descriptor in the "first namespace" of a Mappings file

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
open override val names: List<String>

The names of this named entity, which should correspond to some namespaces in Mappings.namespaces

+
+
+
+
+
+
+
+
+
+ +
+
+
+ + + diff --git a/docs/lib/com.grappenmaker.mappings/-mapped-field/names.html b/docs/lib/com.grappenmaker.mappings/-mapped-field/names.html new file mode 100644 index 0000000..fdbaa30 --- /dev/null +++ b/docs/lib/com.grappenmaker.mappings/-mapped-field/names.html @@ -0,0 +1,76 @@ + + + + + names + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

names

+
+
open override val names: List<String>
+
+ +
+
+
+ + + diff --git a/docs/lib/com.grappenmaker.mappings/-mapped-local/--index--.html b/docs/lib/com.grappenmaker.mappings/-mapped-local/--index--.html new file mode 100644 index 0000000..c657186 --- /dev/null +++ b/docs/lib/com.grappenmaker.mappings/-mapped-local/--index--.html @@ -0,0 +1,76 @@ + + + + + index + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

index

+
+
val index: Int
+
+ +
+
+
+ + + diff --git a/docs/lib/com.grappenmaker.mappings/-mapped-local/-mapped-local.html b/docs/lib/com.grappenmaker.mappings/-mapped-local/-mapped-local.html new file mode 100644 index 0000000..f4ac83e --- /dev/null +++ b/docs/lib/com.grappenmaker.mappings/-mapped-local/-mapped-local.html @@ -0,0 +1,76 @@ + + + + + MappedLocal + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

MappedLocal

+
+
constructor(index: Int, startOffset: Int, lvtIndex: Int, names: List<String>)
+
+ +
+
+
+ + + diff --git a/docs/lib/com.grappenmaker.mappings/-mapped-local/index.html b/docs/lib/com.grappenmaker.mappings/-mapped-local/index.html new file mode 100644 index 0000000..75a88bc --- /dev/null +++ b/docs/lib/com.grappenmaker.mappings/-mapped-local/index.html @@ -0,0 +1,164 @@ + + + + + MappedLocal + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

MappedLocal

+
data class MappedLocal(val index: Int, val startOffset: Int, val lvtIndex: Int, val names: List<String>) : Mapped

Represents a mapped local variable. This is different to a MappedParameter, because it carries data about LVT and usage in the bytecode.

+
+
+
+
+
+

Constructors

+
+
+
+
+ + +
Link copied to clipboard
+
+
+
+
constructor(index: Int, startOffset: Int, lvtIndex: Int, names: List<String>)
+
+
+
+
+
+
+
+

Properties

+
+
+
+
+ + +
Link copied to clipboard
+
+
+
+
val index: Int

the index (starting at zero) of this local variable

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+

the index of this local variable in the local variable table (less than zero if omitted)

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
open override val names: List<String>

The names of this named entity, which should correspond to some namespaces in Mappings.namespaces

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+

the offset of this local variable in the local variable table

+
+
+
+
+
+
+
+
+
+ +
+
+
+ + + diff --git a/docs/lib/com.grappenmaker.mappings/-mapped-local/lvt-index.html b/docs/lib/com.grappenmaker.mappings/-mapped-local/lvt-index.html new file mode 100644 index 0000000..76c973a --- /dev/null +++ b/docs/lib/com.grappenmaker.mappings/-mapped-local/lvt-index.html @@ -0,0 +1,76 @@ + + + + + lvtIndex + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

lvtIndex

+
+ +
+ +
+
+
+ + + diff --git a/docs/lib/com.grappenmaker.mappings/-mapped-local/names.html b/docs/lib/com.grappenmaker.mappings/-mapped-local/names.html new file mode 100644 index 0000000..c4cff64 --- /dev/null +++ b/docs/lib/com.grappenmaker.mappings/-mapped-local/names.html @@ -0,0 +1,76 @@ + + + + + names + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

names

+
+
open override val names: List<String>
+
+ +
+
+
+ + + diff --git a/docs/lib/com.grappenmaker.mappings/-mapped-local/start-offset.html b/docs/lib/com.grappenmaker.mappings/-mapped-local/start-offset.html new file mode 100644 index 0000000..5b36c9b --- /dev/null +++ b/docs/lib/com.grappenmaker.mappings/-mapped-local/start-offset.html @@ -0,0 +1,76 @@ + + + + + startOffset + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

startOffset

+
+ +
+ +
+
+
+ + + diff --git a/docs/lib/com.grappenmaker.mappings/-mapped-method/-mapped-method.html b/docs/lib/com.grappenmaker.mappings/-mapped-method/-mapped-method.html new file mode 100644 index 0000000..22f305e --- /dev/null +++ b/docs/lib/com.grappenmaker.mappings/-mapped-method/-mapped-method.html @@ -0,0 +1,76 @@ + + + + + MappedMethod + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

MappedMethod

+
+
constructor(names: List<String>, comments: List<String> = emptyList(), desc: String, parameters: List<MappedParameter> = emptyList(), variables: List<MappedLocal> = emptyList())
+
+ +
+
+
+ + + diff --git a/docs/lib/com.grappenmaker.mappings/-mapped-method/comments.html b/docs/lib/com.grappenmaker.mappings/-mapped-method/comments.html new file mode 100644 index 0000000..ef4b4ec --- /dev/null +++ b/docs/lib/com.grappenmaker.mappings/-mapped-method/comments.html @@ -0,0 +1,76 @@ + + + + + comments + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

comments

+
+
open override val comments: List<String>
+
+ +
+
+
+ + + diff --git a/docs/lib/com.grappenmaker.mappings/-mapped-method/desc.html b/docs/lib/com.grappenmaker.mappings/-mapped-method/desc.html new file mode 100644 index 0000000..9c4a6e3 --- /dev/null +++ b/docs/lib/com.grappenmaker.mappings/-mapped-method/desc.html @@ -0,0 +1,76 @@ + + + + + desc + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

desc

+
+ +
+ +
+
+
+ + + diff --git a/docs/lib/com.grappenmaker.mappings/-mapped-method/index.html b/docs/lib/com.grappenmaker.mappings/-mapped-method/index.html new file mode 100644 index 0000000..313fe09 --- /dev/null +++ b/docs/lib/com.grappenmaker.mappings/-mapped-method/index.html @@ -0,0 +1,198 @@ + + + + + MappedMethod + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

MappedMethod

+
data class MappedMethod(val names: List<String>, val comments: List<String> = emptyList(), val desc: String, val parameters: List<MappedParameter> = emptyList(), val variables: List<MappedLocal> = emptyList()) : Mapped, Commented

Represents a mapped method

+
+
+
+
+
+

Constructors

+
+
+
+
+ + +
Link copied to clipboard
+
+
+
+
constructor(names: List<String>, comments: List<String> = emptyList(), desc: String, parameters: List<MappedParameter> = emptyList(), variables: List<MappedLocal> = emptyList())
+
+
+
+
+
+
+
+

Properties

+
+
+
+
+ + +
Link copied to clipboard
+
+
+
+
open override val comments: List<String>

All comments that the author of some Mappings file wrote

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+

The JVMS method descriptor in the "first namespace" of a Mappings file

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
open override val names: List<String>

The names of this named entity, which should correspond to some namespaces in Mappings.namespaces

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+

Deobfuscation information regarding parameter names

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+

Deobfuscation information regarding local variable names

+
+
+
+
+
+
+
+

Functions

+
+
+
+
+ + +
Link copied to clipboard
+
+
+
+

Returns whether the methods represented by this MappedMethod is a data method, that is, if this method is hashCode, toString, equals or an initializer, like a constructor or init {} block (this means that the jvm names are and , respectively)

+
+
+
+
+
+
+
+
+
+ +
+
+
+ + + diff --git a/docs/lib/com.grappenmaker.mappings/-mapped-method/names.html b/docs/lib/com.grappenmaker.mappings/-mapped-method/names.html new file mode 100644 index 0000000..129b5ab --- /dev/null +++ b/docs/lib/com.grappenmaker.mappings/-mapped-method/names.html @@ -0,0 +1,76 @@ + + + + + names + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

names

+
+
open override val names: List<String>
+
+ +
+
+
+ + + diff --git a/docs/lib/com.grappenmaker.mappings/-mapped-method/parameters.html b/docs/lib/com.grappenmaker.mappings/-mapped-method/parameters.html new file mode 100644 index 0000000..20d373e --- /dev/null +++ b/docs/lib/com.grappenmaker.mappings/-mapped-method/parameters.html @@ -0,0 +1,76 @@ + + + + + parameters + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

parameters

+
+ +
+ +
+
+
+ + + diff --git a/docs/lib/com.grappenmaker.mappings/-mapped-method/variables.html b/docs/lib/com.grappenmaker.mappings/-mapped-method/variables.html new file mode 100644 index 0000000..b330ddb --- /dev/null +++ b/docs/lib/com.grappenmaker.mappings/-mapped-method/variables.html @@ -0,0 +1,76 @@ + + + + + variables + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

variables

+
+ +
+ +
+
+
+ + + diff --git a/docs/lib/com.grappenmaker.mappings/-mapped-parameter/--index--.html b/docs/lib/com.grappenmaker.mappings/-mapped-parameter/--index--.html new file mode 100644 index 0000000..a8d6f8a --- /dev/null +++ b/docs/lib/com.grappenmaker.mappings/-mapped-parameter/--index--.html @@ -0,0 +1,76 @@ + + + + + index + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

index

+
+
val index: Int
+
+ +
+
+
+ + + diff --git a/docs/lib/com.grappenmaker.mappings/-mapped-parameter/-mapped-parameter.html b/docs/lib/com.grappenmaker.mappings/-mapped-parameter/-mapped-parameter.html new file mode 100644 index 0000000..a70fa1d --- /dev/null +++ b/docs/lib/com.grappenmaker.mappings/-mapped-parameter/-mapped-parameter.html @@ -0,0 +1,76 @@ + + + + + MappedParameter + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

MappedParameter

+
+
constructor(names: List<String>, index: Int)
+
+ +
+
+
+ + + diff --git a/docs/lib/com.grappenmaker.mappings/-mapped-parameter/index.html b/docs/lib/com.grappenmaker.mappings/-mapped-parameter/index.html new file mode 100644 index 0000000..af8ea44 --- /dev/null +++ b/docs/lib/com.grappenmaker.mappings/-mapped-parameter/index.html @@ -0,0 +1,134 @@ + + + + + MappedParameter + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

MappedParameter

+
data class MappedParameter(val names: List<String>, val index: Int) : Mapped

Represents a mapped parameter of a MappedMethod, which is different from a MappedLocal (see docs)

+
+
+
+
+
+

Constructors

+
+
+
+
+ + +
Link copied to clipboard
+
+
+
+
constructor(names: List<String>, index: Int)
+
+
+
+
+
+
+
+

Properties

+
+
+
+
+ + +
Link copied to clipboard
+
+
+
+
val index: Int

the index (starting at zero) of this parameter

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
open override val names: List<String>

The names of this named entity, which should correspond to some namespaces in Mappings.namespaces

+
+
+
+
+
+
+
+
+
+ +
+
+
+ + + diff --git a/docs/lib/com.grappenmaker.mappings/-mapped-parameter/names.html b/docs/lib/com.grappenmaker.mappings/-mapped-parameter/names.html new file mode 100644 index 0000000..2fe9060 --- /dev/null +++ b/docs/lib/com.grappenmaker.mappings/-mapped-parameter/names.html @@ -0,0 +1,76 @@ + + + + + names + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

names

+
+
open override val names: List<String>
+
+ +
+
+
+ + + diff --git a/docs/lib/com.grappenmaker.mappings/-mapped/index.html b/docs/lib/com.grappenmaker.mappings/-mapped/index.html new file mode 100644 index 0000000..6e074b2 --- /dev/null +++ b/docs/lib/com.grappenmaker.mappings/-mapped/index.html @@ -0,0 +1,100 @@ + + + + + Mapped + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

Mapped

+
sealed interface Mapped

Represents any entity that can have different mapped names

Inheritors

+
+
+
+
+
+

Properties

+
+
+
+
+ + +
Link copied to clipboard
+
+
+
+
abstract val names: List<String>

The names of this named entity, which should correspond to some namespaces in Mappings.namespaces

+
+
+
+
+
+
+
+
+
+ +
+
+
+ + + diff --git a/docs/lib/com.grappenmaker.mappings/-mapped/names.html b/docs/lib/com.grappenmaker.mappings/-mapped/names.html new file mode 100644 index 0000000..c5a9bcd --- /dev/null +++ b/docs/lib/com.grappenmaker.mappings/-mapped/names.html @@ -0,0 +1,76 @@ + + + + + names + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

names

+
+
abstract val names: List<String>
+
+ +
+
+
+ + + diff --git a/docs/lib/com.grappenmaker.mappings/-mappings-format/-undetectable/detect.html b/docs/lib/com.grappenmaker.mappings/-mappings-format/-undetectable/detect.html new file mode 100644 index 0000000..63f961e --- /dev/null +++ b/docs/lib/com.grappenmaker.mappings/-mappings-format/-undetectable/detect.html @@ -0,0 +1,76 @@ + + + + + detect + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

detect

+
+
open override fun detect(lines: List<String>): Boolean

Deprecated

This mappings format does not support detection

Replace with

false

Returns whether this MappingsFormat thinks the lines represent a valid input for the mappings parser

+
+ +
+
+
+ + + diff --git a/docs/lib/com.grappenmaker.mappings/-mappings-format/-undetectable/index.html b/docs/lib/com.grappenmaker.mappings/-mappings-format/-undetectable/index.html new file mode 100644 index 0000000..9a8dcca --- /dev/null +++ b/docs/lib/com.grappenmaker.mappings/-mappings-format/-undetectable/index.html @@ -0,0 +1,160 @@ + + + + + Undetectable + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

Undetectable

+
sealed interface Undetectable<T : Mappings> : MappingsFormat<T>

Represents a mappings format that does not support detecting inputs, because of ambiguities or similarities with other formats. detect will always return false. If you want to use this mappings format, it should either be known ahead of time or stored somewhere that this is the case, this library won't handle that for you.

Inheritors

+
+
+
+
+
+

Functions

+
+
+
+
+ + +
Link copied to clipboard
+
+
+
+
open override fun detect(lines: List<String>): Boolean

Returns whether this MappingsFormat thinks the lines represent a valid input for the mappings parser

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
abstract fun parse(lines: Iterator<String>): T

Parses lines (an iterator of lines in a mappings file) into a mappings data structure. Throws an IllegalStateException when lines is not a valid input for this mappings format.

open fun parse(lines: List<String>): T

Parses lines (representing a mappings file) into a mappings data structure. Throws an IllegalStateException when lines is not a valid input for this mappings format. To check if lines can be parsed, you could invoke detect.

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+

Parses lines (a Sequence of lines in a mappings file) into a mappings data structure. Throws an IllegalStateException when lines is not a valid input for this mappings format.

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
open fun write(mappings: T): List<String>

Writes mappings compatible with this MappingsFormat back to a list of lines representing a mappings file

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
abstract fun writeLazy(mappings: T): Sequence<String>

Writes mappings compatible with this MappingsFormat to a lazily evaluated Sequence

+
+
+
+
+
+
+
+
+
+ +
+
+
+ + + diff --git a/docs/lib/com.grappenmaker.mappings/-mappings-format/detect.html b/docs/lib/com.grappenmaker.mappings/-mappings-format/detect.html new file mode 100644 index 0000000..67a8a45 --- /dev/null +++ b/docs/lib/com.grappenmaker.mappings/-mappings-format/detect.html @@ -0,0 +1,76 @@ + + + + + detect + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

detect

+
+
abstract fun detect(lines: List<String>): Boolean

Returns whether this MappingsFormat thinks the lines represent a valid input for the mappings parser

+
+ +
+
+
+ + + diff --git a/docs/lib/com.grappenmaker.mappings/-mappings-format/index.html b/docs/lib/com.grappenmaker.mappings/-mappings-format/index.html new file mode 100644 index 0000000..cc933ff --- /dev/null +++ b/docs/lib/com.grappenmaker.mappings/-mappings-format/index.html @@ -0,0 +1,179 @@ + + + + + MappingsFormat + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ + +
+
+
+
+

Types

+
+
+
+
+ + +
Link copied to clipboard
+
+
+
+
sealed interface Undetectable<T : Mappings> : MappingsFormat<T>

Represents a mappings format that does not support detecting inputs, because of ambiguities or similarities with other formats. detect will always return false. If you want to use this mappings format, it should either be known ahead of time or stored somewhere that this is the case, this library won't handle that for you.

+
+
+
+
+
+
+
+

Functions

+
+
+
+
+ + +
Link copied to clipboard
+
+
+
+
abstract fun detect(lines: List<String>): Boolean

Returns whether this MappingsFormat thinks the lines represent a valid input for the mappings parser

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
abstract fun parse(lines: Iterator<String>): T

Parses lines (an iterator of lines in a mappings file) into a mappings data structure. Throws an IllegalStateException when lines is not a valid input for this mappings format.

open fun parse(lines: List<String>): T

Parses lines (representing a mappings file) into a mappings data structure. Throws an IllegalStateException when lines is not a valid input for this mappings format. To check if lines can be parsed, you could invoke detect.

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+

Parses lines (a Sequence of lines in a mappings file) into a mappings data structure. Throws an IllegalStateException when lines is not a valid input for this mappings format.

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
open fun write(mappings: T): List<String>

Writes mappings compatible with this MappingsFormat back to a list of lines representing a mappings file

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
abstract fun writeLazy(mappings: T): Sequence<String>

Writes mappings compatible with this MappingsFormat to a lazily evaluated Sequence

+
+
+
+
+
+
+
+
+
+ +
+
+
+ + + diff --git a/docs/lib/com.grappenmaker.mappings/-mappings-format/parse.html b/docs/lib/com.grappenmaker.mappings/-mappings-format/parse.html new file mode 100644 index 0000000..0842021 --- /dev/null +++ b/docs/lib/com.grappenmaker.mappings/-mappings-format/parse.html @@ -0,0 +1,76 @@ + + + + + parse + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

parse

+
+
open fun parse(lines: List<String>): T

Parses lines (representing a mappings file) into a mappings data structure. Throws an IllegalStateException when lines is not a valid input for this mappings format. To check if lines can be parsed, you could invoke detect.

If detection is not required, parse with an Iterator should be preferred


abstract fun parse(lines: Iterator<String>): T

Parses lines (an iterator of lines in a mappings file) into a mappings data structure. Throws an IllegalStateException when lines is not a valid input for this mappings format.

+
+ +
+
+
+ + + diff --git a/docs/lib/com.grappenmaker.mappings/-mappings-format/write-lazy.html b/docs/lib/com.grappenmaker.mappings/-mappings-format/write-lazy.html new file mode 100644 index 0000000..2854d3b --- /dev/null +++ b/docs/lib/com.grappenmaker.mappings/-mappings-format/write-lazy.html @@ -0,0 +1,76 @@ + + + + + writeLazy + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

writeLazy

+
+
abstract fun writeLazy(mappings: T): Sequence<String>

Writes mappings compatible with this MappingsFormat to a lazily evaluated Sequence

+
+ +
+
+
+ + + diff --git a/docs/lib/com.grappenmaker.mappings/-mappings-format/write.html b/docs/lib/com.grappenmaker.mappings/-mappings-format/write.html new file mode 100644 index 0000000..c9ff9bf --- /dev/null +++ b/docs/lib/com.grappenmaker.mappings/-mappings-format/write.html @@ -0,0 +1,76 @@ + + + + + write + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

write

+
+
open fun write(mappings: T): List<String>

Writes mappings compatible with this MappingsFormat back to a list of lines representing a mappings file

+
+ +
+
+
+ + + diff --git a/docs/lib/com.grappenmaker.mappings/-mappings-loader/all-mappings-formats.html b/docs/lib/com.grappenmaker.mappings/-mappings-loader/all-mappings-formats.html new file mode 100644 index 0000000..bf3c77d --- /dev/null +++ b/docs/lib/com.grappenmaker.mappings/-mappings-loader/all-mappings-formats.html @@ -0,0 +1,76 @@ + + + + + allMappingsFormats + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

allMappingsFormats

+
+

Contains all supported MappingsFormats.

+
+ +
+
+
+ + + diff --git a/docs/lib/com.grappenmaker.mappings/-mappings-loader/find-mappings-format.html b/docs/lib/com.grappenmaker.mappings/-mappings-loader/find-mappings-format.html new file mode 100644 index 0000000..3f871d8 --- /dev/null +++ b/docs/lib/com.grappenmaker.mappings/-mappings-loader/find-mappings-format.html @@ -0,0 +1,76 @@ + + + + + findMappingsFormat + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

findMappingsFormat

+
+

Finds the correct MappingsFormat for the mappings file represented by lines. Throws an IllegalStateException when an invalid mappings sequence is provided (or not supported).

Note that mappings formats that do not support detection (inheritors of MappingsFormat.Undetectable) will not be returned by this function.

See also

+
+ +
+
+
+ + + diff --git a/docs/lib/com.grappenmaker.mappings/-mappings-loader/index.html b/docs/lib/com.grappenmaker.mappings/-mappings-loader/index.html new file mode 100644 index 0000000..6335be1 --- /dev/null +++ b/docs/lib/com.grappenmaker.mappings/-mappings-loader/index.html @@ -0,0 +1,134 @@ + + + + + MappingsLoader + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

MappingsLoader

+

The entry point for loading Mappings.

Note that it should be preferred that it is known in advance which mappings format is being dealt with, as the detection mechanism can be inaccurate due to it not fully parsing the input file. It can also slow the entire process down, since it requires the caller to read some probably large resource into a List first, which costs allocations.

+
+
+
+
+
+

Properties

+
+
+
+
+ + +
Link copied to clipboard
+
+
+
+

Contains all supported MappingsFormats.

+
+
+
+
+
+
+
+

Functions

+
+
+
+
+ + +
Link copied to clipboard
+
+
+
+

Finds the correct MappingsFormat for the mappings file represented by lines. Throws an IllegalStateException when an invalid mappings sequence is provided (or not supported).

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+

Attempts to load the mappings represented by lines as Mappings. Throws an IllegalStateException when an invalid mappings sequence is provided (or not supported).

+
+
+
+
+
+
+
+
+
+ +
+
+
+ + + diff --git a/docs/lib/com.grappenmaker.mappings/-mappings-loader/load-mappings.html b/docs/lib/com.grappenmaker.mappings/-mappings-loader/load-mappings.html new file mode 100644 index 0000000..d30d64c --- /dev/null +++ b/docs/lib/com.grappenmaker.mappings/-mappings-loader/load-mappings.html @@ -0,0 +1,76 @@ + + + + + loadMappings + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

loadMappings

+
+

Attempts to load the mappings represented by lines as Mappings. Throws an IllegalStateException when an invalid mappings sequence is provided (or not supported).

Note that mappings in formats that do not support detection (inheritors of MappingsFormat.Undetectable) will not be parsed correctly, and an IllegalStateException will be thrown.

See also

+
+ +
+
+
+ + + diff --git a/docs/lib/com.grappenmaker.mappings/-mappings-remapper/-mappings-remapper.html b/docs/lib/com.grappenmaker.mappings/-mappings-remapper/-mappings-remapper.html new file mode 100644 index 0000000..a64b2b2 --- /dev/null +++ b/docs/lib/com.grappenmaker.mappings/-mappings-remapper/-mappings-remapper.html @@ -0,0 +1,76 @@ + + + + + MappingsRemapper + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

MappingsRemapper

+
+
constructor(mappings: Mappings, from: String, to: String, loader: ClasspathLoader)
+
+ +
+
+
+ + + diff --git a/docs/lib/com.grappenmaker.mappings/-mappings-remapper/from.html b/docs/lib/com.grappenmaker.mappings/-mappings-remapper/from.html new file mode 100644 index 0000000..901b805 --- /dev/null +++ b/docs/lib/com.grappenmaker.mappings/-mappings-remapper/from.html @@ -0,0 +1,76 @@ + + + + + from + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

from

+
+ +
+ +
+
+
+ + + diff --git a/docs/lib/com.grappenmaker.mappings/-mappings-remapper/index.html b/docs/lib/com.grappenmaker.mappings/-mappings-remapper/index.html new file mode 100644 index 0000000..ad7d59e --- /dev/null +++ b/docs/lib/com.grappenmaker.mappings/-mappings-remapper/index.html @@ -0,0 +1,393 @@ + + + + + MappingsRemapper + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

MappingsRemapper

+
class MappingsRemapper(val mappings: Mappings, val from: String, val to: String, loader: ClasspathLoader) : LoaderSimpleRemapper

A Remapper for Mappings, which is capable of using inheritance information from classes (the implementor may choose to cache them) to resolve mapping data.

Maps between from and to namespaces. If shouldRemapDesc is true (which it is by default if the from namespace is not the first namespace in the mappings), this MappingsRemapper will remap the descriptors of methods before passing them on to the mappings, in order to find the correct overload.

loader should return the bytes for a class file with a given internal name, whether that is in a jar file, this JVMs system class loader, or another resource. If loader returns null, the remapper considers the class file not present/missing/irrelevant.

See also

for default implementations of loader

+
+
+
+
+
+

Constructors

+
+
+
+
+ + +
Link copied to clipboard
+
+
+
+
constructor(mappings: Mappings, from: String, to: String, loader: ClasspathLoader)
+
+
+
+
+
+
+
+

Properties

+
+
+
+
+ + +
Link copied to clipboard
+
+
+
+

the namespace to remap from

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+

the mappings used for remapping

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
val to: String

the namespace to remap to

+
+
+
+
+
+
+
+

Functions

+
+
+
+
+ + +
Link copied to clipboard
+
+
+
+
open override fun map(internalName: String): String
+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+ +
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
open fun mapDesc(p0: String): String
+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
open override fun mapFieldName(owner: String, name: String, desc: String?): String
+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
open fun mapInnerClassName(p0: String, p1: String, p2: String): String
+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+ +
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
open fun mapMethodDesc(p0: String): String
+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
open override fun mapMethodName(owner: String, name: String, desc: String): String
+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
open fun mapModuleName(p0: String): String
+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+ +
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
open override fun mapRecordComponentName(owner: String, name: String, desc: String): String
+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
open override fun mapSignature(signature: String?, typeSignature: Boolean): String?
+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
open fun mapType(p0: String): String
+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
open fun mapTypes(p0: Array<String>): Array<String>
+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
open fun mapValue(p0: Any): Any
+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
fun reverse(loader: ClasspathLoader = this.loader): MappingsRemapper

Returns a MappingsRemapper that reverses the changes of this MappingsRemapper.

+
+
+
+
+
+
+
+
+
+ +
+
+
+ + + diff --git a/docs/lib/com.grappenmaker.mappings/-mappings-remapper/mappings.html b/docs/lib/com.grappenmaker.mappings/-mappings-remapper/mappings.html new file mode 100644 index 0000000..70286cf --- /dev/null +++ b/docs/lib/com.grappenmaker.mappings/-mappings-remapper/mappings.html @@ -0,0 +1,76 @@ + + + + + mappings + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

mappings

+
+ +
+ +
+
+
+ + + diff --git a/docs/lib/com.grappenmaker.mappings/-mappings-remapper/reverse.html b/docs/lib/com.grappenmaker.mappings/-mappings-remapper/reverse.html new file mode 100644 index 0000000..3f53c53 --- /dev/null +++ b/docs/lib/com.grappenmaker.mappings/-mappings-remapper/reverse.html @@ -0,0 +1,76 @@ + + + + + reverse + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

reverse

+
+
fun reverse(loader: ClasspathLoader = this.loader): MappingsRemapper

Returns a MappingsRemapper that reverses the changes of this MappingsRemapper.

Note that loader is by default set to the already passed loader, but it might be incorrect depending on the implementation of loader in the original MappingsRemapper. Make sure to pass a new implementation if inheritance data matters to you and the original loader could not handle different namespaced names.

+
+ +
+
+
+ + + diff --git a/docs/lib/com.grappenmaker.mappings/-mappings-remapper/to.html b/docs/lib/com.grappenmaker.mappings/-mappings-remapper/to.html new file mode 100644 index 0000000..29d89a9 --- /dev/null +++ b/docs/lib/com.grappenmaker.mappings/-mappings-remapper/to.html @@ -0,0 +1,76 @@ + + + + + to + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

to

+
+
val to: String
+
+ +
+
+
+ + + diff --git a/docs/lib/com.grappenmaker.mappings/-mappings/classes.html b/docs/lib/com.grappenmaker.mappings/-mappings/classes.html new file mode 100644 index 0000000..2758999 --- /dev/null +++ b/docs/lib/com.grappenmaker.mappings/-mappings/classes.html @@ -0,0 +1,76 @@ + + + + + classes + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

classes

+
+
abstract val classes: List<MappedClass>
+
+ +
+
+
+ + + diff --git a/docs/lib/com.grappenmaker.mappings/-mappings/index.html b/docs/lib/com.grappenmaker.mappings/-mappings/index.html new file mode 100644 index 0000000..4deaeb8 --- /dev/null +++ b/docs/lib/com.grappenmaker.mappings/-mappings/index.html @@ -0,0 +1,494 @@ + + + + + Mappings + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

Mappings

+
sealed interface Mappings

Represents any type of mappings. The names in all of the Mapped entities are in the order of the namespaces, and should have equal length arrays.

Inheritors

+
+
+
+
+
+

Properties

+
+
+
+
+ + +
Link copied to clipboard
+
+
+
+
abstract val classes: List<MappedClass>

All mapped classes in this mappings file (in order, not important)

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
abstract val namespaces: List<String>

All namespaces (in order) that this mappings file supports/contains

+
+
+
+
+
+
+
+

Functions

+
+
+
+
+ + +
Link copied to clipboard
+
+
+
+
fun Mappings.asASMMapping(from: String, to: String, includeMethods: Boolean = true, includeFields: Boolean = true): Map<String, String>

Returns a simple mapping representing all of the Mappings, mapping between the namespaces from and to. If includeMethods is true, then methods will be included in the mapping. If includeFields is true, then fields will be included in the mapping.

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+ +
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+ +
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+ +
+
+ +
+
+
+ + +
Link copied to clipboard
+
+ +
+
+ +
+
+
+ + +
Link copied to clipboard
+
+ +
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+ +
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
fun Mappings.asSimpleRemapper(from: String, to: String): SimpleRemapper

Returns an asm SimpleRemapper for remapping references between namespaces from and to disregarding inheritance and lambdas. For proper remapping, you should use the MappingsRemapper.

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+

Converts these Mappings to SRGMappings, enabling XSRG when extended is true.

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+

Converts these Mappings to TinyMappings, enabling Tiny v2 when v2 is true.

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+

Converts these Mappings to TSRGMappings, enabling TSRG v2 when v2 is true.

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+

Removes all duplicate namespace usages in this Mappings.

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+

Transforms this Mappings structure to a generic mappings implementation that maps between from and to.

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
inline fun Mappings.filterClasses(predicate: (MappedClass) -> Boolean): Mappings

Filters classes matching the predicate

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
inline fun Mappings.filterMethods(predicate: (owner: MappedClass, method: MappedMethod) -> Boolean): Mappings

Filters methods matching the predicate

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
fun Mappings.filterNamespaces(vararg allowed: String, allowDuplicates: Boolean = false): Mappings
fun Mappings.filterNamespaces(allowed: Set<String>, allowDuplicates: Boolean = false): Mappings

Filters these Mappings to only contain namespaces that are in allowed. If allowDuplicates is true, the returned Mappings will also have duplicate namespaces removed.

inline fun Mappings.filterNamespaces(allowDuplicates: Boolean = false, predicate: (String) -> Boolean): Mappings

Filters these Mappings to only contain namespaces for which the predicate returns true. If allowDuplicates is true, the returned Mappings will also have duplicate namespaces removed.

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
fun Mappings.join(otherMappings: Mappings, intermediateNamespace: String, requireMatch: Boolean = false): Mappings

Joins together this Mappings with otherMappings, by matching on intermediateNamespace, producing new Mappings that contain all entries from this Mappings and otherMappings. If requireMatch is true, this method will throw an exception when no method or field or class is found

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+

Maps classes according to the given block

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
inline fun Mappings.mapMethods(block: (owner: MappedClass, method: MappedMethod) -> MappedMethod): Mappings

Maps methods according to the given block

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+

Returns the index of a namespace named name, but throws an IllegalStateException when name is not in the Mappings.namespaces.

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+

See recoverFieldDescriptors. file is a jar file resource (caller is responsible for closing it) that contains the classes that are referenced in the generic overload.

fun Mappings.recoverFieldDescriptors(bytesProvider: (name: String) -> ByteArray?): Mappings

Attempts to recover field descriptors that are missing because the original mappings format did not specify them. bytesProvider is responsible for providing all of the classes that might be referenced in this Mappings object, such that the descriptors can be recovered based on named (fields can be uniquely identified by an owner-name pair). When field descriptors were not found, field mappings will not be passed onto the new Mappings as field mappings without descriptors will be considered invalid.

@JvmName(name = "recoverDescsByNode")
fun Mappings.recoverFieldDescriptors(nodeProvider: (name: String) -> ClassNode?): Mappings

Attempts to recover field descriptors that are missing because the original mappings format did not specify them. nodeProvider is responsible for providing all of the ClassNodes that might be referenced in this Mappings object, such that the descriptors can be recovered based on named (fields can be uniquely identified by an owner-name pair). When field descriptors were not found, field mappings will not be passed onto the new Mappings as field mappings without descriptors will be considered invalid.

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+

Returns new Mappings that are identical to these Mappings, except the comments will be removed

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
fun Mappings.removeRedundancy(inheritanceProvider: InheritanceProvider, removeDuplicateMethods: Boolean = false): Mappings

Removes redundant or straight up incorrect data from this Mappings object, by looking at the inheritance information present in class files, presented by the inheritanceProvider.

fun Mappings.removeRedundancy(file: JarFile, removeDuplicateMethods: Boolean = false): Mappings

See removeRedundancy. file is a jar file resource (caller is responsible for closing it) that contains the classes that are referenced in the generic overload. Calls with identical names are being cached by this function, the caller is not responsible for this.

fun Mappings.removeRedundancy(removeDuplicateMethods: Boolean = false, loader: ClasspathLoader): Mappings

Removes redundant or straight up incorrect data from this Mappings object, by looking at the inheritance information present in class files, presented by the loader.

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+

Swaps out the names for the namespaces in this Mappings data structure.

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+

Swaps out the names for the namespaces in this Mappings data structure, by reordering. Duplicate names are allowed, in which case mapped entries are duplicated to fit the new order. If a name in Mappings.namespaces does not appear in order, its mapping entries will be missing in the returned Mappings.

Swaps out the names for the namespaces in this Mappings data structure, by reordering. Duplicate names are allowed, in which case mapped entries are duplicated to fit the new order. If a name in Mappings.namespaces does not appear in order, its mapping entries will be missing in the returned Mappings. If a namespace in order does not exist in this Mappings, an IllegalArgumentException will be thrown.

+
+
+
+
+
+
+
+
+
+ +
+
+
+ + + diff --git a/docs/lib/com.grappenmaker.mappings/-mappings/namespaces.html b/docs/lib/com.grappenmaker.mappings/-mappings/namespaces.html new file mode 100644 index 0000000..5cee5b9 --- /dev/null +++ b/docs/lib/com.grappenmaker.mappings/-mappings/namespaces.html @@ -0,0 +1,76 @@ + + + + + namespaces + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

namespaces

+
+
abstract val namespaces: List<String>
+
+ +
+
+
+ + + diff --git a/docs/lib/com.grappenmaker.mappings/-member-identifier/-member-identifier.html b/docs/lib/com.grappenmaker.mappings/-member-identifier/-member-identifier.html new file mode 100644 index 0000000..da65482 --- /dev/null +++ b/docs/lib/com.grappenmaker.mappings/-member-identifier/-member-identifier.html @@ -0,0 +1,76 @@ + + + + + MemberIdentifier + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

MemberIdentifier

+
+
constructor(name: String, desc: String)
+
+ +
+
+
+ + + diff --git a/docs/lib/com.grappenmaker.mappings/-member-identifier/desc.html b/docs/lib/com.grappenmaker.mappings/-member-identifier/desc.html new file mode 100644 index 0000000..30e6fc2 --- /dev/null +++ b/docs/lib/com.grappenmaker.mappings/-member-identifier/desc.html @@ -0,0 +1,76 @@ + + + + + desc + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

desc

+
+ +
+ +
+
+
+ + + diff --git a/docs/lib/com.grappenmaker.mappings/-member-identifier/index.html b/docs/lib/com.grappenmaker.mappings/-member-identifier/index.html new file mode 100644 index 0000000..fc97a23 --- /dev/null +++ b/docs/lib/com.grappenmaker.mappings/-member-identifier/index.html @@ -0,0 +1,134 @@ + + + + + MemberIdentifier + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

MemberIdentifier

+
data class MemberIdentifier(val name: String, val desc: String)

Similar to AccessedMember, but without an owner field. Used in an AccessedClass

+
+
+
+
+
+

Constructors

+
+
+
+
+ + +
Link copied to clipboard
+
+
+
+
constructor(name: String, desc: String)
+
+
+
+
+
+
+
+

Properties

+
+
+
+
+ + +
Link copied to clipboard
+
+
+
+

The descriptor of the represented member

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+

The name of the represented member

+
+
+
+
+
+
+
+
+
+ +
+
+
+ + + diff --git a/docs/lib/com.grappenmaker.mappings/-member-identifier/name.html b/docs/lib/com.grappenmaker.mappings/-member-identifier/name.html new file mode 100644 index 0000000..52b0ab2 --- /dev/null +++ b/docs/lib/com.grappenmaker.mappings/-member-identifier/name.html @@ -0,0 +1,76 @@ + + + + + name + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

name

+
+ +
+ +
+
+
+ + + diff --git a/docs/lib/com.grappenmaker.mappings/-memoized-inheritance-provider/-memoized-inheritance-provider.html b/docs/lib/com.grappenmaker.mappings/-memoized-inheritance-provider/-memoized-inheritance-provider.html new file mode 100644 index 0000000..993472a --- /dev/null +++ b/docs/lib/com.grappenmaker.mappings/-memoized-inheritance-provider/-memoized-inheritance-provider.html @@ -0,0 +1,76 @@ + + + + + MemoizedInheritanceProvider + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

MemoizedInheritanceProvider

+
+
constructor(delegate: InheritanceProvider)
+
+ +
+
+
+ + + diff --git a/docs/lib/com.grappenmaker.mappings/-memoized-inheritance-provider/get-declared-methods.html b/docs/lib/com.grappenmaker.mappings/-memoized-inheritance-provider/get-declared-methods.html new file mode 100644 index 0000000..4619064 --- /dev/null +++ b/docs/lib/com.grappenmaker.mappings/-memoized-inheritance-provider/get-declared-methods.html @@ -0,0 +1,76 @@ + + + + + getDeclaredMethods + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

getDeclaredMethods

+
+
open override fun getDeclaredMethods(internalName: String, filterInheritable: Boolean): Iterable<String>

Returns the signatures of the methods declared in a class with a given internalName.

A signature is a string that represents a method by concatenating its name with its JVMS descriptor For example: valueOf(Ljava/lang/String;)Lsome/EnumType;

A declared method is a method that is directly declared in the bytecode of the class.

If filterInheritable is true, this method should only return the signatures of methods that are non-private, non-static, non-final. That is, access & (ACC_PRIVATE | ACC_STATIC | ACC_FINAL) == 0, where access is the bitset of access flags as defined by the JVMS. The convienience constant INHERITABLE_MASK can be used for this computation as well, by comparing access &INHERITABLE_MASK == 0

+
+ +
+
+
+ + + diff --git a/docs/lib/com.grappenmaker.mappings/-memoized-inheritance-provider/get-direct-parents.html b/docs/lib/com.grappenmaker.mappings/-memoized-inheritance-provider/get-direct-parents.html new file mode 100644 index 0000000..070f58e --- /dev/null +++ b/docs/lib/com.grappenmaker.mappings/-memoized-inheritance-provider/get-direct-parents.html @@ -0,0 +1,76 @@ + + + + + getDirectParents + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

getDirectParents

+
+
open override fun getDirectParents(internalName: String): Iterable<String>

Returns the direct parents of a class with a given internalName, that is, it returns an iterable of its super class (if any) and its superinterfaces, in that order.

+
+ +
+
+
+ + + diff --git a/docs/lib/com.grappenmaker.mappings/-memoized-inheritance-provider/index.html b/docs/lib/com.grappenmaker.mappings/-memoized-inheritance-provider/index.html new file mode 100644 index 0000000..fddfd45 --- /dev/null +++ b/docs/lib/com.grappenmaker.mappings/-memoized-inheritance-provider/index.html @@ -0,0 +1,164 @@ + + + + + MemoizedInheritanceProvider + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

MemoizedInheritanceProvider

+

An InheritanceProvider that delegates to another given InheritanceProvider, delegate, and remembers its results.

+
+
+
+
+
+

Constructors

+
+
+
+
+ + +
Link copied to clipboard
+
+
+
+
constructor(delegate: InheritanceProvider)
+
+
+
+
+
+
+
+

Functions

+
+
+
+
+ + +
Link copied to clipboard
+
+
+
+
open override fun getDeclaredMethods(internalName: String, filterInheritable: Boolean): Iterable<String>

Returns the signatures of the methods declared in a class with a given internalName.

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
open override fun getDirectParents(internalName: String): Iterable<String>

Returns the direct parents of a class with a given internalName, that is, it returns an iterable of its super class (if any) and its superinterfaces, in that order.

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
open fun getParents(internalName: String): Iterable<String>

Returns the internal names of the parents of a class with a given internalName, in depth-first order, interfaces first.

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+

Wraps this into a new provider that remembers the results of calls

+
+
+
+
+
+
+
+
+
+ +
+
+
+ + + diff --git a/docs/lib/com.grappenmaker.mappings/-proguard-mappings-format/detect.html b/docs/lib/com.grappenmaker.mappings/-proguard-mappings-format/detect.html new file mode 100644 index 0000000..33fdb1b --- /dev/null +++ b/docs/lib/com.grappenmaker.mappings/-proguard-mappings-format/detect.html @@ -0,0 +1,76 @@ + + + + + detect + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

detect

+
+
open override fun detect(lines: List<String>): Boolean

Returns whether this MappingsFormat thinks the lines represent a valid input for the mappings parser

+
+ +
+
+
+ + + diff --git a/docs/lib/com.grappenmaker.mappings/-proguard-mappings-format/index.html b/docs/lib/com.grappenmaker.mappings/-proguard-mappings-format/index.html new file mode 100644 index 0000000..3570335 --- /dev/null +++ b/docs/lib/com.grappenmaker.mappings/-proguard-mappings-format/index.html @@ -0,0 +1,160 @@ + + + + + ProguardMappingsFormat + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

ProguardMappingsFormat

+

Implements the Proguard mappings format, disregarding line number information, which is written as 1:1 when serialized.

+
+
+
+
+
+

Functions

+
+
+
+
+ + +
Link copied to clipboard
+
+
+
+
open override fun detect(lines: List<String>): Boolean

Returns whether this MappingsFormat thinks the lines represent a valid input for the mappings parser

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
open fun parse(lines: List<String>): ProguardMappings

Parses lines (representing a mappings file) into a mappings data structure. Throws an IllegalStateException when lines is not a valid input for this mappings format. To check if lines can be parsed, you could invoke detect.

open override fun parse(lines: Iterator<String>): ProguardMappings

Parses lines (an iterator of lines in a mappings file) into a mappings data structure. Throws an IllegalStateException when lines is not a valid input for this mappings format.

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+

Parses lines (a Sequence of lines in a mappings file) into a mappings data structure. Throws an IllegalStateException when lines is not a valid input for this mappings format.

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
open fun write(mappings: ProguardMappings): List<String>

Writes mappings compatible with this MappingsFormat back to a list of lines representing a mappings file

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
open override fun writeLazy(mappings: ProguardMappings): Sequence<String>

Writes mappings compatible with this MappingsFormat to a lazily evaluated Sequence

+
+
+
+
+
+
+
+
+
+ +
+
+
+ + + diff --git a/docs/lib/com.grappenmaker.mappings/-proguard-mappings-format/parse.html b/docs/lib/com.grappenmaker.mappings/-proguard-mappings-format/parse.html new file mode 100644 index 0000000..aa785a4 --- /dev/null +++ b/docs/lib/com.grappenmaker.mappings/-proguard-mappings-format/parse.html @@ -0,0 +1,76 @@ + + + + + parse + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

parse

+
+
open override fun parse(lines: Iterator<String>): ProguardMappings

Parses lines (an iterator of lines in a mappings file) into a mappings data structure. Throws an IllegalStateException when lines is not a valid input for this mappings format.

+
+ +
+
+
+ + + diff --git a/docs/lib/com.grappenmaker.mappings/-proguard-mappings-format/write-lazy.html b/docs/lib/com.grappenmaker.mappings/-proguard-mappings-format/write-lazy.html new file mode 100644 index 0000000..664b10e --- /dev/null +++ b/docs/lib/com.grappenmaker.mappings/-proguard-mappings-format/write-lazy.html @@ -0,0 +1,76 @@ + + + + + writeLazy + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

writeLazy

+
+
open override fun writeLazy(mappings: ProguardMappings): Sequence<String>

Writes mappings compatible with this MappingsFormat to a lazily evaluated Sequence

+
+ +
+
+
+ + + diff --git a/docs/lib/com.grappenmaker.mappings/-proguard-mappings/-proguard-mappings.html b/docs/lib/com.grappenmaker.mappings/-proguard-mappings/-proguard-mappings.html new file mode 100644 index 0000000..16b4d39 --- /dev/null +++ b/docs/lib/com.grappenmaker.mappings/-proguard-mappings/-proguard-mappings.html @@ -0,0 +1,76 @@ + + + + + ProguardMappings + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

ProguardMappings

+
+
constructor(classes: List<MappedClass>, comments: List<String> = emptyList())
+
+ +
+
+
+ + + diff --git a/docs/lib/com.grappenmaker.mappings/-proguard-mappings/classes.html b/docs/lib/com.grappenmaker.mappings/-proguard-mappings/classes.html new file mode 100644 index 0000000..77c5cda --- /dev/null +++ b/docs/lib/com.grappenmaker.mappings/-proguard-mappings/classes.html @@ -0,0 +1,76 @@ + + + + + classes + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

classes

+
+
open override val classes: List<MappedClass>
+
+ +
+
+
+ + + diff --git a/docs/lib/com.grappenmaker.mappings/-proguard-mappings/comments.html b/docs/lib/com.grappenmaker.mappings/-proguard-mappings/comments.html new file mode 100644 index 0000000..678490c --- /dev/null +++ b/docs/lib/com.grappenmaker.mappings/-proguard-mappings/comments.html @@ -0,0 +1,76 @@ + + + + + comments + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

comments

+
+
open override val comments: List<String>
+
+ +
+
+
+ + + diff --git a/docs/lib/com.grappenmaker.mappings/-proguard-mappings/index.html b/docs/lib/com.grappenmaker.mappings/-proguard-mappings/index.html new file mode 100644 index 0000000..db7d396 --- /dev/null +++ b/docs/lib/com.grappenmaker.mappings/-proguard-mappings/index.html @@ -0,0 +1,558 @@ + + + + + ProguardMappings + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

ProguardMappings

+
data class ProguardMappings(val classes: List<MappedClass>, val comments: List<String> = emptyList()) : Mappings, Commented

Represents Proguard debug deobfuscation mappings. Note that Proguard only supports two mappings namespaces. Line number information is ignored by the parser.

+
+
+
+
+
+

Constructors

+
+
+
+
+ + +
Link copied to clipboard
+
+
+
+
constructor(classes: List<MappedClass>, comments: List<String> = emptyList())
+
+
+
+
+
+
+
+

Properties

+
+
+
+
+ + +
Link copied to clipboard
+
+
+
+
open override val classes: List<MappedClass>

All mapped classes in this mappings file (in order, not important)

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
open override val comments: List<String>

All comments that the author of some Mappings file wrote

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
open override val namespaces: List<String>

All namespaces (in order) that this mappings file supports/contains

+
+
+
+
+
+
+
+

Functions

+
+
+
+
+ + +
Link copied to clipboard
+
+
+
+
fun Mappings.asASMMapping(from: String, to: String, includeMethods: Boolean = true, includeFields: Boolean = true): Map<String, String>

Returns a simple mapping representing all of the Mappings, mapping between the namespaces from and to. If includeMethods is true, then methods will be included in the mapping. If includeFields is true, then fields will be included in the mapping.

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+ +
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+ +
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+ +
+
+ +
+
+
+ + +
Link copied to clipboard
+
+ +
+
+ +
+
+
+ + +
Link copied to clipboard
+
+ +
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+ +
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
fun Mappings.asSimpleRemapper(from: String, to: String): SimpleRemapper

Returns an asm SimpleRemapper for remapping references between namespaces from and to disregarding inheritance and lambdas. For proper remapping, you should use the MappingsRemapper.

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+

Converts these Mappings to SRGMappings, enabling XSRG when extended is true.

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+

Converts these Mappings to TinyMappings, enabling Tiny v2 when v2 is true.

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+

Converts these Mappings to TSRGMappings, enabling TSRG v2 when v2 is true.

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+

Removes all duplicate namespace usages in this Mappings.

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+

Transforms this Mappings structure to a generic mappings implementation that maps between from and to.

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
inline fun Mappings.filterClasses(predicate: (MappedClass) -> Boolean): Mappings

Filters classes matching the predicate

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
inline fun Mappings.filterMethods(predicate: (owner: MappedClass, method: MappedMethod) -> Boolean): Mappings

Filters methods matching the predicate

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
fun Mappings.filterNamespaces(vararg allowed: String, allowDuplicates: Boolean = false): Mappings
fun Mappings.filterNamespaces(allowed: Set<String>, allowDuplicates: Boolean = false): Mappings

Filters these Mappings to only contain namespaces that are in allowed. If allowDuplicates is true, the returned Mappings will also have duplicate namespaces removed.

inline fun Mappings.filterNamespaces(allowDuplicates: Boolean = false, predicate: (String) -> Boolean): Mappings

Filters these Mappings to only contain namespaces for which the predicate returns true. If allowDuplicates is true, the returned Mappings will also have duplicate namespaces removed.

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
fun Mappings.join(otherMappings: Mappings, intermediateNamespace: String, requireMatch: Boolean = false): Mappings

Joins together this Mappings with otherMappings, by matching on intermediateNamespace, producing new Mappings that contain all entries from this Mappings and otherMappings. If requireMatch is true, this method will throw an exception when no method or field or class is found

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+

Maps classes according to the given block

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
inline fun Mappings.mapMethods(block: (owner: MappedClass, method: MappedMethod) -> MappedMethod): Mappings

Maps methods according to the given block

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+

Returns the index of a namespace named name, but throws an IllegalStateException when name is not in the Mappings.namespaces.

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+

See recoverFieldDescriptors. file is a jar file resource (caller is responsible for closing it) that contains the classes that are referenced in the generic overload.

fun Mappings.recoverFieldDescriptors(bytesProvider: (name: String) -> ByteArray?): Mappings

Attempts to recover field descriptors that are missing because the original mappings format did not specify them. bytesProvider is responsible for providing all of the classes that might be referenced in this Mappings object, such that the descriptors can be recovered based on named (fields can be uniquely identified by an owner-name pair). When field descriptors were not found, field mappings will not be passed onto the new Mappings as field mappings without descriptors will be considered invalid.

@JvmName(name = "recoverDescsByNode")
fun Mappings.recoverFieldDescriptors(nodeProvider: (name: String) -> ClassNode?): Mappings

Attempts to recover field descriptors that are missing because the original mappings format did not specify them. nodeProvider is responsible for providing all of the ClassNodes that might be referenced in this Mappings object, such that the descriptors can be recovered based on named (fields can be uniquely identified by an owner-name pair). When field descriptors were not found, field mappings will not be passed onto the new Mappings as field mappings without descriptors will be considered invalid.

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+

Returns new Mappings that are identical to these Mappings, except the comments will be removed

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
fun Mappings.removeRedundancy(inheritanceProvider: InheritanceProvider, removeDuplicateMethods: Boolean = false): Mappings

Removes redundant or straight up incorrect data from this Mappings object, by looking at the inheritance information present in class files, presented by the inheritanceProvider.

fun Mappings.removeRedundancy(file: JarFile, removeDuplicateMethods: Boolean = false): Mappings

See removeRedundancy. file is a jar file resource (caller is responsible for closing it) that contains the classes that are referenced in the generic overload. Calls with identical names are being cached by this function, the caller is not responsible for this.

fun Mappings.removeRedundancy(removeDuplicateMethods: Boolean = false, loader: ClasspathLoader): Mappings

Removes redundant or straight up incorrect data from this Mappings object, by looking at the inheritance information present in class files, presented by the loader.

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+

Swaps out the names for the namespaces in this Mappings data structure.

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+

Swaps out the names for the namespaces in this Mappings data structure, by reordering. Duplicate names are allowed, in which case mapped entries are duplicated to fit the new order. If a name in Mappings.namespaces does not appear in order, its mapping entries will be missing in the returned Mappings.

Swaps out the names for the namespaces in this Mappings data structure, by reordering. Duplicate names are allowed, in which case mapped entries are duplicated to fit the new order. If a name in Mappings.namespaces does not appear in order, its mapping entries will be missing in the returned Mappings. If a namespace in order does not exist in this Mappings, an IllegalArgumentException will be thrown.

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+

Writes ProguardMappings to a mappings file represented by a list of strings

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+ +
+
+
+
+
+
+
+
+
+ +
+
+
+ + + diff --git a/docs/lib/com.grappenmaker.mappings/-proguard-mappings/namespaces.html b/docs/lib/com.grappenmaker.mappings/-proguard-mappings/namespaces.html new file mode 100644 index 0000000..79c30df --- /dev/null +++ b/docs/lib/com.grappenmaker.mappings/-proguard-mappings/namespaces.html @@ -0,0 +1,76 @@ + + + + + namespaces + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

namespaces

+
+
open override val namespaces: List<String>
+
+ +
+
+
+ + + diff --git a/docs/lib/com.grappenmaker.mappings/-recaf-mappings-format/index.html b/docs/lib/com.grappenmaker.mappings/-recaf-mappings-format/index.html new file mode 100644 index 0000000..44bd3c5 --- /dev/null +++ b/docs/lib/com.grappenmaker.mappings/-recaf-mappings-format/index.html @@ -0,0 +1,160 @@ + + + + + RecafMappingsFormat + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

RecafMappingsFormat

+

Represents the Recaf mappings format

+
+
+
+
+
+

Functions

+
+
+
+
+ + +
Link copied to clipboard
+
+
+
+
open override fun detect(lines: List<String>): Boolean

Returns whether this MappingsFormat thinks the lines represent a valid input for the mappings parser

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
open fun parse(lines: List<String>): RecafMappings

Parses lines (representing a mappings file) into a mappings data structure. Throws an IllegalStateException when lines is not a valid input for this mappings format. To check if lines can be parsed, you could invoke detect.

open override fun parse(lines: Iterator<String>): RecafMappings

Parses lines (an iterator of lines in a mappings file) into a mappings data structure. Throws an IllegalStateException when lines is not a valid input for this mappings format.

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+

Parses lines (a Sequence of lines in a mappings file) into a mappings data structure. Throws an IllegalStateException when lines is not a valid input for this mappings format.

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
open fun write(mappings: RecafMappings): List<String>

Writes mappings compatible with this MappingsFormat back to a list of lines representing a mappings file

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
open override fun writeLazy(mappings: RecafMappings): Sequence<String>

Writes mappings compatible with this MappingsFormat to a lazily evaluated Sequence

+
+
+
+
+
+
+
+
+
+ +
+
+
+ + + diff --git a/docs/lib/com.grappenmaker.mappings/-recaf-mappings-format/parse.html b/docs/lib/com.grappenmaker.mappings/-recaf-mappings-format/parse.html new file mode 100644 index 0000000..5a0ed85 --- /dev/null +++ b/docs/lib/com.grappenmaker.mappings/-recaf-mappings-format/parse.html @@ -0,0 +1,76 @@ + + + + + parse + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

parse

+
+
open override fun parse(lines: Iterator<String>): RecafMappings

Parses lines (an iterator of lines in a mappings file) into a mappings data structure. Throws an IllegalStateException when lines is not a valid input for this mappings format.

+
+ +
+
+
+ + + diff --git a/docs/lib/com.grappenmaker.mappings/-recaf-mappings-format/write-lazy.html b/docs/lib/com.grappenmaker.mappings/-recaf-mappings-format/write-lazy.html new file mode 100644 index 0000000..1dc1318 --- /dev/null +++ b/docs/lib/com.grappenmaker.mappings/-recaf-mappings-format/write-lazy.html @@ -0,0 +1,76 @@ + + + + + writeLazy + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

writeLazy

+
+
open override fun writeLazy(mappings: RecafMappings): Sequence<String>

Writes mappings compatible with this MappingsFormat to a lazily evaluated Sequence

+
+ +
+
+
+ + + diff --git a/docs/lib/com.grappenmaker.mappings/-recaf-mappings/-recaf-mappings.html b/docs/lib/com.grappenmaker.mappings/-recaf-mappings/-recaf-mappings.html new file mode 100644 index 0000000..219914e --- /dev/null +++ b/docs/lib/com.grappenmaker.mappings/-recaf-mappings/-recaf-mappings.html @@ -0,0 +1,76 @@ + + + + + RecafMappings + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

RecafMappings

+
+
constructor(classes: List<MappedClass>)
+
+ +
+
+
+ + + diff --git a/docs/lib/com.grappenmaker.mappings/-recaf-mappings/classes.html b/docs/lib/com.grappenmaker.mappings/-recaf-mappings/classes.html new file mode 100644 index 0000000..ebe00de --- /dev/null +++ b/docs/lib/com.grappenmaker.mappings/-recaf-mappings/classes.html @@ -0,0 +1,76 @@ + + + + + classes + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

classes

+
+
open override val classes: List<MappedClass>
+
+ +
+
+
+ + + diff --git a/docs/lib/com.grappenmaker.mappings/-recaf-mappings/index.html b/docs/lib/com.grappenmaker.mappings/-recaf-mappings/index.html new file mode 100644 index 0000000..153fb6e --- /dev/null +++ b/docs/lib/com.grappenmaker.mappings/-recaf-mappings/index.html @@ -0,0 +1,543 @@ + + + + + RecafMappings + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

RecafMappings

+
data class RecafMappings(val classes: List<MappedClass>) : Mappings

Represents a Recaf Mappings file

+
+
+
+
+
+

Constructors

+
+
+
+
+ + +
Link copied to clipboard
+
+
+
+
constructor(classes: List<MappedClass>)
+
+
+
+
+
+
+
+

Properties

+
+
+
+
+ + +
Link copied to clipboard
+
+
+
+
open override val classes: List<MappedClass>

All mapped classes in this mappings file (in order, not important)

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
open override val namespaces: List<String>

All namespaces (in order) that this mappings file supports/contains

+
+
+
+
+
+
+
+

Functions

+
+
+
+
+ + +
Link copied to clipboard
+
+
+
+
fun Mappings.asASMMapping(from: String, to: String, includeMethods: Boolean = true, includeFields: Boolean = true): Map<String, String>

Returns a simple mapping representing all of the Mappings, mapping between the namespaces from and to. If includeMethods is true, then methods will be included in the mapping. If includeFields is true, then fields will be included in the mapping.

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+ +
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+ +
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+ +
+
+ +
+
+
+ + +
Link copied to clipboard
+
+ +
+
+ +
+
+
+ + +
Link copied to clipboard
+
+ +
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+ +
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
fun Mappings.asSimpleRemapper(from: String, to: String): SimpleRemapper

Returns an asm SimpleRemapper for remapping references between namespaces from and to disregarding inheritance and lambdas. For proper remapping, you should use the MappingsRemapper.

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+

Converts these Mappings to SRGMappings, enabling XSRG when extended is true.

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+

Converts these Mappings to TinyMappings, enabling Tiny v2 when v2 is true.

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+

Converts these Mappings to TSRGMappings, enabling TSRG v2 when v2 is true.

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+

Removes all duplicate namespace usages in this Mappings.

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+

Transforms this Mappings structure to a generic mappings implementation that maps between from and to.

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
inline fun Mappings.filterClasses(predicate: (MappedClass) -> Boolean): Mappings

Filters classes matching the predicate

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
inline fun Mappings.filterMethods(predicate: (owner: MappedClass, method: MappedMethod) -> Boolean): Mappings

Filters methods matching the predicate

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
fun Mappings.filterNamespaces(vararg allowed: String, allowDuplicates: Boolean = false): Mappings
fun Mappings.filterNamespaces(allowed: Set<String>, allowDuplicates: Boolean = false): Mappings

Filters these Mappings to only contain namespaces that are in allowed. If allowDuplicates is true, the returned Mappings will also have duplicate namespaces removed.

inline fun Mappings.filterNamespaces(allowDuplicates: Boolean = false, predicate: (String) -> Boolean): Mappings

Filters these Mappings to only contain namespaces for which the predicate returns true. If allowDuplicates is true, the returned Mappings will also have duplicate namespaces removed.

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
fun Mappings.join(otherMappings: Mappings, intermediateNamespace: String, requireMatch: Boolean = false): Mappings

Joins together this Mappings with otherMappings, by matching on intermediateNamespace, producing new Mappings that contain all entries from this Mappings and otherMappings. If requireMatch is true, this method will throw an exception when no method or field or class is found

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+

Maps classes according to the given block

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
inline fun Mappings.mapMethods(block: (owner: MappedClass, method: MappedMethod) -> MappedMethod): Mappings

Maps methods according to the given block

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+

Returns the index of a namespace named name, but throws an IllegalStateException when name is not in the Mappings.namespaces.

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+

See recoverFieldDescriptors. file is a jar file resource (caller is responsible for closing it) that contains the classes that are referenced in the generic overload.

fun Mappings.recoverFieldDescriptors(bytesProvider: (name: String) -> ByteArray?): Mappings

Attempts to recover field descriptors that are missing because the original mappings format did not specify them. bytesProvider is responsible for providing all of the classes that might be referenced in this Mappings object, such that the descriptors can be recovered based on named (fields can be uniquely identified by an owner-name pair). When field descriptors were not found, field mappings will not be passed onto the new Mappings as field mappings without descriptors will be considered invalid.

@JvmName(name = "recoverDescsByNode")
fun Mappings.recoverFieldDescriptors(nodeProvider: (name: String) -> ClassNode?): Mappings

Attempts to recover field descriptors that are missing because the original mappings format did not specify them. nodeProvider is responsible for providing all of the ClassNodes that might be referenced in this Mappings object, such that the descriptors can be recovered based on named (fields can be uniquely identified by an owner-name pair). When field descriptors were not found, field mappings will not be passed onto the new Mappings as field mappings without descriptors will be considered invalid.

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+

Returns new Mappings that are identical to these Mappings, except the comments will be removed

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
fun Mappings.removeRedundancy(inheritanceProvider: InheritanceProvider, removeDuplicateMethods: Boolean = false): Mappings

Removes redundant or straight up incorrect data from this Mappings object, by looking at the inheritance information present in class files, presented by the inheritanceProvider.

fun Mappings.removeRedundancy(file: JarFile, removeDuplicateMethods: Boolean = false): Mappings

See removeRedundancy. file is a jar file resource (caller is responsible for closing it) that contains the classes that are referenced in the generic overload. Calls with identical names are being cached by this function, the caller is not responsible for this.

fun Mappings.removeRedundancy(removeDuplicateMethods: Boolean = false, loader: ClasspathLoader): Mappings

Removes redundant or straight up incorrect data from this Mappings object, by looking at the inheritance information present in class files, presented by the loader.

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+

Swaps out the names for the namespaces in this Mappings data structure.

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+

Swaps out the names for the namespaces in this Mappings data structure, by reordering. Duplicate names are allowed, in which case mapped entries are duplicated to fit the new order. If a name in Mappings.namespaces does not appear in order, its mapping entries will be missing in the returned Mappings.

Swaps out the names for the namespaces in this Mappings data structure, by reordering. Duplicate names are allowed, in which case mapped entries are duplicated to fit the new order. If a name in Mappings.namespaces does not appear in order, its mapping entries will be missing in the returned Mappings. If a namespace in order does not exist in this Mappings, an IllegalArgumentException will be thrown.

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+

Writes RecafMappings to a mappings file represented by a list of strings

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+

Writes RecafMappings as a lazily evaluated Sequence

+
+
+
+
+
+
+
+
+
+ +
+
+
+ + + diff --git a/docs/lib/com.grappenmaker.mappings/-recaf-mappings/namespaces.html b/docs/lib/com.grappenmaker.mappings/-recaf-mappings/namespaces.html new file mode 100644 index 0000000..0f9cfa5 --- /dev/null +++ b/docs/lib/com.grappenmaker.mappings/-recaf-mappings/namespaces.html @@ -0,0 +1,76 @@ + + + + + namespaces + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

namespaces

+
+
open override val namespaces: List<String>
+
+ +
+
+
+ + + diff --git a/docs/lib/com.grappenmaker.mappings/-s-r-g-mappings-format/index.html b/docs/lib/com.grappenmaker.mappings/-s-r-g-mappings-format/index.html new file mode 100644 index 0000000..d84a7e1 --- /dev/null +++ b/docs/lib/com.grappenmaker.mappings/-s-r-g-mappings-format/index.html @@ -0,0 +1,160 @@ + + + + + SRGMappingsFormat + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

SRGMappingsFormat

+

Represents the SRG mappings format

+
+
+
+
+
+

Functions

+
+
+
+
+ + +
Link copied to clipboard
+
+
+
+
open override fun detect(lines: List<String>): Boolean

Returns whether this MappingsFormat thinks the lines represent a valid input for the mappings parser

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
open override fun parse(lines: Iterator<String>): SRGMappings

Parses lines (an iterator of lines in a mappings file) into a mappings data structure. Throws an IllegalStateException when lines is not a valid input for this mappings format.

open override fun parse(lines: List<String>): SRGMappings

Parses lines (representing a mappings file) into a mappings data structure. Throws an IllegalStateException when lines is not a valid input for this mappings format. To check if lines can be parsed, you could invoke detect.

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+

Parses lines (a Sequence of lines in a mappings file) into a mappings data structure. Throws an IllegalStateException when lines is not a valid input for this mappings format.

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
open override fun write(mappings: SRGMappings): List<String>

Writes mappings compatible with this MappingsFormat back to a list of lines representing a mappings file

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
open override fun writeLazy(mappings: SRGMappings): Sequence<String>

Writes mappings compatible with this MappingsFormat to a lazily evaluated Sequence

+
+
+
+
+
+
+
+
+
+ +
+
+
+ + + diff --git a/docs/lib/com.grappenmaker.mappings/-s-r-g-mappings/-s-r-g-mappings.html b/docs/lib/com.grappenmaker.mappings/-s-r-g-mappings/-s-r-g-mappings.html new file mode 100644 index 0000000..8505df4 --- /dev/null +++ b/docs/lib/com.grappenmaker.mappings/-s-r-g-mappings/-s-r-g-mappings.html @@ -0,0 +1,76 @@ + + + + + SRGMappings + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

SRGMappings

+
+
constructor(classes: List<MappedClass>, isExtended: Boolean)
+
+ +
+
+
+ + + diff --git a/docs/lib/com.grappenmaker.mappings/-s-r-g-mappings/classes.html b/docs/lib/com.grappenmaker.mappings/-s-r-g-mappings/classes.html new file mode 100644 index 0000000..4844d12 --- /dev/null +++ b/docs/lib/com.grappenmaker.mappings/-s-r-g-mappings/classes.html @@ -0,0 +1,76 @@ + + + + + classes + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

classes

+
+
open override val classes: List<MappedClass>
+
+ +
+
+
+ + + diff --git a/docs/lib/com.grappenmaker.mappings/-s-r-g-mappings/index.html b/docs/lib/com.grappenmaker.mappings/-s-r-g-mappings/index.html new file mode 100644 index 0000000..251dffc --- /dev/null +++ b/docs/lib/com.grappenmaker.mappings/-s-r-g-mappings/index.html @@ -0,0 +1,558 @@ + + + + + SRGMappings + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

SRGMappings

+
data class SRGMappings(val classes: List<MappedClass>, val isExtended: Boolean) : Mappings

Represent any type of SRG mappings, whether this data structure represents XSRG or regular SRG is governed by isExtended.

+
+
+
+
+
+

Constructors

+
+
+
+
+ + +
Link copied to clipboard
+
+
+
+
constructor(classes: List<MappedClass>, isExtended: Boolean)
+
+
+
+
+
+
+
+

Properties

+
+
+
+
+ + +
Link copied to clipboard
+
+
+
+
open override val classes: List<MappedClass>

All mapped classes in this mappings file (in order, not important)

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+

whether this is an extended SRG mappings file (XSRG)

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
open override val namespaces: List<String>

All namespaces (in order) that this mappings file supports/contains

+
+
+
+
+
+
+
+

Functions

+
+
+
+
+ + +
Link copied to clipboard
+
+
+
+
fun Mappings.asASMMapping(from: String, to: String, includeMethods: Boolean = true, includeFields: Boolean = true): Map<String, String>

Returns a simple mapping representing all of the Mappings, mapping between the namespaces from and to. If includeMethods is true, then methods will be included in the mapping. If includeFields is true, then fields will be included in the mapping.

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+ +
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+ +
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+ +
+
+ +
+
+
+ + +
Link copied to clipboard
+
+ +
+
+ +
+
+
+ + +
Link copied to clipboard
+
+ +
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+ +
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
fun SRGMappings.asSimpleRemapper(): SimpleRemapper

Shorthand for converting SRGMappings to a SimpleRemapper.

fun Mappings.asSimpleRemapper(from: String, to: String): SimpleRemapper

Returns an asm SimpleRemapper for remapping references between namespaces from and to disregarding inheritance and lambdas. For proper remapping, you should use the MappingsRemapper.

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+

Converts these Mappings to SRGMappings, enabling XSRG when extended is true.

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+

Converts these Mappings to TinyMappings, enabling Tiny v2 when v2 is true.

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+

Converts these Mappings to TSRGMappings, enabling TSRG v2 when v2 is true.

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+

Removes all duplicate namespace usages in this Mappings.

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+

Transforms this Mappings structure to a generic mappings implementation that maps between from and to.

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
inline fun Mappings.filterClasses(predicate: (MappedClass) -> Boolean): Mappings

Filters classes matching the predicate

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
inline fun Mappings.filterMethods(predicate: (owner: MappedClass, method: MappedMethod) -> Boolean): Mappings

Filters methods matching the predicate

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
fun Mappings.filterNamespaces(vararg allowed: String, allowDuplicates: Boolean = false): Mappings
fun Mappings.filterNamespaces(allowed: Set<String>, allowDuplicates: Boolean = false): Mappings

Filters these Mappings to only contain namespaces that are in allowed. If allowDuplicates is true, the returned Mappings will also have duplicate namespaces removed.

inline fun Mappings.filterNamespaces(allowDuplicates: Boolean = false, predicate: (String) -> Boolean): Mappings

Filters these Mappings to only contain namespaces for which the predicate returns true. If allowDuplicates is true, the returned Mappings will also have duplicate namespaces removed.

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
fun Mappings.join(otherMappings: Mappings, intermediateNamespace: String, requireMatch: Boolean = false): Mappings

Joins together this Mappings with otherMappings, by matching on intermediateNamespace, producing new Mappings that contain all entries from this Mappings and otherMappings. If requireMatch is true, this method will throw an exception when no method or field or class is found

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+

Maps classes according to the given block

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
inline fun Mappings.mapMethods(block: (owner: MappedClass, method: MappedMethod) -> MappedMethod): Mappings

Maps methods according to the given block

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+

Returns the index of a namespace named name, but throws an IllegalStateException when name is not in the Mappings.namespaces.

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+

See recoverFieldDescriptors. file is a jar file resource (caller is responsible for closing it) that contains the classes that are referenced in the generic overload.

fun Mappings.recoverFieldDescriptors(bytesProvider: (name: String) -> ByteArray?): Mappings

Attempts to recover field descriptors that are missing because the original mappings format did not specify them. bytesProvider is responsible for providing all of the classes that might be referenced in this Mappings object, such that the descriptors can be recovered based on named (fields can be uniquely identified by an owner-name pair). When field descriptors were not found, field mappings will not be passed onto the new Mappings as field mappings without descriptors will be considered invalid.

@JvmName(name = "recoverDescsByNode")
fun Mappings.recoverFieldDescriptors(nodeProvider: (name: String) -> ClassNode?): Mappings

Attempts to recover field descriptors that are missing because the original mappings format did not specify them. nodeProvider is responsible for providing all of the ClassNodes that might be referenced in this Mappings object, such that the descriptors can be recovered based on named (fields can be uniquely identified by an owner-name pair). When field descriptors were not found, field mappings will not be passed onto the new Mappings as field mappings without descriptors will be considered invalid.

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+

Returns new Mappings that are identical to these Mappings, except the comments will be removed

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
fun Mappings.removeRedundancy(inheritanceProvider: InheritanceProvider, removeDuplicateMethods: Boolean = false): Mappings

Removes redundant or straight up incorrect data from this Mappings object, by looking at the inheritance information present in class files, presented by the inheritanceProvider.

fun Mappings.removeRedundancy(file: JarFile, removeDuplicateMethods: Boolean = false): Mappings

See removeRedundancy. file is a jar file resource (caller is responsible for closing it) that contains the classes that are referenced in the generic overload. Calls with identical names are being cached by this function, the caller is not responsible for this.

fun Mappings.removeRedundancy(removeDuplicateMethods: Boolean = false, loader: ClasspathLoader): Mappings

Removes redundant or straight up incorrect data from this Mappings object, by looking at the inheritance information present in class files, presented by the loader.

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+

Swaps out the names for the namespaces in this Mappings data structure.

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+

Swaps out the names for the namespaces in this Mappings data structure, by reordering. Duplicate names are allowed, in which case mapped entries are duplicated to fit the new order. If a name in Mappings.namespaces does not appear in order, its mapping entries will be missing in the returned Mappings.

Swaps out the names for the namespaces in this Mappings data structure, by reordering. Duplicate names are allowed, in which case mapped entries are duplicated to fit the new order. If a name in Mappings.namespaces does not appear in order, its mapping entries will be missing in the returned Mappings. If a namespace in order does not exist in this Mappings, an IllegalArgumentException will be thrown.

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+

Writes SRGMappings to a mappings file represented by a list of strings

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+

Writes SRGMappings as a lazily evaluated Sequence

+
+
+
+
+
+
+
+
+
+ +
+
+
+ + + diff --git a/docs/lib/com.grappenmaker.mappings/-s-r-g-mappings/is-extended.html b/docs/lib/com.grappenmaker.mappings/-s-r-g-mappings/is-extended.html new file mode 100644 index 0000000..899121e --- /dev/null +++ b/docs/lib/com.grappenmaker.mappings/-s-r-g-mappings/is-extended.html @@ -0,0 +1,76 @@ + + + + + isExtended + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

isExtended

+
+ +
+ +
+
+
+ + + diff --git a/docs/lib/com.grappenmaker.mappings/-s-r-g-mappings/namespaces.html b/docs/lib/com.grappenmaker.mappings/-s-r-g-mappings/namespaces.html new file mode 100644 index 0000000..7f92127 --- /dev/null +++ b/docs/lib/com.grappenmaker.mappings/-s-r-g-mappings/namespaces.html @@ -0,0 +1,76 @@ + + + + + namespaces + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

namespaces

+
+
open override val namespaces: List<String>
+
+ +
+
+
+ + + diff --git a/docs/lib/com.grappenmaker.mappings/-t-s-r-g-mappings/-t-s-r-g-mappings.html b/docs/lib/com.grappenmaker.mappings/-t-s-r-g-mappings/-t-s-r-g-mappings.html new file mode 100644 index 0000000..f06f02b --- /dev/null +++ b/docs/lib/com.grappenmaker.mappings/-t-s-r-g-mappings/-t-s-r-g-mappings.html @@ -0,0 +1,76 @@ + + + + + TSRGMappings + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

TSRGMappings

+
+
constructor(namespaces: List<String>, classes: List<MappedClass>, isV2: Boolean)
+
+ +
+
+
+ + + diff --git a/docs/lib/com.grappenmaker.mappings/-t-s-r-g-mappings/classes.html b/docs/lib/com.grappenmaker.mappings/-t-s-r-g-mappings/classes.html new file mode 100644 index 0000000..7de8f84 --- /dev/null +++ b/docs/lib/com.grappenmaker.mappings/-t-s-r-g-mappings/classes.html @@ -0,0 +1,76 @@ + + + + + classes + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

classes

+
+
open override val classes: List<MappedClass>
+
+ +
+
+
+ + + diff --git a/docs/lib/com.grappenmaker.mappings/-t-s-r-g-mappings/index.html b/docs/lib/com.grappenmaker.mappings/-t-s-r-g-mappings/index.html new file mode 100644 index 0000000..9496943 --- /dev/null +++ b/docs/lib/com.grappenmaker.mappings/-t-s-r-g-mappings/index.html @@ -0,0 +1,558 @@ + + + + + TSRGMappings + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

TSRGMappings

+
data class TSRGMappings(val namespaces: List<String>, val classes: List<MappedClass>, val isV2: Boolean) : Mappings

Represents either a TSRG v1 or a TSRG v2 mappings file, which does not have a definition anywhere. The serialization method of these mappings is governed by isV2

+
+
+
+
+
+

Constructors

+
+
+
+
+ + +
Link copied to clipboard
+
+
+
+
constructor(namespaces: List<String>, classes: List<MappedClass>, isV2: Boolean)
+
+
+
+
+
+
+
+

Properties

+
+
+
+
+ + +
Link copied to clipboard
+
+
+
+
open override val classes: List<MappedClass>

All mapped classes in this mappings file (in order, not important)

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+

whether this mappings file is TSRG version 2

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
open override val namespaces: List<String>

All namespaces (in order) that this mappings file supports/contains

+
+
+
+
+
+
+
+

Functions

+
+
+
+
+ + +
Link copied to clipboard
+
+
+
+
fun Mappings.asASMMapping(from: String, to: String, includeMethods: Boolean = true, includeFields: Boolean = true): Map<String, String>

Returns a simple mapping representing all of the Mappings, mapping between the namespaces from and to. If includeMethods is true, then methods will be included in the mapping. If includeFields is true, then fields will be included in the mapping.

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+ +
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+ +
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+ +
+
+ +
+
+
+ + +
Link copied to clipboard
+
+ +
+
+ +
+
+
+ + +
Link copied to clipboard
+
+ +
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+ +
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
fun Mappings.asSimpleRemapper(from: String, to: String): SimpleRemapper

Returns an asm SimpleRemapper for remapping references between namespaces from and to disregarding inheritance and lambdas. For proper remapping, you should use the MappingsRemapper.

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+

Converts these Mappings to SRGMappings, enabling XSRG when extended is true.

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+

Converts these Mappings to TinyMappings, enabling Tiny v2 when v2 is true.

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+

Converts these Mappings to TSRGMappings, enabling TSRG v2 when v2 is true.

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+

Removes all duplicate namespace usages in this Mappings.

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+

Transforms this Mappings structure to a generic mappings implementation that maps between from and to.

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
inline fun Mappings.filterClasses(predicate: (MappedClass) -> Boolean): Mappings

Filters classes matching the predicate

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
inline fun Mappings.filterMethods(predicate: (owner: MappedClass, method: MappedMethod) -> Boolean): Mappings

Filters methods matching the predicate

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
fun Mappings.filterNamespaces(vararg allowed: String, allowDuplicates: Boolean = false): Mappings
fun Mappings.filterNamespaces(allowed: Set<String>, allowDuplicates: Boolean = false): Mappings

Filters these Mappings to only contain namespaces that are in allowed. If allowDuplicates is true, the returned Mappings will also have duplicate namespaces removed.

inline fun Mappings.filterNamespaces(allowDuplicates: Boolean = false, predicate: (String) -> Boolean): Mappings

Filters these Mappings to only contain namespaces for which the predicate returns true. If allowDuplicates is true, the returned Mappings will also have duplicate namespaces removed.

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
fun Mappings.join(otherMappings: Mappings, intermediateNamespace: String, requireMatch: Boolean = false): Mappings

Joins together this Mappings with otherMappings, by matching on intermediateNamespace, producing new Mappings that contain all entries from this Mappings and otherMappings. If requireMatch is true, this method will throw an exception when no method or field or class is found

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+

Maps classes according to the given block

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
inline fun Mappings.mapMethods(block: (owner: MappedClass, method: MappedMethod) -> MappedMethod): Mappings

Maps methods according to the given block

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+

Returns the index of a namespace named name, but throws an IllegalStateException when name is not in the Mappings.namespaces.

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+

See recoverFieldDescriptors. file is a jar file resource (caller is responsible for closing it) that contains the classes that are referenced in the generic overload.

fun Mappings.recoverFieldDescriptors(bytesProvider: (name: String) -> ByteArray?): Mappings

Attempts to recover field descriptors that are missing because the original mappings format did not specify them. bytesProvider is responsible for providing all of the classes that might be referenced in this Mappings object, such that the descriptors can be recovered based on named (fields can be uniquely identified by an owner-name pair). When field descriptors were not found, field mappings will not be passed onto the new Mappings as field mappings without descriptors will be considered invalid.

@JvmName(name = "recoverDescsByNode")
fun Mappings.recoverFieldDescriptors(nodeProvider: (name: String) -> ClassNode?): Mappings

Attempts to recover field descriptors that are missing because the original mappings format did not specify them. nodeProvider is responsible for providing all of the ClassNodes that might be referenced in this Mappings object, such that the descriptors can be recovered based on named (fields can be uniquely identified by an owner-name pair). When field descriptors were not found, field mappings will not be passed onto the new Mappings as field mappings without descriptors will be considered invalid.

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+

Returns new Mappings that are identical to these Mappings, except the comments will be removed

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
fun Mappings.removeRedundancy(inheritanceProvider: InheritanceProvider, removeDuplicateMethods: Boolean = false): Mappings

Removes redundant or straight up incorrect data from this Mappings object, by looking at the inheritance information present in class files, presented by the inheritanceProvider.

fun Mappings.removeRedundancy(file: JarFile, removeDuplicateMethods: Boolean = false): Mappings

See removeRedundancy. file is a jar file resource (caller is responsible for closing it) that contains the classes that are referenced in the generic overload. Calls with identical names are being cached by this function, the caller is not responsible for this.

fun Mappings.removeRedundancy(removeDuplicateMethods: Boolean = false, loader: ClasspathLoader): Mappings

Removes redundant or straight up incorrect data from this Mappings object, by looking at the inheritance information present in class files, presented by the loader.

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+

Swaps out the names for the namespaces in this Mappings data structure.

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+

Swaps out the names for the namespaces in this Mappings data structure, by reordering. Duplicate names are allowed, in which case mapped entries are duplicated to fit the new order. If a name in Mappings.namespaces does not appear in order, its mapping entries will be missing in the returned Mappings.

Swaps out the names for the namespaces in this Mappings data structure, by reordering. Duplicate names are allowed, in which case mapped entries are duplicated to fit the new order. If a name in Mappings.namespaces does not appear in order, its mapping entries will be missing in the returned Mappings. If a namespace in order does not exist in this Mappings, an IllegalArgumentException will be thrown.

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+

Writes TSRGMappings to a mappings file represented by a list of strings

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+

Writes TSRGMappings as a lazily evaluated Sequence

+
+
+
+
+
+
+
+
+
+ +
+
+
+ + + diff --git a/docs/lib/com.grappenmaker.mappings/-t-s-r-g-mappings/is-v2.html b/docs/lib/com.grappenmaker.mappings/-t-s-r-g-mappings/is-v2.html new file mode 100644 index 0000000..b2007d8 --- /dev/null +++ b/docs/lib/com.grappenmaker.mappings/-t-s-r-g-mappings/is-v2.html @@ -0,0 +1,76 @@ + + + + + isV2 + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

isV2

+
+ +
+ +
+
+
+ + + diff --git a/docs/lib/com.grappenmaker.mappings/-t-s-r-g-mappings/namespaces.html b/docs/lib/com.grappenmaker.mappings/-t-s-r-g-mappings/namespaces.html new file mode 100644 index 0000000..c33118d --- /dev/null +++ b/docs/lib/com.grappenmaker.mappings/-t-s-r-g-mappings/namespaces.html @@ -0,0 +1,76 @@ + + + + + namespaces + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

namespaces

+
+
open override val namespaces: List<String>
+
+ +
+
+
+ + + diff --git a/docs/lib/com.grappenmaker.mappings/-t-s-r-g-v1-mappings-format/index.html b/docs/lib/com.grappenmaker.mappings/-t-s-r-g-v1-mappings-format/index.html new file mode 100644 index 0000000..4bd9a61 --- /dev/null +++ b/docs/lib/com.grappenmaker.mappings/-t-s-r-g-v1-mappings-format/index.html @@ -0,0 +1,160 @@ + + + + + TSRGV1MappingsFormat + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

TSRGV1MappingsFormat

+

Represents the TSRG v1 mappings format

+
+
+
+
+
+

Functions

+
+
+
+
+ + +
Link copied to clipboard
+
+
+
+
open override fun detect(lines: List<String>): Boolean

Returns whether this MappingsFormat thinks the lines represent a valid input for the mappings parser

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
open override fun parse(lines: Iterator<String>): TSRGMappings

Parses lines (an iterator of lines in a mappings file) into a mappings data structure. Throws an IllegalStateException when lines is not a valid input for this mappings format.

open override fun parse(lines: List<String>): TSRGMappings

Parses lines (representing a mappings file) into a mappings data structure. Throws an IllegalStateException when lines is not a valid input for this mappings format. To check if lines can be parsed, you could invoke detect.

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+

Parses lines (a Sequence of lines in a mappings file) into a mappings data structure. Throws an IllegalStateException when lines is not a valid input for this mappings format.

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
open override fun write(mappings: TSRGMappings): List<String>

Writes mappings compatible with this MappingsFormat back to a list of lines representing a mappings file

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
open override fun writeLazy(mappings: TSRGMappings): Sequence<String>

Writes mappings compatible with this MappingsFormat to a lazily evaluated Sequence

+
+
+
+
+
+
+
+
+
+ +
+
+
+ + + diff --git a/docs/lib/com.grappenmaker.mappings/-t-s-r-g-v2-mappings-format/index.html b/docs/lib/com.grappenmaker.mappings/-t-s-r-g-v2-mappings-format/index.html new file mode 100644 index 0000000..242774f --- /dev/null +++ b/docs/lib/com.grappenmaker.mappings/-t-s-r-g-v2-mappings-format/index.html @@ -0,0 +1,160 @@ + + + + + TSRGV2MappingsFormat + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

TSRGV2MappingsFormat

+

Represents the TSRG v2 mappings format

+
+
+
+
+
+

Functions

+
+
+
+
+ + +
Link copied to clipboard
+
+
+
+
open override fun detect(lines: List<String>): Boolean

Returns whether this MappingsFormat thinks the lines represent a valid input for the mappings parser

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
open override fun parse(lines: Iterator<String>): TSRGMappings

Parses lines (an iterator of lines in a mappings file) into a mappings data structure. Throws an IllegalStateException when lines is not a valid input for this mappings format.

open override fun parse(lines: List<String>): TSRGMappings

Parses lines (representing a mappings file) into a mappings data structure. Throws an IllegalStateException when lines is not a valid input for this mappings format. To check if lines can be parsed, you could invoke detect.

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+

Parses lines (a Sequence of lines in a mappings file) into a mappings data structure. Throws an IllegalStateException when lines is not a valid input for this mappings format.

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
open override fun write(mappings: TSRGMappings): List<String>

Writes mappings compatible with this MappingsFormat back to a list of lines representing a mappings file

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
open override fun writeLazy(mappings: TSRGMappings): Sequence<String>

Writes mappings compatible with this MappingsFormat to a lazily evaluated Sequence

+
+
+
+
+
+
+
+
+
+ +
+
+
+ + + diff --git a/docs/lib/com.grappenmaker.mappings/-tiny-mappings-v1-format/detect.html b/docs/lib/com.grappenmaker.mappings/-tiny-mappings-v1-format/detect.html new file mode 100644 index 0000000..6373415 --- /dev/null +++ b/docs/lib/com.grappenmaker.mappings/-tiny-mappings-v1-format/detect.html @@ -0,0 +1,76 @@ + + + + + detect + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

detect

+
+
open override fun detect(lines: List<String>): Boolean

Returns whether this MappingsFormat thinks the lines represent a valid input for the mappings parser

+
+ +
+
+
+ + + diff --git a/docs/lib/com.grappenmaker.mappings/-tiny-mappings-v1-format/index.html b/docs/lib/com.grappenmaker.mappings/-tiny-mappings-v1-format/index.html new file mode 100644 index 0000000..32b4a4e --- /dev/null +++ b/docs/lib/com.grappenmaker.mappings/-tiny-mappings-v1-format/index.html @@ -0,0 +1,160 @@ + + + + + TinyMappingsV1Format + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

TinyMappingsV1Format

+

Represents the Tiny v1 mappings format

+
+
+
+
+
+

Functions

+
+
+
+
+ + +
Link copied to clipboard
+
+
+
+
open override fun detect(lines: List<String>): Boolean

Returns whether this MappingsFormat thinks the lines represent a valid input for the mappings parser

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
open fun parse(lines: List<String>): TinyMappings

Parses lines (representing a mappings file) into a mappings data structure. Throws an IllegalStateException when lines is not a valid input for this mappings format. To check if lines can be parsed, you could invoke detect.

open override fun parse(lines: Iterator<String>): TinyMappings

Parses lines (an iterator of lines in a mappings file) into a mappings data structure. Throws an IllegalStateException when lines is not a valid input for this mappings format.

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+

Parses lines (a Sequence of lines in a mappings file) into a mappings data structure. Throws an IllegalStateException when lines is not a valid input for this mappings format.

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
open fun write(mappings: TinyMappings): List<String>

Writes mappings compatible with this MappingsFormat back to a list of lines representing a mappings file

Writes some tiny mappings represented by a Context to a file

open fun write(mappings: TinyMappings, compact: Boolean): Sequence<String>

Writes tiny mappings represented by mappings to a file, using a compact format if compact is set.

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
open override fun writeLazy(mappings: TinyMappings): Sequence<String>

Writes mappings compatible with this MappingsFormat to a lazily evaluated Sequence

+
+
+
+
+
+
+
+
+
+ +
+
+
+ + + diff --git a/docs/lib/com.grappenmaker.mappings/-tiny-mappings-v1-format/parse.html b/docs/lib/com.grappenmaker.mappings/-tiny-mappings-v1-format/parse.html new file mode 100644 index 0000000..870760c --- /dev/null +++ b/docs/lib/com.grappenmaker.mappings/-tiny-mappings-v1-format/parse.html @@ -0,0 +1,76 @@ + + + + + parse + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

parse

+
+
open override fun parse(lines: Iterator<String>): TinyMappings

Parses lines (an iterator of lines in a mappings file) into a mappings data structure. Throws an IllegalStateException when lines is not a valid input for this mappings format.

+
+ +
+
+
+ + + diff --git a/docs/lib/com.grappenmaker.mappings/-tiny-mappings-v1-format/write.html b/docs/lib/com.grappenmaker.mappings/-tiny-mappings-v1-format/write.html new file mode 100644 index 0000000..57eaf47 --- /dev/null +++ b/docs/lib/com.grappenmaker.mappings/-tiny-mappings-v1-format/write.html @@ -0,0 +1,76 @@ + + + + + write + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

write

+
+

Writes some tiny mappings represented by a Context to a file

+
+ +
+
+
+ + + diff --git a/docs/lib/com.grappenmaker.mappings/-tiny-mappings-v2-format/detect.html b/docs/lib/com.grappenmaker.mappings/-tiny-mappings-v2-format/detect.html new file mode 100644 index 0000000..81639aa --- /dev/null +++ b/docs/lib/com.grappenmaker.mappings/-tiny-mappings-v2-format/detect.html @@ -0,0 +1,76 @@ + + + + + detect + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

detect

+
+
open override fun detect(lines: List<String>): Boolean

Returns whether this MappingsFormat thinks the lines represent a valid input for the mappings parser

+
+ +
+
+
+ + + diff --git a/docs/lib/com.grappenmaker.mappings/-tiny-mappings-v2-format/index.html b/docs/lib/com.grappenmaker.mappings/-tiny-mappings-v2-format/index.html new file mode 100644 index 0000000..b773615 --- /dev/null +++ b/docs/lib/com.grappenmaker.mappings/-tiny-mappings-v2-format/index.html @@ -0,0 +1,160 @@ + + + + + TinyMappingsV2Format + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

TinyMappingsV2Format

+

Represents the Tiny v2 mappings format

+
+
+
+
+
+

Functions

+
+
+
+
+ + +
Link copied to clipboard
+
+
+
+
open override fun detect(lines: List<String>): Boolean

Returns whether this MappingsFormat thinks the lines represent a valid input for the mappings parser

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
open fun parse(lines: List<String>): TinyMappings

Parses lines (representing a mappings file) into a mappings data structure. Throws an IllegalStateException when lines is not a valid input for this mappings format. To check if lines can be parsed, you could invoke detect.

open override fun parse(lines: Iterator<String>): TinyMappings

Parses lines (an iterator of lines in a mappings file) into a mappings data structure. Throws an IllegalStateException when lines is not a valid input for this mappings format.

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+

Parses lines (a Sequence of lines in a mappings file) into a mappings data structure. Throws an IllegalStateException when lines is not a valid input for this mappings format.

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
open fun write(mappings: TinyMappings): List<String>

Writes mappings compatible with this MappingsFormat back to a list of lines representing a mappings file

Writes some tiny mappings represented by a Context to a file

open fun write(mappings: TinyMappings, compact: Boolean): Sequence<String>

Writes tiny mappings represented by mappings to a file, using a compact format if compact is set.

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
open override fun writeLazy(mappings: TinyMappings): Sequence<String>

Writes mappings compatible with this MappingsFormat to a lazily evaluated Sequence

+
+
+
+
+
+
+
+
+
+ +
+
+
+ + + diff --git a/docs/lib/com.grappenmaker.mappings/-tiny-mappings-v2-format/parse.html b/docs/lib/com.grappenmaker.mappings/-tiny-mappings-v2-format/parse.html new file mode 100644 index 0000000..cc8bb6b --- /dev/null +++ b/docs/lib/com.grappenmaker.mappings/-tiny-mappings-v2-format/parse.html @@ -0,0 +1,76 @@ + + + + + parse + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

parse

+
+
open override fun parse(lines: Iterator<String>): TinyMappings

Parses lines (an iterator of lines in a mappings file) into a mappings data structure. Throws an IllegalStateException when lines is not a valid input for this mappings format.

+
+ +
+
+
+ + + diff --git a/docs/lib/com.grappenmaker.mappings/-tiny-mappings-v2-format/write.html b/docs/lib/com.grappenmaker.mappings/-tiny-mappings-v2-format/write.html new file mode 100644 index 0000000..6c658c3 --- /dev/null +++ b/docs/lib/com.grappenmaker.mappings/-tiny-mappings-v2-format/write.html @@ -0,0 +1,76 @@ + + + + + write + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

write

+
+

Writes some tiny mappings represented by a Context to a file

+
+ +
+
+
+ + + diff --git a/docs/lib/com.grappenmaker.mappings/-tiny-mappings-writer/-context/-context.html b/docs/lib/com.grappenmaker.mappings/-tiny-mappings-writer/-context/-context.html new file mode 100644 index 0000000..69a1047 --- /dev/null +++ b/docs/lib/com.grappenmaker.mappings/-tiny-mappings-writer/-context/-context.html @@ -0,0 +1,76 @@ + + + + + Context + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

Context

+
+
constructor(mappings: TinyMappings, compact: Boolean)
+
+ +
+
+
+ + + diff --git a/docs/lib/com.grappenmaker.mappings/-tiny-mappings-writer/-context/compact.html b/docs/lib/com.grappenmaker.mappings/-tiny-mappings-writer/-context/compact.html new file mode 100644 index 0000000..41e480a --- /dev/null +++ b/docs/lib/com.grappenmaker.mappings/-tiny-mappings-writer/-context/compact.html @@ -0,0 +1,76 @@ + + + + + compact + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

compact

+
+ +
+ +
+
+
+ + + diff --git a/docs/lib/com.grappenmaker.mappings/-tiny-mappings-writer/-context/index.html b/docs/lib/com.grappenmaker.mappings/-tiny-mappings-writer/-context/index.html new file mode 100644 index 0000000..a92d9ce --- /dev/null +++ b/docs/lib/com.grappenmaker.mappings/-tiny-mappings-writer/-context/index.html @@ -0,0 +1,153 @@ + + + + + Context + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

Context

+
data class Context(val mappings: TinyMappings, val compact: Boolean)

Context for writing TinyMappings, see write. If compact is set, a more compact format will be used, which is unsupported by mappings-io but supported by tiny-mappings-parser and this library.

+
+
+
+
+
+

Constructors

+
+
+
+
+ + +
Link copied to clipboard
+
+
+
+
constructor(mappings: TinyMappings, compact: Boolean)
+
+
+
+
+
+
+
+

Properties

+
+
+
+
+ + +
Link copied to clipboard
+
+
+
+

whether a compact format will be used

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+

the mappings that will be written by this Context

+
+
+
+
+
+
+
+

Functions

+
+
+
+
+ + +
Link copied to clipboard
+
+
+
+

Writes some tiny mappings represented by a Context to a file

+
+
+
+
+
+
+
+
+
+ +
+
+
+ + + diff --git a/docs/lib/com.grappenmaker.mappings/-tiny-mappings-writer/-context/mappings.html b/docs/lib/com.grappenmaker.mappings/-tiny-mappings-writer/-context/mappings.html new file mode 100644 index 0000000..2f52af2 --- /dev/null +++ b/docs/lib/com.grappenmaker.mappings/-tiny-mappings-writer/-context/mappings.html @@ -0,0 +1,76 @@ + + + + + mappings + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

mappings

+
+ +
+ +
+
+
+ + + diff --git a/docs/lib/com.grappenmaker.mappings/-tiny-mappings-writer/index.html b/docs/lib/com.grappenmaker.mappings/-tiny-mappings-writer/index.html new file mode 100644 index 0000000..19e17c3 --- /dev/null +++ b/docs/lib/com.grappenmaker.mappings/-tiny-mappings-writer/index.html @@ -0,0 +1,179 @@ + + + + + TinyMappingsWriter + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

TinyMappingsWriter

+

Convenience interface for parameterizing writing tiny mappings

Inheritors

+
+
+
+
+
+

Types

+
+
+
+
+ + +
Link copied to clipboard
+
+
+
+
data class Context(val mappings: TinyMappings, val compact: Boolean)

Context for writing TinyMappings, see write. If compact is set, a more compact format will be used, which is unsupported by mappings-io but supported by tiny-mappings-parser and this library.

+
+
+
+
+
+
+
+

Functions

+
+
+
+
+ + +
Link copied to clipboard
+
+
+
+
abstract fun detect(lines: List<String>): Boolean

Returns whether this MappingsFormat thinks the lines represent a valid input for the mappings parser

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
abstract fun parse(lines: Iterator<String>): TinyMappings

Parses lines (an iterator of lines in a mappings file) into a mappings data structure. Throws an IllegalStateException when lines is not a valid input for this mappings format.

open fun parse(lines: List<String>): TinyMappings

Parses lines (representing a mappings file) into a mappings data structure. Throws an IllegalStateException when lines is not a valid input for this mappings format. To check if lines can be parsed, you could invoke detect.

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+

Parses lines (a Sequence of lines in a mappings file) into a mappings data structure. Throws an IllegalStateException when lines is not a valid input for this mappings format.

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
open fun write(mappings: TinyMappings): List<String>

Writes mappings compatible with this MappingsFormat back to a list of lines representing a mappings file

Writes some tiny mappings represented by a Context to a file

open fun write(mappings: TinyMappings, compact: Boolean): Sequence<String>

Writes tiny mappings represented by mappings to a file, using a compact format if compact is set.

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
open override fun writeLazy(mappings: TinyMappings): Sequence<String>

Writes mappings compatible with this MappingsFormat to a lazily evaluated Sequence

+
+
+
+
+
+
+
+
+
+ +
+
+
+ + + diff --git a/docs/lib/com.grappenmaker.mappings/-tiny-mappings-writer/write-lazy.html b/docs/lib/com.grappenmaker.mappings/-tiny-mappings-writer/write-lazy.html new file mode 100644 index 0000000..273eeb4 --- /dev/null +++ b/docs/lib/com.grappenmaker.mappings/-tiny-mappings-writer/write-lazy.html @@ -0,0 +1,76 @@ + + + + + writeLazy + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

writeLazy

+
+
open override fun writeLazy(mappings: TinyMappings): Sequence<String>

Writes mappings compatible with this MappingsFormat to a lazily evaluated Sequence

+
+ +
+
+
+ + + diff --git a/docs/lib/com.grappenmaker.mappings/-tiny-mappings-writer/write.html b/docs/lib/com.grappenmaker.mappings/-tiny-mappings-writer/write.html new file mode 100644 index 0000000..95fa26d --- /dev/null +++ b/docs/lib/com.grappenmaker.mappings/-tiny-mappings-writer/write.html @@ -0,0 +1,76 @@ + + + + + write + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

write

+
+

Writes some tiny mappings represented by a Context to a file


open fun write(mappings: TinyMappings, compact: Boolean): Sequence<String>

Writes tiny mappings represented by mappings to a file, using a compact format if compact is set.

+
+ +
+
+
+ + + diff --git a/docs/lib/com.grappenmaker.mappings/-tiny-mappings/-tiny-mappings.html b/docs/lib/com.grappenmaker.mappings/-tiny-mappings/-tiny-mappings.html new file mode 100644 index 0000000..910a1b8 --- /dev/null +++ b/docs/lib/com.grappenmaker.mappings/-tiny-mappings/-tiny-mappings.html @@ -0,0 +1,76 @@ + + + + + TinyMappings + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

TinyMappings

+
+
constructor(namespaces: List<String>, classes: List<MappedClass>, isV2: Boolean)
+
+ +
+
+
+ + + diff --git a/docs/lib/com.grappenmaker.mappings/-tiny-mappings/classes.html b/docs/lib/com.grappenmaker.mappings/-tiny-mappings/classes.html new file mode 100644 index 0000000..78c675e --- /dev/null +++ b/docs/lib/com.grappenmaker.mappings/-tiny-mappings/classes.html @@ -0,0 +1,76 @@ + + + + + classes + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

classes

+
+
open override val classes: List<MappedClass>
+
+ +
+
+
+ + + diff --git a/docs/lib/com.grappenmaker.mappings/-tiny-mappings/index.html b/docs/lib/com.grappenmaker.mappings/-tiny-mappings/index.html new file mode 100644 index 0000000..0e828c2 --- /dev/null +++ b/docs/lib/com.grappenmaker.mappings/-tiny-mappings/index.html @@ -0,0 +1,558 @@ + + + + + TinyMappings + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

TinyMappings

+
data class TinyMappings(val namespaces: List<String>, val classes: List<MappedClass>, val isV2: Boolean) : Mappings

Represents either a tiny v1 or a tiny v2 mappings file, which does not have a definition anywhere. The serialization method of these mappings is governed by isV2

+
+
+
+
+
+

Constructors

+
+
+
+
+ + +
Link copied to clipboard
+
+
+
+
constructor(namespaces: List<String>, classes: List<MappedClass>, isV2: Boolean)
+
+
+
+
+
+
+
+

Properties

+
+
+
+
+ + +
Link copied to clipboard
+
+
+
+
open override val classes: List<MappedClass>

All mapped classes in this mappings file (in order, not important)

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+

whether this mappings file is Tiny version 2.

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
open override val namespaces: List<String>

All namespaces (in order) that this mappings file supports/contains

+
+
+
+
+
+
+
+

Functions

+
+
+
+
+ + +
Link copied to clipboard
+
+
+
+
fun Mappings.asASMMapping(from: String, to: String, includeMethods: Boolean = true, includeFields: Boolean = true): Map<String, String>

Returns a simple mapping representing all of the Mappings, mapping between the namespaces from and to. If includeMethods is true, then methods will be included in the mapping. If includeFields is true, then fields will be included in the mapping.

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+ +
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+ +
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+ +
+
+ +
+
+
+ + +
Link copied to clipboard
+
+ +
+
+ +
+
+
+ + +
Link copied to clipboard
+
+ +
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+ +
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
fun Mappings.asSimpleRemapper(from: String, to: String): SimpleRemapper

Returns an asm SimpleRemapper for remapping references between namespaces from and to disregarding inheritance and lambdas. For proper remapping, you should use the MappingsRemapper.

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+

Converts these Mappings to SRGMappings, enabling XSRG when extended is true.

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+

Converts these Mappings to TinyMappings, enabling Tiny v2 when v2 is true.

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+

Converts these Mappings to TSRGMappings, enabling TSRG v2 when v2 is true.

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+

Removes all duplicate namespace usages in this Mappings.

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+

Transforms this Mappings structure to a generic mappings implementation that maps between from and to.

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
inline fun Mappings.filterClasses(predicate: (MappedClass) -> Boolean): Mappings

Filters classes matching the predicate

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
inline fun Mappings.filterMethods(predicate: (owner: MappedClass, method: MappedMethod) -> Boolean): Mappings

Filters methods matching the predicate

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
fun Mappings.filterNamespaces(vararg allowed: String, allowDuplicates: Boolean = false): Mappings
fun Mappings.filterNamespaces(allowed: Set<String>, allowDuplicates: Boolean = false): Mappings

Filters these Mappings to only contain namespaces that are in allowed. If allowDuplicates is true, the returned Mappings will also have duplicate namespaces removed.

inline fun Mappings.filterNamespaces(allowDuplicates: Boolean = false, predicate: (String) -> Boolean): Mappings

Filters these Mappings to only contain namespaces for which the predicate returns true. If allowDuplicates is true, the returned Mappings will also have duplicate namespaces removed.

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
fun Mappings.join(otherMappings: Mappings, intermediateNamespace: String, requireMatch: Boolean = false): Mappings

Joins together this Mappings with otherMappings, by matching on intermediateNamespace, producing new Mappings that contain all entries from this Mappings and otherMappings. If requireMatch is true, this method will throw an exception when no method or field or class is found

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+

Maps classes according to the given block

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
inline fun Mappings.mapMethods(block: (owner: MappedClass, method: MappedMethod) -> MappedMethod): Mappings

Maps methods according to the given block

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+

Returns the index of a namespace named name, but throws an IllegalStateException when name is not in the Mappings.namespaces.

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+

See recoverFieldDescriptors. file is a jar file resource (caller is responsible for closing it) that contains the classes that are referenced in the generic overload.

fun Mappings.recoverFieldDescriptors(bytesProvider: (name: String) -> ByteArray?): Mappings

Attempts to recover field descriptors that are missing because the original mappings format did not specify them. bytesProvider is responsible for providing all of the classes that might be referenced in this Mappings object, such that the descriptors can be recovered based on named (fields can be uniquely identified by an owner-name pair). When field descriptors were not found, field mappings will not be passed onto the new Mappings as field mappings without descriptors will be considered invalid.

@JvmName(name = "recoverDescsByNode")
fun Mappings.recoverFieldDescriptors(nodeProvider: (name: String) -> ClassNode?): Mappings

Attempts to recover field descriptors that are missing because the original mappings format did not specify them. nodeProvider is responsible for providing all of the ClassNodes that might be referenced in this Mappings object, such that the descriptors can be recovered based on named (fields can be uniquely identified by an owner-name pair). When field descriptors were not found, field mappings will not be passed onto the new Mappings as field mappings without descriptors will be considered invalid.

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+

Returns new Mappings that are identical to these Mappings, except the comments will be removed

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
fun Mappings.removeRedundancy(inheritanceProvider: InheritanceProvider, removeDuplicateMethods: Boolean = false): Mappings

Removes redundant or straight up incorrect data from this Mappings object, by looking at the inheritance information present in class files, presented by the inheritanceProvider.

fun Mappings.removeRedundancy(file: JarFile, removeDuplicateMethods: Boolean = false): Mappings

See removeRedundancy. file is a jar file resource (caller is responsible for closing it) that contains the classes that are referenced in the generic overload. Calls with identical names are being cached by this function, the caller is not responsible for this.

fun Mappings.removeRedundancy(removeDuplicateMethods: Boolean = false, loader: ClasspathLoader): Mappings

Removes redundant or straight up incorrect data from this Mappings object, by looking at the inheritance information present in class files, presented by the loader.

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+

Swaps out the names for the namespaces in this Mappings data structure.

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+

Swaps out the names for the namespaces in this Mappings data structure, by reordering. Duplicate names are allowed, in which case mapped entries are duplicated to fit the new order. If a name in Mappings.namespaces does not appear in order, its mapping entries will be missing in the returned Mappings.

Swaps out the names for the namespaces in this Mappings data structure, by reordering. Duplicate names are allowed, in which case mapped entries are duplicated to fit the new order. If a name in Mappings.namespaces does not appear in order, its mapping entries will be missing in the returned Mappings. If a namespace in order does not exist in this Mappings, an IllegalArgumentException will be thrown.

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
fun TinyMappings.write(compact: Boolean = isV2): List<String>

Writes TinyMappings to a mappings file represented by a list of strings. If compact is set, a more compact format of tiny mappings will be used, see TinyMappingsWriter.write.

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+

Writes TinyMappings as a lazily evaluated Sequence. If compact is set, a more compact format of tiny mappings will be used, see TinyMappingsWriter.write.

+
+
+
+
+
+
+
+
+
+ +
+
+
+ + + diff --git a/docs/lib/com.grappenmaker.mappings/-tiny-mappings/is-v2.html b/docs/lib/com.grappenmaker.mappings/-tiny-mappings/is-v2.html new file mode 100644 index 0000000..dd0add8 --- /dev/null +++ b/docs/lib/com.grappenmaker.mappings/-tiny-mappings/is-v2.html @@ -0,0 +1,76 @@ + + + + + isV2 + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

isV2

+
+ +
+ +
+
+
+ + + diff --git a/docs/lib/com.grappenmaker.mappings/-tiny-mappings/namespaces.html b/docs/lib/com.grappenmaker.mappings/-tiny-mappings/namespaces.html new file mode 100644 index 0000000..e5bc9c4 --- /dev/null +++ b/docs/lib/com.grappenmaker.mappings/-tiny-mappings/namespaces.html @@ -0,0 +1,76 @@ + + + + + namespaces + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

namespaces

+
+
open override val namespaces: List<String>
+
+ +
+
+
+ + + diff --git a/docs/lib/com.grappenmaker.mappings/-x-s-r-g-mappings-format/index.html b/docs/lib/com.grappenmaker.mappings/-x-s-r-g-mappings-format/index.html new file mode 100644 index 0000000..e43e61e --- /dev/null +++ b/docs/lib/com.grappenmaker.mappings/-x-s-r-g-mappings-format/index.html @@ -0,0 +1,160 @@ + + + + + XSRGMappingsFormat + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

XSRGMappingsFormat

+

Represents the XSRG mappings format

+
+
+
+
+
+

Functions

+
+
+
+
+ + +
Link copied to clipboard
+
+
+
+
open override fun detect(lines: List<String>): Boolean

Returns whether this MappingsFormat thinks the lines represent a valid input for the mappings parser

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
open override fun parse(lines: Iterator<String>): SRGMappings

Parses lines (an iterator of lines in a mappings file) into a mappings data structure. Throws an IllegalStateException when lines is not a valid input for this mappings format.

open override fun parse(lines: List<String>): SRGMappings

Parses lines (representing a mappings file) into a mappings data structure. Throws an IllegalStateException when lines is not a valid input for this mappings format. To check if lines can be parsed, you could invoke detect.

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+

Parses lines (a Sequence of lines in a mappings file) into a mappings data structure. Throws an IllegalStateException when lines is not a valid input for this mappings format.

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
open override fun write(mappings: SRGMappings): List<String>

Writes mappings compatible with this MappingsFormat back to a list of lines representing a mappings file

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
open override fun writeLazy(mappings: SRGMappings): Sequence<String>

Writes mappings compatible with this MappingsFormat to a lazily evaluated Sequence

+
+
+
+
+
+
+
+
+
+ +
+
+
+ + + diff --git a/docs/lib/com.grappenmaker.mappings/apply-widener.html b/docs/lib/com.grappenmaker.mappings/apply-widener.html new file mode 100644 index 0000000..cdf0132 --- /dev/null +++ b/docs/lib/com.grappenmaker.mappings/apply-widener.html @@ -0,0 +1,76 @@ + + + + + applyWidener + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

applyWidener

+
+
fun ClassNode.applyWidener(tree: AccessWidenerTree)

Applies an AccessWidenerTree to a given ClassNode

+
+ +
+
+
+ + + diff --git a/docs/lib/com.grappenmaker.mappings/as-a-s-m-mapping.html b/docs/lib/com.grappenmaker.mappings/as-a-s-m-mapping.html new file mode 100644 index 0000000..6c21c58 --- /dev/null +++ b/docs/lib/com.grappenmaker.mappings/as-a-s-m-mapping.html @@ -0,0 +1,76 @@ + + + + + asASMMapping + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

asASMMapping

+
+
fun Mappings.asASMMapping(from: String, to: String, includeMethods: Boolean = true, includeFields: Boolean = true): Map<String, String>

Returns a simple mapping representing all of the Mappings, mapping between the namespaces from and to. If includeMethods is true, then methods will be included in the mapping. If includeFields is true, then fields will be included in the mapping.

+
+ +
+
+
+ + + diff --git a/docs/lib/com.grappenmaker.mappings/as-c-s-r-g-mappings.html b/docs/lib/com.grappenmaker.mappings/as-c-s-r-g-mappings.html new file mode 100644 index 0000000..01822d8 --- /dev/null +++ b/docs/lib/com.grappenmaker.mappings/as-c-s-r-g-mappings.html @@ -0,0 +1,76 @@ + + + + + asCSRGMappings + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

asCSRGMappings

+
+ +
+ +
+
+
+ + + diff --git a/docs/lib/com.grappenmaker.mappings/as-compacted-mappings.html b/docs/lib/com.grappenmaker.mappings/as-compacted-mappings.html new file mode 100644 index 0000000..ac8ac8f --- /dev/null +++ b/docs/lib/com.grappenmaker.mappings/as-compacted-mappings.html @@ -0,0 +1,76 @@ + + + + + asCompactedMappings + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

asCompactedMappings

+
+

Converts these Mappings to CompactedMappings.

Samples

samples.Mappings.conversions
+
+ +
+
+
+ + + diff --git a/docs/lib/com.grappenmaker.mappings/as-enigma-mappings.html b/docs/lib/com.grappenmaker.mappings/as-enigma-mappings.html new file mode 100644 index 0000000..61122e5 --- /dev/null +++ b/docs/lib/com.grappenmaker.mappings/as-enigma-mappings.html @@ -0,0 +1,76 @@ + + + + + asEnigmaMappings + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

asEnigmaMappings

+
+ +
+ +
+
+
+ + + diff --git a/docs/lib/com.grappenmaker.mappings/as-generic-mappings.html b/docs/lib/com.grappenmaker.mappings/as-generic-mappings.html new file mode 100644 index 0000000..8461c4b --- /dev/null +++ b/docs/lib/com.grappenmaker.mappings/as-generic-mappings.html @@ -0,0 +1,76 @@ + + + + + asGenericMappings + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

asGenericMappings

+
+ +
+ +
+
+
+ + + diff --git a/docs/lib/com.grappenmaker.mappings/as-inheritance-provider.html b/docs/lib/com.grappenmaker.mappings/as-inheritance-provider.html new file mode 100644 index 0000000..65fc68b --- /dev/null +++ b/docs/lib/com.grappenmaker.mappings/as-inheritance-provider.html @@ -0,0 +1,76 @@ + + + + + asInheritanceProvider + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

asInheritanceProvider

+
+

Wraps this into a InheritanceProvider that uses this to extract inheritance information

+
+ +
+
+
+ + + diff --git a/docs/lib/com.grappenmaker.mappings/as-proguard-mappings.html b/docs/lib/com.grappenmaker.mappings/as-proguard-mappings.html new file mode 100644 index 0000000..b49a3a3 --- /dev/null +++ b/docs/lib/com.grappenmaker.mappings/as-proguard-mappings.html @@ -0,0 +1,76 @@ + + + + + asProguardMappings + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

asProguardMappings

+
+

Converts these Mappings to ProguardMappings.

Samples

samples.Mappings.conversions
+
+ +
+
+
+ + + diff --git a/docs/lib/com.grappenmaker.mappings/as-recaf-mappings.html b/docs/lib/com.grappenmaker.mappings/as-recaf-mappings.html new file mode 100644 index 0000000..b9cd874 --- /dev/null +++ b/docs/lib/com.grappenmaker.mappings/as-recaf-mappings.html @@ -0,0 +1,76 @@ + + + + + asRecafMappings + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

asRecafMappings

+
+ +
+ +
+
+
+ + + diff --git a/docs/lib/com.grappenmaker.mappings/as-s-r-g-mappings.html b/docs/lib/com.grappenmaker.mappings/as-s-r-g-mappings.html new file mode 100644 index 0000000..9152977 --- /dev/null +++ b/docs/lib/com.grappenmaker.mappings/as-s-r-g-mappings.html @@ -0,0 +1,76 @@ + + + + + asSRGMappings + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

asSRGMappings

+
+

Converts these Mappings to SRGMappings, enabling XSRG when extended is true.

Samples

samples.Mappings.conversions
+
+ +
+
+
+ + + diff --git a/docs/lib/com.grappenmaker.mappings/as-simple-remapper.html b/docs/lib/com.grappenmaker.mappings/as-simple-remapper.html new file mode 100644 index 0000000..ace3b99 --- /dev/null +++ b/docs/lib/com.grappenmaker.mappings/as-simple-remapper.html @@ -0,0 +1,76 @@ + + + + + asSimpleRemapper + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

asSimpleRemapper

+
+
fun Mappings.asSimpleRemapper(from: String, to: String): SimpleRemapper

Returns an asm SimpleRemapper for remapping references between namespaces from and to disregarding inheritance and lambdas. For proper remapping, you should use the MappingsRemapper.


fun SRGMappings.asSimpleRemapper(): SimpleRemapper

Shorthand for converting SRGMappings to a SimpleRemapper.

See also

+
+ +
+
+
+ + + diff --git a/docs/lib/com.grappenmaker.mappings/as-t-s-r-g-mappings.html b/docs/lib/com.grappenmaker.mappings/as-t-s-r-g-mappings.html new file mode 100644 index 0000000..f3da4d8 --- /dev/null +++ b/docs/lib/com.grappenmaker.mappings/as-t-s-r-g-mappings.html @@ -0,0 +1,76 @@ + + + + + asTSRGMappings + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

asTSRGMappings

+
+

Converts these Mappings to TSRGMappings, enabling TSRG v2 when v2 is true.

Samples

samples.Mappings.conversions
+
+ +
+
+
+ + + diff --git a/docs/lib/com.grappenmaker.mappings/as-tiny-mappings.html b/docs/lib/com.grappenmaker.mappings/as-tiny-mappings.html new file mode 100644 index 0000000..53ad12a --- /dev/null +++ b/docs/lib/com.grappenmaker.mappings/as-tiny-mappings.html @@ -0,0 +1,76 @@ + + + + + asTinyMappings + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

asTinyMappings

+
+

Converts these Mappings to TinyMappings, enabling Tiny v2 when v2 is true.

Samples

samples.Mappings.conversions
+
+ +
+
+
+ + + diff --git a/docs/lib/com.grappenmaker.mappings/deduplicate-namespaces.html b/docs/lib/com.grappenmaker.mappings/deduplicate-namespaces.html new file mode 100644 index 0000000..6350a0d --- /dev/null +++ b/docs/lib/com.grappenmaker.mappings/deduplicate-namespaces.html @@ -0,0 +1,76 @@ + + + + + deduplicateNamespaces + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

deduplicateNamespaces

+
+

Removes all duplicate namespace usages in this Mappings.

Samples

samples.Mappings.dedup
+
+ +
+
+
+ + + diff --git a/docs/lib/com.grappenmaker.mappings/extract-namespaces.html b/docs/lib/com.grappenmaker.mappings/extract-namespaces.html new file mode 100644 index 0000000..5d19d9b --- /dev/null +++ b/docs/lib/com.grappenmaker.mappings/extract-namespaces.html @@ -0,0 +1,76 @@ + + + + + extractNamespaces + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

extractNamespaces

+
+

Deprecated

This function is redundant

Replace with

import com.grappenmaker.mappings.reorderNamespaces
this.reorderNamespaces(from, to)

Transforms this Mappings structure to a generic mappings implementation that maps between from and to.

+
+ +
+
+
+ + + diff --git a/docs/lib/com.grappenmaker.mappings/filter-classes.html b/docs/lib/com.grappenmaker.mappings/filter-classes.html new file mode 100644 index 0000000..46defcf --- /dev/null +++ b/docs/lib/com.grappenmaker.mappings/filter-classes.html @@ -0,0 +1,76 @@ + + + + + filterClasses + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

filterClasses

+
+
inline fun Mappings.filterClasses(predicate: (MappedClass) -> Boolean): Mappings

Filters classes matching the predicate

+
+ +
+
+
+ + + diff --git a/docs/lib/com.grappenmaker.mappings/filter-methods.html b/docs/lib/com.grappenmaker.mappings/filter-methods.html new file mode 100644 index 0000000..73c76bf --- /dev/null +++ b/docs/lib/com.grappenmaker.mappings/filter-methods.html @@ -0,0 +1,76 @@ + + + + + filterMethods + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

filterMethods

+
+
inline fun Mappings.filterMethods(predicate: (owner: MappedClass, method: MappedMethod) -> Boolean): Mappings

Filters methods matching the predicate

+
+ +
+
+
+ + + diff --git a/docs/lib/com.grappenmaker.mappings/filter-namespaces.html b/docs/lib/com.grappenmaker.mappings/filter-namespaces.html new file mode 100644 index 0000000..b2d6f17 --- /dev/null +++ b/docs/lib/com.grappenmaker.mappings/filter-namespaces.html @@ -0,0 +1,76 @@ + + + + + filterNamespaces + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

filterNamespaces

+
+
inline fun Mappings.filterNamespaces(allowDuplicates: Boolean = false, predicate: (String) -> Boolean): Mappings

Filters these Mappings to only contain namespaces for which the predicate returns true. If allowDuplicates is true, the returned Mappings will also have duplicate namespaces removed.

The functionality of this function differs slightly from that of Mappings.reorderNamespaces, in that this function acts as a filter, which means that order will be preserved as is present in this Mappings.

Samples

samples.Mappings.filter
fun Mappings.filterNamespaces(vararg allowed: String, allowDuplicates: Boolean = false): Mappings
fun Mappings.filterNamespaces(allowed: Set<String>, allowDuplicates: Boolean = false): Mappings

Filters these Mappings to only contain namespaces that are in allowed. If allowDuplicates is true, the returned Mappings will also have duplicate namespaces removed.

The functionality of this function differs slightly from that of Mappings.reorderNamespaces, in that this function acts as a filter, which means that order will be preserved as is present in this Mappings, and if some namespace in allowed does not exist, no error will be thrown.

Samples

samples.Mappings.filter
+
+ +
+
+
+ + + diff --git a/docs/lib/com.grappenmaker.mappings/index.html b/docs/lib/com.grappenmaker.mappings/index.html new file mode 100644 index 0000000..1fb8755 --- /dev/null +++ b/docs/lib/com.grappenmaker.mappings/index.html @@ -0,0 +1,1637 @@ + + + + + com.grappenmaker.mappings + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

Package-level declarations

+
+
+
+
+
+

Types

+
+
+
+
+ + +
Link copied to clipboard
+
+
+
+
data class AccessedClass(val mask: AccessMask, val methods: Map<MemberIdentifier, AccessMask>, val fields: Map<MemberIdentifier, AccessMask>)
+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
data class AccessedMember(val owner: String, val name: String, val desc: String)

Represents a field or method that is being widened

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
value class AccessMask(val value: Int) : Iterable<AccessType>

A bitmask representing a set of AccessTypes

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+

A type of access that can be "widened" on a class, field or method

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
data class AccessWidener(val version: Int, val namespace: String, val classes: Map<String, AccessMask>, val methods: Map<AccessedMember, AccessMask>, val fields: Map<AccessedMember, AccessMask>)

Represents an access widener file

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
data class AccessWidenerTree(val namespace: String, val classes: Map<String, AccessedClass>)

A tree-like structure that is easier to use when access widening one or more classes

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
class AccessWidenerVisitor(parent: ClassVisitor?, tree: AccessWidenerTree) : ClassVisitor

ClassVisitor that can handle access widening tasks

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
typealias ClasspathLoader = (name: String) -> ByteArray?

An alias for a function that returns class file buffers given an internal/JVMS class name

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+

Provides default implementations for the classpath loaders in MappingsRemapper

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
sealed interface Commented

Represents any entity that can have comments (commonly used in Tiny mappings)

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
data class CompactedMappings(val namespaces: List<String>, val classes: List<MappedClass>, val version: Int = 2) : Mappings

Represents a compacted mappings file. See CompactedMappingsFormat

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+

Represents the compacted mappings format. Note: this does not support the usual MappingsFormat capability, since this is the only mappings format that has a binary representation. Compacted mappings should be explicitly handled through this object

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
data class CSRGMappings(val classes: List<MappedClass>) : Mappings

Represents a CSRG Mappings file

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+

Represents the CSRG mappings format

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
data object EmptyMappings : Mappings

Represents an empty mappings object, with no data.

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
data class EnigmaMappings(val classes: List<MappedClass>) : Mappings

Represents either an enigma mappings file

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+

Represents the enigma mappings format

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
annotation class ExperimentalJarRemapper

Marker annotation that declares that the annotated type is experimental Jar Remapper API

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
data class GenericMappings(val namespaces: List<String>, val classes: List<MappedClass>) : Mappings

Represents a generic type of mapping that is not deserialized from anything, nor can be serialized to a mappings file. It does not carry format-specific metadata, and is used as an intermediate value for transforming mappings.

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+

Represents an entry point for tasks like remapping and transformations to gather inheritance information from the classpath. Its simple design allows implementations to fetch information from different kinds of resources, like the classpath (see LoaderInheritanceProvider).

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
fun interface JarClassVisitor

A functional interface that allows users of the JarRemapper to annotate or mutate class files with ASM during remapping

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+

Helper / DSL for creating an JarRemapper

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
annotation class JarRemapperDSL

Marker annotation that declares that a certain type is part of the jar remapper DSL

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
data class JarRemapTask(val input: Path, val output: Path, val fromNamespace: String, val toNamespace: String)

A data structure that specifies what the JarRemapper should do with a specific jar file

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
fun interface JarResourceVisitor

A functional interface that allows users of the JarRemapper to annotate or mutate resources in jar files that are not classes

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
open class LambdaAwareMethodRemapper(parent: MethodVisitor, remapper: Remapper) : MethodRemapper

A MethodRemapper that is aware of the remapping of Invoke Dynamic instructions for lambdas.

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
open class LambdaAwareRemapper(parent: ClassVisitor, remapper: Remapper) : ClassRemapper

A ClassRemapper that is aware of the remapping of Invoke Dynamic instructions for lambdas.

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+

An InheritanceProvider that delegates to a ClasspathLoader, loader, to extract inheritance information

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
open class LoaderSimpleRemapper(map: Map<String, String>, inheritanceProvider: InheritanceProvider, memoizeInheritance: Boolean = true) : Remapper

A Remapper that can use a InheritanceProvider for inheritance information to apply a certain map, that should be in an equivalent format as the one produced by Mappings.asASMMapping.

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
sealed interface Mapped

Represents any entity that can have different mapped names

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
data class MappedClass(val names: List<String>, val comments: List<String> = emptyList(), val fields: List<MappedField> = emptyList(), val methods: List<MappedMethod> = emptyList()) : Mapped, Commented

Represents a mapped class (containing fields and methods)

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
data class MappedField(val names: List<String>, val comments: List<String> = emptyList(), val desc: String?) : Mapped, Commented

Represents a mapped field

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
data class MappedLocal(val index: Int, val startOffset: Int, val lvtIndex: Int, val names: List<String>) : Mapped

Represents a mapped local variable. This is different to a MappedParameter, because it carries data about LVT and usage in the bytecode.

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
data class MappedMethod(val names: List<String>, val comments: List<String> = emptyList(), val desc: String, val parameters: List<MappedParameter> = emptyList(), val variables: List<MappedLocal> = emptyList()) : Mapped, Commented

Represents a mapped method

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
data class MappedParameter(val names: List<String>, val index: Int) : Mapped

Represents a mapped parameter of a MappedMethod, which is different from a MappedLocal (see docs)

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
sealed interface Mappings

Represents any type of mappings. The names in all of the Mapped entities are in the order of the namespaces, and should have equal length arrays.

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
sealed interface MappingsFormat<T : Mappings>

Represents a generic mappings format

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+

The entry point for loading Mappings.

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
class MappingsRemapper(val mappings: Mappings, val from: String, val to: String, loader: ClasspathLoader) : LoaderSimpleRemapper

A Remapper for Mappings, which is capable of using inheritance information from classes (the implementor may choose to cache them) to resolve mapping data.

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
data class MemberIdentifier(val name: String, val desc: String)

Similar to AccessedMember, but without an owner field. Used in an AccessedClass

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+

An InheritanceProvider that delegates to another given InheritanceProvider, delegate, and remembers its results.

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
data class ProguardMappings(val classes: List<MappedClass>, val comments: List<String> = emptyList()) : Mappings, Commented

Represents Proguard debug deobfuscation mappings. Note that Proguard only supports two mappings namespaces. Line number information is ignored by the parser.

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+

Implements the Proguard mappings format, disregarding line number information, which is written as 1:1 when serialized.

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
data class RecafMappings(val classes: List<MappedClass>) : Mappings

Represents a Recaf Mappings file

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+

Represents the Recaf mappings format

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
data class SRGMappings(val classes: List<MappedClass>, val isExtended: Boolean) : Mappings

Represent any type of SRG mappings, whether this data structure represents XSRG or regular SRG is governed by isExtended.

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+

Represents the SRG mappings format

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
data class TinyMappings(val namespaces: List<String>, val classes: List<MappedClass>, val isV2: Boolean) : Mappings

Represents either a tiny v1 or a tiny v2 mappings file, which does not have a definition anywhere. The serialization method of these mappings is governed by isV2

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+

Represents the Tiny v1 mappings format

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+

Represents the Tiny v2 mappings format

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+

Convenience interface for parameterizing writing tiny mappings

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
data class TSRGMappings(val namespaces: List<String>, val classes: List<MappedClass>, val isV2: Boolean) : Mappings

Represents either a TSRG v1 or a TSRG v2 mappings file, which does not have a definition anywhere. The serialization method of these mappings is governed by isV2

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+

Represents the TSRG v1 mappings format

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+

Represents the TSRG v2 mappings format

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+

Represents the XSRG mappings format

+
+
+
+
+
+
+
+

Properties

+
+
+
+
+ + +
Link copied to clipboard
+
+
+
+
const val INHERITABLE_MASK: Int = 26

Represents the bitmask of access flags that a member may not have to be considered inheritable, see InheritanceProvider.getDeclaredMethods

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+

Whether a given Type represents a JVM primitive type

+
+
+
+
+
+
+
+

Functions

+
+
+
+
+ + +
Link copied to clipboard
+
+
+
+
fun ClassNode.applyWidener(tree: AccessWidenerTree)

Applies an AccessWidenerTree to a given ClassNode

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
fun Mappings.asASMMapping(from: String, to: String, includeMethods: Boolean = true, includeFields: Boolean = true): Map<String, String>

Returns a simple mapping representing all of the Mappings, mapping between the namespaces from and to. If includeMethods is true, then methods will be included in the mapping. If includeFields is true, then fields will be included in the mapping.

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+ +
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+ +
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+ +
+
+ +
+
+
+ + +
Link copied to clipboard
+
+ +
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+

Wraps this into a InheritanceProvider that uses this to extract inheritance information

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+ +
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+ +
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
fun SRGMappings.asSimpleRemapper(): SimpleRemapper

Shorthand for converting SRGMappings to a SimpleRemapper.

fun Mappings.asSimpleRemapper(from: String, to: String): SimpleRemapper

Returns an asm SimpleRemapper for remapping references between namespaces from and to disregarding inheritance and lambdas. For proper remapping, you should use the MappingsRemapper.

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+

Converts these Mappings to SRGMappings, enabling XSRG when extended is true.

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+

Converts these Mappings to TinyMappings, enabling Tiny v2 when v2 is true.

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+

Converts these Mappings to TSRGMappings, enabling TSRG v2 when v2 is true.

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+

Removes all duplicate namespace usages in this Mappings.

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+

Transforms this Mappings structure to a generic mappings implementation that maps between from and to.

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
inline fun Mappings.filterClasses(predicate: (MappedClass) -> Boolean): Mappings

Filters classes matching the predicate

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
inline fun Mappings.filterMethods(predicate: (owner: MappedClass, method: MappedMethod) -> Boolean): Mappings

Filters methods matching the predicate

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
fun Mappings.filterNamespaces(vararg allowed: String, allowDuplicates: Boolean = false): Mappings
fun Mappings.filterNamespaces(allowed: Set<String>, allowDuplicates: Boolean = false): Mappings

Filters these Mappings to only contain namespaces that are in allowed. If allowDuplicates is true, the returned Mappings will also have duplicate namespaces removed.

inline fun Mappings.filterNamespaces(allowDuplicates: Boolean = false, predicate: (String) -> Boolean): Mappings

Filters these Mappings to only contain namespaces for which the predicate returns true. If allowDuplicates is true, the returned Mappings will also have duplicate namespaces removed.

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+

Returns whether the methods represented by this MappedMethod is a data method, that is, if this method is hashCode, toString, equals or an initializer, like a constructor or init {} block (this means that the jvm names are and , respectively)

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+

Converts some sort of collection of AccessMasks to a resultant AccessMask combining them

Combines AccessWideners using the AccessWidener.plus operator, producing a new AccessWidener that, when applied, produces the same result as applying all of the wideners sequentially. If this Iterable would be considered empty (its Iterator.hasNext would return false on the first iteration), IllegalArgumentException is thrown

Combines this sequence of AccessWideners using the AccessWidener.plus operator, producing a new AccessWidener that, when applied, produces the same result as applying all of the wideners sequentially. If this Sequence would be considered empty, IllegalArgumentException is thrown

fun Iterable<Mappings>.join(intermediateNamespace: String, requireMatch: Boolean = false): Mappings

Joins together an Iterable of Mappings, producing new Mappings that contain all entries from all Mappings. Note: all namespaces are kept, in order to be able to reduce the mappings nicely without a lot of overhead. If you want to exclude certain namespaces, use Mappings.filterNamespaces. If this Iterable would be considered empty (its Iterator.hasNext would return false on the first iteration), EmptyMappings is returned.

fun Mappings.join(otherMappings: Mappings, intermediateNamespace: String, requireMatch: Boolean = false): Mappings

Joins together this Mappings with otherMappings, by matching on intermediateNamespace, producing new Mappings that contain all entries from this Mappings and otherMappings. If requireMatch is true, this method will throw an exception when no method or field or class is found

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+

Reads a file represented by lines (an iterator of every line in an access widener file) as an AccessWidener

Reads a file represented by lines as an AccessWidener

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
fun Type.map(names: Map<String, String>): Type

Remaps a given Type, using a map of class names

fun Type.map(remapper: Remapper): Type

Remaps a given Type using a given remapper

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+

Maps classes according to the given block

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
fun mapDesc(desc: String, names: Map<String, String>): String

Remaps a given descriptor desc, using a map of class names

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
fun mapMethodDesc(desc: String, names: Map<String, String>): String

Remaps a given method descriptor desc, using a map of class names

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
inline fun Mappings.mapMethods(block: (owner: MappedClass, method: MappedMethod) -> MappedMethod): Mappings

Maps methods according to the given block

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+

Wraps this into a new provider that remembers the results of calls

Composes this to a new classpath loader, that caches the results of this

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+

Composes this to a new classpath loader, that caches the results of this inside of a given memo

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+

Returns the index of a namespace named name, but throws an IllegalStateException when name is not in the Mappings.namespaces.

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+

Parses lines (a Sequence of lines in a mappings file) into a mappings data structure. Throws an IllegalStateException when lines is not a valid input for this mappings format.

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
inline suspend fun performRemap(builder: JarRemapper.() -> Unit)

Performs a remap using JarRemapper.perform. Configuration for it can be provided in the builder

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+

Combines this AccessWidener with other, returning a new access widener that, when applied, produces the same result as applying one widener and then the other.

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+

See recoverFieldDescriptors. file is a jar file resource (caller is responsible for closing it) that contains the classes that are referenced in the generic overload.

fun Mappings.recoverFieldDescriptors(bytesProvider: (name: String) -> ByteArray?): Mappings

Attempts to recover field descriptors that are missing because the original mappings format did not specify them. bytesProvider is responsible for providing all of the classes that might be referenced in this Mappings object, such that the descriptors can be recovered based on named (fields can be uniquely identified by an owner-name pair). When field descriptors were not found, field mappings will not be passed onto the new Mappings as field mappings without descriptors will be considered invalid.

@JvmName(name = "recoverDescsByNode")
fun Mappings.recoverFieldDescriptors(nodeProvider: (name: String) -> ClassNode?): Mappings

Attempts to recover field descriptors that are missing because the original mappings format did not specify them. nodeProvider is responsible for providing all of the ClassNodes that might be referenced in this Mappings object, such that the descriptors can be recovered based on named (fields can be uniquely identified by an owner-name pair). When field descriptors were not found, field mappings will not be passed onto the new Mappings as field mappings without descriptors will be considered invalid.

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
fun Array<MutableList<out AnnotationNode>?>.remap(remapper: Remapper)

Remaps an array of lists of annotations, which is typically used to represent parameter annotations

fun MutableList<out AnnotationNode>.remap(remapper: Remapper)

Remaps a list of annotations, which is typically used to represent a set of annotations that are applied / present on a parameter, field, method, or class

fun AnnotationNode.remap(remapper: Remapper)

Remaps an AnnotationNode using a given remapper

fun AccessWidener.remap(mappings: Mappings, toNamespace: String): AccessWidener

Remaps this AccessWidener using mappings to a new namespace toNamespace to produce a new AccessWidener

fun AccessWidener.remap(remapper: Remapper, toNamespace: String): AccessWidener

Remaps this AccessWidener using a remapper to a new namespace toNamespace to produce a new AccessWidener

fun AbstractInsnNode.remap(remapper: Remapper, lambdaAware: Boolean = true)

Utility that can apply a Remapper to an AbstractInsnNode, remapping it in place. If lambdaAware is true, the remapping will behave like a LambdaAwareRemapper

fun ClassNode.remap(remapper: Remapper, lambdaAware: Boolean = true)

Utility that can apply a Remapper to a ClassNode, remapping it in place. If lambdaAware is true, the remapping will behave like a LambdaAwareRemapper

fun FieldNode.remap(ownerName: String, remapper: Remapper)

Utility that can apply a Remapper to a FieldNode inside of an owner represented by ownerName, remapping it in place

fun MethodNode.remap(ownerName: String, remapper: Remapper, lambdaAware: Boolean = true)

Utility that can apply a Remapper to a MethodNode inside of an owner represented by ownerName, remapping it in place. If lambdaAware is true, the remapping will behave like a LambdaAwareRemapper

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
fun remapJar(mappings: Mappings, input: File, output: File, from: String = "official", to: String = "named", loader: ClasspathLoader = { null }, visitor: (parent: ClassVisitor) -> ClassVisitor? = null)

Remaps a .jar file input to an output file, using mappings, between namespaces from and to. If inheritance info from external sources matters, you should pass a classpath loader. If additional class processing is required, an additional visitor can be passed.

fun remapJar(mappings: Mappings, input: File, output: File, from: String = "official", to: String = "named", files: List<File>, visitor: (parent: ClassVisitor) -> ClassVisitor = { it })

This function provides a shorthand for remapJar when using physical files representing a classpath, and also takes cares of delegating to the system loader if necessary.

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
fun ClasspathLoader.remapping(remapper: Remapper): ClasspathLoader

Composes this to create a new classpath loader, that maps bytes given by this using a remapper

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+

Composes this to create a new classpath loader, that maps names before passing them to this between namespaces from and to using given mappings. It also alters the returned class file's class name references to match the to namespace. Method and field names remain untouched.

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+

Returns new Mappings that are identical to these Mappings, except the comments will be removed

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
fun Mappings.removeRedundancy(inheritanceProvider: InheritanceProvider, removeDuplicateMethods: Boolean = false): Mappings

Removes redundant or straight up incorrect data from this Mappings object, by looking at the inheritance information present in class files, presented by the inheritanceProvider.

fun Mappings.removeRedundancy(file: JarFile, removeDuplicateMethods: Boolean = false): Mappings

See removeRedundancy. file is a jar file resource (caller is responsible for closing it) that contains the classes that are referenced in the generic overload. Calls with identical names are being cached by this function, the caller is not responsible for this.

fun Mappings.removeRedundancy(removeDuplicateMethods: Boolean = false, loader: ClasspathLoader): Mappings

Removes redundant or straight up incorrect data from this Mappings object, by looking at the inheritance information present in class files, presented by the loader.

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+

Swaps out the names for the namespaces in this Mappings data structure.

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+

Swaps out the names for the namespaces in this Mappings data structure, by reordering. Duplicate names are allowed, in which case mapped entries are duplicated to fit the new order. If a name in Mappings.namespaces does not appear in order, its mapping entries will be missing in the returned Mappings.

Swaps out the names for the namespaces in this Mappings data structure, by reordering. Duplicate names are allowed, in which case mapped entries are duplicated to fit the new order. If a name in Mappings.namespaces does not appear in order, its mapping entries will be missing in the returned Mappings. If a namespace in order does not exist in this Mappings, an IllegalArgumentException will be thrown.

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+

Converts a set of AccessTypes to an AccessMask representing it

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+ +
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+

Writes this AccessWidener structure to a file representing this AccessWidener

Writes CSRGMappings to a mappings file represented by a list of strings

Writes CompactedMappings as its binary representation

Writes EnigmaMappings to a mappings file represented by a list of strings.

Writes ProguardMappings to a mappings file represented by a list of strings

Writes RecafMappings to a mappings file represented by a list of strings

Writes SRGMappings to a mappings file represented by a list of strings

Writes TSRGMappings to a mappings file represented by a list of strings

fun TinyMappings.write(compact: Boolean = isV2): List<String>

Writes TinyMappings to a mappings file represented by a list of strings. If compact is set, a more compact format of tiny mappings will be used, see TinyMappingsWriter.write.

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+

Writes this AccessWidener structure to a lazily generated sequence representing this AccessWidener

Writes CSRGMappings as a lazily evaluated Sequence

Writes EnigmaMappings as a lazily evaluated Sequence.

Writes ProguardMappings as a lazily evaluated Sequence

Writes RecafMappings as a lazily evaluated Sequence

Writes SRGMappings as a lazily evaluated Sequence

Writes TSRGMappings as a lazily evaluated Sequence

Writes TinyMappings as a lazily evaluated Sequence. If compact is set, a more compact format of tiny mappings will be used, see TinyMappingsWriter.write.

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+

Writes some mappings to an OutputStream as an equivalent representation

+
+
+
+
+
+
+
+
+
+ +
+
+
+ + + diff --git a/docs/lib/com.grappenmaker.mappings/is-data.html b/docs/lib/com.grappenmaker.mappings/is-data.html new file mode 100644 index 0000000..370e1ab --- /dev/null +++ b/docs/lib/com.grappenmaker.mappings/is-data.html @@ -0,0 +1,76 @@ + + + + + isData + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

isData

+
+

Returns whether the methods represented by this MappedMethod is a data method, that is, if this method is hashCode, toString, equals or an initializer, like a constructor or init {} block (this means that the jvm names are and , respectively)

+
+ +
+
+
+ + + diff --git a/docs/lib/com.grappenmaker.mappings/is-primitive.html b/docs/lib/com.grappenmaker.mappings/is-primitive.html new file mode 100644 index 0000000..2d8518e --- /dev/null +++ b/docs/lib/com.grappenmaker.mappings/is-primitive.html @@ -0,0 +1,76 @@ + + + + + isPrimitive + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

isPrimitive

+
+

Whether a given Type represents a JVM primitive type

+
+ +
+
+
+ + + diff --git a/docs/lib/com.grappenmaker.mappings/join.html b/docs/lib/com.grappenmaker.mappings/join.html new file mode 100644 index 0000000..364561c --- /dev/null +++ b/docs/lib/com.grappenmaker.mappings/join.html @@ -0,0 +1,76 @@ + + + + + join + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

join

+
+

Converts some sort of collection of AccessMasks to a resultant AccessMask combining them


Combines AccessWideners using the AccessWidener.plus operator, producing a new AccessWidener that, when applied, produces the same result as applying all of the wideners sequentially. If this Iterable would be considered empty (its Iterator.hasNext would return false on the first iteration), IllegalArgumentException is thrown

Throws


Combines this sequence of AccessWideners using the AccessWidener.plus operator, producing a new AccessWidener that, when applied, produces the same result as applying all of the wideners sequentially. If this Sequence would be considered empty, IllegalArgumentException is thrown

Throws


fun Mappings.join(otherMappings: Mappings, intermediateNamespace: String, requireMatch: Boolean = false): Mappings

Joins together this Mappings with otherMappings, by matching on intermediateNamespace, producing new Mappings that contain all entries from this Mappings and otherMappings. If requireMatch is true, this method will throw an exception when no method or field or class is found

Samples

samples.Mappings.join
fun Iterable<Mappings>.join(intermediateNamespace: String, requireMatch: Boolean = false): Mappings

Joins together an Iterable of Mappings, producing new Mappings that contain all entries from all Mappings. Note: all namespaces are kept, in order to be able to reduce the mappings nicely without a lot of overhead. If you want to exclude certain namespaces, use Mappings.filterNamespaces. If this Iterable would be considered empty (its Iterator.hasNext would return false on the first iteration), EmptyMappings is returned.

The order of these namespaces will be confusing due to the way Mappings.join orders namespaces. Use Mappings.reorderNamespaces to ensure the resulting Mappings will be properly namespaced, if required.

See also

Samples

samples.Mappings.joinList
+
+ +
+
+
+ + + diff --git a/docs/lib/com.grappenmaker.mappings/load-access-widener.html b/docs/lib/com.grappenmaker.mappings/load-access-widener.html new file mode 100644 index 0000000..daaa82d --- /dev/null +++ b/docs/lib/com.grappenmaker.mappings/load-access-widener.html @@ -0,0 +1,76 @@ + + + + + loadAccessWidener + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

loadAccessWidener

+
+

Reads a file represented by lines as an AccessWidener


Reads a file represented by lines (an iterator of every line in an access widener file) as an AccessWidener

+
+ +
+
+
+ + + diff --git a/docs/lib/com.grappenmaker.mappings/map-classes.html b/docs/lib/com.grappenmaker.mappings/map-classes.html new file mode 100644 index 0000000..ff2cdd0 --- /dev/null +++ b/docs/lib/com.grappenmaker.mappings/map-classes.html @@ -0,0 +1,76 @@ + + + + + mapClasses + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

mapClasses

+
+

Maps classes according to the given block

+
+ +
+
+
+ + + diff --git a/docs/lib/com.grappenmaker.mappings/map-desc.html b/docs/lib/com.grappenmaker.mappings/map-desc.html new file mode 100644 index 0000000..8324007 --- /dev/null +++ b/docs/lib/com.grappenmaker.mappings/map-desc.html @@ -0,0 +1,76 @@ + + + + + mapDesc + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

mapDesc

+
+
fun mapDesc(desc: String, names: Map<String, String>): String

Remaps a given descriptor desc, using a map of class names

+
+ +
+
+
+ + + diff --git a/docs/lib/com.grappenmaker.mappings/map-method-desc.html b/docs/lib/com.grappenmaker.mappings/map-method-desc.html new file mode 100644 index 0000000..7056ae6 --- /dev/null +++ b/docs/lib/com.grappenmaker.mappings/map-method-desc.html @@ -0,0 +1,76 @@ + + + + + mapMethodDesc + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

mapMethodDesc

+
+
fun mapMethodDesc(desc: String, names: Map<String, String>): String

Remaps a given method descriptor desc, using a map of class names

+
+ +
+
+
+ + + diff --git a/docs/lib/com.grappenmaker.mappings/map-methods.html b/docs/lib/com.grappenmaker.mappings/map-methods.html new file mode 100644 index 0000000..c36c73e --- /dev/null +++ b/docs/lib/com.grappenmaker.mappings/map-methods.html @@ -0,0 +1,76 @@ + + + + + mapMethods + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

mapMethods

+
+
inline fun Mappings.mapMethods(block: (owner: MappedClass, method: MappedMethod) -> MappedMethod): Mappings

Maps methods according to the given block

+
+ +
+
+
+ + + diff --git a/docs/lib/com.grappenmaker.mappings/map.html b/docs/lib/com.grappenmaker.mappings/map.html new file mode 100644 index 0000000..3906dc2 --- /dev/null +++ b/docs/lib/com.grappenmaker.mappings/map.html @@ -0,0 +1,76 @@ + + + + + map + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

map

+
+
fun Type.map(remapper: Remapper): Type

Remaps a given Type using a given remapper


fun Type.map(names: Map<String, String>): Type

Remaps a given Type, using a map of class names

+
+ +
+
+
+ + + diff --git a/docs/lib/com.grappenmaker.mappings/memoized-to.html b/docs/lib/com.grappenmaker.mappings/memoized-to.html new file mode 100644 index 0000000..1580aae --- /dev/null +++ b/docs/lib/com.grappenmaker.mappings/memoized-to.html @@ -0,0 +1,76 @@ + + + + + memoizedTo + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

memoizedTo

+
+

Composes this to a new classpath loader, that caches the results of this inside of a given memo

+
+ +
+
+
+ + + diff --git a/docs/lib/com.grappenmaker.mappings/memoized.html b/docs/lib/com.grappenmaker.mappings/memoized.html new file mode 100644 index 0000000..0986606 --- /dev/null +++ b/docs/lib/com.grappenmaker.mappings/memoized.html @@ -0,0 +1,76 @@ + + + + + memoized + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

memoized

+
+

Composes this to a new classpath loader, that caches the results of this


Wraps this into a new provider that remembers the results of calls

+
+ +
+
+
+ + + diff --git a/docs/lib/com.grappenmaker.mappings/namespace.html b/docs/lib/com.grappenmaker.mappings/namespace.html new file mode 100644 index 0000000..8130d73 --- /dev/null +++ b/docs/lib/com.grappenmaker.mappings/namespace.html @@ -0,0 +1,76 @@ + + + + + namespace + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

namespace

+
+

Returns the index of a namespace named name, but throws an IllegalStateException when name is not in the Mappings.namespaces.

+
+ +
+
+
+ + + diff --git a/docs/lib/com.grappenmaker.mappings/parse.html b/docs/lib/com.grappenmaker.mappings/parse.html new file mode 100644 index 0000000..dadacc8 --- /dev/null +++ b/docs/lib/com.grappenmaker.mappings/parse.html @@ -0,0 +1,76 @@ + + + + + parse + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

parse

+
+

Parses lines (a Sequence of lines in a mappings file) into a mappings data structure. Throws an IllegalStateException when lines is not a valid input for this mappings format.

+
+ +
+
+
+ + + diff --git a/docs/lib/com.grappenmaker.mappings/perform-remap.html b/docs/lib/com.grappenmaker.mappings/perform-remap.html new file mode 100644 index 0000000..7351b0e --- /dev/null +++ b/docs/lib/com.grappenmaker.mappings/perform-remap.html @@ -0,0 +1,76 @@ + + + + + performRemap + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

performRemap

+
+
inline suspend fun performRemap(builder: JarRemapper.() -> Unit)

Performs a remap using JarRemapper.perform. Configuration for it can be provided in the builder

+
+ +
+
+
+ + + diff --git a/docs/lib/com.grappenmaker.mappings/plus.html b/docs/lib/com.grappenmaker.mappings/plus.html new file mode 100644 index 0000000..5a64eba --- /dev/null +++ b/docs/lib/com.grappenmaker.mappings/plus.html @@ -0,0 +1,76 @@ + + + + + plus + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

plus

+
+

Combines this AccessWidener with other, returning a new access widener that, when applied, produces the same result as applying one widener and then the other.

+
+ +
+
+
+ + + diff --git a/docs/lib/com.grappenmaker.mappings/recover-field-descriptors.html b/docs/lib/com.grappenmaker.mappings/recover-field-descriptors.html new file mode 100644 index 0000000..da44221 --- /dev/null +++ b/docs/lib/com.grappenmaker.mappings/recover-field-descriptors.html @@ -0,0 +1,76 @@ + + + + + recoverFieldDescriptors + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

recoverFieldDescriptors

+
+
fun Mappings.recoverFieldDescriptors(bytesProvider: (name: String) -> ByteArray?): Mappings

Attempts to recover field descriptors that are missing because the original mappings format did not specify them. bytesProvider is responsible for providing all of the classes that might be referenced in this Mappings object, such that the descriptors can be recovered based on named (fields can be uniquely identified by an owner-name pair). When field descriptors were not found, field mappings will not be passed onto the new Mappings as field mappings without descriptors will be considered invalid.


@JvmName(name = "recoverDescsByNode")
fun Mappings.recoverFieldDescriptors(nodeProvider: (name: String) -> ClassNode?): Mappings

Attempts to recover field descriptors that are missing because the original mappings format did not specify them. nodeProvider is responsible for providing all of the ClassNodes that might be referenced in this Mappings object, such that the descriptors can be recovered based on named (fields can be uniquely identified by an owner-name pair). When field descriptors were not found, field mappings will not be passed onto the new Mappings as field mappings without descriptors will be considered invalid.


See recoverFieldDescriptors. file is a jar file resource (caller is responsible for closing it) that contains the classes that are referenced in the generic overload.

+
+ +
+
+
+ + + diff --git a/docs/lib/com.grappenmaker.mappings/remap-jar.html b/docs/lib/com.grappenmaker.mappings/remap-jar.html new file mode 100644 index 0000000..c08c014 --- /dev/null +++ b/docs/lib/com.grappenmaker.mappings/remap-jar.html @@ -0,0 +1,76 @@ + + + + + remapJar + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

remapJar

+
+
fun remapJar(mappings: Mappings, input: File, output: File, from: String = "official", to: String = "named", loader: ClasspathLoader = { null }, visitor: (parent: ClassVisitor) -> ClassVisitor? = null)

Remaps a .jar file input to an output file, using mappings, between namespaces from and to. If inheritance info from external sources matters, you should pass a classpath loader. If additional class processing is required, an additional visitor can be passed.


fun remapJar(mappings: Mappings, input: File, output: File, from: String = "official", to: String = "named", files: List<File>, visitor: (parent: ClassVisitor) -> ClassVisitor = { it })

This function provides a shorthand for remapJar when using physical files representing a classpath, and also takes cares of delegating to the system loader if necessary.

+
+ +
+
+
+ + + diff --git a/docs/lib/com.grappenmaker.mappings/remap.html b/docs/lib/com.grappenmaker.mappings/remap.html new file mode 100644 index 0000000..90ac3fc --- /dev/null +++ b/docs/lib/com.grappenmaker.mappings/remap.html @@ -0,0 +1,76 @@ + + + + + remap + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

remap

+
+
fun AccessWidener.remap(mappings: Mappings, toNamespace: String): AccessWidener

Remaps this AccessWidener using mappings to a new namespace toNamespace to produce a new AccessWidener


fun AccessWidener.remap(remapper: Remapper, toNamespace: String): AccessWidener

Remaps this AccessWidener using a remapper to a new namespace toNamespace to produce a new AccessWidener


fun AbstractInsnNode.remap(remapper: Remapper, lambdaAware: Boolean = true)

Utility that can apply a Remapper to an AbstractInsnNode, remapping it in place. If lambdaAware is true, the remapping will behave like a LambdaAwareRemapper


fun MethodNode.remap(ownerName: String, remapper: Remapper, lambdaAware: Boolean = true)

Utility that can apply a Remapper to a MethodNode inside of an owner represented by ownerName, remapping it in place. If lambdaAware is true, the remapping will behave like a LambdaAwareRemapper


fun FieldNode.remap(ownerName: String, remapper: Remapper)

Utility that can apply a Remapper to a FieldNode inside of an owner represented by ownerName, remapping it in place


fun ClassNode.remap(remapper: Remapper, lambdaAware: Boolean = true)

Utility that can apply a Remapper to a ClassNode, remapping it in place. If lambdaAware is true, the remapping will behave like a LambdaAwareRemapper


fun Array<MutableList<out AnnotationNode>?>.remap(remapper: Remapper)

Remaps an array of lists of annotations, which is typically used to represent parameter annotations

See also


fun MutableList<out AnnotationNode>.remap(remapper: Remapper)

Remaps a list of annotations, which is typically used to represent a set of annotations that are applied / present on a parameter, field, method, or class


fun AnnotationNode.remap(remapper: Remapper)

Remaps an AnnotationNode using a given remapper

+
+ +
+
+
+ + + diff --git a/docs/lib/com.grappenmaker.mappings/remapping-names.html b/docs/lib/com.grappenmaker.mappings/remapping-names.html new file mode 100644 index 0000000..34e49eb --- /dev/null +++ b/docs/lib/com.grappenmaker.mappings/remapping-names.html @@ -0,0 +1,76 @@ + + + + + remappingNames + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

remappingNames

+
+

Composes this to create a new classpath loader, that maps names before passing them to this between namespaces from and to using given mappings. It also alters the returned class file's class name references to match the to namespace. Method and field names remain untouched.

+
+ +
+
+
+ + + diff --git a/docs/lib/com.grappenmaker.mappings/remapping.html b/docs/lib/com.grappenmaker.mappings/remapping.html new file mode 100644 index 0000000..b09a6b7 --- /dev/null +++ b/docs/lib/com.grappenmaker.mappings/remapping.html @@ -0,0 +1,76 @@ + + + + + remapping + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

remapping

+
+
fun ClasspathLoader.remapping(remapper: Remapper): ClasspathLoader

Composes this to create a new classpath loader, that maps bytes given by this using a remapper

+
+ +
+
+
+ + + diff --git a/docs/lib/com.grappenmaker.mappings/remove-comments.html b/docs/lib/com.grappenmaker.mappings/remove-comments.html new file mode 100644 index 0000000..6963d5e --- /dev/null +++ b/docs/lib/com.grappenmaker.mappings/remove-comments.html @@ -0,0 +1,76 @@ + + + + + removeComments + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

removeComments

+
+

Returns new Mappings that are identical to these Mappings, except the comments will be removed

+
+ +
+
+
+ + + diff --git a/docs/lib/com.grappenmaker.mappings/remove-redundancy.html b/docs/lib/com.grappenmaker.mappings/remove-redundancy.html new file mode 100644 index 0000000..7c7b62b --- /dev/null +++ b/docs/lib/com.grappenmaker.mappings/remove-redundancy.html @@ -0,0 +1,76 @@ + + + + + removeRedundancy + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

removeRedundancy

+
+
fun Mappings.removeRedundancy(removeDuplicateMethods: Boolean = false, loader: ClasspathLoader): Mappings

Removes redundant or straight up incorrect data from this Mappings object, by looking at the inheritance information present in class files, presented by the loader.

Redundant information is one of the following:

  • Overloads are given a mapping again. Since overloads share the same name, they cannot have different info, therefore this information is duplicate.

  • Abstract methods are populated to interfaces (this can happen when using proguard mappings). This is usually straight up wrong information, when a mapped method entry is not present on the actual class.

  • a method being a data method (MappedMethod.isData)

  • a method whose names are all identical

If removeDuplicateMethods is true (false by default), this function will also look for methods with the same obfuscated/first name and descriptor. This is false by default since this might be expensive, and most of the time, there will not be any duplicates in the first place, since that could be seen as an invalid mappings file. In the case of a duplicate, the last declared one will be kept. The order of mapped methods will be preserved.

Samples

samples.Mappings.redundancy
fun Mappings.removeRedundancy(inheritanceProvider: InheritanceProvider, removeDuplicateMethods: Boolean = false): Mappings

Removes redundant or straight up incorrect data from this Mappings object, by looking at the inheritance information present in class files, presented by the inheritanceProvider.

Redundant information is one of the following:

  • Overloads are given a mapping again. Since overloads share the same name, they cannot have different info, therefore this information is duplicate.

  • Abstract methods are populated to interfaces (this can happen when using proguard mappings). This is usually straight up wrong information, when a mapped method entry is not present on the actual class.

  • a method being a data method (MappedMethod.isData)

  • a method whose names are all identical

If removeDuplicateMethods is true (false by default), this function will also look for methods with the same obfuscated/first name and descriptor. This is false by default since this might be expensive, and most of the time, there will not be any duplicates in the first place, since that could be seen as an invalid mappings file. In the case of a duplicate, the last declared one will be kept. The order of mapped methods will be preserved.

Samples

samples.Mappings.redundancy
fun Mappings.removeRedundancy(file: JarFile, removeDuplicateMethods: Boolean = false): Mappings

See removeRedundancy. file is a jar file resource (caller is responsible for closing it) that contains the classes that are referenced in the generic overload. Calls with identical names are being cached by this function, the caller is not responsible for this.

If removeDuplicateMethods is true (false by default), this function will also look for methods with the same obfuscated/first name and descriptor. This is false by default since this might be expensive, and most of the time, there will not be any duplicates in the first place, since that could be seen as an invalid mappings file. In the case of a duplicate, the last declared one will be kept. The order of mapped methods will be preserved.

Samples

samples.Mappings.redundancy
+
+ +
+
+
+ + + diff --git a/docs/lib/com.grappenmaker.mappings/rename-namespaces.html b/docs/lib/com.grappenmaker.mappings/rename-namespaces.html new file mode 100644 index 0000000..7e27e00 --- /dev/null +++ b/docs/lib/com.grappenmaker.mappings/rename-namespaces.html @@ -0,0 +1,76 @@ + + + + + renameNamespaces + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

renameNamespaces

+
+

Swaps out the names for the namespaces in this Mappings data structure.

Samples

samples.Mappings.rename
+
+ +
+
+
+ + + diff --git a/docs/lib/com.grappenmaker.mappings/reorder-namespaces.html b/docs/lib/com.grappenmaker.mappings/reorder-namespaces.html new file mode 100644 index 0000000..273d89e --- /dev/null +++ b/docs/lib/com.grappenmaker.mappings/reorder-namespaces.html @@ -0,0 +1,76 @@ + + + + + reorderNamespaces + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

reorderNamespaces

+
+

Swaps out the names for the namespaces in this Mappings data structure, by reordering. Duplicate names are allowed, in which case mapped entries are duplicated to fit the new order. If a name in Mappings.namespaces does not appear in order, its mapping entries will be missing in the returned Mappings.

Samples

samples.Mappings.reorder

Swaps out the names for the namespaces in this Mappings data structure, by reordering. Duplicate names are allowed, in which case mapped entries are duplicated to fit the new order. If a name in Mappings.namespaces does not appear in order, its mapping entries will be missing in the returned Mappings. If a namespace in order does not exist in this Mappings, an IllegalArgumentException will be thrown.

Samples

samples.Mappings.reorder
+
+ +
+
+
+ + + diff --git a/docs/lib/com.grappenmaker.mappings/to-mask.html b/docs/lib/com.grappenmaker.mappings/to-mask.html new file mode 100644 index 0000000..e2ce8e0 --- /dev/null +++ b/docs/lib/com.grappenmaker.mappings/to-mask.html @@ -0,0 +1,76 @@ + + + + + toMask + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

toMask

+
+

Converts a set of AccessTypes to an AccessMask representing it

+
+ +
+
+
+ + + diff --git a/docs/lib/com.grappenmaker.mappings/to-tree.html b/docs/lib/com.grappenmaker.mappings/to-tree.html new file mode 100644 index 0000000..e8a0847 --- /dev/null +++ b/docs/lib/com.grappenmaker.mappings/to-tree.html @@ -0,0 +1,76 @@ + + + + + toTree + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

toTree

+
+ +
+ +
+
+
+ + + diff --git a/docs/lib/com.grappenmaker.mappings/write-lazy.html b/docs/lib/com.grappenmaker.mappings/write-lazy.html new file mode 100644 index 0000000..e085219 --- /dev/null +++ b/docs/lib/com.grappenmaker.mappings/write-lazy.html @@ -0,0 +1,76 @@ + + + + + writeLazy + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

writeLazy

+
+

Writes this AccessWidener structure to a lazily generated sequence representing this AccessWidener


Writes CSRGMappings as a lazily evaluated Sequence


Writes EnigmaMappings as a lazily evaluated Sequence.


Writes ProguardMappings as a lazily evaluated Sequence


Writes RecafMappings as a lazily evaluated Sequence


Writes SRGMappings as a lazily evaluated Sequence


Writes TSRGMappings as a lazily evaluated Sequence


Writes TinyMappings as a lazily evaluated Sequence. If compact is set, a more compact format of tiny mappings will be used, see TinyMappingsWriter.write.

+
+ +
+
+
+ + + diff --git a/docs/lib/com.grappenmaker.mappings/write-to.html b/docs/lib/com.grappenmaker.mappings/write-to.html new file mode 100644 index 0000000..682a715 --- /dev/null +++ b/docs/lib/com.grappenmaker.mappings/write-to.html @@ -0,0 +1,76 @@ + + + + + writeTo + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

writeTo

+
+

Writes some mappings to an OutputStream as an equivalent representation

+
+ +
+
+
+ + + diff --git a/docs/lib/com.grappenmaker.mappings/write.html b/docs/lib/com.grappenmaker.mappings/write.html new file mode 100644 index 0000000..4c2ef07 --- /dev/null +++ b/docs/lib/com.grappenmaker.mappings/write.html @@ -0,0 +1,76 @@ + + + + + write + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

write

+
+

Writes this AccessWidener structure to a file representing this AccessWidener


Writes CSRGMappings to a mappings file represented by a list of strings


Writes CompactedMappings as its binary representation


Writes EnigmaMappings to a mappings file represented by a list of strings.


Writes ProguardMappings to a mappings file represented by a list of strings


Writes RecafMappings to a mappings file represented by a list of strings


Writes SRGMappings to a mappings file represented by a list of strings


Writes TSRGMappings to a mappings file represented by a list of strings


fun TinyMappings.write(compact: Boolean = isV2): List<String>

Writes TinyMappings to a mappings file represented by a list of strings. If compact is set, a more compact format of tiny mappings will be used, see TinyMappingsWriter.write.

+
+ +
+
+
+ + + diff --git a/docs/lib/index.html b/docs/lib/index.html new file mode 100644 index 0000000..bae4aa7 --- /dev/null +++ b/docs/lib/index.html @@ -0,0 +1,95 @@ + + + + + lib + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

lib

+
+

Packages

+
+
+
+
+
+ + +
Link copied to clipboard
+
+
+
+ +
+
+
+
+
+
+
+
+ +
+
+
+ + + diff --git a/docs/lib/navigation.html b/docs/lib/navigation.html new file mode 100644 index 0000000..d6e896f --- /dev/null +++ b/docs/lib/navigation.html @@ -0,0 +1,562 @@ +
+
+
+ lib +
+
+ +
+ +
+
+ +
+
+ +
+
+ Companion +
+
+
+
+ +
+
+ Companion +
+
+
+ +
+
+ +
+
+
+ MUTABLE +
+
+
+
+ +
+ + +
+ +
+
+ +
+ + + + + + + + +
+ +
+ + +
+ +
+ +
+
+ Commented +
+
+ + +
+ +
+ + +
+ +
+
+ +
+ + + +
+ +
+
+ +
+ +
+ +
+ + +
+
+ isData() +
+
+
+ +
+
+ +
+
+ +
+
+ +
+
+ +
+ +
+
+ join() +
+
+ + + + + +
+
+ map() +
+
+
+ +
+
+
+ mapDesc() +
+
+
+ +
+
+ +
+
+
+ Mapped +
+
+
+ +
+
+ +
+
+ +
+
+ +
+
+ +
+
+
+ Mappings +
+
+
+ +
+ +
+
+
+ +
+ + +
+ +
+ +
+ +
+
+ +
+
+
+ parse() +
+
+
+ +
+
+
+ plus() +
+
+ + +
+ +
+ + +
+
+ remap() +
+
+
+ +
+
+ +
+ + + + + +
+ +
+ +
+ +
+ + +
+ +
+
+ Context +
+
+
+
+
+ toMask() +
+
+
+
+ toTree() +
+
+
+ +
+ + +
+
+ write() +
+
+
+ +
+
+
+ writeTo() +
+
+ +
+
+
diff --git a/docs/lib/package-list b/docs/lib/package-list new file mode 100644 index 0000000..3d1f2e0 --- /dev/null +++ b/docs/lib/package-list @@ -0,0 +1,343 @@ +$dokka.format:html-v1 +$dokka.linkExtension:html +$dokka.location:com.grappenmaker.mappings////PointingToDeclaration/lib/com.grappenmaker.mappings/index.html +$dokka.location:com.grappenmaker.mappings//INHERITABLE_MASK/#/PointingToDeclaration/lib/com.grappenmaker.mappings/-i-n-h-e-r-i-t-a-b-l-e_-m-a-s-k.html +$dokka.location:com.grappenmaker.mappings//applyWidener/org.objectweb.asm.tree.ClassNode#com.grappenmaker.mappings.AccessWidenerTree/PointingToDeclaration/lib/com.grappenmaker.mappings/apply-widener.html +$dokka.location:com.grappenmaker.mappings//asASMMapping/com.grappenmaker.mappings.Mappings#kotlin.String#kotlin.String#kotlin.Boolean#kotlin.Boolean/PointingToDeclaration/lib/com.grappenmaker.mappings/as-a-s-m-mapping.html +$dokka.location:com.grappenmaker.mappings//asCSRGMappings/com.grappenmaker.mappings.Mappings#/PointingToDeclaration/lib/com.grappenmaker.mappings/as-c-s-r-g-mappings.html +$dokka.location:com.grappenmaker.mappings//asCompactedMappings/com.grappenmaker.mappings.Mappings#kotlin.Int/PointingToDeclaration/lib/com.grappenmaker.mappings/as-compacted-mappings.html +$dokka.location:com.grappenmaker.mappings//asEnigmaMappings/com.grappenmaker.mappings.Mappings#/PointingToDeclaration/lib/com.grappenmaker.mappings/as-enigma-mappings.html +$dokka.location:com.grappenmaker.mappings//asGenericMappings/com.grappenmaker.mappings.Mappings#/PointingToDeclaration/lib/com.grappenmaker.mappings/as-generic-mappings.html +$dokka.location:com.grappenmaker.mappings//asInheritanceProvider/kotlin.Function1[kotlin.String,kotlin.ByteArray?]#/PointingToDeclaration/lib/com.grappenmaker.mappings/as-inheritance-provider.html +$dokka.location:com.grappenmaker.mappings//asProguardMappings/com.grappenmaker.mappings.Mappings#/PointingToDeclaration/lib/com.grappenmaker.mappings/as-proguard-mappings.html +$dokka.location:com.grappenmaker.mappings//asRecafMappings/com.grappenmaker.mappings.Mappings#/PointingToDeclaration/lib/com.grappenmaker.mappings/as-recaf-mappings.html +$dokka.location:com.grappenmaker.mappings//asSRGMappings/com.grappenmaker.mappings.Mappings#kotlin.Boolean/PointingToDeclaration/lib/com.grappenmaker.mappings/as-s-r-g-mappings.html +$dokka.location:com.grappenmaker.mappings//asSimpleRemapper/com.grappenmaker.mappings.Mappings#kotlin.String#kotlin.String/PointingToDeclaration/lib/com.grappenmaker.mappings/as-simple-remapper.html +$dokka.location:com.grappenmaker.mappings//asSimpleRemapper/com.grappenmaker.mappings.SRGMappings#/PointingToDeclaration/lib/com.grappenmaker.mappings/as-simple-remapper.html +$dokka.location:com.grappenmaker.mappings//asTSRGMappings/com.grappenmaker.mappings.Mappings#kotlin.Boolean/PointingToDeclaration/lib/com.grappenmaker.mappings/as-t-s-r-g-mappings.html +$dokka.location:com.grappenmaker.mappings//asTinyMappings/com.grappenmaker.mappings.Mappings#kotlin.Boolean/PointingToDeclaration/lib/com.grappenmaker.mappings/as-tiny-mappings.html +$dokka.location:com.grappenmaker.mappings//deduplicateNamespaces/com.grappenmaker.mappings.Mappings#/PointingToDeclaration/lib/com.grappenmaker.mappings/deduplicate-namespaces.html +$dokka.location:com.grappenmaker.mappings//extractNamespaces/com.grappenmaker.mappings.Mappings#kotlin.String#kotlin.String/PointingToDeclaration/lib/com.grappenmaker.mappings/extract-namespaces.html +$dokka.location:com.grappenmaker.mappings//filterClasses/com.grappenmaker.mappings.Mappings#kotlin.Function1[com.grappenmaker.mappings.MappedClass,kotlin.Boolean]/PointingToDeclaration/lib/com.grappenmaker.mappings/filter-classes.html +$dokka.location:com.grappenmaker.mappings//filterMethods/com.grappenmaker.mappings.MappedClass#kotlin.Function1[com.grappenmaker.mappings.MappedMethod,kotlin.Boolean]/PointingToDeclaration/lib/com.grappenmaker.mappings/filter-methods.html +$dokka.location:com.grappenmaker.mappings//filterMethods/com.grappenmaker.mappings.Mappings#kotlin.Function2[com.grappenmaker.mappings.MappedClass,com.grappenmaker.mappings.MappedMethod,kotlin.Boolean]/PointingToDeclaration/lib/com.grappenmaker.mappings/filter-methods.html +$dokka.location:com.grappenmaker.mappings//filterNamespaces/com.grappenmaker.mappings.Mappings#kotlin.Array[kotlin.String]#kotlin.Boolean/PointingToDeclaration/lib/com.grappenmaker.mappings/filter-namespaces.html +$dokka.location:com.grappenmaker.mappings//filterNamespaces/com.grappenmaker.mappings.Mappings#kotlin.Boolean#kotlin.Function1[kotlin.String,kotlin.Boolean]/PointingToDeclaration/lib/com.grappenmaker.mappings/filter-namespaces.html +$dokka.location:com.grappenmaker.mappings//filterNamespaces/com.grappenmaker.mappings.Mappings#kotlin.collections.Set[kotlin.String]#kotlin.Boolean/PointingToDeclaration/lib/com.grappenmaker.mappings/filter-namespaces.html +$dokka.location:com.grappenmaker.mappings//isData/com.grappenmaker.mappings.MappedMethod#/PointingToDeclaration/lib/com.grappenmaker.mappings/is-data.html +$dokka.location:com.grappenmaker.mappings//isPrimitive/org.objectweb.asm.Type#/PointingToDeclaration/lib/com.grappenmaker.mappings/is-primitive.html +$dokka.location:com.grappenmaker.mappings//join/com.grappenmaker.mappings.Mappings#com.grappenmaker.mappings.Mappings#kotlin.String#kotlin.Boolean/PointingToDeclaration/lib/com.grappenmaker.mappings/join.html +$dokka.location:com.grappenmaker.mappings//join/kotlin.collections.Iterable[com.grappenmaker.mappings.AccessMask]#/PointingToDeclaration/lib/com.grappenmaker.mappings/join.html +$dokka.location:com.grappenmaker.mappings//join/kotlin.collections.Iterable[com.grappenmaker.mappings.AccessWidener]#/PointingToDeclaration/lib/com.grappenmaker.mappings/join.html +$dokka.location:com.grappenmaker.mappings//join/kotlin.collections.Iterable[com.grappenmaker.mappings.Mappings]#kotlin.String#kotlin.Boolean/PointingToDeclaration/lib/com.grappenmaker.mappings/join.html +$dokka.location:com.grappenmaker.mappings//join/kotlin.sequences.Sequence[com.grappenmaker.mappings.AccessWidener]#/PointingToDeclaration/lib/com.grappenmaker.mappings/join.html +$dokka.location:com.grappenmaker.mappings//loadAccessWidener/#kotlin.collections.Iterator[kotlin.String]/PointingToDeclaration/lib/com.grappenmaker.mappings/load-access-widener.html +$dokka.location:com.grappenmaker.mappings//loadAccessWidener/#kotlin.collections.List[kotlin.String]/PointingToDeclaration/lib/com.grappenmaker.mappings/load-access-widener.html +$dokka.location:com.grappenmaker.mappings//map/org.objectweb.asm.Type#kotlin.collections.Map[kotlin.String,kotlin.String]/PointingToDeclaration/lib/com.grappenmaker.mappings/map.html +$dokka.location:com.grappenmaker.mappings//map/org.objectweb.asm.Type#org.objectweb.asm.commons.Remapper/PointingToDeclaration/lib/com.grappenmaker.mappings/map.html +$dokka.location:com.grappenmaker.mappings//mapClasses/com.grappenmaker.mappings.Mappings#kotlin.Function1[com.grappenmaker.mappings.MappedClass,com.grappenmaker.mappings.MappedClass]/PointingToDeclaration/lib/com.grappenmaker.mappings/map-classes.html +$dokka.location:com.grappenmaker.mappings//mapDesc/#kotlin.String#kotlin.collections.Map[kotlin.String,kotlin.String]/PointingToDeclaration/lib/com.grappenmaker.mappings/map-desc.html +$dokka.location:com.grappenmaker.mappings//mapMethodDesc/#kotlin.String#kotlin.collections.Map[kotlin.String,kotlin.String]/PointingToDeclaration/lib/com.grappenmaker.mappings/map-method-desc.html +$dokka.location:com.grappenmaker.mappings//mapMethods/com.grappenmaker.mappings.MappedClass#kotlin.Function1[com.grappenmaker.mappings.MappedMethod,com.grappenmaker.mappings.MappedMethod]/PointingToDeclaration/lib/com.grappenmaker.mappings/map-methods.html +$dokka.location:com.grappenmaker.mappings//mapMethods/com.grappenmaker.mappings.Mappings#kotlin.Function2[com.grappenmaker.mappings.MappedClass,com.grappenmaker.mappings.MappedMethod,com.grappenmaker.mappings.MappedMethod]/PointingToDeclaration/lib/com.grappenmaker.mappings/map-methods.html +$dokka.location:com.grappenmaker.mappings//memoized/com.grappenmaker.mappings.InheritanceProvider#/PointingToDeclaration/lib/com.grappenmaker.mappings/memoized.html +$dokka.location:com.grappenmaker.mappings//memoized/kotlin.Function1[kotlin.String,kotlin.ByteArray?]#/PointingToDeclaration/lib/com.grappenmaker.mappings/memoized.html +$dokka.location:com.grappenmaker.mappings//memoizedTo/kotlin.Function1[kotlin.String,kotlin.ByteArray?]#kotlin.collections.MutableMap[kotlin.String,kotlin.ByteArray?]/PointingToDeclaration/lib/com.grappenmaker.mappings/memoized-to.html +$dokka.location:com.grappenmaker.mappings//namespace/com.grappenmaker.mappings.Mappings#kotlin.String/PointingToDeclaration/lib/com.grappenmaker.mappings/namespace.html +$dokka.location:com.grappenmaker.mappings//parse/com.grappenmaker.mappings.MappingsFormat[TypeParam(bounds=[com.grappenmaker.mappings.Mappings])]#kotlin.sequences.Sequence[kotlin.String]/PointingToDeclaration/lib/com.grappenmaker.mappings/parse.html +$dokka.location:com.grappenmaker.mappings//performRemap/#kotlin.Function1[com.grappenmaker.mappings.JarRemapper,kotlin.Unit]/PointingToDeclaration/lib/com.grappenmaker.mappings/perform-remap.html +$dokka.location:com.grappenmaker.mappings//plus/com.grappenmaker.mappings.AccessWidener#com.grappenmaker.mappings.AccessWidener/PointingToDeclaration/lib/com.grappenmaker.mappings/plus.html +$dokka.location:com.grappenmaker.mappings//recoverFieldDescriptors/com.grappenmaker.mappings.Mappings#java.util.jar.JarFile/PointingToDeclaration/lib/com.grappenmaker.mappings/recover-field-descriptors.html +$dokka.location:com.grappenmaker.mappings//recoverFieldDescriptors/com.grappenmaker.mappings.Mappings#kotlin.Function1[kotlin.String,kotlin.ByteArray?]/PointingToDeclaration/lib/com.grappenmaker.mappings/recover-field-descriptors.html +$dokka.location:com.grappenmaker.mappings//recoverFieldDescriptors/com.grappenmaker.mappings.Mappings#kotlin.Function1[kotlin.String,org.objectweb.asm.tree.ClassNode?]/PointingToDeclaration/lib/com.grappenmaker.mappings/recover-field-descriptors.html +$dokka.location:com.grappenmaker.mappings//remap/com.grappenmaker.mappings.AccessWidener#com.grappenmaker.mappings.Mappings#kotlin.String/PointingToDeclaration/lib/com.grappenmaker.mappings/remap.html +$dokka.location:com.grappenmaker.mappings//remap/com.grappenmaker.mappings.AccessWidener#org.objectweb.asm.commons.Remapper#kotlin.String/PointingToDeclaration/lib/com.grappenmaker.mappings/remap.html +$dokka.location:com.grappenmaker.mappings//remap/kotlin.Array[kotlin.collections.MutableList[org.objectweb.asm.tree.AnnotationNode]?]#org.objectweb.asm.commons.Remapper/PointingToDeclaration/lib/com.grappenmaker.mappings/remap.html +$dokka.location:com.grappenmaker.mappings//remap/kotlin.collections.MutableList[org.objectweb.asm.tree.AnnotationNode]#org.objectweb.asm.commons.Remapper/PointingToDeclaration/lib/com.grappenmaker.mappings/remap.html +$dokka.location:com.grappenmaker.mappings//remap/org.objectweb.asm.tree.AbstractInsnNode#org.objectweb.asm.commons.Remapper#kotlin.Boolean/PointingToDeclaration/lib/com.grappenmaker.mappings/remap.html +$dokka.location:com.grappenmaker.mappings//remap/org.objectweb.asm.tree.AnnotationNode#org.objectweb.asm.commons.Remapper/PointingToDeclaration/lib/com.grappenmaker.mappings/remap.html +$dokka.location:com.grappenmaker.mappings//remap/org.objectweb.asm.tree.ClassNode#org.objectweb.asm.commons.Remapper#kotlin.Boolean/PointingToDeclaration/lib/com.grappenmaker.mappings/remap.html +$dokka.location:com.grappenmaker.mappings//remap/org.objectweb.asm.tree.FieldNode#kotlin.String#org.objectweb.asm.commons.Remapper/PointingToDeclaration/lib/com.grappenmaker.mappings/remap.html +$dokka.location:com.grappenmaker.mappings//remap/org.objectweb.asm.tree.MethodNode#kotlin.String#org.objectweb.asm.commons.Remapper#kotlin.Boolean/PointingToDeclaration/lib/com.grappenmaker.mappings/remap.html +$dokka.location:com.grappenmaker.mappings//remapJar/#com.grappenmaker.mappings.Mappings#java.io.File#java.io.File#kotlin.String#kotlin.String#kotlin.Function1[kotlin.String,kotlin.ByteArray?]#kotlin.Function1[org.objectweb.asm.ClassVisitor,org.objectweb.asm.ClassVisitor]?/PointingToDeclaration/lib/com.grappenmaker.mappings/remap-jar.html +$dokka.location:com.grappenmaker.mappings//remapJar/#com.grappenmaker.mappings.Mappings#java.io.File#java.io.File#kotlin.String#kotlin.String#kotlin.collections.List[java.io.File]#kotlin.Function1[org.objectweb.asm.ClassVisitor,org.objectweb.asm.ClassVisitor]/PointingToDeclaration/lib/com.grappenmaker.mappings/remap-jar.html +$dokka.location:com.grappenmaker.mappings//remapping/kotlin.Function1[kotlin.String,kotlin.ByteArray?]#org.objectweb.asm.commons.Remapper/PointingToDeclaration/lib/com.grappenmaker.mappings/remapping.html +$dokka.location:com.grappenmaker.mappings//remappingNames/kotlin.Function1[kotlin.String,kotlin.ByteArray?]#com.grappenmaker.mappings.Mappings#kotlin.String#kotlin.String/PointingToDeclaration/lib/com.grappenmaker.mappings/remapping-names.html +$dokka.location:com.grappenmaker.mappings//removeComments/com.grappenmaker.mappings.Mappings#/PointingToDeclaration/lib/com.grappenmaker.mappings/remove-comments.html +$dokka.location:com.grappenmaker.mappings//removeRedundancy/com.grappenmaker.mappings.Mappings#com.grappenmaker.mappings.InheritanceProvider#kotlin.Boolean/PointingToDeclaration/lib/com.grappenmaker.mappings/remove-redundancy.html +$dokka.location:com.grappenmaker.mappings//removeRedundancy/com.grappenmaker.mappings.Mappings#java.util.jar.JarFile#kotlin.Boolean/PointingToDeclaration/lib/com.grappenmaker.mappings/remove-redundancy.html +$dokka.location:com.grappenmaker.mappings//removeRedundancy/com.grappenmaker.mappings.Mappings#kotlin.Boolean#kotlin.Function1[kotlin.String,kotlin.ByteArray?]/PointingToDeclaration/lib/com.grappenmaker.mappings/remove-redundancy.html +$dokka.location:com.grappenmaker.mappings//renameNamespaces/com.grappenmaker.mappings.Mappings#kotlin.Array[kotlin.String]/PointingToDeclaration/lib/com.grappenmaker.mappings/rename-namespaces.html +$dokka.location:com.grappenmaker.mappings//renameNamespaces/com.grappenmaker.mappings.Mappings#kotlin.collections.List[kotlin.String]/PointingToDeclaration/lib/com.grappenmaker.mappings/rename-namespaces.html +$dokka.location:com.grappenmaker.mappings//reorderNamespaces/com.grappenmaker.mappings.Mappings#kotlin.Array[kotlin.String]/PointingToDeclaration/lib/com.grappenmaker.mappings/reorder-namespaces.html +$dokka.location:com.grappenmaker.mappings//reorderNamespaces/com.grappenmaker.mappings.Mappings#kotlin.collections.List[kotlin.String]/PointingToDeclaration/lib/com.grappenmaker.mappings/reorder-namespaces.html +$dokka.location:com.grappenmaker.mappings//toMask/kotlin.collections.Set[com.grappenmaker.mappings.AccessType]#/PointingToDeclaration/lib/com.grappenmaker.mappings/to-mask.html +$dokka.location:com.grappenmaker.mappings//toTree/com.grappenmaker.mappings.AccessWidener#/PointingToDeclaration/lib/com.grappenmaker.mappings/to-tree.html +$dokka.location:com.grappenmaker.mappings//write/com.grappenmaker.mappings.AccessWidener#/PointingToDeclaration/lib/com.grappenmaker.mappings/write.html +$dokka.location:com.grappenmaker.mappings//write/com.grappenmaker.mappings.CSRGMappings#/PointingToDeclaration/lib/com.grappenmaker.mappings/write.html +$dokka.location:com.grappenmaker.mappings//write/com.grappenmaker.mappings.CompactedMappings#/PointingToDeclaration/lib/com.grappenmaker.mappings/write.html +$dokka.location:com.grappenmaker.mappings//write/com.grappenmaker.mappings.EnigmaMappings#/PointingToDeclaration/lib/com.grappenmaker.mappings/write.html +$dokka.location:com.grappenmaker.mappings//write/com.grappenmaker.mappings.ProguardMappings#/PointingToDeclaration/lib/com.grappenmaker.mappings/write.html +$dokka.location:com.grappenmaker.mappings//write/com.grappenmaker.mappings.RecafMappings#/PointingToDeclaration/lib/com.grappenmaker.mappings/write.html +$dokka.location:com.grappenmaker.mappings//write/com.grappenmaker.mappings.SRGMappings#/PointingToDeclaration/lib/com.grappenmaker.mappings/write.html +$dokka.location:com.grappenmaker.mappings//write/com.grappenmaker.mappings.TSRGMappings#/PointingToDeclaration/lib/com.grappenmaker.mappings/write.html +$dokka.location:com.grappenmaker.mappings//write/com.grappenmaker.mappings.TinyMappings#kotlin.Boolean/PointingToDeclaration/lib/com.grappenmaker.mappings/write.html +$dokka.location:com.grappenmaker.mappings//writeLazy/com.grappenmaker.mappings.AccessWidener#/PointingToDeclaration/lib/com.grappenmaker.mappings/write-lazy.html +$dokka.location:com.grappenmaker.mappings//writeLazy/com.grappenmaker.mappings.CSRGMappings#/PointingToDeclaration/lib/com.grappenmaker.mappings/write-lazy.html +$dokka.location:com.grappenmaker.mappings//writeLazy/com.grappenmaker.mappings.EnigmaMappings#/PointingToDeclaration/lib/com.grappenmaker.mappings/write-lazy.html +$dokka.location:com.grappenmaker.mappings//writeLazy/com.grappenmaker.mappings.ProguardMappings#/PointingToDeclaration/lib/com.grappenmaker.mappings/write-lazy.html +$dokka.location:com.grappenmaker.mappings//writeLazy/com.grappenmaker.mappings.RecafMappings#/PointingToDeclaration/lib/com.grappenmaker.mappings/write-lazy.html +$dokka.location:com.grappenmaker.mappings//writeLazy/com.grappenmaker.mappings.SRGMappings#/PointingToDeclaration/lib/com.grappenmaker.mappings/write-lazy.html +$dokka.location:com.grappenmaker.mappings//writeLazy/com.grappenmaker.mappings.TSRGMappings#/PointingToDeclaration/lib/com.grappenmaker.mappings/write-lazy.html +$dokka.location:com.grappenmaker.mappings//writeLazy/com.grappenmaker.mappings.TinyMappings#kotlin.Boolean/PointingToDeclaration/lib/com.grappenmaker.mappings/write-lazy.html +$dokka.location:com.grappenmaker.mappings//writeTo/com.grappenmaker.mappings.CompactedMappings#java.io.OutputStream/PointingToDeclaration/lib/com.grappenmaker.mappings/write-to.html +$dokka.location:com.grappenmaker.mappings/AccessMask.Companion///PointingToDeclaration/lib/com.grappenmaker.mappings/-access-mask/-companion/index.html +$dokka.location:com.grappenmaker.mappings/AccessMask.Companion/EMPTY/#/PointingToDeclaration/lib/com.grappenmaker.mappings/-access-mask/-companion/-e-m-p-t-y.html +$dokka.location:com.grappenmaker.mappings/AccessMask///PointingToDeclaration/lib/com.grappenmaker.mappings/-access-mask/index.html +$dokka.location:com.grappenmaker.mappings/AccessMask/AccessMask/#kotlin.Int/PointingToDeclaration/lib/com.grappenmaker.mappings/-access-mask/-access-mask.html +$dokka.location:com.grappenmaker.mappings/AccessMask/contains/#com.grappenmaker.mappings.AccessType/PointingToDeclaration/lib/com.grappenmaker.mappings/-access-mask/contains.html +$dokka.location:com.grappenmaker.mappings/AccessMask/iterator/#/PointingToDeclaration/lib/com.grappenmaker.mappings/-access-mask/iterator.html +$dokka.location:com.grappenmaker.mappings/AccessMask/minus/#com.grappenmaker.mappings.AccessMask?/PointingToDeclaration/lib/com.grappenmaker.mappings/-access-mask/minus.html +$dokka.location:com.grappenmaker.mappings/AccessMask/minus/#com.grappenmaker.mappings.AccessType?/PointingToDeclaration/lib/com.grappenmaker.mappings/-access-mask/minus.html +$dokka.location:com.grappenmaker.mappings/AccessMask/plus/#com.grappenmaker.mappings.AccessMask?/PointingToDeclaration/lib/com.grappenmaker.mappings/-access-mask/plus.html +$dokka.location:com.grappenmaker.mappings/AccessMask/plus/#com.grappenmaker.mappings.AccessType?/PointingToDeclaration/lib/com.grappenmaker.mappings/-access-mask/plus.html +$dokka.location:com.grappenmaker.mappings/AccessMask/value/#/PointingToDeclaration/lib/com.grappenmaker.mappings/-access-mask/value.html +$dokka.location:com.grappenmaker.mappings/AccessType.ACCESSIBLE///PointingToDeclaration/{"org.jetbrains.dokka.links.EnumEntryDRIExtra":{"key":"org.jetbrains.dokka.links.EnumEntryDRIExtra"}}lib/com.grappenmaker.mappings/-access-type/-a-c-c-e-s-s-i-b-l-e/index.html +$dokka.location:com.grappenmaker.mappings/AccessType.Companion///PointingToDeclaration/lib/com.grappenmaker.mappings/-access-type/-companion/index.html +$dokka.location:com.grappenmaker.mappings/AccessType.Companion/getOrNull/#kotlin.String/PointingToDeclaration/lib/com.grappenmaker.mappings/-access-type/-companion/get-or-null.html +$dokka.location:com.grappenmaker.mappings/AccessType.Companion/invoke/#kotlin.String/PointingToDeclaration/lib/com.grappenmaker.mappings/-access-type/-companion/invoke.html +$dokka.location:com.grappenmaker.mappings/AccessType.EXTENDABLE///PointingToDeclaration/{"org.jetbrains.dokka.links.EnumEntryDRIExtra":{"key":"org.jetbrains.dokka.links.EnumEntryDRIExtra"}}lib/com.grappenmaker.mappings/-access-type/-e-x-t-e-n-d-a-b-l-e/index.html +$dokka.location:com.grappenmaker.mappings/AccessType.MUTABLE///PointingToDeclaration/{"org.jetbrains.dokka.links.EnumEntryDRIExtra":{"key":"org.jetbrains.dokka.links.EnumEntryDRIExtra"}}lib/com.grappenmaker.mappings/-access-type/-m-u-t-a-b-l-e/index.html +$dokka.location:com.grappenmaker.mappings/AccessType///PointingToDeclaration/lib/com.grappenmaker.mappings/-access-type/index.html +$dokka.location:com.grappenmaker.mappings/AccessType/entries/#/PointingToDeclaration/lib/com.grappenmaker.mappings/-access-type/entries.html +$dokka.location:com.grappenmaker.mappings/AccessType/mask/#/PointingToDeclaration/lib/com.grappenmaker.mappings/-access-type/mask.html +$dokka.location:com.grappenmaker.mappings/AccessType/toMask/#/PointingToDeclaration/lib/com.grappenmaker.mappings/-access-type/to-mask.html +$dokka.location:com.grappenmaker.mappings/AccessType/valueOf/#kotlin.String/PointingToDeclaration/lib/com.grappenmaker.mappings/-access-type/value-of.html +$dokka.location:com.grappenmaker.mappings/AccessType/values/#/PointingToDeclaration/lib/com.grappenmaker.mappings/-access-type/values.html +$dokka.location:com.grappenmaker.mappings/AccessWidener///PointingToDeclaration/lib/com.grappenmaker.mappings/-access-widener/index.html +$dokka.location:com.grappenmaker.mappings/AccessWidener/AccessWidener/#kotlin.Int#kotlin.String#kotlin.collections.Map[kotlin.String,com.grappenmaker.mappings.AccessMask]#kotlin.collections.Map[com.grappenmaker.mappings.AccessedMember,com.grappenmaker.mappings.AccessMask]#kotlin.collections.Map[com.grappenmaker.mappings.AccessedMember,com.grappenmaker.mappings.AccessMask]/PointingToDeclaration/lib/com.grappenmaker.mappings/-access-widener/-access-widener.html +$dokka.location:com.grappenmaker.mappings/AccessWidener/classes/#/PointingToDeclaration/lib/com.grappenmaker.mappings/-access-widener/classes.html +$dokka.location:com.grappenmaker.mappings/AccessWidener/fields/#/PointingToDeclaration/lib/com.grappenmaker.mappings/-access-widener/fields.html +$dokka.location:com.grappenmaker.mappings/AccessWidener/methods/#/PointingToDeclaration/lib/com.grappenmaker.mappings/-access-widener/methods.html +$dokka.location:com.grappenmaker.mappings/AccessWidener/namespace/#/PointingToDeclaration/lib/com.grappenmaker.mappings/-access-widener/namespace.html +$dokka.location:com.grappenmaker.mappings/AccessWidener/version/#/PointingToDeclaration/lib/com.grappenmaker.mappings/-access-widener/version.html +$dokka.location:com.grappenmaker.mappings/AccessWidenerTree///PointingToDeclaration/lib/com.grappenmaker.mappings/-access-widener-tree/index.html +$dokka.location:com.grappenmaker.mappings/AccessWidenerTree/AccessWidenerTree/#kotlin.String#kotlin.collections.Map[kotlin.String,com.grappenmaker.mappings.AccessedClass]/PointingToDeclaration/lib/com.grappenmaker.mappings/-access-widener-tree/-access-widener-tree.html +$dokka.location:com.grappenmaker.mappings/AccessWidenerTree/classes/#/PointingToDeclaration/lib/com.grappenmaker.mappings/-access-widener-tree/classes.html +$dokka.location:com.grappenmaker.mappings/AccessWidenerTree/namespace/#/PointingToDeclaration/lib/com.grappenmaker.mappings/-access-widener-tree/namespace.html +$dokka.location:com.grappenmaker.mappings/AccessWidenerVisitor///PointingToDeclaration/lib/com.grappenmaker.mappings/-access-widener-visitor/index.html +$dokka.location:com.grappenmaker.mappings/AccessWidenerVisitor/AccessWidenerVisitor/#org.objectweb.asm.ClassVisitor?#com.grappenmaker.mappings.AccessWidenerTree/PointingToDeclaration/lib/com.grappenmaker.mappings/-access-widener-visitor/-access-widener-visitor.html +$dokka.location:com.grappenmaker.mappings/AccessWidenerVisitor/visit/#kotlin.Int#kotlin.Int#kotlin.String#kotlin.String?#kotlin.String?#kotlin.Array[kotlin.String]?/PointingToDeclaration/lib/com.grappenmaker.mappings/-access-widener-visitor/visit.html +$dokka.location:com.grappenmaker.mappings/AccessWidenerVisitor/visitField/#kotlin.Int#kotlin.String#kotlin.String#kotlin.String?#kotlin.Any?/PointingToDeclaration/lib/com.grappenmaker.mappings/-access-widener-visitor/visit-field.html +$dokka.location:com.grappenmaker.mappings/AccessWidenerVisitor/visitInnerClass/#kotlin.String#kotlin.String?#kotlin.String?#kotlin.Int/PointingToDeclaration/lib/com.grappenmaker.mappings/-access-widener-visitor/visit-inner-class.html +$dokka.location:com.grappenmaker.mappings/AccessWidenerVisitor/visitMethod/#kotlin.Int#kotlin.String#kotlin.String#kotlin.String?#kotlin.Array[kotlin.String]?/PointingToDeclaration/lib/com.grappenmaker.mappings/-access-widener-visitor/visit-method.html +$dokka.location:com.grappenmaker.mappings/AccessWidenerVisitor/visitPermittedSubclass/#kotlin.String?/PointingToDeclaration/lib/com.grappenmaker.mappings/-access-widener-visitor/visit-permitted-subclass.html +$dokka.location:com.grappenmaker.mappings/AccessedClass///PointingToDeclaration/lib/com.grappenmaker.mappings/-accessed-class/index.html +$dokka.location:com.grappenmaker.mappings/AccessedClass/AccessedClass/#com.grappenmaker.mappings.AccessMask#kotlin.collections.Map[com.grappenmaker.mappings.MemberIdentifier,com.grappenmaker.mappings.AccessMask]#kotlin.collections.Map[com.grappenmaker.mappings.MemberIdentifier,com.grappenmaker.mappings.AccessMask]/PointingToDeclaration/lib/com.grappenmaker.mappings/-accessed-class/-accessed-class.html +$dokka.location:com.grappenmaker.mappings/AccessedClass/fields/#/PointingToDeclaration/lib/com.grappenmaker.mappings/-accessed-class/fields.html +$dokka.location:com.grappenmaker.mappings/AccessedClass/mask/#/PointingToDeclaration/lib/com.grappenmaker.mappings/-accessed-class/mask.html +$dokka.location:com.grappenmaker.mappings/AccessedClass/methods/#/PointingToDeclaration/lib/com.grappenmaker.mappings/-accessed-class/methods.html +$dokka.location:com.grappenmaker.mappings/AccessedClass/propagated/#/PointingToDeclaration/lib/com.grappenmaker.mappings/-accessed-class/propagated.html +$dokka.location:com.grappenmaker.mappings/AccessedClass/total/#/PointingToDeclaration/lib/com.grappenmaker.mappings/-accessed-class/total.html +$dokka.location:com.grappenmaker.mappings/AccessedMember///PointingToDeclaration/lib/com.grappenmaker.mappings/-accessed-member/index.html +$dokka.location:com.grappenmaker.mappings/AccessedMember/AccessedMember/#kotlin.String#kotlin.String#kotlin.String/PointingToDeclaration/lib/com.grappenmaker.mappings/-accessed-member/-accessed-member.html +$dokka.location:com.grappenmaker.mappings/AccessedMember/desc/#/PointingToDeclaration/lib/com.grappenmaker.mappings/-accessed-member/desc.html +$dokka.location:com.grappenmaker.mappings/AccessedMember/name/#/PointingToDeclaration/lib/com.grappenmaker.mappings/-accessed-member/name.html +$dokka.location:com.grappenmaker.mappings/AccessedMember/owner/#/PointingToDeclaration/lib/com.grappenmaker.mappings/-accessed-member/owner.html +$dokka.location:com.grappenmaker.mappings/CSRGMappings///PointingToDeclaration/lib/com.grappenmaker.mappings/-c-s-r-g-mappings/index.html +$dokka.location:com.grappenmaker.mappings/CSRGMappings/CSRGMappings/#kotlin.collections.List[com.grappenmaker.mappings.MappedClass]/PointingToDeclaration/lib/com.grappenmaker.mappings/-c-s-r-g-mappings/-c-s-r-g-mappings.html +$dokka.location:com.grappenmaker.mappings/CSRGMappings/classes/#/PointingToDeclaration/lib/com.grappenmaker.mappings/-c-s-r-g-mappings/classes.html +$dokka.location:com.grappenmaker.mappings/CSRGMappings/namespaces/#/PointingToDeclaration/lib/com.grappenmaker.mappings/-c-s-r-g-mappings/namespaces.html +$dokka.location:com.grappenmaker.mappings/CSRGMappingsFormat///PointingToDeclaration/lib/com.grappenmaker.mappings/-c-s-r-g-mappings-format/index.html +$dokka.location:com.grappenmaker.mappings/CSRGMappingsFormat/parse/#kotlin.collections.Iterator[kotlin.String]/PointingToDeclaration/lib/com.grappenmaker.mappings/-c-s-r-g-mappings-format/parse.html +$dokka.location:com.grappenmaker.mappings/CSRGMappingsFormat/writeLazy/#com.grappenmaker.mappings.CSRGMappings/PointingToDeclaration/lib/com.grappenmaker.mappings/-c-s-r-g-mappings-format/write-lazy.html +$dokka.location:com.grappenmaker.mappings/ClasspathLoader///PointingToDeclaration/lib/com.grappenmaker.mappings/-classpath-loader/index.html +$dokka.location:com.grappenmaker.mappings/ClasspathLoaders///PointingToDeclaration/lib/com.grappenmaker.mappings/-classpath-loaders/index.html +$dokka.location:com.grappenmaker.mappings/ClasspathLoaders/compound/#kotlin.Array[kotlin.Function1[kotlin.String,kotlin.ByteArray?]]/PointingToDeclaration/lib/com.grappenmaker.mappings/-classpath-loaders/compound.html +$dokka.location:com.grappenmaker.mappings/ClasspathLoaders/compound/#kotlin.collections.List[kotlin.Function1[kotlin.String,kotlin.ByteArray?]]/PointingToDeclaration/lib/com.grappenmaker.mappings/-classpath-loaders/compound.html +$dokka.location:com.grappenmaker.mappings/ClasspathLoaders/fromJar/#java.util.jar.JarFile/PointingToDeclaration/lib/com.grappenmaker.mappings/-classpath-loaders/from-jar.html +$dokka.location:com.grappenmaker.mappings/ClasspathLoaders/fromJars/#kotlin.collections.List[java.util.jar.JarFile]/PointingToDeclaration/lib/com.grappenmaker.mappings/-classpath-loaders/from-jars.html +$dokka.location:com.grappenmaker.mappings/ClasspathLoaders/fromLoader/#java.lang.ClassLoader/PointingToDeclaration/lib/com.grappenmaker.mappings/-classpath-loaders/from-loader.html +$dokka.location:com.grappenmaker.mappings/ClasspathLoaders/fromLookup/#kotlin.collections.Map[kotlin.String,kotlin.ByteArray]/PointingToDeclaration/lib/com.grappenmaker.mappings/-classpath-loaders/from-lookup.html +$dokka.location:com.grappenmaker.mappings/ClasspathLoaders/fromSystemLoader/#/PointingToDeclaration/lib/com.grappenmaker.mappings/-classpath-loaders/from-system-loader.html +$dokka.location:com.grappenmaker.mappings/Commented///PointingToDeclaration/lib/com.grappenmaker.mappings/-commented/index.html +$dokka.location:com.grappenmaker.mappings/Commented/comments/#/PointingToDeclaration/lib/com.grappenmaker.mappings/-commented/comments.html +$dokka.location:com.grappenmaker.mappings/CompactedMappings///PointingToDeclaration/lib/com.grappenmaker.mappings/-compacted-mappings/index.html +$dokka.location:com.grappenmaker.mappings/CompactedMappings/CompactedMappings/#kotlin.collections.List[kotlin.String]#kotlin.collections.List[com.grappenmaker.mappings.MappedClass]#kotlin.Int/PointingToDeclaration/lib/com.grappenmaker.mappings/-compacted-mappings/-compacted-mappings.html +$dokka.location:com.grappenmaker.mappings/CompactedMappings/classes/#/PointingToDeclaration/lib/com.grappenmaker.mappings/-compacted-mappings/classes.html +$dokka.location:com.grappenmaker.mappings/CompactedMappings/namespaces/#/PointingToDeclaration/lib/com.grappenmaker.mappings/-compacted-mappings/namespaces.html +$dokka.location:com.grappenmaker.mappings/CompactedMappings/version/#/PointingToDeclaration/lib/com.grappenmaker.mappings/-compacted-mappings/version.html +$dokka.location:com.grappenmaker.mappings/CompactedMappingsFormat///PointingToDeclaration/lib/com.grappenmaker.mappings/-compacted-mappings-format/index.html +$dokka.location:com.grappenmaker.mappings/CompactedMappingsFormat/parse/#java.io.InputStream/PointingToDeclaration/lib/com.grappenmaker.mappings/-compacted-mappings-format/parse.html +$dokka.location:com.grappenmaker.mappings/CompactedMappingsFormat/parse/#kotlin.ByteArray/PointingToDeclaration/lib/com.grappenmaker.mappings/-compacted-mappings-format/parse.html +$dokka.location:com.grappenmaker.mappings/CompactedMappingsFormat/write/#com.grappenmaker.mappings.CompactedMappings/PointingToDeclaration/lib/com.grappenmaker.mappings/-compacted-mappings-format/write.html +$dokka.location:com.grappenmaker.mappings/CompactedMappingsFormat/writeTo/#com.grappenmaker.mappings.CompactedMappings#java.io.OutputStream/PointingToDeclaration/lib/com.grappenmaker.mappings/-compacted-mappings-format/write-to.html +$dokka.location:com.grappenmaker.mappings/EmptyMappings///PointingToDeclaration/lib/com.grappenmaker.mappings/-empty-mappings/index.html +$dokka.location:com.grappenmaker.mappings/EmptyMappings/classes/#/PointingToDeclaration/lib/com.grappenmaker.mappings/-empty-mappings/classes.html +$dokka.location:com.grappenmaker.mappings/EmptyMappings/namespaces/#/PointingToDeclaration/lib/com.grappenmaker.mappings/-empty-mappings/namespaces.html +$dokka.location:com.grappenmaker.mappings/EnigmaMappings///PointingToDeclaration/lib/com.grappenmaker.mappings/-enigma-mappings/index.html +$dokka.location:com.grappenmaker.mappings/EnigmaMappings/EnigmaMappings/#kotlin.collections.List[com.grappenmaker.mappings.MappedClass]/PointingToDeclaration/lib/com.grappenmaker.mappings/-enigma-mappings/-enigma-mappings.html +$dokka.location:com.grappenmaker.mappings/EnigmaMappings/classes/#/PointingToDeclaration/lib/com.grappenmaker.mappings/-enigma-mappings/classes.html +$dokka.location:com.grappenmaker.mappings/EnigmaMappings/namespaces/#/PointingToDeclaration/lib/com.grappenmaker.mappings/-enigma-mappings/namespaces.html +$dokka.location:com.grappenmaker.mappings/EnigmaMappingsFormat///PointingToDeclaration/lib/com.grappenmaker.mappings/-enigma-mappings-format/index.html +$dokka.location:com.grappenmaker.mappings/EnigmaMappingsFormat/detect/#kotlin.collections.List[kotlin.String]/PointingToDeclaration/lib/com.grappenmaker.mappings/-enigma-mappings-format/detect.html +$dokka.location:com.grappenmaker.mappings/EnigmaMappingsFormat/parse/#kotlin.collections.Iterator[kotlin.String]/PointingToDeclaration/lib/com.grappenmaker.mappings/-enigma-mappings-format/parse.html +$dokka.location:com.grappenmaker.mappings/EnigmaMappingsFormat/writeLazy/#com.grappenmaker.mappings.EnigmaMappings/PointingToDeclaration/lib/com.grappenmaker.mappings/-enigma-mappings-format/write-lazy.html +$dokka.location:com.grappenmaker.mappings/ExperimentalJarRemapper///PointingToDeclaration/lib/com.grappenmaker.mappings/-experimental-jar-remapper/index.html +$dokka.location:com.grappenmaker.mappings/GenericMappings///PointingToDeclaration/lib/com.grappenmaker.mappings/-generic-mappings/index.html +$dokka.location:com.grappenmaker.mappings/GenericMappings/GenericMappings/#kotlin.collections.List[kotlin.String]#kotlin.collections.List[com.grappenmaker.mappings.MappedClass]/PointingToDeclaration/lib/com.grappenmaker.mappings/-generic-mappings/-generic-mappings.html +$dokka.location:com.grappenmaker.mappings/GenericMappings/classes/#/PointingToDeclaration/lib/com.grappenmaker.mappings/-generic-mappings/classes.html +$dokka.location:com.grappenmaker.mappings/GenericMappings/namespaces/#/PointingToDeclaration/lib/com.grappenmaker.mappings/-generic-mappings/namespaces.html +$dokka.location:com.grappenmaker.mappings/InheritanceProvider///PointingToDeclaration/lib/com.grappenmaker.mappings/-inheritance-provider/index.html +$dokka.location:com.grappenmaker.mappings/InheritanceProvider/getDeclaredMethods/#kotlin.String#kotlin.Boolean/PointingToDeclaration/lib/com.grappenmaker.mappings/-inheritance-provider/get-declared-methods.html +$dokka.location:com.grappenmaker.mappings/InheritanceProvider/getDirectParents/#kotlin.String/PointingToDeclaration/lib/com.grappenmaker.mappings/-inheritance-provider/get-direct-parents.html +$dokka.location:com.grappenmaker.mappings/InheritanceProvider/getParents/#kotlin.String/PointingToDeclaration/lib/com.grappenmaker.mappings/-inheritance-provider/get-parents.html +$dokka.location:com.grappenmaker.mappings/JarClassVisitor///PointingToDeclaration/lib/com.grappenmaker.mappings/-jar-class-visitor/index.html +$dokka.location:com.grappenmaker.mappings/JarClassVisitor/visit/#kotlin.String#org.objectweb.asm.ClassVisitor/PointingToDeclaration/lib/com.grappenmaker.mappings/-jar-class-visitor/visit.html +$dokka.location:com.grappenmaker.mappings/JarRemapTask///PointingToDeclaration/lib/com.grappenmaker.mappings/-jar-remap-task/index.html +$dokka.location:com.grappenmaker.mappings/JarRemapTask/JarRemapTask/#java.nio.file.Path#java.nio.file.Path#kotlin.String#kotlin.String/PointingToDeclaration/lib/com.grappenmaker.mappings/-jar-remap-task/-jar-remap-task.html +$dokka.location:com.grappenmaker.mappings/JarRemapTask/fromNamespace/#/PointingToDeclaration/lib/com.grappenmaker.mappings/-jar-remap-task/from-namespace.html +$dokka.location:com.grappenmaker.mappings/JarRemapTask/input/#/PointingToDeclaration/lib/com.grappenmaker.mappings/-jar-remap-task/input.html +$dokka.location:com.grappenmaker.mappings/JarRemapTask/output/#/PointingToDeclaration/lib/com.grappenmaker.mappings/-jar-remap-task/output.html +$dokka.location:com.grappenmaker.mappings/JarRemapTask/toNamespace/#/PointingToDeclaration/lib/com.grappenmaker.mappings/-jar-remap-task/to-namespace.html +$dokka.location:com.grappenmaker.mappings/JarRemapper///PointingToDeclaration/lib/com.grappenmaker.mappings/-jar-remapper/index.html +$dokka.location:com.grappenmaker.mappings/JarRemapper/JarRemapper/#/PointingToDeclaration/lib/com.grappenmaker.mappings/-jar-remapper/-jar-remapper.html +$dokka.location:com.grappenmaker.mappings/JarRemapper/copyResources/#/PointingToDeclaration/lib/com.grappenmaker.mappings/-jar-remapper/copy-resources.html +$dokka.location:com.grappenmaker.mappings/JarRemapper/loader/#/PointingToDeclaration/lib/com.grappenmaker.mappings/-jar-remapper/loader.html +$dokka.location:com.grappenmaker.mappings/JarRemapper/mappings/#/PointingToDeclaration/lib/com.grappenmaker.mappings/-jar-remapper/mappings.html +$dokka.location:com.grappenmaker.mappings/JarRemapper/perform/#/PointingToDeclaration/lib/com.grappenmaker.mappings/-jar-remapper/perform.html +$dokka.location:com.grappenmaker.mappings/JarRemapper/task/#java.nio.file.Path#java.nio.file.Path#kotlin.String#kotlin.String/PointingToDeclaration/lib/com.grappenmaker.mappings/-jar-remapper/task.html +$dokka.location:com.grappenmaker.mappings/JarRemapper/visitClasses/#com.grappenmaker.mappings.JarClassVisitor/PointingToDeclaration/lib/com.grappenmaker.mappings/-jar-remapper/visit-classes.html +$dokka.location:com.grappenmaker.mappings/JarRemapper/visitResources/#com.grappenmaker.mappings.JarResourceVisitor/PointingToDeclaration/lib/com.grappenmaker.mappings/-jar-remapper/visit-resources.html +$dokka.location:com.grappenmaker.mappings/JarRemapperDSL///PointingToDeclaration/lib/com.grappenmaker.mappings/-jar-remapper-d-s-l/index.html +$dokka.location:com.grappenmaker.mappings/JarResourceVisitor///PointingToDeclaration/lib/com.grappenmaker.mappings/-jar-resource-visitor/index.html +$dokka.location:com.grappenmaker.mappings/JarResourceVisitor/visit/#kotlin.String#kotlin.ByteArray/PointingToDeclaration/lib/com.grappenmaker.mappings/-jar-resource-visitor/visit.html +$dokka.location:com.grappenmaker.mappings/LambdaAwareMethodRemapper///PointingToDeclaration/lib/com.grappenmaker.mappings/-lambda-aware-method-remapper/index.html +$dokka.location:com.grappenmaker.mappings/LambdaAwareMethodRemapper/LambdaAwareMethodRemapper/#org.objectweb.asm.MethodVisitor#org.objectweb.asm.commons.Remapper/PointingToDeclaration/lib/com.grappenmaker.mappings/-lambda-aware-method-remapper/-lambda-aware-method-remapper.html +$dokka.location:com.grappenmaker.mappings/LambdaAwareMethodRemapper/visitInvokeDynamicInsn/#kotlin.String#kotlin.String#org.objectweb.asm.Handle#kotlin.Array[kotlin.Any]/PointingToDeclaration/lib/com.grappenmaker.mappings/-lambda-aware-method-remapper/visit-invoke-dynamic-insn.html +$dokka.location:com.grappenmaker.mappings/LambdaAwareRemapper///PointingToDeclaration/lib/com.grappenmaker.mappings/-lambda-aware-remapper/index.html +$dokka.location:com.grappenmaker.mappings/LambdaAwareRemapper/LambdaAwareRemapper/#org.objectweb.asm.ClassVisitor#org.objectweb.asm.commons.Remapper/PointingToDeclaration/lib/com.grappenmaker.mappings/-lambda-aware-remapper/-lambda-aware-remapper.html +$dokka.location:com.grappenmaker.mappings/LoaderInheritanceProvider///PointingToDeclaration/lib/com.grappenmaker.mappings/-loader-inheritance-provider/index.html +$dokka.location:com.grappenmaker.mappings/LoaderInheritanceProvider/LoaderInheritanceProvider/#kotlin.Function1[kotlin.String,kotlin.ByteArray?]/PointingToDeclaration/lib/com.grappenmaker.mappings/-loader-inheritance-provider/-loader-inheritance-provider.html +$dokka.location:com.grappenmaker.mappings/LoaderInheritanceProvider/getDeclaredMethods/#kotlin.String#kotlin.Boolean/PointingToDeclaration/lib/com.grappenmaker.mappings/-loader-inheritance-provider/get-declared-methods.html +$dokka.location:com.grappenmaker.mappings/LoaderInheritanceProvider/getDirectParents/#kotlin.String/PointingToDeclaration/lib/com.grappenmaker.mappings/-loader-inheritance-provider/get-direct-parents.html +$dokka.location:com.grappenmaker.mappings/LoaderSimpleRemapper///PointingToDeclaration/lib/com.grappenmaker.mappings/-loader-simple-remapper/index.html +$dokka.location:com.grappenmaker.mappings/LoaderSimpleRemapper/LoaderSimpleRemapper/#kotlin.collections.Map[kotlin.String,kotlin.String]#com.grappenmaker.mappings.InheritanceProvider#kotlin.Boolean/PointingToDeclaration/lib/com.grappenmaker.mappings/-loader-simple-remapper/-loader-simple-remapper.html +$dokka.location:com.grappenmaker.mappings/LoaderSimpleRemapper/LoaderSimpleRemapper/#kotlin.collections.Map[kotlin.String,kotlin.String]#kotlin.Function1[kotlin.String,kotlin.ByteArray?]#kotlin.Boolean/PointingToDeclaration/lib/com.grappenmaker.mappings/-loader-simple-remapper/-loader-simple-remapper.html +$dokka.location:com.grappenmaker.mappings/LoaderSimpleRemapper/map/#kotlin.String/PointingToDeclaration/lib/com.grappenmaker.mappings/-loader-simple-remapper/map.html +$dokka.location:com.grappenmaker.mappings/LoaderSimpleRemapper/mapFieldName/#kotlin.String#kotlin.String#kotlin.String?/PointingToDeclaration/lib/com.grappenmaker.mappings/-loader-simple-remapper/map-field-name.html +$dokka.location:com.grappenmaker.mappings/LoaderSimpleRemapper/mapMethodName/#kotlin.String#kotlin.String#kotlin.String/PointingToDeclaration/lib/com.grappenmaker.mappings/-loader-simple-remapper/map-method-name.html +$dokka.location:com.grappenmaker.mappings/LoaderSimpleRemapper/mapRecordComponentName/#kotlin.String#kotlin.String#kotlin.String/PointingToDeclaration/lib/com.grappenmaker.mappings/-loader-simple-remapper/map-record-component-name.html +$dokka.location:com.grappenmaker.mappings/LoaderSimpleRemapper/mapSignature/#kotlin.String?#kotlin.Boolean/PointingToDeclaration/lib/com.grappenmaker.mappings/-loader-simple-remapper/map-signature.html +$dokka.location:com.grappenmaker.mappings/Mapped///PointingToDeclaration/lib/com.grappenmaker.mappings/-mapped/index.html +$dokka.location:com.grappenmaker.mappings/Mapped/names/#/PointingToDeclaration/lib/com.grappenmaker.mappings/-mapped/names.html +$dokka.location:com.grappenmaker.mappings/MappedClass///PointingToDeclaration/lib/com.grappenmaker.mappings/-mapped-class/index.html +$dokka.location:com.grappenmaker.mappings/MappedClass/MappedClass/#kotlin.collections.List[kotlin.String]#kotlin.collections.List[kotlin.String]#kotlin.collections.List[com.grappenmaker.mappings.MappedField]#kotlin.collections.List[com.grappenmaker.mappings.MappedMethod]/PointingToDeclaration/lib/com.grappenmaker.mappings/-mapped-class/-mapped-class.html +$dokka.location:com.grappenmaker.mappings/MappedClass/comments/#/PointingToDeclaration/lib/com.grappenmaker.mappings/-mapped-class/comments.html +$dokka.location:com.grappenmaker.mappings/MappedClass/fields/#/PointingToDeclaration/lib/com.grappenmaker.mappings/-mapped-class/fields.html +$dokka.location:com.grappenmaker.mappings/MappedClass/methods/#/PointingToDeclaration/lib/com.grappenmaker.mappings/-mapped-class/methods.html +$dokka.location:com.grappenmaker.mappings/MappedClass/names/#/PointingToDeclaration/lib/com.grappenmaker.mappings/-mapped-class/names.html +$dokka.location:com.grappenmaker.mappings/MappedField///PointingToDeclaration/lib/com.grappenmaker.mappings/-mapped-field/index.html +$dokka.location:com.grappenmaker.mappings/MappedField/MappedField/#kotlin.collections.List[kotlin.String]#kotlin.collections.List[kotlin.String]#kotlin.String?/PointingToDeclaration/lib/com.grappenmaker.mappings/-mapped-field/-mapped-field.html +$dokka.location:com.grappenmaker.mappings/MappedField/comments/#/PointingToDeclaration/lib/com.grappenmaker.mappings/-mapped-field/comments.html +$dokka.location:com.grappenmaker.mappings/MappedField/desc/#/PointingToDeclaration/lib/com.grappenmaker.mappings/-mapped-field/desc.html +$dokka.location:com.grappenmaker.mappings/MappedField/names/#/PointingToDeclaration/lib/com.grappenmaker.mappings/-mapped-field/names.html +$dokka.location:com.grappenmaker.mappings/MappedLocal///PointingToDeclaration/lib/com.grappenmaker.mappings/-mapped-local/index.html +$dokka.location:com.grappenmaker.mappings/MappedLocal/MappedLocal/#kotlin.Int#kotlin.Int#kotlin.Int#kotlin.collections.List[kotlin.String]/PointingToDeclaration/lib/com.grappenmaker.mappings/-mapped-local/-mapped-local.html +$dokka.location:com.grappenmaker.mappings/MappedLocal/index/#/PointingToDeclaration/lib/com.grappenmaker.mappings/-mapped-local/--index--.html +$dokka.location:com.grappenmaker.mappings/MappedLocal/lvtIndex/#/PointingToDeclaration/lib/com.grappenmaker.mappings/-mapped-local/lvt-index.html +$dokka.location:com.grappenmaker.mappings/MappedLocal/names/#/PointingToDeclaration/lib/com.grappenmaker.mappings/-mapped-local/names.html +$dokka.location:com.grappenmaker.mappings/MappedLocal/startOffset/#/PointingToDeclaration/lib/com.grappenmaker.mappings/-mapped-local/start-offset.html +$dokka.location:com.grappenmaker.mappings/MappedMethod///PointingToDeclaration/lib/com.grappenmaker.mappings/-mapped-method/index.html +$dokka.location:com.grappenmaker.mappings/MappedMethod/MappedMethod/#kotlin.collections.List[kotlin.String]#kotlin.collections.List[kotlin.String]#kotlin.String#kotlin.collections.List[com.grappenmaker.mappings.MappedParameter]#kotlin.collections.List[com.grappenmaker.mappings.MappedLocal]/PointingToDeclaration/lib/com.grappenmaker.mappings/-mapped-method/-mapped-method.html +$dokka.location:com.grappenmaker.mappings/MappedMethod/comments/#/PointingToDeclaration/lib/com.grappenmaker.mappings/-mapped-method/comments.html +$dokka.location:com.grappenmaker.mappings/MappedMethod/desc/#/PointingToDeclaration/lib/com.grappenmaker.mappings/-mapped-method/desc.html +$dokka.location:com.grappenmaker.mappings/MappedMethod/names/#/PointingToDeclaration/lib/com.grappenmaker.mappings/-mapped-method/names.html +$dokka.location:com.grappenmaker.mappings/MappedMethod/parameters/#/PointingToDeclaration/lib/com.grappenmaker.mappings/-mapped-method/parameters.html +$dokka.location:com.grappenmaker.mappings/MappedMethod/variables/#/PointingToDeclaration/lib/com.grappenmaker.mappings/-mapped-method/variables.html +$dokka.location:com.grappenmaker.mappings/MappedParameter///PointingToDeclaration/lib/com.grappenmaker.mappings/-mapped-parameter/index.html +$dokka.location:com.grappenmaker.mappings/MappedParameter/MappedParameter/#kotlin.collections.List[kotlin.String]#kotlin.Int/PointingToDeclaration/lib/com.grappenmaker.mappings/-mapped-parameter/-mapped-parameter.html +$dokka.location:com.grappenmaker.mappings/MappedParameter/index/#/PointingToDeclaration/lib/com.grappenmaker.mappings/-mapped-parameter/--index--.html +$dokka.location:com.grappenmaker.mappings/MappedParameter/names/#/PointingToDeclaration/lib/com.grappenmaker.mappings/-mapped-parameter/names.html +$dokka.location:com.grappenmaker.mappings/Mappings///PointingToDeclaration/lib/com.grappenmaker.mappings/-mappings/index.html +$dokka.location:com.grappenmaker.mappings/Mappings/classes/#/PointingToDeclaration/lib/com.grappenmaker.mappings/-mappings/classes.html +$dokka.location:com.grappenmaker.mappings/Mappings/namespaces/#/PointingToDeclaration/lib/com.grappenmaker.mappings/-mappings/namespaces.html +$dokka.location:com.grappenmaker.mappings/MappingsFormat.Undetectable///PointingToDeclaration/lib/com.grappenmaker.mappings/-mappings-format/-undetectable/index.html +$dokka.location:com.grappenmaker.mappings/MappingsFormat.Undetectable/detect/#kotlin.collections.List[kotlin.String]/PointingToDeclaration/lib/com.grappenmaker.mappings/-mappings-format/-undetectable/detect.html +$dokka.location:com.grappenmaker.mappings/MappingsFormat///PointingToDeclaration/lib/com.grappenmaker.mappings/-mappings-format/index.html +$dokka.location:com.grappenmaker.mappings/MappingsFormat/detect/#kotlin.collections.List[kotlin.String]/PointingToDeclaration/lib/com.grappenmaker.mappings/-mappings-format/detect.html +$dokka.location:com.grappenmaker.mappings/MappingsFormat/parse/#kotlin.collections.Iterator[kotlin.String]/PointingToDeclaration/lib/com.grappenmaker.mappings/-mappings-format/parse.html +$dokka.location:com.grappenmaker.mappings/MappingsFormat/parse/#kotlin.collections.List[kotlin.String]/PointingToDeclaration/lib/com.grappenmaker.mappings/-mappings-format/parse.html +$dokka.location:com.grappenmaker.mappings/MappingsFormat/write/#TypeParam(bounds=[com.grappenmaker.mappings.Mappings])/PointingToDeclaration/lib/com.grappenmaker.mappings/-mappings-format/write.html +$dokka.location:com.grappenmaker.mappings/MappingsFormat/writeLazy/#TypeParam(bounds=[com.grappenmaker.mappings.Mappings])/PointingToDeclaration/lib/com.grappenmaker.mappings/-mappings-format/write-lazy.html +$dokka.location:com.grappenmaker.mappings/MappingsLoader///PointingToDeclaration/lib/com.grappenmaker.mappings/-mappings-loader/index.html +$dokka.location:com.grappenmaker.mappings/MappingsLoader/allMappingsFormats/#/PointingToDeclaration/lib/com.grappenmaker.mappings/-mappings-loader/all-mappings-formats.html +$dokka.location:com.grappenmaker.mappings/MappingsLoader/findMappingsFormat/#kotlin.collections.List[kotlin.String]/PointingToDeclaration/lib/com.grappenmaker.mappings/-mappings-loader/find-mappings-format.html +$dokka.location:com.grappenmaker.mappings/MappingsLoader/loadMappings/#kotlin.collections.List[kotlin.String]/PointingToDeclaration/lib/com.grappenmaker.mappings/-mappings-loader/load-mappings.html +$dokka.location:com.grappenmaker.mappings/MappingsRemapper///PointingToDeclaration/lib/com.grappenmaker.mappings/-mappings-remapper/index.html +$dokka.location:com.grappenmaker.mappings/MappingsRemapper/MappingsRemapper/#com.grappenmaker.mappings.Mappings#kotlin.String#kotlin.String#kotlin.Function1[kotlin.String,kotlin.ByteArray?]/PointingToDeclaration/lib/com.grappenmaker.mappings/-mappings-remapper/-mappings-remapper.html +$dokka.location:com.grappenmaker.mappings/MappingsRemapper/from/#/PointingToDeclaration/lib/com.grappenmaker.mappings/-mappings-remapper/from.html +$dokka.location:com.grappenmaker.mappings/MappingsRemapper/mappings/#/PointingToDeclaration/lib/com.grappenmaker.mappings/-mappings-remapper/mappings.html +$dokka.location:com.grappenmaker.mappings/MappingsRemapper/reverse/#kotlin.Function1[kotlin.String,kotlin.ByteArray?]/PointingToDeclaration/lib/com.grappenmaker.mappings/-mappings-remapper/reverse.html +$dokka.location:com.grappenmaker.mappings/MappingsRemapper/to/#/PointingToDeclaration/lib/com.grappenmaker.mappings/-mappings-remapper/to.html +$dokka.location:com.grappenmaker.mappings/MemberIdentifier///PointingToDeclaration/lib/com.grappenmaker.mappings/-member-identifier/index.html +$dokka.location:com.grappenmaker.mappings/MemberIdentifier/MemberIdentifier/#kotlin.String#kotlin.String/PointingToDeclaration/lib/com.grappenmaker.mappings/-member-identifier/-member-identifier.html +$dokka.location:com.grappenmaker.mappings/MemberIdentifier/desc/#/PointingToDeclaration/lib/com.grappenmaker.mappings/-member-identifier/desc.html +$dokka.location:com.grappenmaker.mappings/MemberIdentifier/name/#/PointingToDeclaration/lib/com.grappenmaker.mappings/-member-identifier/name.html +$dokka.location:com.grappenmaker.mappings/MemoizedInheritanceProvider///PointingToDeclaration/lib/com.grappenmaker.mappings/-memoized-inheritance-provider/index.html +$dokka.location:com.grappenmaker.mappings/MemoizedInheritanceProvider/MemoizedInheritanceProvider/#com.grappenmaker.mappings.InheritanceProvider/PointingToDeclaration/lib/com.grappenmaker.mappings/-memoized-inheritance-provider/-memoized-inheritance-provider.html +$dokka.location:com.grappenmaker.mappings/MemoizedInheritanceProvider/getDeclaredMethods/#kotlin.String#kotlin.Boolean/PointingToDeclaration/lib/com.grappenmaker.mappings/-memoized-inheritance-provider/get-declared-methods.html +$dokka.location:com.grappenmaker.mappings/MemoizedInheritanceProvider/getDirectParents/#kotlin.String/PointingToDeclaration/lib/com.grappenmaker.mappings/-memoized-inheritance-provider/get-direct-parents.html +$dokka.location:com.grappenmaker.mappings/ProguardMappings///PointingToDeclaration/lib/com.grappenmaker.mappings/-proguard-mappings/index.html +$dokka.location:com.grappenmaker.mappings/ProguardMappings/ProguardMappings/#kotlin.collections.List[com.grappenmaker.mappings.MappedClass]#kotlin.collections.List[kotlin.String]/PointingToDeclaration/lib/com.grappenmaker.mappings/-proguard-mappings/-proguard-mappings.html +$dokka.location:com.grappenmaker.mappings/ProguardMappings/classes/#/PointingToDeclaration/lib/com.grappenmaker.mappings/-proguard-mappings/classes.html +$dokka.location:com.grappenmaker.mappings/ProguardMappings/comments/#/PointingToDeclaration/lib/com.grappenmaker.mappings/-proguard-mappings/comments.html +$dokka.location:com.grappenmaker.mappings/ProguardMappings/namespaces/#/PointingToDeclaration/lib/com.grappenmaker.mappings/-proguard-mappings/namespaces.html +$dokka.location:com.grappenmaker.mappings/ProguardMappingsFormat///PointingToDeclaration/lib/com.grappenmaker.mappings/-proguard-mappings-format/index.html +$dokka.location:com.grappenmaker.mappings/ProguardMappingsFormat/detect/#kotlin.collections.List[kotlin.String]/PointingToDeclaration/lib/com.grappenmaker.mappings/-proguard-mappings-format/detect.html +$dokka.location:com.grappenmaker.mappings/ProguardMappingsFormat/parse/#kotlin.collections.Iterator[kotlin.String]/PointingToDeclaration/lib/com.grappenmaker.mappings/-proguard-mappings-format/parse.html +$dokka.location:com.grappenmaker.mappings/ProguardMappingsFormat/writeLazy/#com.grappenmaker.mappings.ProguardMappings/PointingToDeclaration/lib/com.grappenmaker.mappings/-proguard-mappings-format/write-lazy.html +$dokka.location:com.grappenmaker.mappings/RecafMappings///PointingToDeclaration/lib/com.grappenmaker.mappings/-recaf-mappings/index.html +$dokka.location:com.grappenmaker.mappings/RecafMappings/RecafMappings/#kotlin.collections.List[com.grappenmaker.mappings.MappedClass]/PointingToDeclaration/lib/com.grappenmaker.mappings/-recaf-mappings/-recaf-mappings.html +$dokka.location:com.grappenmaker.mappings/RecafMappings/classes/#/PointingToDeclaration/lib/com.grappenmaker.mappings/-recaf-mappings/classes.html +$dokka.location:com.grappenmaker.mappings/RecafMappings/namespaces/#/PointingToDeclaration/lib/com.grappenmaker.mappings/-recaf-mappings/namespaces.html +$dokka.location:com.grappenmaker.mappings/RecafMappingsFormat///PointingToDeclaration/lib/com.grappenmaker.mappings/-recaf-mappings-format/index.html +$dokka.location:com.grappenmaker.mappings/RecafMappingsFormat/parse/#kotlin.collections.Iterator[kotlin.String]/PointingToDeclaration/lib/com.grappenmaker.mappings/-recaf-mappings-format/parse.html +$dokka.location:com.grappenmaker.mappings/RecafMappingsFormat/writeLazy/#com.grappenmaker.mappings.RecafMappings/PointingToDeclaration/lib/com.grappenmaker.mappings/-recaf-mappings-format/write-lazy.html +$dokka.location:com.grappenmaker.mappings/SRGMappings///PointingToDeclaration/lib/com.grappenmaker.mappings/-s-r-g-mappings/index.html +$dokka.location:com.grappenmaker.mappings/SRGMappings/SRGMappings/#kotlin.collections.List[com.grappenmaker.mappings.MappedClass]#kotlin.Boolean/PointingToDeclaration/lib/com.grappenmaker.mappings/-s-r-g-mappings/-s-r-g-mappings.html +$dokka.location:com.grappenmaker.mappings/SRGMappings/classes/#/PointingToDeclaration/lib/com.grappenmaker.mappings/-s-r-g-mappings/classes.html +$dokka.location:com.grappenmaker.mappings/SRGMappings/isExtended/#/PointingToDeclaration/lib/com.grappenmaker.mappings/-s-r-g-mappings/is-extended.html +$dokka.location:com.grappenmaker.mappings/SRGMappings/namespaces/#/PointingToDeclaration/lib/com.grappenmaker.mappings/-s-r-g-mappings/namespaces.html +$dokka.location:com.grappenmaker.mappings/SRGMappingsFormat///PointingToDeclaration/lib/com.grappenmaker.mappings/-s-r-g-mappings-format/index.html +$dokka.location:com.grappenmaker.mappings/TSRGMappings///PointingToDeclaration/lib/com.grappenmaker.mappings/-t-s-r-g-mappings/index.html +$dokka.location:com.grappenmaker.mappings/TSRGMappings/TSRGMappings/#kotlin.collections.List[kotlin.String]#kotlin.collections.List[com.grappenmaker.mappings.MappedClass]#kotlin.Boolean/PointingToDeclaration/lib/com.grappenmaker.mappings/-t-s-r-g-mappings/-t-s-r-g-mappings.html +$dokka.location:com.grappenmaker.mappings/TSRGMappings/classes/#/PointingToDeclaration/lib/com.grappenmaker.mappings/-t-s-r-g-mappings/classes.html +$dokka.location:com.grappenmaker.mappings/TSRGMappings/isV2/#/PointingToDeclaration/lib/com.grappenmaker.mappings/-t-s-r-g-mappings/is-v2.html +$dokka.location:com.grappenmaker.mappings/TSRGMappings/namespaces/#/PointingToDeclaration/lib/com.grappenmaker.mappings/-t-s-r-g-mappings/namespaces.html +$dokka.location:com.grappenmaker.mappings/TSRGV1MappingsFormat///PointingToDeclaration/lib/com.grappenmaker.mappings/-t-s-r-g-v1-mappings-format/index.html +$dokka.location:com.grappenmaker.mappings/TSRGV2MappingsFormat///PointingToDeclaration/lib/com.grappenmaker.mappings/-t-s-r-g-v2-mappings-format/index.html +$dokka.location:com.grappenmaker.mappings/TinyMappings///PointingToDeclaration/lib/com.grappenmaker.mappings/-tiny-mappings/index.html +$dokka.location:com.grappenmaker.mappings/TinyMappings/TinyMappings/#kotlin.collections.List[kotlin.String]#kotlin.collections.List[com.grappenmaker.mappings.MappedClass]#kotlin.Boolean/PointingToDeclaration/lib/com.grappenmaker.mappings/-tiny-mappings/-tiny-mappings.html +$dokka.location:com.grappenmaker.mappings/TinyMappings/classes/#/PointingToDeclaration/lib/com.grappenmaker.mappings/-tiny-mappings/classes.html +$dokka.location:com.grappenmaker.mappings/TinyMappings/isV2/#/PointingToDeclaration/lib/com.grappenmaker.mappings/-tiny-mappings/is-v2.html +$dokka.location:com.grappenmaker.mappings/TinyMappings/namespaces/#/PointingToDeclaration/lib/com.grappenmaker.mappings/-tiny-mappings/namespaces.html +$dokka.location:com.grappenmaker.mappings/TinyMappingsV1Format///PointingToDeclaration/lib/com.grappenmaker.mappings/-tiny-mappings-v1-format/index.html +$dokka.location:com.grappenmaker.mappings/TinyMappingsV1Format/detect/#kotlin.collections.List[kotlin.String]/PointingToDeclaration/lib/com.grappenmaker.mappings/-tiny-mappings-v1-format/detect.html +$dokka.location:com.grappenmaker.mappings/TinyMappingsV1Format/parse/#kotlin.collections.Iterator[kotlin.String]/PointingToDeclaration/lib/com.grappenmaker.mappings/-tiny-mappings-v1-format/parse.html +$dokka.location:com.grappenmaker.mappings/TinyMappingsV1Format/write/com.grappenmaker.mappings.TinyMappingsWriter.Context#/PointingToDeclaration/lib/com.grappenmaker.mappings/-tiny-mappings-v1-format/write.html +$dokka.location:com.grappenmaker.mappings/TinyMappingsV2Format///PointingToDeclaration/lib/com.grappenmaker.mappings/-tiny-mappings-v2-format/index.html +$dokka.location:com.grappenmaker.mappings/TinyMappingsV2Format/detect/#kotlin.collections.List[kotlin.String]/PointingToDeclaration/lib/com.grappenmaker.mappings/-tiny-mappings-v2-format/detect.html +$dokka.location:com.grappenmaker.mappings/TinyMappingsV2Format/parse/#kotlin.collections.Iterator[kotlin.String]/PointingToDeclaration/lib/com.grappenmaker.mappings/-tiny-mappings-v2-format/parse.html +$dokka.location:com.grappenmaker.mappings/TinyMappingsV2Format/write/com.grappenmaker.mappings.TinyMappingsWriter.Context#/PointingToDeclaration/lib/com.grappenmaker.mappings/-tiny-mappings-v2-format/write.html +$dokka.location:com.grappenmaker.mappings/TinyMappingsWriter.Context///PointingToDeclaration/lib/com.grappenmaker.mappings/-tiny-mappings-writer/-context/index.html +$dokka.location:com.grappenmaker.mappings/TinyMappingsWriter.Context/Context/#com.grappenmaker.mappings.TinyMappings#kotlin.Boolean/PointingToDeclaration/lib/com.grappenmaker.mappings/-tiny-mappings-writer/-context/-context.html +$dokka.location:com.grappenmaker.mappings/TinyMappingsWriter.Context/compact/#/PointingToDeclaration/lib/com.grappenmaker.mappings/-tiny-mappings-writer/-context/compact.html +$dokka.location:com.grappenmaker.mappings/TinyMappingsWriter.Context/mappings/#/PointingToDeclaration/lib/com.grappenmaker.mappings/-tiny-mappings-writer/-context/mappings.html +$dokka.location:com.grappenmaker.mappings/TinyMappingsWriter///PointingToDeclaration/lib/com.grappenmaker.mappings/-tiny-mappings-writer/index.html +$dokka.location:com.grappenmaker.mappings/TinyMappingsWriter/write/#com.grappenmaker.mappings.TinyMappings#kotlin.Boolean/PointingToDeclaration/lib/com.grappenmaker.mappings/-tiny-mappings-writer/write.html +$dokka.location:com.grappenmaker.mappings/TinyMappingsWriter/write/com.grappenmaker.mappings.TinyMappingsWriter.Context#/PointingToDeclaration/lib/com.grappenmaker.mappings/-tiny-mappings-writer/write.html +$dokka.location:com.grappenmaker.mappings/TinyMappingsWriter/writeLazy/#com.grappenmaker.mappings.TinyMappings/PointingToDeclaration/lib/com.grappenmaker.mappings/-tiny-mappings-writer/write-lazy.html +$dokka.location:com.grappenmaker.mappings/XSRGMappingsFormat///PointingToDeclaration/lib/com.grappenmaker.mappings/-x-s-r-g-mappings-format/index.html +com.grappenmaker.mappings + diff --git a/docs/mappings-util/com.grappenmaker.mappings/-access-mask/-access-mask.html b/docs/mappings-util/com.grappenmaker.mappings/-access-mask/-access-mask.html index de32baf..03ae686 100644 --- a/docs/mappings-util/com.grappenmaker.mappings/-access-mask/-access-mask.html +++ b/docs/mappings-util/com.grappenmaker.mappings/-access-mask/-access-mask.html @@ -1,10 +1,9 @@ - + AccessMask - - + - - + + - - - - - - - + + + + + +
-
- +
+
-

AccessMask

+

AccessMask

-
constructor(value: Int)(source)
+
constructor(value: Int)(source)
+ diff --git a/docs/mappings-util/com.grappenmaker.mappings/-access-mask/-companion/-e-m-p-t-y.html b/docs/mappings-util/com.grappenmaker.mappings/-access-mask/-companion/-e-m-p-t-y.html index 6aa85a1..7f43770 100644 --- a/docs/mappings-util/com.grappenmaker.mappings/-access-mask/-companion/-e-m-p-t-y.html +++ b/docs/mappings-util/com.grappenmaker.mappings/-access-mask/-companion/-e-m-p-t-y.html @@ -1,10 +1,9 @@ - + EMPTY - - + - - + + - - - - - - - + + + + + +
-
- +
+

EMPTY

-

An AccessMask without any AccessTypes containing it

+

An AccessMask without any AccessTypes containing it

+ diff --git a/docs/mappings-util/com.grappenmaker.mappings/-access-mask/-companion/index.html b/docs/mappings-util/com.grappenmaker.mappings/-access-mask/-companion/index.html index 05dc0aa..0ac4bf5 100644 --- a/docs/mappings-util/com.grappenmaker.mappings/-access-mask/-companion/index.html +++ b/docs/mappings-util/com.grappenmaker.mappings/-access-mask/-companion/index.html @@ -1,10 +1,9 @@ - + Companion - - + - - + + - - - - - - - + + + + + +
-
- +
+

Companion

-

Utility for constructing an AccessMask

+

Utility for constructing an AccessMask

Properties

-
-
+
+
- +
Link copied to clipboard
-

An AccessMask without any AccessTypes containing it

+

An AccessMask without any AccessTypes containing it

@@ -93,12 +90,11 @@

Properties

+ diff --git a/docs/mappings-util/com.grappenmaker.mappings/-access-mask/contains.html b/docs/mappings-util/com.grappenmaker.mappings/-access-mask/contains.html index 5bdc7dd..d1ffdac 100644 --- a/docs/mappings-util/com.grappenmaker.mappings/-access-mask/contains.html +++ b/docs/mappings-util/com.grappenmaker.mappings/-access-mask/contains.html @@ -1,10 +1,9 @@ - + contains - - + - - + + - - - - - - - + + + + + +
-
- +
+

contains

-
operator fun contains(type: AccessType): Boolean(source)

Tests whether a given AccessType is contained in this AccessMask

+
operator fun contains(type: AccessType): Boolean(source)

Tests whether a given AccessType is contained in this AccessMask

+ diff --git a/docs/mappings-util/com.grappenmaker.mappings/-access-mask/index.html b/docs/mappings-util/com.grappenmaker.mappings/-access-mask/index.html index 8b12c34..521ad19 100644 --- a/docs/mappings-util/com.grappenmaker.mappings/-access-mask/index.html +++ b/docs/mappings-util/com.grappenmaker.mappings/-access-mask/index.html @@ -1,10 +1,9 @@ - + AccessMask - - + - - + + - - - - - - - + + + + + +
-
- +
+
-

AccessMask

-
value class AccessMask(val value: Int) : Iterable<AccessType> (source)

A bitmask representing a set of AccessTypes

+

AccessMask

+
value class AccessMask(val value: Int) : Iterable<AccessType> (source)

A bitmask representing a set of AccessTypes

Constructors

-
-
+
+
- - + +
Link copied to clipboard
-
constructor(value: Int)
+
constructor(value: Int)
@@ -91,17 +88,17 @@

Constructors

Types

-
-
+
+
- +
Link copied to clipboard
-
object Companion

Utility for constructing an AccessMask

+
object Companion

Utility for constructing an AccessMask

@@ -110,17 +107,17 @@

Types

Properties

-
-
+
+
- +
Link copied to clipboard
-
val value: Int

The integer value representing this mask

+
val value: Int

The integer value representing this mask

@@ -129,107 +126,107 @@

Properties

Functions

-
-
+
+
- +
Link copied to clipboard
-
operator fun contains(type: AccessType): Boolean

Tests whether a given AccessType is contained in this AccessMask

+
operator fun contains(type: AccessType): Boolean

Tests whether a given AccessType is contained in this AccessMask

- -
+ +
- - + +
Link copied to clipboard
-
open fun forEach(p0: Consumer<in AccessType>)
+
open fun forEach(p0: Consumer<in AccessType>)
- -
+ +
- +
Link copied to clipboard
-
open operator override fun iterator(): Iterator<AccessType>

Returns an Iterator that yields all AccessTypes in this AccessMask

+
open operator override fun iterator(): Iterator<AccessType>

Returns an Iterator that yields all AccessTypes in this AccessMask

- -
+ +
- +
Link copied to clipboard
-

Converts some sort of collection of AccessMasks to a resultant AccessMask combining them

Combines AccessWideners using the AccessWidener.plus operator, producing a new AccessWidener that, when applied, produces the same result as applying all of the wideners sequentially. If this Iterable would be considered empty (its Iterator.hasNext would return false on the first iteration), IllegalArgumentException is thrown

fun Iterable<Mappings>.join(intermediateNamespace: String, requireMatch: Boolean = false): Mappings

Joins together an Iterable of Mappings, producing new Mappings that contain all entries from all Mappings. Note: all namespaces are kept, in order to be able to reduce the mappings nicely without a lot of overhead. If you want to exclude certain namespaces, use Mappings.filterNamespaces. If this Iterable would be considered empty (its Iterator.hasNext would return false on the first iteration), EmptyMappings is returned.

+

Converts some sort of collection of AccessMasks to a resultant AccessMask combining them

Combines AccessWideners using the AccessWidener.plus operator, producing a new AccessWidener that, when applied, produces the same result as applying all of the wideners sequentially. If this Iterable would be considered empty (its Iterator.hasNext would return false on the first iteration), IllegalArgumentException is thrown

fun Iterable<Mappings>.join(intermediateNamespace: String, requireMatch: Boolean = false): Mappings

Joins together an Iterable of Mappings, producing new Mappings that contain all entries from all Mappings. Note: all namespaces are kept, in order to be able to reduce the mappings nicely without a lot of overhead. If you want to exclude certain namespaces, use Mappings.filterNamespaces. If this Iterable would be considered empty (its Iterator.hasNext would return false on the first iteration), EmptyMappings is returned.

- -
+ +
- +
Link copied to clipboard
-
operator fun minus(other: AccessMask?): AccessMask

Excludes all set AccessTypes in the other from this AccessMask, producing a new AccessMask that therefore contains all AccessTypes in this AccessMask that are not in the other

operator fun minus(other: AccessType?): AccessMask

Removes an AccessType from this AccessMask, producing a new AccessMask that therefore contains all AccessTypes in this AccessMask that are not equal to other. If other is not in this AccessMask, an identical AccessMask will be returned.

+
operator fun minus(other: AccessMask?): AccessMask

Excludes all set AccessTypes in the other from this AccessMask, producing a new AccessMask that therefore contains all AccessTypes in this AccessMask that are not in the other

operator fun minus(other: AccessType?): AccessMask

Removes an AccessType from this AccessMask, producing a new AccessMask that therefore contains all AccessTypes in this AccessMask that are not equal to other. If other is not in this AccessMask, an identical AccessMask will be returned.

- -
+ +
- +
Link copied to clipboard
-
operator fun plus(other: AccessMask?): AccessMask

Combines this AccessMask and other to produce a new AccessMask that can be interpreted as first applying this AccessMask and then the other.

operator fun plus(other: AccessType?): AccessMask

Combines this AccessMask and other to produce a new AccessMask that can be interpreted as first applying this AccessMask and then the other.

+
operator fun plus(other: AccessMask?): AccessMask

Combines this AccessMask and other to produce a new AccessMask that can be interpreted as first applying this AccessMask and then the other.

operator fun plus(other: AccessType?): AccessMask

Combines this AccessMask and other to produce a new AccessMask that can be interpreted as first applying this AccessMask and then the other.

- -
+ +
- - + +
Link copied to clipboard
@@ -240,12 +237,11 @@

Functions

+ diff --git a/docs/mappings-util/com.grappenmaker.mappings/-access-mask/iterator.html b/docs/mappings-util/com.grappenmaker.mappings/-access-mask/iterator.html index 4e63925..f91f5ed 100644 --- a/docs/mappings-util/com.grappenmaker.mappings/-access-mask/iterator.html +++ b/docs/mappings-util/com.grappenmaker.mappings/-access-mask/iterator.html @@ -1,10 +1,9 @@ - + iterator - - + - - + + - - - - - - - + + + + + +
-
- +
+

iterator

-
open operator override fun iterator(): Iterator<AccessType>(source)

Returns an Iterator that yields all AccessTypes in this AccessMask

+
open operator override fun iterator(): Iterator<AccessType>(source)

Returns an Iterator that yields all AccessTypes in this AccessMask

+ diff --git a/docs/mappings-util/com.grappenmaker.mappings/-access-mask/minus.html b/docs/mappings-util/com.grappenmaker.mappings/-access-mask/minus.html index 1bca475..6296a50 100644 --- a/docs/mappings-util/com.grappenmaker.mappings/-access-mask/minus.html +++ b/docs/mappings-util/com.grappenmaker.mappings/-access-mask/minus.html @@ -1,10 +1,9 @@ - + minus - - + - - + + - - - - - - - + + + + + +
-
- +
+

minus

-
operator fun minus(other: AccessMask?): AccessMask(source)

Excludes all set AccessTypes in the other from this AccessMask, producing a new AccessMask that therefore contains all AccessTypes in this AccessMask that are not in the other


operator fun minus(other: AccessType?): AccessMask(source)

Removes an AccessType from this AccessMask, producing a new AccessMask that therefore contains all AccessTypes in this AccessMask that are not equal to other. If other is not in this AccessMask, an identical AccessMask will be returned.

+
operator fun minus(other: AccessMask?): AccessMask(source)

Excludes all set AccessTypes in the other from this AccessMask, producing a new AccessMask that therefore contains all AccessTypes in this AccessMask that are not in the other


operator fun minus(other: AccessType?): AccessMask(source)

Removes an AccessType from this AccessMask, producing a new AccessMask that therefore contains all AccessTypes in this AccessMask that are not equal to other. If other is not in this AccessMask, an identical AccessMask will be returned.

+ diff --git a/docs/mappings-util/com.grappenmaker.mappings/-access-mask/plus.html b/docs/mappings-util/com.grappenmaker.mappings/-access-mask/plus.html index 613410c..53eb9f9 100644 --- a/docs/mappings-util/com.grappenmaker.mappings/-access-mask/plus.html +++ b/docs/mappings-util/com.grappenmaker.mappings/-access-mask/plus.html @@ -1,10 +1,9 @@ - + plus - - + - - + + - - - - - - - + + + + + +
-
- +
+

plus

-
operator fun plus(other: AccessMask?): AccessMask(source)

Combines this AccessMask and other to produce a new AccessMask that can be interpreted as first applying this AccessMask and then the other.


operator fun plus(other: AccessType?): AccessMask(source)

Combines this AccessMask and other to produce a new AccessMask that can be interpreted as first applying this AccessMask and then the other.

+
operator fun plus(other: AccessMask?): AccessMask(source)

Combines this AccessMask and other to produce a new AccessMask that can be interpreted as first applying this AccessMask and then the other.


operator fun plus(other: AccessType?): AccessMask(source)

Combines this AccessMask and other to produce a new AccessMask that can be interpreted as first applying this AccessMask and then the other.

+ diff --git a/docs/mappings-util/com.grappenmaker.mappings/-access-mask/value.html b/docs/mappings-util/com.grappenmaker.mappings/-access-mask/value.html index d79cede..ef7e8d4 100644 --- a/docs/mappings-util/com.grappenmaker.mappings/-access-mask/value.html +++ b/docs/mappings-util/com.grappenmaker.mappings/-access-mask/value.html @@ -1,10 +1,9 @@ - + value - - + - - + + - - - - - - - + + + + + +
-
- +
+

value

- +
+ diff --git a/docs/mappings-util/com.grappenmaker.mappings/-access-type/-a-c-c-e-s-s-i-b-l-e/index.html b/docs/mappings-util/com.grappenmaker.mappings/-access-type/-a-c-c-e-s-s-i-b-l-e/index.html index 6d075b0..ccae09e 100644 --- a/docs/mappings-util/com.grappenmaker.mappings/-access-type/-a-c-c-e-s-s-i-b-l-e/index.html +++ b/docs/mappings-util/com.grappenmaker.mappings/-access-type/-a-c-c-e-s-s-i-b-l-e/index.html @@ -1,10 +1,9 @@ - + ACCESSIBLE - - + - - + + - - - - - - - + + + + + +
-
- +
+

ACCESSIBLE

-

Means that a member should be made accessible / public

+

Means that a member should be made accessible / public

Properties

-
-
+
+
- +
Link copied to clipboard
-
val mask: Int

The value that is equivalent to an AccessMask as an integer instead of a value class

+
val mask: Int

The value that is equivalent to an AccessMask as an integer instead of a value class

- -
+ +
- - + +
Link copied to clipboard
- +
- -
+ +
- - + +
Link copied to clipboard
- +
@@ -121,17 +118,17 @@

Properties

Functions

-
-
+
+
- - + +
Link copied to clipboard
-

Creates an AccessMask containing only this AccessType

+

Creates an AccessMask containing only this AccessType

@@ -142,12 +139,11 @@

Functions

+ diff --git a/docs/mappings-util/com.grappenmaker.mappings/-access-type/-companion/get-or-null.html b/docs/mappings-util/com.grappenmaker.mappings/-access-type/-companion/get-or-null.html index 47319ea..ad63974 100644 --- a/docs/mappings-util/com.grappenmaker.mappings/-access-type/-companion/get-or-null.html +++ b/docs/mappings-util/com.grappenmaker.mappings/-access-type/-companion/get-or-null.html @@ -1,10 +1,9 @@ - + getOrNull - - + - - + + - - - - - - - + + + + + +
-
- +
+
-

getOrNull

+

getOrNull

-

Returns an AccessType associated with a given name, or null when name is not associated with any AccessType

+

Returns an AccessType associated with a given name, or null when name is not associated with any AccessType

+ diff --git a/docs/mappings-util/com.grappenmaker.mappings/-access-type/-companion/index.html b/docs/mappings-util/com.grappenmaker.mappings/-access-type/-companion/index.html index 101756c..266cab5 100644 --- a/docs/mappings-util/com.grappenmaker.mappings/-access-type/-companion/index.html +++ b/docs/mappings-util/com.grappenmaker.mappings/-access-type/-companion/index.html @@ -1,10 +1,9 @@ - + Companion - - + - - + + - - - - - - - + + + + + +
-
- +
+

Companion

-

Allows for easy lookup of AccessTypes by a given String

+

Allows for easy lookup of AccessTypes by a given String

Functions

-
-
+
+
- - + +
Link copied to clipboard
-

Returns an AccessType associated with a given name, or null when name is not associated with any AccessType

+

Returns an AccessType associated with a given name, or null when name is not associated with any AccessType

- -
+ +
- +
Link copied to clipboard
-
operator fun invoke(name: String): AccessType

Returns an AccessType associated with a given name, throws IllegalArgumentException when name is not associated with any AccessType

+
operator fun invoke(name: String): AccessType

Returns an AccessType associated with a given name, throws IllegalArgumentException when name is not associated with any AccessType

@@ -108,12 +105,11 @@

Functions

+ diff --git a/docs/mappings-util/com.grappenmaker.mappings/-access-type/-companion/invoke.html b/docs/mappings-util/com.grappenmaker.mappings/-access-type/-companion/invoke.html index 3b4bf4f..0cc7843 100644 --- a/docs/mappings-util/com.grappenmaker.mappings/-access-type/-companion/invoke.html +++ b/docs/mappings-util/com.grappenmaker.mappings/-access-type/-companion/invoke.html @@ -1,10 +1,9 @@ - + invoke - - + - - + + - - - - - - - + + + + + +
-
- +
+

invoke

-
operator fun invoke(name: String): AccessType(source)

Returns an AccessType associated with a given name, throws IllegalArgumentException when name is not associated with any AccessType

+
operator fun invoke(name: String): AccessType(source)

Returns an AccessType associated with a given name, throws IllegalArgumentException when name is not associated with any AccessType

+ diff --git a/docs/mappings-util/com.grappenmaker.mappings/-access-type/-e-x-t-e-n-d-a-b-l-e/index.html b/docs/mappings-util/com.grappenmaker.mappings/-access-type/-e-x-t-e-n-d-a-b-l-e/index.html index 36b2e25..019702d 100644 --- a/docs/mappings-util/com.grappenmaker.mappings/-access-type/-e-x-t-e-n-d-a-b-l-e/index.html +++ b/docs/mappings-util/com.grappenmaker.mappings/-access-type/-e-x-t-e-n-d-a-b-l-e/index.html @@ -1,10 +1,9 @@ - + EXTENDABLE - - + - - + + - - - - - - - + + + + + +
-
- +
+

EXTENDABLE

-

Means that a method or class should be made non-final and overridable/extendable. Invalid on fields.

+

Means that a method or class should be made non-final and overridable/extendable. Invalid on fields.

Properties

-
-
+
+
- +
Link copied to clipboard
-
val mask: Int

The value that is equivalent to an AccessMask as an integer instead of a value class

+
val mask: Int

The value that is equivalent to an AccessMask as an integer instead of a value class

- -
+ +
- - + +
Link copied to clipboard
- +
- -
+ +
- - + +
Link copied to clipboard
- +
@@ -121,17 +118,17 @@

Properties

Functions

-
-
+
+
- - + +
Link copied to clipboard
-

Creates an AccessMask containing only this AccessType

+

Creates an AccessMask containing only this AccessType

@@ -142,12 +139,11 @@

Functions

+ diff --git a/docs/mappings-util/com.grappenmaker.mappings/-access-type/-m-u-t-a-b-l-e/index.html b/docs/mappings-util/com.grappenmaker.mappings/-access-type/-m-u-t-a-b-l-e/index.html index 9eea6a9..6ef065a 100644 --- a/docs/mappings-util/com.grappenmaker.mappings/-access-type/-m-u-t-a-b-l-e/index.html +++ b/docs/mappings-util/com.grappenmaker.mappings/-access-type/-m-u-t-a-b-l-e/index.html @@ -1,10 +1,9 @@ - + MUTABLE - - + - - + + - - - - - - - + + + + + +
-
- +
+

MUTABLE

-

Means that a field should be made non-final (mutable). Invalid on classes and methods. Note: there is no reason for the mappings format to merge this and EXTENDABLE to fix the incompatibility and simplify the format a little, it just is not the case.

+

Means that a field should be made non-final (mutable). Invalid on classes and methods. Note: there is no reason for the mappings format to merge this and EXTENDABLE to fix the incompatibility and simplify the format a little, it just is not the case.

Properties

-
-
+
+
- +
Link copied to clipboard
-
val mask: Int

The value that is equivalent to an AccessMask as an integer instead of a value class

+
val mask: Int

The value that is equivalent to an AccessMask as an integer instead of a value class

- -
+ +
- - + +
Link copied to clipboard
- +
- -
+ +
- - + +
Link copied to clipboard
- +
@@ -121,17 +118,17 @@

Properties

Functions

-
-
+
+
- - + +
Link copied to clipboard
-

Creates an AccessMask containing only this AccessType

+

Creates an AccessMask containing only this AccessType

@@ -142,12 +139,11 @@

Functions

+ diff --git a/docs/mappings-util/com.grappenmaker.mappings/-access-type/entries.html b/docs/mappings-util/com.grappenmaker.mappings/-access-type/entries.html index 420babf..6c268c4 100644 --- a/docs/mappings-util/com.grappenmaker.mappings/-access-type/entries.html +++ b/docs/mappings-util/com.grappenmaker.mappings/-access-type/entries.html @@ -1,10 +1,9 @@ - + entries - - + - - + + - - - - - - - + + + + + +
-
- +
+

entries

-

Returns a representation of an immutable list of all enum entries, in the order they're declared.

This method may be used to iterate over the enum entries.

+

Returns a representation of an immutable list of all enum entries, in the order they're declared.

This method may be used to iterate over the enum entries.

+ diff --git a/docs/mappings-util/com.grappenmaker.mappings/-access-type/index.html b/docs/mappings-util/com.grappenmaker.mappings/-access-type/index.html index c29b70d..371be7c 100644 --- a/docs/mappings-util/com.grappenmaker.mappings/-access-type/index.html +++ b/docs/mappings-util/com.grappenmaker.mappings/-access-type/index.html @@ -1,10 +1,9 @@ - + AccessType - - + - - + + - - - - - - - + + + + + +
-
- +
+
-

AccessType

-

A type of access that can be "widened" on a class, field or method

+

AccessType

+

A type of access that can be "widened" on a class, field or method

Entries

-
-
+
+
- +
Link copied to clipboard
-

Means that a member should be made accessible / public

+

Means that a member should be made accessible / public

- -
+ +
- +
Link copied to clipboard
-

Means that a method or class should be made non-final and overridable/extendable. Invalid on fields.

+

Means that a method or class should be made non-final and overridable/extendable. Invalid on fields.

- -
+ +
- +
Link copied to clipboard
-

Means that a field should be made non-final (mutable). Invalid on classes and methods. Note: there is no reason for the mappings format to merge this and EXTENDABLE to fix the incompatibility and simplify the format a little, it just is not the case.

+

Means that a field should be made non-final (mutable). Invalid on classes and methods. Note: there is no reason for the mappings format to merge this and EXTENDABLE to fix the incompatibility and simplify the format a little, it just is not the case.

@@ -121,17 +118,17 @@

Entries

Types

-
-
+
+
- +
Link copied to clipboard
-
object Companion

Allows for easy lookup of AccessTypes by a given String

+
object Companion

Allows for easy lookup of AccessTypes by a given String

@@ -140,62 +137,62 @@

Types

Properties

-
-
+
+
- +
Link copied to clipboard
-

Returns a representation of an immutable list of all enum entries, in the order they're declared.

+

Returns a representation of an immutable list of all enum entries, in the order they're declared.

- -
+ +
- +
Link copied to clipboard
-
val mask: Int

The value that is equivalent to an AccessMask as an integer instead of a value class

+
val mask: Int

The value that is equivalent to an AccessMask as an integer instead of a value class

- -
+ +
- - + +
Link copied to clipboard
- +
- -
+ +
- - + +
Link copied to clipboard
- +
@@ -204,47 +201,47 @@

Properties

Functions

-
-
+
+
- - + +
Link copied to clipboard
-

Creates an AccessMask containing only this AccessType

+

Creates an AccessMask containing only this AccessType

- -
+ +
- - + +
Link copied to clipboard
-

Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)

+

Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)

- -
+ +
- +
Link copied to clipboard
-

Returns an array containing the constants of this enum type, in the order they're declared.

+

Returns an array containing the constants of this enum type, in the order they're declared.

@@ -255,12 +252,11 @@

Functions

+ diff --git a/docs/mappings-util/com.grappenmaker.mappings/-access-type/mask.html b/docs/mappings-util/com.grappenmaker.mappings/-access-type/mask.html index 75eba33..bc19963 100644 --- a/docs/mappings-util/com.grappenmaker.mappings/-access-type/mask.html +++ b/docs/mappings-util/com.grappenmaker.mappings/-access-type/mask.html @@ -1,10 +1,9 @@ - + mask - - + - - + + - - - - - - - + + + + + +
-
- +
+

mask

- +
+ diff --git a/docs/mappings-util/com.grappenmaker.mappings/-access-type/to-mask.html b/docs/mappings-util/com.grappenmaker.mappings/-access-type/to-mask.html index 851fd5a..0c4c7b4 100644 --- a/docs/mappings-util/com.grappenmaker.mappings/-access-type/to-mask.html +++ b/docs/mappings-util/com.grappenmaker.mappings/-access-type/to-mask.html @@ -1,10 +1,9 @@ - + toMask - - + - - + + - - - - - - - + + + + + +
-
- +
+
-

toMask

+

toMask

-

Creates an AccessMask containing only this AccessType

+

Creates an AccessMask containing only this AccessType

+ diff --git a/docs/mappings-util/com.grappenmaker.mappings/-access-type/value-of.html b/docs/mappings-util/com.grappenmaker.mappings/-access-type/value-of.html index bad3ba7..2d87870 100644 --- a/docs/mappings-util/com.grappenmaker.mappings/-access-type/value-of.html +++ b/docs/mappings-util/com.grappenmaker.mappings/-access-type/value-of.html @@ -1,10 +1,9 @@ - + valueOf - - + - - + + - - - - - - - + + + + + +
-
- +
+
-

valueOf

+

valueOf

-

Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)

Throws

if this enum type has no constant with the specified name

+

Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)

Throws

if this enum type has no constant with the specified name

+ diff --git a/docs/mappings-util/com.grappenmaker.mappings/-access-type/values.html b/docs/mappings-util/com.grappenmaker.mappings/-access-type/values.html index 6d45505..b0d6556 100644 --- a/docs/mappings-util/com.grappenmaker.mappings/-access-type/values.html +++ b/docs/mappings-util/com.grappenmaker.mappings/-access-type/values.html @@ -1,10 +1,9 @@ - + values - - + - - + + - - - - - - - + + + + + +
-
- +
+

values

-

Returns an array containing the constants of this enum type, in the order they're declared.

This method may be used to iterate over the constants.

+

Returns an array containing the constants of this enum type, in the order they're declared.

This method may be used to iterate over the constants.

+ diff --git a/docs/mappings-util/com.grappenmaker.mappings/-access-widener-tree/-access-widener-tree.html b/docs/mappings-util/com.grappenmaker.mappings/-access-widener-tree/-access-widener-tree.html index 4ff4274..31be200 100644 --- a/docs/mappings-util/com.grappenmaker.mappings/-access-widener-tree/-access-widener-tree.html +++ b/docs/mappings-util/com.grappenmaker.mappings/-access-widener-tree/-access-widener-tree.html @@ -1,10 +1,9 @@ - + AccessWidenerTree - - + - - + + - - - - - - - + + + + + +
-
- +
+
-

AccessWidenerTree

+

AccessWidenerTree

-
constructor(namespace: String, classes: Map<String, AccessedClass>)(source)
+
constructor(namespace: String, classes: Map<String, AccessedClass>)(source)
+ diff --git a/docs/mappings-util/com.grappenmaker.mappings/-access-widener-tree/classes.html b/docs/mappings-util/com.grappenmaker.mappings/-access-widener-tree/classes.html index 3f1edcd..181acef 100644 --- a/docs/mappings-util/com.grappenmaker.mappings/-access-widener-tree/classes.html +++ b/docs/mappings-util/com.grappenmaker.mappings/-access-widener-tree/classes.html @@ -1,10 +1,9 @@ - + classes - - + - - + + - - - - - - - + + + + + +
-
- +
+

classes

- +
+ diff --git a/docs/mappings-util/com.grappenmaker.mappings/-access-widener-tree/index.html b/docs/mappings-util/com.grappenmaker.mappings/-access-widener-tree/index.html index 50338c6..4747ebf 100644 --- a/docs/mappings-util/com.grappenmaker.mappings/-access-widener-tree/index.html +++ b/docs/mappings-util/com.grappenmaker.mappings/-access-widener-tree/index.html @@ -1,10 +1,9 @@ - + AccessWidenerTree - - + - - + + - - - - - - - + + + + + +
-
- +
+
-

AccessWidenerTree

-
data class AccessWidenerTree(val namespace: String, val classes: Map<String, AccessedClass>)(source)

A tree-like structure that is easier to use when access widening one or more classes

+

AccessWidenerTree

+
data class AccessWidenerTree(val namespace: String, val classes: Map<String, AccessedClass>)(source)

A tree-like structure that is easier to use when access widening one or more classes

Constructors

-
-
+
+
- - + +
Link copied to clipboard
-
constructor(namespace: String, classes: Map<String, AccessedClass>)
+
constructor(namespace: String, classes: Map<String, AccessedClass>)
@@ -91,32 +88,32 @@

Constructors

Properties

-
-
+
+
- +
Link copied to clipboard
-

All of the "touched" classes for each internal/JVMS class name

+

All of the "touched" classes for each internal/JVMS class name

- -
+ +
- +
Link copied to clipboard
-

The namespace the names of the members in this tree are in

+

The namespace the names of the members in this tree are in

@@ -127,12 +124,11 @@

Properties

+ diff --git a/docs/mappings-util/com.grappenmaker.mappings/-access-widener-tree/namespace.html b/docs/mappings-util/com.grappenmaker.mappings/-access-widener-tree/namespace.html index a059979..dd2079b 100644 --- a/docs/mappings-util/com.grappenmaker.mappings/-access-widener-tree/namespace.html +++ b/docs/mappings-util/com.grappenmaker.mappings/-access-widener-tree/namespace.html @@ -1,10 +1,9 @@ - + namespace - - + - - + + - - - - - - - + + + + + +
-
- +
+

namespace

- +
+ diff --git a/docs/mappings-util/com.grappenmaker.mappings/-access-widener-visitor/-access-widener-visitor.html b/docs/mappings-util/com.grappenmaker.mappings/-access-widener-visitor/-access-widener-visitor.html index 5d01b12..6efae7d 100644 --- a/docs/mappings-util/com.grappenmaker.mappings/-access-widener-visitor/-access-widener-visitor.html +++ b/docs/mappings-util/com.grappenmaker.mappings/-access-widener-visitor/-access-widener-visitor.html @@ -1,10 +1,9 @@ - + AccessWidenerVisitor - - + - - + + - - - - - - - + + + + + +
-
- +
+
-

AccessWidenerVisitor

+

AccessWidenerVisitor

-
constructor(parent: ClassVisitor?, tree: AccessWidenerTree)(source)
+
constructor(parent: ClassVisitor?, tree: AccessWidenerTree)(source)
+ diff --git a/docs/mappings-util/com.grappenmaker.mappings/-access-widener-visitor/index.html b/docs/mappings-util/com.grappenmaker.mappings/-access-widener-visitor/index.html index 9f8c546..d37fea5 100644 --- a/docs/mappings-util/com.grappenmaker.mappings/-access-widener-visitor/index.html +++ b/docs/mappings-util/com.grappenmaker.mappings/-access-widener-visitor/index.html @@ -1,10 +1,9 @@ - + AccessWidenerVisitor - - + - - + + - - - - - - - + + + + + +
-
- +
+
-

AccessWidenerVisitor

-

ClassVisitor that can handle access widening tasks

+

AccessWidenerVisitor

+

ClassVisitor that can handle access widening tasks

Constructors

-
-
+
+
- - + +
Link copied to clipboard
-
constructor(parent: ClassVisitor?, tree: AccessWidenerTree)
+
constructor(parent: ClassVisitor?, tree: AccessWidenerTree)
@@ -91,242 +88,242 @@

Constructors

Functions

-
-
+
+
- - + +
Link copied to clipboard
- +
- -
+ +
- +
Link copied to clipboard
-
open override fun visit(version: Int, access: Int, name: String, signature: String?, superName: String?, interfaces: Array<String>?)
+
open override fun visit(version: Int, access: Int, name: String, signature: String?, superName: String?, interfaces: Array<String>?)
- -
+ +
- - + +
Link copied to clipboard
- -
+ +
- - + +
Link copied to clipboard
- +
- -
+ +
- - + +
Link copied to clipboard
-
open fun visitEnd()
+
open fun visitEnd()
- -
+ +
- - + +
Link copied to clipboard
-
open override fun visitField(access: Int, name: String, descriptor: String, signature: String?, value: Any?): FieldVisitor?
+
open override fun visitField(access: Int, name: String, descriptor: String, signature: String?, value: Any?): FieldVisitor?
- -
+ +
- - + +
Link copied to clipboard
-
open override fun visitInnerClass(name: String, outerName: String?, innerName: String?, access: Int)
+
open override fun visitInnerClass(name: String, outerName: String?, innerName: String?, access: Int)
- -
+ +
- - + +
Link copied to clipboard
-
open override fun visitMethod(access: Int, name: String, descriptor: String, signature: String?, exceptions: Array<String>?): MethodVisitor
+
open override fun visitMethod(access: Int, name: String, descriptor: String, signature: String?, exceptions: Array<String>?): MethodVisitor
- -
+ +
- - + +
Link copied to clipboard
-
open fun visitModule(p0: String, p1: Int, p2: String): ModuleVisitor
+
open fun visitModule(p0: String, p1: Int, p2: String): ModuleVisitor
- -
+ +
- - + +
Link copied to clipboard
-
open fun visitNestHost(p0: String)
+
open fun visitNestHost(p0: String)
- -
+ +
- - + +
Link copied to clipboard
-
open fun visitNestMember(p0: String)
+
open fun visitNestMember(p0: String)
- -
+ +
- - + +
Link copied to clipboard
-
open fun visitOuterClass(p0: String, p1: String, p2: String)
+
open fun visitOuterClass(p0: String, p1: String, p2: String)
- -
+ +
- - + +
Link copied to clipboard
-
open override fun visitPermittedSubclass(permittedSubclass: String?)
+
open override fun visitPermittedSubclass(permittedSubclass: String?)
- -
+ + - -
+ +
- - + +
Link copied to clipboard
-
open fun visitSource(p0: String, p1: String)
+
open fun visitSource(p0: String, p1: String)
- -
+ +
- - + +
Link copied to clipboard
@@ -337,12 +334,11 @@

Functions

+ diff --git a/docs/mappings-util/com.grappenmaker.mappings/-access-widener-visitor/visit-field.html b/docs/mappings-util/com.grappenmaker.mappings/-access-widener-visitor/visit-field.html index a429cd6..ad54bbb 100644 --- a/docs/mappings-util/com.grappenmaker.mappings/-access-widener-visitor/visit-field.html +++ b/docs/mappings-util/com.grappenmaker.mappings/-access-widener-visitor/visit-field.html @@ -1,10 +1,9 @@ - + visitField - - + - - + + - - - - - - - + + + + + +
-
- +
+
-

visitField

+

visitField

-
open override fun visitField(access: Int, name: String, descriptor: String, signature: String?, value: Any?): FieldVisitor?(source)
+
open override fun visitField(access: Int, name: String, descriptor: String, signature: String?, value: Any?): FieldVisitor?(source)
+ diff --git a/docs/mappings-util/com.grappenmaker.mappings/-access-widener-visitor/visit-inner-class.html b/docs/mappings-util/com.grappenmaker.mappings/-access-widener-visitor/visit-inner-class.html index ba607a7..2dc85b6 100644 --- a/docs/mappings-util/com.grappenmaker.mappings/-access-widener-visitor/visit-inner-class.html +++ b/docs/mappings-util/com.grappenmaker.mappings/-access-widener-visitor/visit-inner-class.html @@ -1,10 +1,9 @@ - + visitInnerClass - - + - - + + - - - - - - - + + + + + +
-
- +
+
-

visitInnerClass

+

visitInnerClass

-
open override fun visitInnerClass(name: String, outerName: String?, innerName: String?, access: Int)(source)
+
open override fun visitInnerClass(name: String, outerName: String?, innerName: String?, access: Int)(source)
+ diff --git a/docs/mappings-util/com.grappenmaker.mappings/-access-widener-visitor/visit-method.html b/docs/mappings-util/com.grappenmaker.mappings/-access-widener-visitor/visit-method.html index e51b0b2..3cb1f40 100644 --- a/docs/mappings-util/com.grappenmaker.mappings/-access-widener-visitor/visit-method.html +++ b/docs/mappings-util/com.grappenmaker.mappings/-access-widener-visitor/visit-method.html @@ -1,10 +1,9 @@ - + visitMethod - - + - - + + - - - - - - - + + + + + +
-
- +
+
-

visitMethod

+

visitMethod

-
open override fun visitMethod(access: Int, name: String, descriptor: String, signature: String?, exceptions: Array<String>?): MethodVisitor(source)
+
open override fun visitMethod(access: Int, name: String, descriptor: String, signature: String?, exceptions: Array<String>?): MethodVisitor(source)
+ diff --git a/docs/mappings-util/com.grappenmaker.mappings/-access-widener-visitor/visit-permitted-subclass.html b/docs/mappings-util/com.grappenmaker.mappings/-access-widener-visitor/visit-permitted-subclass.html index 3081e53..10520a7 100644 --- a/docs/mappings-util/com.grappenmaker.mappings/-access-widener-visitor/visit-permitted-subclass.html +++ b/docs/mappings-util/com.grappenmaker.mappings/-access-widener-visitor/visit-permitted-subclass.html @@ -1,10 +1,9 @@ - + visitPermittedSubclass - - + - - + + - - - - - - - + + + + + +
-
- +
+
-

visitPermittedSubclass

+

visitPermittedSubclass

-
open override fun visitPermittedSubclass(permittedSubclass: String?)(source)
+
open override fun visitPermittedSubclass(permittedSubclass: String?)(source)
+ diff --git a/docs/mappings-util/com.grappenmaker.mappings/-access-widener-visitor/visit.html b/docs/mappings-util/com.grappenmaker.mappings/-access-widener-visitor/visit.html index 954207e..e93d8ea 100644 --- a/docs/mappings-util/com.grappenmaker.mappings/-access-widener-visitor/visit.html +++ b/docs/mappings-util/com.grappenmaker.mappings/-access-widener-visitor/visit.html @@ -1,10 +1,9 @@ - + visit - - + - - + + - - - - - - - + + + + + +
-
- +
+

visit

-
open override fun visit(version: Int, access: Int, name: String, signature: String?, superName: String?, interfaces: Array<String>?)(source)
+
open override fun visit(version: Int, access: Int, name: String, signature: String?, superName: String?, interfaces: Array<String>?)(source)
+ diff --git a/docs/mappings-util/com.grappenmaker.mappings/-access-widener/-access-widener.html b/docs/mappings-util/com.grappenmaker.mappings/-access-widener/-access-widener.html index 31933df..cd602a0 100644 --- a/docs/mappings-util/com.grappenmaker.mappings/-access-widener/-access-widener.html +++ b/docs/mappings-util/com.grappenmaker.mappings/-access-widener/-access-widener.html @@ -1,10 +1,9 @@ - + AccessWidener - - + - - + + - - - - - - - + + + + + +
-
- +
+
-

AccessWidener

+

AccessWidener

-
constructor(version: Int, namespace: String, classes: Map<String, AccessMask>, methods: Map<AccessedMember, AccessMask>, fields: Map<AccessedMember, AccessMask>)(source)
+
constructor(version: Int, namespace: String, classes: Map<String, AccessMask>, methods: Map<AccessedMember, AccessMask>, fields: Map<AccessedMember, AccessMask>)(source)
+ diff --git a/docs/mappings-util/com.grappenmaker.mappings/-access-widener/classes.html b/docs/mappings-util/com.grappenmaker.mappings/-access-widener/classes.html index 89f1860..8686609 100644 --- a/docs/mappings-util/com.grappenmaker.mappings/-access-widener/classes.html +++ b/docs/mappings-util/com.grappenmaker.mappings/-access-widener/classes.html @@ -1,10 +1,9 @@ - + classes - - + - - + + - - - - - - - + + + + + +
-
- +
+

classes

- +
+ diff --git a/docs/mappings-util/com.grappenmaker.mappings/-access-widener/fields.html b/docs/mappings-util/com.grappenmaker.mappings/-access-widener/fields.html index 7cd0948..b17f00e 100644 --- a/docs/mappings-util/com.grappenmaker.mappings/-access-widener/fields.html +++ b/docs/mappings-util/com.grappenmaker.mappings/-access-widener/fields.html @@ -1,10 +1,9 @@ - + fields - - + - - + + - - - - - - - + + + + + +
-
- +
+

fields

- +
+ diff --git a/docs/mappings-util/com.grappenmaker.mappings/-access-widener/index.html b/docs/mappings-util/com.grappenmaker.mappings/-access-widener/index.html index 23c2908..812d8fa 100644 --- a/docs/mappings-util/com.grappenmaker.mappings/-access-widener/index.html +++ b/docs/mappings-util/com.grappenmaker.mappings/-access-widener/index.html @@ -1,10 +1,9 @@ - + AccessWidener - - + - - + + - - - - - - - + + + + + +
-
- +
+
-

AccessWidener

-
data class AccessWidener(val version: Int, val namespace: String, val classes: Map<String, AccessMask>, val methods: Map<AccessedMember, AccessMask>, val fields: Map<AccessedMember, AccessMask>)(source)

Represents an access widener file

+

AccessWidener

+
data class AccessWidener(val version: Int, val namespace: String, val classes: Map<String, AccessMask>, val methods: Map<AccessedMember, AccessMask>, val fields: Map<AccessedMember, AccessMask>)(source)

Represents an access widener file

Constructors

-
-
+
+
- - + +
Link copied to clipboard
-
constructor(version: Int, namespace: String, classes: Map<String, AccessMask>, methods: Map<AccessedMember, AccessMask>, fields: Map<AccessedMember, AccessMask>)
+
constructor(version: Int, namespace: String, classes: Map<String, AccessMask>, methods: Map<AccessedMember, AccessMask>, fields: Map<AccessedMember, AccessMask>)
@@ -91,77 +88,77 @@

Constructors

Properties

-
-
+
+
- +
Link copied to clipboard
-

All masks for each "touched" class in the file

+

All masks for each "touched" class in the file

- -
+ +
- +
Link copied to clipboard
-

All masks for each "touched" field in the file

+

All masks for each "touched" field in the file

- -
+ +
- +
Link copied to clipboard
-

All masks for each "touched" method in the file

+

All masks for each "touched" method in the file

- -
+ +
- +
Link copied to clipboard
-

The namespace the names of the members in this file are in

+

The namespace the names of the members in this file are in

- -
+ +
- +
Link copied to clipboard
-

The version (part of the file format but undocumented elsewhere) of the file

+

The version (part of the file format but undocumented elsewhere) of the file

@@ -170,77 +167,77 @@

Properties

Functions

-
-
+
+
- +
Link copied to clipboard
-

Combines this AccessWidener with other, returning a new access widener that, when applied, produces the same result as applying one widener and then the other.

+

Combines this AccessWidener with other, returning a new access widener that, when applied, produces the same result as applying one widener and then the other.

- -
+ +
- +
Link copied to clipboard
-
fun AccessWidener.remap(mappings: Mappings, toNamespace: String): AccessWidener

Remaps this AccessWidener using mappings to a new namespace toNamespace to produce a new AccessWidener

fun AccessWidener.remap(remapper: Remapper, toNamespace: String): AccessWidener

Remaps this AccessWidener using a remapper to a new namespace toNamespace to produce a new AccessWidener

+
fun AccessWidener.remap(mappings: Mappings, toNamespace: String): AccessWidener

Remaps this AccessWidener using mappings to a new namespace toNamespace to produce a new AccessWidener

fun AccessWidener.remap(remapper: Remapper, toNamespace: String): AccessWidener

Remaps this AccessWidener using a remapper to a new namespace toNamespace to produce a new AccessWidener

- -
+ +
- - + +
Link copied to clipboard
- -
+ +
- +
Link copied to clipboard
-

Writes this AccessWidener structure to a file representing this AccessWidener

+

Writes this AccessWidener structure to a file representing this AccessWidener

- -
+ +
- - + +
Link copied to clipboard
-

Writes this AccessWidener structure to a lazily generated sequence representing this AccessWidener

+

Writes this AccessWidener structure to a lazily generated sequence representing this AccessWidener

@@ -251,12 +248,11 @@

Functions

+ diff --git a/docs/mappings-util/com.grappenmaker.mappings/-access-widener/methods.html b/docs/mappings-util/com.grappenmaker.mappings/-access-widener/methods.html index 041707f..e8cd87e 100644 --- a/docs/mappings-util/com.grappenmaker.mappings/-access-widener/methods.html +++ b/docs/mappings-util/com.grappenmaker.mappings/-access-widener/methods.html @@ -1,10 +1,9 @@ - + methods - - + - - + + - - - - - - - + + + + + +
-
- +
+

methods

- +
+ diff --git a/docs/mappings-util/com.grappenmaker.mappings/-access-widener/namespace.html b/docs/mappings-util/com.grappenmaker.mappings/-access-widener/namespace.html index d94f7ee..f86d773 100644 --- a/docs/mappings-util/com.grappenmaker.mappings/-access-widener/namespace.html +++ b/docs/mappings-util/com.grappenmaker.mappings/-access-widener/namespace.html @@ -1,10 +1,9 @@ - + namespace - - + - - + + - - - - - - - + + + + + +
-
- +
+

namespace

- +
+ diff --git a/docs/mappings-util/com.grappenmaker.mappings/-access-widener/version.html b/docs/mappings-util/com.grappenmaker.mappings/-access-widener/version.html index aa856b1..35d991c 100644 --- a/docs/mappings-util/com.grappenmaker.mappings/-access-widener/version.html +++ b/docs/mappings-util/com.grappenmaker.mappings/-access-widener/version.html @@ -1,10 +1,9 @@ - + version - - + - - + + - - - - - - - + + + + + +
-
- +
+

version

- +
+ diff --git a/docs/mappings-util/com.grappenmaker.mappings/-accessed-class/-accessed-class.html b/docs/mappings-util/com.grappenmaker.mappings/-accessed-class/-accessed-class.html index ed7df96..299888f 100644 --- a/docs/mappings-util/com.grappenmaker.mappings/-accessed-class/-accessed-class.html +++ b/docs/mappings-util/com.grappenmaker.mappings/-accessed-class/-accessed-class.html @@ -1,10 +1,9 @@ - + AccessedClass - - + - - + + - - - - - - - + + + + + +
-
- +
+
-

AccessedClass

+

AccessedClass

-
constructor(mask: AccessMask, methods: Map<MemberIdentifier, AccessMask>, fields: Map<MemberIdentifier, AccessMask>)(source)
+
constructor(mask: AccessMask, methods: Map<MemberIdentifier, AccessMask>, fields: Map<MemberIdentifier, AccessMask>)(source)
+ diff --git a/docs/mappings-util/com.grappenmaker.mappings/-accessed-class/fields.html b/docs/mappings-util/com.grappenmaker.mappings/-accessed-class/fields.html index 1b6966f..913fefb 100644 --- a/docs/mappings-util/com.grappenmaker.mappings/-accessed-class/fields.html +++ b/docs/mappings-util/com.grappenmaker.mappings/-accessed-class/fields.html @@ -1,10 +1,9 @@ - + fields - - + - - + + - - - - - - - + + + + + +
-
- +
+

fields

- +
+ diff --git a/docs/mappings-util/com.grappenmaker.mappings/-accessed-class/index.html b/docs/mappings-util/com.grappenmaker.mappings/-accessed-class/index.html index 249ac48..f71dd73 100644 --- a/docs/mappings-util/com.grappenmaker.mappings/-accessed-class/index.html +++ b/docs/mappings-util/com.grappenmaker.mappings/-accessed-class/index.html @@ -1,10 +1,9 @@ - + AccessedClass - - + - - + + - - - - - - - + + + + + +
-
- +
+
-

AccessedClass

-
data class AccessedClass(val mask: AccessMask, val methods: Map<MemberIdentifier, AccessMask>, val fields: Map<MemberIdentifier, AccessMask>)(source)

Part of an AccessWidenerTree

+

AccessedClass

+
data class AccessedClass(val mask: AccessMask, val methods: Map<MemberIdentifier, AccessMask>, val fields: Map<MemberIdentifier, AccessMask>)(source)

Part of an AccessWidenerTree

Constructors

-
-
+
+
- - + +
Link copied to clipboard
-
constructor(mask: AccessMask, methods: Map<MemberIdentifier, AccessMask>, fields: Map<MemberIdentifier, AccessMask>)
+
constructor(mask: AccessMask, methods: Map<MemberIdentifier, AccessMask>, fields: Map<MemberIdentifier, AccessMask>)
@@ -91,77 +88,77 @@

Constructors

Properties

-
-
+
+
- +
Link copied to clipboard
-

All of the "touched" fields for each name-descriptor pair

+

All of the "touched" fields for each name-descriptor pair

- -
+ +
- +
Link copied to clipboard
-

The mask that was configured for this class

+

The mask that was configured for this class

- -
+ +
- +
Link copied to clipboard
-

All of the "touched" methods for each name-descriptor pair

+

All of the "touched" methods for each name-descriptor pair

- -
+ +
- +
Link copied to clipboard
-

A mask of AccessTypes that are propagated down to the class as a result of wideners in members

+

A mask of AccessTypes that are propagated down to the class as a result of wideners in members

- -
+ +
- +
Link copied to clipboard
-

The mask that should be applied to this class

+

The mask that should be applied to this class

@@ -172,12 +169,11 @@

Properties

+ diff --git a/docs/mappings-util/com.grappenmaker.mappings/-accessed-class/mask.html b/docs/mappings-util/com.grappenmaker.mappings/-accessed-class/mask.html index a36237a..1527133 100644 --- a/docs/mappings-util/com.grappenmaker.mappings/-accessed-class/mask.html +++ b/docs/mappings-util/com.grappenmaker.mappings/-accessed-class/mask.html @@ -1,10 +1,9 @@ - + mask - - + - - + + - - - - - - - + + + + + +
-
- +
+

mask

- +
+ diff --git a/docs/mappings-util/com.grappenmaker.mappings/-accessed-class/methods.html b/docs/mappings-util/com.grappenmaker.mappings/-accessed-class/methods.html index 4833783..1c5a678 100644 --- a/docs/mappings-util/com.grappenmaker.mappings/-accessed-class/methods.html +++ b/docs/mappings-util/com.grappenmaker.mappings/-accessed-class/methods.html @@ -1,10 +1,9 @@ - + methods - - + - - + + - - - - - - - + + + + + +
-
- +
+

methods

- +
+ diff --git a/docs/mappings-util/com.grappenmaker.mappings/-accessed-class/propagated.html b/docs/mappings-util/com.grappenmaker.mappings/-accessed-class/propagated.html index 2cf12ec..3a76ce3 100644 --- a/docs/mappings-util/com.grappenmaker.mappings/-accessed-class/propagated.html +++ b/docs/mappings-util/com.grappenmaker.mappings/-accessed-class/propagated.html @@ -1,10 +1,9 @@ - + propagated - - + - - + + - - - - - - - + + + + + +
-
- +
+

propagated

- +
+ diff --git a/docs/mappings-util/com.grappenmaker.mappings/-accessed-class/total.html b/docs/mappings-util/com.grappenmaker.mappings/-accessed-class/total.html index e9c5730..d556fb2 100644 --- a/docs/mappings-util/com.grappenmaker.mappings/-accessed-class/total.html +++ b/docs/mappings-util/com.grappenmaker.mappings/-accessed-class/total.html @@ -1,10 +1,9 @@ - + total - - + - - + + - - - - - - - + + + + + +
-
- +
+

total

- +
+ diff --git a/docs/mappings-util/com.grappenmaker.mappings/-accessed-member/-accessed-member.html b/docs/mappings-util/com.grappenmaker.mappings/-accessed-member/-accessed-member.html index 8732be6..7ffb48d 100644 --- a/docs/mappings-util/com.grappenmaker.mappings/-accessed-member/-accessed-member.html +++ b/docs/mappings-util/com.grappenmaker.mappings/-accessed-member/-accessed-member.html @@ -1,10 +1,9 @@ - + AccessedMember - - + - - + + - - - - - - - + + + + + +
-
- +
+
-

AccessedMember

+

AccessedMember

-
constructor(owner: String, name: String, desc: String)(source)
+
constructor(owner: String, name: String, desc: String)(source)
+ diff --git a/docs/mappings-util/com.grappenmaker.mappings/-accessed-member/desc.html b/docs/mappings-util/com.grappenmaker.mappings/-accessed-member/desc.html index 9863a12..e9d1b41 100644 --- a/docs/mappings-util/com.grappenmaker.mappings/-accessed-member/desc.html +++ b/docs/mappings-util/com.grappenmaker.mappings/-accessed-member/desc.html @@ -1,10 +1,9 @@ - + desc - - + - - + + - - - - - - - + + + + + +
-
- +
+

desc

- +
+ diff --git a/docs/mappings-util/com.grappenmaker.mappings/-accessed-member/index.html b/docs/mappings-util/com.grappenmaker.mappings/-accessed-member/index.html index 5c036b9..543f768 100644 --- a/docs/mappings-util/com.grappenmaker.mappings/-accessed-member/index.html +++ b/docs/mappings-util/com.grappenmaker.mappings/-accessed-member/index.html @@ -1,10 +1,9 @@ - + AccessedMember - - + - - + + - - - - - - - + + + + + +
-
- +
+
-

AccessedMember

-
data class AccessedMember(val owner: String, val name: String, val desc: String)(source)

Represents a field or method that is being widened

+

AccessedMember

+
data class AccessedMember(val owner: String, val name: String, val desc: String)(source)

Represents a field or method that is being widened

Constructors

-
-
+
+
- - + +
Link copied to clipboard
-
constructor(owner: String, name: String, desc: String)
+
constructor(owner: String, name: String, desc: String)
@@ -91,47 +88,47 @@

Constructors

Properties

-
-
+
+
- +
Link copied to clipboard
-

The descriptor of the represented member

+

The descriptor of the represented member

- -
+ +
- +
Link copied to clipboard
-

The name of the represented member

+

The name of the represented member

- -
+ +
- +
Link copied to clipboard
-

The internal/JVMS name of the owner of the represented member

+

The internal/JVMS name of the owner of the represented member

@@ -142,12 +139,11 @@

Properties

+ diff --git a/docs/mappings-util/com.grappenmaker.mappings/-accessed-member/name.html b/docs/mappings-util/com.grappenmaker.mappings/-accessed-member/name.html index 6eca251..c8213cb 100644 --- a/docs/mappings-util/com.grappenmaker.mappings/-accessed-member/name.html +++ b/docs/mappings-util/com.grappenmaker.mappings/-accessed-member/name.html @@ -1,10 +1,9 @@ - + name - - + - - + + - - - - - - - + + + + + +
-
- +
+

name

- +
+ diff --git a/docs/mappings-util/com.grappenmaker.mappings/-accessed-member/owner.html b/docs/mappings-util/com.grappenmaker.mappings/-accessed-member/owner.html index fe0510c..31a72e8 100644 --- a/docs/mappings-util/com.grappenmaker.mappings/-accessed-member/owner.html +++ b/docs/mappings-util/com.grappenmaker.mappings/-accessed-member/owner.html @@ -1,10 +1,9 @@ - + owner - - + - - + + - - - - - - - + + + + + +
-
- +
+

owner

- +
+ diff --git a/docs/mappings-util/com.grappenmaker.mappings/-c-s-r-g-mappings-format/index.html b/docs/mappings-util/com.grappenmaker.mappings/-c-s-r-g-mappings-format/index.html index 10b8395..b4de13a 100644 --- a/docs/mappings-util/com.grappenmaker.mappings/-c-s-r-g-mappings-format/index.html +++ b/docs/mappings-util/com.grappenmaker.mappings/-c-s-r-g-mappings-format/index.html @@ -1,10 +1,9 @@ - + CSRGMappingsFormat - - + - - + + - - - - - - - + + + + + +
-
- +
+
-

CSRGMappingsFormat

-

Represents the CSRG mappings format

+

CSRGMappingsFormat

+

Represents the CSRG mappings format

Functions

-
-
+
+
- +
Link copied to clipboard
-
open override fun detect(lines: List<String>): Boolean

Returns whether this MappingsFormat thinks the lines represent a valid input for the mappings parser

+
open override fun detect(lines: List<String>): Boolean

Returns whether this MappingsFormat thinks the lines represent a valid input for the mappings parser

- -
+ +
- +
Link copied to clipboard
-
open override fun parse(lines: Iterator<String>): CSRGMappings

Parses lines (an iterator of lines in a mappings file) into a mappings data structure. Throws an IllegalStateException when lines is not a valid input for this mappings format.

open fun parse(lines: List<String>): CSRGMappings

Parses lines (representing a mappings file) into a mappings data structure. Throws an IllegalStateException when lines is not a valid input for this mappings format. To check if lines can be parsed, you could invoke detect.

+
open override fun parse(lines: Iterator<String>): CSRGMappings

Parses lines (an iterator of lines in a mappings file) into a mappings data structure. Throws an IllegalStateException when lines is not a valid input for this mappings format.

open fun parse(lines: List<String>): CSRGMappings

Parses lines (representing a mappings file) into a mappings data structure. Throws an IllegalStateException when lines is not a valid input for this mappings format. To check if lines can be parsed, you could invoke detect.

- -
+ +
- +
Link copied to clipboard
-

Parses lines (a Sequence of lines in a mappings file) into a mappings data structure. Throws an IllegalStateException when lines is not a valid input for this mappings format.

+

Parses lines (a Sequence of lines in a mappings file) into a mappings data structure. Throws an IllegalStateException when lines is not a valid input for this mappings format.

- -
+ +
- - + +
Link copied to clipboard
-
open fun write(mappings: CSRGMappings): List<String>

Writes mappings compatible with this MappingsFormat back to a list of lines representing a mappings file

+
open fun write(mappings: CSRGMappings): List<String>

Writes mappings compatible with this MappingsFormat back to a list of lines representing a mappings file

- -
+ +
- - + +
Link copied to clipboard
-
open override fun writeLazy(mappings: CSRGMappings): Sequence<String>

Writes mappings compatible with this MappingsFormat to a lazily evaluated Sequence

+
open override fun writeLazy(mappings: CSRGMappings): Sequence<String>

Writes mappings compatible with this MappingsFormat to a lazily evaluated Sequence

@@ -153,12 +150,11 @@

Functions

+ diff --git a/docs/mappings-util/com.grappenmaker.mappings/-c-s-r-g-mappings-format/parse.html b/docs/mappings-util/com.grappenmaker.mappings/-c-s-r-g-mappings-format/parse.html index e165ffb..74a91ec 100644 --- a/docs/mappings-util/com.grappenmaker.mappings/-c-s-r-g-mappings-format/parse.html +++ b/docs/mappings-util/com.grappenmaker.mappings/-c-s-r-g-mappings-format/parse.html @@ -1,10 +1,9 @@ - + parse - - + - - + + - - - - - - - + + + + + +
-
- +
+

parse

-
open override fun parse(lines: Iterator<String>): CSRGMappings(source)

Parses lines (an iterator of lines in a mappings file) into a mappings data structure. Throws an IllegalStateException when lines is not a valid input for this mappings format.

+
open override fun parse(lines: Iterator<String>): CSRGMappings(source)

Parses lines (an iterator of lines in a mappings file) into a mappings data structure. Throws an IllegalStateException when lines is not a valid input for this mappings format.

+ diff --git a/docs/mappings-util/com.grappenmaker.mappings/-c-s-r-g-mappings-format/write-lazy.html b/docs/mappings-util/com.grappenmaker.mappings/-c-s-r-g-mappings-format/write-lazy.html index 29668c9..6838680 100644 --- a/docs/mappings-util/com.grappenmaker.mappings/-c-s-r-g-mappings-format/write-lazy.html +++ b/docs/mappings-util/com.grappenmaker.mappings/-c-s-r-g-mappings-format/write-lazy.html @@ -1,10 +1,9 @@ - + writeLazy - - + - - + + - - - - - - - + + + + + +
-
- +
+
-

writeLazy

+

writeLazy

-
open override fun writeLazy(mappings: CSRGMappings): Sequence<String>(source)

Writes mappings compatible with this MappingsFormat to a lazily evaluated Sequence

+
open override fun writeLazy(mappings: CSRGMappings): Sequence<String>(source)

Writes mappings compatible with this MappingsFormat to a lazily evaluated Sequence

+ diff --git a/docs/mappings-util/com.grappenmaker.mappings/-c-s-r-g-mappings/-c-s-r-g-mappings.html b/docs/mappings-util/com.grappenmaker.mappings/-c-s-r-g-mappings/-c-s-r-g-mappings.html index a4862e6..520cff8 100644 --- a/docs/mappings-util/com.grappenmaker.mappings/-c-s-r-g-mappings/-c-s-r-g-mappings.html +++ b/docs/mappings-util/com.grappenmaker.mappings/-c-s-r-g-mappings/-c-s-r-g-mappings.html @@ -1,10 +1,9 @@ - + CSRGMappings - - + - - + + - - - - - - - + + + + + +
-
- +
+

CSRGMappings

-
constructor(classes: List<MappedClass>)(source)
+
constructor(classes: List<MappedClass>)(source)
+ diff --git a/docs/mappings-util/com.grappenmaker.mappings/-c-s-r-g-mappings/classes.html b/docs/mappings-util/com.grappenmaker.mappings/-c-s-r-g-mappings/classes.html index 70d50f3..3458f03 100644 --- a/docs/mappings-util/com.grappenmaker.mappings/-c-s-r-g-mappings/classes.html +++ b/docs/mappings-util/com.grappenmaker.mappings/-c-s-r-g-mappings/classes.html @@ -1,10 +1,9 @@ - + classes - - + - - + + - - - - - - - + + + + + +
-
- +
+

classes

-
open override val classes: List<MappedClass>(source)
+
open override val classes: List<MappedClass>(source)
+ diff --git a/docs/mappings-util/com.grappenmaker.mappings/-c-s-r-g-mappings/index.html b/docs/mappings-util/com.grappenmaker.mappings/-c-s-r-g-mappings/index.html index 3434cfb..6c59097 100644 --- a/docs/mappings-util/com.grappenmaker.mappings/-c-s-r-g-mappings/index.html +++ b/docs/mappings-util/com.grappenmaker.mappings/-c-s-r-g-mappings/index.html @@ -1,10 +1,9 @@ - + CSRGMappings - - + - - + + - - - - - - - + + + + + +
-
- +
+

CSRGMappings

-
data class CSRGMappings(val classes: List<MappedClass>) : Mappings(source)

Represents a CSRG Mappings file

+
data class CSRGMappings(val classes: List<MappedClass>) : Mappings(source)

Represents a CSRG Mappings file

Constructors

-
-
+
+
- +
Link copied to clipboard
-
constructor(classes: List<MappedClass>)
+
constructor(classes: List<MappedClass>)
@@ -91,32 +88,32 @@

Constructors

Properties

-
-
+
+
- +
Link copied to clipboard
-
open override val classes: List<MappedClass>

All mapped classes in this mappings file (in order, not important)

+
open override val classes: List<MappedClass>

All mapped classes in this mappings file (in order, not important)

- -
+ +
- +
Link copied to clipboard
-
open override val namespaces: List<String>

All namespaces (in order) that this mappings file supports/contains

+
open override val namespaces: List<String>

All namespaces (in order) that this mappings file supports/contains

@@ -125,407 +122,407 @@

Properties

Functions

-
-
+
+
- - + +
Link copied to clipboard
-
fun Mappings.asASMMapping(from: String, to: String, includeMethods: Boolean = true, includeFields: Boolean = true): Map<String, String>

Returns a simple mapping representing all of the Mappings, mapping between the namespaces from and to. If includeMethods is true, then methods will be included in the mapping. If includeFields is true, then fields will be included in the mapping.

+
fun Mappings.asASMMapping(from: String, to: String, includeMethods: Boolean = true, includeFields: Boolean = true): Map<String, String>

Returns a simple mapping representing all of the Mappings, mapping between the namespaces from and to. If includeMethods is true, then methods will be included in the mapping. If includeFields is true, then fields will be included in the mapping.

- -
+ +
- - + +
Link copied to clipboard
- -
+ +
- - + +
Link copied to clipboard
- -
+ + - -
+ + - -
+ + - -
+ +
- - + +
Link copied to clipboard
- -
+ +
- - + +
Link copied to clipboard
-

Returns an asm SimpleRemapper for remapping references between namespaces from and to disregarding inheritance and lambdas. For proper remapping, you should use the MappingsRemapper.

+

Returns an asm SimpleRemapper for remapping references between namespaces from and to disregarding inheritance and lambdas. For proper remapping, you should use the MappingsRemapper.

- -
+ +
- - + +
Link copied to clipboard
-

Converts these Mappings to SRGMappings, enabling XSRG when extended is true.

+

Converts these Mappings to SRGMappings, enabling XSRG when extended is true.

- -
+ +
- - + +
Link copied to clipboard
-

Converts these Mappings to TinyMappings, enabling Tiny v2 when v2 is true.

+

Converts these Mappings to TinyMappings, enabling Tiny v2 when v2 is true.

- -
+ +
- - + +
Link copied to clipboard
-

Converts these Mappings to TSRGMappings, enabling TSRG v2 when v2 is true.

+

Converts these Mappings to TSRGMappings, enabling TSRG v2 when v2 is true.

- -
+ +
- - + +
Link copied to clipboard
-

Removes all duplicate namespace usages in this Mappings.

+

Removes all duplicate namespace usages in this Mappings.

- -
+ +
- - + +
Link copied to clipboard
-

Transforms this Mappings structure to a generic mappings implementation that maps between from and to.

+

Transforms this Mappings structure to a generic mappings implementation that maps between from and to.

- -
+ +
- - + +
Link copied to clipboard
-
inline fun Mappings.filterClasses(predicate: (MappedClass) -> Boolean): Mappings

Filters classes matching the predicate

+
inline fun Mappings.filterClasses(predicate: (MappedClass) -> Boolean): Mappings

Filters classes matching the predicate

- -
+ +
- - + +
Link copied to clipboard
-
inline fun Mappings.filterMethods(predicate: (owner: MappedClass, method: MappedMethod) -> Boolean): Mappings

Filters methods matching the predicate

+
inline fun Mappings.filterMethods(predicate: (owner: MappedClass, method: MappedMethod) -> Boolean): Mappings

Filters methods matching the predicate

- -
+ +
- - + +
Link copied to clipboard
-
fun Mappings.filterNamespaces(vararg allowed: String, allowDuplicates: Boolean = false): Mappings
fun Mappings.filterNamespaces(allowed: Set<String>, allowDuplicates: Boolean = false): Mappings

Filters these Mappings to only contain namespaces that are in allowed. If allowDuplicates is true, the returned Mappings will also have duplicate namespaces removed.

inline fun Mappings.filterNamespaces(allowDuplicates: Boolean = false, predicate: (String) -> Boolean): Mappings

Filters these Mappings to only contain namespaces for which the predicate returns true. If allowDuplicates is true, the returned Mappings will also have duplicate namespaces removed.

+
fun Mappings.filterNamespaces(vararg allowed: String, allowDuplicates: Boolean = false): Mappings
fun Mappings.filterNamespaces(allowed: Set<String>, allowDuplicates: Boolean = false): Mappings

Filters these Mappings to only contain namespaces that are in allowed. If allowDuplicates is true, the returned Mappings will also have duplicate namespaces removed.

inline fun Mappings.filterNamespaces(allowDuplicates: Boolean = false, predicate: (String) -> Boolean): Mappings

Filters these Mappings to only contain namespaces for which the predicate returns true. If allowDuplicates is true, the returned Mappings will also have duplicate namespaces removed.

- -
+ +
- +
Link copied to clipboard
-
fun Mappings.join(otherMappings: Mappings, intermediateNamespace: String, requireMatch: Boolean = false): Mappings

Joins together this Mappings with otherMappings, by matching on intermediateNamespace, producing new Mappings that contain all entries from this Mappings and otherMappings. If requireMatch is true, this method will throw an exception when no method or field or class is found

+
fun Mappings.join(otherMappings: Mappings, intermediateNamespace: String, requireMatch: Boolean = false): Mappings

Joins together this Mappings with otherMappings, by matching on intermediateNamespace, producing new Mappings that contain all entries from this Mappings and otherMappings. If requireMatch is true, this method will throw an exception when no method or field or class is found

- -
+ +
- - + +
Link copied to clipboard
-

Maps classes according to the given block

+

Maps classes according to the given block

- -
+ +
- - + +
Link copied to clipboard
-
inline fun Mappings.mapMethods(block: (owner: MappedClass, method: MappedMethod) -> MappedMethod): Mappings

Maps methods according to the given block

+
inline fun Mappings.mapMethods(block: (owner: MappedClass, method: MappedMethod) -> MappedMethod): Mappings

Maps methods according to the given block

- -
+ +
- +
Link copied to clipboard
-

Returns the index of a namespace named name, but throws an IllegalStateException when name is not in the Mappings.namespaces.

+

Returns the index of a namespace named name, but throws an IllegalStateException when name is not in the Mappings.namespaces.

- -
+ +
- - + +
Link copied to clipboard
-

See recoverFieldDescriptors. file is a jar file resource (caller is responsible for closing it) that contains the classes that are referenced in the generic overload.

fun Mappings.recoverFieldDescriptors(bytesProvider: (name: String) -> ByteArray?): Mappings

Attempts to recover field descriptors that are missing because the original mappings format did not specify them. bytesProvider is responsible for providing all of the classes that might be referenced in this Mappings object, such that the descriptors can be recovered based on named (fields can be uniquely identified by an owner-name pair). When field descriptors were not found, field mappings will not be passed onto the new Mappings as field mappings without descriptors will be considered invalid.

@JvmName(name = "recoverDescsByNode")
fun Mappings.recoverFieldDescriptors(nodeProvider: (name: String) -> ClassNode?): Mappings

Attempts to recover field descriptors that are missing because the original mappings format did not specify them. nodeProvider is responsible for providing all of the ClassNodes that might be referenced in this Mappings object, such that the descriptors can be recovered based on named (fields can be uniquely identified by an owner-name pair). When field descriptors were not found, field mappings will not be passed onto the new Mappings as field mappings without descriptors will be considered invalid.

+

See recoverFieldDescriptors. file is a jar file resource (caller is responsible for closing it) that contains the classes that are referenced in the generic overload.

fun Mappings.recoverFieldDescriptors(bytesProvider: (name: String) -> ByteArray?): Mappings

Attempts to recover field descriptors that are missing because the original mappings format did not specify them. bytesProvider is responsible for providing all of the classes that might be referenced in this Mappings object, such that the descriptors can be recovered based on named (fields can be uniquely identified by an owner-name pair). When field descriptors were not found, field mappings will not be passed onto the new Mappings as field mappings without descriptors will be considered invalid.

@JvmName(name = "recoverDescsByNode")
fun Mappings.recoverFieldDescriptors(nodeProvider: (name: String) -> ClassNode?): Mappings

Attempts to recover field descriptors that are missing because the original mappings format did not specify them. nodeProvider is responsible for providing all of the ClassNodes that might be referenced in this Mappings object, such that the descriptors can be recovered based on named (fields can be uniquely identified by an owner-name pair). When field descriptors were not found, field mappings will not be passed onto the new Mappings as field mappings without descriptors will be considered invalid.

- -
+ +
- - + +
Link copied to clipboard
-

Returns new Mappings that are identical to these Mappings, except the comments will be removed

+

Returns new Mappings that are identical to these Mappings, except the comments will be removed

- -
+ +
- - + +
Link copied to clipboard
-
fun Mappings.removeRedundancy(inheritanceProvider: InheritanceProvider, removeDuplicateMethods: Boolean = false): Mappings

Removes redundant or straight up incorrect data from this Mappings object, by looking at the inheritance information present in class files, presented by the inheritanceProvider.

fun Mappings.removeRedundancy(file: JarFile, removeDuplicateMethods: Boolean = false): Mappings

See removeRedundancy. file is a jar file resource (caller is responsible for closing it) that contains the classes that are referenced in the generic overload. Calls with identical names are being cached by this function, the caller is not responsible for this.

fun Mappings.removeRedundancy(removeDuplicateMethods: Boolean = false, loader: ClasspathLoader): Mappings

Removes redundant or straight up incorrect data from this Mappings object, by looking at the inheritance information present in class files, presented by the loader.

+
fun Mappings.removeRedundancy(inheritanceProvider: InheritanceProvider, removeDuplicateMethods: Boolean = false): Mappings

Removes redundant or straight up incorrect data from this Mappings object, by looking at the inheritance information present in class files, presented by the inheritanceProvider.

fun Mappings.removeRedundancy(file: JarFile, removeDuplicateMethods: Boolean = false): Mappings

See removeRedundancy. file is a jar file resource (caller is responsible for closing it) that contains the classes that are referenced in the generic overload. Calls with identical names are being cached by this function, the caller is not responsible for this.

fun Mappings.removeRedundancy(removeDuplicateMethods: Boolean = false, loader: ClasspathLoader): Mappings

Removes redundant or straight up incorrect data from this Mappings object, by looking at the inheritance information present in class files, presented by the loader.

- -
+ +
- - + +
Link copied to clipboard
-

Swaps out the names for the namespaces in this Mappings data structure.

+

Swaps out the names for the namespaces in this Mappings data structure.

- -
+ +
- - + +
Link copied to clipboard
-

Swaps out the names for the namespaces in this Mappings data structure, by reordering. Duplicate names are allowed, in which case mapped entries are duplicated to fit the new order. If a name in Mappings.namespaces does not appear in order, its mapping entries will be missing in the returned Mappings.

Swaps out the names for the namespaces in this Mappings data structure, by reordering. Duplicate names are allowed, in which case mapped entries are duplicated to fit the new order. If a name in Mappings.namespaces does not appear in order, its mapping entries will be missing in the returned Mappings. If a namespace in order does not exist in this Mappings, an IllegalArgumentException will be thrown.

+

Swaps out the names for the namespaces in this Mappings data structure, by reordering. Duplicate names are allowed, in which case mapped entries are duplicated to fit the new order. If a name in Mappings.namespaces does not appear in order, its mapping entries will be missing in the returned Mappings.

Swaps out the names for the namespaces in this Mappings data structure, by reordering. Duplicate names are allowed, in which case mapped entries are duplicated to fit the new order. If a name in Mappings.namespaces does not appear in order, its mapping entries will be missing in the returned Mappings. If a namespace in order does not exist in this Mappings, an IllegalArgumentException will be thrown.

- -
+ +
- +
Link copied to clipboard
-

Writes CSRGMappings to a mappings file represented by a list of strings

+

Writes CSRGMappings to a mappings file represented by a list of strings

- -
+ +
- - + +
Link copied to clipboard
-

Writes CSRGMappings as a lazily evaluated Sequence

+

Writes CSRGMappings as a lazily evaluated Sequence

@@ -536,12 +533,11 @@

Functions

+ diff --git a/docs/mappings-util/com.grappenmaker.mappings/-c-s-r-g-mappings/namespaces.html b/docs/mappings-util/com.grappenmaker.mappings/-c-s-r-g-mappings/namespaces.html index 627e610..4262592 100644 --- a/docs/mappings-util/com.grappenmaker.mappings/-c-s-r-g-mappings/namespaces.html +++ b/docs/mappings-util/com.grappenmaker.mappings/-c-s-r-g-mappings/namespaces.html @@ -1,10 +1,9 @@ - + namespaces - - + - - + + - - - - - - - + + + + + +
-
- +
+

namespaces

-
open override val namespaces: List<String>(source)
+
open override val namespaces: List<String>(source)
+ diff --git a/docs/mappings-util/com.grappenmaker.mappings/-classpath-loader/index.html b/docs/mappings-util/com.grappenmaker.mappings/-classpath-loader/index.html index 5f5a42c..a1143c1 100644 --- a/docs/mappings-util/com.grappenmaker.mappings/-classpath-loader/index.html +++ b/docs/mappings-util/com.grappenmaker.mappings/-classpath-loader/index.html @@ -1,10 +1,9 @@ - + ClasspathLoader - - + - - + + - - - - - - - + + + + + +
-
- +
+
-

ClasspathLoader

-
typealias ClasspathLoader = (name: String) -> ByteArray?(source)

An alias for a function that returns class file buffers given an internal/JVMS class name

+

ClasspathLoader

+
typealias ClasspathLoader = (name: String) -> ByteArray?(source)

An alias for a function that returns class file buffers given an internal/JVMS class name

@@ -73,12 +70,11 @@

ClasspathLoader

+ diff --git a/docs/mappings-util/com.grappenmaker.mappings/-classpath-loaders/compound.html b/docs/mappings-util/com.grappenmaker.mappings/-classpath-loaders/compound.html index e37684d..ea71385 100644 --- a/docs/mappings-util/com.grappenmaker.mappings/-classpath-loaders/compound.html +++ b/docs/mappings-util/com.grappenmaker.mappings/-classpath-loaders/compound.html @@ -1,10 +1,9 @@ - + compound - - + - - + + - - - - - - - + + + + + +
-
- +
+

compound

-

Combines several loaders into a single classpath loader, that queries each loader in order, returning the first nonnull value

+

Combines several loaders into a single classpath loader, that queries each loader in order, returning the first nonnull value

+ diff --git a/docs/mappings-util/com.grappenmaker.mappings/-classpath-loaders/from-jar.html b/docs/mappings-util/com.grappenmaker.mappings/-classpath-loaders/from-jar.html index e8ab8a9..a9daba3 100644 --- a/docs/mappings-util/com.grappenmaker.mappings/-classpath-loaders/from-jar.html +++ b/docs/mappings-util/com.grappenmaker.mappings/-classpath-loaders/from-jar.html @@ -1,10 +1,9 @@ - + fromJar - - + - - + + - - - - - - - + + + + + +
-
- +
+
-

fromJar

+

fromJar

-

Attempts to load classes a jar, the caller is responsible for closing jar when it is no longer relevant / used in the remapper

+

Attempts to load classes a jar, the caller is responsible for closing jar when it is no longer relevant / used in the remapper

+ diff --git a/docs/mappings-util/com.grappenmaker.mappings/-classpath-loaders/from-jars.html b/docs/mappings-util/com.grappenmaker.mappings/-classpath-loaders/from-jars.html index f04ee04..a229f22 100644 --- a/docs/mappings-util/com.grappenmaker.mappings/-classpath-loaders/from-jars.html +++ b/docs/mappings-util/com.grappenmaker.mappings/-classpath-loaders/from-jars.html @@ -1,10 +1,9 @@ - + fromJars - - + - - + + - - - - - - - + + + + + +
-
- +
+
-

fromJars

+

fromJars

-

Attempts to load classes from jars, the caller is responsible for closing those jar files when they are no longer relevant / used in the remapper

+

Attempts to load classes from jars, the caller is responsible for closing those jar files when they are no longer relevant / used in the remapper

+ diff --git a/docs/mappings-util/com.grappenmaker.mappings/-classpath-loaders/from-loader.html b/docs/mappings-util/com.grappenmaker.mappings/-classpath-loaders/from-loader.html index 5b35599..f7310d9 100644 --- a/docs/mappings-util/com.grappenmaker.mappings/-classpath-loaders/from-loader.html +++ b/docs/mappings-util/com.grappenmaker.mappings/-classpath-loaders/from-loader.html @@ -1,10 +1,9 @@ - + fromLoader - - + - - + + - - - - - - - + + + + + +
-
- +
+
-

fromLoader

+

fromLoader

-

Attempts to load classes using resources in loader

+

Attempts to load classes using resources in loader

+ diff --git a/docs/mappings-util/com.grappenmaker.mappings/-classpath-loaders/from-lookup.html b/docs/mappings-util/com.grappenmaker.mappings/-classpath-loaders/from-lookup.html index 84707d0..0aac872 100644 --- a/docs/mappings-util/com.grappenmaker.mappings/-classpath-loaders/from-lookup.html +++ b/docs/mappings-util/com.grappenmaker.mappings/-classpath-loaders/from-lookup.html @@ -1,10 +1,9 @@ - + fromLookup - - + - - + + - - - - - - - + + + + + +
-
- +
+
-

fromLookup

+

fromLookup

-

Creates a ClasspathLoader from a lookup, which should have JVMS internal names as keys, and class file buffers as values

+

Creates a ClasspathLoader from a lookup, which should have JVMS internal names as keys, and class file buffers as values

+ diff --git a/docs/mappings-util/com.grappenmaker.mappings/-classpath-loaders/from-system-loader.html b/docs/mappings-util/com.grappenmaker.mappings/-classpath-loaders/from-system-loader.html index b67ca12..3496693 100644 --- a/docs/mappings-util/com.grappenmaker.mappings/-classpath-loaders/from-system-loader.html +++ b/docs/mappings-util/com.grappenmaker.mappings/-classpath-loaders/from-system-loader.html @@ -1,10 +1,9 @@ - + fromSystemLoader - - + - - + + - - - - - - - + + + + + +
-
- +
+
-

fromSystemLoader

+

fromSystemLoader

-

Attempts to load classes using resources in the system class loader

+

Attempts to load classes using resources in the system class loader

+ diff --git a/docs/mappings-util/com.grappenmaker.mappings/-classpath-loaders/index.html b/docs/mappings-util/com.grappenmaker.mappings/-classpath-loaders/index.html index cb2692f..b9340ef 100644 --- a/docs/mappings-util/com.grappenmaker.mappings/-classpath-loaders/index.html +++ b/docs/mappings-util/com.grappenmaker.mappings/-classpath-loaders/index.html @@ -1,10 +1,9 @@ - + ClasspathLoaders - - + - - + + - - - - - - - + + + + + +
-
- +
+
-

ClasspathLoaders

-

Provides default implementations for the classpath loaders in MappingsRemapper

+

ClasspathLoaders

+

Provides default implementations for the classpath loaders in MappingsRemapper

Functions

-
-
+
+
- +
Link copied to clipboard
-

Combines several loaders into a single classpath loader, that queries each loader in order, returning the first nonnull value

+

Combines several loaders into a single classpath loader, that queries each loader in order, returning the first nonnull value

- -
+ +
- - + +
Link copied to clipboard
-

Attempts to load classes a jar, the caller is responsible for closing jar when it is no longer relevant / used in the remapper

+

Attempts to load classes a jar, the caller is responsible for closing jar when it is no longer relevant / used in the remapper

- -
+ +
- - + +
Link copied to clipboard
-

Attempts to load classes from jars, the caller is responsible for closing those jar files when they are no longer relevant / used in the remapper

+

Attempts to load classes from jars, the caller is responsible for closing those jar files when they are no longer relevant / used in the remapper

- -
+ +
- - + +
Link copied to clipboard
-

Attempts to load classes using resources in loader

+

Attempts to load classes using resources in loader

- -
+ +
- - + +
Link copied to clipboard
-

Creates a ClasspathLoader from a lookup, which should have JVMS internal names as keys, and class file buffers as values

+

Creates a ClasspathLoader from a lookup, which should have JVMS internal names as keys, and class file buffers as values

- -
+ +
- - + +
Link copied to clipboard
-

Attempts to load classes using resources in the system class loader

+

Attempts to load classes using resources in the system class loader

@@ -168,12 +165,11 @@

Functions

+ diff --git a/docs/mappings-util/com.grappenmaker.mappings/-commented/comments.html b/docs/mappings-util/com.grappenmaker.mappings/-commented/comments.html index 6540b82..3c2b68a 100644 --- a/docs/mappings-util/com.grappenmaker.mappings/-commented/comments.html +++ b/docs/mappings-util/com.grappenmaker.mappings/-commented/comments.html @@ -1,10 +1,9 @@ - + comments - - + - - + + - - - - - - - + + + + + +
-
- +
+

comments

-
abstract val comments: List<String>(source)
+
abstract val comments: List<String>(source)
+ diff --git a/docs/mappings-util/com.grappenmaker.mappings/-commented/index.html b/docs/mappings-util/com.grappenmaker.mappings/-commented/index.html index d12c2a7..7cc687f 100644 --- a/docs/mappings-util/com.grappenmaker.mappings/-commented/index.html +++ b/docs/mappings-util/com.grappenmaker.mappings/-commented/index.html @@ -1,10 +1,9 @@ - + Commented - - + - - + + - - - - - - - + + + + + +
-
- +
+

Commented

-
sealed interface Commented(source)

Represents any entity that can have comments (commonly used in Tiny mappings)

Inheritors

+
sealed interface Commented(source)

Represents any entity that can have comments (commonly used in Tiny mappings)

Inheritors

Properties

-
-
+
+
- +
Link copied to clipboard
-
abstract val comments: List<String>

All comments that the author of some Mappings file wrote

+
abstract val comments: List<String>

All comments that the author of some Mappings file wrote

@@ -93,12 +90,11 @@

Properties

+ diff --git a/docs/mappings-util/com.grappenmaker.mappings/-compacted-mappings-format/index.html b/docs/mappings-util/com.grappenmaker.mappings/-compacted-mappings-format/index.html index 549fadb..4ed72cc 100644 --- a/docs/mappings-util/com.grappenmaker.mappings/-compacted-mappings-format/index.html +++ b/docs/mappings-util/com.grappenmaker.mappings/-compacted-mappings-format/index.html @@ -1,10 +1,9 @@ - + CompactedMappingsFormat - - + - - + + - - - - - - - + + + + + +
-
- +
+
-

CompactedMappingsFormat

-

Represents the compacted mappings format. Note: this does not support the usual MappingsFormat capability, since this is the only mappings format that has a binary representation. Compacted mappings should be explicitly handled through this object

+

CompactedMappingsFormat

+

Represents the compacted mappings format. Note: this does not support the usual MappingsFormat capability, since this is the only mappings format that has a binary representation. Compacted mappings should be explicitly handled through this object

Functions

-
-
+
+
- +
Link copied to clipboard
-

Parses some CompactedMappings that is an equivalent representation of a given InputStream (when fully read)

Parses some CompactedMappings that is an equivalent representation of the given buffer as bytes

+

Parses some CompactedMappings that is an equivalent representation of a given InputStream (when fully read)

Parses some CompactedMappings that is an equivalent representation of the given buffer as bytes

- -
+ +
- +
Link copied to clipboard
-

Writes some mappings to a buffer that is an equivalent representation of the mappings

+

Writes some mappings to a buffer that is an equivalent representation of the mappings

- -
+ +
- - + +
Link copied to clipboard
-
fun writeTo(mappings: CompactedMappings, stream: OutputStream)

Writes some mappings to an OutputStream as an equivalent representation

+
fun writeTo(mappings: CompactedMappings, stream: OutputStream)

Writes some mappings to an OutputStream as an equivalent representation

@@ -123,12 +120,11 @@

Functions

+ diff --git a/docs/mappings-util/com.grappenmaker.mappings/-compacted-mappings-format/parse.html b/docs/mappings-util/com.grappenmaker.mappings/-compacted-mappings-format/parse.html index 6ee47f4..1bc89c4 100644 --- a/docs/mappings-util/com.grappenmaker.mappings/-compacted-mappings-format/parse.html +++ b/docs/mappings-util/com.grappenmaker.mappings/-compacted-mappings-format/parse.html @@ -1,10 +1,9 @@ - + parse - - + - - + + - - - - - - - + + + + + +
-
- +
+

parse

-

Parses some CompactedMappings that is an equivalent representation of the given buffer as bytes


Parses some CompactedMappings that is an equivalent representation of a given InputStream (when fully read)

+

Parses some CompactedMappings that is an equivalent representation of the given buffer as bytes


Parses some CompactedMappings that is an equivalent representation of a given InputStream (when fully read)

+ diff --git a/docs/mappings-util/com.grappenmaker.mappings/-compacted-mappings-format/write-to.html b/docs/mappings-util/com.grappenmaker.mappings/-compacted-mappings-format/write-to.html index 22c6875..0baad95 100644 --- a/docs/mappings-util/com.grappenmaker.mappings/-compacted-mappings-format/write-to.html +++ b/docs/mappings-util/com.grappenmaker.mappings/-compacted-mappings-format/write-to.html @@ -1,10 +1,9 @@ - + writeTo - - + - - + + - - - - - - - + + + + + +
-
- +
+
-

writeTo

+

writeTo

-
fun writeTo(mappings: CompactedMappings, stream: OutputStream)(source)

Writes some mappings to an OutputStream as an equivalent representation

+
fun writeTo(mappings: CompactedMappings, stream: OutputStream)(source)

Writes some mappings to an OutputStream as an equivalent representation

+ diff --git a/docs/mappings-util/com.grappenmaker.mappings/-compacted-mappings-format/write.html b/docs/mappings-util/com.grappenmaker.mappings/-compacted-mappings-format/write.html index 314929a..9fe575d 100644 --- a/docs/mappings-util/com.grappenmaker.mappings/-compacted-mappings-format/write.html +++ b/docs/mappings-util/com.grappenmaker.mappings/-compacted-mappings-format/write.html @@ -1,10 +1,9 @@ - + write - - + - - + + - - - - - - - + + + + + +
-
- +
+

write

-

Writes some mappings to a buffer that is an equivalent representation of the mappings

+

Writes some mappings to a buffer that is an equivalent representation of the mappings

+ diff --git a/docs/mappings-util/com.grappenmaker.mappings/-compacted-mappings/-compacted-mappings.html b/docs/mappings-util/com.grappenmaker.mappings/-compacted-mappings/-compacted-mappings.html index 7e23c90..f9c6f53 100644 --- a/docs/mappings-util/com.grappenmaker.mappings/-compacted-mappings/-compacted-mappings.html +++ b/docs/mappings-util/com.grappenmaker.mappings/-compacted-mappings/-compacted-mappings.html @@ -1,10 +1,9 @@ - + CompactedMappings - - + - - + + - - - - - - - + + + + + +
-
- +
+
-

CompactedMappings

+

CompactedMappings

-
constructor(namespaces: List<String>, classes: List<MappedClass>, version: Int = 2)(source)
+
constructor(namespaces: List<String>, classes: List<MappedClass>, version: Int = 2)(source)
+ diff --git a/docs/mappings-util/com.grappenmaker.mappings/-compacted-mappings/classes.html b/docs/mappings-util/com.grappenmaker.mappings/-compacted-mappings/classes.html index 0d56edc..2250cd7 100644 --- a/docs/mappings-util/com.grappenmaker.mappings/-compacted-mappings/classes.html +++ b/docs/mappings-util/com.grappenmaker.mappings/-compacted-mappings/classes.html @@ -1,10 +1,9 @@ - + classes - - + - - + + - - - - - - - + + + + + +
-
- +
+

classes

-
open override val classes: List<MappedClass>(source)
+
open override val classes: List<MappedClass>(source)
+ diff --git a/docs/mappings-util/com.grappenmaker.mappings/-compacted-mappings/index.html b/docs/mappings-util/com.grappenmaker.mappings/-compacted-mappings/index.html index d3f84eb..7f69b0b 100644 --- a/docs/mappings-util/com.grappenmaker.mappings/-compacted-mappings/index.html +++ b/docs/mappings-util/com.grappenmaker.mappings/-compacted-mappings/index.html @@ -1,10 +1,9 @@ - + CompactedMappings - - + - - + + - - - - - - - + + + + + +
-
- +
+
-

CompactedMappings

-
data class CompactedMappings(val namespaces: List<String>, val classes: List<MappedClass>, val version: Int = 2) : Mappings(source)

Represents a compacted mappings file. See CompactedMappingsFormat

+

CompactedMappings

+
data class CompactedMappings(val namespaces: List<String>, val classes: List<MappedClass>, val version: Int = 2) : Mappings(source)

Represents a compacted mappings file. See CompactedMappingsFormat

Constructors

-
-
+
+
- - + +
Link copied to clipboard
-
constructor(namespaces: List<String>, classes: List<MappedClass>, version: Int = 2)
+
constructor(namespaces: List<String>, classes: List<MappedClass>, version: Int = 2)
@@ -91,47 +88,47 @@

Constructors

Properties

-
-
+
+
- +
Link copied to clipboard
-
open override val classes: List<MappedClass>

All mapped classes in this mappings file (in order, not important)

+
open override val classes: List<MappedClass>

All mapped classes in this mappings file (in order, not important)

- -
+ +
- +
Link copied to clipboard
-
open override val namespaces: List<String>

All namespaces (in order) that this mappings file supports/contains

+
open override val namespaces: List<String>

All namespaces (in order) that this mappings file supports/contains

- -
+ +
- +
Link copied to clipboard
-
val version: Int = 2

The version of this mappings file. Currently, this is either 1 or 2.

+
val version: Int = 2

The version of this mappings file. Currently, this is either 1 or 2.

@@ -140,407 +137,407 @@

Properties

Functions

-
-
+
+
- - + +
Link copied to clipboard
-
fun Mappings.asASMMapping(from: String, to: String, includeMethods: Boolean = true, includeFields: Boolean = true): Map<String, String>

Returns a simple mapping representing all of the Mappings, mapping between the namespaces from and to. If includeMethods is true, then methods will be included in the mapping. If includeFields is true, then fields will be included in the mapping.

+
fun Mappings.asASMMapping(from: String, to: String, includeMethods: Boolean = true, includeFields: Boolean = true): Map<String, String>

Returns a simple mapping representing all of the Mappings, mapping between the namespaces from and to. If includeMethods is true, then methods will be included in the mapping. If includeFields is true, then fields will be included in the mapping.

- -
+ +
- - + +
Link copied to clipboard
- -
+ +
- - + +
Link copied to clipboard
- -
+ + - -
+ + - -
+ + - -
+ +
- - + +
Link copied to clipboard
- -
+ +
- - + +
Link copied to clipboard
-

Returns an asm SimpleRemapper for remapping references between namespaces from and to disregarding inheritance and lambdas. For proper remapping, you should use the MappingsRemapper.

+

Returns an asm SimpleRemapper for remapping references between namespaces from and to disregarding inheritance and lambdas. For proper remapping, you should use the MappingsRemapper.

- -
+ +
- - + +
Link copied to clipboard
-

Converts these Mappings to SRGMappings, enabling XSRG when extended is true.

+

Converts these Mappings to SRGMappings, enabling XSRG when extended is true.

- -
+ +
- - + +
Link copied to clipboard
-

Converts these Mappings to TinyMappings, enabling Tiny v2 when v2 is true.

+

Converts these Mappings to TinyMappings, enabling Tiny v2 when v2 is true.

- -
+ +
- - + +
Link copied to clipboard
-

Converts these Mappings to TSRGMappings, enabling TSRG v2 when v2 is true.

+

Converts these Mappings to TSRGMappings, enabling TSRG v2 when v2 is true.

- -
+ +
- - + +
Link copied to clipboard
-

Removes all duplicate namespace usages in this Mappings.

+

Removes all duplicate namespace usages in this Mappings.

- -
+ +
- - + +
Link copied to clipboard
-

Transforms this Mappings structure to a generic mappings implementation that maps between from and to.

+

Transforms this Mappings structure to a generic mappings implementation that maps between from and to.

- -
+ +
- - + +
Link copied to clipboard
-
inline fun Mappings.filterClasses(predicate: (MappedClass) -> Boolean): Mappings

Filters classes matching the predicate

+
inline fun Mappings.filterClasses(predicate: (MappedClass) -> Boolean): Mappings

Filters classes matching the predicate

- -
+ +
- - + +
Link copied to clipboard
-
inline fun Mappings.filterMethods(predicate: (owner: MappedClass, method: MappedMethod) -> Boolean): Mappings

Filters methods matching the predicate

+
inline fun Mappings.filterMethods(predicate: (owner: MappedClass, method: MappedMethod) -> Boolean): Mappings

Filters methods matching the predicate

- -
+ +
- - + +
Link copied to clipboard
-
fun Mappings.filterNamespaces(vararg allowed: String, allowDuplicates: Boolean = false): Mappings
fun Mappings.filterNamespaces(allowed: Set<String>, allowDuplicates: Boolean = false): Mappings

Filters these Mappings to only contain namespaces that are in allowed. If allowDuplicates is true, the returned Mappings will also have duplicate namespaces removed.

inline fun Mappings.filterNamespaces(allowDuplicates: Boolean = false, predicate: (String) -> Boolean): Mappings

Filters these Mappings to only contain namespaces for which the predicate returns true. If allowDuplicates is true, the returned Mappings will also have duplicate namespaces removed.

+
fun Mappings.filterNamespaces(vararg allowed: String, allowDuplicates: Boolean = false): Mappings
fun Mappings.filterNamespaces(allowed: Set<String>, allowDuplicates: Boolean = false): Mappings

Filters these Mappings to only contain namespaces that are in allowed. If allowDuplicates is true, the returned Mappings will also have duplicate namespaces removed.

inline fun Mappings.filterNamespaces(allowDuplicates: Boolean = false, predicate: (String) -> Boolean): Mappings

Filters these Mappings to only contain namespaces for which the predicate returns true. If allowDuplicates is true, the returned Mappings will also have duplicate namespaces removed.

- -
+ +
- +
Link copied to clipboard
-
fun Mappings.join(otherMappings: Mappings, intermediateNamespace: String, requireMatch: Boolean = false): Mappings

Joins together this Mappings with otherMappings, by matching on intermediateNamespace, producing new Mappings that contain all entries from this Mappings and otherMappings. If requireMatch is true, this method will throw an exception when no method or field or class is found

+
fun Mappings.join(otherMappings: Mappings, intermediateNamespace: String, requireMatch: Boolean = false): Mappings

Joins together this Mappings with otherMappings, by matching on intermediateNamespace, producing new Mappings that contain all entries from this Mappings and otherMappings. If requireMatch is true, this method will throw an exception when no method or field or class is found

- -
+ +
- - + +
Link copied to clipboard
-

Maps classes according to the given block

+

Maps classes according to the given block

- -
+ +
- - + +
Link copied to clipboard
-
inline fun Mappings.mapMethods(block: (owner: MappedClass, method: MappedMethod) -> MappedMethod): Mappings

Maps methods according to the given block

+
inline fun Mappings.mapMethods(block: (owner: MappedClass, method: MappedMethod) -> MappedMethod): Mappings

Maps methods according to the given block

- -
+ +
- +
Link copied to clipboard
-

Returns the index of a namespace named name, but throws an IllegalStateException when name is not in the Mappings.namespaces.

+

Returns the index of a namespace named name, but throws an IllegalStateException when name is not in the Mappings.namespaces.

- -
+ +
- - + +
Link copied to clipboard
-

See recoverFieldDescriptors. file is a jar file resource (caller is responsible for closing it) that contains the classes that are referenced in the generic overload.

fun Mappings.recoverFieldDescriptors(bytesProvider: (name: String) -> ByteArray?): Mappings

Attempts to recover field descriptors that are missing because the original mappings format did not specify them. bytesProvider is responsible for providing all of the classes that might be referenced in this Mappings object, such that the descriptors can be recovered based on named (fields can be uniquely identified by an owner-name pair). When field descriptors were not found, field mappings will not be passed onto the new Mappings as field mappings without descriptors will be considered invalid.

@JvmName(name = "recoverDescsByNode")
fun Mappings.recoverFieldDescriptors(nodeProvider: (name: String) -> ClassNode?): Mappings

Attempts to recover field descriptors that are missing because the original mappings format did not specify them. nodeProvider is responsible for providing all of the ClassNodes that might be referenced in this Mappings object, such that the descriptors can be recovered based on named (fields can be uniquely identified by an owner-name pair). When field descriptors were not found, field mappings will not be passed onto the new Mappings as field mappings without descriptors will be considered invalid.

+

See recoverFieldDescriptors. file is a jar file resource (caller is responsible for closing it) that contains the classes that are referenced in the generic overload.

fun Mappings.recoverFieldDescriptors(bytesProvider: (name: String) -> ByteArray?): Mappings

Attempts to recover field descriptors that are missing because the original mappings format did not specify them. bytesProvider is responsible for providing all of the classes that might be referenced in this Mappings object, such that the descriptors can be recovered based on named (fields can be uniquely identified by an owner-name pair). When field descriptors were not found, field mappings will not be passed onto the new Mappings as field mappings without descriptors will be considered invalid.

@JvmName(name = "recoverDescsByNode")
fun Mappings.recoverFieldDescriptors(nodeProvider: (name: String) -> ClassNode?): Mappings

Attempts to recover field descriptors that are missing because the original mappings format did not specify them. nodeProvider is responsible for providing all of the ClassNodes that might be referenced in this Mappings object, such that the descriptors can be recovered based on named (fields can be uniquely identified by an owner-name pair). When field descriptors were not found, field mappings will not be passed onto the new Mappings as field mappings without descriptors will be considered invalid.

- -
+ +
- - + +
Link copied to clipboard
-

Returns new Mappings that are identical to these Mappings, except the comments will be removed

+

Returns new Mappings that are identical to these Mappings, except the comments will be removed

- -
+ +
- - + +
Link copied to clipboard
-
fun Mappings.removeRedundancy(inheritanceProvider: InheritanceProvider, removeDuplicateMethods: Boolean = false): Mappings

Removes redundant or straight up incorrect data from this Mappings object, by looking at the inheritance information present in class files, presented by the inheritanceProvider.

fun Mappings.removeRedundancy(file: JarFile, removeDuplicateMethods: Boolean = false): Mappings

See removeRedundancy. file is a jar file resource (caller is responsible for closing it) that contains the classes that are referenced in the generic overload. Calls with identical names are being cached by this function, the caller is not responsible for this.

fun Mappings.removeRedundancy(removeDuplicateMethods: Boolean = false, loader: ClasspathLoader): Mappings

Removes redundant or straight up incorrect data from this Mappings object, by looking at the inheritance information present in class files, presented by the loader.

+
fun Mappings.removeRedundancy(inheritanceProvider: InheritanceProvider, removeDuplicateMethods: Boolean = false): Mappings

Removes redundant or straight up incorrect data from this Mappings object, by looking at the inheritance information present in class files, presented by the inheritanceProvider.

fun Mappings.removeRedundancy(file: JarFile, removeDuplicateMethods: Boolean = false): Mappings

See removeRedundancy. file is a jar file resource (caller is responsible for closing it) that contains the classes that are referenced in the generic overload. Calls with identical names are being cached by this function, the caller is not responsible for this.

fun Mappings.removeRedundancy(removeDuplicateMethods: Boolean = false, loader: ClasspathLoader): Mappings

Removes redundant or straight up incorrect data from this Mappings object, by looking at the inheritance information present in class files, presented by the loader.

- -
+ +
- - + +
Link copied to clipboard
-

Swaps out the names for the namespaces in this Mappings data structure.

+

Swaps out the names for the namespaces in this Mappings data structure.

- -
+ +
- - + +
Link copied to clipboard
-

Swaps out the names for the namespaces in this Mappings data structure, by reordering. Duplicate names are allowed, in which case mapped entries are duplicated to fit the new order. If a name in Mappings.namespaces does not appear in order, its mapping entries will be missing in the returned Mappings.

Swaps out the names for the namespaces in this Mappings data structure, by reordering. Duplicate names are allowed, in which case mapped entries are duplicated to fit the new order. If a name in Mappings.namespaces does not appear in order, its mapping entries will be missing in the returned Mappings. If a namespace in order does not exist in this Mappings, an IllegalArgumentException will be thrown.

+

Swaps out the names for the namespaces in this Mappings data structure, by reordering. Duplicate names are allowed, in which case mapped entries are duplicated to fit the new order. If a name in Mappings.namespaces does not appear in order, its mapping entries will be missing in the returned Mappings.

Swaps out the names for the namespaces in this Mappings data structure, by reordering. Duplicate names are allowed, in which case mapped entries are duplicated to fit the new order. If a name in Mappings.namespaces does not appear in order, its mapping entries will be missing in the returned Mappings. If a namespace in order does not exist in this Mappings, an IllegalArgumentException will be thrown.

- -
+ +
- +
Link copied to clipboard
-

Writes CompactedMappings as its binary representation

+

Writes CompactedMappings as its binary representation

- -
+ +
- - + +
Link copied to clipboard
-

Writes some mappings to an OutputStream as an equivalent representation

+

Writes some mappings to an OutputStream as an equivalent representation

@@ -551,12 +548,11 @@

Functions

+ diff --git a/docs/mappings-util/com.grappenmaker.mappings/-compacted-mappings/namespaces.html b/docs/mappings-util/com.grappenmaker.mappings/-compacted-mappings/namespaces.html index 41a29b7..1c1cf48 100644 --- a/docs/mappings-util/com.grappenmaker.mappings/-compacted-mappings/namespaces.html +++ b/docs/mappings-util/com.grappenmaker.mappings/-compacted-mappings/namespaces.html @@ -1,10 +1,9 @@ - + namespaces - - + - - + + - - - - - - - + + + + + +
-
- +
+

namespaces

-
open override val namespaces: List<String>(source)
+
open override val namespaces: List<String>(source)
+ diff --git a/docs/mappings-util/com.grappenmaker.mappings/-compacted-mappings/version.html b/docs/mappings-util/com.grappenmaker.mappings/-compacted-mappings/version.html index 426b7b2..666ffc9 100644 --- a/docs/mappings-util/com.grappenmaker.mappings/-compacted-mappings/version.html +++ b/docs/mappings-util/com.grappenmaker.mappings/-compacted-mappings/version.html @@ -1,10 +1,9 @@ - + version - - + - - + + - - - - - - - + + + + + +
-
- +
+

version

-
val version: Int = 2(source)
+
val version: Int = 2(source)
+ diff --git a/docs/mappings-util/com.grappenmaker.mappings/-empty-mappings/classes.html b/docs/mappings-util/com.grappenmaker.mappings/-empty-mappings/classes.html index 630fb9f..aba239b 100644 --- a/docs/mappings-util/com.grappenmaker.mappings/-empty-mappings/classes.html +++ b/docs/mappings-util/com.grappenmaker.mappings/-empty-mappings/classes.html @@ -1,10 +1,9 @@ - + classes - - + - - + + - - - - - - - + + + + + +
-
- +
+

classes

-
open override val classes: List<MappedClass>(source)
+
open override val classes: List<MappedClass>(source)
+ diff --git a/docs/mappings-util/com.grappenmaker.mappings/-empty-mappings/index.html b/docs/mappings-util/com.grappenmaker.mappings/-empty-mappings/index.html index 4baea12..fa62677 100644 --- a/docs/mappings-util/com.grappenmaker.mappings/-empty-mappings/index.html +++ b/docs/mappings-util/com.grappenmaker.mappings/-empty-mappings/index.html @@ -1,10 +1,9 @@ - + EmptyMappings - - + - - + + - - - - - - - + + + + + +
-
- +
+
-

EmptyMappings

-

Represents an empty mappings object, with no data.

+

EmptyMappings

+

Represents an empty mappings object, with no data.

Properties

-
-
+
+
- +
Link copied to clipboard
-
open override val classes: List<MappedClass>

All mapped classes in this mappings file (in order, not important)

+
open override val classes: List<MappedClass>

All mapped classes in this mappings file (in order, not important)

- -
+ +
- +
Link copied to clipboard
-
open override val namespaces: List<String>

All namespaces (in order) that this mappings file supports/contains

+
open override val namespaces: List<String>

All namespaces (in order) that this mappings file supports/contains

@@ -106,377 +103,377 @@

Properties

Functions

-
-
+
+
- - + +
Link copied to clipboard
-
fun Mappings.asASMMapping(from: String, to: String, includeMethods: Boolean = true, includeFields: Boolean = true): Map<String, String>

Returns a simple mapping representing all of the Mappings, mapping between the namespaces from and to. If includeMethods is true, then methods will be included in the mapping. If includeFields is true, then fields will be included in the mapping.

+
fun Mappings.asASMMapping(from: String, to: String, includeMethods: Boolean = true, includeFields: Boolean = true): Map<String, String>

Returns a simple mapping representing all of the Mappings, mapping between the namespaces from and to. If includeMethods is true, then methods will be included in the mapping. If includeFields is true, then fields will be included in the mapping.

- -
+ +
- - + +
Link copied to clipboard
- -
+ +
- - + +
Link copied to clipboard
- -
+ + - -
+ + - -
+ + - -
+ +
- - + +
Link copied to clipboard
- -
+ +
- - + +
Link copied to clipboard
-

Returns an asm SimpleRemapper for remapping references between namespaces from and to disregarding inheritance and lambdas. For proper remapping, you should use the MappingsRemapper.

+

Returns an asm SimpleRemapper for remapping references between namespaces from and to disregarding inheritance and lambdas. For proper remapping, you should use the MappingsRemapper.

- -
+ +
- - + +
Link copied to clipboard
-

Converts these Mappings to SRGMappings, enabling XSRG when extended is true.

+

Converts these Mappings to SRGMappings, enabling XSRG when extended is true.

- -
+ +
- - + +
Link copied to clipboard
-

Converts these Mappings to TinyMappings, enabling Tiny v2 when v2 is true.

+

Converts these Mappings to TinyMappings, enabling Tiny v2 when v2 is true.

- -
+ +
- - + +
Link copied to clipboard
-

Converts these Mappings to TSRGMappings, enabling TSRG v2 when v2 is true.

+

Converts these Mappings to TSRGMappings, enabling TSRG v2 when v2 is true.

- -
+ +
- - + +
Link copied to clipboard
-

Removes all duplicate namespace usages in this Mappings.

+

Removes all duplicate namespace usages in this Mappings.

- -
+ +
- - + +
Link copied to clipboard
-

Transforms this Mappings structure to a generic mappings implementation that maps between from and to.

+

Transforms this Mappings structure to a generic mappings implementation that maps between from and to.

- -
+ +
- - + +
Link copied to clipboard
-
inline fun Mappings.filterClasses(predicate: (MappedClass) -> Boolean): Mappings

Filters classes matching the predicate

+
inline fun Mappings.filterClasses(predicate: (MappedClass) -> Boolean): Mappings

Filters classes matching the predicate

- -
+ +
- - + +
Link copied to clipboard
-
inline fun Mappings.filterMethods(predicate: (owner: MappedClass, method: MappedMethod) -> Boolean): Mappings

Filters methods matching the predicate

+
inline fun Mappings.filterMethods(predicate: (owner: MappedClass, method: MappedMethod) -> Boolean): Mappings

Filters methods matching the predicate

- -
+ +
- - + +
Link copied to clipboard
-
fun Mappings.filterNamespaces(vararg allowed: String, allowDuplicates: Boolean = false): Mappings
fun Mappings.filterNamespaces(allowed: Set<String>, allowDuplicates: Boolean = false): Mappings

Filters these Mappings to only contain namespaces that are in allowed. If allowDuplicates is true, the returned Mappings will also have duplicate namespaces removed.

inline fun Mappings.filterNamespaces(allowDuplicates: Boolean = false, predicate: (String) -> Boolean): Mappings

Filters these Mappings to only contain namespaces for which the predicate returns true. If allowDuplicates is true, the returned Mappings will also have duplicate namespaces removed.

+
fun Mappings.filterNamespaces(vararg allowed: String, allowDuplicates: Boolean = false): Mappings
fun Mappings.filterNamespaces(allowed: Set<String>, allowDuplicates: Boolean = false): Mappings

Filters these Mappings to only contain namespaces that are in allowed. If allowDuplicates is true, the returned Mappings will also have duplicate namespaces removed.

inline fun Mappings.filterNamespaces(allowDuplicates: Boolean = false, predicate: (String) -> Boolean): Mappings

Filters these Mappings to only contain namespaces for which the predicate returns true. If allowDuplicates is true, the returned Mappings will also have duplicate namespaces removed.

- -
+ +
- +
Link copied to clipboard
-
fun Mappings.join(otherMappings: Mappings, intermediateNamespace: String, requireMatch: Boolean = false): Mappings

Joins together this Mappings with otherMappings, by matching on intermediateNamespace, producing new Mappings that contain all entries from this Mappings and otherMappings. If requireMatch is true, this method will throw an exception when no method or field or class is found

+
fun Mappings.join(otherMappings: Mappings, intermediateNamespace: String, requireMatch: Boolean = false): Mappings

Joins together this Mappings with otherMappings, by matching on intermediateNamespace, producing new Mappings that contain all entries from this Mappings and otherMappings. If requireMatch is true, this method will throw an exception when no method or field or class is found

- -
+ +
- - + +
Link copied to clipboard
-

Maps classes according to the given block

+

Maps classes according to the given block

- -
+ +
- - + +
Link copied to clipboard
-
inline fun Mappings.mapMethods(block: (owner: MappedClass, method: MappedMethod) -> MappedMethod): Mappings

Maps methods according to the given block

+
inline fun Mappings.mapMethods(block: (owner: MappedClass, method: MappedMethod) -> MappedMethod): Mappings

Maps methods according to the given block

- -
+ +
- +
Link copied to clipboard
-

Returns the index of a namespace named name, but throws an IllegalStateException when name is not in the Mappings.namespaces.

+

Returns the index of a namespace named name, but throws an IllegalStateException when name is not in the Mappings.namespaces.

- -
+ +
- - + +
Link copied to clipboard
-

See recoverFieldDescriptors. file is a jar file resource (caller is responsible for closing it) that contains the classes that are referenced in the generic overload.

fun Mappings.recoverFieldDescriptors(bytesProvider: (name: String) -> ByteArray?): Mappings

Attempts to recover field descriptors that are missing because the original mappings format did not specify them. bytesProvider is responsible for providing all of the classes that might be referenced in this Mappings object, such that the descriptors can be recovered based on named (fields can be uniquely identified by an owner-name pair). When field descriptors were not found, field mappings will not be passed onto the new Mappings as field mappings without descriptors will be considered invalid.

@JvmName(name = "recoverDescsByNode")
fun Mappings.recoverFieldDescriptors(nodeProvider: (name: String) -> ClassNode?): Mappings

Attempts to recover field descriptors that are missing because the original mappings format did not specify them. nodeProvider is responsible for providing all of the ClassNodes that might be referenced in this Mappings object, such that the descriptors can be recovered based on named (fields can be uniquely identified by an owner-name pair). When field descriptors were not found, field mappings will not be passed onto the new Mappings as field mappings without descriptors will be considered invalid.

+

See recoverFieldDescriptors. file is a jar file resource (caller is responsible for closing it) that contains the classes that are referenced in the generic overload.

fun Mappings.recoverFieldDescriptors(bytesProvider: (name: String) -> ByteArray?): Mappings

Attempts to recover field descriptors that are missing because the original mappings format did not specify them. bytesProvider is responsible for providing all of the classes that might be referenced in this Mappings object, such that the descriptors can be recovered based on named (fields can be uniquely identified by an owner-name pair). When field descriptors were not found, field mappings will not be passed onto the new Mappings as field mappings without descriptors will be considered invalid.

@JvmName(name = "recoverDescsByNode")
fun Mappings.recoverFieldDescriptors(nodeProvider: (name: String) -> ClassNode?): Mappings

Attempts to recover field descriptors that are missing because the original mappings format did not specify them. nodeProvider is responsible for providing all of the ClassNodes that might be referenced in this Mappings object, such that the descriptors can be recovered based on named (fields can be uniquely identified by an owner-name pair). When field descriptors were not found, field mappings will not be passed onto the new Mappings as field mappings without descriptors will be considered invalid.

- -
+ +
- - + +
Link copied to clipboard
-

Returns new Mappings that are identical to these Mappings, except the comments will be removed

+

Returns new Mappings that are identical to these Mappings, except the comments will be removed

- -
+ +
- - + +
Link copied to clipboard
-
fun Mappings.removeRedundancy(inheritanceProvider: InheritanceProvider, removeDuplicateMethods: Boolean = false): Mappings

Removes redundant or straight up incorrect data from this Mappings object, by looking at the inheritance information present in class files, presented by the inheritanceProvider.

fun Mappings.removeRedundancy(file: JarFile, removeDuplicateMethods: Boolean = false): Mappings

See removeRedundancy. file is a jar file resource (caller is responsible for closing it) that contains the classes that are referenced in the generic overload. Calls with identical names are being cached by this function, the caller is not responsible for this.

fun Mappings.removeRedundancy(removeDuplicateMethods: Boolean = false, loader: ClasspathLoader): Mappings

Removes redundant or straight up incorrect data from this Mappings object, by looking at the inheritance information present in class files, presented by the loader.

+
fun Mappings.removeRedundancy(inheritanceProvider: InheritanceProvider, removeDuplicateMethods: Boolean = false): Mappings

Removes redundant or straight up incorrect data from this Mappings object, by looking at the inheritance information present in class files, presented by the inheritanceProvider.

fun Mappings.removeRedundancy(file: JarFile, removeDuplicateMethods: Boolean = false): Mappings

See removeRedundancy. file is a jar file resource (caller is responsible for closing it) that contains the classes that are referenced in the generic overload. Calls with identical names are being cached by this function, the caller is not responsible for this.

fun Mappings.removeRedundancy(removeDuplicateMethods: Boolean = false, loader: ClasspathLoader): Mappings

Removes redundant or straight up incorrect data from this Mappings object, by looking at the inheritance information present in class files, presented by the loader.

- -
+ +
- - + +
Link copied to clipboard
-

Swaps out the names for the namespaces in this Mappings data structure.

+

Swaps out the names for the namespaces in this Mappings data structure.

- -
+ +
- - + +
Link copied to clipboard
-

Swaps out the names for the namespaces in this Mappings data structure, by reordering. Duplicate names are allowed, in which case mapped entries are duplicated to fit the new order. If a name in Mappings.namespaces does not appear in order, its mapping entries will be missing in the returned Mappings.

Swaps out the names for the namespaces in this Mappings data structure, by reordering. Duplicate names are allowed, in which case mapped entries are duplicated to fit the new order. If a name in Mappings.namespaces does not appear in order, its mapping entries will be missing in the returned Mappings. If a namespace in order does not exist in this Mappings, an IllegalArgumentException will be thrown.

+

Swaps out the names for the namespaces in this Mappings data structure, by reordering. Duplicate names are allowed, in which case mapped entries are duplicated to fit the new order. If a name in Mappings.namespaces does not appear in order, its mapping entries will be missing in the returned Mappings.

Swaps out the names for the namespaces in this Mappings data structure, by reordering. Duplicate names are allowed, in which case mapped entries are duplicated to fit the new order. If a name in Mappings.namespaces does not appear in order, its mapping entries will be missing in the returned Mappings. If a namespace in order does not exist in this Mappings, an IllegalArgumentException will be thrown.

@@ -487,12 +484,11 @@

Functions

+ diff --git a/docs/mappings-util/com.grappenmaker.mappings/-empty-mappings/namespaces.html b/docs/mappings-util/com.grappenmaker.mappings/-empty-mappings/namespaces.html index 09759d7..78d5173 100644 --- a/docs/mappings-util/com.grappenmaker.mappings/-empty-mappings/namespaces.html +++ b/docs/mappings-util/com.grappenmaker.mappings/-empty-mappings/namespaces.html @@ -1,10 +1,9 @@ - + namespaces - - + - - + + - - - - - - - + + + + + +
-
- +
+

namespaces

-
open override val namespaces: List<String>(source)
+
open override val namespaces: List<String>(source)
+ diff --git a/docs/mappings-util/com.grappenmaker.mappings/-enigma-mappings-format/detect.html b/docs/mappings-util/com.grappenmaker.mappings/-enigma-mappings-format/detect.html index 5c02cd2..1fd764f 100644 --- a/docs/mappings-util/com.grappenmaker.mappings/-enigma-mappings-format/detect.html +++ b/docs/mappings-util/com.grappenmaker.mappings/-enigma-mappings-format/detect.html @@ -1,10 +1,9 @@ - + detect - - + - - + + - - - - - - - + + + + + +
-
- +
+

detect

-
open override fun detect(lines: List<String>): Boolean(source)

Returns whether this MappingsFormat thinks the lines represent a valid input for the mappings parser

+
open override fun detect(lines: List<String>): Boolean(source)

Returns whether this MappingsFormat thinks the lines represent a valid input for the mappings parser

+ diff --git a/docs/mappings-util/com.grappenmaker.mappings/-enigma-mappings-format/index.html b/docs/mappings-util/com.grappenmaker.mappings/-enigma-mappings-format/index.html index 0ff5752..ced4e01 100644 --- a/docs/mappings-util/com.grappenmaker.mappings/-enigma-mappings-format/index.html +++ b/docs/mappings-util/com.grappenmaker.mappings/-enigma-mappings-format/index.html @@ -1,10 +1,9 @@ - + EnigmaMappingsFormat - - + - - + + - - - - - - - + + + + + +
-
- +
+
-

EnigmaMappingsFormat

-

Represents the enigma mappings format

+

EnigmaMappingsFormat

+

Represents the enigma mappings format

Functions

-
-
+
+
- +
Link copied to clipboard
-
open override fun detect(lines: List<String>): Boolean

Returns whether this MappingsFormat thinks the lines represent a valid input for the mappings parser

+
open override fun detect(lines: List<String>): Boolean

Returns whether this MappingsFormat thinks the lines represent a valid input for the mappings parser

- -
+ +
- +
Link copied to clipboard
-
open override fun parse(lines: Iterator<String>): EnigmaMappings

Parses lines (an iterator of lines in a mappings file) into a mappings data structure. Throws an IllegalStateException when lines is not a valid input for this mappings format.

open fun parse(lines: List<String>): EnigmaMappings

Parses lines (representing a mappings file) into a mappings data structure. Throws an IllegalStateException when lines is not a valid input for this mappings format. To check if lines can be parsed, you could invoke detect.

+
open override fun parse(lines: Iterator<String>): EnigmaMappings

Parses lines (an iterator of lines in a mappings file) into a mappings data structure. Throws an IllegalStateException when lines is not a valid input for this mappings format.

open fun parse(lines: List<String>): EnigmaMappings

Parses lines (representing a mappings file) into a mappings data structure. Throws an IllegalStateException when lines is not a valid input for this mappings format. To check if lines can be parsed, you could invoke detect.

- -
+ +
- +
Link copied to clipboard
-

Parses lines (a Sequence of lines in a mappings file) into a mappings data structure. Throws an IllegalStateException when lines is not a valid input for this mappings format.

+

Parses lines (a Sequence of lines in a mappings file) into a mappings data structure. Throws an IllegalStateException when lines is not a valid input for this mappings format.

- -
+ +
- - + +
Link copied to clipboard
-
open fun write(mappings: EnigmaMappings): List<String>

Writes mappings compatible with this MappingsFormat back to a list of lines representing a mappings file

+
open fun write(mappings: EnigmaMappings): List<String>

Writes mappings compatible with this MappingsFormat back to a list of lines representing a mappings file

- -
+ +
- - + +
Link copied to clipboard
-
open override fun writeLazy(mappings: EnigmaMappings): Sequence<String>

Writes mappings compatible with this MappingsFormat to a lazily evaluated Sequence

+
open override fun writeLazy(mappings: EnigmaMappings): Sequence<String>

Writes mappings compatible with this MappingsFormat to a lazily evaluated Sequence

@@ -153,12 +150,11 @@

Functions

+ diff --git a/docs/mappings-util/com.grappenmaker.mappings/-enigma-mappings-format/parse.html b/docs/mappings-util/com.grappenmaker.mappings/-enigma-mappings-format/parse.html index c7c5eac..45b4a87 100644 --- a/docs/mappings-util/com.grappenmaker.mappings/-enigma-mappings-format/parse.html +++ b/docs/mappings-util/com.grappenmaker.mappings/-enigma-mappings-format/parse.html @@ -1,10 +1,9 @@ - + parse - - + - - + + - - - - - - - + + + + + +
-
- +
+

parse

-
open override fun parse(lines: Iterator<String>): EnigmaMappings(source)

Parses lines (an iterator of lines in a mappings file) into a mappings data structure. Throws an IllegalStateException when lines is not a valid input for this mappings format.

+
open override fun parse(lines: Iterator<String>): EnigmaMappings(source)

Parses lines (an iterator of lines in a mappings file) into a mappings data structure. Throws an IllegalStateException when lines is not a valid input for this mappings format.

+ diff --git a/docs/mappings-util/com.grappenmaker.mappings/-enigma-mappings-format/write-lazy.html b/docs/mappings-util/com.grappenmaker.mappings/-enigma-mappings-format/write-lazy.html index 889eaea..0389c39 100644 --- a/docs/mappings-util/com.grappenmaker.mappings/-enigma-mappings-format/write-lazy.html +++ b/docs/mappings-util/com.grappenmaker.mappings/-enigma-mappings-format/write-lazy.html @@ -1,10 +1,9 @@ - + writeLazy - - + - - + + - - - - - - - + + + + + +
-
- +
+
-

writeLazy

+

writeLazy

-
open override fun writeLazy(mappings: EnigmaMappings): Sequence<String>(source)

Writes mappings compatible with this MappingsFormat to a lazily evaluated Sequence

+
open override fun writeLazy(mappings: EnigmaMappings): Sequence<String>(source)

Writes mappings compatible with this MappingsFormat to a lazily evaluated Sequence

+ diff --git a/docs/mappings-util/com.grappenmaker.mappings/-enigma-mappings/-enigma-mappings.html b/docs/mappings-util/com.grappenmaker.mappings/-enigma-mappings/-enigma-mappings.html index 3f936c4..13f11b6 100644 --- a/docs/mappings-util/com.grappenmaker.mappings/-enigma-mappings/-enigma-mappings.html +++ b/docs/mappings-util/com.grappenmaker.mappings/-enigma-mappings/-enigma-mappings.html @@ -1,10 +1,9 @@ - + EnigmaMappings - - + - - + + - - - - - - - + + + + + +
-
- +
+
-

EnigmaMappings

+

EnigmaMappings

-
constructor(classes: List<MappedClass>)(source)
+
constructor(classes: List<MappedClass>)(source)
+ diff --git a/docs/mappings-util/com.grappenmaker.mappings/-enigma-mappings/classes.html b/docs/mappings-util/com.grappenmaker.mappings/-enigma-mappings/classes.html index 18c9fa6..35be619 100644 --- a/docs/mappings-util/com.grappenmaker.mappings/-enigma-mappings/classes.html +++ b/docs/mappings-util/com.grappenmaker.mappings/-enigma-mappings/classes.html @@ -1,10 +1,9 @@ - + classes - - + - - + + - - - - - - - + + + + + +
-
- +
+

classes

-
open override val classes: List<MappedClass>(source)
+
open override val classes: List<MappedClass>(source)
+ diff --git a/docs/mappings-util/com.grappenmaker.mappings/-enigma-mappings/index.html b/docs/mappings-util/com.grappenmaker.mappings/-enigma-mappings/index.html index c438338..83e75b3 100644 --- a/docs/mappings-util/com.grappenmaker.mappings/-enigma-mappings/index.html +++ b/docs/mappings-util/com.grappenmaker.mappings/-enigma-mappings/index.html @@ -1,10 +1,9 @@ - + EnigmaMappings - - + - - + + - - - - - - - + + + + + +
-
- +
+
-

EnigmaMappings

-
data class EnigmaMappings(val classes: List<MappedClass>) : Mappings(source)

Represents either an enigma mappings file

+

EnigmaMappings

+
data class EnigmaMappings(val classes: List<MappedClass>) : Mappings(source)

Represents either an enigma mappings file

Constructors

-
-
+
+
- - + +
Link copied to clipboard
-
constructor(classes: List<MappedClass>)
+
constructor(classes: List<MappedClass>)
@@ -91,32 +88,32 @@

Constructors

Properties

-
-
+
+
- +
Link copied to clipboard
-
open override val classes: List<MappedClass>

All mapped classes in this mappings file (in order, not important)

+
open override val classes: List<MappedClass>

All mapped classes in this mappings file (in order, not important)

- -
+ +
- +
Link copied to clipboard
-
open override val namespaces: List<String>

All namespaces (in order) that this mappings file supports/contains

+
open override val namespaces: List<String>

All namespaces (in order) that this mappings file supports/contains

@@ -125,407 +122,407 @@

Properties

Functions

-
-
+
+
- - + +
Link copied to clipboard
-
fun Mappings.asASMMapping(from: String, to: String, includeMethods: Boolean = true, includeFields: Boolean = true): Map<String, String>

Returns a simple mapping representing all of the Mappings, mapping between the namespaces from and to. If includeMethods is true, then methods will be included in the mapping. If includeFields is true, then fields will be included in the mapping.

+
fun Mappings.asASMMapping(from: String, to: String, includeMethods: Boolean = true, includeFields: Boolean = true): Map<String, String>

Returns a simple mapping representing all of the Mappings, mapping between the namespaces from and to. If includeMethods is true, then methods will be included in the mapping. If includeFields is true, then fields will be included in the mapping.

- -
+ +
- - + +
Link copied to clipboard
- -
+ +
- - + +
Link copied to clipboard
- -
+ + - -
+ + - -
+ + - -
+ +
- - + +
Link copied to clipboard
- -
+ +
- - + +
Link copied to clipboard
-

Returns an asm SimpleRemapper for remapping references between namespaces from and to disregarding inheritance and lambdas. For proper remapping, you should use the MappingsRemapper.

+

Returns an asm SimpleRemapper for remapping references between namespaces from and to disregarding inheritance and lambdas. For proper remapping, you should use the MappingsRemapper.

- -
+ +
- - + +
Link copied to clipboard
-

Converts these Mappings to SRGMappings, enabling XSRG when extended is true.

+

Converts these Mappings to SRGMappings, enabling XSRG when extended is true.

- -
+ +
- - + +
Link copied to clipboard
-

Converts these Mappings to TinyMappings, enabling Tiny v2 when v2 is true.

+

Converts these Mappings to TinyMappings, enabling Tiny v2 when v2 is true.

- -
+ +
- - + +
Link copied to clipboard
-

Converts these Mappings to TSRGMappings, enabling TSRG v2 when v2 is true.

+

Converts these Mappings to TSRGMappings, enabling TSRG v2 when v2 is true.

- -
+ +
- - + +
Link copied to clipboard
-

Removes all duplicate namespace usages in this Mappings.

+

Removes all duplicate namespace usages in this Mappings.

- -
+ +
- - + +
Link copied to clipboard
-

Transforms this Mappings structure to a generic mappings implementation that maps between from and to.

+

Transforms this Mappings structure to a generic mappings implementation that maps between from and to.

- -
+ +
- - + +
Link copied to clipboard
-
inline fun Mappings.filterClasses(predicate: (MappedClass) -> Boolean): Mappings

Filters classes matching the predicate

+
inline fun Mappings.filterClasses(predicate: (MappedClass) -> Boolean): Mappings

Filters classes matching the predicate

- -
+ +
- - + +
Link copied to clipboard
-
inline fun Mappings.filterMethods(predicate: (owner: MappedClass, method: MappedMethod) -> Boolean): Mappings

Filters methods matching the predicate

+
inline fun Mappings.filterMethods(predicate: (owner: MappedClass, method: MappedMethod) -> Boolean): Mappings

Filters methods matching the predicate

- -
+ +
- - + +
Link copied to clipboard
-
fun Mappings.filterNamespaces(vararg allowed: String, allowDuplicates: Boolean = false): Mappings
fun Mappings.filterNamespaces(allowed: Set<String>, allowDuplicates: Boolean = false): Mappings

Filters these Mappings to only contain namespaces that are in allowed. If allowDuplicates is true, the returned Mappings will also have duplicate namespaces removed.

inline fun Mappings.filterNamespaces(allowDuplicates: Boolean = false, predicate: (String) -> Boolean): Mappings

Filters these Mappings to only contain namespaces for which the predicate returns true. If allowDuplicates is true, the returned Mappings will also have duplicate namespaces removed.

+
fun Mappings.filterNamespaces(vararg allowed: String, allowDuplicates: Boolean = false): Mappings
fun Mappings.filterNamespaces(allowed: Set<String>, allowDuplicates: Boolean = false): Mappings

Filters these Mappings to only contain namespaces that are in allowed. If allowDuplicates is true, the returned Mappings will also have duplicate namespaces removed.

inline fun Mappings.filterNamespaces(allowDuplicates: Boolean = false, predicate: (String) -> Boolean): Mappings

Filters these Mappings to only contain namespaces for which the predicate returns true. If allowDuplicates is true, the returned Mappings will also have duplicate namespaces removed.

- -
+ +
- +
Link copied to clipboard
-
fun Mappings.join(otherMappings: Mappings, intermediateNamespace: String, requireMatch: Boolean = false): Mappings

Joins together this Mappings with otherMappings, by matching on intermediateNamespace, producing new Mappings that contain all entries from this Mappings and otherMappings. If requireMatch is true, this method will throw an exception when no method or field or class is found

+
fun Mappings.join(otherMappings: Mappings, intermediateNamespace: String, requireMatch: Boolean = false): Mappings

Joins together this Mappings with otherMappings, by matching on intermediateNamespace, producing new Mappings that contain all entries from this Mappings and otherMappings. If requireMatch is true, this method will throw an exception when no method or field or class is found

- -
+ +
- - + +
Link copied to clipboard
-

Maps classes according to the given block

+

Maps classes according to the given block

- -
+ +
- - + +
Link copied to clipboard
-
inline fun Mappings.mapMethods(block: (owner: MappedClass, method: MappedMethod) -> MappedMethod): Mappings

Maps methods according to the given block

+
inline fun Mappings.mapMethods(block: (owner: MappedClass, method: MappedMethod) -> MappedMethod): Mappings

Maps methods according to the given block

- -
+ +
- +
Link copied to clipboard
-

Returns the index of a namespace named name, but throws an IllegalStateException when name is not in the Mappings.namespaces.

+

Returns the index of a namespace named name, but throws an IllegalStateException when name is not in the Mappings.namespaces.

- -
+ +
- - + +
Link copied to clipboard
-

See recoverFieldDescriptors. file is a jar file resource (caller is responsible for closing it) that contains the classes that are referenced in the generic overload.

fun Mappings.recoverFieldDescriptors(bytesProvider: (name: String) -> ByteArray?): Mappings

Attempts to recover field descriptors that are missing because the original mappings format did not specify them. bytesProvider is responsible for providing all of the classes that might be referenced in this Mappings object, such that the descriptors can be recovered based on named (fields can be uniquely identified by an owner-name pair). When field descriptors were not found, field mappings will not be passed onto the new Mappings as field mappings without descriptors will be considered invalid.

@JvmName(name = "recoverDescsByNode")
fun Mappings.recoverFieldDescriptors(nodeProvider: (name: String) -> ClassNode?): Mappings

Attempts to recover field descriptors that are missing because the original mappings format did not specify them. nodeProvider is responsible for providing all of the ClassNodes that might be referenced in this Mappings object, such that the descriptors can be recovered based on named (fields can be uniquely identified by an owner-name pair). When field descriptors were not found, field mappings will not be passed onto the new Mappings as field mappings without descriptors will be considered invalid.

+

See recoverFieldDescriptors. file is a jar file resource (caller is responsible for closing it) that contains the classes that are referenced in the generic overload.

fun Mappings.recoverFieldDescriptors(bytesProvider: (name: String) -> ByteArray?): Mappings

Attempts to recover field descriptors that are missing because the original mappings format did not specify them. bytesProvider is responsible for providing all of the classes that might be referenced in this Mappings object, such that the descriptors can be recovered based on named (fields can be uniquely identified by an owner-name pair). When field descriptors were not found, field mappings will not be passed onto the new Mappings as field mappings without descriptors will be considered invalid.

@JvmName(name = "recoverDescsByNode")
fun Mappings.recoverFieldDescriptors(nodeProvider: (name: String) -> ClassNode?): Mappings

Attempts to recover field descriptors that are missing because the original mappings format did not specify them. nodeProvider is responsible for providing all of the ClassNodes that might be referenced in this Mappings object, such that the descriptors can be recovered based on named (fields can be uniquely identified by an owner-name pair). When field descriptors were not found, field mappings will not be passed onto the new Mappings as field mappings without descriptors will be considered invalid.

- -
+ +
- - + +
Link copied to clipboard
-

Returns new Mappings that are identical to these Mappings, except the comments will be removed

+

Returns new Mappings that are identical to these Mappings, except the comments will be removed

- -
+ +
- - + +
Link copied to clipboard
-
fun Mappings.removeRedundancy(inheritanceProvider: InheritanceProvider, removeDuplicateMethods: Boolean = false): Mappings

Removes redundant or straight up incorrect data from this Mappings object, by looking at the inheritance information present in class files, presented by the inheritanceProvider.

fun Mappings.removeRedundancy(file: JarFile, removeDuplicateMethods: Boolean = false): Mappings

See removeRedundancy. file is a jar file resource (caller is responsible for closing it) that contains the classes that are referenced in the generic overload. Calls with identical names are being cached by this function, the caller is not responsible for this.

fun Mappings.removeRedundancy(removeDuplicateMethods: Boolean = false, loader: ClasspathLoader): Mappings

Removes redundant or straight up incorrect data from this Mappings object, by looking at the inheritance information present in class files, presented by the loader.

+
fun Mappings.removeRedundancy(inheritanceProvider: InheritanceProvider, removeDuplicateMethods: Boolean = false): Mappings

Removes redundant or straight up incorrect data from this Mappings object, by looking at the inheritance information present in class files, presented by the inheritanceProvider.

fun Mappings.removeRedundancy(file: JarFile, removeDuplicateMethods: Boolean = false): Mappings

See removeRedundancy. file is a jar file resource (caller is responsible for closing it) that contains the classes that are referenced in the generic overload. Calls with identical names are being cached by this function, the caller is not responsible for this.

fun Mappings.removeRedundancy(removeDuplicateMethods: Boolean = false, loader: ClasspathLoader): Mappings

Removes redundant or straight up incorrect data from this Mappings object, by looking at the inheritance information present in class files, presented by the loader.

- -
+ +
- - + +
Link copied to clipboard
-

Swaps out the names for the namespaces in this Mappings data structure.

+

Swaps out the names for the namespaces in this Mappings data structure.

- -
+ +
- - + +
Link copied to clipboard
-

Swaps out the names for the namespaces in this Mappings data structure, by reordering. Duplicate names are allowed, in which case mapped entries are duplicated to fit the new order. If a name in Mappings.namespaces does not appear in order, its mapping entries will be missing in the returned Mappings.

Swaps out the names for the namespaces in this Mappings data structure, by reordering. Duplicate names are allowed, in which case mapped entries are duplicated to fit the new order. If a name in Mappings.namespaces does not appear in order, its mapping entries will be missing in the returned Mappings. If a namespace in order does not exist in this Mappings, an IllegalArgumentException will be thrown.

+

Swaps out the names for the namespaces in this Mappings data structure, by reordering. Duplicate names are allowed, in which case mapped entries are duplicated to fit the new order. If a name in Mappings.namespaces does not appear in order, its mapping entries will be missing in the returned Mappings.

Swaps out the names for the namespaces in this Mappings data structure, by reordering. Duplicate names are allowed, in which case mapped entries are duplicated to fit the new order. If a name in Mappings.namespaces does not appear in order, its mapping entries will be missing in the returned Mappings. If a namespace in order does not exist in this Mappings, an IllegalArgumentException will be thrown.

- -
+ +
- +
Link copied to clipboard
-

Writes EnigmaMappings to a mappings file represented by a list of strings.

+

Writes EnigmaMappings to a mappings file represented by a list of strings.

- -
+ +
- - + +
Link copied to clipboard
-

Writes EnigmaMappings as a lazily evaluated Sequence.

+

Writes EnigmaMappings as a lazily evaluated Sequence.

@@ -536,12 +533,11 @@

Functions

+ diff --git a/docs/mappings-util/com.grappenmaker.mappings/-enigma-mappings/namespaces.html b/docs/mappings-util/com.grappenmaker.mappings/-enigma-mappings/namespaces.html index 61481c8..b5964f3 100644 --- a/docs/mappings-util/com.grappenmaker.mappings/-enigma-mappings/namespaces.html +++ b/docs/mappings-util/com.grappenmaker.mappings/-enigma-mappings/namespaces.html @@ -1,10 +1,9 @@ - + namespaces - - + - - + + - - - - - - - + + + + + +
-
- +
+

namespaces

-
open override val namespaces: List<String>(source)
+
open override val namespaces: List<String>(source)
+ diff --git a/docs/mappings-util/com.grappenmaker.mappings/-experimental-jar-remapper/index.html b/docs/mappings-util/com.grappenmaker.mappings/-experimental-jar-remapper/index.html index 92a0c28..7578727 100644 --- a/docs/mappings-util/com.grappenmaker.mappings/-experimental-jar-remapper/index.html +++ b/docs/mappings-util/com.grappenmaker.mappings/-experimental-jar-remapper/index.html @@ -1,10 +1,9 @@ - + ExperimentalJarRemapper - - + - - + + - - - - - - - + + + + + +
-
- +
+
-

ExperimentalJarRemapper

-

Marker annotation that declares that the annotated type is experimental Jar Remapper API

+

ExperimentalJarRemapper

+

Marker annotation that declares that the annotated type is experimental Jar Remapper API

@@ -73,12 +70,11 @@

ExperimentalJar

+ diff --git a/docs/mappings-util/com.grappenmaker.mappings/-generic-mappings/-generic-mappings.html b/docs/mappings-util/com.grappenmaker.mappings/-generic-mappings/-generic-mappings.html index 3d61283..750d995 100644 --- a/docs/mappings-util/com.grappenmaker.mappings/-generic-mappings/-generic-mappings.html +++ b/docs/mappings-util/com.grappenmaker.mappings/-generic-mappings/-generic-mappings.html @@ -1,10 +1,9 @@ - + GenericMappings - - + - - + + - - - - - - - + + + + + +
-
- +
+
-

GenericMappings

+

GenericMappings

-
constructor(namespaces: List<String>, classes: List<MappedClass>)(source)
+
constructor(namespaces: List<String>, classes: List<MappedClass>)(source)
+ diff --git a/docs/mappings-util/com.grappenmaker.mappings/-generic-mappings/classes.html b/docs/mappings-util/com.grappenmaker.mappings/-generic-mappings/classes.html index 5915989..d8ec582 100644 --- a/docs/mappings-util/com.grappenmaker.mappings/-generic-mappings/classes.html +++ b/docs/mappings-util/com.grappenmaker.mappings/-generic-mappings/classes.html @@ -1,10 +1,9 @@ - + classes - - + - - + + - - - - - - - + + + + + +
-
- +
+

classes

-
open override val classes: List<MappedClass>(source)
+
open override val classes: List<MappedClass>(source)
+ diff --git a/docs/mappings-util/com.grappenmaker.mappings/-generic-mappings/index.html b/docs/mappings-util/com.grappenmaker.mappings/-generic-mappings/index.html index 8b8690f..f73d4fd 100644 --- a/docs/mappings-util/com.grappenmaker.mappings/-generic-mappings/index.html +++ b/docs/mappings-util/com.grappenmaker.mappings/-generic-mappings/index.html @@ -1,10 +1,9 @@ - + GenericMappings - - + - - + + - - - - - - - + + + + + +
-
- +
+
-

GenericMappings

-
data class GenericMappings(val namespaces: List<String>, val classes: List<MappedClass>) : Mappings(source)

Represents a generic type of mapping that is not deserialized from anything, nor can be serialized to a mappings file. It does not carry format-specific metadata, and is used as an intermediate value for transforming mappings.

+

GenericMappings

+
data class GenericMappings(val namespaces: List<String>, val classes: List<MappedClass>) : Mappings(source)

Represents a generic type of mapping that is not deserialized from anything, nor can be serialized to a mappings file. It does not carry format-specific metadata, and is used as an intermediate value for transforming mappings.

Constructors

-
-
+
+
- - + +
Link copied to clipboard
-
constructor(namespaces: List<String>, classes: List<MappedClass>)
+
constructor(namespaces: List<String>, classes: List<MappedClass>)
@@ -91,32 +88,32 @@

Constructors

Properties

-
-
+
+
- +
Link copied to clipboard
-
open override val classes: List<MappedClass>

All mapped classes in this mappings file (in order, not important)

+
open override val classes: List<MappedClass>

All mapped classes in this mappings file (in order, not important)

- -
+ +
- +
Link copied to clipboard
-
open override val namespaces: List<String>

All namespaces (in order) that this mappings file supports/contains

+
open override val namespaces: List<String>

All namespaces (in order) that this mappings file supports/contains

@@ -125,377 +122,377 @@

Properties

Functions

-
-
+
+
- - + +
Link copied to clipboard
-
fun Mappings.asASMMapping(from: String, to: String, includeMethods: Boolean = true, includeFields: Boolean = true): Map<String, String>

Returns a simple mapping representing all of the Mappings, mapping between the namespaces from and to. If includeMethods is true, then methods will be included in the mapping. If includeFields is true, then fields will be included in the mapping.

+
fun Mappings.asASMMapping(from: String, to: String, includeMethods: Boolean = true, includeFields: Boolean = true): Map<String, String>

Returns a simple mapping representing all of the Mappings, mapping between the namespaces from and to. If includeMethods is true, then methods will be included in the mapping. If includeFields is true, then fields will be included in the mapping.

- -
+ +
- - + +
Link copied to clipboard
- -
+ +
- - + +
Link copied to clipboard
- -
+ + - -
+ + - -
+ + - -
+ +
- - + +
Link copied to clipboard
- -
+ +
- - + +
Link copied to clipboard
-

Returns an asm SimpleRemapper for remapping references between namespaces from and to disregarding inheritance and lambdas. For proper remapping, you should use the MappingsRemapper.

+

Returns an asm SimpleRemapper for remapping references between namespaces from and to disregarding inheritance and lambdas. For proper remapping, you should use the MappingsRemapper.

- -
+ +
- - + +
Link copied to clipboard
-

Converts these Mappings to SRGMappings, enabling XSRG when extended is true.

+

Converts these Mappings to SRGMappings, enabling XSRG when extended is true.

- -
+ +
- - + +
Link copied to clipboard
-

Converts these Mappings to TinyMappings, enabling Tiny v2 when v2 is true.

+

Converts these Mappings to TinyMappings, enabling Tiny v2 when v2 is true.

- -
+ +
- - + +
Link copied to clipboard
-

Converts these Mappings to TSRGMappings, enabling TSRG v2 when v2 is true.

+

Converts these Mappings to TSRGMappings, enabling TSRG v2 when v2 is true.

- -
+ +
- - + +
Link copied to clipboard
-

Removes all duplicate namespace usages in this Mappings.

+

Removes all duplicate namespace usages in this Mappings.

- -
+ +
- - + +
Link copied to clipboard
-

Transforms this Mappings structure to a generic mappings implementation that maps between from and to.

+

Transforms this Mappings structure to a generic mappings implementation that maps between from and to.

- -
+ +
- - + +
Link copied to clipboard
-
inline fun Mappings.filterClasses(predicate: (MappedClass) -> Boolean): Mappings

Filters classes matching the predicate

+
inline fun Mappings.filterClasses(predicate: (MappedClass) -> Boolean): Mappings

Filters classes matching the predicate

- -
+ +
- - + +
Link copied to clipboard
-
inline fun Mappings.filterMethods(predicate: (owner: MappedClass, method: MappedMethod) -> Boolean): Mappings

Filters methods matching the predicate

+
inline fun Mappings.filterMethods(predicate: (owner: MappedClass, method: MappedMethod) -> Boolean): Mappings

Filters methods matching the predicate

- -
+ +
- - + +
Link copied to clipboard
-
fun Mappings.filterNamespaces(vararg allowed: String, allowDuplicates: Boolean = false): Mappings
fun Mappings.filterNamespaces(allowed: Set<String>, allowDuplicates: Boolean = false): Mappings

Filters these Mappings to only contain namespaces that are in allowed. If allowDuplicates is true, the returned Mappings will also have duplicate namespaces removed.

inline fun Mappings.filterNamespaces(allowDuplicates: Boolean = false, predicate: (String) -> Boolean): Mappings

Filters these Mappings to only contain namespaces for which the predicate returns true. If allowDuplicates is true, the returned Mappings will also have duplicate namespaces removed.

+
fun Mappings.filterNamespaces(vararg allowed: String, allowDuplicates: Boolean = false): Mappings
fun Mappings.filterNamespaces(allowed: Set<String>, allowDuplicates: Boolean = false): Mappings

Filters these Mappings to only contain namespaces that are in allowed. If allowDuplicates is true, the returned Mappings will also have duplicate namespaces removed.

inline fun Mappings.filterNamespaces(allowDuplicates: Boolean = false, predicate: (String) -> Boolean): Mappings

Filters these Mappings to only contain namespaces for which the predicate returns true. If allowDuplicates is true, the returned Mappings will also have duplicate namespaces removed.

- -
+ +
- +
Link copied to clipboard
-
fun Mappings.join(otherMappings: Mappings, intermediateNamespace: String, requireMatch: Boolean = false): Mappings

Joins together this Mappings with otherMappings, by matching on intermediateNamespace, producing new Mappings that contain all entries from this Mappings and otherMappings. If requireMatch is true, this method will throw an exception when no method or field or class is found

+
fun Mappings.join(otherMappings: Mappings, intermediateNamespace: String, requireMatch: Boolean = false): Mappings

Joins together this Mappings with otherMappings, by matching on intermediateNamespace, producing new Mappings that contain all entries from this Mappings and otherMappings. If requireMatch is true, this method will throw an exception when no method or field or class is found

- -
+ +
- - + +
Link copied to clipboard
-

Maps classes according to the given block

+

Maps classes according to the given block

- -
+ +
- - + +
Link copied to clipboard
-
inline fun Mappings.mapMethods(block: (owner: MappedClass, method: MappedMethod) -> MappedMethod): Mappings

Maps methods according to the given block

+
inline fun Mappings.mapMethods(block: (owner: MappedClass, method: MappedMethod) -> MappedMethod): Mappings

Maps methods according to the given block

- -
+ +
- +
Link copied to clipboard
-

Returns the index of a namespace named name, but throws an IllegalStateException when name is not in the Mappings.namespaces.

+

Returns the index of a namespace named name, but throws an IllegalStateException when name is not in the Mappings.namespaces.

- -
+ +
- - + +
Link copied to clipboard
-

See recoverFieldDescriptors. file is a jar file resource (caller is responsible for closing it) that contains the classes that are referenced in the generic overload.

fun Mappings.recoverFieldDescriptors(bytesProvider: (name: String) -> ByteArray?): Mappings

Attempts to recover field descriptors that are missing because the original mappings format did not specify them. bytesProvider is responsible for providing all of the classes that might be referenced in this Mappings object, such that the descriptors can be recovered based on named (fields can be uniquely identified by an owner-name pair). When field descriptors were not found, field mappings will not be passed onto the new Mappings as field mappings without descriptors will be considered invalid.

@JvmName(name = "recoverDescsByNode")
fun Mappings.recoverFieldDescriptors(nodeProvider: (name: String) -> ClassNode?): Mappings

Attempts to recover field descriptors that are missing because the original mappings format did not specify them. nodeProvider is responsible for providing all of the ClassNodes that might be referenced in this Mappings object, such that the descriptors can be recovered based on named (fields can be uniquely identified by an owner-name pair). When field descriptors were not found, field mappings will not be passed onto the new Mappings as field mappings without descriptors will be considered invalid.

+

See recoverFieldDescriptors. file is a jar file resource (caller is responsible for closing it) that contains the classes that are referenced in the generic overload.

fun Mappings.recoverFieldDescriptors(bytesProvider: (name: String) -> ByteArray?): Mappings

Attempts to recover field descriptors that are missing because the original mappings format did not specify them. bytesProvider is responsible for providing all of the classes that might be referenced in this Mappings object, such that the descriptors can be recovered based on named (fields can be uniquely identified by an owner-name pair). When field descriptors were not found, field mappings will not be passed onto the new Mappings as field mappings without descriptors will be considered invalid.

@JvmName(name = "recoverDescsByNode")
fun Mappings.recoverFieldDescriptors(nodeProvider: (name: String) -> ClassNode?): Mappings

Attempts to recover field descriptors that are missing because the original mappings format did not specify them. nodeProvider is responsible for providing all of the ClassNodes that might be referenced in this Mappings object, such that the descriptors can be recovered based on named (fields can be uniquely identified by an owner-name pair). When field descriptors were not found, field mappings will not be passed onto the new Mappings as field mappings without descriptors will be considered invalid.

- -
+ +
- - + +
Link copied to clipboard
-

Returns new Mappings that are identical to these Mappings, except the comments will be removed

+

Returns new Mappings that are identical to these Mappings, except the comments will be removed

- -
+ +
- - + +
Link copied to clipboard
-
fun Mappings.removeRedundancy(inheritanceProvider: InheritanceProvider, removeDuplicateMethods: Boolean = false): Mappings

Removes redundant or straight up incorrect data from this Mappings object, by looking at the inheritance information present in class files, presented by the inheritanceProvider.

fun Mappings.removeRedundancy(file: JarFile, removeDuplicateMethods: Boolean = false): Mappings

See removeRedundancy. file is a jar file resource (caller is responsible for closing it) that contains the classes that are referenced in the generic overload. Calls with identical names are being cached by this function, the caller is not responsible for this.

fun Mappings.removeRedundancy(removeDuplicateMethods: Boolean = false, loader: ClasspathLoader): Mappings

Removes redundant or straight up incorrect data from this Mappings object, by looking at the inheritance information present in class files, presented by the loader.

+
fun Mappings.removeRedundancy(inheritanceProvider: InheritanceProvider, removeDuplicateMethods: Boolean = false): Mappings

Removes redundant or straight up incorrect data from this Mappings object, by looking at the inheritance information present in class files, presented by the inheritanceProvider.

fun Mappings.removeRedundancy(file: JarFile, removeDuplicateMethods: Boolean = false): Mappings

See removeRedundancy. file is a jar file resource (caller is responsible for closing it) that contains the classes that are referenced in the generic overload. Calls with identical names are being cached by this function, the caller is not responsible for this.

fun Mappings.removeRedundancy(removeDuplicateMethods: Boolean = false, loader: ClasspathLoader): Mappings

Removes redundant or straight up incorrect data from this Mappings object, by looking at the inheritance information present in class files, presented by the loader.

- -
+ +
- - + +
Link copied to clipboard
-

Swaps out the names for the namespaces in this Mappings data structure.

+

Swaps out the names for the namespaces in this Mappings data structure.

- -
+ +
- - + +
Link copied to clipboard
-

Swaps out the names for the namespaces in this Mappings data structure, by reordering. Duplicate names are allowed, in which case mapped entries are duplicated to fit the new order. If a name in Mappings.namespaces does not appear in order, its mapping entries will be missing in the returned Mappings.

Swaps out the names for the namespaces in this Mappings data structure, by reordering. Duplicate names are allowed, in which case mapped entries are duplicated to fit the new order. If a name in Mappings.namespaces does not appear in order, its mapping entries will be missing in the returned Mappings. If a namespace in order does not exist in this Mappings, an IllegalArgumentException will be thrown.

+

Swaps out the names for the namespaces in this Mappings data structure, by reordering. Duplicate names are allowed, in which case mapped entries are duplicated to fit the new order. If a name in Mappings.namespaces does not appear in order, its mapping entries will be missing in the returned Mappings.

Swaps out the names for the namespaces in this Mappings data structure, by reordering. Duplicate names are allowed, in which case mapped entries are duplicated to fit the new order. If a name in Mappings.namespaces does not appear in order, its mapping entries will be missing in the returned Mappings. If a namespace in order does not exist in this Mappings, an IllegalArgumentException will be thrown.

@@ -506,12 +503,11 @@

Functions

+ diff --git a/docs/mappings-util/com.grappenmaker.mappings/-generic-mappings/namespaces.html b/docs/mappings-util/com.grappenmaker.mappings/-generic-mappings/namespaces.html index cc4fcfd..821e94a 100644 --- a/docs/mappings-util/com.grappenmaker.mappings/-generic-mappings/namespaces.html +++ b/docs/mappings-util/com.grappenmaker.mappings/-generic-mappings/namespaces.html @@ -1,10 +1,9 @@ - + namespaces - - + - - + + - - - - - - - + + + + + +
-
- +
+

namespaces

-
open override val namespaces: List<String>(source)
+
open override val namespaces: List<String>(source)
+ diff --git a/docs/mappings-util/com.grappenmaker.mappings/-i-n-h-e-r-i-t-a-b-l-e_-m-a-s-k.html b/docs/mappings-util/com.grappenmaker.mappings/-i-n-h-e-r-i-t-a-b-l-e_-m-a-s-k.html index 8e6806b..8766843 100644 --- a/docs/mappings-util/com.grappenmaker.mappings/-i-n-h-e-r-i-t-a-b-l-e_-m-a-s-k.html +++ b/docs/mappings-util/com.grappenmaker.mappings/-i-n-h-e-r-i-t-a-b-l-e_-m-a-s-k.html @@ -1,10 +1,9 @@ - + INHERITABLE_MASK - - + - - + + - - - - - - - + + + + + +
-
- +
+

INHERITABLE_MASK

-
const val INHERITABLE_MASK: Int = 26(source)

Represents the bitmask of access flags that a member may not have to be considered inheritable, see InheritanceProvider.getDeclaredMethods

+
const val INHERITABLE_MASK: Int = 26(source)

Represents the bitmask of access flags that a member may not have to be considered inheritable, see InheritanceProvider.getDeclaredMethods

+ diff --git a/docs/mappings-util/com.grappenmaker.mappings/-inheritance-provider/get-declared-methods.html b/docs/mappings-util/com.grappenmaker.mappings/-inheritance-provider/get-declared-methods.html index 959644b..ca7210d 100644 --- a/docs/mappings-util/com.grappenmaker.mappings/-inheritance-provider/get-declared-methods.html +++ b/docs/mappings-util/com.grappenmaker.mappings/-inheritance-provider/get-declared-methods.html @@ -1,10 +1,9 @@ - + getDeclaredMethods - - + - - + + - - - - - - - + + + + + +
-
- +
+
-

getDeclaredMethods

+

getDeclaredMethods

-
abstract fun getDeclaredMethods(internalName: String, filterInheritable: Boolean): Iterable<String>(source)

Returns the signatures of the methods declared in a class with a given internalName.

A signature is a string that represents a method by concatenating its name with its JVMS descriptor For example: valueOf(Ljava/lang/String;)Lsome/EnumType;

A declared method is a method that is directly declared in the bytecode of the class.

If filterInheritable is true, this method should only return the signatures of methods that are non-private, non-static, non-final. That is, access & (ACC_PRIVATE | ACC_STATIC | ACC_FINAL) == 0, where access is the bitset of access flags as defined by the JVMS. The convienience constant INHERITABLE_MASK can be used for this computation as well, by comparing access &INHERITABLE_MASK == 0

+
abstract fun getDeclaredMethods(internalName: String, filterInheritable: Boolean): Iterable<String>(source)

Returns the signatures of the methods declared in a class with a given internalName.

A signature is a string that represents a method by concatenating its name with its JVMS descriptor For example: valueOf(Ljava/lang/String;)Lsome/EnumType;

A declared method is a method that is directly declared in the bytecode of the class.

If filterInheritable is true, this method should only return the signatures of methods that are non-private, non-static, non-final. That is, access & (ACC_PRIVATE | ACC_STATIC | ACC_FINAL) == 0, where access is the bitset of access flags as defined by the JVMS. The convienience constant INHERITABLE_MASK can be used for this computation as well, by comparing access &INHERITABLE_MASK == 0

+ diff --git a/docs/mappings-util/com.grappenmaker.mappings/-inheritance-provider/get-direct-parents.html b/docs/mappings-util/com.grappenmaker.mappings/-inheritance-provider/get-direct-parents.html index 0c7273e..ad14342 100644 --- a/docs/mappings-util/com.grappenmaker.mappings/-inheritance-provider/get-direct-parents.html +++ b/docs/mappings-util/com.grappenmaker.mappings/-inheritance-provider/get-direct-parents.html @@ -1,10 +1,9 @@ - + getDirectParents - - + - - + + - - - - - - - + + + + + +
-
- +
+
-

getDirectParents

+

getDirectParents

-
abstract fun getDirectParents(internalName: String): Iterable<String>(source)

Returns the direct parents of a class with a given internalName, that is, it returns an iterable of its super class (if any) and its superinterfaces, in that order.

+
abstract fun getDirectParents(internalName: String): Iterable<String>(source)

Returns the direct parents of a class with a given internalName, that is, it returns an iterable of its super class (if any) and its superinterfaces, in that order.

+ diff --git a/docs/mappings-util/com.grappenmaker.mappings/-inheritance-provider/get-parents.html b/docs/mappings-util/com.grappenmaker.mappings/-inheritance-provider/get-parents.html index 5b6428c..039c200 100644 --- a/docs/mappings-util/com.grappenmaker.mappings/-inheritance-provider/get-parents.html +++ b/docs/mappings-util/com.grappenmaker.mappings/-inheritance-provider/get-parents.html @@ -1,10 +1,9 @@ - + getParents - - + - - + + - - - - - - - + + + + + +
-
- +
+
-

getParents

+

getParents

-
open fun getParents(internalName: String): Iterable<String>(source)

Returns the internal names of the parents of a class with a given internalName, in depth-first order, interfaces first.

Suppose we have the following class definitions:

class A extends B implements C, D class B extends E

Then, calling this method on A should return {D, C, E} ({C, D, E} is also valid).

The default implementation performs depth-first search with pruning over getDirectParents. Implementations are welcome to optimize it for their specific use-case.

+
open fun getParents(internalName: String): Iterable<String>(source)

Returns the internal names of the parents of a class with a given internalName, in depth-first order, interfaces first.

Suppose we have the following class definitions:

class A extends B implements C, D class B extends E

Then, calling this method on A should return {D, C, E} ({C, D, E} is also valid).

The default implementation performs depth-first search with pruning over getDirectParents. Implementations are welcome to optimize it for their specific use-case.

+ diff --git a/docs/mappings-util/com.grappenmaker.mappings/-inheritance-provider/index.html b/docs/mappings-util/com.grappenmaker.mappings/-inheritance-provider/index.html index 1fbc00e..1f99733 100644 --- a/docs/mappings-util/com.grappenmaker.mappings/-inheritance-provider/index.html +++ b/docs/mappings-util/com.grappenmaker.mappings/-inheritance-provider/index.html @@ -1,10 +1,9 @@ - + InheritanceProvider - - + - - + + - - - - - - - + + + + + +
-
- +
+
-

InheritanceProvider

-

Represents an entry point for tasks like remapping and transformations to gather inheritance information from the classpath. Its simple design allows implementations to fetch information from different kinds of resources, like the classpath (see LoaderInheritanceProvider).

Inheritors

+

InheritanceProvider

+

Represents an entry point for tasks like remapping and transformations to gather inheritance information from the classpath. Its simple design allows implementations to fetch information from different kinds of resources, like the classpath (see LoaderInheritanceProvider).

Inheritors

Functions

-
-
+
+
- - + +
Link copied to clipboard
-
abstract fun getDeclaredMethods(internalName: String, filterInheritable: Boolean): Iterable<String>

Returns the signatures of the methods declared in a class with a given internalName.

+
abstract fun getDeclaredMethods(internalName: String, filterInheritable: Boolean): Iterable<String>

Returns the signatures of the methods declared in a class with a given internalName.

- -
+ +
- - + +
Link copied to clipboard
-
abstract fun getDirectParents(internalName: String): Iterable<String>

Returns the direct parents of a class with a given internalName, that is, it returns an iterable of its super class (if any) and its superinterfaces, in that order.

+
abstract fun getDirectParents(internalName: String): Iterable<String>

Returns the direct parents of a class with a given internalName, that is, it returns an iterable of its super class (if any) and its superinterfaces, in that order.

- -
+ +
- - + +
Link copied to clipboard
-
open fun getParents(internalName: String): Iterable<String>

Returns the internal names of the parents of a class with a given internalName, in depth-first order, interfaces first.

+
open fun getParents(internalName: String): Iterable<String>

Returns the internal names of the parents of a class with a given internalName, in depth-first order, interfaces first.

- -
+ +
- +
Link copied to clipboard
-

Wraps this into a new provider that remembers the results of calls

+

Wraps this into a new provider that remembers the results of calls

@@ -138,12 +135,11 @@

Functions

+ diff --git a/docs/mappings-util/com.grappenmaker.mappings/-jar-class-visitor/index.html b/docs/mappings-util/com.grappenmaker.mappings/-jar-class-visitor/index.html index 4516768..ccef270 100644 --- a/docs/mappings-util/com.grappenmaker.mappings/-jar-class-visitor/index.html +++ b/docs/mappings-util/com.grappenmaker.mappings/-jar-class-visitor/index.html @@ -1,10 +1,9 @@ - + JarClassVisitor - - + - - + + - - - - - - - + + + + + +
-
- +
+
-

JarClassVisitor

-
fun interface JarClassVisitor(source)

A functional interface that allows users of the JarRemapper to annotate or mutate class files with ASM during remapping

+

JarClassVisitor

+
fun interface JarClassVisitor(source)

A functional interface that allows users of the JarRemapper to annotate or mutate class files with ASM during remapping

Functions

-
-
+
+
- +
Link copied to clipboard
-
abstract fun visit(name: String, parent: ClassVisitor): ClassVisitor?

Called whenever a class file with UNMAPPED name is being remapped from an input jar file by the JarRemapper. The ClassVisitor that this JarClassVisitor returns will be passed onto the next JarClassVisitor in the chain, and at the end the resulting ClassVisitor will be visited during remapping with the original class file in the input jar file. Calls that are made to the parent remapper will eventually be passed on to a ClassWriter, the output of which will be written to the output jar file. Returning null here means that this JarClassVisitor is not interested in visiting this class

+
abstract fun visit(name: String, parent: ClassVisitor): ClassVisitor?

Called whenever a class file with UNMAPPED name is being remapped from an input jar file by the JarRemapper. The ClassVisitor that this JarClassVisitor returns will be passed onto the next JarClassVisitor in the chain, and at the end the resulting ClassVisitor will be visited during remapping with the original class file in the input jar file. Calls that are made to the parent remapper will eventually be passed on to a ClassWriter, the output of which will be written to the output jar file. Returning null here means that this JarClassVisitor is not interested in visiting this class

@@ -93,12 +90,11 @@

Functions

+ diff --git a/docs/mappings-util/com.grappenmaker.mappings/-jar-class-visitor/visit.html b/docs/mappings-util/com.grappenmaker.mappings/-jar-class-visitor/visit.html index 1fa3db1..160ad2d 100644 --- a/docs/mappings-util/com.grappenmaker.mappings/-jar-class-visitor/visit.html +++ b/docs/mappings-util/com.grappenmaker.mappings/-jar-class-visitor/visit.html @@ -1,10 +1,9 @@ - + visit - - + - - + + - - - - - - - + + + + + +
-
- +
+

visit

-
abstract fun visit(name: String, parent: ClassVisitor): ClassVisitor?(source)

Called whenever a class file with UNMAPPED name is being remapped from an input jar file by the JarRemapper. The ClassVisitor that this JarClassVisitor returns will be passed onto the next JarClassVisitor in the chain, and at the end the resulting ClassVisitor will be visited during remapping with the original class file in the input jar file. Calls that are made to the parent remapper will eventually be passed on to a ClassWriter, the output of which will be written to the output jar file. Returning null here means that this JarClassVisitor is not interested in visiting this class

+
abstract fun visit(name: String, parent: ClassVisitor): ClassVisitor?(source)

Called whenever a class file with UNMAPPED name is being remapped from an input jar file by the JarRemapper. The ClassVisitor that this JarClassVisitor returns will be passed onto the next JarClassVisitor in the chain, and at the end the resulting ClassVisitor will be visited during remapping with the original class file in the input jar file. Calls that are made to the parent remapper will eventually be passed on to a ClassWriter, the output of which will be written to the output jar file. Returning null here means that this JarClassVisitor is not interested in visiting this class

+ diff --git a/docs/mappings-util/com.grappenmaker.mappings/-jar-remap-task/-jar-remap-task.html b/docs/mappings-util/com.grappenmaker.mappings/-jar-remap-task/-jar-remap-task.html index ca5f536..066c9ec 100644 --- a/docs/mappings-util/com.grappenmaker.mappings/-jar-remap-task/-jar-remap-task.html +++ b/docs/mappings-util/com.grappenmaker.mappings/-jar-remap-task/-jar-remap-task.html @@ -1,10 +1,9 @@ - + JarRemapTask - - + - - + + - - - - - - - + + + + + +
-
- +
+
-

JarRemapTask

+

JarRemapTask

-
constructor(input: Path, output: Path, fromNamespace: String, toNamespace: String)(source)
+
constructor(input: Path, output: Path, fromNamespace: String, toNamespace: String)(source)
+ diff --git a/docs/mappings-util/com.grappenmaker.mappings/-jar-remap-task/from-namespace.html b/docs/mappings-util/com.grappenmaker.mappings/-jar-remap-task/from-namespace.html index 84e1721..c844c69 100644 --- a/docs/mappings-util/com.grappenmaker.mappings/-jar-remap-task/from-namespace.html +++ b/docs/mappings-util/com.grappenmaker.mappings/-jar-remap-task/from-namespace.html @@ -1,10 +1,9 @@ - + fromNamespace - - + - - + + - - - - - - - + + + + + +
-
- +
+
-

fromNamespace

+

fromNamespace

- +
+ diff --git a/docs/mappings-util/com.grappenmaker.mappings/-jar-remap-task/index.html b/docs/mappings-util/com.grappenmaker.mappings/-jar-remap-task/index.html index 17cab7b..2c5f754 100644 --- a/docs/mappings-util/com.grappenmaker.mappings/-jar-remap-task/index.html +++ b/docs/mappings-util/com.grappenmaker.mappings/-jar-remap-task/index.html @@ -1,10 +1,9 @@ - + JarRemapTask - - + - - + + - - - - - - - + + + + + +
-
- +
+
-

JarRemapTask

-
data class JarRemapTask(val input: Path, val output: Path, val fromNamespace: String, val toNamespace: String)(source)

A data structure that specifies what the JarRemapper should do with a specific jar file

+

JarRemapTask

+
data class JarRemapTask(val input: Path, val output: Path, val fromNamespace: String, val toNamespace: String)(source)

A data structure that specifies what the JarRemapper should do with a specific jar file

Constructors

-
-
+
+
- - + +
Link copied to clipboard
-
constructor(input: Path, output: Path, fromNamespace: String, toNamespace: String)
+
constructor(input: Path, output: Path, fromNamespace: String, toNamespace: String)
@@ -91,62 +88,62 @@

Constructors

Properties

-
-
+
+
- - + +
Link copied to clipboard
-

the namespace the input file is in

+

the namespace the input file is in

- -
+ +
- +
Link copied to clipboard
-
val input: Path

the file that will be read by the jar remapper, remapped into output

+
val input: Path

the file that will be read by the jar remapper, remapped into output

- -
+ +
- +
Link copied to clipboard
-

the file that will be written by the jar remapper

+

the file that will be written by the jar remapper

- -
+ +
- - + +
Link copied to clipboard
-

the namespace the output file will be written in

+

the namespace the output file will be written in

@@ -157,12 +154,11 @@

Properties

+ diff --git a/docs/mappings-util/com.grappenmaker.mappings/-jar-remap-task/input.html b/docs/mappings-util/com.grappenmaker.mappings/-jar-remap-task/input.html index bbd0a3f..913f1a1 100644 --- a/docs/mappings-util/com.grappenmaker.mappings/-jar-remap-task/input.html +++ b/docs/mappings-util/com.grappenmaker.mappings/-jar-remap-task/input.html @@ -1,10 +1,9 @@ - + input - - + - - + + - - - - - - - + + + + + +
-
- +
+

input

- +
+ diff --git a/docs/mappings-util/com.grappenmaker.mappings/-jar-remap-task/output.html b/docs/mappings-util/com.grappenmaker.mappings/-jar-remap-task/output.html index a057780..1382251 100644 --- a/docs/mappings-util/com.grappenmaker.mappings/-jar-remap-task/output.html +++ b/docs/mappings-util/com.grappenmaker.mappings/-jar-remap-task/output.html @@ -1,10 +1,9 @@ - + output - - + - - + + - - - - - - - + + + + + +
-
- +
+

output

- +
+ diff --git a/docs/mappings-util/com.grappenmaker.mappings/-jar-remap-task/to-namespace.html b/docs/mappings-util/com.grappenmaker.mappings/-jar-remap-task/to-namespace.html index 74bcba3..5cc5167 100644 --- a/docs/mappings-util/com.grappenmaker.mappings/-jar-remap-task/to-namespace.html +++ b/docs/mappings-util/com.grappenmaker.mappings/-jar-remap-task/to-namespace.html @@ -1,10 +1,9 @@ - + toNamespace - - + - - + + - - - - - - - + + + + + +
-
- +
+
-

toNamespace

+

toNamespace

- +
+ diff --git a/docs/mappings-util/com.grappenmaker.mappings/-jar-remapper-d-s-l/index.html b/docs/mappings-util/com.grappenmaker.mappings/-jar-remapper-d-s-l/index.html index e8e5907..1b3a877 100644 --- a/docs/mappings-util/com.grappenmaker.mappings/-jar-remapper-d-s-l/index.html +++ b/docs/mappings-util/com.grappenmaker.mappings/-jar-remapper-d-s-l/index.html @@ -1,10 +1,9 @@ - + JarRemapperDSL - - + - - + + - - - - - - - + + + + + +
-
- +
+
-

JarRemapperDSL

-
annotation class JarRemapperDSL(source)

Marker annotation that declares that a certain type is part of the jar remapper DSL

+

JarRemapperDSL

+
annotation class JarRemapperDSL(source)

Marker annotation that declares that a certain type is part of the jar remapper DSL

@@ -73,12 +70,11 @@

JarRemapper

+ diff --git a/docs/mappings-util/com.grappenmaker.mappings/-jar-remapper/-jar-remapper.html b/docs/mappings-util/com.grappenmaker.mappings/-jar-remapper/-jar-remapper.html index bc42853..06eed54 100644 --- a/docs/mappings-util/com.grappenmaker.mappings/-jar-remapper/-jar-remapper.html +++ b/docs/mappings-util/com.grappenmaker.mappings/-jar-remapper/-jar-remapper.html @@ -1,10 +1,9 @@ - + JarRemapper - - + - - + + - - - - - - - + + + + + +
-
- +
+
-

JarRemapper

+

JarRemapper

-
constructor()(source)
+
constructor()(source)
+ diff --git a/docs/mappings-util/com.grappenmaker.mappings/-jar-remapper/copy-resources.html b/docs/mappings-util/com.grappenmaker.mappings/-jar-remapper/copy-resources.html index ef229eb..0e8489b 100644 --- a/docs/mappings-util/com.grappenmaker.mappings/-jar-remapper/copy-resources.html +++ b/docs/mappings-util/com.grappenmaker.mappings/-jar-remapper/copy-resources.html @@ -1,10 +1,9 @@ - + copyResources - - + - - + + - - - - - - - + + + + + +
-
- +
+
-

copyResources

+

copyResources

-

Determines whether the JarRemapper will copy non-classfile resources from input jars into output jars

+

Determines whether the JarRemapper will copy non-classfile resources from input jars into output jars

+ diff --git a/docs/mappings-util/com.grappenmaker.mappings/-jar-remapper/index.html b/docs/mappings-util/com.grappenmaker.mappings/-jar-remapper/index.html index 64ba4cc..7d12e77 100644 --- a/docs/mappings-util/com.grappenmaker.mappings/-jar-remapper/index.html +++ b/docs/mappings-util/com.grappenmaker.mappings/-jar-remapper/index.html @@ -1,10 +1,9 @@ - + JarRemapper - - + - - + + - - - - - - - + + + + + +
-
- +
+
-

JarRemapper

-

Helper / DSL for creating an JarRemapper

+

JarRemapper

+

Helper / DSL for creating an JarRemapper

Constructors

-
-
+
+
- - + +
Link copied to clipboard
-
constructor()
+
constructor()
@@ -91,47 +88,47 @@

Constructors

Properties

-
-
+
+
- - + +
Link copied to clipboard
-

Determines whether the JarRemapper will copy non-classfile resources from input jars into output jars

+

Determines whether the JarRemapper will copy non-classfile resources from input jars into output jars

- -
+ +
- +
Link copied to clipboard
-

The ClasspathLoader that should be used to request class files from classpath / environment files, that are not present in input jars. Note that this ClasspathLoader will be wrapped into a new one, including input jars and a memoization layer. It is therefore not recommended to add memoization layers in this ClasspathLoader. The loader should be thread-safe.

+

The ClasspathLoader that should be used to request class files from classpath / environment files, that are not present in input jars. Note that this ClasspathLoader will be wrapped into a new one, including input jars and a memoization layer. It is therefore not recommended to add memoization layers in this ClasspathLoader. The loader should be thread-safe.

- -
+ +
- +
Link copied to clipboard
-

The Mappings that will be used to remap classes in input jar files

+

The Mappings that will be used to remap classes in input jar files

@@ -140,62 +137,62 @@

Properties

Functions

-
-
+
+
- +
Link copied to clipboard
-
suspend fun perform()

Performs all configured tasks

+
suspend fun perform()

Performs all configured tasks

- -
+ +
- +
Link copied to clipboard
-
fun task(input: Path, output: Path, fromNamespace: String, toNamespace: String)

Adds a new remapping task to the JarRemapper. The input jar file will be read, remapped, and written to an output file. The input jar file is expected to be in the fromNamespace, and will be remapped into the toNamespace.

+
fun task(input: Path, output: Path, fromNamespace: String, toNamespace: String)

Adds a new remapping task to the JarRemapper. The input jar file will be read, remapped, and written to an output file. The input jar file is expected to be in the fromNamespace, and will be remapped into the toNamespace.

- -
+ +
- - + +
Link copied to clipboard
-

Adds a JarClassVisitor to the pipeline of visitors that will be applied to each remapped class

+

Adds a JarClassVisitor to the pipeline of visitors that will be applied to each remapped class

- -
+ +
- - + +
Link copied to clipboard
-

Adds a JarResourceVisitor to the pipeline of visitors that will be applied to each copied resource

+

Adds a JarResourceVisitor to the pipeline of visitors that will be applied to each copied resource

@@ -206,12 +203,11 @@

Functions

+ diff --git a/docs/mappings-util/com.grappenmaker.mappings/-jar-remapper/loader.html b/docs/mappings-util/com.grappenmaker.mappings/-jar-remapper/loader.html index e0d7e2a..f871f0c 100644 --- a/docs/mappings-util/com.grappenmaker.mappings/-jar-remapper/loader.html +++ b/docs/mappings-util/com.grappenmaker.mappings/-jar-remapper/loader.html @@ -1,10 +1,9 @@ - + loader - - + - - + + - - - - - - - + + + + + +
-
- +
+

loader

-

The ClasspathLoader that should be used to request class files from classpath / environment files, that are not present in input jars. Note that this ClasspathLoader will be wrapped into a new one, including input jars and a memoization layer. It is therefore not recommended to add memoization layers in this ClasspathLoader. The loader should be thread-safe.

+

The ClasspathLoader that should be used to request class files from classpath / environment files, that are not present in input jars. Note that this ClasspathLoader will be wrapped into a new one, including input jars and a memoization layer. It is therefore not recommended to add memoization layers in this ClasspathLoader. The loader should be thread-safe.

+ diff --git a/docs/mappings-util/com.grappenmaker.mappings/-jar-remapper/mappings.html b/docs/mappings-util/com.grappenmaker.mappings/-jar-remapper/mappings.html index 053c843..a219082 100644 --- a/docs/mappings-util/com.grappenmaker.mappings/-jar-remapper/mappings.html +++ b/docs/mappings-util/com.grappenmaker.mappings/-jar-remapper/mappings.html @@ -1,10 +1,9 @@ - + mappings - - + - - + + - - - - - - - + + + + + +
-
- +
+

mappings

-

The Mappings that will be used to remap classes in input jar files

+

The Mappings that will be used to remap classes in input jar files

+ diff --git a/docs/mappings-util/com.grappenmaker.mappings/-jar-remapper/perform.html b/docs/mappings-util/com.grappenmaker.mappings/-jar-remapper/perform.html index 1aa705a..b3fb927 100644 --- a/docs/mappings-util/com.grappenmaker.mappings/-jar-remapper/perform.html +++ b/docs/mappings-util/com.grappenmaker.mappings/-jar-remapper/perform.html @@ -1,10 +1,9 @@ - + perform - - + - - + + - - - - - - - + + + + + +
-
- +
+

perform

-
suspend fun perform()(source)

Performs all configured tasks

+
suspend fun perform()(source)

Performs all configured tasks

+ diff --git a/docs/mappings-util/com.grappenmaker.mappings/-jar-remapper/task.html b/docs/mappings-util/com.grappenmaker.mappings/-jar-remapper/task.html index 261d453..e27463a 100644 --- a/docs/mappings-util/com.grappenmaker.mappings/-jar-remapper/task.html +++ b/docs/mappings-util/com.grappenmaker.mappings/-jar-remapper/task.html @@ -1,10 +1,9 @@ - + task - - + - - + + - - - - - - - + + + + + +
-
- +
+

task

-
fun task(input: Path, output: Path, fromNamespace: String, toNamespace: String)(source)

Adds a new remapping task to the JarRemapper. The input jar file will be read, remapped, and written to an output file. The input jar file is expected to be in the fromNamespace, and will be remapped into the toNamespace.

+
fun task(input: Path, output: Path, fromNamespace: String, toNamespace: String)(source)

Adds a new remapping task to the JarRemapper. The input jar file will be read, remapped, and written to an output file. The input jar file is expected to be in the fromNamespace, and will be remapped into the toNamespace.

+ diff --git a/docs/mappings-util/com.grappenmaker.mappings/-jar-remapper/visit-classes.html b/docs/mappings-util/com.grappenmaker.mappings/-jar-remapper/visit-classes.html index 7fae26b..56c698c 100644 --- a/docs/mappings-util/com.grappenmaker.mappings/-jar-remapper/visit-classes.html +++ b/docs/mappings-util/com.grappenmaker.mappings/-jar-remapper/visit-classes.html @@ -1,10 +1,9 @@ - + visitClasses - - + - - + + - - - - - - - + + + + + +
-
- +
+
-

visitClasses

+

visitClasses

-

Adds a JarClassVisitor to the pipeline of visitors that will be applied to each remapped class

See also

+

Adds a JarClassVisitor to the pipeline of visitors that will be applied to each remapped class

See also

+ diff --git a/docs/mappings-util/com.grappenmaker.mappings/-jar-remapper/visit-resources.html b/docs/mappings-util/com.grappenmaker.mappings/-jar-remapper/visit-resources.html index e800d0b..b6234be 100644 --- a/docs/mappings-util/com.grappenmaker.mappings/-jar-remapper/visit-resources.html +++ b/docs/mappings-util/com.grappenmaker.mappings/-jar-remapper/visit-resources.html @@ -1,10 +1,9 @@ - + visitResources - - + - - + + - - - - - - - + + + + + +
-
- +
+
-

visitResources

+

visitResources

-

Adds a JarResourceVisitor to the pipeline of visitors that will be applied to each copied resource

See also

+

Adds a JarResourceVisitor to the pipeline of visitors that will be applied to each copied resource

See also

+ diff --git a/docs/mappings-util/com.grappenmaker.mappings/-jar-resource-visitor/index.html b/docs/mappings-util/com.grappenmaker.mappings/-jar-resource-visitor/index.html index 842532b..8a6984f 100644 --- a/docs/mappings-util/com.grappenmaker.mappings/-jar-resource-visitor/index.html +++ b/docs/mappings-util/com.grappenmaker.mappings/-jar-resource-visitor/index.html @@ -1,10 +1,9 @@ - + JarResourceVisitor - - + - - + + - - - - - - - + + + + + +
-
- +
+
-

JarResourceVisitor

-
fun interface JarResourceVisitor(source)

A functional interface that allows users of the JarRemapper to annotate or mutate resources in jar files that are not classes

+

JarResourceVisitor

+
fun interface JarResourceVisitor(source)

A functional interface that allows users of the JarRemapper to annotate or mutate resources in jar files that are not classes

Functions

-
-
+
+
- +
Link copied to clipboard
-
abstract fun visit(name: String, file: ByteArray): ByteArray?

Called whenever a resource is being copied over from an input jar file by the JarRemapper, where name is the name of the resource being copied, and file the original buffer read from the input jar file. The ByteArray that this JarResourceVisitor returns will be passed onto the next JarResourceVisitor in the chain, and at the end the newly created buffer will be written to the output jar file. Returning null here means that this JarResourceVisitor believes the file should not be copied over and should be discarded.

+
abstract fun visit(name: String, file: ByteArray): ByteArray?

Called whenever a resource is being copied over from an input jar file by the JarRemapper, where name is the name of the resource being copied, and file the original buffer read from the input jar file. The ByteArray that this JarResourceVisitor returns will be passed onto the next JarResourceVisitor in the chain, and at the end the newly created buffer will be written to the output jar file. Returning null here means that this JarResourceVisitor believes the file should not be copied over and should be discarded.

@@ -93,12 +90,11 @@

Functions

+ diff --git a/docs/mappings-util/com.grappenmaker.mappings/-jar-resource-visitor/visit.html b/docs/mappings-util/com.grappenmaker.mappings/-jar-resource-visitor/visit.html index 5a34e01..02a7647 100644 --- a/docs/mappings-util/com.grappenmaker.mappings/-jar-resource-visitor/visit.html +++ b/docs/mappings-util/com.grappenmaker.mappings/-jar-resource-visitor/visit.html @@ -1,10 +1,9 @@ - + visit - - + - - + + - - - - - - - + + + + + +
-
- +
+

visit

-
abstract fun visit(name: String, file: ByteArray): ByteArray?(source)

Called whenever a resource is being copied over from an input jar file by the JarRemapper, where name is the name of the resource being copied, and file the original buffer read from the input jar file. The ByteArray that this JarResourceVisitor returns will be passed onto the next JarResourceVisitor in the chain, and at the end the newly created buffer will be written to the output jar file. Returning null here means that this JarResourceVisitor believes the file should not be copied over and should be discarded.

+
abstract fun visit(name: String, file: ByteArray): ByteArray?(source)

Called whenever a resource is being copied over from an input jar file by the JarRemapper, where name is the name of the resource being copied, and file the original buffer read from the input jar file. The ByteArray that this JarResourceVisitor returns will be passed onto the next JarResourceVisitor in the chain, and at the end the newly created buffer will be written to the output jar file. Returning null here means that this JarResourceVisitor believes the file should not be copied over and should be discarded.

+ diff --git a/docs/mappings-util/com.grappenmaker.mappings/-lambda-aware-method-remapper/-lambda-aware-method-remapper.html b/docs/mappings-util/com.grappenmaker.mappings/-lambda-aware-method-remapper/-lambda-aware-method-remapper.html index 92fd4cb..983ce58 100644 --- a/docs/mappings-util/com.grappenmaker.mappings/-lambda-aware-method-remapper/-lambda-aware-method-remapper.html +++ b/docs/mappings-util/com.grappenmaker.mappings/-lambda-aware-method-remapper/-lambda-aware-method-remapper.html @@ -1,10 +1,9 @@ - + LambdaAwareMethodRemapper - - + - - + + - - - - - - - + + + + + +
-
- +
+
-

LambdaAwareMethodRemapper

+

LambdaAwareMethodRemapper

-
constructor(parent: MethodVisitor, remapper: Remapper)(source)
+
constructor(parent: MethodVisitor, remapper: Remapper)(source)
+ diff --git a/docs/mappings-util/com.grappenmaker.mappings/-lambda-aware-method-remapper/index.html b/docs/mappings-util/com.grappenmaker.mappings/-lambda-aware-method-remapper/index.html index 5da0d84..183971f 100644 --- a/docs/mappings-util/com.grappenmaker.mappings/-lambda-aware-method-remapper/index.html +++ b/docs/mappings-util/com.grappenmaker.mappings/-lambda-aware-method-remapper/index.html @@ -1,10 +1,9 @@ - + LambdaAwareMethodRemapper - - + - - + + - - - - - - - + + + + + +
-
- +
+
-

LambdaAwareMethodRemapper

-

A MethodRemapper that is aware of the remapping of Invoke Dynamic instructions for lambdas.

+

LambdaAwareMethodRemapper

+

A MethodRemapper that is aware of the remapping of Invoke Dynamic instructions for lambdas.

Constructors

-
-
+
+
- - + +
Link copied to clipboard
-
constructor(parent: MethodVisitor, remapper: Remapper)
+
constructor(parent: MethodVisitor, remapper: Remapper)
@@ -91,482 +88,482 @@

Constructors

Functions

-
-
+
+
- - + +
Link copied to clipboard
- +
- -
+ + - -
+ +
- - + +
Link copied to clipboard
-
open override fun visitAnnotation(p0: String, p1: Boolean): AnnotationVisitor
+
open override fun visitAnnotation(p0: String, p1: Boolean): AnnotationVisitor
- -
+ +
- - + +
Link copied to clipboard
- -
+ +
- - + +
Link copied to clipboard
- +
- -
+ +
- - + +
Link copied to clipboard
-
open fun visitCode()
+
open fun visitCode()
- -
+ +
- - + +
Link copied to clipboard
-
open fun visitEnd()
+
open fun visitEnd()
- -
+ +
- - + +
Link copied to clipboard
-
open override fun visitFieldInsn(p0: Int, p1: String, p2: String, p3: String)
+
open override fun visitFieldInsn(p0: Int, p1: String, p2: String, p3: String)
- -
+ +
- - + +
Link copied to clipboard
-
open override fun visitFrame(p0: Int, p1: Int, p2: Array<Any>, p3: Int, p4: Array<Any>)
+
open override fun visitFrame(p0: Int, p1: Int, p2: Array<Any>, p3: Int, p4: Array<Any>)
- -
+ +
- - + +
Link copied to clipboard
-
open fun visitIincInsn(p0: Int, p1: Int)
+
open fun visitIincInsn(p0: Int, p1: Int)
- -
+ +
- - + +
Link copied to clipboard
-
open fun visitInsn(p0: Int)
+
open fun visitInsn(p0: Int)
- -
+ +
- - + +
Link copied to clipboard
-
open override fun visitInsnAnnotation(p0: Int, p1: TypePath, p2: String, p3: Boolean): AnnotationVisitor
+
open override fun visitInsnAnnotation(p0: Int, p1: TypePath, p2: String, p3: Boolean): AnnotationVisitor
- -
+ +
- - + +
Link copied to clipboard
-
open fun visitIntInsn(p0: Int, p1: Int)
+
open fun visitIntInsn(p0: Int, p1: Int)
- -
+ +
- - + +
Link copied to clipboard
-
open override fun visitInvokeDynamicInsn(name: String, descriptor: String, handle: Handle, vararg args: Any)
+
open override fun visitInvokeDynamicInsn(name: String, descriptor: String, handle: Handle, vararg args: Any)
- -
+ +
- - + +
Link copied to clipboard
-
open fun visitJumpInsn(p0: Int, p1: Label)
+
open fun visitJumpInsn(p0: Int, p1: Label)
- -
+ +
- - + +
Link copied to clipboard
-
open fun visitLabel(p0: Label)
+
open fun visitLabel(p0: Label)
- -
+ +
- - + +
Link copied to clipboard
-
open override fun visitLdcInsn(p0: Any)
+
open override fun visitLdcInsn(p0: Any)
- -
+ +
- - + +
Link copied to clipboard
-
open fun visitLineNumber(p0: Int, p1: Label)
+
open fun visitLineNumber(p0: Int, p1: Label)
- -
+ +
- - + +
Link copied to clipboard
-
open override fun visitLocalVariable(p0: String, p1: String, p2: String, p3: Label, p4: Label, p5: Int)
+
open override fun visitLocalVariable(p0: String, p1: String, p2: String, p3: Label, p4: Label, p5: Int)
- -
+ +
-
open override fun visitLocalVariableAnnotation(p0: Int, p1: TypePath, p2: Array<Label>, p3: Array<Label>, p4: IntArray, p5: String, p6: Boolean): AnnotationVisitor
+
open override fun visitLocalVariableAnnotation(p0: Int, p1: TypePath, p2: Array<Label>, p3: Array<Label>, p4: IntArray, p5: String, p6: Boolean): AnnotationVisitor
- -
+ +
- - + +
Link copied to clipboard
- +
- -
+ +
- - + +
Link copied to clipboard
-
open fun visitMaxs(p0: Int, p1: Int)
+
open fun visitMaxs(p0: Int, p1: Int)
- -
+ +
- - + +
Link copied to clipboard
-
open fun visitMethodInsn(p0: Int, p1: String, p2: String, p3: String)
open override fun visitMethodInsn(p0: Int, p1: String, p2: String, p3: String, p4: Boolean)
+
open fun visitMethodInsn(p0: Int, p1: String, p2: String, p3: String)
open override fun visitMethodInsn(p0: Int, p1: String, p2: String, p3: String, p4: Boolean)
- -
+ +
- - + +
Link copied to clipboard
-
open override fun visitMultiANewArrayInsn(p0: String, p1: Int)
+
open override fun visitMultiANewArrayInsn(p0: String, p1: Int)
- -
+ +
- - + +
Link copied to clipboard
-
open fun visitParameter(p0: String, p1: Int)
+
open fun visitParameter(p0: String, p1: Int)
- -
+ +
- - + +
Link copied to clipboard
-
open override fun visitParameterAnnotation(p0: Int, p1: String, p2: Boolean): AnnotationVisitor
+
open override fun visitParameterAnnotation(p0: Int, p1: String, p2: Boolean): AnnotationVisitor
- -
+ +
- - + +
Link copied to clipboard
-
open fun visitTableSwitchInsn(p0: Int, p1: Int, p2: Label, vararg p3: Label)
+
open fun visitTableSwitchInsn(p0: Int, p1: Int, p2: Label, vararg p3: Label)
- -
+ +
- - + +
Link copied to clipboard
-
open override fun visitTryCatchAnnotation(p0: Int, p1: TypePath, p2: String, p3: Boolean): AnnotationVisitor
+
open override fun visitTryCatchAnnotation(p0: Int, p1: TypePath, p2: String, p3: Boolean): AnnotationVisitor
- -
+ +
- - + +
Link copied to clipboard
-
open override fun visitTryCatchBlock(p0: Label, p1: Label, p2: Label, p3: String)
+
open override fun visitTryCatchBlock(p0: Label, p1: Label, p2: Label, p3: String)
- -
+ +
- - + +
Link copied to clipboard
-
open override fun visitTypeAnnotation(p0: Int, p1: TypePath, p2: String, p3: Boolean): AnnotationVisitor
+
open override fun visitTypeAnnotation(p0: Int, p1: TypePath, p2: String, p3: Boolean): AnnotationVisitor
- -
+ +
- - + +
Link copied to clipboard
-
open override fun visitTypeInsn(p0: Int, p1: String)
+
open override fun visitTypeInsn(p0: Int, p1: String)
- -
+ +
- - + +
Link copied to clipboard
-
open fun visitVarInsn(p0: Int, p1: Int)
+
open fun visitVarInsn(p0: Int, p1: Int)
@@ -577,12 +574,11 @@

Functions

+ diff --git a/docs/mappings-util/com.grappenmaker.mappings/-lambda-aware-method-remapper/visit-invoke-dynamic-insn.html b/docs/mappings-util/com.grappenmaker.mappings/-lambda-aware-method-remapper/visit-invoke-dynamic-insn.html index bce98b7..fef7467 100644 --- a/docs/mappings-util/com.grappenmaker.mappings/-lambda-aware-method-remapper/visit-invoke-dynamic-insn.html +++ b/docs/mappings-util/com.grappenmaker.mappings/-lambda-aware-method-remapper/visit-invoke-dynamic-insn.html @@ -1,10 +1,9 @@ - + visitInvokeDynamicInsn - - + - - + + - - - - - - - + + + + + +
-
- +
+
-

visitInvokeDynamicInsn

+

visitInvokeDynamicInsn

-
open override fun visitInvokeDynamicInsn(name: String, descriptor: String, handle: Handle, vararg args: Any)(source)
+
open override fun visitInvokeDynamicInsn(name: String, descriptor: String, handle: Handle, vararg args: Any)(source)
+ diff --git a/docs/mappings-util/com.grappenmaker.mappings/-lambda-aware-remapper/-lambda-aware-remapper.html b/docs/mappings-util/com.grappenmaker.mappings/-lambda-aware-remapper/-lambda-aware-remapper.html index 9218cd7..c9c3e39 100644 --- a/docs/mappings-util/com.grappenmaker.mappings/-lambda-aware-remapper/-lambda-aware-remapper.html +++ b/docs/mappings-util/com.grappenmaker.mappings/-lambda-aware-remapper/-lambda-aware-remapper.html @@ -1,10 +1,9 @@ - + LambdaAwareRemapper - - + - - + + - - - - - - - + + + + + +
-
- +
+
-

LambdaAwareRemapper

+

LambdaAwareRemapper

-
constructor(parent: ClassVisitor, remapper: Remapper)(source)
+
constructor(parent: ClassVisitor, remapper: Remapper)(source)
+ diff --git a/docs/mappings-util/com.grappenmaker.mappings/-lambda-aware-remapper/index.html b/docs/mappings-util/com.grappenmaker.mappings/-lambda-aware-remapper/index.html index 1af199d..df54ed0 100644 --- a/docs/mappings-util/com.grappenmaker.mappings/-lambda-aware-remapper/index.html +++ b/docs/mappings-util/com.grappenmaker.mappings/-lambda-aware-remapper/index.html @@ -1,10 +1,9 @@ - + LambdaAwareRemapper - - + - - + + - - - - - - - + + + + + +
-
- +
+
-

LambdaAwareRemapper

-

A ClassRemapper that is aware of the remapping of Invoke Dynamic instructions for lambdas.

+

LambdaAwareRemapper

+

A ClassRemapper that is aware of the remapping of Invoke Dynamic instructions for lambdas.

Constructors

-
-
+
+
- - + +
Link copied to clipboard
-
constructor(parent: ClassVisitor, remapper: Remapper)
+
constructor(parent: ClassVisitor, remapper: Remapper)
@@ -91,242 +88,242 @@

Constructors

Functions

-
-
+
+
- - + +
Link copied to clipboard
- +
- -
+ +
- - + +
Link copied to clipboard
-
open override fun visit(p0: Int, p1: Int, p2: String, p3: String, p4: String, p5: Array<String>)
+
open override fun visit(p0: Int, p1: Int, p2: String, p3: String, p4: String, p5: Array<String>)
- -
+ +
- - + +
Link copied to clipboard
-
open override fun visitAnnotation(p0: String, p1: Boolean): AnnotationVisitor
+
open override fun visitAnnotation(p0: String, p1: Boolean): AnnotationVisitor
- -
+ +
- - + +
Link copied to clipboard
-
open override fun visitAttribute(p0: Attribute)
+
open override fun visitAttribute(p0: Attribute)
- -
+ +
- - + +
Link copied to clipboard
-
open fun visitEnd()
+
open fun visitEnd()
- -
+ +
- - + +
Link copied to clipboard
-
open override fun visitField(p0: Int, p1: String, p2: String, p3: String, p4: Any): FieldVisitor
+
open override fun visitField(p0: Int, p1: String, p2: String, p3: String, p4: Any): FieldVisitor
- -
+ +
- - + +
Link copied to clipboard
-
open override fun visitInnerClass(p0: String, p1: String, p2: String, p3: Int)
+
open override fun visitInnerClass(p0: String, p1: String, p2: String, p3: Int)
- -
+ +
- - + +
Link copied to clipboard
-
open override fun visitMethod(p0: Int, p1: String, p2: String, p3: String, p4: Array<String>): MethodVisitor
+
open override fun visitMethod(p0: Int, p1: String, p2: String, p3: String, p4: Array<String>): MethodVisitor
- -
+ +
- - + +
Link copied to clipboard
-
open override fun visitModule(p0: String, p1: Int, p2: String): ModuleVisitor
+
open override fun visitModule(p0: String, p1: Int, p2: String): ModuleVisitor
- -
+ +
- - + +
Link copied to clipboard
-
open override fun visitNestHost(p0: String)
+
open override fun visitNestHost(p0: String)
- -
+ +
- - + +
Link copied to clipboard
-
open override fun visitNestMember(p0: String)
+
open override fun visitNestMember(p0: String)
- -
+ +
- - + +
Link copied to clipboard
-
open override fun visitOuterClass(p0: String, p1: String, p2: String)
+
open override fun visitOuterClass(p0: String, p1: String, p2: String)
- -
+ +
- - + +
Link copied to clipboard
-
open override fun visitPermittedSubclass(p0: String)
+
open override fun visitPermittedSubclass(p0: String)
- -
+ +
- - + +
Link copied to clipboard
- +
- -
+ +
- - + +
Link copied to clipboard
-
open fun visitSource(p0: String, p1: String)
+
open fun visitSource(p0: String, p1: String)
- -
+ +
- - + +
Link copied to clipboard
-
open override fun visitTypeAnnotation(p0: Int, p1: TypePath, p2: String, p3: Boolean): AnnotationVisitor
+
open override fun visitTypeAnnotation(p0: Int, p1: TypePath, p2: String, p3: Boolean): AnnotationVisitor
@@ -337,12 +334,11 @@

Functions

+ diff --git a/docs/mappings-util/com.grappenmaker.mappings/-loader-inheritance-provider/-loader-inheritance-provider.html b/docs/mappings-util/com.grappenmaker.mappings/-loader-inheritance-provider/-loader-inheritance-provider.html index e8262c9..7b45be8 100644 --- a/docs/mappings-util/com.grappenmaker.mappings/-loader-inheritance-provider/-loader-inheritance-provider.html +++ b/docs/mappings-util/com.grappenmaker.mappings/-loader-inheritance-provider/-loader-inheritance-provider.html @@ -1,10 +1,9 @@ - + LoaderInheritanceProvider - - + - - + + - - - - - - - + + + + + +
-
- +
+
-

LoaderInheritanceProvider

+

LoaderInheritanceProvider

-
constructor(loader: ClasspathLoader)(source)
+
constructor(loader: ClasspathLoader)(source)
+ diff --git a/docs/mappings-util/com.grappenmaker.mappings/-loader-inheritance-provider/get-declared-methods.html b/docs/mappings-util/com.grappenmaker.mappings/-loader-inheritance-provider/get-declared-methods.html index 3c83041..d71544d 100644 --- a/docs/mappings-util/com.grappenmaker.mappings/-loader-inheritance-provider/get-declared-methods.html +++ b/docs/mappings-util/com.grappenmaker.mappings/-loader-inheritance-provider/get-declared-methods.html @@ -1,10 +1,9 @@ - + getDeclaredMethods - - + - - + + - - - - - - - + + + + + +
-
- +
+
-

getDeclaredMethods

+

getDeclaredMethods

-
open override fun getDeclaredMethods(internalName: String, filterInheritable: Boolean): Iterable<String>(source)

Returns the signatures of the methods declared in a class with a given internalName.

A signature is a string that represents a method by concatenating its name with its JVMS descriptor For example: valueOf(Ljava/lang/String;)Lsome/EnumType;

A declared method is a method that is directly declared in the bytecode of the class.

If filterInheritable is true, this method should only return the signatures of methods that are non-private, non-static, non-final. That is, access & (ACC_PRIVATE | ACC_STATIC | ACC_FINAL) == 0, where access is the bitset of access flags as defined by the JVMS. The convienience constant INHERITABLE_MASK can be used for this computation as well, by comparing access &INHERITABLE_MASK == 0

+
open override fun getDeclaredMethods(internalName: String, filterInheritable: Boolean): Iterable<String>(source)

Returns the signatures of the methods declared in a class with a given internalName.

A signature is a string that represents a method by concatenating its name with its JVMS descriptor For example: valueOf(Ljava/lang/String;)Lsome/EnumType;

A declared method is a method that is directly declared in the bytecode of the class.

If filterInheritable is true, this method should only return the signatures of methods that are non-private, non-static, non-final. That is, access & (ACC_PRIVATE | ACC_STATIC | ACC_FINAL) == 0, where access is the bitset of access flags as defined by the JVMS. The convienience constant INHERITABLE_MASK can be used for this computation as well, by comparing access &INHERITABLE_MASK == 0

+ diff --git a/docs/mappings-util/com.grappenmaker.mappings/-loader-inheritance-provider/get-direct-parents.html b/docs/mappings-util/com.grappenmaker.mappings/-loader-inheritance-provider/get-direct-parents.html index 2511330..23f6c1d 100644 --- a/docs/mappings-util/com.grappenmaker.mappings/-loader-inheritance-provider/get-direct-parents.html +++ b/docs/mappings-util/com.grappenmaker.mappings/-loader-inheritance-provider/get-direct-parents.html @@ -1,10 +1,9 @@ - + getDirectParents - - + - - + + - - - - - - - + + + + + +
-
- +
+
-

getDirectParents

+

getDirectParents

-
open override fun getDirectParents(internalName: String): Iterable<String>(source)

Returns the direct parents of a class with a given internalName, that is, it returns an iterable of its super class (if any) and its superinterfaces, in that order.

+
open override fun getDirectParents(internalName: String): Iterable<String>(source)

Returns the direct parents of a class with a given internalName, that is, it returns an iterable of its super class (if any) and its superinterfaces, in that order.

+ diff --git a/docs/mappings-util/com.grappenmaker.mappings/-loader-inheritance-provider/index.html b/docs/mappings-util/com.grappenmaker.mappings/-loader-inheritance-provider/index.html index 981c1b5..4b4f9eb 100644 --- a/docs/mappings-util/com.grappenmaker.mappings/-loader-inheritance-provider/index.html +++ b/docs/mappings-util/com.grappenmaker.mappings/-loader-inheritance-provider/index.html @@ -1,10 +1,9 @@ - + LoaderInheritanceProvider - - + - - + + - - - - - - - + + + + + +
-
- +
+
-

LoaderInheritanceProvider

-

An InheritanceProvider that delegates to a ClasspathLoader, loader, to extract inheritance information

+

LoaderInheritanceProvider

+

An InheritanceProvider that delegates to a ClasspathLoader, loader, to extract inheritance information

Constructors

-
-
+
+
- - + +
Link copied to clipboard
-
constructor(loader: ClasspathLoader)
+
constructor(loader: ClasspathLoader)
@@ -91,62 +88,62 @@

Constructors

Functions

-
-
+
+
- - + +
Link copied to clipboard
-
open override fun getDeclaredMethods(internalName: String, filterInheritable: Boolean): Iterable<String>

Returns the signatures of the methods declared in a class with a given internalName.

+
open override fun getDeclaredMethods(internalName: String, filterInheritable: Boolean): Iterable<String>

Returns the signatures of the methods declared in a class with a given internalName.

- -
+ +
- - + +
Link copied to clipboard
-
open override fun getDirectParents(internalName: String): Iterable<String>

Returns the direct parents of a class with a given internalName, that is, it returns an iterable of its super class (if any) and its superinterfaces, in that order.

+
open override fun getDirectParents(internalName: String): Iterable<String>

Returns the direct parents of a class with a given internalName, that is, it returns an iterable of its super class (if any) and its superinterfaces, in that order.

- -
+ +
- - + +
Link copied to clipboard
-
open fun getParents(internalName: String): Iterable<String>

Returns the internal names of the parents of a class with a given internalName, in depth-first order, interfaces first.

+
open fun getParents(internalName: String): Iterable<String>

Returns the internal names of the parents of a class with a given internalName, in depth-first order, interfaces first.

- -
+ +
- +
Link copied to clipboard
-

Wraps this into a new provider that remembers the results of calls

+

Wraps this into a new provider that remembers the results of calls

@@ -157,12 +154,11 @@

Functions

+ diff --git a/docs/mappings-util/com.grappenmaker.mappings/-loader-simple-remapper/-loader-simple-remapper.html b/docs/mappings-util/com.grappenmaker.mappings/-loader-simple-remapper/-loader-simple-remapper.html index 9f87c60..3061809 100644 --- a/docs/mappings-util/com.grappenmaker.mappings/-loader-simple-remapper/-loader-simple-remapper.html +++ b/docs/mappings-util/com.grappenmaker.mappings/-loader-simple-remapper/-loader-simple-remapper.html @@ -1,10 +1,9 @@ - + LoaderSimpleRemapper - - + - - + + - - - - - - - + + + + + +
-
- +
+
-

LoaderSimpleRemapper

+

LoaderSimpleRemapper

-
constructor(map: Map<String, String>, loader: ClasspathLoader, memoizeInheritance: Boolean = true)(source)


constructor(map: Map<String, String>, inheritanceProvider: InheritanceProvider, memoizeInheritance: Boolean = true)(source)

Parameters

memoizeInheritance

if true, the results of the InheritanceProvider will be memoized, see InheritanceProvider.memoized

+
constructor(map: Map<String, String>, loader: ClasspathLoader, memoizeInheritance: Boolean = true)(source)


constructor(map: Map<String, String>, inheritanceProvider: InheritanceProvider, memoizeInheritance: Boolean = true)(source)

Parameters

memoizeInheritance

if true, the results of the InheritanceProvider will be memoized, see InheritanceProvider.memoized

+ diff --git a/docs/mappings-util/com.grappenmaker.mappings/-loader-simple-remapper/index.html b/docs/mappings-util/com.grappenmaker.mappings/-loader-simple-remapper/index.html index 31a25b0..dfceecc 100644 --- a/docs/mappings-util/com.grappenmaker.mappings/-loader-simple-remapper/index.html +++ b/docs/mappings-util/com.grappenmaker.mappings/-loader-simple-remapper/index.html @@ -1,10 +1,9 @@ - + LoaderSimpleRemapper - - + - - + + - - - - - - - + + + + + +
-
- +
+
-

LoaderSimpleRemapper

-
open class LoaderSimpleRemapper(map: Map<String, String>, inheritanceProvider: InheritanceProvider, memoizeInheritance: Boolean = true) : Remapper(source)

A Remapper that can use a InheritanceProvider for inheritance information to apply a certain map, that should be in an equivalent format as the one produced by Mappings.asASMMapping.

Parameters

memoizeInheritance

if true, the results of the InheritanceProvider will be memoized, see InheritanceProvider.memoized

Inheritors

+

LoaderSimpleRemapper

+
open class LoaderSimpleRemapper(map: Map<String, String>, inheritanceProvider: InheritanceProvider, memoizeInheritance: Boolean = true) : Remapper(source)

A Remapper that can use a InheritanceProvider for inheritance information to apply a certain map, that should be in an equivalent format as the one produced by Mappings.asASMMapping.

Parameters

memoizeInheritance

if true, the results of the InheritanceProvider will be memoized, see InheritanceProvider.memoized

Inheritors

Constructors

-
-
+
+
- - + +
Link copied to clipboard
-
constructor(map: Map<String, String>, loader: ClasspathLoader, memoizeInheritance: Boolean = true)
constructor(map: Map<String, String>, inheritanceProvider: InheritanceProvider, memoizeInheritance: Boolean = true)
+
constructor(map: Map<String, String>, loader: ClasspathLoader, memoizeInheritance: Boolean = true)
constructor(map: Map<String, String>, inheritanceProvider: InheritanceProvider, memoizeInheritance: Boolean = true)
@@ -91,227 +88,227 @@

Constructors

Functions

-
-
+
+
- +
Link copied to clipboard
-
open override fun map(internalName: String): String
+
open override fun map(internalName: String): String
- -
+ + - -
+ +
- - + +
Link copied to clipboard
-
open fun mapDesc(p0: String): String
+
open fun mapDesc(p0: String): String
- -
+ +
- - + +
Link copied to clipboard
-
open override fun mapFieldName(owner: String, name: String, desc: String?): String
+
open override fun mapFieldName(owner: String, name: String, desc: String?): String
- -
+ +
- - + +
Link copied to clipboard
-
open fun mapInnerClassName(p0: String, p1: String, p2: String): String
+
open fun mapInnerClassName(p0: String, p1: String, p2: String): String
- -
+ + - -
+ +
- - + +
Link copied to clipboard
-
open fun mapMethodDesc(p0: String): String
+
open fun mapMethodDesc(p0: String): String
- -
+ +
- - + +
Link copied to clipboard
-
open override fun mapMethodName(owner: String, name: String, desc: String): String
+
open override fun mapMethodName(owner: String, name: String, desc: String): String
- -
+ +
- - + +
Link copied to clipboard
-
open fun mapModuleName(p0: String): String
+
open fun mapModuleName(p0: String): String
- -
+ +
- - + +
Link copied to clipboard
- +
- -
+ +
- - + +
Link copied to clipboard
-
open override fun mapRecordComponentName(owner: String, name: String, desc: String): String
+
open override fun mapRecordComponentName(owner: String, name: String, desc: String): String
- -
+ +
- - + +
Link copied to clipboard
-
open override fun mapSignature(signature: String?, typeSignature: Boolean): String?
+
open override fun mapSignature(signature: String?, typeSignature: Boolean): String?
- -
+ +
- - + +
Link copied to clipboard
-
open fun mapType(p0: String): String
+
open fun mapType(p0: String): String
- -
+ +
- - + +
Link copied to clipboard
-
open fun mapTypes(p0: Array<String>): Array<String>
+
open fun mapTypes(p0: Array<String>): Array<String>
- -
+ +
- - + +
Link copied to clipboard
-
open fun mapValue(p0: Any): Any
+
open fun mapValue(p0: Any): Any
@@ -322,12 +319,11 @@

Functions

+ diff --git a/docs/mappings-util/com.grappenmaker.mappings/-loader-simple-remapper/map-field-name.html b/docs/mappings-util/com.grappenmaker.mappings/-loader-simple-remapper/map-field-name.html index 906a7be..66a91ac 100644 --- a/docs/mappings-util/com.grappenmaker.mappings/-loader-simple-remapper/map-field-name.html +++ b/docs/mappings-util/com.grappenmaker.mappings/-loader-simple-remapper/map-field-name.html @@ -1,10 +1,9 @@ - + mapFieldName - - + - - + + - - - - - - - + + + + + +
-
- +
+
-

mapFieldName

+

mapFieldName

-
open override fun mapFieldName(owner: String, name: String, desc: String?): String(source)
+
open override fun mapFieldName(owner: String, name: String, desc: String?): String(source)
+ diff --git a/docs/mappings-util/com.grappenmaker.mappings/-loader-simple-remapper/map-method-name.html b/docs/mappings-util/com.grappenmaker.mappings/-loader-simple-remapper/map-method-name.html index 46f345e..3ad750a 100644 --- a/docs/mappings-util/com.grappenmaker.mappings/-loader-simple-remapper/map-method-name.html +++ b/docs/mappings-util/com.grappenmaker.mappings/-loader-simple-remapper/map-method-name.html @@ -1,10 +1,9 @@ - + mapMethodName - - + - - + + - - - - - - - + + + + + +
-
- +
+
-

mapMethodName

+

mapMethodName

-
open override fun mapMethodName(owner: String, name: String, desc: String): String(source)
+
open override fun mapMethodName(owner: String, name: String, desc: String): String(source)
+ diff --git a/docs/mappings-util/com.grappenmaker.mappings/-loader-simple-remapper/map-record-component-name.html b/docs/mappings-util/com.grappenmaker.mappings/-loader-simple-remapper/map-record-component-name.html index 5987e64..835369b 100644 --- a/docs/mappings-util/com.grappenmaker.mappings/-loader-simple-remapper/map-record-component-name.html +++ b/docs/mappings-util/com.grappenmaker.mappings/-loader-simple-remapper/map-record-component-name.html @@ -1,10 +1,9 @@ - + mapRecordComponentName - - + - - + + - - - - - - - + + + + + +
-
- +
+
-

mapRecordComponentName

+

mapRecordComponentName

-
open override fun mapRecordComponentName(owner: String, name: String, desc: String): String(source)
+
open override fun mapRecordComponentName(owner: String, name: String, desc: String): String(source)
+ diff --git a/docs/mappings-util/com.grappenmaker.mappings/-loader-simple-remapper/map-signature.html b/docs/mappings-util/com.grappenmaker.mappings/-loader-simple-remapper/map-signature.html index 87fce08..491708c 100644 --- a/docs/mappings-util/com.grappenmaker.mappings/-loader-simple-remapper/map-signature.html +++ b/docs/mappings-util/com.grappenmaker.mappings/-loader-simple-remapper/map-signature.html @@ -1,10 +1,9 @@ - + mapSignature - - + - - + + - - - - - - - + + + + + +
-
- +
+
-

mapSignature

+

mapSignature

-
open override fun mapSignature(signature: String?, typeSignature: Boolean): String?(source)
+
open override fun mapSignature(signature: String?, typeSignature: Boolean): String?(source)
+ diff --git a/docs/mappings-util/com.grappenmaker.mappings/-loader-simple-remapper/map.html b/docs/mappings-util/com.grappenmaker.mappings/-loader-simple-remapper/map.html index 56aaa21..d75f042 100644 --- a/docs/mappings-util/com.grappenmaker.mappings/-loader-simple-remapper/map.html +++ b/docs/mappings-util/com.grappenmaker.mappings/-loader-simple-remapper/map.html @@ -1,10 +1,9 @@ - + map - - + - - + + - - - - - - - + + + + + +
-
- +
+

map

-
open override fun map(internalName: String): String(source)
+
open override fun map(internalName: String): String(source)
+ diff --git a/docs/mappings-util/com.grappenmaker.mappings/-mapped-class/-mapped-class.html b/docs/mappings-util/com.grappenmaker.mappings/-mapped-class/-mapped-class.html index 4af23cd..6bf8d37 100644 --- a/docs/mappings-util/com.grappenmaker.mappings/-mapped-class/-mapped-class.html +++ b/docs/mappings-util/com.grappenmaker.mappings/-mapped-class/-mapped-class.html @@ -1,10 +1,9 @@ - + MappedClass - - + - - + + - - - - - - - + + + + + +
-
- +
+
-

MappedClass

+

MappedClass

-
constructor(names: List<String>, comments: List<String> = emptyList(), fields: List<MappedField> = emptyList(), methods: List<MappedMethod> = emptyList())(source)
+
constructor(names: List<String>, comments: List<String> = emptyList(), fields: List<MappedField> = emptyList(), methods: List<MappedMethod> = emptyList())(source)
+ diff --git a/docs/mappings-util/com.grappenmaker.mappings/-mapped-class/comments.html b/docs/mappings-util/com.grappenmaker.mappings/-mapped-class/comments.html index 1f0cd97..878ecd3 100644 --- a/docs/mappings-util/com.grappenmaker.mappings/-mapped-class/comments.html +++ b/docs/mappings-util/com.grappenmaker.mappings/-mapped-class/comments.html @@ -1,10 +1,9 @@ - + comments - - + - - + + - - - - - - - + + + + + +
-
- +
+

comments

-
open override val comments: List<String>(source)
+
open override val comments: List<String>(source)
+ diff --git a/docs/mappings-util/com.grappenmaker.mappings/-mapped-class/fields.html b/docs/mappings-util/com.grappenmaker.mappings/-mapped-class/fields.html index 52d8dc0..ab8d75d 100644 --- a/docs/mappings-util/com.grappenmaker.mappings/-mapped-class/fields.html +++ b/docs/mappings-util/com.grappenmaker.mappings/-mapped-class/fields.html @@ -1,10 +1,9 @@ - + fields - - + - - + + - - - - - - - + + + + + +
-
- +
+

fields

- +
+ diff --git a/docs/mappings-util/com.grappenmaker.mappings/-mapped-class/index.html b/docs/mappings-util/com.grappenmaker.mappings/-mapped-class/index.html index 55b75ce..cfc9bc3 100644 --- a/docs/mappings-util/com.grappenmaker.mappings/-mapped-class/index.html +++ b/docs/mappings-util/com.grappenmaker.mappings/-mapped-class/index.html @@ -1,10 +1,9 @@ - + MappedClass - - + - - + + - - - - - - - + + + + + +
-
- +
+
-

MappedClass

-
data class MappedClass(val names: List<String>, val comments: List<String> = emptyList(), val fields: List<MappedField> = emptyList(), val methods: List<MappedMethod> = emptyList()) : Mapped, Commented(source)

Represents a mapped class (containing fields and methods)

+

MappedClass

+
data class MappedClass(val names: List<String>, val comments: List<String> = emptyList(), val fields: List<MappedField> = emptyList(), val methods: List<MappedMethod> = emptyList()) : Mapped, Commented(source)

Represents a mapped class (containing fields and methods)

Constructors

-
-
+
+
- - + +
Link copied to clipboard
-
constructor(names: List<String>, comments: List<String> = emptyList(), fields: List<MappedField> = emptyList(), methods: List<MappedMethod> = emptyList())
+
constructor(names: List<String>, comments: List<String> = emptyList(), fields: List<MappedField> = emptyList(), methods: List<MappedMethod> = emptyList())
@@ -91,62 +88,62 @@

Constructors

Properties

-
-
+
+
- +
Link copied to clipboard
-
open override val comments: List<String>

All comments that the author of some Mappings file wrote

+
open override val comments: List<String>

All comments that the author of some Mappings file wrote

- -
+ +
- +
Link copied to clipboard
-

Mapping information for member fields

+

Mapping information for member fields

- -
+ +
- +
Link copied to clipboard
-

Mapping information for member methods

+

Mapping information for member methods

- -
+ +
- +
Link copied to clipboard
-
open override val names: List<String>

The names of this named entity, which should correspond to some namespaces in Mappings.namespaces

+
open override val names: List<String>

The names of this named entity, which should correspond to some namespaces in Mappings.namespaces

@@ -155,32 +152,32 @@

Properties

Functions

-
-
+
+
- - + +
Link copied to clipboard
-

Filters methods matching the predicate

+

Filters methods matching the predicate

- -
+ +
- - + +
Link copied to clipboard
-

Maps methods according to the given block

+

Maps methods according to the given block

@@ -191,12 +188,11 @@

Functions

+ diff --git a/docs/mappings-util/com.grappenmaker.mappings/-mapped-class/methods.html b/docs/mappings-util/com.grappenmaker.mappings/-mapped-class/methods.html index 1c0731b..21ba482 100644 --- a/docs/mappings-util/com.grappenmaker.mappings/-mapped-class/methods.html +++ b/docs/mappings-util/com.grappenmaker.mappings/-mapped-class/methods.html @@ -1,10 +1,9 @@ - + methods - - + - - + + - - - - - - - + + + + + +
-
- +
+

methods

- +
+ diff --git a/docs/mappings-util/com.grappenmaker.mappings/-mapped-class/names.html b/docs/mappings-util/com.grappenmaker.mappings/-mapped-class/names.html index 4eb60ec..50d5cf9 100644 --- a/docs/mappings-util/com.grappenmaker.mappings/-mapped-class/names.html +++ b/docs/mappings-util/com.grappenmaker.mappings/-mapped-class/names.html @@ -1,10 +1,9 @@ - + names - - + - - + + - - - - - - - + + + + + +
-
- +
+

names

-
open override val names: List<String>(source)
+
open override val names: List<String>(source)
+ diff --git a/docs/mappings-util/com.grappenmaker.mappings/-mapped-field/-mapped-field.html b/docs/mappings-util/com.grappenmaker.mappings/-mapped-field/-mapped-field.html index 26abd2b..64a68f5 100644 --- a/docs/mappings-util/com.grappenmaker.mappings/-mapped-field/-mapped-field.html +++ b/docs/mappings-util/com.grappenmaker.mappings/-mapped-field/-mapped-field.html @@ -1,10 +1,9 @@ - + MappedField - - + - - + + - - - - - - - + + + + + +
-
- +
+
-

MappedField

+

MappedField

-
constructor(names: List<String>, comments: List<String> = emptyList(), desc: String?)(source)
+
constructor(names: List<String>, comments: List<String> = emptyList(), desc: String?)(source)
+ diff --git a/docs/mappings-util/com.grappenmaker.mappings/-mapped-field/comments.html b/docs/mappings-util/com.grappenmaker.mappings/-mapped-field/comments.html index 889e3f7..dbe7fac 100644 --- a/docs/mappings-util/com.grappenmaker.mappings/-mapped-field/comments.html +++ b/docs/mappings-util/com.grappenmaker.mappings/-mapped-field/comments.html @@ -1,10 +1,9 @@ - + comments - - + - - + + - - - - - - - + + + + + +
-
- +
+

comments

-
open override val comments: List<String>(source)
+
open override val comments: List<String>(source)
+ diff --git a/docs/mappings-util/com.grappenmaker.mappings/-mapped-field/desc.html b/docs/mappings-util/com.grappenmaker.mappings/-mapped-field/desc.html index 6d53f9a..a36bfd9 100644 --- a/docs/mappings-util/com.grappenmaker.mappings/-mapped-field/desc.html +++ b/docs/mappings-util/com.grappenmaker.mappings/-mapped-field/desc.html @@ -1,10 +1,9 @@ - + desc - - + - - + + - - - - - - - + + + + + +
-
- +
+

desc

- +
+ diff --git a/docs/mappings-util/com.grappenmaker.mappings/-mapped-field/index.html b/docs/mappings-util/com.grappenmaker.mappings/-mapped-field/index.html index baeba66..690fb08 100644 --- a/docs/mappings-util/com.grappenmaker.mappings/-mapped-field/index.html +++ b/docs/mappings-util/com.grappenmaker.mappings/-mapped-field/index.html @@ -1,10 +1,9 @@ - + MappedField - - + - - + + - - - - - - - + + + + + +
-
- +
+
-

MappedField

-
data class MappedField(val names: List<String>, val comments: List<String> = emptyList(), val desc: String?) : Mapped, Commented(source)

Represents a mapped field

+

MappedField

+
data class MappedField(val names: List<String>, val comments: List<String> = emptyList(), val desc: String?) : Mapped, Commented(source)

Represents a mapped field

Constructors

-
-
+
+
- - + +
Link copied to clipboard
-
constructor(names: List<String>, comments: List<String> = emptyList(), desc: String?)
+
constructor(names: List<String>, comments: List<String> = emptyList(), desc: String?)
@@ -91,47 +88,47 @@

Constructors

Properties

-
-
+
+
- +
Link copied to clipboard
-
open override val comments: List<String>

All comments that the author of some Mappings file wrote

+
open override val comments: List<String>

All comments that the author of some Mappings file wrote

- -
+ +
- +
Link copied to clipboard
-
val desc: String?

The JVMS field descriptor in the "first namespace" of a Mappings file

+
val desc: String?

The JVMS field descriptor in the "first namespace" of a Mappings file

- -
+ +
- +
Link copied to clipboard
-
open override val names: List<String>

The names of this named entity, which should correspond to some namespaces in Mappings.namespaces

+
open override val names: List<String>

The names of this named entity, which should correspond to some namespaces in Mappings.namespaces

@@ -142,12 +139,11 @@

Properties

+ diff --git a/docs/mappings-util/com.grappenmaker.mappings/-mapped-field/names.html b/docs/mappings-util/com.grappenmaker.mappings/-mapped-field/names.html index 7d6c53e..126b602 100644 --- a/docs/mappings-util/com.grappenmaker.mappings/-mapped-field/names.html +++ b/docs/mappings-util/com.grappenmaker.mappings/-mapped-field/names.html @@ -1,10 +1,9 @@ - + names - - + - - + + - - - - - - - + + + + + +
-
- +
+

names

-
open override val names: List<String>(source)
+
open override val names: List<String>(source)
+ diff --git a/docs/mappings-util/com.grappenmaker.mappings/-mapped-local/--index--.html b/docs/mappings-util/com.grappenmaker.mappings/-mapped-local/--index--.html index f28b06f..c287f67 100644 --- a/docs/mappings-util/com.grappenmaker.mappings/-mapped-local/--index--.html +++ b/docs/mappings-util/com.grappenmaker.mappings/-mapped-local/--index--.html @@ -1,10 +1,9 @@ - + index - - + - - + + - - - - - - - + + + + + +
-
- +
+

index

- +
+ diff --git a/docs/mappings-util/com.grappenmaker.mappings/-mapped-local/-mapped-local.html b/docs/mappings-util/com.grappenmaker.mappings/-mapped-local/-mapped-local.html index f8cb3f5..f5f37f8 100644 --- a/docs/mappings-util/com.grappenmaker.mappings/-mapped-local/-mapped-local.html +++ b/docs/mappings-util/com.grappenmaker.mappings/-mapped-local/-mapped-local.html @@ -1,10 +1,9 @@ - + MappedLocal - - + - - + + - - - - - - - + + + + + +
-
- +
+
-

MappedLocal

+

MappedLocal

-
constructor(index: Int, startOffset: Int, lvtIndex: Int, names: List<String>)(source)
+
constructor(index: Int, startOffset: Int, lvtIndex: Int, names: List<String>)(source)
+ diff --git a/docs/mappings-util/com.grappenmaker.mappings/-mapped-local/index.html b/docs/mappings-util/com.grappenmaker.mappings/-mapped-local/index.html index 4e00b36..9016e3c 100644 --- a/docs/mappings-util/com.grappenmaker.mappings/-mapped-local/index.html +++ b/docs/mappings-util/com.grappenmaker.mappings/-mapped-local/index.html @@ -1,10 +1,9 @@ - + MappedLocal - - + - - + + - - - - - - - + + + + + +
-
- +
+
-

MappedLocal

-
data class MappedLocal(val index: Int, val startOffset: Int, val lvtIndex: Int, val names: List<String>) : Mapped(source)

Represents a mapped local variable. This is different to a MappedParameter, because it carries data about LVT and usage in the bytecode.

+

MappedLocal

+
data class MappedLocal(val index: Int, val startOffset: Int, val lvtIndex: Int, val names: List<String>) : Mapped(source)

Represents a mapped local variable. This is different to a MappedParameter, because it carries data about LVT and usage in the bytecode.

Constructors

-
-
+
+
- - + +
Link copied to clipboard
-
constructor(index: Int, startOffset: Int, lvtIndex: Int, names: List<String>)
+
constructor(index: Int, startOffset: Int, lvtIndex: Int, names: List<String>)
@@ -91,62 +88,62 @@

Constructors

Properties

-
-
+
+
- +
Link copied to clipboard
-
val index: Int

the index (starting at zero) of this local variable

+
val index: Int

the index (starting at zero) of this local variable

- -
+ +
- - + +
Link copied to clipboard
-

the index of this local variable in the local variable table (less than zero if omitted)

+

the index of this local variable in the local variable table (less than zero if omitted)

- -
+ +
- +
Link copied to clipboard
-
open override val names: List<String>

The names of this named entity, which should correspond to some namespaces in Mappings.namespaces

+
open override val names: List<String>

The names of this named entity, which should correspond to some namespaces in Mappings.namespaces

- -
+ +
- - + +
Link copied to clipboard
-

the offset of this local variable in the local variable table

+

the offset of this local variable in the local variable table

@@ -157,12 +154,11 @@

Properties

+ diff --git a/docs/mappings-util/com.grappenmaker.mappings/-mapped-local/lvt-index.html b/docs/mappings-util/com.grappenmaker.mappings/-mapped-local/lvt-index.html index ed2ba46..3d06beb 100644 --- a/docs/mappings-util/com.grappenmaker.mappings/-mapped-local/lvt-index.html +++ b/docs/mappings-util/com.grappenmaker.mappings/-mapped-local/lvt-index.html @@ -1,10 +1,9 @@ - + lvtIndex - - + - - + + - - - - - - - + + + + + +
-
- +
+
-

lvtIndex

+

lvtIndex

- +
+ diff --git a/docs/mappings-util/com.grappenmaker.mappings/-mapped-local/names.html b/docs/mappings-util/com.grappenmaker.mappings/-mapped-local/names.html index 81ff9e7..16499f6 100644 --- a/docs/mappings-util/com.grappenmaker.mappings/-mapped-local/names.html +++ b/docs/mappings-util/com.grappenmaker.mappings/-mapped-local/names.html @@ -1,10 +1,9 @@ - + names - - + - - + + - - - - - - - + + + + + +
-
- +
+

names

-
open override val names: List<String>(source)
+
open override val names: List<String>(source)
+ diff --git a/docs/mappings-util/com.grappenmaker.mappings/-mapped-local/start-offset.html b/docs/mappings-util/com.grappenmaker.mappings/-mapped-local/start-offset.html index 9861378..171f9fa 100644 --- a/docs/mappings-util/com.grappenmaker.mappings/-mapped-local/start-offset.html +++ b/docs/mappings-util/com.grappenmaker.mappings/-mapped-local/start-offset.html @@ -1,10 +1,9 @@ - + startOffset - - + - - + + - - - - - - - + + + + + +
-
- +
+
-

startOffset

+

startOffset

- +
+ diff --git a/docs/mappings-util/com.grappenmaker.mappings/-mapped-method/-mapped-method.html b/docs/mappings-util/com.grappenmaker.mappings/-mapped-method/-mapped-method.html index d9135b0..e34af28 100644 --- a/docs/mappings-util/com.grappenmaker.mappings/-mapped-method/-mapped-method.html +++ b/docs/mappings-util/com.grappenmaker.mappings/-mapped-method/-mapped-method.html @@ -1,10 +1,9 @@ - + MappedMethod - - + - - + + - - - - - - - + + + + + +
-
- +
+
-

MappedMethod

+

MappedMethod

-
constructor(names: List<String>, comments: List<String> = emptyList(), desc: String, parameters: List<MappedParameter> = emptyList(), variables: List<MappedLocal> = emptyList())(source)
+
constructor(names: List<String>, comments: List<String> = emptyList(), desc: String, parameters: List<MappedParameter> = emptyList(), variables: List<MappedLocal> = emptyList())(source)
+ diff --git a/docs/mappings-util/com.grappenmaker.mappings/-mapped-method/comments.html b/docs/mappings-util/com.grappenmaker.mappings/-mapped-method/comments.html index 53004ae..960c0b3 100644 --- a/docs/mappings-util/com.grappenmaker.mappings/-mapped-method/comments.html +++ b/docs/mappings-util/com.grappenmaker.mappings/-mapped-method/comments.html @@ -1,10 +1,9 @@ - + comments - - + - - + + - - - - - - - + + + + + +
-
- +
+

comments

-
open override val comments: List<String>(source)
+
open override val comments: List<String>(source)
+ diff --git a/docs/mappings-util/com.grappenmaker.mappings/-mapped-method/desc.html b/docs/mappings-util/com.grappenmaker.mappings/-mapped-method/desc.html index bfc6763..8dd622c 100644 --- a/docs/mappings-util/com.grappenmaker.mappings/-mapped-method/desc.html +++ b/docs/mappings-util/com.grappenmaker.mappings/-mapped-method/desc.html @@ -1,10 +1,9 @@ - + desc - - + - - + + - - - - - - - + + + + + +
-
- +
+

desc

- +
+ diff --git a/docs/mappings-util/com.grappenmaker.mappings/-mapped-method/index.html b/docs/mappings-util/com.grappenmaker.mappings/-mapped-method/index.html index 937623d..5db9356 100644 --- a/docs/mappings-util/com.grappenmaker.mappings/-mapped-method/index.html +++ b/docs/mappings-util/com.grappenmaker.mappings/-mapped-method/index.html @@ -1,10 +1,9 @@ - + MappedMethod - - + - - + + - - - - - - - + + + + + +
-
- +
+
-

MappedMethod

-
data class MappedMethod(val names: List<String>, val comments: List<String> = emptyList(), val desc: String, val parameters: List<MappedParameter> = emptyList(), val variables: List<MappedLocal> = emptyList()) : Mapped, Commented(source)

Represents a mapped method

+

MappedMethod

+
data class MappedMethod(val names: List<String>, val comments: List<String> = emptyList(), val desc: String, val parameters: List<MappedParameter> = emptyList(), val variables: List<MappedLocal> = emptyList()) : Mapped, Commented(source)

Represents a mapped method

Constructors

-
-
+
+
- - + +
Link copied to clipboard
-
constructor(names: List<String>, comments: List<String> = emptyList(), desc: String, parameters: List<MappedParameter> = emptyList(), variables: List<MappedLocal> = emptyList())
+
constructor(names: List<String>, comments: List<String> = emptyList(), desc: String, parameters: List<MappedParameter> = emptyList(), variables: List<MappedLocal> = emptyList())
@@ -91,77 +88,77 @@

Constructors

Properties

-
-
+
+
- +
Link copied to clipboard
-
open override val comments: List<String>

All comments that the author of some Mappings file wrote

+
open override val comments: List<String>

All comments that the author of some Mappings file wrote

- -
+ +
- +
Link copied to clipboard
-

The JVMS method descriptor in the "first namespace" of a Mappings file

+

The JVMS method descriptor in the "first namespace" of a Mappings file

- -
+ +
- +
Link copied to clipboard
-
open override val names: List<String>

The names of this named entity, which should correspond to some namespaces in Mappings.namespaces

+
open override val names: List<String>

The names of this named entity, which should correspond to some namespaces in Mappings.namespaces

- -
+ +
- +
Link copied to clipboard
-

Deobfuscation information regarding parameter names

+

Deobfuscation information regarding parameter names

- -
+ +
- +
Link copied to clipboard
-

Deobfuscation information regarding local variable names

+

Deobfuscation information regarding local variable names

@@ -170,17 +167,17 @@

Properties

Functions

-
-
+
+
- - + +
Link copied to clipboard
-

Returns whether the methods represented by this MappedMethod is a data method, that is, if this method is hashCode, toString, equals or an initializer, like a constructor or init {} block (this means that the jvm names are and , respectively)

+

Returns whether the methods represented by this MappedMethod is a data method, that is, if this method is hashCode, toString, equals or an initializer, like a constructor or init {} block (this means that the jvm names are and , respectively)

@@ -191,12 +188,11 @@

Functions

+ diff --git a/docs/mappings-util/com.grappenmaker.mappings/-mapped-method/names.html b/docs/mappings-util/com.grappenmaker.mappings/-mapped-method/names.html index e73f917..77224ce 100644 --- a/docs/mappings-util/com.grappenmaker.mappings/-mapped-method/names.html +++ b/docs/mappings-util/com.grappenmaker.mappings/-mapped-method/names.html @@ -1,10 +1,9 @@ - + names - - + - - + + - - - - - - - + + + + + +
-
- +
+

names

-
open override val names: List<String>(source)
+
open override val names: List<String>(source)
+ diff --git a/docs/mappings-util/com.grappenmaker.mappings/-mapped-method/parameters.html b/docs/mappings-util/com.grappenmaker.mappings/-mapped-method/parameters.html index 058c183..88c0dfb 100644 --- a/docs/mappings-util/com.grappenmaker.mappings/-mapped-method/parameters.html +++ b/docs/mappings-util/com.grappenmaker.mappings/-mapped-method/parameters.html @@ -1,10 +1,9 @@ - + parameters - - + - - + + - - - - - - - + + + + + +
-
- +
+

parameters

- +
+ diff --git a/docs/mappings-util/com.grappenmaker.mappings/-mapped-method/variables.html b/docs/mappings-util/com.grappenmaker.mappings/-mapped-method/variables.html index 03507fa..caebadb 100644 --- a/docs/mappings-util/com.grappenmaker.mappings/-mapped-method/variables.html +++ b/docs/mappings-util/com.grappenmaker.mappings/-mapped-method/variables.html @@ -1,10 +1,9 @@ - + variables - - + - - + + - - - - - - - + + + + + +
-
- +
+

variables

- +
+ diff --git a/docs/mappings-util/com.grappenmaker.mappings/-mapped-parameter/--index--.html b/docs/mappings-util/com.grappenmaker.mappings/-mapped-parameter/--index--.html index 7e411fb..ec60188 100644 --- a/docs/mappings-util/com.grappenmaker.mappings/-mapped-parameter/--index--.html +++ b/docs/mappings-util/com.grappenmaker.mappings/-mapped-parameter/--index--.html @@ -1,10 +1,9 @@ - + index - - + - - + + - - - - - - - + + + + + +
-
- +
+

index

- +
+ diff --git a/docs/mappings-util/com.grappenmaker.mappings/-mapped-parameter/-mapped-parameter.html b/docs/mappings-util/com.grappenmaker.mappings/-mapped-parameter/-mapped-parameter.html index e16fa8b..0cd6f4e 100644 --- a/docs/mappings-util/com.grappenmaker.mappings/-mapped-parameter/-mapped-parameter.html +++ b/docs/mappings-util/com.grappenmaker.mappings/-mapped-parameter/-mapped-parameter.html @@ -1,10 +1,9 @@ - + MappedParameter - - + - - + + - - - - - - - + + + + + +
-
- +
+
-

MappedParameter

+

MappedParameter

-
constructor(names: List<String>, index: Int)(source)
+
constructor(names: List<String>, index: Int)(source)
+ diff --git a/docs/mappings-util/com.grappenmaker.mappings/-mapped-parameter/index.html b/docs/mappings-util/com.grappenmaker.mappings/-mapped-parameter/index.html index b27ca71..35be694 100644 --- a/docs/mappings-util/com.grappenmaker.mappings/-mapped-parameter/index.html +++ b/docs/mappings-util/com.grappenmaker.mappings/-mapped-parameter/index.html @@ -1,10 +1,9 @@ - + MappedParameter - - + - - + + - - - - - - - + + + + + +
-
- +
+
-

MappedParameter

-
data class MappedParameter(val names: List<String>, val index: Int) : Mapped(source)

Represents a mapped parameter of a MappedMethod, which is different from a MappedLocal (see docs)

+

MappedParameter

+
data class MappedParameter(val names: List<String>, val index: Int) : Mapped(source)

Represents a mapped parameter of a MappedMethod, which is different from a MappedLocal (see docs)

Constructors

-
-
+
+
- - + +
Link copied to clipboard
-
constructor(names: List<String>, index: Int)
+
constructor(names: List<String>, index: Int)
@@ -91,32 +88,32 @@

Constructors

Properties

-
-
+
+
- +
Link copied to clipboard
-
val index: Int

the index (starting at zero) of this parameter

+
val index: Int

the index (starting at zero) of this parameter

- -
+ +
- +
Link copied to clipboard
-
open override val names: List<String>

The names of this named entity, which should correspond to some namespaces in Mappings.namespaces

+
open override val names: List<String>

The names of this named entity, which should correspond to some namespaces in Mappings.namespaces

@@ -127,12 +124,11 @@

Properties

+ diff --git a/docs/mappings-util/com.grappenmaker.mappings/-mapped-parameter/names.html b/docs/mappings-util/com.grappenmaker.mappings/-mapped-parameter/names.html index f857dba..c40f99f 100644 --- a/docs/mappings-util/com.grappenmaker.mappings/-mapped-parameter/names.html +++ b/docs/mappings-util/com.grappenmaker.mappings/-mapped-parameter/names.html @@ -1,10 +1,9 @@ - + names - - + - - + + - - - - - - - + + + + + +
-
- +
+

names

-
open override val names: List<String>(source)
+
open override val names: List<String>(source)
+ diff --git a/docs/mappings-util/com.grappenmaker.mappings/-mapped/index.html b/docs/mappings-util/com.grappenmaker.mappings/-mapped/index.html index ef0d623..72f85e5 100644 --- a/docs/mappings-util/com.grappenmaker.mappings/-mapped/index.html +++ b/docs/mappings-util/com.grappenmaker.mappings/-mapped/index.html @@ -1,10 +1,9 @@ - + Mapped - - + - - + + - - - - - - - + + + + + +
-
- +
+

Mapped

-
sealed interface Mapped(source)

Represents any entity that can have different mapped names

Inheritors

+
sealed interface Mapped(source)

Represents any entity that can have different mapped names

Inheritors

Properties

-
-
+
+
- +
Link copied to clipboard
-
abstract val names: List<String>

The names of this named entity, which should correspond to some namespaces in Mappings.namespaces

+
abstract val names: List<String>

The names of this named entity, which should correspond to some namespaces in Mappings.namespaces

@@ -93,12 +90,11 @@

Properties

+ diff --git a/docs/mappings-util/com.grappenmaker.mappings/-mapped/names.html b/docs/mappings-util/com.grappenmaker.mappings/-mapped/names.html index 792e83f..cbaa143 100644 --- a/docs/mappings-util/com.grappenmaker.mappings/-mapped/names.html +++ b/docs/mappings-util/com.grappenmaker.mappings/-mapped/names.html @@ -1,10 +1,9 @@ - + names - - + - - + + - - - - - - - + + + + + +
-
- +
+

names

-
abstract val names: List<String>(source)
+
abstract val names: List<String>(source)
+ diff --git a/docs/mappings-util/com.grappenmaker.mappings/-mappings-format/-undetectable/detect.html b/docs/mappings-util/com.grappenmaker.mappings/-mappings-format/-undetectable/detect.html index 5eefa97..ddc7a0c 100644 --- a/docs/mappings-util/com.grappenmaker.mappings/-mappings-format/-undetectable/detect.html +++ b/docs/mappings-util/com.grappenmaker.mappings/-mappings-format/-undetectable/detect.html @@ -1,10 +1,9 @@ - + detect - - + - - + + - - - - - - - + + + + + +
-
- +
+

detect

-
open override fun detect(lines: List<String>): Boolean(source)

Deprecated

This mappings format does not support detection

Replace with

false

Returns whether this MappingsFormat thinks the lines represent a valid input for the mappings parser

+
open override fun detect(lines: List<String>): Boolean(source)

Deprecated

This mappings format does not support detection

Replace with

false

Returns whether this MappingsFormat thinks the lines represent a valid input for the mappings parser

+ diff --git a/docs/mappings-util/com.grappenmaker.mappings/-mappings-format/-undetectable/index.html b/docs/mappings-util/com.grappenmaker.mappings/-mappings-format/-undetectable/index.html index 14aaf10..8442d8b 100644 --- a/docs/mappings-util/com.grappenmaker.mappings/-mappings-format/-undetectable/index.html +++ b/docs/mappings-util/com.grappenmaker.mappings/-mappings-format/-undetectable/index.html @@ -1,10 +1,9 @@ - + Undetectable - - + - - + + - - - - - - - + + + + + +
-
- +
+

Undetectable

-
sealed interface Undetectable<T : Mappings> : MappingsFormat<T> (source)

Represents a mappings format that does not support detecting inputs, because of ambiguities or similarities with other formats. detect will always return false. If you want to use this mappings format, it should either be known ahead of time or stored somewhere that this is the case, this library won't handle that for you.

Inheritors

+
sealed interface Undetectable<T : Mappings> : MappingsFormat<T> (source)

Represents a mappings format that does not support detecting inputs, because of ambiguities or similarities with other formats. detect will always return false. If you want to use this mappings format, it should either be known ahead of time or stored somewhere that this is the case, this library won't handle that for you.

Inheritors

Functions

-
-
+
+
- +
Link copied to clipboard
-
open override fun detect(lines: List<String>): Boolean

Returns whether this MappingsFormat thinks the lines represent a valid input for the mappings parser

+
open override fun detect(lines: List<String>): Boolean

Returns whether this MappingsFormat thinks the lines represent a valid input for the mappings parser

- -
+ +
- +
Link copied to clipboard
-
abstract fun parse(lines: Iterator<String>): T

Parses lines (an iterator of lines in a mappings file) into a mappings data structure. Throws an IllegalStateException when lines is not a valid input for this mappings format.

open fun parse(lines: List<String>): T

Parses lines (representing a mappings file) into a mappings data structure. Throws an IllegalStateException when lines is not a valid input for this mappings format. To check if lines can be parsed, you could invoke detect.

+
abstract fun parse(lines: Iterator<String>): T

Parses lines (an iterator of lines in a mappings file) into a mappings data structure. Throws an IllegalStateException when lines is not a valid input for this mappings format.

open fun parse(lines: List<String>): T

Parses lines (representing a mappings file) into a mappings data structure. Throws an IllegalStateException when lines is not a valid input for this mappings format. To check if lines can be parsed, you could invoke detect.

- -
+ +
- +
Link copied to clipboard
-

Parses lines (a Sequence of lines in a mappings file) into a mappings data structure. Throws an IllegalStateException when lines is not a valid input for this mappings format.

+

Parses lines (a Sequence of lines in a mappings file) into a mappings data structure. Throws an IllegalStateException when lines is not a valid input for this mappings format.

- -
+ +
- +
Link copied to clipboard
-
open fun write(mappings: T): List<String>

Writes mappings compatible with this MappingsFormat back to a list of lines representing a mappings file

+
open fun write(mappings: T): List<String>

Writes mappings compatible with this MappingsFormat back to a list of lines representing a mappings file

- -
+ +
- - + +
Link copied to clipboard
-
abstract fun writeLazy(mappings: T): Sequence<String>

Writes mappings compatible with this MappingsFormat to a lazily evaluated Sequence

+
abstract fun writeLazy(mappings: T): Sequence<String>

Writes mappings compatible with this MappingsFormat to a lazily evaluated Sequence

@@ -153,12 +150,11 @@

Functions

+ diff --git a/docs/mappings-util/com.grappenmaker.mappings/-mappings-format/detect.html b/docs/mappings-util/com.grappenmaker.mappings/-mappings-format/detect.html index d0fc9bf..f4af4ce 100644 --- a/docs/mappings-util/com.grappenmaker.mappings/-mappings-format/detect.html +++ b/docs/mappings-util/com.grappenmaker.mappings/-mappings-format/detect.html @@ -1,10 +1,9 @@ - + detect - - + - - + + - - - - - - - + + + + + +
-
- +
+

detect

-
abstract fun detect(lines: List<String>): Boolean(source)

Returns whether this MappingsFormat thinks the lines represent a valid input for the mappings parser

+
abstract fun detect(lines: List<String>): Boolean(source)

Returns whether this MappingsFormat thinks the lines represent a valid input for the mappings parser

+ diff --git a/docs/mappings-util/com.grappenmaker.mappings/-mappings-format/index.html b/docs/mappings-util/com.grappenmaker.mappings/-mappings-format/index.html index d834618..f17d59d 100644 --- a/docs/mappings-util/com.grappenmaker.mappings/-mappings-format/index.html +++ b/docs/mappings-util/com.grappenmaker.mappings/-mappings-format/index.html @@ -1,10 +1,9 @@ - + MappingsFormat - - + - - + + - - - - - - - + + + + + +
-
- +
+

Types

-
-
+
+
- +
Link copied to clipboard
-
sealed interface Undetectable<T : Mappings> : MappingsFormat<T>

Represents a mappings format that does not support detecting inputs, because of ambiguities or similarities with other formats. detect will always return false. If you want to use this mappings format, it should either be known ahead of time or stored somewhere that this is the case, this library won't handle that for you.

+
sealed interface Undetectable<T : Mappings> : MappingsFormat<T>

Represents a mappings format that does not support detecting inputs, because of ambiguities or similarities with other formats. detect will always return false. If you want to use this mappings format, it should either be known ahead of time or stored somewhere that this is the case, this library won't handle that for you.

@@ -91,77 +88,77 @@

Types

Functions

-
-
+
+
- +
Link copied to clipboard
-
abstract fun detect(lines: List<String>): Boolean

Returns whether this MappingsFormat thinks the lines represent a valid input for the mappings parser

+
abstract fun detect(lines: List<String>): Boolean

Returns whether this MappingsFormat thinks the lines represent a valid input for the mappings parser

- -
+ +
- +
Link copied to clipboard
-
abstract fun parse(lines: Iterator<String>): T

Parses lines (an iterator of lines in a mappings file) into a mappings data structure. Throws an IllegalStateException when lines is not a valid input for this mappings format.

open fun parse(lines: List<String>): T

Parses lines (representing a mappings file) into a mappings data structure. Throws an IllegalStateException when lines is not a valid input for this mappings format. To check if lines can be parsed, you could invoke detect.

+
abstract fun parse(lines: Iterator<String>): T

Parses lines (an iterator of lines in a mappings file) into a mappings data structure. Throws an IllegalStateException when lines is not a valid input for this mappings format.

open fun parse(lines: List<String>): T

Parses lines (representing a mappings file) into a mappings data structure. Throws an IllegalStateException when lines is not a valid input for this mappings format. To check if lines can be parsed, you could invoke detect.

- -
+ +
- +
Link copied to clipboard
-

Parses lines (a Sequence of lines in a mappings file) into a mappings data structure. Throws an IllegalStateException when lines is not a valid input for this mappings format.

+

Parses lines (a Sequence of lines in a mappings file) into a mappings data structure. Throws an IllegalStateException when lines is not a valid input for this mappings format.

- -
+ +
- +
Link copied to clipboard
-
open fun write(mappings: T): List<String>

Writes mappings compatible with this MappingsFormat back to a list of lines representing a mappings file

+
open fun write(mappings: T): List<String>

Writes mappings compatible with this MappingsFormat back to a list of lines representing a mappings file

- -
+ +
- - + +
Link copied to clipboard
-
abstract fun writeLazy(mappings: T): Sequence<String>

Writes mappings compatible with this MappingsFormat to a lazily evaluated Sequence

+
abstract fun writeLazy(mappings: T): Sequence<String>

Writes mappings compatible with this MappingsFormat to a lazily evaluated Sequence

@@ -172,12 +169,11 @@

Functions

+ diff --git a/docs/mappings-util/com.grappenmaker.mappings/-mappings-format/parse.html b/docs/mappings-util/com.grappenmaker.mappings/-mappings-format/parse.html index 9a32249..12ec25f 100644 --- a/docs/mappings-util/com.grappenmaker.mappings/-mappings-format/parse.html +++ b/docs/mappings-util/com.grappenmaker.mappings/-mappings-format/parse.html @@ -1,10 +1,9 @@ - + parse - - + - - + + - - - - - - - + + + + + +
-
- +
+

parse

-
open fun parse(lines: List<String>): T(source)

Parses lines (representing a mappings file) into a mappings data structure. Throws an IllegalStateException when lines is not a valid input for this mappings format. To check if lines can be parsed, you could invoke detect.

If detection is not required, parse with an Iterator should be preferred


abstract fun parse(lines: Iterator<String>): T(source)

Parses lines (an iterator of lines in a mappings file) into a mappings data structure. Throws an IllegalStateException when lines is not a valid input for this mappings format.

+
open fun parse(lines: List<String>): T(source)

Parses lines (representing a mappings file) into a mappings data structure. Throws an IllegalStateException when lines is not a valid input for this mappings format. To check if lines can be parsed, you could invoke detect.

If detection is not required, parse with an Iterator should be preferred


abstract fun parse(lines: Iterator<String>): T(source)

Parses lines (an iterator of lines in a mappings file) into a mappings data structure. Throws an IllegalStateException when lines is not a valid input for this mappings format.

+ diff --git a/docs/mappings-util/com.grappenmaker.mappings/-mappings-format/write-lazy.html b/docs/mappings-util/com.grappenmaker.mappings/-mappings-format/write-lazy.html index c074b54..6a3169e 100644 --- a/docs/mappings-util/com.grappenmaker.mappings/-mappings-format/write-lazy.html +++ b/docs/mappings-util/com.grappenmaker.mappings/-mappings-format/write-lazy.html @@ -1,10 +1,9 @@ - + writeLazy - - + - - + + - - - - - - - + + + + + +
-
- +
+
-

writeLazy

+

writeLazy

-
abstract fun writeLazy(mappings: T): Sequence<String>(source)

Writes mappings compatible with this MappingsFormat to a lazily evaluated Sequence

+
abstract fun writeLazy(mappings: T): Sequence<String>(source)

Writes mappings compatible with this MappingsFormat to a lazily evaluated Sequence

+ diff --git a/docs/mappings-util/com.grappenmaker.mappings/-mappings-format/write.html b/docs/mappings-util/com.grappenmaker.mappings/-mappings-format/write.html index a8dd4aa..175633d 100644 --- a/docs/mappings-util/com.grappenmaker.mappings/-mappings-format/write.html +++ b/docs/mappings-util/com.grappenmaker.mappings/-mappings-format/write.html @@ -1,10 +1,9 @@ - + write - - + - - + + - - - - - - - + + + + + +
-
- +
+

write

-
open fun write(mappings: T): List<String>(source)

Writes mappings compatible with this MappingsFormat back to a list of lines representing a mappings file

+
open fun write(mappings: T): List<String>(source)

Writes mappings compatible with this MappingsFormat back to a list of lines representing a mappings file

+ diff --git a/docs/mappings-util/com.grappenmaker.mappings/-mappings-loader/all-mappings-formats.html b/docs/mappings-util/com.grappenmaker.mappings/-mappings-loader/all-mappings-formats.html index d3029e2..43a1648 100644 --- a/docs/mappings-util/com.grappenmaker.mappings/-mappings-loader/all-mappings-formats.html +++ b/docs/mappings-util/com.grappenmaker.mappings/-mappings-loader/all-mappings-formats.html @@ -1,10 +1,9 @@ - + allMappingsFormats - - + - - + + - - - - - - - + + + + + +
-
- +
+
-

allMappingsFormats

+

allMappingsFormats

-

Contains all supported MappingsFormats.

+

Contains all supported MappingsFormats.

+ diff --git a/docs/mappings-util/com.grappenmaker.mappings/-mappings-loader/find-mappings-format.html b/docs/mappings-util/com.grappenmaker.mappings/-mappings-loader/find-mappings-format.html index 3104af7..0364e13 100644 --- a/docs/mappings-util/com.grappenmaker.mappings/-mappings-loader/find-mappings-format.html +++ b/docs/mappings-util/com.grappenmaker.mappings/-mappings-loader/find-mappings-format.html @@ -1,10 +1,9 @@ - + findMappingsFormat - - + - - + + - - - - - - - + + + + + +
-
- +
+
-

findMappingsFormat

+

findMappingsFormat

-

Finds the correct MappingsFormat for the mappings file represented by lines. Throws an IllegalStateException when an invalid mappings sequence is provided (or not supported).

Note that mappings formats that do not support detection (inheritors of MappingsFormat.Undetectable) will not be returned by this function.

See also

+

Finds the correct MappingsFormat for the mappings file represented by lines. Throws an IllegalStateException when an invalid mappings sequence is provided (or not supported).

Note that mappings formats that do not support detection (inheritors of MappingsFormat.Undetectable) will not be returned by this function.

See also

+ diff --git a/docs/mappings-util/com.grappenmaker.mappings/-mappings-loader/index.html b/docs/mappings-util/com.grappenmaker.mappings/-mappings-loader/index.html index 142b14e..9ffc5b2 100644 --- a/docs/mappings-util/com.grappenmaker.mappings/-mappings-loader/index.html +++ b/docs/mappings-util/com.grappenmaker.mappings/-mappings-loader/index.html @@ -1,10 +1,9 @@ - + MappingsLoader - - + - - + + - - - - - - - + + + + + +
-
- +
+
-

MappingsLoader

-

The entry point for loading Mappings.

Note that it should be preferred that it is known in advance which mappings format is being dealt with, as the detection mechanism can be inaccurate due to it not fully parsing the input file. It can also slow the entire process down, since it requires the caller to read some probably large resource into a List first, which costs allocations.

+

MappingsLoader

+

The entry point for loading Mappings.

Note that it should be preferred that it is known in advance which mappings format is being dealt with, as the detection mechanism can be inaccurate due to it not fully parsing the input file. It can also slow the entire process down, since it requires the caller to read some probably large resource into a List first, which costs allocations.

Properties

-
-
+
+
- - + +
Link copied to clipboard
-

Contains all supported MappingsFormats.

+

Contains all supported MappingsFormats.

@@ -91,32 +88,32 @@

Properties

Functions

-
-
+
+
- - + +
Link copied to clipboard
-

Finds the correct MappingsFormat for the mappings file represented by lines. Throws an IllegalStateException when an invalid mappings sequence is provided (or not supported).

+

Finds the correct MappingsFormat for the mappings file represented by lines. Throws an IllegalStateException when an invalid mappings sequence is provided (or not supported).

- -
+ +
- - + +
Link copied to clipboard
-

Attempts to load the mappings represented by lines as Mappings. Throws an IllegalStateException when an invalid mappings sequence is provided (or not supported).

+

Attempts to load the mappings represented by lines as Mappings. Throws an IllegalStateException when an invalid mappings sequence is provided (or not supported).

@@ -127,12 +124,11 @@

Functions

+ diff --git a/docs/mappings-util/com.grappenmaker.mappings/-mappings-loader/load-mappings.html b/docs/mappings-util/com.grappenmaker.mappings/-mappings-loader/load-mappings.html index dbc3ce5..054c2dd 100644 --- a/docs/mappings-util/com.grappenmaker.mappings/-mappings-loader/load-mappings.html +++ b/docs/mappings-util/com.grappenmaker.mappings/-mappings-loader/load-mappings.html @@ -1,10 +1,9 @@ - + loadMappings - - + - - + + - - - - - - - + + + + + +
-
- +
+
-

loadMappings

+

loadMappings

-

Attempts to load the mappings represented by lines as Mappings. Throws an IllegalStateException when an invalid mappings sequence is provided (or not supported).

Note that mappings in formats that do not support detection (inheritors of MappingsFormat.Undetectable) will not be parsed correctly, and an IllegalStateException will be thrown.

See also

+

Attempts to load the mappings represented by lines as Mappings. Throws an IllegalStateException when an invalid mappings sequence is provided (or not supported).

Note that mappings in formats that do not support detection (inheritors of MappingsFormat.Undetectable) will not be parsed correctly, and an IllegalStateException will be thrown.

See also

+ diff --git a/docs/mappings-util/com.grappenmaker.mappings/-mappings-remapper/-mappings-remapper.html b/docs/mappings-util/com.grappenmaker.mappings/-mappings-remapper/-mappings-remapper.html index d1ea4d0..c30ec4e 100644 --- a/docs/mappings-util/com.grappenmaker.mappings/-mappings-remapper/-mappings-remapper.html +++ b/docs/mappings-util/com.grappenmaker.mappings/-mappings-remapper/-mappings-remapper.html @@ -1,10 +1,9 @@ - + MappingsRemapper - - + - - + + - - - - - - - + + + + + +
-
- +
+
-

MappingsRemapper

+

MappingsRemapper

-
constructor(mappings: Mappings, from: String, to: String, loader: ClasspathLoader)(source)
+
constructor(mappings: Mappings, from: String, to: String, loader: ClasspathLoader)(source)
+ diff --git a/docs/mappings-util/com.grappenmaker.mappings/-mappings-remapper/from.html b/docs/mappings-util/com.grappenmaker.mappings/-mappings-remapper/from.html index 7d586b5..1cb388a 100644 --- a/docs/mappings-util/com.grappenmaker.mappings/-mappings-remapper/from.html +++ b/docs/mappings-util/com.grappenmaker.mappings/-mappings-remapper/from.html @@ -1,10 +1,9 @@ - + from - - + - - + + - - - - - - - + + + + + +
-
- +
+

from

- +
+ diff --git a/docs/mappings-util/com.grappenmaker.mappings/-mappings-remapper/index.html b/docs/mappings-util/com.grappenmaker.mappings/-mappings-remapper/index.html index f9fb929..346648a 100644 --- a/docs/mappings-util/com.grappenmaker.mappings/-mappings-remapper/index.html +++ b/docs/mappings-util/com.grappenmaker.mappings/-mappings-remapper/index.html @@ -1,10 +1,9 @@ - + MappingsRemapper - - + - - + + - - - - - - - + + + + + +
-
- +
+
-

MappingsRemapper

-
class MappingsRemapper(val mappings: Mappings, val from: String, val to: String, loader: ClasspathLoader) : LoaderSimpleRemapper(source)

A Remapper for Mappings, which is capable of using inheritance information from classes (the implementor may choose to cache them) to resolve mapping data.

Maps between from and to namespaces. If shouldRemapDesc is true (which it is by default if the from namespace is not the first namespace in the mappings), this MappingsRemapper will remap the descriptors of methods before passing them on to the mappings, in order to find the correct overload.

loader should return the bytes for a class file with a given internal name, whether that is in a jar file, this JVMs system class loader, or another resource. If loader returns null, the remapper considers the class file not present/missing/irrelevant.

See also

for default implementations of loader

+

MappingsRemapper

+
class MappingsRemapper(val mappings: Mappings, val from: String, val to: String, loader: ClasspathLoader) : LoaderSimpleRemapper(source)

A Remapper for Mappings, which is capable of using inheritance information from classes (the implementor may choose to cache them) to resolve mapping data.

Maps between from and to namespaces. If shouldRemapDesc is true (which it is by default if the from namespace is not the first namespace in the mappings), this MappingsRemapper will remap the descriptors of methods before passing them on to the mappings, in order to find the correct overload.

loader should return the bytes for a class file with a given internal name, whether that is in a jar file, this JVMs system class loader, or another resource. If loader returns null, the remapper considers the class file not present/missing/irrelevant.

See also

for default implementations of loader

Constructors

-
-
+
+
- - + +
Link copied to clipboard
-
constructor(mappings: Mappings, from: String, to: String, loader: ClasspathLoader)
+
constructor(mappings: Mappings, from: String, to: String, loader: ClasspathLoader)
@@ -91,47 +88,47 @@

Constructors

Properties

-
-
+
+
- +
Link copied to clipboard
-

the namespace to remap from

+

the namespace to remap from

- -
+ +
- +
Link copied to clipboard
-

the mappings used for remapping

+

the mappings used for remapping

- -
+ +
- +
Link copied to clipboard
-
val to: String

the namespace to remap to

+
val to: String

the namespace to remap to

@@ -140,242 +137,242 @@

Properties

Functions

-
-
+
+
- +
Link copied to clipboard
-
open override fun map(internalName: String): String
+
open override fun map(internalName: String): String
- -
+ + - -
+ +
- - + +
Link copied to clipboard
-
open fun mapDesc(p0: String): String
+
open fun mapDesc(p0: String): String
- -
+ +
- - + +
Link copied to clipboard
-
open override fun mapFieldName(owner: String, name: String, desc: String?): String
+
open override fun mapFieldName(owner: String, name: String, desc: String?): String
- -
+ +
- - + +
Link copied to clipboard
-
open fun mapInnerClassName(p0: String, p1: String, p2: String): String
+
open fun mapInnerClassName(p0: String, p1: String, p2: String): String
- -
+ + - -
+ +
- - + +
Link copied to clipboard
-
open fun mapMethodDesc(p0: String): String
+
open fun mapMethodDesc(p0: String): String
- -
+ +
- - + +
Link copied to clipboard
-
open override fun mapMethodName(owner: String, name: String, desc: String): String
+
open override fun mapMethodName(owner: String, name: String, desc: String): String
- -
+ +
- - + +
Link copied to clipboard
-
open fun mapModuleName(p0: String): String
+
open fun mapModuleName(p0: String): String
- -
+ +
- - + +
Link copied to clipboard
- +
- -
+ +
- - + +
Link copied to clipboard
-
open override fun mapRecordComponentName(owner: String, name: String, desc: String): String
+
open override fun mapRecordComponentName(owner: String, name: String, desc: String): String
- -
+ +
- - + +
Link copied to clipboard
-
open override fun mapSignature(signature: String?, typeSignature: Boolean): String?
+
open override fun mapSignature(signature: String?, typeSignature: Boolean): String?
- -
+ +
- - + +
Link copied to clipboard
-
open fun mapType(p0: String): String
+
open fun mapType(p0: String): String
- -
+ +
- - + +
Link copied to clipboard
-
open fun mapTypes(p0: Array<String>): Array<String>
+
open fun mapTypes(p0: Array<String>): Array<String>
- -
+ +
- - + +
Link copied to clipboard
-
open fun mapValue(p0: Any): Any
+
open fun mapValue(p0: Any): Any
- -
+ +
- +
Link copied to clipboard
-
fun reverse(loader: ClasspathLoader = this.loader): MappingsRemapper

Returns a MappingsRemapper that reverses the changes of this MappingsRemapper.

+
fun reverse(loader: ClasspathLoader = this.loader): MappingsRemapper

Returns a MappingsRemapper that reverses the changes of this MappingsRemapper.

@@ -386,12 +383,11 @@

Functions

+ diff --git a/docs/mappings-util/com.grappenmaker.mappings/-mappings-remapper/mappings.html b/docs/mappings-util/com.grappenmaker.mappings/-mappings-remapper/mappings.html index b961ff6..36747bb 100644 --- a/docs/mappings-util/com.grappenmaker.mappings/-mappings-remapper/mappings.html +++ b/docs/mappings-util/com.grappenmaker.mappings/-mappings-remapper/mappings.html @@ -1,10 +1,9 @@ - + mappings - - + - - + + - - - - - - - + + + + + +
-
- +
+

mappings

- +
+ diff --git a/docs/mappings-util/com.grappenmaker.mappings/-mappings-remapper/reverse.html b/docs/mappings-util/com.grappenmaker.mappings/-mappings-remapper/reverse.html index cdba9df..a6ce76f 100644 --- a/docs/mappings-util/com.grappenmaker.mappings/-mappings-remapper/reverse.html +++ b/docs/mappings-util/com.grappenmaker.mappings/-mappings-remapper/reverse.html @@ -1,10 +1,9 @@ - + reverse - - + - - + + - - - - - - - + + + + + +
-
- +
+

reverse

-
fun reverse(loader: ClasspathLoader = this.loader): MappingsRemapper(source)

Returns a MappingsRemapper that reverses the changes of this MappingsRemapper.

Note that loader is by default set to the already passed loader, but it might be incorrect depending on the implementation of loader in the original MappingsRemapper. Make sure to pass a new implementation if inheritance data matters to you and the original loader could not handle different namespaced names.

+
fun reverse(loader: ClasspathLoader = this.loader): MappingsRemapper(source)

Returns a MappingsRemapper that reverses the changes of this MappingsRemapper.

Note that loader is by default set to the already passed loader, but it might be incorrect depending on the implementation of loader in the original MappingsRemapper. Make sure to pass a new implementation if inheritance data matters to you and the original loader could not handle different namespaced names.

+ diff --git a/docs/mappings-util/com.grappenmaker.mappings/-mappings-remapper/to.html b/docs/mappings-util/com.grappenmaker.mappings/-mappings-remapper/to.html index a36aa12..519a30e 100644 --- a/docs/mappings-util/com.grappenmaker.mappings/-mappings-remapper/to.html +++ b/docs/mappings-util/com.grappenmaker.mappings/-mappings-remapper/to.html @@ -1,10 +1,9 @@ - + to - - + - - + + - - - - - - - + + + + + +
-
- +
+

to

- +
+ diff --git a/docs/mappings-util/com.grappenmaker.mappings/-mappings/classes.html b/docs/mappings-util/com.grappenmaker.mappings/-mappings/classes.html index 790755b..7686b10 100644 --- a/docs/mappings-util/com.grappenmaker.mappings/-mappings/classes.html +++ b/docs/mappings-util/com.grappenmaker.mappings/-mappings/classes.html @@ -1,10 +1,9 @@ - + classes - - + - - + + - - - - - - - + + + + + +
-
- +
+

classes

-
abstract val classes: List<MappedClass>(source)
+
abstract val classes: List<MappedClass>(source)
+ diff --git a/docs/mappings-util/com.grappenmaker.mappings/-mappings/index.html b/docs/mappings-util/com.grappenmaker.mappings/-mappings/index.html index 48554c1..a49825c 100644 --- a/docs/mappings-util/com.grappenmaker.mappings/-mappings/index.html +++ b/docs/mappings-util/com.grappenmaker.mappings/-mappings/index.html @@ -1,10 +1,9 @@ - + Mappings - - + - - + + - - - - - - - + + + + + +
-
- +
+

Mappings

-
sealed interface Mappings(source)

Represents any type of mappings. The names in all of the Mapped entities are in the order of the namespaces, and should have equal length arrays.

Inheritors

+
sealed interface Mappings(source)

Represents any type of mappings. The names in all of the Mapped entities are in the order of the namespaces, and should have equal length arrays.

Inheritors

Properties

-
-
+
+
- +
Link copied to clipboard
-
abstract val classes: List<MappedClass>

All mapped classes in this mappings file (in order, not important)

+
abstract val classes: List<MappedClass>

All mapped classes in this mappings file (in order, not important)

- -
+ +
- +
Link copied to clipboard
-
abstract val namespaces: List<String>

All namespaces (in order) that this mappings file supports/contains

+
abstract val namespaces: List<String>

All namespaces (in order) that this mappings file supports/contains

@@ -106,377 +103,377 @@

Properties

Functions

-
-
+
+
- - + +
Link copied to clipboard
-
fun Mappings.asASMMapping(from: String, to: String, includeMethods: Boolean = true, includeFields: Boolean = true): Map<String, String>

Returns a simple mapping representing all of the Mappings, mapping between the namespaces from and to. If includeMethods is true, then methods will be included in the mapping. If includeFields is true, then fields will be included in the mapping.

+
fun Mappings.asASMMapping(from: String, to: String, includeMethods: Boolean = true, includeFields: Boolean = true): Map<String, String>

Returns a simple mapping representing all of the Mappings, mapping between the namespaces from and to. If includeMethods is true, then methods will be included in the mapping. If includeFields is true, then fields will be included in the mapping.

- -
+ +
- - + +
Link copied to clipboard
- -
+ +
- - + +
Link copied to clipboard
- -
+ + - -
+ + - -
+ + - -
+ +
- - + +
Link copied to clipboard
- -
+ +
- - + +
Link copied to clipboard
-

Returns an asm SimpleRemapper for remapping references between namespaces from and to disregarding inheritance and lambdas. For proper remapping, you should use the MappingsRemapper.

+

Returns an asm SimpleRemapper for remapping references between namespaces from and to disregarding inheritance and lambdas. For proper remapping, you should use the MappingsRemapper.

- -
+ +
- - + +
Link copied to clipboard
-

Converts these Mappings to SRGMappings, enabling XSRG when extended is true.

+

Converts these Mappings to SRGMappings, enabling XSRG when extended is true.

- -
+ +
- - + +
Link copied to clipboard
-

Converts these Mappings to TinyMappings, enabling Tiny v2 when v2 is true.

+

Converts these Mappings to TinyMappings, enabling Tiny v2 when v2 is true.

- -
+ +
- - + +
Link copied to clipboard
-

Converts these Mappings to TSRGMappings, enabling TSRG v2 when v2 is true.

+

Converts these Mappings to TSRGMappings, enabling TSRG v2 when v2 is true.

- -
+ +
- - + +
Link copied to clipboard
-

Removes all duplicate namespace usages in this Mappings.

+

Removes all duplicate namespace usages in this Mappings.

- -
+ +
- - + +
Link copied to clipboard
-

Transforms this Mappings structure to a generic mappings implementation that maps between from and to.

+

Transforms this Mappings structure to a generic mappings implementation that maps between from and to.

- -
+ +
- - + +
Link copied to clipboard
-
inline fun Mappings.filterClasses(predicate: (MappedClass) -> Boolean): Mappings

Filters classes matching the predicate

+
inline fun Mappings.filterClasses(predicate: (MappedClass) -> Boolean): Mappings

Filters classes matching the predicate

- -
+ +
- - + +
Link copied to clipboard
-
inline fun Mappings.filterMethods(predicate: (owner: MappedClass, method: MappedMethod) -> Boolean): Mappings

Filters methods matching the predicate

+
inline fun Mappings.filterMethods(predicate: (owner: MappedClass, method: MappedMethod) -> Boolean): Mappings

Filters methods matching the predicate

- -
+ +
- - + +
Link copied to clipboard
-
fun Mappings.filterNamespaces(vararg allowed: String, allowDuplicates: Boolean = false): Mappings
fun Mappings.filterNamespaces(allowed: Set<String>, allowDuplicates: Boolean = false): Mappings

Filters these Mappings to only contain namespaces that are in allowed. If allowDuplicates is true, the returned Mappings will also have duplicate namespaces removed.

inline fun Mappings.filterNamespaces(allowDuplicates: Boolean = false, predicate: (String) -> Boolean): Mappings

Filters these Mappings to only contain namespaces for which the predicate returns true. If allowDuplicates is true, the returned Mappings will also have duplicate namespaces removed.

+
fun Mappings.filterNamespaces(vararg allowed: String, allowDuplicates: Boolean = false): Mappings
fun Mappings.filterNamespaces(allowed: Set<String>, allowDuplicates: Boolean = false): Mappings

Filters these Mappings to only contain namespaces that are in allowed. If allowDuplicates is true, the returned Mappings will also have duplicate namespaces removed.

inline fun Mappings.filterNamespaces(allowDuplicates: Boolean = false, predicate: (String) -> Boolean): Mappings

Filters these Mappings to only contain namespaces for which the predicate returns true. If allowDuplicates is true, the returned Mappings will also have duplicate namespaces removed.

- -
+ +
- +
Link copied to clipboard
-
fun Mappings.join(otherMappings: Mappings, intermediateNamespace: String, requireMatch: Boolean = false): Mappings

Joins together this Mappings with otherMappings, by matching on intermediateNamespace, producing new Mappings that contain all entries from this Mappings and otherMappings. If requireMatch is true, this method will throw an exception when no method or field or class is found

+
fun Mappings.join(otherMappings: Mappings, intermediateNamespace: String, requireMatch: Boolean = false): Mappings

Joins together this Mappings with otherMappings, by matching on intermediateNamespace, producing new Mappings that contain all entries from this Mappings and otherMappings. If requireMatch is true, this method will throw an exception when no method or field or class is found

- -
+ +
- - + +
Link copied to clipboard
-

Maps classes according to the given block

+

Maps classes according to the given block

- -
+ +
- - + +
Link copied to clipboard
-
inline fun Mappings.mapMethods(block: (owner: MappedClass, method: MappedMethod) -> MappedMethod): Mappings

Maps methods according to the given block

+
inline fun Mappings.mapMethods(block: (owner: MappedClass, method: MappedMethod) -> MappedMethod): Mappings

Maps methods according to the given block

- -
+ +
- +
Link copied to clipboard
-

Returns the index of a namespace named name, but throws an IllegalStateException when name is not in the Mappings.namespaces.

+

Returns the index of a namespace named name, but throws an IllegalStateException when name is not in the Mappings.namespaces.

- -
+ +
- - + +
Link copied to clipboard
-

See recoverFieldDescriptors. file is a jar file resource (caller is responsible for closing it) that contains the classes that are referenced in the generic overload.

fun Mappings.recoverFieldDescriptors(bytesProvider: (name: String) -> ByteArray?): Mappings

Attempts to recover field descriptors that are missing because the original mappings format did not specify them. bytesProvider is responsible for providing all of the classes that might be referenced in this Mappings object, such that the descriptors can be recovered based on named (fields can be uniquely identified by an owner-name pair). When field descriptors were not found, field mappings will not be passed onto the new Mappings as field mappings without descriptors will be considered invalid.

@JvmName(name = "recoverDescsByNode")
fun Mappings.recoverFieldDescriptors(nodeProvider: (name: String) -> ClassNode?): Mappings

Attempts to recover field descriptors that are missing because the original mappings format did not specify them. nodeProvider is responsible for providing all of the ClassNodes that might be referenced in this Mappings object, such that the descriptors can be recovered based on named (fields can be uniquely identified by an owner-name pair). When field descriptors were not found, field mappings will not be passed onto the new Mappings as field mappings without descriptors will be considered invalid.

+

See recoverFieldDescriptors. file is a jar file resource (caller is responsible for closing it) that contains the classes that are referenced in the generic overload.

fun Mappings.recoverFieldDescriptors(bytesProvider: (name: String) -> ByteArray?): Mappings

Attempts to recover field descriptors that are missing because the original mappings format did not specify them. bytesProvider is responsible for providing all of the classes that might be referenced in this Mappings object, such that the descriptors can be recovered based on named (fields can be uniquely identified by an owner-name pair). When field descriptors were not found, field mappings will not be passed onto the new Mappings as field mappings without descriptors will be considered invalid.

@JvmName(name = "recoverDescsByNode")
fun Mappings.recoverFieldDescriptors(nodeProvider: (name: String) -> ClassNode?): Mappings

Attempts to recover field descriptors that are missing because the original mappings format did not specify them. nodeProvider is responsible for providing all of the ClassNodes that might be referenced in this Mappings object, such that the descriptors can be recovered based on named (fields can be uniquely identified by an owner-name pair). When field descriptors were not found, field mappings will not be passed onto the new Mappings as field mappings without descriptors will be considered invalid.

- -
+ +
- - + +
Link copied to clipboard
-

Returns new Mappings that are identical to these Mappings, except the comments will be removed

+

Returns new Mappings that are identical to these Mappings, except the comments will be removed

- -
+ +
- - + +
Link copied to clipboard
-
fun Mappings.removeRedundancy(inheritanceProvider: InheritanceProvider, removeDuplicateMethods: Boolean = false): Mappings

Removes redundant or straight up incorrect data from this Mappings object, by looking at the inheritance information present in class files, presented by the inheritanceProvider.

fun Mappings.removeRedundancy(file: JarFile, removeDuplicateMethods: Boolean = false): Mappings

See removeRedundancy. file is a jar file resource (caller is responsible for closing it) that contains the classes that are referenced in the generic overload. Calls with identical names are being cached by this function, the caller is not responsible for this.

fun Mappings.removeRedundancy(removeDuplicateMethods: Boolean = false, loader: ClasspathLoader): Mappings

Removes redundant or straight up incorrect data from this Mappings object, by looking at the inheritance information present in class files, presented by the loader.

+
fun Mappings.removeRedundancy(inheritanceProvider: InheritanceProvider, removeDuplicateMethods: Boolean = false): Mappings

Removes redundant or straight up incorrect data from this Mappings object, by looking at the inheritance information present in class files, presented by the inheritanceProvider.

fun Mappings.removeRedundancy(file: JarFile, removeDuplicateMethods: Boolean = false): Mappings

See removeRedundancy. file is a jar file resource (caller is responsible for closing it) that contains the classes that are referenced in the generic overload. Calls with identical names are being cached by this function, the caller is not responsible for this.

fun Mappings.removeRedundancy(removeDuplicateMethods: Boolean = false, loader: ClasspathLoader): Mappings

Removes redundant or straight up incorrect data from this Mappings object, by looking at the inheritance information present in class files, presented by the loader.

- -
+ +
- - + +
Link copied to clipboard
-

Swaps out the names for the namespaces in this Mappings data structure.

+

Swaps out the names for the namespaces in this Mappings data structure.

- -
+ +
- - + +
Link copied to clipboard
-

Swaps out the names for the namespaces in this Mappings data structure, by reordering. Duplicate names are allowed, in which case mapped entries are duplicated to fit the new order. If a name in Mappings.namespaces does not appear in order, its mapping entries will be missing in the returned Mappings.

Swaps out the names for the namespaces in this Mappings data structure, by reordering. Duplicate names are allowed, in which case mapped entries are duplicated to fit the new order. If a name in Mappings.namespaces does not appear in order, its mapping entries will be missing in the returned Mappings. If a namespace in order does not exist in this Mappings, an IllegalArgumentException will be thrown.

+

Swaps out the names for the namespaces in this Mappings data structure, by reordering. Duplicate names are allowed, in which case mapped entries are duplicated to fit the new order. If a name in Mappings.namespaces does not appear in order, its mapping entries will be missing in the returned Mappings.

Swaps out the names for the namespaces in this Mappings data structure, by reordering. Duplicate names are allowed, in which case mapped entries are duplicated to fit the new order. If a name in Mappings.namespaces does not appear in order, its mapping entries will be missing in the returned Mappings. If a namespace in order does not exist in this Mappings, an IllegalArgumentException will be thrown.

@@ -487,12 +484,11 @@

Functions

+ diff --git a/docs/mappings-util/com.grappenmaker.mappings/-mappings/namespaces.html b/docs/mappings-util/com.grappenmaker.mappings/-mappings/namespaces.html index f999e6d..106ea5c 100644 --- a/docs/mappings-util/com.grappenmaker.mappings/-mappings/namespaces.html +++ b/docs/mappings-util/com.grappenmaker.mappings/-mappings/namespaces.html @@ -1,10 +1,9 @@ - + namespaces - - + - - + + - - - - - - - + + + + + +
-
- +
+

namespaces

-
abstract val namespaces: List<String>(source)
+
abstract val namespaces: List<String>(source)
+ diff --git a/docs/mappings-util/com.grappenmaker.mappings/-member-identifier/-member-identifier.html b/docs/mappings-util/com.grappenmaker.mappings/-member-identifier/-member-identifier.html index ddd6e24..2fe3c1e 100644 --- a/docs/mappings-util/com.grappenmaker.mappings/-member-identifier/-member-identifier.html +++ b/docs/mappings-util/com.grappenmaker.mappings/-member-identifier/-member-identifier.html @@ -1,10 +1,9 @@ - + MemberIdentifier - - + - - + + - - - - - - - + + + + + +
-
- +
+
-

MemberIdentifier

+

MemberIdentifier

-
constructor(name: String, desc: String)(source)
+
constructor(name: String, desc: String)(source)
+ diff --git a/docs/mappings-util/com.grappenmaker.mappings/-member-identifier/desc.html b/docs/mappings-util/com.grappenmaker.mappings/-member-identifier/desc.html index 163be0e..b3eb3e6 100644 --- a/docs/mappings-util/com.grappenmaker.mappings/-member-identifier/desc.html +++ b/docs/mappings-util/com.grappenmaker.mappings/-member-identifier/desc.html @@ -1,10 +1,9 @@ - + desc - - + - - + + - - - - - - - + + + + + +
-
- +
+

desc

- +
+ diff --git a/docs/mappings-util/com.grappenmaker.mappings/-member-identifier/index.html b/docs/mappings-util/com.grappenmaker.mappings/-member-identifier/index.html index 13b0bee..984a1fc 100644 --- a/docs/mappings-util/com.grappenmaker.mappings/-member-identifier/index.html +++ b/docs/mappings-util/com.grappenmaker.mappings/-member-identifier/index.html @@ -1,10 +1,9 @@ - + MemberIdentifier - - + - - + + - - - - - - - + + + + + +
-
- +
+
-

MemberIdentifier

-
data class MemberIdentifier(val name: String, val desc: String)(source)

Similar to AccessedMember, but without an owner field. Used in an AccessedClass

+

MemberIdentifier

+
data class MemberIdentifier(val name: String, val desc: String)(source)

Similar to AccessedMember, but without an owner field. Used in an AccessedClass

Constructors

-
-
+
+
- - + +
Link copied to clipboard
-
constructor(name: String, desc: String)
+
constructor(name: String, desc: String)
@@ -91,32 +88,32 @@

Constructors

Properties

-
-
+
+
- +
Link copied to clipboard
-

The descriptor of the represented member

+

The descriptor of the represented member

- -
+ +
- +
Link copied to clipboard
-

The name of the represented member

+

The name of the represented member

@@ -127,12 +124,11 @@

Properties

+ diff --git a/docs/mappings-util/com.grappenmaker.mappings/-member-identifier/name.html b/docs/mappings-util/com.grappenmaker.mappings/-member-identifier/name.html index 62ef687..2faf5b1 100644 --- a/docs/mappings-util/com.grappenmaker.mappings/-member-identifier/name.html +++ b/docs/mappings-util/com.grappenmaker.mappings/-member-identifier/name.html @@ -1,10 +1,9 @@ - + name - - + - - + + - - - - - - - + + + + + +
-
- +
+

name

- +
+ diff --git a/docs/mappings-util/com.grappenmaker.mappings/-memoized-inheritance-provider/-memoized-inheritance-provider.html b/docs/mappings-util/com.grappenmaker.mappings/-memoized-inheritance-provider/-memoized-inheritance-provider.html index afaae86..630fd81 100644 --- a/docs/mappings-util/com.grappenmaker.mappings/-memoized-inheritance-provider/-memoized-inheritance-provider.html +++ b/docs/mappings-util/com.grappenmaker.mappings/-memoized-inheritance-provider/-memoized-inheritance-provider.html @@ -1,10 +1,9 @@ - + MemoizedInheritanceProvider - - + - - + + - - - - - - - + + + + + +
-
- +
+
-

MemoizedInheritanceProvider

+

MemoizedInheritanceProvider

-
constructor(delegate: InheritanceProvider)(source)
+
constructor(delegate: InheritanceProvider)(source)
+ diff --git a/docs/mappings-util/com.grappenmaker.mappings/-memoized-inheritance-provider/get-declared-methods.html b/docs/mappings-util/com.grappenmaker.mappings/-memoized-inheritance-provider/get-declared-methods.html index 98239a9..5f3b07a 100644 --- a/docs/mappings-util/com.grappenmaker.mappings/-memoized-inheritance-provider/get-declared-methods.html +++ b/docs/mappings-util/com.grappenmaker.mappings/-memoized-inheritance-provider/get-declared-methods.html @@ -1,10 +1,9 @@ - + getDeclaredMethods - - + - - + + - - - - - - - + + + + + +
-
- +
+
-

getDeclaredMethods

+

getDeclaredMethods

-
open override fun getDeclaredMethods(internalName: String, filterInheritable: Boolean): Iterable<String>(source)

Returns the signatures of the methods declared in a class with a given internalName.

A signature is a string that represents a method by concatenating its name with its JVMS descriptor For example: valueOf(Ljava/lang/String;)Lsome/EnumType;

A declared method is a method that is directly declared in the bytecode of the class.

If filterInheritable is true, this method should only return the signatures of methods that are non-private, non-static, non-final. That is, access & (ACC_PRIVATE | ACC_STATIC | ACC_FINAL) == 0, where access is the bitset of access flags as defined by the JVMS. The convienience constant INHERITABLE_MASK can be used for this computation as well, by comparing access &INHERITABLE_MASK == 0

+
open override fun getDeclaredMethods(internalName: String, filterInheritable: Boolean): Iterable<String>(source)

Returns the signatures of the methods declared in a class with a given internalName.

A signature is a string that represents a method by concatenating its name with its JVMS descriptor For example: valueOf(Ljava/lang/String;)Lsome/EnumType;

A declared method is a method that is directly declared in the bytecode of the class.

If filterInheritable is true, this method should only return the signatures of methods that are non-private, non-static, non-final. That is, access & (ACC_PRIVATE | ACC_STATIC | ACC_FINAL) == 0, where access is the bitset of access flags as defined by the JVMS. The convienience constant INHERITABLE_MASK can be used for this computation as well, by comparing access &INHERITABLE_MASK == 0

+ diff --git a/docs/mappings-util/com.grappenmaker.mappings/-memoized-inheritance-provider/get-direct-parents.html b/docs/mappings-util/com.grappenmaker.mappings/-memoized-inheritance-provider/get-direct-parents.html index 6271e06..8bf6153 100644 --- a/docs/mappings-util/com.grappenmaker.mappings/-memoized-inheritance-provider/get-direct-parents.html +++ b/docs/mappings-util/com.grappenmaker.mappings/-memoized-inheritance-provider/get-direct-parents.html @@ -1,10 +1,9 @@ - + getDirectParents - - + - - + + - - - - - - - + + + + + +
-
- +
+
-

getDirectParents

+

getDirectParents

-
open override fun getDirectParents(internalName: String): Iterable<String>(source)

Returns the direct parents of a class with a given internalName, that is, it returns an iterable of its super class (if any) and its superinterfaces, in that order.

+
open override fun getDirectParents(internalName: String): Iterable<String>(source)

Returns the direct parents of a class with a given internalName, that is, it returns an iterable of its super class (if any) and its superinterfaces, in that order.

+ diff --git a/docs/mappings-util/com.grappenmaker.mappings/-memoized-inheritance-provider/index.html b/docs/mappings-util/com.grappenmaker.mappings/-memoized-inheritance-provider/index.html index 65d3218..b3ab7aa 100644 --- a/docs/mappings-util/com.grappenmaker.mappings/-memoized-inheritance-provider/index.html +++ b/docs/mappings-util/com.grappenmaker.mappings/-memoized-inheritance-provider/index.html @@ -1,10 +1,9 @@ - + MemoizedInheritanceProvider - - + - - + + - - - - - - - + + + + + +
-
- +
+
-

MemoizedInheritanceProvider

-

An InheritanceProvider that delegates to another given InheritanceProvider, delegate, and remembers its results.

+

MemoizedInheritanceProvider

+

An InheritanceProvider that delegates to another given InheritanceProvider, delegate, and remembers its results.

Constructors

-
-
+
+
- - + +
Link copied to clipboard
-
constructor(delegate: InheritanceProvider)
+
constructor(delegate: InheritanceProvider)
@@ -91,62 +88,62 @@

Constructors

Functions

-
-
+
+
- - + +
Link copied to clipboard
-
open override fun getDeclaredMethods(internalName: String, filterInheritable: Boolean): Iterable<String>

Returns the signatures of the methods declared in a class with a given internalName.

+
open override fun getDeclaredMethods(internalName: String, filterInheritable: Boolean): Iterable<String>

Returns the signatures of the methods declared in a class with a given internalName.

- -
+ +
- - + +
Link copied to clipboard
-
open override fun getDirectParents(internalName: String): Iterable<String>

Returns the direct parents of a class with a given internalName, that is, it returns an iterable of its super class (if any) and its superinterfaces, in that order.

+
open override fun getDirectParents(internalName: String): Iterable<String>

Returns the direct parents of a class with a given internalName, that is, it returns an iterable of its super class (if any) and its superinterfaces, in that order.

- -
+ +
- - + +
Link copied to clipboard
-
open fun getParents(internalName: String): Iterable<String>

Returns the internal names of the parents of a class with a given internalName, in depth-first order, interfaces first.

+
open fun getParents(internalName: String): Iterable<String>

Returns the internal names of the parents of a class with a given internalName, in depth-first order, interfaces first.

- -
+ +
- +
Link copied to clipboard
-

Wraps this into a new provider that remembers the results of calls

+

Wraps this into a new provider that remembers the results of calls

@@ -157,12 +154,11 @@

Functions

+ diff --git a/docs/mappings-util/com.grappenmaker.mappings/-proguard-mappings-format/detect.html b/docs/mappings-util/com.grappenmaker.mappings/-proguard-mappings-format/detect.html index 2a12f81..3ed75c1 100644 --- a/docs/mappings-util/com.grappenmaker.mappings/-proguard-mappings-format/detect.html +++ b/docs/mappings-util/com.grappenmaker.mappings/-proguard-mappings-format/detect.html @@ -1,10 +1,9 @@ - + detect - - + - - + + - - - - - - - + + + + + +
-
- +
+

detect

-
open override fun detect(lines: List<String>): Boolean(source)

Returns whether this MappingsFormat thinks the lines represent a valid input for the mappings parser

+
open override fun detect(lines: List<String>): Boolean(source)

Returns whether this MappingsFormat thinks the lines represent a valid input for the mappings parser

+ diff --git a/docs/mappings-util/com.grappenmaker.mappings/-proguard-mappings-format/index.html b/docs/mappings-util/com.grappenmaker.mappings/-proguard-mappings-format/index.html index 5c492a4..d8a7b62 100644 --- a/docs/mappings-util/com.grappenmaker.mappings/-proguard-mappings-format/index.html +++ b/docs/mappings-util/com.grappenmaker.mappings/-proguard-mappings-format/index.html @@ -1,10 +1,9 @@ - + ProguardMappingsFormat - - + - - + + - - - - - - - + + + + + +
-
- +
+
-

ProguardMappingsFormat

-

Implements the Proguard mappings format, disregarding line number information, which is written as 1:1 when serialized.

+

ProguardMappingsFormat

+

Implements the Proguard mappings format, disregarding line number information, which is written as 1:1 when serialized.

Functions

-
-
+
+
- +
Link copied to clipboard
-
open override fun detect(lines: List<String>): Boolean

Returns whether this MappingsFormat thinks the lines represent a valid input for the mappings parser

+
open override fun detect(lines: List<String>): Boolean

Returns whether this MappingsFormat thinks the lines represent a valid input for the mappings parser

- -
+ +
- +
Link copied to clipboard
-
open fun parse(lines: List<String>): ProguardMappings

Parses lines (representing a mappings file) into a mappings data structure. Throws an IllegalStateException when lines is not a valid input for this mappings format. To check if lines can be parsed, you could invoke detect.

open override fun parse(lines: Iterator<String>): ProguardMappings

Parses lines (an iterator of lines in a mappings file) into a mappings data structure. Throws an IllegalStateException when lines is not a valid input for this mappings format.

+
open fun parse(lines: List<String>): ProguardMappings

Parses lines (representing a mappings file) into a mappings data structure. Throws an IllegalStateException when lines is not a valid input for this mappings format. To check if lines can be parsed, you could invoke detect.

open override fun parse(lines: Iterator<String>): ProguardMappings

Parses lines (an iterator of lines in a mappings file) into a mappings data structure. Throws an IllegalStateException when lines is not a valid input for this mappings format.

- -
+ +
- +
Link copied to clipboard
-

Parses lines (a Sequence of lines in a mappings file) into a mappings data structure. Throws an IllegalStateException when lines is not a valid input for this mappings format.

+

Parses lines (a Sequence of lines in a mappings file) into a mappings data structure. Throws an IllegalStateException when lines is not a valid input for this mappings format.

- -
+ +
- - + +
Link copied to clipboard
-
open fun write(mappings: ProguardMappings): List<String>

Writes mappings compatible with this MappingsFormat back to a list of lines representing a mappings file

+
open fun write(mappings: ProguardMappings): List<String>

Writes mappings compatible with this MappingsFormat back to a list of lines representing a mappings file

- -
+ +
- - + +
Link copied to clipboard
-
open override fun writeLazy(mappings: ProguardMappings): Sequence<String>

Writes mappings compatible with this MappingsFormat to a lazily evaluated Sequence

+
open override fun writeLazy(mappings: ProguardMappings): Sequence<String>

Writes mappings compatible with this MappingsFormat to a lazily evaluated Sequence

@@ -153,12 +150,11 @@

Functions

+ diff --git a/docs/mappings-util/com.grappenmaker.mappings/-proguard-mappings-format/parse.html b/docs/mappings-util/com.grappenmaker.mappings/-proguard-mappings-format/parse.html index b973a71..4c243b2 100644 --- a/docs/mappings-util/com.grappenmaker.mappings/-proguard-mappings-format/parse.html +++ b/docs/mappings-util/com.grappenmaker.mappings/-proguard-mappings-format/parse.html @@ -1,10 +1,9 @@ - + parse - - + - - + + - - - - - - - + + + + + +
-
- +
+

parse

-
open override fun parse(lines: Iterator<String>): ProguardMappings(source)

Parses lines (an iterator of lines in a mappings file) into a mappings data structure. Throws an IllegalStateException when lines is not a valid input for this mappings format.

+
open override fun parse(lines: Iterator<String>): ProguardMappings(source)

Parses lines (an iterator of lines in a mappings file) into a mappings data structure. Throws an IllegalStateException when lines is not a valid input for this mappings format.

+ diff --git a/docs/mappings-util/com.grappenmaker.mappings/-proguard-mappings-format/write-lazy.html b/docs/mappings-util/com.grappenmaker.mappings/-proguard-mappings-format/write-lazy.html index da2cc42..761b267 100644 --- a/docs/mappings-util/com.grappenmaker.mappings/-proguard-mappings-format/write-lazy.html +++ b/docs/mappings-util/com.grappenmaker.mappings/-proguard-mappings-format/write-lazy.html @@ -1,10 +1,9 @@ - + writeLazy - - + - - + + - - - - - - - + + + + + +
-
- +
+
-

writeLazy

+

writeLazy

-
open override fun writeLazy(mappings: ProguardMappings): Sequence<String>(source)

Writes mappings compatible with this MappingsFormat to a lazily evaluated Sequence

+
open override fun writeLazy(mappings: ProguardMappings): Sequence<String>(source)

Writes mappings compatible with this MappingsFormat to a lazily evaluated Sequence

+ diff --git a/docs/mappings-util/com.grappenmaker.mappings/-proguard-mappings/-proguard-mappings.html b/docs/mappings-util/com.grappenmaker.mappings/-proguard-mappings/-proguard-mappings.html index 10d30af..ebbeb46 100644 --- a/docs/mappings-util/com.grappenmaker.mappings/-proguard-mappings/-proguard-mappings.html +++ b/docs/mappings-util/com.grappenmaker.mappings/-proguard-mappings/-proguard-mappings.html @@ -1,10 +1,9 @@ - + ProguardMappings - - + - - + + - - - - - - - + + + + + +
-
- +
+
-

ProguardMappings

+

ProguardMappings

-
constructor(classes: List<MappedClass>, comments: List<String> = emptyList())(source)
+
constructor(classes: List<MappedClass>, comments: List<String> = emptyList())(source)
+ diff --git a/docs/mappings-util/com.grappenmaker.mappings/-proguard-mappings/classes.html b/docs/mappings-util/com.grappenmaker.mappings/-proguard-mappings/classes.html index 54c0f9c..3c9979a 100644 --- a/docs/mappings-util/com.grappenmaker.mappings/-proguard-mappings/classes.html +++ b/docs/mappings-util/com.grappenmaker.mappings/-proguard-mappings/classes.html @@ -1,10 +1,9 @@ - + classes - - + - - + + - - - - - - - + + + + + +
-
- +
+

classes

-
open override val classes: List<MappedClass>(source)
+
open override val classes: List<MappedClass>(source)
+ diff --git a/docs/mappings-util/com.grappenmaker.mappings/-proguard-mappings/comments.html b/docs/mappings-util/com.grappenmaker.mappings/-proguard-mappings/comments.html index fc69ace..d77ef3d 100644 --- a/docs/mappings-util/com.grappenmaker.mappings/-proguard-mappings/comments.html +++ b/docs/mappings-util/com.grappenmaker.mappings/-proguard-mappings/comments.html @@ -1,10 +1,9 @@ - + comments - - + - - + + - - - - - - - + + + + + +
-
- +
+

comments

-
open override val comments: List<String>(source)
+
open override val comments: List<String>(source)
+ diff --git a/docs/mappings-util/com.grappenmaker.mappings/-proguard-mappings/index.html b/docs/mappings-util/com.grappenmaker.mappings/-proguard-mappings/index.html index f627f5c..3a5f977 100644 --- a/docs/mappings-util/com.grappenmaker.mappings/-proguard-mappings/index.html +++ b/docs/mappings-util/com.grappenmaker.mappings/-proguard-mappings/index.html @@ -1,10 +1,9 @@ - + ProguardMappings - - + - - + + - - - - - - - + + + + + +
-
- +
+
-

ProguardMappings

-
data class ProguardMappings(val classes: List<MappedClass>, val comments: List<String> = emptyList()) : Mappings, Commented(source)

Represents Proguard debug deobfuscation mappings. Note that Proguard only supports two mappings namespaces. Line number information is ignored by the parser.

+

ProguardMappings

+
data class ProguardMappings(val classes: List<MappedClass>, val comments: List<String> = emptyList()) : Mappings, Commented(source)

Represents Proguard debug deobfuscation mappings. Note that Proguard only supports two mappings namespaces. Line number information is ignored by the parser.

Constructors

-
-
+
+
- - + +
Link copied to clipboard
-
constructor(classes: List<MappedClass>, comments: List<String> = emptyList())
+
constructor(classes: List<MappedClass>, comments: List<String> = emptyList())
@@ -91,47 +88,47 @@

Constructors

Properties

-
-
+
+
- +
Link copied to clipboard
-
open override val classes: List<MappedClass>

All mapped classes in this mappings file (in order, not important)

+
open override val classes: List<MappedClass>

All mapped classes in this mappings file (in order, not important)

- -
+ +
- +
Link copied to clipboard
-
open override val comments: List<String>

All comments that the author of some Mappings file wrote

+
open override val comments: List<String>

All comments that the author of some Mappings file wrote

- -
+ +
- +
Link copied to clipboard
-
open override val namespaces: List<String>

All namespaces (in order) that this mappings file supports/contains

+
open override val namespaces: List<String>

All namespaces (in order) that this mappings file supports/contains

@@ -140,407 +137,407 @@

Properties

Functions

-
-
+
+
- - + +
Link copied to clipboard
-
fun Mappings.asASMMapping(from: String, to: String, includeMethods: Boolean = true, includeFields: Boolean = true): Map<String, String>

Returns a simple mapping representing all of the Mappings, mapping between the namespaces from and to. If includeMethods is true, then methods will be included in the mapping. If includeFields is true, then fields will be included in the mapping.

+
fun Mappings.asASMMapping(from: String, to: String, includeMethods: Boolean = true, includeFields: Boolean = true): Map<String, String>

Returns a simple mapping representing all of the Mappings, mapping between the namespaces from and to. If includeMethods is true, then methods will be included in the mapping. If includeFields is true, then fields will be included in the mapping.

- -
+ +
- - + +
Link copied to clipboard
- -
+ +
- - + +
Link copied to clipboard
- -
+ + - -
+ + - -
+ + - -
+ +
- - + +
Link copied to clipboard
- -
+ +
- - + +
Link copied to clipboard
-

Returns an asm SimpleRemapper for remapping references between namespaces from and to disregarding inheritance and lambdas. For proper remapping, you should use the MappingsRemapper.

+

Returns an asm SimpleRemapper for remapping references between namespaces from and to disregarding inheritance and lambdas. For proper remapping, you should use the MappingsRemapper.

- -
+ +
- - + +
Link copied to clipboard
-

Converts these Mappings to SRGMappings, enabling XSRG when extended is true.

+

Converts these Mappings to SRGMappings, enabling XSRG when extended is true.

- -
+ +
- - + +
Link copied to clipboard
-

Converts these Mappings to TinyMappings, enabling Tiny v2 when v2 is true.

+

Converts these Mappings to TinyMappings, enabling Tiny v2 when v2 is true.

- -
+ +
- - + +
Link copied to clipboard
-

Converts these Mappings to TSRGMappings, enabling TSRG v2 when v2 is true.

+

Converts these Mappings to TSRGMappings, enabling TSRG v2 when v2 is true.

- -
+ +
- - + +
Link copied to clipboard
-

Removes all duplicate namespace usages in this Mappings.

+

Removes all duplicate namespace usages in this Mappings.

- -
+ +
- - + +
Link copied to clipboard
-

Transforms this Mappings structure to a generic mappings implementation that maps between from and to.

+

Transforms this Mappings structure to a generic mappings implementation that maps between from and to.

- -
+ +
- - + +
Link copied to clipboard
-
inline fun Mappings.filterClasses(predicate: (MappedClass) -> Boolean): Mappings

Filters classes matching the predicate

+
inline fun Mappings.filterClasses(predicate: (MappedClass) -> Boolean): Mappings

Filters classes matching the predicate

- -
+ +
- - + +
Link copied to clipboard
-
inline fun Mappings.filterMethods(predicate: (owner: MappedClass, method: MappedMethod) -> Boolean): Mappings

Filters methods matching the predicate

+
inline fun Mappings.filterMethods(predicate: (owner: MappedClass, method: MappedMethod) -> Boolean): Mappings

Filters methods matching the predicate

- -
+ +
- - + +
Link copied to clipboard
-
fun Mappings.filterNamespaces(vararg allowed: String, allowDuplicates: Boolean = false): Mappings
fun Mappings.filterNamespaces(allowed: Set<String>, allowDuplicates: Boolean = false): Mappings

Filters these Mappings to only contain namespaces that are in allowed. If allowDuplicates is true, the returned Mappings will also have duplicate namespaces removed.

inline fun Mappings.filterNamespaces(allowDuplicates: Boolean = false, predicate: (String) -> Boolean): Mappings

Filters these Mappings to only contain namespaces for which the predicate returns true. If allowDuplicates is true, the returned Mappings will also have duplicate namespaces removed.

+
fun Mappings.filterNamespaces(vararg allowed: String, allowDuplicates: Boolean = false): Mappings
fun Mappings.filterNamespaces(allowed: Set<String>, allowDuplicates: Boolean = false): Mappings

Filters these Mappings to only contain namespaces that are in allowed. If allowDuplicates is true, the returned Mappings will also have duplicate namespaces removed.

inline fun Mappings.filterNamespaces(allowDuplicates: Boolean = false, predicate: (String) -> Boolean): Mappings

Filters these Mappings to only contain namespaces for which the predicate returns true. If allowDuplicates is true, the returned Mappings will also have duplicate namespaces removed.

- -
+ +
- +
Link copied to clipboard
-
fun Mappings.join(otherMappings: Mappings, intermediateNamespace: String, requireMatch: Boolean = false): Mappings

Joins together this Mappings with otherMappings, by matching on intermediateNamespace, producing new Mappings that contain all entries from this Mappings and otherMappings. If requireMatch is true, this method will throw an exception when no method or field or class is found

+
fun Mappings.join(otherMappings: Mappings, intermediateNamespace: String, requireMatch: Boolean = false): Mappings

Joins together this Mappings with otherMappings, by matching on intermediateNamespace, producing new Mappings that contain all entries from this Mappings and otherMappings. If requireMatch is true, this method will throw an exception when no method or field or class is found

- -
+ +
- - + +
Link copied to clipboard
-

Maps classes according to the given block

+

Maps classes according to the given block

- -
+ +
- - + +
Link copied to clipboard
-
inline fun Mappings.mapMethods(block: (owner: MappedClass, method: MappedMethod) -> MappedMethod): Mappings

Maps methods according to the given block

+
inline fun Mappings.mapMethods(block: (owner: MappedClass, method: MappedMethod) -> MappedMethod): Mappings

Maps methods according to the given block

- -
+ +
- +
Link copied to clipboard
-

Returns the index of a namespace named name, but throws an IllegalStateException when name is not in the Mappings.namespaces.

+

Returns the index of a namespace named name, but throws an IllegalStateException when name is not in the Mappings.namespaces.

- -
+ +
- - + +
Link copied to clipboard
-

See recoverFieldDescriptors. file is a jar file resource (caller is responsible for closing it) that contains the classes that are referenced in the generic overload.

fun Mappings.recoverFieldDescriptors(bytesProvider: (name: String) -> ByteArray?): Mappings

Attempts to recover field descriptors that are missing because the original mappings format did not specify them. bytesProvider is responsible for providing all of the classes that might be referenced in this Mappings object, such that the descriptors can be recovered based on named (fields can be uniquely identified by an owner-name pair). When field descriptors were not found, field mappings will not be passed onto the new Mappings as field mappings without descriptors will be considered invalid.

@JvmName(name = "recoverDescsByNode")
fun Mappings.recoverFieldDescriptors(nodeProvider: (name: String) -> ClassNode?): Mappings

Attempts to recover field descriptors that are missing because the original mappings format did not specify them. nodeProvider is responsible for providing all of the ClassNodes that might be referenced in this Mappings object, such that the descriptors can be recovered based on named (fields can be uniquely identified by an owner-name pair). When field descriptors were not found, field mappings will not be passed onto the new Mappings as field mappings without descriptors will be considered invalid.

+

See recoverFieldDescriptors. file is a jar file resource (caller is responsible for closing it) that contains the classes that are referenced in the generic overload.

fun Mappings.recoverFieldDescriptors(bytesProvider: (name: String) -> ByteArray?): Mappings

Attempts to recover field descriptors that are missing because the original mappings format did not specify them. bytesProvider is responsible for providing all of the classes that might be referenced in this Mappings object, such that the descriptors can be recovered based on named (fields can be uniquely identified by an owner-name pair). When field descriptors were not found, field mappings will not be passed onto the new Mappings as field mappings without descriptors will be considered invalid.

@JvmName(name = "recoverDescsByNode")
fun Mappings.recoverFieldDescriptors(nodeProvider: (name: String) -> ClassNode?): Mappings

Attempts to recover field descriptors that are missing because the original mappings format did not specify them. nodeProvider is responsible for providing all of the ClassNodes that might be referenced in this Mappings object, such that the descriptors can be recovered based on named (fields can be uniquely identified by an owner-name pair). When field descriptors were not found, field mappings will not be passed onto the new Mappings as field mappings without descriptors will be considered invalid.

- -
+ +
- - + +
Link copied to clipboard
-

Returns new Mappings that are identical to these Mappings, except the comments will be removed

+

Returns new Mappings that are identical to these Mappings, except the comments will be removed

- -
+ +
- - + +
Link copied to clipboard
-
fun Mappings.removeRedundancy(inheritanceProvider: InheritanceProvider, removeDuplicateMethods: Boolean = false): Mappings

Removes redundant or straight up incorrect data from this Mappings object, by looking at the inheritance information present in class files, presented by the inheritanceProvider.

fun Mappings.removeRedundancy(file: JarFile, removeDuplicateMethods: Boolean = false): Mappings

See removeRedundancy. file is a jar file resource (caller is responsible for closing it) that contains the classes that are referenced in the generic overload. Calls with identical names are being cached by this function, the caller is not responsible for this.

fun Mappings.removeRedundancy(removeDuplicateMethods: Boolean = false, loader: ClasspathLoader): Mappings

Removes redundant or straight up incorrect data from this Mappings object, by looking at the inheritance information present in class files, presented by the loader.

+
fun Mappings.removeRedundancy(inheritanceProvider: InheritanceProvider, removeDuplicateMethods: Boolean = false): Mappings

Removes redundant or straight up incorrect data from this Mappings object, by looking at the inheritance information present in class files, presented by the inheritanceProvider.

fun Mappings.removeRedundancy(file: JarFile, removeDuplicateMethods: Boolean = false): Mappings

See removeRedundancy. file is a jar file resource (caller is responsible for closing it) that contains the classes that are referenced in the generic overload. Calls with identical names are being cached by this function, the caller is not responsible for this.

fun Mappings.removeRedundancy(removeDuplicateMethods: Boolean = false, loader: ClasspathLoader): Mappings

Removes redundant or straight up incorrect data from this Mappings object, by looking at the inheritance information present in class files, presented by the loader.

- -
+ +
- - + +
Link copied to clipboard
-

Swaps out the names for the namespaces in this Mappings data structure.

+

Swaps out the names for the namespaces in this Mappings data structure.

- -
+ +
- - + +
Link copied to clipboard
-

Swaps out the names for the namespaces in this Mappings data structure, by reordering. Duplicate names are allowed, in which case mapped entries are duplicated to fit the new order. If a name in Mappings.namespaces does not appear in order, its mapping entries will be missing in the returned Mappings.

Swaps out the names for the namespaces in this Mappings data structure, by reordering. Duplicate names are allowed, in which case mapped entries are duplicated to fit the new order. If a name in Mappings.namespaces does not appear in order, its mapping entries will be missing in the returned Mappings. If a namespace in order does not exist in this Mappings, an IllegalArgumentException will be thrown.

+

Swaps out the names for the namespaces in this Mappings data structure, by reordering. Duplicate names are allowed, in which case mapped entries are duplicated to fit the new order. If a name in Mappings.namespaces does not appear in order, its mapping entries will be missing in the returned Mappings.

Swaps out the names for the namespaces in this Mappings data structure, by reordering. Duplicate names are allowed, in which case mapped entries are duplicated to fit the new order. If a name in Mappings.namespaces does not appear in order, its mapping entries will be missing in the returned Mappings. If a namespace in order does not exist in this Mappings, an IllegalArgumentException will be thrown.

- -
+ +
- +
Link copied to clipboard
-

Writes ProguardMappings to a mappings file represented by a list of strings

+

Writes ProguardMappings to a mappings file represented by a list of strings

- -
+ +
- - + +
Link copied to clipboard
- +
@@ -551,12 +548,11 @@

Functions

+ diff --git a/docs/mappings-util/com.grappenmaker.mappings/-proguard-mappings/namespaces.html b/docs/mappings-util/com.grappenmaker.mappings/-proguard-mappings/namespaces.html index fc9607d..242f8e7 100644 --- a/docs/mappings-util/com.grappenmaker.mappings/-proguard-mappings/namespaces.html +++ b/docs/mappings-util/com.grappenmaker.mappings/-proguard-mappings/namespaces.html @@ -1,10 +1,9 @@ - + namespaces - - + - - + + - - - - - - - + + + + + +
-
- +
+

namespaces

-
open override val namespaces: List<String>(source)
+
open override val namespaces: List<String>(source)
+ diff --git a/docs/mappings-util/com.grappenmaker.mappings/-recaf-mappings-format/index.html b/docs/mappings-util/com.grappenmaker.mappings/-recaf-mappings-format/index.html index 6be04d4..d7353d1 100644 --- a/docs/mappings-util/com.grappenmaker.mappings/-recaf-mappings-format/index.html +++ b/docs/mappings-util/com.grappenmaker.mappings/-recaf-mappings-format/index.html @@ -1,10 +1,9 @@ - + RecafMappingsFormat - - + - - + + - - - - - - - + + + + + +
-
- +
+
-

RecafMappingsFormat

-

Represents the Recaf mappings format

+

RecafMappingsFormat

+

Represents the Recaf mappings format

Functions

-
-
+
+
- +
Link copied to clipboard
-
open override fun detect(lines: List<String>): Boolean

Returns whether this MappingsFormat thinks the lines represent a valid input for the mappings parser

+
open override fun detect(lines: List<String>): Boolean

Returns whether this MappingsFormat thinks the lines represent a valid input for the mappings parser

- -
+ +
- +
Link copied to clipboard
-
open fun parse(lines: List<String>): RecafMappings

Parses lines (representing a mappings file) into a mappings data structure. Throws an IllegalStateException when lines is not a valid input for this mappings format. To check if lines can be parsed, you could invoke detect.

open override fun parse(lines: Iterator<String>): RecafMappings

Parses lines (an iterator of lines in a mappings file) into a mappings data structure. Throws an IllegalStateException when lines is not a valid input for this mappings format.

+
open fun parse(lines: List<String>): RecafMappings

Parses lines (representing a mappings file) into a mappings data structure. Throws an IllegalStateException when lines is not a valid input for this mappings format. To check if lines can be parsed, you could invoke detect.

open override fun parse(lines: Iterator<String>): RecafMappings

Parses lines (an iterator of lines in a mappings file) into a mappings data structure. Throws an IllegalStateException when lines is not a valid input for this mappings format.

- -
+ +
- +
Link copied to clipboard
-

Parses lines (a Sequence of lines in a mappings file) into a mappings data structure. Throws an IllegalStateException when lines is not a valid input for this mappings format.

+

Parses lines (a Sequence of lines in a mappings file) into a mappings data structure. Throws an IllegalStateException when lines is not a valid input for this mappings format.

- -
+ +
- - + +
Link copied to clipboard
-
open fun write(mappings: RecafMappings): List<String>

Writes mappings compatible with this MappingsFormat back to a list of lines representing a mappings file

+
open fun write(mappings: RecafMappings): List<String>

Writes mappings compatible with this MappingsFormat back to a list of lines representing a mappings file

- -
+ +
- - + +
Link copied to clipboard
-
open override fun writeLazy(mappings: RecafMappings): Sequence<String>

Writes mappings compatible with this MappingsFormat to a lazily evaluated Sequence

+
open override fun writeLazy(mappings: RecafMappings): Sequence<String>

Writes mappings compatible with this MappingsFormat to a lazily evaluated Sequence

@@ -153,12 +150,11 @@

Functions

+ diff --git a/docs/mappings-util/com.grappenmaker.mappings/-recaf-mappings-format/parse.html b/docs/mappings-util/com.grappenmaker.mappings/-recaf-mappings-format/parse.html index b135558..19687dd 100644 --- a/docs/mappings-util/com.grappenmaker.mappings/-recaf-mappings-format/parse.html +++ b/docs/mappings-util/com.grappenmaker.mappings/-recaf-mappings-format/parse.html @@ -1,10 +1,9 @@ - + parse - - + - - + + - - - - - - - + + + + + +
-
- +
+

parse

-
open override fun parse(lines: Iterator<String>): RecafMappings(source)

Parses lines (an iterator of lines in a mappings file) into a mappings data structure. Throws an IllegalStateException when lines is not a valid input for this mappings format.

+
open override fun parse(lines: Iterator<String>): RecafMappings(source)

Parses lines (an iterator of lines in a mappings file) into a mappings data structure. Throws an IllegalStateException when lines is not a valid input for this mappings format.

+ diff --git a/docs/mappings-util/com.grappenmaker.mappings/-recaf-mappings-format/write-lazy.html b/docs/mappings-util/com.grappenmaker.mappings/-recaf-mappings-format/write-lazy.html index 6fd41f6..4b6752b 100644 --- a/docs/mappings-util/com.grappenmaker.mappings/-recaf-mappings-format/write-lazy.html +++ b/docs/mappings-util/com.grappenmaker.mappings/-recaf-mappings-format/write-lazy.html @@ -1,10 +1,9 @@ - + writeLazy - - + - - + + - - - - - - - + + + + + +
-
- +
+
-

writeLazy

+

writeLazy

-
open override fun writeLazy(mappings: RecafMappings): Sequence<String>(source)

Writes mappings compatible with this MappingsFormat to a lazily evaluated Sequence

+
open override fun writeLazy(mappings: RecafMappings): Sequence<String>(source)

Writes mappings compatible with this MappingsFormat to a lazily evaluated Sequence

+ diff --git a/docs/mappings-util/com.grappenmaker.mappings/-recaf-mappings/-recaf-mappings.html b/docs/mappings-util/com.grappenmaker.mappings/-recaf-mappings/-recaf-mappings.html index 23f45c1..b73d11e 100644 --- a/docs/mappings-util/com.grappenmaker.mappings/-recaf-mappings/-recaf-mappings.html +++ b/docs/mappings-util/com.grappenmaker.mappings/-recaf-mappings/-recaf-mappings.html @@ -1,10 +1,9 @@ - + RecafMappings - - + - - + + - - - - - - - + + + + + +
-
- +
+
-

RecafMappings

+

RecafMappings

-
constructor(classes: List<MappedClass>)(source)
+
constructor(classes: List<MappedClass>)(source)
+ diff --git a/docs/mappings-util/com.grappenmaker.mappings/-recaf-mappings/classes.html b/docs/mappings-util/com.grappenmaker.mappings/-recaf-mappings/classes.html index c44a0f8..3355b3c 100644 --- a/docs/mappings-util/com.grappenmaker.mappings/-recaf-mappings/classes.html +++ b/docs/mappings-util/com.grappenmaker.mappings/-recaf-mappings/classes.html @@ -1,10 +1,9 @@ - + classes - - + - - + + - - - - - - - + + + + + +
-
- +
+

classes

-
open override val classes: List<MappedClass>(source)
+
open override val classes: List<MappedClass>(source)
+ diff --git a/docs/mappings-util/com.grappenmaker.mappings/-recaf-mappings/index.html b/docs/mappings-util/com.grappenmaker.mappings/-recaf-mappings/index.html index 5f9fb5c..16d9802 100644 --- a/docs/mappings-util/com.grappenmaker.mappings/-recaf-mappings/index.html +++ b/docs/mappings-util/com.grappenmaker.mappings/-recaf-mappings/index.html @@ -1,10 +1,9 @@ - + RecafMappings - - + - - + + - - - - - - - + + + + + +
-
- +
+
-

RecafMappings

-
data class RecafMappings(val classes: List<MappedClass>) : Mappings(source)

Represents a Recaf Mappings file

+

RecafMappings

+
data class RecafMappings(val classes: List<MappedClass>) : Mappings(source)

Represents a Recaf Mappings file

Constructors

-
-
+
+
- - + +
Link copied to clipboard
-
constructor(classes: List<MappedClass>)
+
constructor(classes: List<MappedClass>)
@@ -91,32 +88,32 @@

Constructors

Properties

-
-
+
+
- +
Link copied to clipboard
-
open override val classes: List<MappedClass>

All mapped classes in this mappings file (in order, not important)

+
open override val classes: List<MappedClass>

All mapped classes in this mappings file (in order, not important)

- -
+ +
- +
Link copied to clipboard
-
open override val namespaces: List<String>

All namespaces (in order) that this mappings file supports/contains

+
open override val namespaces: List<String>

All namespaces (in order) that this mappings file supports/contains

@@ -125,407 +122,407 @@

Properties

Functions

-
-
+
+
- - + +
Link copied to clipboard
-
fun Mappings.asASMMapping(from: String, to: String, includeMethods: Boolean = true, includeFields: Boolean = true): Map<String, String>

Returns a simple mapping representing all of the Mappings, mapping between the namespaces from and to. If includeMethods is true, then methods will be included in the mapping. If includeFields is true, then fields will be included in the mapping.

+
fun Mappings.asASMMapping(from: String, to: String, includeMethods: Boolean = true, includeFields: Boolean = true): Map<String, String>

Returns a simple mapping representing all of the Mappings, mapping between the namespaces from and to. If includeMethods is true, then methods will be included in the mapping. If includeFields is true, then fields will be included in the mapping.

- -
+ +
- - + +
Link copied to clipboard
- -
+ +
- - + +
Link copied to clipboard
- -
+ + - -
+ + - -
+ + - -
+ +
- - + +
Link copied to clipboard
- -
+ +
- - + +
Link copied to clipboard
-

Returns an asm SimpleRemapper for remapping references between namespaces from and to disregarding inheritance and lambdas. For proper remapping, you should use the MappingsRemapper.

+

Returns an asm SimpleRemapper for remapping references between namespaces from and to disregarding inheritance and lambdas. For proper remapping, you should use the MappingsRemapper.

- -
+ +
- - + +
Link copied to clipboard
-

Converts these Mappings to SRGMappings, enabling XSRG when extended is true.

+

Converts these Mappings to SRGMappings, enabling XSRG when extended is true.

- -
+ +
- - + +
Link copied to clipboard
-

Converts these Mappings to TinyMappings, enabling Tiny v2 when v2 is true.

+

Converts these Mappings to TinyMappings, enabling Tiny v2 when v2 is true.

- -
+ +
- - + +
Link copied to clipboard
-

Converts these Mappings to TSRGMappings, enabling TSRG v2 when v2 is true.

+

Converts these Mappings to TSRGMappings, enabling TSRG v2 when v2 is true.

- -
+ +
- - + +
Link copied to clipboard
-

Removes all duplicate namespace usages in this Mappings.

+

Removes all duplicate namespace usages in this Mappings.

- -
+ +
- - + +
Link copied to clipboard
-

Transforms this Mappings structure to a generic mappings implementation that maps between from and to.

+

Transforms this Mappings structure to a generic mappings implementation that maps between from and to.

- -
+ +
- - + +
Link copied to clipboard
-
inline fun Mappings.filterClasses(predicate: (MappedClass) -> Boolean): Mappings

Filters classes matching the predicate

+
inline fun Mappings.filterClasses(predicate: (MappedClass) -> Boolean): Mappings

Filters classes matching the predicate

- -
+ +
- - + +
Link copied to clipboard
-
inline fun Mappings.filterMethods(predicate: (owner: MappedClass, method: MappedMethod) -> Boolean): Mappings

Filters methods matching the predicate

+
inline fun Mappings.filterMethods(predicate: (owner: MappedClass, method: MappedMethod) -> Boolean): Mappings

Filters methods matching the predicate

- -
+ +
- - + +
Link copied to clipboard
-
fun Mappings.filterNamespaces(vararg allowed: String, allowDuplicates: Boolean = false): Mappings
fun Mappings.filterNamespaces(allowed: Set<String>, allowDuplicates: Boolean = false): Mappings

Filters these Mappings to only contain namespaces that are in allowed. If allowDuplicates is true, the returned Mappings will also have duplicate namespaces removed.

inline fun Mappings.filterNamespaces(allowDuplicates: Boolean = false, predicate: (String) -> Boolean): Mappings

Filters these Mappings to only contain namespaces for which the predicate returns true. If allowDuplicates is true, the returned Mappings will also have duplicate namespaces removed.

+
fun Mappings.filterNamespaces(vararg allowed: String, allowDuplicates: Boolean = false): Mappings
fun Mappings.filterNamespaces(allowed: Set<String>, allowDuplicates: Boolean = false): Mappings

Filters these Mappings to only contain namespaces that are in allowed. If allowDuplicates is true, the returned Mappings will also have duplicate namespaces removed.

inline fun Mappings.filterNamespaces(allowDuplicates: Boolean = false, predicate: (String) -> Boolean): Mappings

Filters these Mappings to only contain namespaces for which the predicate returns true. If allowDuplicates is true, the returned Mappings will also have duplicate namespaces removed.

- -
+ +
- +
Link copied to clipboard
-
fun Mappings.join(otherMappings: Mappings, intermediateNamespace: String, requireMatch: Boolean = false): Mappings

Joins together this Mappings with otherMappings, by matching on intermediateNamespace, producing new Mappings that contain all entries from this Mappings and otherMappings. If requireMatch is true, this method will throw an exception when no method or field or class is found

+
fun Mappings.join(otherMappings: Mappings, intermediateNamespace: String, requireMatch: Boolean = false): Mappings

Joins together this Mappings with otherMappings, by matching on intermediateNamespace, producing new Mappings that contain all entries from this Mappings and otherMappings. If requireMatch is true, this method will throw an exception when no method or field or class is found

- -
+ +
- - + +
Link copied to clipboard
-

Maps classes according to the given block

+

Maps classes according to the given block

- -
+ +
- - + +
Link copied to clipboard
-
inline fun Mappings.mapMethods(block: (owner: MappedClass, method: MappedMethod) -> MappedMethod): Mappings

Maps methods according to the given block

+
inline fun Mappings.mapMethods(block: (owner: MappedClass, method: MappedMethod) -> MappedMethod): Mappings

Maps methods according to the given block

- -
+ +
- +
Link copied to clipboard
-

Returns the index of a namespace named name, but throws an IllegalStateException when name is not in the Mappings.namespaces.

+

Returns the index of a namespace named name, but throws an IllegalStateException when name is not in the Mappings.namespaces.

- -
+ +
- - + +
Link copied to clipboard
-

See recoverFieldDescriptors. file is a jar file resource (caller is responsible for closing it) that contains the classes that are referenced in the generic overload.

fun Mappings.recoverFieldDescriptors(bytesProvider: (name: String) -> ByteArray?): Mappings

Attempts to recover field descriptors that are missing because the original mappings format did not specify them. bytesProvider is responsible for providing all of the classes that might be referenced in this Mappings object, such that the descriptors can be recovered based on named (fields can be uniquely identified by an owner-name pair). When field descriptors were not found, field mappings will not be passed onto the new Mappings as field mappings without descriptors will be considered invalid.

@JvmName(name = "recoverDescsByNode")
fun Mappings.recoverFieldDescriptors(nodeProvider: (name: String) -> ClassNode?): Mappings

Attempts to recover field descriptors that are missing because the original mappings format did not specify them. nodeProvider is responsible for providing all of the ClassNodes that might be referenced in this Mappings object, such that the descriptors can be recovered based on named (fields can be uniquely identified by an owner-name pair). When field descriptors were not found, field mappings will not be passed onto the new Mappings as field mappings without descriptors will be considered invalid.

+

See recoverFieldDescriptors. file is a jar file resource (caller is responsible for closing it) that contains the classes that are referenced in the generic overload.

fun Mappings.recoverFieldDescriptors(bytesProvider: (name: String) -> ByteArray?): Mappings

Attempts to recover field descriptors that are missing because the original mappings format did not specify them. bytesProvider is responsible for providing all of the classes that might be referenced in this Mappings object, such that the descriptors can be recovered based on named (fields can be uniquely identified by an owner-name pair). When field descriptors were not found, field mappings will not be passed onto the new Mappings as field mappings without descriptors will be considered invalid.

@JvmName(name = "recoverDescsByNode")
fun Mappings.recoverFieldDescriptors(nodeProvider: (name: String) -> ClassNode?): Mappings

Attempts to recover field descriptors that are missing because the original mappings format did not specify them. nodeProvider is responsible for providing all of the ClassNodes that might be referenced in this Mappings object, such that the descriptors can be recovered based on named (fields can be uniquely identified by an owner-name pair). When field descriptors were not found, field mappings will not be passed onto the new Mappings as field mappings without descriptors will be considered invalid.

- -
+ +
- - + +
Link copied to clipboard
-

Returns new Mappings that are identical to these Mappings, except the comments will be removed

+

Returns new Mappings that are identical to these Mappings, except the comments will be removed

- -
+ +
- - + +
Link copied to clipboard
-
fun Mappings.removeRedundancy(inheritanceProvider: InheritanceProvider, removeDuplicateMethods: Boolean = false): Mappings

Removes redundant or straight up incorrect data from this Mappings object, by looking at the inheritance information present in class files, presented by the inheritanceProvider.

fun Mappings.removeRedundancy(file: JarFile, removeDuplicateMethods: Boolean = false): Mappings

See removeRedundancy. file is a jar file resource (caller is responsible for closing it) that contains the classes that are referenced in the generic overload. Calls with identical names are being cached by this function, the caller is not responsible for this.

fun Mappings.removeRedundancy(removeDuplicateMethods: Boolean = false, loader: ClasspathLoader): Mappings

Removes redundant or straight up incorrect data from this Mappings object, by looking at the inheritance information present in class files, presented by the loader.

+
fun Mappings.removeRedundancy(inheritanceProvider: InheritanceProvider, removeDuplicateMethods: Boolean = false): Mappings

Removes redundant or straight up incorrect data from this Mappings object, by looking at the inheritance information present in class files, presented by the inheritanceProvider.

fun Mappings.removeRedundancy(file: JarFile, removeDuplicateMethods: Boolean = false): Mappings

See removeRedundancy. file is a jar file resource (caller is responsible for closing it) that contains the classes that are referenced in the generic overload. Calls with identical names are being cached by this function, the caller is not responsible for this.

fun Mappings.removeRedundancy(removeDuplicateMethods: Boolean = false, loader: ClasspathLoader): Mappings

Removes redundant or straight up incorrect data from this Mappings object, by looking at the inheritance information present in class files, presented by the loader.

- -
+ +
- - + +
Link copied to clipboard
-

Swaps out the names for the namespaces in this Mappings data structure.

+

Swaps out the names for the namespaces in this Mappings data structure.

- -
+ +
- - + +
Link copied to clipboard
-

Swaps out the names for the namespaces in this Mappings data structure, by reordering. Duplicate names are allowed, in which case mapped entries are duplicated to fit the new order. If a name in Mappings.namespaces does not appear in order, its mapping entries will be missing in the returned Mappings.

Swaps out the names for the namespaces in this Mappings data structure, by reordering. Duplicate names are allowed, in which case mapped entries are duplicated to fit the new order. If a name in Mappings.namespaces does not appear in order, its mapping entries will be missing in the returned Mappings. If a namespace in order does not exist in this Mappings, an IllegalArgumentException will be thrown.

+

Swaps out the names for the namespaces in this Mappings data structure, by reordering. Duplicate names are allowed, in which case mapped entries are duplicated to fit the new order. If a name in Mappings.namespaces does not appear in order, its mapping entries will be missing in the returned Mappings.

Swaps out the names for the namespaces in this Mappings data structure, by reordering. Duplicate names are allowed, in which case mapped entries are duplicated to fit the new order. If a name in Mappings.namespaces does not appear in order, its mapping entries will be missing in the returned Mappings. If a namespace in order does not exist in this Mappings, an IllegalArgumentException will be thrown.

- -
+ +
- +
Link copied to clipboard
-

Writes RecafMappings to a mappings file represented by a list of strings

+

Writes RecafMappings to a mappings file represented by a list of strings

- -
+ +
- - + +
Link copied to clipboard
-

Writes RecafMappings as a lazily evaluated Sequence

+

Writes RecafMappings as a lazily evaluated Sequence

@@ -536,12 +533,11 @@

Functions

+ diff --git a/docs/mappings-util/com.grappenmaker.mappings/-recaf-mappings/namespaces.html b/docs/mappings-util/com.grappenmaker.mappings/-recaf-mappings/namespaces.html index e9e3aed..afabe43 100644 --- a/docs/mappings-util/com.grappenmaker.mappings/-recaf-mappings/namespaces.html +++ b/docs/mappings-util/com.grappenmaker.mappings/-recaf-mappings/namespaces.html @@ -1,10 +1,9 @@ - + namespaces - - + - - + + - - - - - - - + + + + + +
-
- +
+

namespaces

-
open override val namespaces: List<String>(source)
+
open override val namespaces: List<String>(source)
+ diff --git a/docs/mappings-util/com.grappenmaker.mappings/-s-r-g-mappings-format/index.html b/docs/mappings-util/com.grappenmaker.mappings/-s-r-g-mappings-format/index.html index ea01ddb..d2aa90a 100644 --- a/docs/mappings-util/com.grappenmaker.mappings/-s-r-g-mappings-format/index.html +++ b/docs/mappings-util/com.grappenmaker.mappings/-s-r-g-mappings-format/index.html @@ -1,10 +1,9 @@ - + SRGMappingsFormat - - + - - + + - - - - - - - + + + + + +
-
- +
+
-

SRGMappingsFormat

-

Represents the SRG mappings format

+

SRGMappingsFormat

+

Represents the SRG mappings format

Functions

-
-
+
+
- +
Link copied to clipboard
-
open override fun detect(lines: List<String>): Boolean

Returns whether this MappingsFormat thinks the lines represent a valid input for the mappings parser

+
open override fun detect(lines: List<String>): Boolean

Returns whether this MappingsFormat thinks the lines represent a valid input for the mappings parser

- -
+ +
- +
Link copied to clipboard
-
open override fun parse(lines: Iterator<String>): SRGMappings

Parses lines (an iterator of lines in a mappings file) into a mappings data structure. Throws an IllegalStateException when lines is not a valid input for this mappings format.

open override fun parse(lines: List<String>): SRGMappings

Parses lines (representing a mappings file) into a mappings data structure. Throws an IllegalStateException when lines is not a valid input for this mappings format. To check if lines can be parsed, you could invoke detect.

+
open override fun parse(lines: Iterator<String>): SRGMappings

Parses lines (an iterator of lines in a mappings file) into a mappings data structure. Throws an IllegalStateException when lines is not a valid input for this mappings format.

open override fun parse(lines: List<String>): SRGMappings

Parses lines (representing a mappings file) into a mappings data structure. Throws an IllegalStateException when lines is not a valid input for this mappings format. To check if lines can be parsed, you could invoke detect.

- -
+ +
- +
Link copied to clipboard
-

Parses lines (a Sequence of lines in a mappings file) into a mappings data structure. Throws an IllegalStateException when lines is not a valid input for this mappings format.

+

Parses lines (a Sequence of lines in a mappings file) into a mappings data structure. Throws an IllegalStateException when lines is not a valid input for this mappings format.

- -
+ +
- - + +
Link copied to clipboard
-
open override fun write(mappings: SRGMappings): List<String>

Writes mappings compatible with this MappingsFormat back to a list of lines representing a mappings file

+
open override fun write(mappings: SRGMappings): List<String>

Writes mappings compatible with this MappingsFormat back to a list of lines representing a mappings file

- -
+ +
- - + +
Link copied to clipboard
-
open override fun writeLazy(mappings: SRGMappings): Sequence<String>

Writes mappings compatible with this MappingsFormat to a lazily evaluated Sequence

+
open override fun writeLazy(mappings: SRGMappings): Sequence<String>

Writes mappings compatible with this MappingsFormat to a lazily evaluated Sequence

@@ -153,12 +150,11 @@

Functions

+ diff --git a/docs/mappings-util/com.grappenmaker.mappings/-s-r-g-mappings/-s-r-g-mappings.html b/docs/mappings-util/com.grappenmaker.mappings/-s-r-g-mappings/-s-r-g-mappings.html index a420ae8..64cf0a8 100644 --- a/docs/mappings-util/com.grappenmaker.mappings/-s-r-g-mappings/-s-r-g-mappings.html +++ b/docs/mappings-util/com.grappenmaker.mappings/-s-r-g-mappings/-s-r-g-mappings.html @@ -1,10 +1,9 @@ - + SRGMappings - - + - - + + - - - - - - - + + + + + +
-
- +
+

SRGMappings

-
constructor(classes: List<MappedClass>, isExtended: Boolean)(source)
+
constructor(classes: List<MappedClass>, isExtended: Boolean)(source)
+ diff --git a/docs/mappings-util/com.grappenmaker.mappings/-s-r-g-mappings/classes.html b/docs/mappings-util/com.grappenmaker.mappings/-s-r-g-mappings/classes.html index 0717881..44845a7 100644 --- a/docs/mappings-util/com.grappenmaker.mappings/-s-r-g-mappings/classes.html +++ b/docs/mappings-util/com.grappenmaker.mappings/-s-r-g-mappings/classes.html @@ -1,10 +1,9 @@ - + classes - - + - - + + - - - - - - - + + + + + +
-
- +
+

classes

-
open override val classes: List<MappedClass>(source)
+
open override val classes: List<MappedClass>(source)
+ diff --git a/docs/mappings-util/com.grappenmaker.mappings/-s-r-g-mappings/index.html b/docs/mappings-util/com.grappenmaker.mappings/-s-r-g-mappings/index.html index 2a33dec..2a552f2 100644 --- a/docs/mappings-util/com.grappenmaker.mappings/-s-r-g-mappings/index.html +++ b/docs/mappings-util/com.grappenmaker.mappings/-s-r-g-mappings/index.html @@ -1,10 +1,9 @@ - + SRGMappings - - + - - + + - - - - - - - + + + + + +
-
- +
+

SRGMappings

-
data class SRGMappings(val classes: List<MappedClass>, val isExtended: Boolean) : Mappings(source)

Represent any type of SRG mappings, whether this data structure represents XSRG or regular SRG is governed by isExtended.

+
data class SRGMappings(val classes: List<MappedClass>, val isExtended: Boolean) : Mappings(source)

Represent any type of SRG mappings, whether this data structure represents XSRG or regular SRG is governed by isExtended.

Constructors

-
-
+
+
- +
Link copied to clipboard
-
constructor(classes: List<MappedClass>, isExtended: Boolean)
+
constructor(classes: List<MappedClass>, isExtended: Boolean)
@@ -91,47 +88,47 @@

Constructors

Properties

-
-
+
+
- +
Link copied to clipboard
-
open override val classes: List<MappedClass>

All mapped classes in this mappings file (in order, not important)

+
open override val classes: List<MappedClass>

All mapped classes in this mappings file (in order, not important)

- -
+ +
- - + +
Link copied to clipboard
-

whether this is an extended SRG mappings file (XSRG)

+

whether this is an extended SRG mappings file (XSRG)

- -
+ +
- +
Link copied to clipboard
-
open override val namespaces: List<String>

All namespaces (in order) that this mappings file supports/contains

+
open override val namespaces: List<String>

All namespaces (in order) that this mappings file supports/contains

@@ -140,407 +137,407 @@

Properties

Functions

-
-
+
+
- - + +
Link copied to clipboard
-
fun Mappings.asASMMapping(from: String, to: String, includeMethods: Boolean = true, includeFields: Boolean = true): Map<String, String>

Returns a simple mapping representing all of the Mappings, mapping between the namespaces from and to. If includeMethods is true, then methods will be included in the mapping. If includeFields is true, then fields will be included in the mapping.

+
fun Mappings.asASMMapping(from: String, to: String, includeMethods: Boolean = true, includeFields: Boolean = true): Map<String, String>

Returns a simple mapping representing all of the Mappings, mapping between the namespaces from and to. If includeMethods is true, then methods will be included in the mapping. If includeFields is true, then fields will be included in the mapping.

- -
+ +
- - + +
Link copied to clipboard
- -
+ +
- - + +
Link copied to clipboard
- -
+ + - -
+ + - -
+ + - -
+ +
- - + +
Link copied to clipboard
- -
+ +
- - + +
Link copied to clipboard
-

Shorthand for converting SRGMappings to a SimpleRemapper.

Returns an asm SimpleRemapper for remapping references between namespaces from and to disregarding inheritance and lambdas. For proper remapping, you should use the MappingsRemapper.

+

Shorthand for converting SRGMappings to a SimpleRemapper.

Returns an asm SimpleRemapper for remapping references between namespaces from and to disregarding inheritance and lambdas. For proper remapping, you should use the MappingsRemapper.

- -
+ +
- - + +
Link copied to clipboard
-

Converts these Mappings to SRGMappings, enabling XSRG when extended is true.

+

Converts these Mappings to SRGMappings, enabling XSRG when extended is true.

- -
+ +
- - + +
Link copied to clipboard
-

Converts these Mappings to TinyMappings, enabling Tiny v2 when v2 is true.

+

Converts these Mappings to TinyMappings, enabling Tiny v2 when v2 is true.

- -
+ +
- - + +
Link copied to clipboard
-

Converts these Mappings to TSRGMappings, enabling TSRG v2 when v2 is true.

+

Converts these Mappings to TSRGMappings, enabling TSRG v2 when v2 is true.

- -
+ +
- - + +
Link copied to clipboard
-

Removes all duplicate namespace usages in this Mappings.

+

Removes all duplicate namespace usages in this Mappings.

- -
+ +
- - + +
Link copied to clipboard
-

Transforms this Mappings structure to a generic mappings implementation that maps between from and to.

+

Transforms this Mappings structure to a generic mappings implementation that maps between from and to.

- -
+ +
- - + +
Link copied to clipboard
-
inline fun Mappings.filterClasses(predicate: (MappedClass) -> Boolean): Mappings

Filters classes matching the predicate

+
inline fun Mappings.filterClasses(predicate: (MappedClass) -> Boolean): Mappings

Filters classes matching the predicate

- -
+ +
- - + +
Link copied to clipboard
-
inline fun Mappings.filterMethods(predicate: (owner: MappedClass, method: MappedMethod) -> Boolean): Mappings

Filters methods matching the predicate

+
inline fun Mappings.filterMethods(predicate: (owner: MappedClass, method: MappedMethod) -> Boolean): Mappings

Filters methods matching the predicate

- -
+ +
- - + +
Link copied to clipboard
-
fun Mappings.filterNamespaces(vararg allowed: String, allowDuplicates: Boolean = false): Mappings
fun Mappings.filterNamespaces(allowed: Set<String>, allowDuplicates: Boolean = false): Mappings

Filters these Mappings to only contain namespaces that are in allowed. If allowDuplicates is true, the returned Mappings will also have duplicate namespaces removed.

inline fun Mappings.filterNamespaces(allowDuplicates: Boolean = false, predicate: (String) -> Boolean): Mappings

Filters these Mappings to only contain namespaces for which the predicate returns true. If allowDuplicates is true, the returned Mappings will also have duplicate namespaces removed.

+
fun Mappings.filterNamespaces(vararg allowed: String, allowDuplicates: Boolean = false): Mappings
fun Mappings.filterNamespaces(allowed: Set<String>, allowDuplicates: Boolean = false): Mappings

Filters these Mappings to only contain namespaces that are in allowed. If allowDuplicates is true, the returned Mappings will also have duplicate namespaces removed.

inline fun Mappings.filterNamespaces(allowDuplicates: Boolean = false, predicate: (String) -> Boolean): Mappings

Filters these Mappings to only contain namespaces for which the predicate returns true. If allowDuplicates is true, the returned Mappings will also have duplicate namespaces removed.

- -
+ +
- +
Link copied to clipboard
-
fun Mappings.join(otherMappings: Mappings, intermediateNamespace: String, requireMatch: Boolean = false): Mappings

Joins together this Mappings with otherMappings, by matching on intermediateNamespace, producing new Mappings that contain all entries from this Mappings and otherMappings. If requireMatch is true, this method will throw an exception when no method or field or class is found

+
fun Mappings.join(otherMappings: Mappings, intermediateNamespace: String, requireMatch: Boolean = false): Mappings

Joins together this Mappings with otherMappings, by matching on intermediateNamespace, producing new Mappings that contain all entries from this Mappings and otherMappings. If requireMatch is true, this method will throw an exception when no method or field or class is found

- -
+ +
- - + +
Link copied to clipboard
-

Maps classes according to the given block

+

Maps classes according to the given block

- -
+ +
- - + +
Link copied to clipboard
-
inline fun Mappings.mapMethods(block: (owner: MappedClass, method: MappedMethod) -> MappedMethod): Mappings

Maps methods according to the given block

+
inline fun Mappings.mapMethods(block: (owner: MappedClass, method: MappedMethod) -> MappedMethod): Mappings

Maps methods according to the given block

- -
+ +
- +
Link copied to clipboard
-

Returns the index of a namespace named name, but throws an IllegalStateException when name is not in the Mappings.namespaces.

+

Returns the index of a namespace named name, but throws an IllegalStateException when name is not in the Mappings.namespaces.

- -
+ +
- - + +
Link copied to clipboard
-

See recoverFieldDescriptors. file is a jar file resource (caller is responsible for closing it) that contains the classes that are referenced in the generic overload.

fun Mappings.recoverFieldDescriptors(bytesProvider: (name: String) -> ByteArray?): Mappings

Attempts to recover field descriptors that are missing because the original mappings format did not specify them. bytesProvider is responsible for providing all of the classes that might be referenced in this Mappings object, such that the descriptors can be recovered based on named (fields can be uniquely identified by an owner-name pair). When field descriptors were not found, field mappings will not be passed onto the new Mappings as field mappings without descriptors will be considered invalid.

@JvmName(name = "recoverDescsByNode")
fun Mappings.recoverFieldDescriptors(nodeProvider: (name: String) -> ClassNode?): Mappings

Attempts to recover field descriptors that are missing because the original mappings format did not specify them. nodeProvider is responsible for providing all of the ClassNodes that might be referenced in this Mappings object, such that the descriptors can be recovered based on named (fields can be uniquely identified by an owner-name pair). When field descriptors were not found, field mappings will not be passed onto the new Mappings as field mappings without descriptors will be considered invalid.

+

See recoverFieldDescriptors. file is a jar file resource (caller is responsible for closing it) that contains the classes that are referenced in the generic overload.

fun Mappings.recoverFieldDescriptors(bytesProvider: (name: String) -> ByteArray?): Mappings

Attempts to recover field descriptors that are missing because the original mappings format did not specify them. bytesProvider is responsible for providing all of the classes that might be referenced in this Mappings object, such that the descriptors can be recovered based on named (fields can be uniquely identified by an owner-name pair). When field descriptors were not found, field mappings will not be passed onto the new Mappings as field mappings without descriptors will be considered invalid.

@JvmName(name = "recoverDescsByNode")
fun Mappings.recoverFieldDescriptors(nodeProvider: (name: String) -> ClassNode?): Mappings

Attempts to recover field descriptors that are missing because the original mappings format did not specify them. nodeProvider is responsible for providing all of the ClassNodes that might be referenced in this Mappings object, such that the descriptors can be recovered based on named (fields can be uniquely identified by an owner-name pair). When field descriptors were not found, field mappings will not be passed onto the new Mappings as field mappings without descriptors will be considered invalid.

- -
+ +
- - + +
Link copied to clipboard
-

Returns new Mappings that are identical to these Mappings, except the comments will be removed

+

Returns new Mappings that are identical to these Mappings, except the comments will be removed

- -
+ +
- - + +
Link copied to clipboard
-
fun Mappings.removeRedundancy(inheritanceProvider: InheritanceProvider, removeDuplicateMethods: Boolean = false): Mappings

Removes redundant or straight up incorrect data from this Mappings object, by looking at the inheritance information present in class files, presented by the inheritanceProvider.

fun Mappings.removeRedundancy(file: JarFile, removeDuplicateMethods: Boolean = false): Mappings

See removeRedundancy. file is a jar file resource (caller is responsible for closing it) that contains the classes that are referenced in the generic overload. Calls with identical names are being cached by this function, the caller is not responsible for this.

fun Mappings.removeRedundancy(removeDuplicateMethods: Boolean = false, loader: ClasspathLoader): Mappings

Removes redundant or straight up incorrect data from this Mappings object, by looking at the inheritance information present in class files, presented by the loader.

+
fun Mappings.removeRedundancy(inheritanceProvider: InheritanceProvider, removeDuplicateMethods: Boolean = false): Mappings

Removes redundant or straight up incorrect data from this Mappings object, by looking at the inheritance information present in class files, presented by the inheritanceProvider.

fun Mappings.removeRedundancy(file: JarFile, removeDuplicateMethods: Boolean = false): Mappings

See removeRedundancy. file is a jar file resource (caller is responsible for closing it) that contains the classes that are referenced in the generic overload. Calls with identical names are being cached by this function, the caller is not responsible for this.

fun Mappings.removeRedundancy(removeDuplicateMethods: Boolean = false, loader: ClasspathLoader): Mappings

Removes redundant or straight up incorrect data from this Mappings object, by looking at the inheritance information present in class files, presented by the loader.

- -
+ +
- - + +
Link copied to clipboard
-

Swaps out the names for the namespaces in this Mappings data structure.

+

Swaps out the names for the namespaces in this Mappings data structure.

- -
+ +
- - + +
Link copied to clipboard
-

Swaps out the names for the namespaces in this Mappings data structure, by reordering. Duplicate names are allowed, in which case mapped entries are duplicated to fit the new order. If a name in Mappings.namespaces does not appear in order, its mapping entries will be missing in the returned Mappings.

Swaps out the names for the namespaces in this Mappings data structure, by reordering. Duplicate names are allowed, in which case mapped entries are duplicated to fit the new order. If a name in Mappings.namespaces does not appear in order, its mapping entries will be missing in the returned Mappings. If a namespace in order does not exist in this Mappings, an IllegalArgumentException will be thrown.

+

Swaps out the names for the namespaces in this Mappings data structure, by reordering. Duplicate names are allowed, in which case mapped entries are duplicated to fit the new order. If a name in Mappings.namespaces does not appear in order, its mapping entries will be missing in the returned Mappings.

Swaps out the names for the namespaces in this Mappings data structure, by reordering. Duplicate names are allowed, in which case mapped entries are duplicated to fit the new order. If a name in Mappings.namespaces does not appear in order, its mapping entries will be missing in the returned Mappings. If a namespace in order does not exist in this Mappings, an IllegalArgumentException will be thrown.

- -
+ +
- +
Link copied to clipboard
-

Writes SRGMappings to a mappings file represented by a list of strings

+

Writes SRGMappings to a mappings file represented by a list of strings

- -
+ +
- - + +
Link copied to clipboard
-

Writes SRGMappings as a lazily evaluated Sequence

+

Writes SRGMappings as a lazily evaluated Sequence

@@ -551,12 +548,11 @@

Functions

+ diff --git a/docs/mappings-util/com.grappenmaker.mappings/-s-r-g-mappings/is-extended.html b/docs/mappings-util/com.grappenmaker.mappings/-s-r-g-mappings/is-extended.html index 0f8ab44..bcac575 100644 --- a/docs/mappings-util/com.grappenmaker.mappings/-s-r-g-mappings/is-extended.html +++ b/docs/mappings-util/com.grappenmaker.mappings/-s-r-g-mappings/is-extended.html @@ -1,10 +1,9 @@ - + isExtended - - + - - + + - - - - - - - + + + + + +
-
- +
+
-

isExtended

+

isExtended

- +
+ diff --git a/docs/mappings-util/com.grappenmaker.mappings/-s-r-g-mappings/namespaces.html b/docs/mappings-util/com.grappenmaker.mappings/-s-r-g-mappings/namespaces.html index a3e0ac5..ca0f674 100644 --- a/docs/mappings-util/com.grappenmaker.mappings/-s-r-g-mappings/namespaces.html +++ b/docs/mappings-util/com.grappenmaker.mappings/-s-r-g-mappings/namespaces.html @@ -1,10 +1,9 @@ - + namespaces - - + - - + + - - - - - - - + + + + + +
-
- +
+

namespaces

-
open override val namespaces: List<String>(source)
+
open override val namespaces: List<String>(source)
+ diff --git a/docs/mappings-util/com.grappenmaker.mappings/-t-s-r-g-mappings/-t-s-r-g-mappings.html b/docs/mappings-util/com.grappenmaker.mappings/-t-s-r-g-mappings/-t-s-r-g-mappings.html index 2f47bb2..392cee9 100644 --- a/docs/mappings-util/com.grappenmaker.mappings/-t-s-r-g-mappings/-t-s-r-g-mappings.html +++ b/docs/mappings-util/com.grappenmaker.mappings/-t-s-r-g-mappings/-t-s-r-g-mappings.html @@ -1,10 +1,9 @@ - + TSRGMappings - - + - - + + - - - - - - - + + + + + +
-
- +
+

TSRGMappings

-
constructor(namespaces: List<String>, classes: List<MappedClass>, isV2: Boolean)(source)
+
constructor(namespaces: List<String>, classes: List<MappedClass>, isV2: Boolean)(source)
+ diff --git a/docs/mappings-util/com.grappenmaker.mappings/-t-s-r-g-mappings/classes.html b/docs/mappings-util/com.grappenmaker.mappings/-t-s-r-g-mappings/classes.html index 7890f71..dbb853f 100644 --- a/docs/mappings-util/com.grappenmaker.mappings/-t-s-r-g-mappings/classes.html +++ b/docs/mappings-util/com.grappenmaker.mappings/-t-s-r-g-mappings/classes.html @@ -1,10 +1,9 @@ - + classes - - + - - + + - - - - - - - + + + + + +
-
- +
+

classes

-
open override val classes: List<MappedClass>(source)
+
open override val classes: List<MappedClass>(source)
+ diff --git a/docs/mappings-util/com.grappenmaker.mappings/-t-s-r-g-mappings/index.html b/docs/mappings-util/com.grappenmaker.mappings/-t-s-r-g-mappings/index.html index f2f10ff..f4d822b 100644 --- a/docs/mappings-util/com.grappenmaker.mappings/-t-s-r-g-mappings/index.html +++ b/docs/mappings-util/com.grappenmaker.mappings/-t-s-r-g-mappings/index.html @@ -1,10 +1,9 @@ - + TSRGMappings - - + - - + + - - - - - - - + + + + + +
-
- +
+

TSRGMappings

-
data class TSRGMappings(val namespaces: List<String>, val classes: List<MappedClass>, val isV2: Boolean) : Mappings(source)

Represents either a TSRG v1 or a TSRG v2 mappings file, which does not have a definition anywhere. The serialization method of these mappings is governed by isV2

+
data class TSRGMappings(val namespaces: List<String>, val classes: List<MappedClass>, val isV2: Boolean) : Mappings(source)

Represents either a TSRG v1 or a TSRG v2 mappings file, which does not have a definition anywhere. The serialization method of these mappings is governed by isV2

Constructors

-
-
+
+
- +
Link copied to clipboard
-
constructor(namespaces: List<String>, classes: List<MappedClass>, isV2: Boolean)
+
constructor(namespaces: List<String>, classes: List<MappedClass>, isV2: Boolean)
@@ -91,47 +88,47 @@

Constructors

Properties

-
-
+
+
- +
Link copied to clipboard
-
open override val classes: List<MappedClass>

All mapped classes in this mappings file (in order, not important)

+
open override val classes: List<MappedClass>

All mapped classes in this mappings file (in order, not important)

- -
+ +
- - + +
Link copied to clipboard
-

whether this mappings file is TSRG version 2

+

whether this mappings file is TSRG version 2

- -
+ +
- +
Link copied to clipboard
-
open override val namespaces: List<String>

All namespaces (in order) that this mappings file supports/contains

+
open override val namespaces: List<String>

All namespaces (in order) that this mappings file supports/contains

@@ -140,407 +137,407 @@

Properties

Functions

-
-
+
+
- - + +
Link copied to clipboard
-
fun Mappings.asASMMapping(from: String, to: String, includeMethods: Boolean = true, includeFields: Boolean = true): Map<String, String>

Returns a simple mapping representing all of the Mappings, mapping between the namespaces from and to. If includeMethods is true, then methods will be included in the mapping. If includeFields is true, then fields will be included in the mapping.

+
fun Mappings.asASMMapping(from: String, to: String, includeMethods: Boolean = true, includeFields: Boolean = true): Map<String, String>

Returns a simple mapping representing all of the Mappings, mapping between the namespaces from and to. If includeMethods is true, then methods will be included in the mapping. If includeFields is true, then fields will be included in the mapping.

- -
+ +
- - + +
Link copied to clipboard
- -
+ +
- - + +
Link copied to clipboard
- -
+ + - -
+ + - -
+ + - -
+ +
- - + +
Link copied to clipboard
- -
+ +
- - + +
Link copied to clipboard
-

Returns an asm SimpleRemapper for remapping references between namespaces from and to disregarding inheritance and lambdas. For proper remapping, you should use the MappingsRemapper.

+

Returns an asm SimpleRemapper for remapping references between namespaces from and to disregarding inheritance and lambdas. For proper remapping, you should use the MappingsRemapper.

- -
+ +
- - + +
Link copied to clipboard
-

Converts these Mappings to SRGMappings, enabling XSRG when extended is true.

+

Converts these Mappings to SRGMappings, enabling XSRG when extended is true.

- -
+ +
- - + +
Link copied to clipboard
-

Converts these Mappings to TinyMappings, enabling Tiny v2 when v2 is true.

+

Converts these Mappings to TinyMappings, enabling Tiny v2 when v2 is true.

- -
+ +
- - + +
Link copied to clipboard
-

Converts these Mappings to TSRGMappings, enabling TSRG v2 when v2 is true.

+

Converts these Mappings to TSRGMappings, enabling TSRG v2 when v2 is true.

- -
+ +
- - + +
Link copied to clipboard
-

Removes all duplicate namespace usages in this Mappings.

+

Removes all duplicate namespace usages in this Mappings.

- -
+ +
- - + +
Link copied to clipboard
-

Transforms this Mappings structure to a generic mappings implementation that maps between from and to.

+

Transforms this Mappings structure to a generic mappings implementation that maps between from and to.

- -
+ +
- - + +
Link copied to clipboard
-
inline fun Mappings.filterClasses(predicate: (MappedClass) -> Boolean): Mappings

Filters classes matching the predicate

+
inline fun Mappings.filterClasses(predicate: (MappedClass) -> Boolean): Mappings

Filters classes matching the predicate

- -
+ +
- - + +
Link copied to clipboard
-
inline fun Mappings.filterMethods(predicate: (owner: MappedClass, method: MappedMethod) -> Boolean): Mappings

Filters methods matching the predicate

+
inline fun Mappings.filterMethods(predicate: (owner: MappedClass, method: MappedMethod) -> Boolean): Mappings

Filters methods matching the predicate

- -
+ +
- - + +
Link copied to clipboard
-
fun Mappings.filterNamespaces(vararg allowed: String, allowDuplicates: Boolean = false): Mappings
fun Mappings.filterNamespaces(allowed: Set<String>, allowDuplicates: Boolean = false): Mappings

Filters these Mappings to only contain namespaces that are in allowed. If allowDuplicates is true, the returned Mappings will also have duplicate namespaces removed.

inline fun Mappings.filterNamespaces(allowDuplicates: Boolean = false, predicate: (String) -> Boolean): Mappings

Filters these Mappings to only contain namespaces for which the predicate returns true. If allowDuplicates is true, the returned Mappings will also have duplicate namespaces removed.

+
fun Mappings.filterNamespaces(vararg allowed: String, allowDuplicates: Boolean = false): Mappings
fun Mappings.filterNamespaces(allowed: Set<String>, allowDuplicates: Boolean = false): Mappings

Filters these Mappings to only contain namespaces that are in allowed. If allowDuplicates is true, the returned Mappings will also have duplicate namespaces removed.

inline fun Mappings.filterNamespaces(allowDuplicates: Boolean = false, predicate: (String) -> Boolean): Mappings

Filters these Mappings to only contain namespaces for which the predicate returns true. If allowDuplicates is true, the returned Mappings will also have duplicate namespaces removed.

- -
+ +
- +
Link copied to clipboard
-
fun Mappings.join(otherMappings: Mappings, intermediateNamespace: String, requireMatch: Boolean = false): Mappings

Joins together this Mappings with otherMappings, by matching on intermediateNamespace, producing new Mappings that contain all entries from this Mappings and otherMappings. If requireMatch is true, this method will throw an exception when no method or field or class is found

+
fun Mappings.join(otherMappings: Mappings, intermediateNamespace: String, requireMatch: Boolean = false): Mappings

Joins together this Mappings with otherMappings, by matching on intermediateNamespace, producing new Mappings that contain all entries from this Mappings and otherMappings. If requireMatch is true, this method will throw an exception when no method or field or class is found

- -
+ +
- - + +
Link copied to clipboard
-

Maps classes according to the given block

+

Maps classes according to the given block

- -
+ +
- - + +
Link copied to clipboard
-
inline fun Mappings.mapMethods(block: (owner: MappedClass, method: MappedMethod) -> MappedMethod): Mappings

Maps methods according to the given block

+
inline fun Mappings.mapMethods(block: (owner: MappedClass, method: MappedMethod) -> MappedMethod): Mappings

Maps methods according to the given block

- -
+ +
- +
Link copied to clipboard
-

Returns the index of a namespace named name, but throws an IllegalStateException when name is not in the Mappings.namespaces.

+

Returns the index of a namespace named name, but throws an IllegalStateException when name is not in the Mappings.namespaces.

- -
+ +
- - + +
Link copied to clipboard
-

See recoverFieldDescriptors. file is a jar file resource (caller is responsible for closing it) that contains the classes that are referenced in the generic overload.

fun Mappings.recoverFieldDescriptors(bytesProvider: (name: String) -> ByteArray?): Mappings

Attempts to recover field descriptors that are missing because the original mappings format did not specify them. bytesProvider is responsible for providing all of the classes that might be referenced in this Mappings object, such that the descriptors can be recovered based on named (fields can be uniquely identified by an owner-name pair). When field descriptors were not found, field mappings will not be passed onto the new Mappings as field mappings without descriptors will be considered invalid.

@JvmName(name = "recoverDescsByNode")
fun Mappings.recoverFieldDescriptors(nodeProvider: (name: String) -> ClassNode?): Mappings

Attempts to recover field descriptors that are missing because the original mappings format did not specify them. nodeProvider is responsible for providing all of the ClassNodes that might be referenced in this Mappings object, such that the descriptors can be recovered based on named (fields can be uniquely identified by an owner-name pair). When field descriptors were not found, field mappings will not be passed onto the new Mappings as field mappings without descriptors will be considered invalid.

+

See recoverFieldDescriptors. file is a jar file resource (caller is responsible for closing it) that contains the classes that are referenced in the generic overload.

fun Mappings.recoverFieldDescriptors(bytesProvider: (name: String) -> ByteArray?): Mappings

Attempts to recover field descriptors that are missing because the original mappings format did not specify them. bytesProvider is responsible for providing all of the classes that might be referenced in this Mappings object, such that the descriptors can be recovered based on named (fields can be uniquely identified by an owner-name pair). When field descriptors were not found, field mappings will not be passed onto the new Mappings as field mappings without descriptors will be considered invalid.

@JvmName(name = "recoverDescsByNode")
fun Mappings.recoverFieldDescriptors(nodeProvider: (name: String) -> ClassNode?): Mappings

Attempts to recover field descriptors that are missing because the original mappings format did not specify them. nodeProvider is responsible for providing all of the ClassNodes that might be referenced in this Mappings object, such that the descriptors can be recovered based on named (fields can be uniquely identified by an owner-name pair). When field descriptors were not found, field mappings will not be passed onto the new Mappings as field mappings without descriptors will be considered invalid.

- -
+ +
- - + +
Link copied to clipboard
-

Returns new Mappings that are identical to these Mappings, except the comments will be removed

+

Returns new Mappings that are identical to these Mappings, except the comments will be removed

- -
+ +
- - + +
Link copied to clipboard
-
fun Mappings.removeRedundancy(inheritanceProvider: InheritanceProvider, removeDuplicateMethods: Boolean = false): Mappings

Removes redundant or straight up incorrect data from this Mappings object, by looking at the inheritance information present in class files, presented by the inheritanceProvider.

fun Mappings.removeRedundancy(file: JarFile, removeDuplicateMethods: Boolean = false): Mappings

See removeRedundancy. file is a jar file resource (caller is responsible for closing it) that contains the classes that are referenced in the generic overload. Calls with identical names are being cached by this function, the caller is not responsible for this.

fun Mappings.removeRedundancy(removeDuplicateMethods: Boolean = false, loader: ClasspathLoader): Mappings

Removes redundant or straight up incorrect data from this Mappings object, by looking at the inheritance information present in class files, presented by the loader.

+
fun Mappings.removeRedundancy(inheritanceProvider: InheritanceProvider, removeDuplicateMethods: Boolean = false): Mappings

Removes redundant or straight up incorrect data from this Mappings object, by looking at the inheritance information present in class files, presented by the inheritanceProvider.

fun Mappings.removeRedundancy(file: JarFile, removeDuplicateMethods: Boolean = false): Mappings

See removeRedundancy. file is a jar file resource (caller is responsible for closing it) that contains the classes that are referenced in the generic overload. Calls with identical names are being cached by this function, the caller is not responsible for this.

fun Mappings.removeRedundancy(removeDuplicateMethods: Boolean = false, loader: ClasspathLoader): Mappings

Removes redundant or straight up incorrect data from this Mappings object, by looking at the inheritance information present in class files, presented by the loader.

- -
+ +
- - + +
Link copied to clipboard
-

Swaps out the names for the namespaces in this Mappings data structure.

+

Swaps out the names for the namespaces in this Mappings data structure.

- -
+ +
- - + +
Link copied to clipboard
-

Swaps out the names for the namespaces in this Mappings data structure, by reordering. Duplicate names are allowed, in which case mapped entries are duplicated to fit the new order. If a name in Mappings.namespaces does not appear in order, its mapping entries will be missing in the returned Mappings.

Swaps out the names for the namespaces in this Mappings data structure, by reordering. Duplicate names are allowed, in which case mapped entries are duplicated to fit the new order. If a name in Mappings.namespaces does not appear in order, its mapping entries will be missing in the returned Mappings. If a namespace in order does not exist in this Mappings, an IllegalArgumentException will be thrown.

+

Swaps out the names for the namespaces in this Mappings data structure, by reordering. Duplicate names are allowed, in which case mapped entries are duplicated to fit the new order. If a name in Mappings.namespaces does not appear in order, its mapping entries will be missing in the returned Mappings.

Swaps out the names for the namespaces in this Mappings data structure, by reordering. Duplicate names are allowed, in which case mapped entries are duplicated to fit the new order. If a name in Mappings.namespaces does not appear in order, its mapping entries will be missing in the returned Mappings. If a namespace in order does not exist in this Mappings, an IllegalArgumentException will be thrown.

- -
+ +
- +
Link copied to clipboard
-

Writes TSRGMappings to a mappings file represented by a list of strings

+

Writes TSRGMappings to a mappings file represented by a list of strings

- -
+ +
- - + +
Link copied to clipboard
-

Writes TSRGMappings as a lazily evaluated Sequence

+

Writes TSRGMappings as a lazily evaluated Sequence

@@ -551,12 +548,11 @@

Functions

+ diff --git a/docs/mappings-util/com.grappenmaker.mappings/-t-s-r-g-mappings/is-v2.html b/docs/mappings-util/com.grappenmaker.mappings/-t-s-r-g-mappings/is-v2.html index 2d2ea58..016557b 100644 --- a/docs/mappings-util/com.grappenmaker.mappings/-t-s-r-g-mappings/is-v2.html +++ b/docs/mappings-util/com.grappenmaker.mappings/-t-s-r-g-mappings/is-v2.html @@ -1,10 +1,9 @@ - + isV2 - - + - - + + - - - - - - - + + + + + +
-
- +
+
-

isV2

+

isV2

- +
+ diff --git a/docs/mappings-util/com.grappenmaker.mappings/-t-s-r-g-mappings/namespaces.html b/docs/mappings-util/com.grappenmaker.mappings/-t-s-r-g-mappings/namespaces.html index 877af5f..adb9631 100644 --- a/docs/mappings-util/com.grappenmaker.mappings/-t-s-r-g-mappings/namespaces.html +++ b/docs/mappings-util/com.grappenmaker.mappings/-t-s-r-g-mappings/namespaces.html @@ -1,10 +1,9 @@ - + namespaces - - + - - + + - - - - - - - + + + + + +
-
- +
+

namespaces

-
open override val namespaces: List<String>(source)
+
open override val namespaces: List<String>(source)
+ diff --git a/docs/mappings-util/com.grappenmaker.mappings/-t-s-r-g-v1-mappings-format/index.html b/docs/mappings-util/com.grappenmaker.mappings/-t-s-r-g-v1-mappings-format/index.html index 46c1bac..8e30363 100644 --- a/docs/mappings-util/com.grappenmaker.mappings/-t-s-r-g-v1-mappings-format/index.html +++ b/docs/mappings-util/com.grappenmaker.mappings/-t-s-r-g-v1-mappings-format/index.html @@ -1,10 +1,9 @@ - + TSRGV1MappingsFormat - - + - - + + - - - - - - - + + + + + +
-
- +
+
-

TSRGV1MappingsFormat

-

Represents the TSRG v1 mappings format

+

TSRGV1MappingsFormat

+

Represents the TSRG v1 mappings format

Functions

-
-
+
+
- +
Link copied to clipboard
-
open override fun detect(lines: List<String>): Boolean

Returns whether this MappingsFormat thinks the lines represent a valid input for the mappings parser

+
open override fun detect(lines: List<String>): Boolean

Returns whether this MappingsFormat thinks the lines represent a valid input for the mappings parser

- -
+ +
- +
Link copied to clipboard
-
open override fun parse(lines: Iterator<String>): TSRGMappings

Parses lines (an iterator of lines in a mappings file) into a mappings data structure. Throws an IllegalStateException when lines is not a valid input for this mappings format.

open override fun parse(lines: List<String>): TSRGMappings

Parses lines (representing a mappings file) into a mappings data structure. Throws an IllegalStateException when lines is not a valid input for this mappings format. To check if lines can be parsed, you could invoke detect.

+
open override fun parse(lines: Iterator<String>): TSRGMappings

Parses lines (an iterator of lines in a mappings file) into a mappings data structure. Throws an IllegalStateException when lines is not a valid input for this mappings format.

open override fun parse(lines: List<String>): TSRGMappings

Parses lines (representing a mappings file) into a mappings data structure. Throws an IllegalStateException when lines is not a valid input for this mappings format. To check if lines can be parsed, you could invoke detect.

- -
+ +
- +
Link copied to clipboard
-

Parses lines (a Sequence of lines in a mappings file) into a mappings data structure. Throws an IllegalStateException when lines is not a valid input for this mappings format.

+

Parses lines (a Sequence of lines in a mappings file) into a mappings data structure. Throws an IllegalStateException when lines is not a valid input for this mappings format.

- -
+ +
- - + +
Link copied to clipboard
-
open override fun write(mappings: TSRGMappings): List<String>

Writes mappings compatible with this MappingsFormat back to a list of lines representing a mappings file

+
open override fun write(mappings: TSRGMappings): List<String>

Writes mappings compatible with this MappingsFormat back to a list of lines representing a mappings file

- -
+ +
- - + +
Link copied to clipboard
-
open override fun writeLazy(mappings: TSRGMappings): Sequence<String>

Writes mappings compatible with this MappingsFormat to a lazily evaluated Sequence

+
open override fun writeLazy(mappings: TSRGMappings): Sequence<String>

Writes mappings compatible with this MappingsFormat to a lazily evaluated Sequence

@@ -153,12 +150,11 @@

Functions

+ diff --git a/docs/mappings-util/com.grappenmaker.mappings/-t-s-r-g-v2-mappings-format/index.html b/docs/mappings-util/com.grappenmaker.mappings/-t-s-r-g-v2-mappings-format/index.html index dc5759c..cb2962c 100644 --- a/docs/mappings-util/com.grappenmaker.mappings/-t-s-r-g-v2-mappings-format/index.html +++ b/docs/mappings-util/com.grappenmaker.mappings/-t-s-r-g-v2-mappings-format/index.html @@ -1,10 +1,9 @@ - + TSRGV2MappingsFormat - - + - - + + - - - - - - - + + + + + +
-
- +
+
-

TSRGV2MappingsFormat

-

Represents the TSRG v2 mappings format

+

TSRGV2MappingsFormat

+

Represents the TSRG v2 mappings format

Functions

-
-
+
+
- +
Link copied to clipboard
-
open override fun detect(lines: List<String>): Boolean

Returns whether this MappingsFormat thinks the lines represent a valid input for the mappings parser

+
open override fun detect(lines: List<String>): Boolean

Returns whether this MappingsFormat thinks the lines represent a valid input for the mappings parser

- -
+ +
- +
Link copied to clipboard
-
open override fun parse(lines: Iterator<String>): TSRGMappings

Parses lines (an iterator of lines in a mappings file) into a mappings data structure. Throws an IllegalStateException when lines is not a valid input for this mappings format.

open override fun parse(lines: List<String>): TSRGMappings

Parses lines (representing a mappings file) into a mappings data structure. Throws an IllegalStateException when lines is not a valid input for this mappings format. To check if lines can be parsed, you could invoke detect.

+
open override fun parse(lines: Iterator<String>): TSRGMappings

Parses lines (an iterator of lines in a mappings file) into a mappings data structure. Throws an IllegalStateException when lines is not a valid input for this mappings format.

open override fun parse(lines: List<String>): TSRGMappings

Parses lines (representing a mappings file) into a mappings data structure. Throws an IllegalStateException when lines is not a valid input for this mappings format. To check if lines can be parsed, you could invoke detect.

- -
+ +
- +
Link copied to clipboard
-

Parses lines (a Sequence of lines in a mappings file) into a mappings data structure. Throws an IllegalStateException when lines is not a valid input for this mappings format.

+

Parses lines (a Sequence of lines in a mappings file) into a mappings data structure. Throws an IllegalStateException when lines is not a valid input for this mappings format.

- -
+ +
- - + +
Link copied to clipboard
-
open override fun write(mappings: TSRGMappings): List<String>

Writes mappings compatible with this MappingsFormat back to a list of lines representing a mappings file

+
open override fun write(mappings: TSRGMappings): List<String>

Writes mappings compatible with this MappingsFormat back to a list of lines representing a mappings file

- -
+ +
- - + +
Link copied to clipboard
-
open override fun writeLazy(mappings: TSRGMappings): Sequence<String>

Writes mappings compatible with this MappingsFormat to a lazily evaluated Sequence

+
open override fun writeLazy(mappings: TSRGMappings): Sequence<String>

Writes mappings compatible with this MappingsFormat to a lazily evaluated Sequence

@@ -153,12 +150,11 @@

Functions

+ diff --git a/docs/mappings-util/com.grappenmaker.mappings/-tiny-mappings-v1-format/detect.html b/docs/mappings-util/com.grappenmaker.mappings/-tiny-mappings-v1-format/detect.html index 71f6ac0..5ddc606 100644 --- a/docs/mappings-util/com.grappenmaker.mappings/-tiny-mappings-v1-format/detect.html +++ b/docs/mappings-util/com.grappenmaker.mappings/-tiny-mappings-v1-format/detect.html @@ -1,10 +1,9 @@ - + detect - - + - - + + - - - - - - - + + + + + +
-
- +
+

detect

-
open override fun detect(lines: List<String>): Boolean(source)

Returns whether this MappingsFormat thinks the lines represent a valid input for the mappings parser

+
open override fun detect(lines: List<String>): Boolean(source)

Returns whether this MappingsFormat thinks the lines represent a valid input for the mappings parser

+ diff --git a/docs/mappings-util/com.grappenmaker.mappings/-tiny-mappings-v1-format/index.html b/docs/mappings-util/com.grappenmaker.mappings/-tiny-mappings-v1-format/index.html index 438ed77..ca87395 100644 --- a/docs/mappings-util/com.grappenmaker.mappings/-tiny-mappings-v1-format/index.html +++ b/docs/mappings-util/com.grappenmaker.mappings/-tiny-mappings-v1-format/index.html @@ -1,10 +1,9 @@ - + TinyMappingsV1Format - - + - - + + - - - - - - - + + + + + +
-
- +
+
-

TinyMappingsV1Format

-

Represents the Tiny v1 mappings format

+

TinyMappingsV1Format

+

Represents the Tiny v1 mappings format

Functions

-
-
+
+
- +
Link copied to clipboard
-
open override fun detect(lines: List<String>): Boolean

Returns whether this MappingsFormat thinks the lines represent a valid input for the mappings parser

+
open override fun detect(lines: List<String>): Boolean

Returns whether this MappingsFormat thinks the lines represent a valid input for the mappings parser

- -
+ +
- +
Link copied to clipboard
-
open fun parse(lines: List<String>): TinyMappings

Parses lines (representing a mappings file) into a mappings data structure. Throws an IllegalStateException when lines is not a valid input for this mappings format. To check if lines can be parsed, you could invoke detect.

open override fun parse(lines: Iterator<String>): TinyMappings

Parses lines (an iterator of lines in a mappings file) into a mappings data structure. Throws an IllegalStateException when lines is not a valid input for this mappings format.

+
open fun parse(lines: List<String>): TinyMappings

Parses lines (representing a mappings file) into a mappings data structure. Throws an IllegalStateException when lines is not a valid input for this mappings format. To check if lines can be parsed, you could invoke detect.

open override fun parse(lines: Iterator<String>): TinyMappings

Parses lines (an iterator of lines in a mappings file) into a mappings data structure. Throws an IllegalStateException when lines is not a valid input for this mappings format.

- -
+ +
- +
Link copied to clipboard
-

Parses lines (a Sequence of lines in a mappings file) into a mappings data structure. Throws an IllegalStateException when lines is not a valid input for this mappings format.

+

Parses lines (a Sequence of lines in a mappings file) into a mappings data structure. Throws an IllegalStateException when lines is not a valid input for this mappings format.

- -
+ +
- - + +
Link copied to clipboard
-
open fun write(mappings: TinyMappings): List<String>

Writes mappings compatible with this MappingsFormat back to a list of lines representing a mappings file

Writes some tiny mappings represented by a Context to a file

open fun write(mappings: TinyMappings, compact: Boolean): Sequence<String>

Writes tiny mappings represented by mappings to a file, using a compact format if compact is set.

+
open fun write(mappings: TinyMappings): List<String>

Writes mappings compatible with this MappingsFormat back to a list of lines representing a mappings file

Writes some tiny mappings represented by a Context to a file

open fun write(mappings: TinyMappings, compact: Boolean): Sequence<String>

Writes tiny mappings represented by mappings to a file, using a compact format if compact is set.

- -
+ +
- - + +
Link copied to clipboard
-
open override fun writeLazy(mappings: TinyMappings): Sequence<String>

Writes mappings compatible with this MappingsFormat to a lazily evaluated Sequence

+
open override fun writeLazy(mappings: TinyMappings): Sequence<String>

Writes mappings compatible with this MappingsFormat to a lazily evaluated Sequence

@@ -153,12 +150,11 @@

Functions

+ diff --git a/docs/mappings-util/com.grappenmaker.mappings/-tiny-mappings-v1-format/parse.html b/docs/mappings-util/com.grappenmaker.mappings/-tiny-mappings-v1-format/parse.html index f5e6fe6..0a8a46a 100644 --- a/docs/mappings-util/com.grappenmaker.mappings/-tiny-mappings-v1-format/parse.html +++ b/docs/mappings-util/com.grappenmaker.mappings/-tiny-mappings-v1-format/parse.html @@ -1,10 +1,9 @@ - + parse - - + - - + + - - - - - - - + + + + + +
-
- +
+

parse

-
open override fun parse(lines: Iterator<String>): TinyMappings(source)

Parses lines (an iterator of lines in a mappings file) into a mappings data structure. Throws an IllegalStateException when lines is not a valid input for this mappings format.

+
open override fun parse(lines: Iterator<String>): TinyMappings(source)

Parses lines (an iterator of lines in a mappings file) into a mappings data structure. Throws an IllegalStateException when lines is not a valid input for this mappings format.

+ diff --git a/docs/mappings-util/com.grappenmaker.mappings/-tiny-mappings-v1-format/write.html b/docs/mappings-util/com.grappenmaker.mappings/-tiny-mappings-v1-format/write.html index a391fe8..5a9cf3a 100644 --- a/docs/mappings-util/com.grappenmaker.mappings/-tiny-mappings-v1-format/write.html +++ b/docs/mappings-util/com.grappenmaker.mappings/-tiny-mappings-v1-format/write.html @@ -1,10 +1,9 @@ - + write - - + - - + + - - - - - - - + + + + + +
-
- +
+

write

-

Writes some tiny mappings represented by a Context to a file

+

Writes some tiny mappings represented by a Context to a file

+ diff --git a/docs/mappings-util/com.grappenmaker.mappings/-tiny-mappings-v2-format/detect.html b/docs/mappings-util/com.grappenmaker.mappings/-tiny-mappings-v2-format/detect.html index 206c681..9d54bc5 100644 --- a/docs/mappings-util/com.grappenmaker.mappings/-tiny-mappings-v2-format/detect.html +++ b/docs/mappings-util/com.grappenmaker.mappings/-tiny-mappings-v2-format/detect.html @@ -1,10 +1,9 @@ - + detect - - + - - + + - - - - - - - + + + + + +
-
- +
+

detect

-
open override fun detect(lines: List<String>): Boolean(source)

Returns whether this MappingsFormat thinks the lines represent a valid input for the mappings parser

+
open override fun detect(lines: List<String>): Boolean(source)

Returns whether this MappingsFormat thinks the lines represent a valid input for the mappings parser

+ diff --git a/docs/mappings-util/com.grappenmaker.mappings/-tiny-mappings-v2-format/index.html b/docs/mappings-util/com.grappenmaker.mappings/-tiny-mappings-v2-format/index.html index 23e8591..a0e1546 100644 --- a/docs/mappings-util/com.grappenmaker.mappings/-tiny-mappings-v2-format/index.html +++ b/docs/mappings-util/com.grappenmaker.mappings/-tiny-mappings-v2-format/index.html @@ -1,10 +1,9 @@ - + TinyMappingsV2Format - - + - - + + - - - - - - - + + + + + +
-
- +
+
-

TinyMappingsV2Format

-

Represents the Tiny v2 mappings format

+

TinyMappingsV2Format

+

Represents the Tiny v2 mappings format

Functions

-
-
+
+
- +
Link copied to clipboard
-
open override fun detect(lines: List<String>): Boolean

Returns whether this MappingsFormat thinks the lines represent a valid input for the mappings parser

+
open override fun detect(lines: List<String>): Boolean

Returns whether this MappingsFormat thinks the lines represent a valid input for the mappings parser

- -
+ +
- +
Link copied to clipboard
-
open fun parse(lines: List<String>): TinyMappings

Parses lines (representing a mappings file) into a mappings data structure. Throws an IllegalStateException when lines is not a valid input for this mappings format. To check if lines can be parsed, you could invoke detect.

open override fun parse(lines: Iterator<String>): TinyMappings

Parses lines (an iterator of lines in a mappings file) into a mappings data structure. Throws an IllegalStateException when lines is not a valid input for this mappings format.

+
open fun parse(lines: List<String>): TinyMappings

Parses lines (representing a mappings file) into a mappings data structure. Throws an IllegalStateException when lines is not a valid input for this mappings format. To check if lines can be parsed, you could invoke detect.

open override fun parse(lines: Iterator<String>): TinyMappings

Parses lines (an iterator of lines in a mappings file) into a mappings data structure. Throws an IllegalStateException when lines is not a valid input for this mappings format.

- -
+ +
- +
Link copied to clipboard
-

Parses lines (a Sequence of lines in a mappings file) into a mappings data structure. Throws an IllegalStateException when lines is not a valid input for this mappings format.

+

Parses lines (a Sequence of lines in a mappings file) into a mappings data structure. Throws an IllegalStateException when lines is not a valid input for this mappings format.

- -
+ +
- - + +
Link copied to clipboard
-
open fun write(mappings: TinyMappings): List<String>

Writes mappings compatible with this MappingsFormat back to a list of lines representing a mappings file

Writes some tiny mappings represented by a Context to a file

open fun write(mappings: TinyMappings, compact: Boolean): Sequence<String>

Writes tiny mappings represented by mappings to a file, using a compact format if compact is set.

+
open fun write(mappings: TinyMappings): List<String>

Writes mappings compatible with this MappingsFormat back to a list of lines representing a mappings file

Writes some tiny mappings represented by a Context to a file

open fun write(mappings: TinyMappings, compact: Boolean): Sequence<String>

Writes tiny mappings represented by mappings to a file, using a compact format if compact is set.

- -
+ +
- - + +
Link copied to clipboard
-
open override fun writeLazy(mappings: TinyMappings): Sequence<String>

Writes mappings compatible with this MappingsFormat to a lazily evaluated Sequence

+
open override fun writeLazy(mappings: TinyMappings): Sequence<String>

Writes mappings compatible with this MappingsFormat to a lazily evaluated Sequence

@@ -153,12 +150,11 @@

Functions

+ diff --git a/docs/mappings-util/com.grappenmaker.mappings/-tiny-mappings-v2-format/parse.html b/docs/mappings-util/com.grappenmaker.mappings/-tiny-mappings-v2-format/parse.html index 8c133bd..a8e1f1f 100644 --- a/docs/mappings-util/com.grappenmaker.mappings/-tiny-mappings-v2-format/parse.html +++ b/docs/mappings-util/com.grappenmaker.mappings/-tiny-mappings-v2-format/parse.html @@ -1,10 +1,9 @@ - + parse - - + - - + + - - - - - - - + + + + + +
-
- +
+

parse

-
open override fun parse(lines: Iterator<String>): TinyMappings(source)

Parses lines (an iterator of lines in a mappings file) into a mappings data structure. Throws an IllegalStateException when lines is not a valid input for this mappings format.

+
open override fun parse(lines: Iterator<String>): TinyMappings(source)

Parses lines (an iterator of lines in a mappings file) into a mappings data structure. Throws an IllegalStateException when lines is not a valid input for this mappings format.

+ diff --git a/docs/mappings-util/com.grappenmaker.mappings/-tiny-mappings-v2-format/write.html b/docs/mappings-util/com.grappenmaker.mappings/-tiny-mappings-v2-format/write.html index 35465b3..08ecc82 100644 --- a/docs/mappings-util/com.grappenmaker.mappings/-tiny-mappings-v2-format/write.html +++ b/docs/mappings-util/com.grappenmaker.mappings/-tiny-mappings-v2-format/write.html @@ -1,10 +1,9 @@ - + write - - + - - + + - - - - - - - + + + + + +
-
- +
+

write

-

Writes some tiny mappings represented by a Context to a file

+

Writes some tiny mappings represented by a Context to a file

+ diff --git a/docs/mappings-util/com.grappenmaker.mappings/-tiny-mappings-writer/-context/-context.html b/docs/mappings-util/com.grappenmaker.mappings/-tiny-mappings-writer/-context/-context.html index 8692c90..1b79c9b 100644 --- a/docs/mappings-util/com.grappenmaker.mappings/-tiny-mappings-writer/-context/-context.html +++ b/docs/mappings-util/com.grappenmaker.mappings/-tiny-mappings-writer/-context/-context.html @@ -1,10 +1,9 @@ - + Context - - + - - + + - - - - - - - + + + + + +
-
- +
+

Context

-
constructor(mappings: TinyMappings, compact: Boolean)(source)
+
constructor(mappings: TinyMappings, compact: Boolean)(source)
+ diff --git a/docs/mappings-util/com.grappenmaker.mappings/-tiny-mappings-writer/-context/compact.html b/docs/mappings-util/com.grappenmaker.mappings/-tiny-mappings-writer/-context/compact.html index 16ad6a4..b299a48 100644 --- a/docs/mappings-util/com.grappenmaker.mappings/-tiny-mappings-writer/-context/compact.html +++ b/docs/mappings-util/com.grappenmaker.mappings/-tiny-mappings-writer/-context/compact.html @@ -1,10 +1,9 @@ - + compact - - + - - + + - - - - - - - + + + + + +
-
- +
+

compact

- +
+ diff --git a/docs/mappings-util/com.grappenmaker.mappings/-tiny-mappings-writer/-context/index.html b/docs/mappings-util/com.grappenmaker.mappings/-tiny-mappings-writer/-context/index.html index f55304c..9c7d399 100644 --- a/docs/mappings-util/com.grappenmaker.mappings/-tiny-mappings-writer/-context/index.html +++ b/docs/mappings-util/com.grappenmaker.mappings/-tiny-mappings-writer/-context/index.html @@ -1,10 +1,9 @@ - + Context - - + - - + + - - - - - - - + + + + + +
-
- +
+

Context

-
data class Context(val mappings: TinyMappings, val compact: Boolean)(source)

Context for writing TinyMappings, see write. If compact is set, a more compact format will be used, which is unsupported by mappings-io but supported by tiny-mappings-parser and this library.

+
data class Context(val mappings: TinyMappings, val compact: Boolean)(source)

Context for writing TinyMappings, see write. If compact is set, a more compact format will be used, which is unsupported by mappings-io but supported by tiny-mappings-parser and this library.

Constructors

-
-
+
+
- +
Link copied to clipboard
-
constructor(mappings: TinyMappings, compact: Boolean)
+
constructor(mappings: TinyMappings, compact: Boolean)
@@ -91,32 +88,32 @@

Constructors

Properties

-
-
+
+
- +
Link copied to clipboard
-

whether a compact format will be used

+

whether a compact format will be used

- -
+ +
- +
Link copied to clipboard
-

the mappings that will be written by this Context

+

the mappings that will be written by this Context

@@ -125,17 +122,17 @@

Properties

Functions

-
-
+
+
- +
Link copied to clipboard
-

Writes some tiny mappings represented by a Context to a file

+

Writes some tiny mappings represented by a Context to a file

@@ -146,12 +143,11 @@

Functions

+ diff --git a/docs/mappings-util/com.grappenmaker.mappings/-tiny-mappings-writer/-context/mappings.html b/docs/mappings-util/com.grappenmaker.mappings/-tiny-mappings-writer/-context/mappings.html index 08bebdd..843c326 100644 --- a/docs/mappings-util/com.grappenmaker.mappings/-tiny-mappings-writer/-context/mappings.html +++ b/docs/mappings-util/com.grappenmaker.mappings/-tiny-mappings-writer/-context/mappings.html @@ -1,10 +1,9 @@ - + mappings - - + - - + + - - - - - - - + + + + + +
-
- +
+

mappings

- +
+ diff --git a/docs/mappings-util/com.grappenmaker.mappings/-tiny-mappings-writer/index.html b/docs/mappings-util/com.grappenmaker.mappings/-tiny-mappings-writer/index.html index 13845b1..dc61908 100644 --- a/docs/mappings-util/com.grappenmaker.mappings/-tiny-mappings-writer/index.html +++ b/docs/mappings-util/com.grappenmaker.mappings/-tiny-mappings-writer/index.html @@ -1,10 +1,9 @@ - + TinyMappingsWriter - - + - - + + - - - - - - - + + + + + +
-
- +
+
-

TinyMappingsWriter

-

Convenience interface for parameterizing writing tiny mappings

Inheritors

+

TinyMappingsWriter

+

Convenience interface for parameterizing writing tiny mappings

Inheritors

Types

-
-
+
+
- +
Link copied to clipboard
-
data class Context(val mappings: TinyMappings, val compact: Boolean)

Context for writing TinyMappings, see write. If compact is set, a more compact format will be used, which is unsupported by mappings-io but supported by tiny-mappings-parser and this library.

+
data class Context(val mappings: TinyMappings, val compact: Boolean)

Context for writing TinyMappings, see write. If compact is set, a more compact format will be used, which is unsupported by mappings-io but supported by tiny-mappings-parser and this library.

@@ -91,77 +88,77 @@

Types

Functions

-
-
+
+
- +
Link copied to clipboard
-
abstract fun detect(lines: List<String>): Boolean

Returns whether this MappingsFormat thinks the lines represent a valid input for the mappings parser

+
abstract fun detect(lines: List<String>): Boolean

Returns whether this MappingsFormat thinks the lines represent a valid input for the mappings parser

- -
+ +
- +
Link copied to clipboard
-
abstract fun parse(lines: Iterator<String>): TinyMappings

Parses lines (an iterator of lines in a mappings file) into a mappings data structure. Throws an IllegalStateException when lines is not a valid input for this mappings format.

open fun parse(lines: List<String>): TinyMappings

Parses lines (representing a mappings file) into a mappings data structure. Throws an IllegalStateException when lines is not a valid input for this mappings format. To check if lines can be parsed, you could invoke detect.

+
abstract fun parse(lines: Iterator<String>): TinyMappings

Parses lines (an iterator of lines in a mappings file) into a mappings data structure. Throws an IllegalStateException when lines is not a valid input for this mappings format.

open fun parse(lines: List<String>): TinyMappings

Parses lines (representing a mappings file) into a mappings data structure. Throws an IllegalStateException when lines is not a valid input for this mappings format. To check if lines can be parsed, you could invoke detect.

- -
+ +
- +
Link copied to clipboard
-

Parses lines (a Sequence of lines in a mappings file) into a mappings data structure. Throws an IllegalStateException when lines is not a valid input for this mappings format.

+

Parses lines (a Sequence of lines in a mappings file) into a mappings data structure. Throws an IllegalStateException when lines is not a valid input for this mappings format.

- -
+ +
- - + +
Link copied to clipboard
-
open fun write(mappings: TinyMappings): List<String>

Writes mappings compatible with this MappingsFormat back to a list of lines representing a mappings file

Writes some tiny mappings represented by a Context to a file

open fun write(mappings: TinyMappings, compact: Boolean): Sequence<String>

Writes tiny mappings represented by mappings to a file, using a compact format if compact is set.

+
open fun write(mappings: TinyMappings): List<String>

Writes mappings compatible with this MappingsFormat back to a list of lines representing a mappings file

Writes some tiny mappings represented by a Context to a file

open fun write(mappings: TinyMappings, compact: Boolean): Sequence<String>

Writes tiny mappings represented by mappings to a file, using a compact format if compact is set.

- -
+ +
- - + +
Link copied to clipboard
-
open override fun writeLazy(mappings: TinyMappings): Sequence<String>

Writes mappings compatible with this MappingsFormat to a lazily evaluated Sequence

+
open override fun writeLazy(mappings: TinyMappings): Sequence<String>

Writes mappings compatible with this MappingsFormat to a lazily evaluated Sequence

@@ -172,12 +169,11 @@

Functions

+ diff --git a/docs/mappings-util/com.grappenmaker.mappings/-tiny-mappings-writer/write-lazy.html b/docs/mappings-util/com.grappenmaker.mappings/-tiny-mappings-writer/write-lazy.html index b84ff1a..28819a1 100644 --- a/docs/mappings-util/com.grappenmaker.mappings/-tiny-mappings-writer/write-lazy.html +++ b/docs/mappings-util/com.grappenmaker.mappings/-tiny-mappings-writer/write-lazy.html @@ -1,10 +1,9 @@ - + writeLazy - - + - - + + - - - - - - - + + + + + +
-
- +
+
-

writeLazy

+

writeLazy

-
open override fun writeLazy(mappings: TinyMappings): Sequence<String>(source)

Writes mappings compatible with this MappingsFormat to a lazily evaluated Sequence

+
open override fun writeLazy(mappings: TinyMappings): Sequence<String>(source)

Writes mappings compatible with this MappingsFormat to a lazily evaluated Sequence

+ diff --git a/docs/mappings-util/com.grappenmaker.mappings/-tiny-mappings-writer/write.html b/docs/mappings-util/com.grappenmaker.mappings/-tiny-mappings-writer/write.html index 9cd503a..32eec98 100644 --- a/docs/mappings-util/com.grappenmaker.mappings/-tiny-mappings-writer/write.html +++ b/docs/mappings-util/com.grappenmaker.mappings/-tiny-mappings-writer/write.html @@ -1,10 +1,9 @@ - + write - - + - - + + - - - - - - - + + + + + +
-
- +
+

write

-

Writes some tiny mappings represented by a Context to a file


open fun write(mappings: TinyMappings, compact: Boolean): Sequence<String>(source)

Writes tiny mappings represented by mappings to a file, using a compact format if compact is set.

+

Writes some tiny mappings represented by a Context to a file


open fun write(mappings: TinyMappings, compact: Boolean): Sequence<String>(source)

Writes tiny mappings represented by mappings to a file, using a compact format if compact is set.

+ diff --git a/docs/mappings-util/com.grappenmaker.mappings/-tiny-mappings/-tiny-mappings.html b/docs/mappings-util/com.grappenmaker.mappings/-tiny-mappings/-tiny-mappings.html index 875b9db..8bf2b9a 100644 --- a/docs/mappings-util/com.grappenmaker.mappings/-tiny-mappings/-tiny-mappings.html +++ b/docs/mappings-util/com.grappenmaker.mappings/-tiny-mappings/-tiny-mappings.html @@ -1,10 +1,9 @@ - + TinyMappings - - + - - + + - - - - - - - + + + + + +
-
- +
+
-

TinyMappings

+

TinyMappings

-
constructor(namespaces: List<String>, classes: List<MappedClass>, isV2: Boolean)(source)
+
constructor(namespaces: List<String>, classes: List<MappedClass>, isV2: Boolean)(source)
+ diff --git a/docs/mappings-util/com.grappenmaker.mappings/-tiny-mappings/classes.html b/docs/mappings-util/com.grappenmaker.mappings/-tiny-mappings/classes.html index f8761cb..51407d7 100644 --- a/docs/mappings-util/com.grappenmaker.mappings/-tiny-mappings/classes.html +++ b/docs/mappings-util/com.grappenmaker.mappings/-tiny-mappings/classes.html @@ -1,10 +1,9 @@ - + classes - - + - - + + - - - - - - - + + + + + +
-
- +
+

classes

-
open override val classes: List<MappedClass>(source)
+
open override val classes: List<MappedClass>(source)
+ diff --git a/docs/mappings-util/com.grappenmaker.mappings/-tiny-mappings/index.html b/docs/mappings-util/com.grappenmaker.mappings/-tiny-mappings/index.html index 9bc0f9f..d9b8079 100644 --- a/docs/mappings-util/com.grappenmaker.mappings/-tiny-mappings/index.html +++ b/docs/mappings-util/com.grappenmaker.mappings/-tiny-mappings/index.html @@ -1,10 +1,9 @@ - + TinyMappings - - + - - + + - - - - - - - + + + + + +
-
- +
+
-

TinyMappings

-
data class TinyMappings(val namespaces: List<String>, val classes: List<MappedClass>, val isV2: Boolean) : Mappings(source)

Represents either a tiny v1 or a tiny v2 mappings file, which does not have a definition anywhere. The serialization method of these mappings is governed by isV2

+

TinyMappings

+
data class TinyMappings(val namespaces: List<String>, val classes: List<MappedClass>, val isV2: Boolean) : Mappings(source)

Represents either a tiny v1 or a tiny v2 mappings file, which does not have a definition anywhere. The serialization method of these mappings is governed by isV2

Constructors

-
-
+
+
- - + +
Link copied to clipboard
-
constructor(namespaces: List<String>, classes: List<MappedClass>, isV2: Boolean)
+
constructor(namespaces: List<String>, classes: List<MappedClass>, isV2: Boolean)
@@ -91,47 +88,47 @@

Constructors

Properties

-
-
+
+
- +
Link copied to clipboard
-
open override val classes: List<MappedClass>

All mapped classes in this mappings file (in order, not important)

+
open override val classes: List<MappedClass>

All mapped classes in this mappings file (in order, not important)

- -
+ +
- - + +
Link copied to clipboard
-

whether this mappings file is Tiny version 2.

+

whether this mappings file is Tiny version 2.

- -
+ +
- +
Link copied to clipboard
-
open override val namespaces: List<String>

All namespaces (in order) that this mappings file supports/contains

+
open override val namespaces: List<String>

All namespaces (in order) that this mappings file supports/contains

@@ -140,407 +137,407 @@

Properties

Functions

-
-
+
+
- - + +
Link copied to clipboard
-
fun Mappings.asASMMapping(from: String, to: String, includeMethods: Boolean = true, includeFields: Boolean = true): Map<String, String>

Returns a simple mapping representing all of the Mappings, mapping between the namespaces from and to. If includeMethods is true, then methods will be included in the mapping. If includeFields is true, then fields will be included in the mapping.

+
fun Mappings.asASMMapping(from: String, to: String, includeMethods: Boolean = true, includeFields: Boolean = true): Map<String, String>

Returns a simple mapping representing all of the Mappings, mapping between the namespaces from and to. If includeMethods is true, then methods will be included in the mapping. If includeFields is true, then fields will be included in the mapping.

- -
+ +
- - + +
Link copied to clipboard
- -
+ +
- - + +
Link copied to clipboard
- -
+ + - -
+ + - -
+ + - -
+ +
- - + +
Link copied to clipboard
- -
+ +
- - + +
Link copied to clipboard
-

Returns an asm SimpleRemapper for remapping references between namespaces from and to disregarding inheritance and lambdas. For proper remapping, you should use the MappingsRemapper.

+

Returns an asm SimpleRemapper for remapping references between namespaces from and to disregarding inheritance and lambdas. For proper remapping, you should use the MappingsRemapper.

- -
+ +
- - + +
Link copied to clipboard
-

Converts these Mappings to SRGMappings, enabling XSRG when extended is true.

+

Converts these Mappings to SRGMappings, enabling XSRG when extended is true.

- -
+ +
- - + +
Link copied to clipboard
-

Converts these Mappings to TinyMappings, enabling Tiny v2 when v2 is true.

+

Converts these Mappings to TinyMappings, enabling Tiny v2 when v2 is true.

- -
+ +
- - + +
Link copied to clipboard
-

Converts these Mappings to TSRGMappings, enabling TSRG v2 when v2 is true.

+

Converts these Mappings to TSRGMappings, enabling TSRG v2 when v2 is true.

- -
+ +
- - + +
Link copied to clipboard
-

Removes all duplicate namespace usages in this Mappings.

+

Removes all duplicate namespace usages in this Mappings.

- -
+ +
- - + +
Link copied to clipboard
-

Transforms this Mappings structure to a generic mappings implementation that maps between from and to.

+

Transforms this Mappings structure to a generic mappings implementation that maps between from and to.

- -
+ +
- - + +
Link copied to clipboard
-
inline fun Mappings.filterClasses(predicate: (MappedClass) -> Boolean): Mappings

Filters classes matching the predicate

+
inline fun Mappings.filterClasses(predicate: (MappedClass) -> Boolean): Mappings

Filters classes matching the predicate

- -
+ +
- - + +
Link copied to clipboard
-
inline fun Mappings.filterMethods(predicate: (owner: MappedClass, method: MappedMethod) -> Boolean): Mappings

Filters methods matching the predicate

+
inline fun Mappings.filterMethods(predicate: (owner: MappedClass, method: MappedMethod) -> Boolean): Mappings

Filters methods matching the predicate

- -
+ +
- - + +
Link copied to clipboard
-
fun Mappings.filterNamespaces(vararg allowed: String, allowDuplicates: Boolean = false): Mappings
fun Mappings.filterNamespaces(allowed: Set<String>, allowDuplicates: Boolean = false): Mappings

Filters these Mappings to only contain namespaces that are in allowed. If allowDuplicates is true, the returned Mappings will also have duplicate namespaces removed.

inline fun Mappings.filterNamespaces(allowDuplicates: Boolean = false, predicate: (String) -> Boolean): Mappings

Filters these Mappings to only contain namespaces for which the predicate returns true. If allowDuplicates is true, the returned Mappings will also have duplicate namespaces removed.

+
fun Mappings.filterNamespaces(vararg allowed: String, allowDuplicates: Boolean = false): Mappings
fun Mappings.filterNamespaces(allowed: Set<String>, allowDuplicates: Boolean = false): Mappings

Filters these Mappings to only contain namespaces that are in allowed. If allowDuplicates is true, the returned Mappings will also have duplicate namespaces removed.

inline fun Mappings.filterNamespaces(allowDuplicates: Boolean = false, predicate: (String) -> Boolean): Mappings

Filters these Mappings to only contain namespaces for which the predicate returns true. If allowDuplicates is true, the returned Mappings will also have duplicate namespaces removed.

- -
+ +
- +
Link copied to clipboard
-
fun Mappings.join(otherMappings: Mappings, intermediateNamespace: String, requireMatch: Boolean = false): Mappings

Joins together this Mappings with otherMappings, by matching on intermediateNamespace, producing new Mappings that contain all entries from this Mappings and otherMappings. If requireMatch is true, this method will throw an exception when no method or field or class is found

+
fun Mappings.join(otherMappings: Mappings, intermediateNamespace: String, requireMatch: Boolean = false): Mappings

Joins together this Mappings with otherMappings, by matching on intermediateNamespace, producing new Mappings that contain all entries from this Mappings and otherMappings. If requireMatch is true, this method will throw an exception when no method or field or class is found

- -
+ +
- - + +
Link copied to clipboard
-

Maps classes according to the given block

+

Maps classes according to the given block

- -
+ +
- - + +
Link copied to clipboard
-
inline fun Mappings.mapMethods(block: (owner: MappedClass, method: MappedMethod) -> MappedMethod): Mappings

Maps methods according to the given block

+
inline fun Mappings.mapMethods(block: (owner: MappedClass, method: MappedMethod) -> MappedMethod): Mappings

Maps methods according to the given block

- -
+ +
- +
Link copied to clipboard
-

Returns the index of a namespace named name, but throws an IllegalStateException when name is not in the Mappings.namespaces.

+

Returns the index of a namespace named name, but throws an IllegalStateException when name is not in the Mappings.namespaces.

- -
+ +
- - + +
Link copied to clipboard
-

See recoverFieldDescriptors. file is a jar file resource (caller is responsible for closing it) that contains the classes that are referenced in the generic overload.

fun Mappings.recoverFieldDescriptors(bytesProvider: (name: String) -> ByteArray?): Mappings

Attempts to recover field descriptors that are missing because the original mappings format did not specify them. bytesProvider is responsible for providing all of the classes that might be referenced in this Mappings object, such that the descriptors can be recovered based on named (fields can be uniquely identified by an owner-name pair). When field descriptors were not found, field mappings will not be passed onto the new Mappings as field mappings without descriptors will be considered invalid.

@JvmName(name = "recoverDescsByNode")
fun Mappings.recoverFieldDescriptors(nodeProvider: (name: String) -> ClassNode?): Mappings

Attempts to recover field descriptors that are missing because the original mappings format did not specify them. nodeProvider is responsible for providing all of the ClassNodes that might be referenced in this Mappings object, such that the descriptors can be recovered based on named (fields can be uniquely identified by an owner-name pair). When field descriptors were not found, field mappings will not be passed onto the new Mappings as field mappings without descriptors will be considered invalid.

+

See recoverFieldDescriptors. file is a jar file resource (caller is responsible for closing it) that contains the classes that are referenced in the generic overload.

fun Mappings.recoverFieldDescriptors(bytesProvider: (name: String) -> ByteArray?): Mappings

Attempts to recover field descriptors that are missing because the original mappings format did not specify them. bytesProvider is responsible for providing all of the classes that might be referenced in this Mappings object, such that the descriptors can be recovered based on named (fields can be uniquely identified by an owner-name pair). When field descriptors were not found, field mappings will not be passed onto the new Mappings as field mappings without descriptors will be considered invalid.

@JvmName(name = "recoverDescsByNode")
fun Mappings.recoverFieldDescriptors(nodeProvider: (name: String) -> ClassNode?): Mappings

Attempts to recover field descriptors that are missing because the original mappings format did not specify them. nodeProvider is responsible for providing all of the ClassNodes that might be referenced in this Mappings object, such that the descriptors can be recovered based on named (fields can be uniquely identified by an owner-name pair). When field descriptors were not found, field mappings will not be passed onto the new Mappings as field mappings without descriptors will be considered invalid.

- -
+ +
- - + +
Link copied to clipboard
-

Returns new Mappings that are identical to these Mappings, except the comments will be removed

+

Returns new Mappings that are identical to these Mappings, except the comments will be removed

- -
+ +
- - + +
Link copied to clipboard
-
fun Mappings.removeRedundancy(inheritanceProvider: InheritanceProvider, removeDuplicateMethods: Boolean = false): Mappings

Removes redundant or straight up incorrect data from this Mappings object, by looking at the inheritance information present in class files, presented by the inheritanceProvider.

fun Mappings.removeRedundancy(file: JarFile, removeDuplicateMethods: Boolean = false): Mappings

See removeRedundancy. file is a jar file resource (caller is responsible for closing it) that contains the classes that are referenced in the generic overload. Calls with identical names are being cached by this function, the caller is not responsible for this.

fun Mappings.removeRedundancy(removeDuplicateMethods: Boolean = false, loader: ClasspathLoader): Mappings

Removes redundant or straight up incorrect data from this Mappings object, by looking at the inheritance information present in class files, presented by the loader.

+
fun Mappings.removeRedundancy(inheritanceProvider: InheritanceProvider, removeDuplicateMethods: Boolean = false): Mappings

Removes redundant or straight up incorrect data from this Mappings object, by looking at the inheritance information present in class files, presented by the inheritanceProvider.

fun Mappings.removeRedundancy(file: JarFile, removeDuplicateMethods: Boolean = false): Mappings

See removeRedundancy. file is a jar file resource (caller is responsible for closing it) that contains the classes that are referenced in the generic overload. Calls with identical names are being cached by this function, the caller is not responsible for this.

fun Mappings.removeRedundancy(removeDuplicateMethods: Boolean = false, loader: ClasspathLoader): Mappings

Removes redundant or straight up incorrect data from this Mappings object, by looking at the inheritance information present in class files, presented by the loader.

- -
+ +
- - + +
Link copied to clipboard
-

Swaps out the names for the namespaces in this Mappings data structure.

+

Swaps out the names for the namespaces in this Mappings data structure.

- -
+ +
- - + +
Link copied to clipboard
-

Swaps out the names for the namespaces in this Mappings data structure, by reordering. Duplicate names are allowed, in which case mapped entries are duplicated to fit the new order. If a name in Mappings.namespaces does not appear in order, its mapping entries will be missing in the returned Mappings.

Swaps out the names for the namespaces in this Mappings data structure, by reordering. Duplicate names are allowed, in which case mapped entries are duplicated to fit the new order. If a name in Mappings.namespaces does not appear in order, its mapping entries will be missing in the returned Mappings. If a namespace in order does not exist in this Mappings, an IllegalArgumentException will be thrown.

+

Swaps out the names for the namespaces in this Mappings data structure, by reordering. Duplicate names are allowed, in which case mapped entries are duplicated to fit the new order. If a name in Mappings.namespaces does not appear in order, its mapping entries will be missing in the returned Mappings.

Swaps out the names for the namespaces in this Mappings data structure, by reordering. Duplicate names are allowed, in which case mapped entries are duplicated to fit the new order. If a name in Mappings.namespaces does not appear in order, its mapping entries will be missing in the returned Mappings. If a namespace in order does not exist in this Mappings, an IllegalArgumentException will be thrown.

- -
+ +
- +
Link copied to clipboard
-
fun TinyMappings.write(compact: Boolean = isV2): List<String>

Writes TinyMappings to a mappings file represented by a list of strings. If compact is set, a more compact format of tiny mappings will be used, see TinyMappingsWriter.write.

+
fun TinyMappings.write(compact: Boolean = isV2): List<String>

Writes TinyMappings to a mappings file represented by a list of strings. If compact is set, a more compact format of tiny mappings will be used, see TinyMappingsWriter.write.

- -
+ +
- - + +
Link copied to clipboard
-

Writes TinyMappings as a lazily evaluated Sequence. If compact is set, a more compact format of tiny mappings will be used, see TinyMappingsWriter.write.

+

Writes TinyMappings as a lazily evaluated Sequence. If compact is set, a more compact format of tiny mappings will be used, see TinyMappingsWriter.write.

@@ -551,12 +548,11 @@

Functions

+ diff --git a/docs/mappings-util/com.grappenmaker.mappings/-tiny-mappings/is-v2.html b/docs/mappings-util/com.grappenmaker.mappings/-tiny-mappings/is-v2.html index ca28d02..5afa64d 100644 --- a/docs/mappings-util/com.grappenmaker.mappings/-tiny-mappings/is-v2.html +++ b/docs/mappings-util/com.grappenmaker.mappings/-tiny-mappings/is-v2.html @@ -1,10 +1,9 @@ - + isV2 - - + - - + + - - - - - - - + + + + + +
-
- +
+
-

isV2

+

isV2

- +
+ diff --git a/docs/mappings-util/com.grappenmaker.mappings/-tiny-mappings/namespaces.html b/docs/mappings-util/com.grappenmaker.mappings/-tiny-mappings/namespaces.html index ab9306b..5b739be 100644 --- a/docs/mappings-util/com.grappenmaker.mappings/-tiny-mappings/namespaces.html +++ b/docs/mappings-util/com.grappenmaker.mappings/-tiny-mappings/namespaces.html @@ -1,10 +1,9 @@ - + namespaces - - + - - + + - - - - - - - + + + + + +
-
- +
+

namespaces

-
open override val namespaces: List<String>(source)
+
open override val namespaces: List<String>(source)
+ diff --git a/docs/mappings-util/com.grappenmaker.mappings/-x-s-r-g-mappings-format/index.html b/docs/mappings-util/com.grappenmaker.mappings/-x-s-r-g-mappings-format/index.html index 61adee2..3a88b79 100644 --- a/docs/mappings-util/com.grappenmaker.mappings/-x-s-r-g-mappings-format/index.html +++ b/docs/mappings-util/com.grappenmaker.mappings/-x-s-r-g-mappings-format/index.html @@ -1,10 +1,9 @@ - + XSRGMappingsFormat - - + - - + + - - - - - - - + + + + + +
-
- +
+
-

XSRGMappingsFormat

-

Represents the XSRG mappings format

+

XSRGMappingsFormat

+

Represents the XSRG mappings format

Functions

-
-
+
+
- +
Link copied to clipboard
-
open override fun detect(lines: List<String>): Boolean

Returns whether this MappingsFormat thinks the lines represent a valid input for the mappings parser

+
open override fun detect(lines: List<String>): Boolean

Returns whether this MappingsFormat thinks the lines represent a valid input for the mappings parser

- -
+ +
- +
Link copied to clipboard
-
open override fun parse(lines: Iterator<String>): SRGMappings

Parses lines (an iterator of lines in a mappings file) into a mappings data structure. Throws an IllegalStateException when lines is not a valid input for this mappings format.

open override fun parse(lines: List<String>): SRGMappings

Parses lines (representing a mappings file) into a mappings data structure. Throws an IllegalStateException when lines is not a valid input for this mappings format. To check if lines can be parsed, you could invoke detect.

+
open override fun parse(lines: Iterator<String>): SRGMappings

Parses lines (an iterator of lines in a mappings file) into a mappings data structure. Throws an IllegalStateException when lines is not a valid input for this mappings format.

open override fun parse(lines: List<String>): SRGMappings

Parses lines (representing a mappings file) into a mappings data structure. Throws an IllegalStateException when lines is not a valid input for this mappings format. To check if lines can be parsed, you could invoke detect.

- -
+ +
- +
Link copied to clipboard
-

Parses lines (a Sequence of lines in a mappings file) into a mappings data structure. Throws an IllegalStateException when lines is not a valid input for this mappings format.

+

Parses lines (a Sequence of lines in a mappings file) into a mappings data structure. Throws an IllegalStateException when lines is not a valid input for this mappings format.

- -
+ +
- - + +
Link copied to clipboard
-
open override fun write(mappings: SRGMappings): List<String>

Writes mappings compatible with this MappingsFormat back to a list of lines representing a mappings file

+
open override fun write(mappings: SRGMappings): List<String>

Writes mappings compatible with this MappingsFormat back to a list of lines representing a mappings file

- -
+ +
- - + +
Link copied to clipboard
-
open override fun writeLazy(mappings: SRGMappings): Sequence<String>

Writes mappings compatible with this MappingsFormat to a lazily evaluated Sequence

+
open override fun writeLazy(mappings: SRGMappings): Sequence<String>

Writes mappings compatible with this MappingsFormat to a lazily evaluated Sequence

@@ -153,12 +150,11 @@

Functions

+ diff --git a/docs/mappings-util/com.grappenmaker.mappings/apply-widener.html b/docs/mappings-util/com.grappenmaker.mappings/apply-widener.html index f565e27..b6c0327 100644 --- a/docs/mappings-util/com.grappenmaker.mappings/apply-widener.html +++ b/docs/mappings-util/com.grappenmaker.mappings/apply-widener.html @@ -1,10 +1,9 @@ - + applyWidener - - + - - + + - - - - - - - + + + + + +
-
- +
+
-

applyWidener

+

applyWidener

- +
+ diff --git a/docs/mappings-util/com.grappenmaker.mappings/as-a-s-m-mapping.html b/docs/mappings-util/com.grappenmaker.mappings/as-a-s-m-mapping.html index 504dd17..c18e2d5 100644 --- a/docs/mappings-util/com.grappenmaker.mappings/as-a-s-m-mapping.html +++ b/docs/mappings-util/com.grappenmaker.mappings/as-a-s-m-mapping.html @@ -1,10 +1,9 @@ - + asASMMapping - - + - - + + - - - - - - - + + + + + +
-
- +
+
-

asASMMapping

+

asASMMapping

-
fun Mappings.asASMMapping(from: String, to: String, includeMethods: Boolean = true, includeFields: Boolean = true): Map<String, String>(source)

Returns a simple mapping representing all of the Mappings, mapping between the namespaces from and to. If includeMethods is true, then methods will be included in the mapping. If includeFields is true, then fields will be included in the mapping.

+
fun Mappings.asASMMapping(from: String, to: String, includeMethods: Boolean = true, includeFields: Boolean = true): Map<String, String>(source)

Returns a simple mapping representing all of the Mappings, mapping between the namespaces from and to. If includeMethods is true, then methods will be included in the mapping. If includeFields is true, then fields will be included in the mapping.

+ diff --git a/docs/mappings-util/com.grappenmaker.mappings/as-c-s-r-g-mappings.html b/docs/mappings-util/com.grappenmaker.mappings/as-c-s-r-g-mappings.html index 99ce5f6..40b3ae7 100644 --- a/docs/mappings-util/com.grappenmaker.mappings/as-c-s-r-g-mappings.html +++ b/docs/mappings-util/com.grappenmaker.mappings/as-c-s-r-g-mappings.html @@ -1,10 +1,9 @@ - + asCSRGMappings - - + - - + + - - - - - - - + + + + + +
-
- +
+
-

asCSRGMappings

+

asCSRGMappings

- +
+ diff --git a/docs/mappings-util/com.grappenmaker.mappings/as-compacted-mappings.html b/docs/mappings-util/com.grappenmaker.mappings/as-compacted-mappings.html index dbcc381..fdf212d 100644 --- a/docs/mappings-util/com.grappenmaker.mappings/as-compacted-mappings.html +++ b/docs/mappings-util/com.grappenmaker.mappings/as-compacted-mappings.html @@ -1,10 +1,9 @@ - + asCompactedMappings - - + - - + + - - - - - - - + + + + + +
-
- +
+
-

asCompactedMappings

+

asCompactedMappings

-

Converts these Mappings to CompactedMappings.

Samples

import com.grappenmaker.mappings.*
+  

Converts these Mappings to CompactedMappings.

Samples

import com.grappenmaker.mappings.*
 import com.grappenmaker.mappings.Mappings
 import kotlin.test.*
 
 fun main() { 
    //sampleStart 
    val mappings = GenericMappings(
-    namespaces = listOf("official", "named"),
+    namespaces = listOf("official", "named"),
     classes = listOf(MappedClass(
-        names = listOf("a", "b"),
+        names = listOf("a", "b"),
     ))
 )
 
@@ -88,12 +85,11 @@ 

asCompacted

+ diff --git a/docs/mappings-util/com.grappenmaker.mappings/as-enigma-mappings.html b/docs/mappings-util/com.grappenmaker.mappings/as-enigma-mappings.html index b072f29..44ff8fa 100644 --- a/docs/mappings-util/com.grappenmaker.mappings/as-enigma-mappings.html +++ b/docs/mappings-util/com.grappenmaker.mappings/as-enigma-mappings.html @@ -1,10 +1,9 @@ - + asEnigmaMappings - - + - - + + - - - - - - - + + + + + +
-
- +
+
-

asEnigmaMappings

+

asEnigmaMappings

- +
+ diff --git a/docs/mappings-util/com.grappenmaker.mappings/as-generic-mappings.html b/docs/mappings-util/com.grappenmaker.mappings/as-generic-mappings.html index 31a900e..c87e2b6 100644 --- a/docs/mappings-util/com.grappenmaker.mappings/as-generic-mappings.html +++ b/docs/mappings-util/com.grappenmaker.mappings/as-generic-mappings.html @@ -1,10 +1,9 @@ - + asGenericMappings - - + - - + + - - - - - - - + + + + + +
-
- +
+
-

asGenericMappings

+

asGenericMappings

- +
+ diff --git a/docs/mappings-util/com.grappenmaker.mappings/as-inheritance-provider.html b/docs/mappings-util/com.grappenmaker.mappings/as-inheritance-provider.html index c3bc83a..0f494d3 100644 --- a/docs/mappings-util/com.grappenmaker.mappings/as-inheritance-provider.html +++ b/docs/mappings-util/com.grappenmaker.mappings/as-inheritance-provider.html @@ -1,10 +1,9 @@ - + asInheritanceProvider - - + - - + + - - - - - - - + + + + + +
-
- +
+
-

asInheritanceProvider

+

asInheritanceProvider

-

Wraps this into a InheritanceProvider that uses this to extract inheritance information

+

Wraps this into a InheritanceProvider that uses this to extract inheritance information

+ diff --git a/docs/mappings-util/com.grappenmaker.mappings/as-proguard-mappings.html b/docs/mappings-util/com.grappenmaker.mappings/as-proguard-mappings.html index 29a4ce7..667559b 100644 --- a/docs/mappings-util/com.grappenmaker.mappings/as-proguard-mappings.html +++ b/docs/mappings-util/com.grappenmaker.mappings/as-proguard-mappings.html @@ -1,10 +1,9 @@ - + asProguardMappings - - + - - + + - - - - - - - + + + + + +
-
- +
+
-

asProguardMappings

+

asProguardMappings

-

Converts these Mappings to ProguardMappings.

Samples

import com.grappenmaker.mappings.*
+  

Converts these Mappings to ProguardMappings.

Samples

import com.grappenmaker.mappings.*
 import com.grappenmaker.mappings.Mappings
 import kotlin.test.*
 
 fun main() { 
    //sampleStart 
    val mappings = GenericMappings(
-    namespaces = listOf("official", "named"),
+    namespaces = listOf("official", "named"),
     classes = listOf(MappedClass(
-        names = listOf("a", "b"),
+        names = listOf("a", "b"),
     ))
 )
 
@@ -88,12 +85,11 @@ 

asProguard

+ diff --git a/docs/mappings-util/com.grappenmaker.mappings/as-recaf-mappings.html b/docs/mappings-util/com.grappenmaker.mappings/as-recaf-mappings.html index 37cbfb6..68eba92 100644 --- a/docs/mappings-util/com.grappenmaker.mappings/as-recaf-mappings.html +++ b/docs/mappings-util/com.grappenmaker.mappings/as-recaf-mappings.html @@ -1,10 +1,9 @@ - + asRecafMappings - - + - - + + - - - - - - - + + + + + +
-
- +
+
-

asRecafMappings

+

asRecafMappings

- +
+ diff --git a/docs/mappings-util/com.grappenmaker.mappings/as-s-r-g-mappings.html b/docs/mappings-util/com.grappenmaker.mappings/as-s-r-g-mappings.html index 711c92d..a9d02a7 100644 --- a/docs/mappings-util/com.grappenmaker.mappings/as-s-r-g-mappings.html +++ b/docs/mappings-util/com.grappenmaker.mappings/as-s-r-g-mappings.html @@ -1,10 +1,9 @@ - + asSRGMappings - - + - - + + - - - - - - - + + + + + +
-
- +
+
-

asSRGMappings

+

asSRGMappings

-

Converts these Mappings to SRGMappings, enabling XSRG when extended is true.

Samples

import com.grappenmaker.mappings.*
+  

Converts these Mappings to SRGMappings, enabling XSRG when extended is true.

Samples

import com.grappenmaker.mappings.*
 import com.grappenmaker.mappings.Mappings
 import kotlin.test.*
 
 fun main() { 
    //sampleStart 
    val mappings = GenericMappings(
-    namespaces = listOf("official", "named"),
+    namespaces = listOf("official", "named"),
     classes = listOf(MappedClass(
-        names = listOf("a", "b"),
+        names = listOf("a", "b"),
     ))
 )
 
@@ -88,12 +85,11 @@ 

asSRGMappings

+ diff --git a/docs/mappings-util/com.grappenmaker.mappings/as-simple-remapper.html b/docs/mappings-util/com.grappenmaker.mappings/as-simple-remapper.html index 4de97a9..99e1c4e 100644 --- a/docs/mappings-util/com.grappenmaker.mappings/as-simple-remapper.html +++ b/docs/mappings-util/com.grappenmaker.mappings/as-simple-remapper.html @@ -1,10 +1,9 @@ - + asSimpleRemapper - - + - - + + - - - - - - - + + + + + +
-
- +
+
-

asSimpleRemapper

+

asSimpleRemapper

-

Returns an asm SimpleRemapper for remapping references between namespaces from and to disregarding inheritance and lambdas. For proper remapping, you should use the MappingsRemapper.


Shorthand for converting SRGMappings to a SimpleRemapper.

See also

+

Returns an asm SimpleRemapper for remapping references between namespaces from and to disregarding inheritance and lambdas. For proper remapping, you should use the MappingsRemapper.


Shorthand for converting SRGMappings to a SimpleRemapper.

See also

+ diff --git a/docs/mappings-util/com.grappenmaker.mappings/as-t-s-r-g-mappings.html b/docs/mappings-util/com.grappenmaker.mappings/as-t-s-r-g-mappings.html index 202ab30..27e4f62 100644 --- a/docs/mappings-util/com.grappenmaker.mappings/as-t-s-r-g-mappings.html +++ b/docs/mappings-util/com.grappenmaker.mappings/as-t-s-r-g-mappings.html @@ -1,10 +1,9 @@ - + asTSRGMappings - - + - - + + - - - - - - - + + + + + +
-
- +
+
-

asTSRGMappings

+

asTSRGMappings

-

Converts these Mappings to TSRGMappings, enabling TSRG v2 when v2 is true.

Samples

import com.grappenmaker.mappings.*
+  

Converts these Mappings to TSRGMappings, enabling TSRG v2 when v2 is true.

Samples

import com.grappenmaker.mappings.*
 import com.grappenmaker.mappings.Mappings
 import kotlin.test.*
 
 fun main() { 
    //sampleStart 
    val mappings = GenericMappings(
-    namespaces = listOf("official", "named"),
+    namespaces = listOf("official", "named"),
     classes = listOf(MappedClass(
-        names = listOf("a", "b"),
+        names = listOf("a", "b"),
     ))
 )
 
@@ -88,12 +85,11 @@ 

asTSRGMappings

+ diff --git a/docs/mappings-util/com.grappenmaker.mappings/as-tiny-mappings.html b/docs/mappings-util/com.grappenmaker.mappings/as-tiny-mappings.html index ddcff2e..7ab5d50 100644 --- a/docs/mappings-util/com.grappenmaker.mappings/as-tiny-mappings.html +++ b/docs/mappings-util/com.grappenmaker.mappings/as-tiny-mappings.html @@ -1,10 +1,9 @@ - + asTinyMappings - - + - - + + - - - - - - - + + + + + +
-
- +
+
-

asTinyMappings

+

asTinyMappings

-

Converts these Mappings to TinyMappings, enabling Tiny v2 when v2 is true.

Samples

import com.grappenmaker.mappings.*
+  

Converts these Mappings to TinyMappings, enabling Tiny v2 when v2 is true.

Samples

import com.grappenmaker.mappings.*
 import com.grappenmaker.mappings.Mappings
 import kotlin.test.*
 
 fun main() { 
    //sampleStart 
    val mappings = GenericMappings(
-    namespaces = listOf("official", "named"),
+    namespaces = listOf("official", "named"),
     classes = listOf(MappedClass(
-        names = listOf("a", "b"),
+        names = listOf("a", "b"),
     ))
 )
 
@@ -88,12 +85,11 @@ 

asTiny

+ diff --git a/docs/mappings-util/com.grappenmaker.mappings/deduplicate-namespaces.html b/docs/mappings-util/com.grappenmaker.mappings/deduplicate-namespaces.html index a0399bd..bb816ad 100644 --- a/docs/mappings-util/com.grappenmaker.mappings/deduplicate-namespaces.html +++ b/docs/mappings-util/com.grappenmaker.mappings/deduplicate-namespaces.html @@ -1,10 +1,9 @@ - + deduplicateNamespaces - - + - - + + - - - - - - - + + + + + +
-
- +
+
-

deduplicateNamespaces

+

deduplicateNamespaces

-

Removes all duplicate namespace usages in this Mappings.

Samples

import com.grappenmaker.mappings.*
+  

Removes all duplicate namespace usages in this Mappings.

Samples

import com.grappenmaker.mappings.*
 import com.grappenmaker.mappings.Mappings
 import kotlin.test.*
 
 fun main() { 
    //sampleStart 
    val mappings = GenericMappings(
-    namespaces = listOf("official", "named", "named"),
+    namespaces = listOf("official", "named", "named"),
     classes = listOf(MappedClass(
-        names = listOf("a", "b", "b"),
+        names = listOf("a", "b", "b"),
     ))
 )
 
 val deduped = mappings.deduplicateNamespaces()
 assertEquals(
     GenericMappings(
-        namespaces = listOf("official", "named"),
+        namespaces = listOf("official", "named"),
         classes = listOf(MappedClass(
-            names = listOf("a", "b"),
+            names = listOf("a", "b"),
         ))
     ), deduped
 ) 
@@ -92,12 +89,11 @@ 

deduplicateNamespaces

+ diff --git a/docs/mappings-util/com.grappenmaker.mappings/extract-namespaces.html b/docs/mappings-util/com.grappenmaker.mappings/extract-namespaces.html index c01d4db..c8d201a 100644 --- a/docs/mappings-util/com.grappenmaker.mappings/extract-namespaces.html +++ b/docs/mappings-util/com.grappenmaker.mappings/extract-namespaces.html @@ -1,10 +1,9 @@ - + extractNamespaces - - + - - + + - - - - - - - + + + + + +
-
- +
+
-

extractNamespaces

+

extractNamespaces

-

Deprecated

This function is redundant

Replace with

import com.grappenmaker.mappings.reorderNamespaces
this.reorderNamespaces(from, to)

Transforms this Mappings structure to a generic mappings implementation that maps between from and to.

+

Deprecated

This function is redundant

Replace with

import com.grappenmaker.mappings.reorderNamespaces
this.reorderNamespaces(from, to)

Transforms this Mappings structure to a generic mappings implementation that maps between from and to.

+ diff --git a/docs/mappings-util/com.grappenmaker.mappings/filter-classes.html b/docs/mappings-util/com.grappenmaker.mappings/filter-classes.html index b9f0534..81c4821 100644 --- a/docs/mappings-util/com.grappenmaker.mappings/filter-classes.html +++ b/docs/mappings-util/com.grappenmaker.mappings/filter-classes.html @@ -1,10 +1,9 @@ - + filterClasses - - + - - + + - - - - - - - + + + + + +
-
- +
+
-

filterClasses

+

filterClasses

-

Filters classes matching the predicate

+

Filters classes matching the predicate

+ diff --git a/docs/mappings-util/com.grappenmaker.mappings/filter-methods.html b/docs/mappings-util/com.grappenmaker.mappings/filter-methods.html index 23310ba..05d66bb 100644 --- a/docs/mappings-util/com.grappenmaker.mappings/filter-methods.html +++ b/docs/mappings-util/com.grappenmaker.mappings/filter-methods.html @@ -1,10 +1,9 @@ - + filterMethods - - + - - + + - - - - - - - + + + + + +
-
- +
+
-

filterMethods

+

filterMethods

-
inline fun Mappings.filterMethods(predicate: (owner: MappedClass, method: MappedMethod) -> Boolean): Mappings(source)

Filters methods matching the predicate

+
inline fun Mappings.filterMethods(predicate: (owner: MappedClass, method: MappedMethod) -> Boolean): Mappings(source)

Filters methods matching the predicate

+ diff --git a/docs/mappings-util/com.grappenmaker.mappings/filter-namespaces.html b/docs/mappings-util/com.grappenmaker.mappings/filter-namespaces.html index 4ad1197..97e2961 100644 --- a/docs/mappings-util/com.grappenmaker.mappings/filter-namespaces.html +++ b/docs/mappings-util/com.grappenmaker.mappings/filter-namespaces.html @@ -1,10 +1,9 @@ - + filterNamespaces - - + - - + + - - - - - - - + + + + + +
-
- +
+
-

filterNamespaces

+

filterNamespaces

-
inline fun Mappings.filterNamespaces(allowDuplicates: Boolean = false, predicate: (String) -> Boolean): Mappings(source)

Filters these Mappings to only contain namespaces for which the predicate returns true. If allowDuplicates is true, the returned Mappings will also have duplicate namespaces removed.

The functionality of this function differs slightly from that of Mappings.reorderNamespaces, in that this function acts as a filter, which means that order will be preserved as is present in this Mappings.

Samples

import com.grappenmaker.mappings.*
+  
inline fun Mappings.filterNamespaces(allowDuplicates: Boolean = false, predicate: (String) -> Boolean): Mappings(source)

Filters these Mappings to only contain namespaces for which the predicate returns true. If allowDuplicates is true, the returned Mappings will also have duplicate namespaces removed.

The functionality of this function differs slightly from that of Mappings.reorderNamespaces, in that this function acts as a filter, which means that order will be preserved as is present in this Mappings.

Samples

import com.grappenmaker.mappings.*
 import com.grappenmaker.mappings.Mappings
 import kotlin.test.*
 
 fun main() { 
    //sampleStart 
    val mappings = GenericMappings(
-    namespaces = listOf("official", "intermediary", "named"),
+    namespaces = listOf("official", "intermediary", "named"),
     classes = listOf(MappedClass(
-        names = listOf("a", "b", "c"),
+        names = listOf("a", "b", "c"),
     ))
 )
 
-val filtered = mappings.filterNamespaces("named", "official", "another")
+val filtered = mappings.filterNamespaces("named", "official", "another")
 assertEquals(
     GenericMappings(
-        namespaces = listOf("official", "named"),
+        namespaces = listOf("official", "named"),
         classes = listOf(MappedClass(
-            names = listOf("a", "c"),
+            names = listOf("a", "c"),
         ))
     ), filtered
 ) 
    //sampleEnd
-}

fun Mappings.filterNamespaces(vararg allowed: String, allowDuplicates: Boolean = false): Mappings(source)
fun Mappings.filterNamespaces(allowed: Set<String>, allowDuplicates: Boolean = false): Mappings(source)

Filters these Mappings to only contain namespaces that are in allowed. If allowDuplicates is true, the returned Mappings will also have duplicate namespaces removed.

The functionality of this function differs slightly from that of Mappings.reorderNamespaces, in that this function acts as a filter, which means that order will be preserved as is present in this Mappings, and if some namespace in allowed does not exist, no error will be thrown.

Samples

import com.grappenmaker.mappings.*
+}

fun Mappings.filterNamespaces(vararg allowed: String, allowDuplicates: Boolean = false): Mappings(source)
fun Mappings.filterNamespaces(allowed: Set<String>, allowDuplicates: Boolean = false): Mappings(source)

Filters these Mappings to only contain namespaces that are in allowed. If allowDuplicates is true, the returned Mappings will also have duplicate namespaces removed.

The functionality of this function differs slightly from that of Mappings.reorderNamespaces, in that this function acts as a filter, which means that order will be preserved as is present in this Mappings, and if some namespace in allowed does not exist, no error will be thrown.

Samples

import com.grappenmaker.mappings.*
 import com.grappenmaker.mappings.Mappings
 import kotlin.test.*
 
 fun main() { 
    //sampleStart 
    val mappings = GenericMappings(
-    namespaces = listOf("official", "intermediary", "named"),
+    namespaces = listOf("official", "intermediary", "named"),
     classes = listOf(MappedClass(
-        names = listOf("a", "b", "c"),
+        names = listOf("a", "b", "c"),
     ))
 )
 
-val filtered = mappings.filterNamespaces("named", "official", "another")
+val filtered = mappings.filterNamespaces("named", "official", "another")
 assertEquals(
     GenericMappings(
-        namespaces = listOf("official", "named"),
+        namespaces = listOf("official", "named"),
         classes = listOf(MappedClass(
-            names = listOf("a", "c"),
+            names = listOf("a", "c"),
         ))
     ), filtered
 ) 
@@ -115,12 +112,11 @@ 

filterNamespaces

+ diff --git a/docs/mappings-util/com.grappenmaker.mappings/index.html b/docs/mappings-util/com.grappenmaker.mappings/index.html index 8e4b9c9..7278856 100644 --- a/docs/mappings-util/com.grappenmaker.mappings/index.html +++ b/docs/mappings-util/com.grappenmaker.mappings/index.html @@ -1,10 +1,9 @@ - + com.grappenmaker.mappings - - + - - + + - - - - - - - + + + + + +
-
- +
+

Package-level declarations

@@ -71,827 +68,827 @@

Package-level declaratio

Types

-
-
+
+
- - + +
Link copied to clipboard
-
data class AccessedClass(val mask: AccessMask, val methods: Map<MemberIdentifier, AccessMask>, val fields: Map<MemberIdentifier, AccessMask>)
+
data class AccessedClass(val mask: AccessMask, val methods: Map<MemberIdentifier, AccessMask>, val fields: Map<MemberIdentifier, AccessMask>)
- -
+ +
- - + +
Link copied to clipboard
-
data class AccessedMember(val owner: String, val name: String, val desc: String)

Represents a field or method that is being widened

+
data class AccessedMember(val owner: String, val name: String, val desc: String)

Represents a field or method that is being widened

- -
+ +
- - + +
Link copied to clipboard
-
value class AccessMask(val value: Int) : Iterable<AccessType>

A bitmask representing a set of AccessTypes

+
value class AccessMask(val value: Int) : Iterable<AccessType>

A bitmask representing a set of AccessTypes

- -
+ +
- - + +
Link copied to clipboard
-

A type of access that can be "widened" on a class, field or method

+

A type of access that can be "widened" on a class, field or method

- -
+ +
- - + +
Link copied to clipboard
-
data class AccessWidener(val version: Int, val namespace: String, val classes: Map<String, AccessMask>, val methods: Map<AccessedMember, AccessMask>, val fields: Map<AccessedMember, AccessMask>)

Represents an access widener file

+
data class AccessWidener(val version: Int, val namespace: String, val classes: Map<String, AccessMask>, val methods: Map<AccessedMember, AccessMask>, val fields: Map<AccessedMember, AccessMask>)

Represents an access widener file

- -
+ +
- - + +
Link copied to clipboard
-
data class AccessWidenerTree(val namespace: String, val classes: Map<String, AccessedClass>)

A tree-like structure that is easier to use when access widening one or more classes

+
data class AccessWidenerTree(val namespace: String, val classes: Map<String, AccessedClass>)

A tree-like structure that is easier to use when access widening one or more classes

- -
+ +
- - + +
Link copied to clipboard
-

ClassVisitor that can handle access widening tasks

+

ClassVisitor that can handle access widening tasks

- -
+ +
- - + +
Link copied to clipboard
-
typealias ClasspathLoader = (name: String) -> ByteArray?

An alias for a function that returns class file buffers given an internal/JVMS class name

+
typealias ClasspathLoader = (name: String) -> ByteArray?

An alias for a function that returns class file buffers given an internal/JVMS class name

- -
+ +
- - + +
Link copied to clipboard
-

Provides default implementations for the classpath loaders in MappingsRemapper

+

Provides default implementations for the classpath loaders in MappingsRemapper

- -
+ +
- +
Link copied to clipboard
-
sealed interface Commented

Represents any entity that can have comments (commonly used in Tiny mappings)

+
sealed interface Commented

Represents any entity that can have comments (commonly used in Tiny mappings)

- -
+ +
- - + +
Link copied to clipboard
-
data class CompactedMappings(val namespaces: List<String>, val classes: List<MappedClass>, val version: Int = 2) : Mappings

Represents a compacted mappings file. See CompactedMappingsFormat

+
data class CompactedMappings(val namespaces: List<String>, val classes: List<MappedClass>, val version: Int = 2) : Mappings

Represents a compacted mappings file. See CompactedMappingsFormat

- -
+ +
- - + +
Link copied to clipboard
-

Represents the compacted mappings format. Note: this does not support the usual MappingsFormat capability, since this is the only mappings format that has a binary representation. Compacted mappings should be explicitly handled through this object

+

Represents the compacted mappings format. Note: this does not support the usual MappingsFormat capability, since this is the only mappings format that has a binary representation. Compacted mappings should be explicitly handled through this object

- -
+ +
- +
Link copied to clipboard
-
data class CSRGMappings(val classes: List<MappedClass>) : Mappings

Represents a CSRG Mappings file

+
data class CSRGMappings(val classes: List<MappedClass>) : Mappings

Represents a CSRG Mappings file

- -
+ +
- - + +
Link copied to clipboard
-

Represents the CSRG mappings format

+

Represents the CSRG mappings format

- -
+ +
- - + +
Link copied to clipboard
-
data object EmptyMappings : Mappings

Represents an empty mappings object, with no data.

+
data object EmptyMappings : Mappings

Represents an empty mappings object, with no data.

- -
+ +
- - + +
Link copied to clipboard
-
data class EnigmaMappings(val classes: List<MappedClass>) : Mappings

Represents either an enigma mappings file

+
data class EnigmaMappings(val classes: List<MappedClass>) : Mappings

Represents either an enigma mappings file

- -
+ +
- - + +
Link copied to clipboard
-

Represents the enigma mappings format

+

Represents the enigma mappings format

- -
+ +
- - + +
Link copied to clipboard
-
annotation class ExperimentalJarRemapper

Marker annotation that declares that the annotated type is experimental Jar Remapper API

+
annotation class ExperimentalJarRemapper

Marker annotation that declares that the annotated type is experimental Jar Remapper API

- -
+ +
- - + +
Link copied to clipboard
-
data class GenericMappings(val namespaces: List<String>, val classes: List<MappedClass>) : Mappings

Represents a generic type of mapping that is not deserialized from anything, nor can be serialized to a mappings file. It does not carry format-specific metadata, and is used as an intermediate value for transforming mappings.

+
data class GenericMappings(val namespaces: List<String>, val classes: List<MappedClass>) : Mappings

Represents a generic type of mapping that is not deserialized from anything, nor can be serialized to a mappings file. It does not carry format-specific metadata, and is used as an intermediate value for transforming mappings.

- -
+ +
- - + +
Link copied to clipboard
-

Represents an entry point for tasks like remapping and transformations to gather inheritance information from the classpath. Its simple design allows implementations to fetch information from different kinds of resources, like the classpath (see LoaderInheritanceProvider).

+

Represents an entry point for tasks like remapping and transformations to gather inheritance information from the classpath. Its simple design allows implementations to fetch information from different kinds of resources, like the classpath (see LoaderInheritanceProvider).

- -
+ +
- - + +
Link copied to clipboard
-
fun interface JarClassVisitor

A functional interface that allows users of the JarRemapper to annotate or mutate class files with ASM during remapping

+
fun interface JarClassVisitor

A functional interface that allows users of the JarRemapper to annotate or mutate class files with ASM during remapping

- -
+ +
- - + +
Link copied to clipboard
-

Helper / DSL for creating an JarRemapper

+

Helper / DSL for creating an JarRemapper

- -
+ +
- - + +
Link copied to clipboard
-
annotation class JarRemapperDSL

Marker annotation that declares that a certain type is part of the jar remapper DSL

+
annotation class JarRemapperDSL

Marker annotation that declares that a certain type is part of the jar remapper DSL

- -
+ +
- - + +
Link copied to clipboard
-
data class JarRemapTask(val input: Path, val output: Path, val fromNamespace: String, val toNamespace: String)

A data structure that specifies what the JarRemapper should do with a specific jar file

+
data class JarRemapTask(val input: Path, val output: Path, val fromNamespace: String, val toNamespace: String)

A data structure that specifies what the JarRemapper should do with a specific jar file

- -
+ +
- - + +
Link copied to clipboard
-
fun interface JarResourceVisitor

A functional interface that allows users of the JarRemapper to annotate or mutate resources in jar files that are not classes

+
fun interface JarResourceVisitor

A functional interface that allows users of the JarRemapper to annotate or mutate resources in jar files that are not classes

- -
+ +
- - + +
Link copied to clipboard
-

A MethodRemapper that is aware of the remapping of Invoke Dynamic instructions for lambdas.

+

A MethodRemapper that is aware of the remapping of Invoke Dynamic instructions for lambdas.

- -
+ +
- - + +
Link copied to clipboard
-
open class LambdaAwareRemapper(parent: ClassVisitor, remapper: Remapper) : ClassRemapper

A ClassRemapper that is aware of the remapping of Invoke Dynamic instructions for lambdas.

+
open class LambdaAwareRemapper(parent: ClassVisitor, remapper: Remapper) : ClassRemapper

A ClassRemapper that is aware of the remapping of Invoke Dynamic instructions for lambdas.

- -
+ +
- - + +
Link copied to clipboard
-

An InheritanceProvider that delegates to a ClasspathLoader, loader, to extract inheritance information

+

An InheritanceProvider that delegates to a ClasspathLoader, loader, to extract inheritance information

- -
+ +
- - + +
Link copied to clipboard
-
open class LoaderSimpleRemapper(map: Map<String, String>, inheritanceProvider: InheritanceProvider, memoizeInheritance: Boolean = true) : Remapper

A Remapper that can use a InheritanceProvider for inheritance information to apply a certain map, that should be in an equivalent format as the one produced by Mappings.asASMMapping.

+
open class LoaderSimpleRemapper(map: Map<String, String>, inheritanceProvider: InheritanceProvider, memoizeInheritance: Boolean = true) : Remapper

A Remapper that can use a InheritanceProvider for inheritance information to apply a certain map, that should be in an equivalent format as the one produced by Mappings.asASMMapping.

- -
+ +
- +
Link copied to clipboard
-
sealed interface Mapped

Represents any entity that can have different mapped names

+
sealed interface Mapped

Represents any entity that can have different mapped names

- -
+ +
- - + +
Link copied to clipboard
-
data class MappedClass(val names: List<String>, val comments: List<String> = emptyList(), val fields: List<MappedField> = emptyList(), val methods: List<MappedMethod> = emptyList()) : Mapped, Commented

Represents a mapped class (containing fields and methods)

+
data class MappedClass(val names: List<String>, val comments: List<String> = emptyList(), val fields: List<MappedField> = emptyList(), val methods: List<MappedMethod> = emptyList()) : Mapped, Commented

Represents a mapped class (containing fields and methods)

- -
+ +
- - + +
Link copied to clipboard
-
data class MappedField(val names: List<String>, val comments: List<String> = emptyList(), val desc: String?) : Mapped, Commented

Represents a mapped field

+
data class MappedField(val names: List<String>, val comments: List<String> = emptyList(), val desc: String?) : Mapped, Commented

Represents a mapped field

- -
+ +
- - + +
Link copied to clipboard
-
data class MappedLocal(val index: Int, val startOffset: Int, val lvtIndex: Int, val names: List<String>) : Mapped

Represents a mapped local variable. This is different to a MappedParameter, because it carries data about LVT and usage in the bytecode.

+
data class MappedLocal(val index: Int, val startOffset: Int, val lvtIndex: Int, val names: List<String>) : Mapped

Represents a mapped local variable. This is different to a MappedParameter, because it carries data about LVT and usage in the bytecode.

- -
+ +
- - + +
Link copied to clipboard
-
data class MappedMethod(val names: List<String>, val comments: List<String> = emptyList(), val desc: String, val parameters: List<MappedParameter> = emptyList(), val variables: List<MappedLocal> = emptyList()) : Mapped, Commented

Represents a mapped method

+
data class MappedMethod(val names: List<String>, val comments: List<String> = emptyList(), val desc: String, val parameters: List<MappedParameter> = emptyList(), val variables: List<MappedLocal> = emptyList()) : Mapped, Commented

Represents a mapped method

- -
+ +
- - + +
Link copied to clipboard
-
data class MappedParameter(val names: List<String>, val index: Int) : Mapped

Represents a mapped parameter of a MappedMethod, which is different from a MappedLocal (see docs)

+
data class MappedParameter(val names: List<String>, val index: Int) : Mapped

Represents a mapped parameter of a MappedMethod, which is different from a MappedLocal (see docs)

- -
+ +
- +
Link copied to clipboard
-
sealed interface Mappings

Represents any type of mappings. The names in all of the Mapped entities are in the order of the namespaces, and should have equal length arrays.

+
sealed interface Mappings

Represents any type of mappings. The names in all of the Mapped entities are in the order of the namespaces, and should have equal length arrays.

- -
+ +
- - + +
Link copied to clipboard
-
sealed interface MappingsFormat<T : Mappings>

Represents a generic mappings format

+
sealed interface MappingsFormat<T : Mappings>

Represents a generic mappings format

- -
+ +
- - + +
Link copied to clipboard
-

The entry point for loading Mappings.

+

The entry point for loading Mappings.

- -
+ +
- - + +
Link copied to clipboard
-
class MappingsRemapper(val mappings: Mappings, val from: String, val to: String, loader: ClasspathLoader) : LoaderSimpleRemapper

A Remapper for Mappings, which is capable of using inheritance information from classes (the implementor may choose to cache them) to resolve mapping data.

+
class MappingsRemapper(val mappings: Mappings, val from: String, val to: String, loader: ClasspathLoader) : LoaderSimpleRemapper

A Remapper for Mappings, which is capable of using inheritance information from classes (the implementor may choose to cache them) to resolve mapping data.

- -
+ +
- - + +
Link copied to clipboard
-
data class MemberIdentifier(val name: String, val desc: String)

Similar to AccessedMember, but without an owner field. Used in an AccessedClass

+
data class MemberIdentifier(val name: String, val desc: String)

Similar to AccessedMember, but without an owner field. Used in an AccessedClass

- -
+ +
- - + +
Link copied to clipboard
-

An InheritanceProvider that delegates to another given InheritanceProvider, delegate, and remembers its results.

+

An InheritanceProvider that delegates to another given InheritanceProvider, delegate, and remembers its results.

- -
+ +
- - + +
Link copied to clipboard
-
data class ProguardMappings(val classes: List<MappedClass>, val comments: List<String> = emptyList()) : Mappings, Commented

Represents Proguard debug deobfuscation mappings. Note that Proguard only supports two mappings namespaces. Line number information is ignored by the parser.

+
data class ProguardMappings(val classes: List<MappedClass>, val comments: List<String> = emptyList()) : Mappings, Commented

Represents Proguard debug deobfuscation mappings. Note that Proguard only supports two mappings namespaces. Line number information is ignored by the parser.

- -
+ +
- - + +
Link copied to clipboard
-

Implements the Proguard mappings format, disregarding line number information, which is written as 1:1 when serialized.

+

Implements the Proguard mappings format, disregarding line number information, which is written as 1:1 when serialized.

- -
+ +
- - + +
Link copied to clipboard
-
data class RecafMappings(val classes: List<MappedClass>) : Mappings

Represents a Recaf Mappings file

+
data class RecafMappings(val classes: List<MappedClass>) : Mappings

Represents a Recaf Mappings file

- -
+ +
- - + +
Link copied to clipboard
-

Represents the Recaf mappings format

+

Represents the Recaf mappings format

- -
+ +
- +
Link copied to clipboard
-
data class SRGMappings(val classes: List<MappedClass>, val isExtended: Boolean) : Mappings

Represent any type of SRG mappings, whether this data structure represents XSRG or regular SRG is governed by isExtended.

+
data class SRGMappings(val classes: List<MappedClass>, val isExtended: Boolean) : Mappings

Represent any type of SRG mappings, whether this data structure represents XSRG or regular SRG is governed by isExtended.

- -
+ +
- - + +
Link copied to clipboard
-

Represents the SRG mappings format

+

Represents the SRG mappings format

- -
+ +
- - + +
Link copied to clipboard
-
data class TinyMappings(val namespaces: List<String>, val classes: List<MappedClass>, val isV2: Boolean) : Mappings

Represents either a tiny v1 or a tiny v2 mappings file, which does not have a definition anywhere. The serialization method of these mappings is governed by isV2

+
data class TinyMappings(val namespaces: List<String>, val classes: List<MappedClass>, val isV2: Boolean) : Mappings

Represents either a tiny v1 or a tiny v2 mappings file, which does not have a definition anywhere. The serialization method of these mappings is governed by isV2

- -
+ +
- - + +
Link copied to clipboard
-

Represents the Tiny v1 mappings format

+

Represents the Tiny v1 mappings format

- -
+ +
- - + +
Link copied to clipboard
-

Represents the Tiny v2 mappings format

+

Represents the Tiny v2 mappings format

- -
+ +
- - + +
Link copied to clipboard
-

Convenience interface for parameterizing writing tiny mappings

+

Convenience interface for parameterizing writing tiny mappings

- -
+ +
- +
Link copied to clipboard
-
data class TSRGMappings(val namespaces: List<String>, val classes: List<MappedClass>, val isV2: Boolean) : Mappings

Represents either a TSRG v1 or a TSRG v2 mappings file, which does not have a definition anywhere. The serialization method of these mappings is governed by isV2

+
data class TSRGMappings(val namespaces: List<String>, val classes: List<MappedClass>, val isV2: Boolean) : Mappings

Represents either a TSRG v1 or a TSRG v2 mappings file, which does not have a definition anywhere. The serialization method of these mappings is governed by isV2

- -
+ +
- - + +
Link copied to clipboard
-

Represents the TSRG v1 mappings format

+

Represents the TSRG v1 mappings format

- -
+ +
- - + +
Link copied to clipboard
-

Represents the TSRG v2 mappings format

+

Represents the TSRG v2 mappings format

- -
+ +
- - + +
Link copied to clipboard
-

Represents the XSRG mappings format

+

Represents the XSRG mappings format

@@ -900,32 +897,32 @@

Types

Properties

-
-
+
+
- +
Link copied to clipboard
-
const val INHERITABLE_MASK: Int = 26

Represents the bitmask of access flags that a member may not have to be considered inheritable, see InheritanceProvider.getDeclaredMethods

+
const val INHERITABLE_MASK: Int = 26

Represents the bitmask of access flags that a member may not have to be considered inheritable, see InheritanceProvider.getDeclaredMethods

- -
+ +
- - + +
Link copied to clipboard
-

Whether a given Type represents a JVM primitive type

+

Whether a given Type represents a JVM primitive type

@@ -934,692 +931,692 @@

Properties

Functions

-
-
+
+
- - + +
Link copied to clipboard
- -
+ +
- - + +
Link copied to clipboard
-
fun Mappings.asASMMapping(from: String, to: String, includeMethods: Boolean = true, includeFields: Boolean = true): Map<String, String>

Returns a simple mapping representing all of the Mappings, mapping between the namespaces from and to. If includeMethods is true, then methods will be included in the mapping. If includeFields is true, then fields will be included in the mapping.

+
fun Mappings.asASMMapping(from: String, to: String, includeMethods: Boolean = true, includeFields: Boolean = true): Map<String, String>

Returns a simple mapping representing all of the Mappings, mapping between the namespaces from and to. If includeMethods is true, then methods will be included in the mapping. If includeFields is true, then fields will be included in the mapping.

- -
+ +
- - + +
Link copied to clipboard
- -
+ +
- - + +
Link copied to clipboard
- -
+ + - -
+ + - -
+ +
- - + +
Link copied to clipboard
-

Wraps this into a InheritanceProvider that uses this to extract inheritance information

+

Wraps this into a InheritanceProvider that uses this to extract inheritance information

- -
+ + - -
+ +
- - + +
Link copied to clipboard
- -
+ +
- - + +
Link copied to clipboard
-

Shorthand for converting SRGMappings to a SimpleRemapper.

Returns an asm SimpleRemapper for remapping references between namespaces from and to disregarding inheritance and lambdas. For proper remapping, you should use the MappingsRemapper.

+

Shorthand for converting SRGMappings to a SimpleRemapper.

Returns an asm SimpleRemapper for remapping references between namespaces from and to disregarding inheritance and lambdas. For proper remapping, you should use the MappingsRemapper.

- -
+ +
- - + +
Link copied to clipboard
-

Converts these Mappings to SRGMappings, enabling XSRG when extended is true.

+

Converts these Mappings to SRGMappings, enabling XSRG when extended is true.

- -
+ +
- - + +
Link copied to clipboard
-

Converts these Mappings to TinyMappings, enabling Tiny v2 when v2 is true.

+

Converts these Mappings to TinyMappings, enabling Tiny v2 when v2 is true.

- -
+ +
- - + +
Link copied to clipboard
-

Converts these Mappings to TSRGMappings, enabling TSRG v2 when v2 is true.

+

Converts these Mappings to TSRGMappings, enabling TSRG v2 when v2 is true.

- -
+ +
- - + +
Link copied to clipboard
-

Removes all duplicate namespace usages in this Mappings.

+

Removes all duplicate namespace usages in this Mappings.

- -
+ +
- - + +
Link copied to clipboard
-

Transforms this Mappings structure to a generic mappings implementation that maps between from and to.

+

Transforms this Mappings structure to a generic mappings implementation that maps between from and to.

- -
+ +
- - + +
Link copied to clipboard
-
inline fun Mappings.filterClasses(predicate: (MappedClass) -> Boolean): Mappings

Filters classes matching the predicate

+
inline fun Mappings.filterClasses(predicate: (MappedClass) -> Boolean): Mappings

Filters classes matching the predicate

- -
+ +
- - + +
Link copied to clipboard
-
inline fun Mappings.filterMethods(predicate: (owner: MappedClass, method: MappedMethod) -> Boolean): Mappings

Filters methods matching the predicate

+
inline fun Mappings.filterMethods(predicate: (owner: MappedClass, method: MappedMethod) -> Boolean): Mappings

Filters methods matching the predicate

- -
+ +
- - + +
Link copied to clipboard
-
fun Mappings.filterNamespaces(vararg allowed: String, allowDuplicates: Boolean = false): Mappings
fun Mappings.filterNamespaces(allowed: Set<String>, allowDuplicates: Boolean = false): Mappings

Filters these Mappings to only contain namespaces that are in allowed. If allowDuplicates is true, the returned Mappings will also have duplicate namespaces removed.

inline fun Mappings.filterNamespaces(allowDuplicates: Boolean = false, predicate: (String) -> Boolean): Mappings

Filters these Mappings to only contain namespaces for which the predicate returns true. If allowDuplicates is true, the returned Mappings will also have duplicate namespaces removed.

+
fun Mappings.filterNamespaces(vararg allowed: String, allowDuplicates: Boolean = false): Mappings
fun Mappings.filterNamespaces(allowed: Set<String>, allowDuplicates: Boolean = false): Mappings

Filters these Mappings to only contain namespaces that are in allowed. If allowDuplicates is true, the returned Mappings will also have duplicate namespaces removed.

inline fun Mappings.filterNamespaces(allowDuplicates: Boolean = false, predicate: (String) -> Boolean): Mappings

Filters these Mappings to only contain namespaces for which the predicate returns true. If allowDuplicates is true, the returned Mappings will also have duplicate namespaces removed.

- -
+ +
- - + +
Link copied to clipboard
-

Returns whether the methods represented by this MappedMethod is a data method, that is, if this method is hashCode, toString, equals or an initializer, like a constructor or init {} block (this means that the jvm names are and , respectively)

+

Returns whether the methods represented by this MappedMethod is a data method, that is, if this method is hashCode, toString, equals or an initializer, like a constructor or init {} block (this means that the jvm names are and , respectively)

- -
+ +
- +
Link copied to clipboard
-

Converts some sort of collection of AccessMasks to a resultant AccessMask combining them

Combines AccessWideners using the AccessWidener.plus operator, producing a new AccessWidener that, when applied, produces the same result as applying all of the wideners sequentially. If this Iterable would be considered empty (its Iterator.hasNext would return false on the first iteration), IllegalArgumentException is thrown

Combines this sequence of AccessWideners using the AccessWidener.plus operator, producing a new AccessWidener that, when applied, produces the same result as applying all of the wideners sequentially. If this Sequence would be considered empty, IllegalArgumentException is thrown

fun Iterable<Mappings>.join(intermediateNamespace: String, requireMatch: Boolean = false): Mappings

Joins together an Iterable of Mappings, producing new Mappings that contain all entries from all Mappings. Note: all namespaces are kept, in order to be able to reduce the mappings nicely without a lot of overhead. If you want to exclude certain namespaces, use Mappings.filterNamespaces. If this Iterable would be considered empty (its Iterator.hasNext would return false on the first iteration), EmptyMappings is returned.

fun Mappings.join(otherMappings: Mappings, intermediateNamespace: String, requireMatch: Boolean = false): Mappings

Joins together this Mappings with otherMappings, by matching on intermediateNamespace, producing new Mappings that contain all entries from this Mappings and otherMappings. If requireMatch is true, this method will throw an exception when no method or field or class is found

+

Converts some sort of collection of AccessMasks to a resultant AccessMask combining them

Combines AccessWideners using the AccessWidener.plus operator, producing a new AccessWidener that, when applied, produces the same result as applying all of the wideners sequentially. If this Iterable would be considered empty (its Iterator.hasNext would return false on the first iteration), IllegalArgumentException is thrown

Combines this sequence of AccessWideners using the AccessWidener.plus operator, producing a new AccessWidener that, when applied, produces the same result as applying all of the wideners sequentially. If this Sequence would be considered empty, IllegalArgumentException is thrown

fun Iterable<Mappings>.join(intermediateNamespace: String, requireMatch: Boolean = false): Mappings

Joins together an Iterable of Mappings, producing new Mappings that contain all entries from all Mappings. Note: all namespaces are kept, in order to be able to reduce the mappings nicely without a lot of overhead. If you want to exclude certain namespaces, use Mappings.filterNamespaces. If this Iterable would be considered empty (its Iterator.hasNext would return false on the first iteration), EmptyMappings is returned.

fun Mappings.join(otherMappings: Mappings, intermediateNamespace: String, requireMatch: Boolean = false): Mappings

Joins together this Mappings with otherMappings, by matching on intermediateNamespace, producing new Mappings that contain all entries from this Mappings and otherMappings. If requireMatch is true, this method will throw an exception when no method or field or class is found

- -
+ +
- - + +
Link copied to clipboard
-

Reads a file represented by lines (an iterator of every line in an access widener file) as an AccessWidener

Reads a file represented by lines as an AccessWidener

+

Reads a file represented by lines (an iterator of every line in an access widener file) as an AccessWidener

Reads a file represented by lines as an AccessWidener

- -
+ +
- +
Link copied to clipboard
-
fun Type.map(names: Map<String, String>): Type

Remaps a given Type, using a map of class names

fun Type.map(remapper: Remapper): Type

Remaps a given Type using a given remapper

+
fun Type.map(names: Map<String, String>): Type

Remaps a given Type, using a map of class names

fun Type.map(remapper: Remapper): Type

Remaps a given Type using a given remapper

- -
+ +
- - + +
Link copied to clipboard
-

Maps classes according to the given block

+

Maps classes according to the given block

- -
+ +
- - + +
Link copied to clipboard
-
fun mapDesc(desc: String, names: Map<String, String>): String

Remaps a given descriptor desc, using a map of class names

+
fun mapDesc(desc: String, names: Map<String, String>): String

Remaps a given descriptor desc, using a map of class names

- -
+ +
- - + +
Link copied to clipboard
-
fun mapMethodDesc(desc: String, names: Map<String, String>): String

Remaps a given method descriptor desc, using a map of class names

+
fun mapMethodDesc(desc: String, names: Map<String, String>): String

Remaps a given method descriptor desc, using a map of class names

- -
+ +
- - + +
Link copied to clipboard
-
inline fun Mappings.mapMethods(block: (owner: MappedClass, method: MappedMethod) -> MappedMethod): Mappings

Maps methods according to the given block

+
inline fun Mappings.mapMethods(block: (owner: MappedClass, method: MappedMethod) -> MappedMethod): Mappings

Maps methods according to the given block

- -
+ +
- +
Link copied to clipboard
-

Wraps this into a new provider that remembers the results of calls

Composes this to a new classpath loader, that caches the results of this

+

Wraps this into a new provider that remembers the results of calls

Composes this to a new classpath loader, that caches the results of this

- -
+ +
- - + +
Link copied to clipboard
-

Composes this to a new classpath loader, that caches the results of this inside of a given memo

+

Composes this to a new classpath loader, that caches the results of this inside of a given memo

- -
+ +
- +
Link copied to clipboard
-

Returns the index of a namespace named name, but throws an IllegalStateException when name is not in the Mappings.namespaces.

+

Returns the index of a namespace named name, but throws an IllegalStateException when name is not in the Mappings.namespaces.

- -
+ +
- +
Link copied to clipboard
-

Parses lines (a Sequence of lines in a mappings file) into a mappings data structure. Throws an IllegalStateException when lines is not a valid input for this mappings format.

+

Parses lines (a Sequence of lines in a mappings file) into a mappings data structure. Throws an IllegalStateException when lines is not a valid input for this mappings format.

- -
+ +
- - + +
Link copied to clipboard
-
inline suspend fun performRemap(builder: JarRemapper.() -> Unit)

Performs a remap using JarRemapper.perform. Configuration for it can be provided in the builder

+
inline suspend fun performRemap(builder: JarRemapper.() -> Unit)

Performs a remap using JarRemapper.perform. Configuration for it can be provided in the builder

- -
+ +
- +
Link copied to clipboard
-

Combines this AccessWidener with other, returning a new access widener that, when applied, produces the same result as applying one widener and then the other.

+

Combines this AccessWidener with other, returning a new access widener that, when applied, produces the same result as applying one widener and then the other.

- -
+ +
- - + +
Link copied to clipboard
-

See recoverFieldDescriptors. file is a jar file resource (caller is responsible for closing it) that contains the classes that are referenced in the generic overload.

fun Mappings.recoverFieldDescriptors(bytesProvider: (name: String) -> ByteArray?): Mappings

Attempts to recover field descriptors that are missing because the original mappings format did not specify them. bytesProvider is responsible for providing all of the classes that might be referenced in this Mappings object, such that the descriptors can be recovered based on named (fields can be uniquely identified by an owner-name pair). When field descriptors were not found, field mappings will not be passed onto the new Mappings as field mappings without descriptors will be considered invalid.

@JvmName(name = "recoverDescsByNode")
fun Mappings.recoverFieldDescriptors(nodeProvider: (name: String) -> ClassNode?): Mappings

Attempts to recover field descriptors that are missing because the original mappings format did not specify them. nodeProvider is responsible for providing all of the ClassNodes that might be referenced in this Mappings object, such that the descriptors can be recovered based on named (fields can be uniquely identified by an owner-name pair). When field descriptors were not found, field mappings will not be passed onto the new Mappings as field mappings without descriptors will be considered invalid.

+

See recoverFieldDescriptors. file is a jar file resource (caller is responsible for closing it) that contains the classes that are referenced in the generic overload.

fun Mappings.recoverFieldDescriptors(bytesProvider: (name: String) -> ByteArray?): Mappings

Attempts to recover field descriptors that are missing because the original mappings format did not specify them. bytesProvider is responsible for providing all of the classes that might be referenced in this Mappings object, such that the descriptors can be recovered based on named (fields can be uniquely identified by an owner-name pair). When field descriptors were not found, field mappings will not be passed onto the new Mappings as field mappings without descriptors will be considered invalid.

@JvmName(name = "recoverDescsByNode")
fun Mappings.recoverFieldDescriptors(nodeProvider: (name: String) -> ClassNode?): Mappings

Attempts to recover field descriptors that are missing because the original mappings format did not specify them. nodeProvider is responsible for providing all of the ClassNodes that might be referenced in this Mappings object, such that the descriptors can be recovered based on named (fields can be uniquely identified by an owner-name pair). When field descriptors were not found, field mappings will not be passed onto the new Mappings as field mappings without descriptors will be considered invalid.

- -
+ +
- +
Link copied to clipboard
-

Remaps an array of lists of annotations, which is typically used to represent parameter annotations

Remaps a list of annotations, which is typically used to represent a set of annotations that are applied / present on a parameter, field, method, or class

Remaps an AnnotationNode using a given remapper

fun AccessWidener.remap(mappings: Mappings, toNamespace: String): AccessWidener

Remaps this AccessWidener using mappings to a new namespace toNamespace to produce a new AccessWidener

fun AccessWidener.remap(remapper: Remapper, toNamespace: String): AccessWidener

Remaps this AccessWidener using a remapper to a new namespace toNamespace to produce a new AccessWidener

fun AbstractInsnNode.remap(remapper: Remapper, lambdaAware: Boolean = true)

Utility that can apply a Remapper to an AbstractInsnNode, remapping it in place. If lambdaAware is true, the remapping will behave like a LambdaAwareRemapper

fun ClassNode.remap(remapper: Remapper, lambdaAware: Boolean = true)

Utility that can apply a Remapper to a ClassNode, remapping it in place. If lambdaAware is true, the remapping will behave like a LambdaAwareRemapper

fun FieldNode.remap(ownerName: String, remapper: Remapper)

Utility that can apply a Remapper to a FieldNode inside of an owner represented by ownerName, remapping it in place

fun MethodNode.remap(ownerName: String, remapper: Remapper, lambdaAware: Boolean = true)

Utility that can apply a Remapper to a MethodNode inside of an owner represented by ownerName, remapping it in place. If lambdaAware is true, the remapping will behave like a LambdaAwareRemapper

+

Remaps an array of lists of annotations, which is typically used to represent parameter annotations

Remaps a list of annotations, which is typically used to represent a set of annotations that are applied / present on a parameter, field, method, or class

Remaps an AnnotationNode using a given remapper

fun AccessWidener.remap(mappings: Mappings, toNamespace: String): AccessWidener

Remaps this AccessWidener using mappings to a new namespace toNamespace to produce a new AccessWidener

fun AccessWidener.remap(remapper: Remapper, toNamespace: String): AccessWidener

Remaps this AccessWidener using a remapper to a new namespace toNamespace to produce a new AccessWidener

fun AbstractInsnNode.remap(remapper: Remapper, lambdaAware: Boolean = true)

Utility that can apply a Remapper to an AbstractInsnNode, remapping it in place. If lambdaAware is true, the remapping will behave like a LambdaAwareRemapper

fun ClassNode.remap(remapper: Remapper, lambdaAware: Boolean = true)

Utility that can apply a Remapper to a ClassNode, remapping it in place. If lambdaAware is true, the remapping will behave like a LambdaAwareRemapper

fun FieldNode.remap(ownerName: String, remapper: Remapper)

Utility that can apply a Remapper to a FieldNode inside of an owner represented by ownerName, remapping it in place

fun MethodNode.remap(ownerName: String, remapper: Remapper, lambdaAware: Boolean = true)

Utility that can apply a Remapper to a MethodNode inside of an owner represented by ownerName, remapping it in place. If lambdaAware is true, the remapping will behave like a LambdaAwareRemapper

- -
+ +
- - + +
Link copied to clipboard
-
fun remapJar(mappings: Mappings, input: File, output: File, from: String = "official", to: String = "named", loader: ClasspathLoader = { null }, visitor: (parent: ClassVisitor) -> ClassVisitor? = null)

Remaps a .jar file input to an output file, using mappings, between namespaces from and to. If inheritance info from external sources matters, you should pass a classpath loader. If additional class processing is required, an additional visitor can be passed.

fun remapJar(mappings: Mappings, input: File, output: File, from: String = "official", to: String = "named", files: List<File>, visitor: (parent: ClassVisitor) -> ClassVisitor = { it })

This function provides a shorthand for remapJar when using physical files representing a classpath, and also takes cares of delegating to the system loader if necessary.

+
fun remapJar(mappings: Mappings, input: File, output: File, from: String = "official", to: String = "named", loader: ClasspathLoader = { null }, visitor: (parent: ClassVisitor) -> ClassVisitor? = null)

Remaps a .jar file input to an output file, using mappings, between namespaces from and to. If inheritance info from external sources matters, you should pass a classpath loader. If additional class processing is required, an additional visitor can be passed.

fun remapJar(mappings: Mappings, input: File, output: File, from: String = "official", to: String = "named", files: List<File>, visitor: (parent: ClassVisitor) -> ClassVisitor = { it })

This function provides a shorthand for remapJar when using physical files representing a classpath, and also takes cares of delegating to the system loader if necessary.

- -
+ +
- +
Link copied to clipboard
-

Composes this to create a new classpath loader, that maps bytes given by this using a remapper

+

Composes this to create a new classpath loader, that maps bytes given by this using a remapper

- -
+ +
- - + +
Link copied to clipboard
-

Composes this to create a new classpath loader, that maps names before passing them to this between namespaces from and to using given mappings. It also alters the returned class file's class name references to match the to namespace. Method and field names remain untouched.

+

Composes this to create a new classpath loader, that maps names before passing them to this between namespaces from and to using given mappings. It also alters the returned class file's class name references to match the to namespace. Method and field names remain untouched.

- -
+ +
- - + +
Link copied to clipboard
-

Returns new Mappings that are identical to these Mappings, except the comments will be removed

+

Returns new Mappings that are identical to these Mappings, except the comments will be removed

- -
+ +
- - + +
Link copied to clipboard
-
fun Mappings.removeRedundancy(inheritanceProvider: InheritanceProvider, removeDuplicateMethods: Boolean = false): Mappings

Removes redundant or straight up incorrect data from this Mappings object, by looking at the inheritance information present in class files, presented by the inheritanceProvider.

fun Mappings.removeRedundancy(file: JarFile, removeDuplicateMethods: Boolean = false): Mappings

See removeRedundancy. file is a jar file resource (caller is responsible for closing it) that contains the classes that are referenced in the generic overload. Calls with identical names are being cached by this function, the caller is not responsible for this.

fun Mappings.removeRedundancy(removeDuplicateMethods: Boolean = false, loader: ClasspathLoader): Mappings

Removes redundant or straight up incorrect data from this Mappings object, by looking at the inheritance information present in class files, presented by the loader.

+
fun Mappings.removeRedundancy(inheritanceProvider: InheritanceProvider, removeDuplicateMethods: Boolean = false): Mappings

Removes redundant or straight up incorrect data from this Mappings object, by looking at the inheritance information present in class files, presented by the inheritanceProvider.

fun Mappings.removeRedundancy(file: JarFile, removeDuplicateMethods: Boolean = false): Mappings

See removeRedundancy. file is a jar file resource (caller is responsible for closing it) that contains the classes that are referenced in the generic overload. Calls with identical names are being cached by this function, the caller is not responsible for this.

fun Mappings.removeRedundancy(removeDuplicateMethods: Boolean = false, loader: ClasspathLoader): Mappings

Removes redundant or straight up incorrect data from this Mappings object, by looking at the inheritance information present in class files, presented by the loader.

- -
+ +
- - + +
Link copied to clipboard
-

Swaps out the names for the namespaces in this Mappings data structure.

+

Swaps out the names for the namespaces in this Mappings data structure.

- -
+ +
- - + +
Link copied to clipboard
-

Swaps out the names for the namespaces in this Mappings data structure, by reordering. Duplicate names are allowed, in which case mapped entries are duplicated to fit the new order. If a name in Mappings.namespaces does not appear in order, its mapping entries will be missing in the returned Mappings.

Swaps out the names for the namespaces in this Mappings data structure, by reordering. Duplicate names are allowed, in which case mapped entries are duplicated to fit the new order. If a name in Mappings.namespaces does not appear in order, its mapping entries will be missing in the returned Mappings. If a namespace in order does not exist in this Mappings, an IllegalArgumentException will be thrown.

+

Swaps out the names for the namespaces in this Mappings data structure, by reordering. Duplicate names are allowed, in which case mapped entries are duplicated to fit the new order. If a name in Mappings.namespaces does not appear in order, its mapping entries will be missing in the returned Mappings.

Swaps out the names for the namespaces in this Mappings data structure, by reordering. Duplicate names are allowed, in which case mapped entries are duplicated to fit the new order. If a name in Mappings.namespaces does not appear in order, its mapping entries will be missing in the returned Mappings. If a namespace in order does not exist in this Mappings, an IllegalArgumentException will be thrown.

- -
+ +
- - + +
Link copied to clipboard
-

Converts a set of AccessTypes to an AccessMask representing it

+

Converts a set of AccessTypes to an AccessMask representing it

- -
+ +
- - + +
Link copied to clipboard
- -
+ +
- +
Link copied to clipboard
-

Writes this AccessWidener structure to a file representing this AccessWidener

Writes CSRGMappings to a mappings file represented by a list of strings

Writes CompactedMappings as its binary representation

Writes EnigmaMappings to a mappings file represented by a list of strings.

Writes ProguardMappings to a mappings file represented by a list of strings

Writes RecafMappings to a mappings file represented by a list of strings

Writes SRGMappings to a mappings file represented by a list of strings

Writes TSRGMappings to a mappings file represented by a list of strings

fun TinyMappings.write(compact: Boolean = isV2): List<String>

Writes TinyMappings to a mappings file represented by a list of strings. If compact is set, a more compact format of tiny mappings will be used, see TinyMappingsWriter.write.

+

Writes this AccessWidener structure to a file representing this AccessWidener

Writes CSRGMappings to a mappings file represented by a list of strings

Writes CompactedMappings as its binary representation

Writes EnigmaMappings to a mappings file represented by a list of strings.

Writes ProguardMappings to a mappings file represented by a list of strings

Writes RecafMappings to a mappings file represented by a list of strings

Writes SRGMappings to a mappings file represented by a list of strings

Writes TSRGMappings to a mappings file represented by a list of strings

fun TinyMappings.write(compact: Boolean = isV2): List<String>

Writes TinyMappings to a mappings file represented by a list of strings. If compact is set, a more compact format of tiny mappings will be used, see TinyMappingsWriter.write.

- -
+ +
- - + +
Link copied to clipboard
-

Writes this AccessWidener structure to a lazily generated sequence representing this AccessWidener

Writes CSRGMappings as a lazily evaluated Sequence

Writes EnigmaMappings as a lazily evaluated Sequence.

Writes ProguardMappings as a lazily evaluated Sequence

Writes RecafMappings as a lazily evaluated Sequence

Writes SRGMappings as a lazily evaluated Sequence

Writes TSRGMappings as a lazily evaluated Sequence

Writes TinyMappings as a lazily evaluated Sequence. If compact is set, a more compact format of tiny mappings will be used, see TinyMappingsWriter.write.

+

Writes this AccessWidener structure to a lazily generated sequence representing this AccessWidener

Writes CSRGMappings as a lazily evaluated Sequence

Writes EnigmaMappings as a lazily evaluated Sequence.

Writes ProguardMappings as a lazily evaluated Sequence

Writes RecafMappings as a lazily evaluated Sequence

Writes SRGMappings as a lazily evaluated Sequence

Writes TSRGMappings as a lazily evaluated Sequence

Writes TinyMappings as a lazily evaluated Sequence. If compact is set, a more compact format of tiny mappings will be used, see TinyMappingsWriter.write.

- -
+ +
- - + +
Link copied to clipboard
-

Writes some mappings to an OutputStream as an equivalent representation

+

Writes some mappings to an OutputStream as an equivalent representation

@@ -1630,12 +1627,11 @@

Functions

+ diff --git a/docs/mappings-util/com.grappenmaker.mappings/is-data.html b/docs/mappings-util/com.grappenmaker.mappings/is-data.html index 208539b..dbc97dc 100644 --- a/docs/mappings-util/com.grappenmaker.mappings/is-data.html +++ b/docs/mappings-util/com.grappenmaker.mappings/is-data.html @@ -1,10 +1,9 @@ - + isData - - + - - + + - - - - - - - + + + + + +
-
- +
+
-

isData

+

isData

-

Returns whether the methods represented by this MappedMethod is a data method, that is, if this method is hashCode, toString, equals or an initializer, like a constructor or init {} block (this means that the jvm names are and , respectively)

+

Returns whether the methods represented by this MappedMethod is a data method, that is, if this method is hashCode, toString, equals or an initializer, like a constructor or init {} block (this means that the jvm names are and , respectively)

+ diff --git a/docs/mappings-util/com.grappenmaker.mappings/is-primitive.html b/docs/mappings-util/com.grappenmaker.mappings/is-primitive.html index 54b15ca..9d502b5 100644 --- a/docs/mappings-util/com.grappenmaker.mappings/is-primitive.html +++ b/docs/mappings-util/com.grappenmaker.mappings/is-primitive.html @@ -1,10 +1,9 @@ - + isPrimitive - - + - - + + - - - - - - - + + + + + +
-
- +
+
-

isPrimitive

+

isPrimitive

-

Whether a given Type represents a JVM primitive type

+

Whether a given Type represents a JVM primitive type

+ diff --git a/docs/mappings-util/com.grappenmaker.mappings/join.html b/docs/mappings-util/com.grappenmaker.mappings/join.html index c807683..3b2bf6d 100644 --- a/docs/mappings-util/com.grappenmaker.mappings/join.html +++ b/docs/mappings-util/com.grappenmaker.mappings/join.html @@ -1,10 +1,9 @@ - + join - - + - - + + - - - - - - - + + + + + +
-
- +
+

join

-

Converts some sort of collection of AccessMasks to a resultant AccessMask combining them


Combines AccessWideners using the AccessWidener.plus operator, producing a new AccessWidener that, when applied, produces the same result as applying all of the wideners sequentially. If this Iterable would be considered empty (its Iterator.hasNext would return false on the first iteration), IllegalArgumentException is thrown

Throws


Combines this sequence of AccessWideners using the AccessWidener.plus operator, producing a new AccessWidener that, when applied, produces the same result as applying all of the wideners sequentially. If this Sequence would be considered empty, IllegalArgumentException is thrown

Throws


fun Mappings.join(otherMappings: Mappings, intermediateNamespace: String, requireMatch: Boolean = false): Mappings(source)

Joins together this Mappings with otherMappings, by matching on intermediateNamespace, producing new Mappings that contain all entries from this Mappings and otherMappings. If requireMatch is true, this method will throw an exception when no method or field or class is found

Samples

import com.grappenmaker.mappings.*
+  

Converts some sort of collection of AccessMasks to a resultant AccessMask combining them


Combines AccessWideners using the AccessWidener.plus operator, producing a new AccessWidener that, when applied, produces the same result as applying all of the wideners sequentially. If this Iterable would be considered empty (its Iterator.hasNext would return false on the first iteration), IllegalArgumentException is thrown

Throws


Combines this sequence of AccessWideners using the AccessWidener.plus operator, producing a new AccessWidener that, when applied, produces the same result as applying all of the wideners sequentially. If this Sequence would be considered empty, IllegalArgumentException is thrown

Throws


fun Mappings.join(otherMappings: Mappings, intermediateNamespace: String, requireMatch: Boolean = false): Mappings(source)

Joins together this Mappings with otherMappings, by matching on intermediateNamespace, producing new Mappings that contain all entries from this Mappings and otherMappings. If requireMatch is true, this method will throw an exception when no method or field or class is found

Samples

import com.grappenmaker.mappings.*
 import com.grappenmaker.mappings.Mappings
 import kotlin.test.*
 
 fun main() { 
    //sampleStart 
    val someMappings = GenericMappings(
-    namespaces = listOf("official", "intermediary"),
+    namespaces = listOf("official", "intermediary"),
     classes = listOf(MappedClass(
-        names = listOf("a", "b"),
+        names = listOf("a", "b"),
     ))
 )
 
 val otherMappings = GenericMappings(
-    namespaces = listOf("intermediary", "named"),
+    namespaces = listOf("intermediary", "named"),
     classes = listOf(MappedClass(
-        names = listOf("b", "c"),
+        names = listOf("b", "c"),
     ))
 )
 
-val joined = someMappings.join(otherMappings, intermediateNamespace = "intermediary")
+val joined = someMappings.join(otherMappings, intermediateNamespace = "intermediary")
 
 assertEquals(
     GenericMappings(
-        namespaces = listOf("official", "intermediary", "named"),
+        namespaces = listOf("official", "intermediary", "named"),
         classes = listOf(MappedClass(
-            names = listOf("a", "b", "c"),
+            names = listOf("a", "b", "c"),
         ))
     ), joined
 ) 
    //sampleEnd
-}

fun Iterable<Mappings>.join(intermediateNamespace: String, requireMatch: Boolean = false): Mappings(source)

Joins together an Iterable of Mappings, producing new Mappings that contain all entries from all Mappings. Note: all namespaces are kept, in order to be able to reduce the mappings nicely without a lot of overhead. If you want to exclude certain namespaces, use Mappings.filterNamespaces. If this Iterable would be considered empty (its Iterator.hasNext would return false on the first iteration), EmptyMappings is returned.

The order of these namespaces will be confusing due to the way Mappings.join orders namespaces. Use Mappings.reorderNamespaces to ensure the resulting Mappings will be properly namespaced, if required.

See also

Samples

import com.grappenmaker.mappings.*
+}

fun Iterable<Mappings>.join(intermediateNamespace: String, requireMatch: Boolean = false): Mappings(source)

Joins together an Iterable of Mappings, producing new Mappings that contain all entries from all Mappings. Note: all namespaces are kept, in order to be able to reduce the mappings nicely without a lot of overhead. If you want to exclude certain namespaces, use Mappings.filterNamespaces. If this Iterable would be considered empty (its Iterator.hasNext would return false on the first iteration), EmptyMappings is returned.

The order of these namespaces will be confusing due to the way Mappings.join orders namespaces. Use Mappings.reorderNamespaces to ensure the resulting Mappings will be properly namespaced, if required.

See also

Samples

import com.grappenmaker.mappings.*
 import com.grappenmaker.mappings.Mappings
 import kotlin.test.*
 
 fun main() { 
    //sampleStart 
    val someMappings = GenericMappings(
-    namespaces = listOf("official", "intermediary"),
+    namespaces = listOf("official", "intermediary"),
     classes = listOf(MappedClass(
-        names = listOf("a", "b"),
+        names = listOf("a", "b"),
     ))
 )
 
 val otherMappings = GenericMappings(
-    namespaces = listOf("intermediary", "named"),
+    namespaces = listOf("intermediary", "named"),
     classes = listOf(MappedClass(
-        names = listOf("b", "c"),
+        names = listOf("b", "c"),
     ))
 )
 
 val moreMappings = GenericMappings(
-    namespaces = listOf("intermediary", "obfuscated"),
+    namespaces = listOf("intermediary", "obfuscated"),
     classes = listOf(MappedClass(
-        names = listOf("b", "e"),
+        names = listOf("b", "e"),
     ))
 )
 
-val joined = listOf(someMappings, otherMappings, moreMappings).join(intermediateNamespace = "intermediary")
+val joined = listOf(someMappings, otherMappings, moreMappings).join(intermediateNamespace = "intermediary")
 
 assertEquals(
     GenericMappings(
-        namespaces = listOf("official", "named", "intermediary", "obfuscated"),
+        namespaces = listOf("official", "named", "intermediary", "obfuscated"),
         classes = listOf(MappedClass(
-            names = listOf("a", "c", "b", "e"),
+            names = listOf("a", "c", "b", "e"),
         ))
     ), joined
 )
 
-assertEquals(emptyList<Mappings>().join(intermediateNamespace = "intermediary"), EmptyMappings) 
+assertEquals(emptyList<Mappings>().join(intermediateNamespace = "intermediary"), EmptyMappings) 
    //sampleEnd
 }
+ diff --git a/docs/mappings-util/com.grappenmaker.mappings/load-access-widener.html b/docs/mappings-util/com.grappenmaker.mappings/load-access-widener.html index f929348..42779ad 100644 --- a/docs/mappings-util/com.grappenmaker.mappings/load-access-widener.html +++ b/docs/mappings-util/com.grappenmaker.mappings/load-access-widener.html @@ -1,10 +1,9 @@ - + loadAccessWidener - - + - - + + - - - - - - - + + + + + +
-
- +
+
-

loadAccessWidener

+

loadAccessWidener

-

Reads a file represented by lines as an AccessWidener


Reads a file represented by lines (an iterator of every line in an access widener file) as an AccessWidener

+

Reads a file represented by lines as an AccessWidener


Reads a file represented by lines (an iterator of every line in an access widener file) as an AccessWidener

+ diff --git a/docs/mappings-util/com.grappenmaker.mappings/map-classes.html b/docs/mappings-util/com.grappenmaker.mappings/map-classes.html index 1b085e4..8be476c 100644 --- a/docs/mappings-util/com.grappenmaker.mappings/map-classes.html +++ b/docs/mappings-util/com.grappenmaker.mappings/map-classes.html @@ -1,10 +1,9 @@ - + mapClasses - - + - - + + - - - - - - - + + + + + +
-
- +
+
-

mapClasses

+

mapClasses

-

Maps classes according to the given block

+

Maps classes according to the given block

+ diff --git a/docs/mappings-util/com.grappenmaker.mappings/map-desc.html b/docs/mappings-util/com.grappenmaker.mappings/map-desc.html index e2a23b4..704bfa6 100644 --- a/docs/mappings-util/com.grappenmaker.mappings/map-desc.html +++ b/docs/mappings-util/com.grappenmaker.mappings/map-desc.html @@ -1,10 +1,9 @@ - + mapDesc - - + - - + + - - - - - - - + + + + + +
-
- +
+
-

mapDesc

+

mapDesc

-
fun mapDesc(desc: String, names: Map<String, String>): String(source)

Remaps a given descriptor desc, using a map of class names

+
fun mapDesc(desc: String, names: Map<String, String>): String(source)

Remaps a given descriptor desc, using a map of class names

+ diff --git a/docs/mappings-util/com.grappenmaker.mappings/map-method-desc.html b/docs/mappings-util/com.grappenmaker.mappings/map-method-desc.html index fe0b70b..70e9440 100644 --- a/docs/mappings-util/com.grappenmaker.mappings/map-method-desc.html +++ b/docs/mappings-util/com.grappenmaker.mappings/map-method-desc.html @@ -1,10 +1,9 @@ - + mapMethodDesc - - + - - + + - - - - - - - + + + + + +
-
- +
+
-

mapMethodDesc

+

mapMethodDesc

-

Remaps a given method descriptor desc, using a map of class names

+

Remaps a given method descriptor desc, using a map of class names

+ diff --git a/docs/mappings-util/com.grappenmaker.mappings/map-methods.html b/docs/mappings-util/com.grappenmaker.mappings/map-methods.html index 9d954ba..5fb0d3c 100644 --- a/docs/mappings-util/com.grappenmaker.mappings/map-methods.html +++ b/docs/mappings-util/com.grappenmaker.mappings/map-methods.html @@ -1,10 +1,9 @@ - + mapMethods - - + - - + + - - - - - - - + + + + + +
-
- +
+
-

mapMethods

+

mapMethods

-
inline fun Mappings.mapMethods(block: (owner: MappedClass, method: MappedMethod) -> MappedMethod): Mappings(source)

Maps methods according to the given block

+
inline fun Mappings.mapMethods(block: (owner: MappedClass, method: MappedMethod) -> MappedMethod): Mappings(source)

Maps methods according to the given block

+ diff --git a/docs/mappings-util/com.grappenmaker.mappings/map.html b/docs/mappings-util/com.grappenmaker.mappings/map.html index efbb58c..92b4b1a 100644 --- a/docs/mappings-util/com.grappenmaker.mappings/map.html +++ b/docs/mappings-util/com.grappenmaker.mappings/map.html @@ -1,10 +1,9 @@ - + map - - + - - + + - - - - - - - + + + + + +
-
- +
+

map

-
fun Type.map(remapper: Remapper): Type(source)

Remaps a given Type using a given remapper


fun Type.map(names: Map<String, String>): Type(source)

Remaps a given Type, using a map of class names

+
fun Type.map(remapper: Remapper): Type(source)

Remaps a given Type using a given remapper


fun Type.map(names: Map<String, String>): Type(source)

Remaps a given Type, using a map of class names

+ diff --git a/docs/mappings-util/com.grappenmaker.mappings/memoized-to.html b/docs/mappings-util/com.grappenmaker.mappings/memoized-to.html index e8fe92b..b243153 100644 --- a/docs/mappings-util/com.grappenmaker.mappings/memoized-to.html +++ b/docs/mappings-util/com.grappenmaker.mappings/memoized-to.html @@ -1,10 +1,9 @@ - + memoizedTo - - + - - + + - - - - - - - + + + + + +
-
- +
+
-

memoizedTo

+

memoizedTo

-

Composes this to a new classpath loader, that caches the results of this inside of a given memo

+

Composes this to a new classpath loader, that caches the results of this inside of a given memo

+ diff --git a/docs/mappings-util/com.grappenmaker.mappings/memoized.html b/docs/mappings-util/com.grappenmaker.mappings/memoized.html index bd325a5..25535aa 100644 --- a/docs/mappings-util/com.grappenmaker.mappings/memoized.html +++ b/docs/mappings-util/com.grappenmaker.mappings/memoized.html @@ -1,10 +1,9 @@ - + memoized - - + - - + + - - - - - - - + + + + + +
-
- +
+

memoized

-

Composes this to a new classpath loader, that caches the results of this


Wraps this into a new provider that remembers the results of calls

+

Composes this to a new classpath loader, that caches the results of this


Wraps this into a new provider that remembers the results of calls

+ diff --git a/docs/mappings-util/com.grappenmaker.mappings/namespace.html b/docs/mappings-util/com.grappenmaker.mappings/namespace.html index b3ee50f..a9db8e0 100644 --- a/docs/mappings-util/com.grappenmaker.mappings/namespace.html +++ b/docs/mappings-util/com.grappenmaker.mappings/namespace.html @@ -1,10 +1,9 @@ - + namespace - - + - - + + - - - - - - - + + + + + +
-
- +
+

namespace

-

Returns the index of a namespace named name, but throws an IllegalStateException when name is not in the Mappings.namespaces.

+

Returns the index of a namespace named name, but throws an IllegalStateException when name is not in the Mappings.namespaces.

+ diff --git a/docs/mappings-util/com.grappenmaker.mappings/parse.html b/docs/mappings-util/com.grappenmaker.mappings/parse.html index 9f30064..3afbcea 100644 --- a/docs/mappings-util/com.grappenmaker.mappings/parse.html +++ b/docs/mappings-util/com.grappenmaker.mappings/parse.html @@ -1,10 +1,9 @@ - + parse - - + - - + + - - - - - - - + + + + + +
-
- +
+

parse

-

Parses lines (a Sequence of lines in a mappings file) into a mappings data structure. Throws an IllegalStateException when lines is not a valid input for this mappings format.

+

Parses lines (a Sequence of lines in a mappings file) into a mappings data structure. Throws an IllegalStateException when lines is not a valid input for this mappings format.

+ diff --git a/docs/mappings-util/com.grappenmaker.mappings/perform-remap.html b/docs/mappings-util/com.grappenmaker.mappings/perform-remap.html index 97d844a..5fe4257 100644 --- a/docs/mappings-util/com.grappenmaker.mappings/perform-remap.html +++ b/docs/mappings-util/com.grappenmaker.mappings/perform-remap.html @@ -1,10 +1,9 @@ - + performRemap - - + - - + + - - - - - - - + + + + + +
-
- +
+
-

performRemap

+

performRemap

-
inline suspend fun performRemap(builder: JarRemapper.() -> Unit)(source)

Performs a remap using JarRemapper.perform. Configuration for it can be provided in the builder

+
inline suspend fun performRemap(builder: JarRemapper.() -> Unit)(source)

Performs a remap using JarRemapper.perform. Configuration for it can be provided in the builder

+ diff --git a/docs/mappings-util/com.grappenmaker.mappings/plus.html b/docs/mappings-util/com.grappenmaker.mappings/plus.html index d55819c..9a94616 100644 --- a/docs/mappings-util/com.grappenmaker.mappings/plus.html +++ b/docs/mappings-util/com.grappenmaker.mappings/plus.html @@ -1,10 +1,9 @@ - + plus - - + - - + + - - - - - - - + + + + + +
-
- +
+

plus

-

Combines this AccessWidener with other, returning a new access widener that, when applied, produces the same result as applying one widener and then the other.

+

Combines this AccessWidener with other, returning a new access widener that, when applied, produces the same result as applying one widener and then the other.

+ diff --git a/docs/mappings-util/com.grappenmaker.mappings/recover-field-descriptors.html b/docs/mappings-util/com.grappenmaker.mappings/recover-field-descriptors.html index 0053385..f2344d7 100644 --- a/docs/mappings-util/com.grappenmaker.mappings/recover-field-descriptors.html +++ b/docs/mappings-util/com.grappenmaker.mappings/recover-field-descriptors.html @@ -1,10 +1,9 @@ - + recoverFieldDescriptors - - + - - + + - - - - - - - + + + + + +
-
- +
+
-

recoverFieldDescriptors

+

recoverFieldDescriptors

-

Attempts to recover field descriptors that are missing because the original mappings format did not specify them. bytesProvider is responsible for providing all of the classes that might be referenced in this Mappings object, such that the descriptors can be recovered based on named (fields can be uniquely identified by an owner-name pair). When field descriptors were not found, field mappings will not be passed onto the new Mappings as field mappings without descriptors will be considered invalid.


@JvmName(name = "recoverDescsByNode")
fun Mappings.recoverFieldDescriptors(nodeProvider: (name: String) -> ClassNode?): Mappings(source)

Attempts to recover field descriptors that are missing because the original mappings format did not specify them. nodeProvider is responsible for providing all of the ClassNodes that might be referenced in this Mappings object, such that the descriptors can be recovered based on named (fields can be uniquely identified by an owner-name pair). When field descriptors were not found, field mappings will not be passed onto the new Mappings as field mappings without descriptors will be considered invalid.


See recoverFieldDescriptors. file is a jar file resource (caller is responsible for closing it) that contains the classes that are referenced in the generic overload.

+

Attempts to recover field descriptors that are missing because the original mappings format did not specify them. bytesProvider is responsible for providing all of the classes that might be referenced in this Mappings object, such that the descriptors can be recovered based on named (fields can be uniquely identified by an owner-name pair). When field descriptors were not found, field mappings will not be passed onto the new Mappings as field mappings without descriptors will be considered invalid.


@JvmName(name = "recoverDescsByNode")
fun Mappings.recoverFieldDescriptors(nodeProvider: (name: String) -> ClassNode?): Mappings(source)

Attempts to recover field descriptors that are missing because the original mappings format did not specify them. nodeProvider is responsible for providing all of the ClassNodes that might be referenced in this Mappings object, such that the descriptors can be recovered based on named (fields can be uniquely identified by an owner-name pair). When field descriptors were not found, field mappings will not be passed onto the new Mappings as field mappings without descriptors will be considered invalid.


See recoverFieldDescriptors. file is a jar file resource (caller is responsible for closing it) that contains the classes that are referenced in the generic overload.

+ diff --git a/docs/mappings-util/com.grappenmaker.mappings/remap-jar.html b/docs/mappings-util/com.grappenmaker.mappings/remap-jar.html index 358da10..80e9588 100644 --- a/docs/mappings-util/com.grappenmaker.mappings/remap-jar.html +++ b/docs/mappings-util/com.grappenmaker.mappings/remap-jar.html @@ -1,10 +1,9 @@ - + remapJar - - + - - + + - - - - - - - + + + + + +
-
- +
+
-

remapJar

+

remapJar

-
fun remapJar(mappings: Mappings, input: File, output: File, from: String = "official", to: String = "named", loader: ClasspathLoader = { null }, visitor: (parent: ClassVisitor) -> ClassVisitor? = null)(source)

Remaps a .jar file input to an output file, using mappings, between namespaces from and to. If inheritance info from external sources matters, you should pass a classpath loader. If additional class processing is required, an additional visitor can be passed.


fun remapJar(mappings: Mappings, input: File, output: File, from: String = "official", to: String = "named", files: List<File>, visitor: (parent: ClassVisitor) -> ClassVisitor = { it })(source)

This function provides a shorthand for remapJar when using physical files representing a classpath, and also takes cares of delegating to the system loader if necessary.

+
fun remapJar(mappings: Mappings, input: File, output: File, from: String = "official", to: String = "named", loader: ClasspathLoader = { null }, visitor: (parent: ClassVisitor) -> ClassVisitor? = null)(source)

Remaps a .jar file input to an output file, using mappings, between namespaces from and to. If inheritance info from external sources matters, you should pass a classpath loader. If additional class processing is required, an additional visitor can be passed.


fun remapJar(mappings: Mappings, input: File, output: File, from: String = "official", to: String = "named", files: List<File>, visitor: (parent: ClassVisitor) -> ClassVisitor = { it })(source)

This function provides a shorthand for remapJar when using physical files representing a classpath, and also takes cares of delegating to the system loader if necessary.

+ diff --git a/docs/mappings-util/com.grappenmaker.mappings/remap.html b/docs/mappings-util/com.grappenmaker.mappings/remap.html index 51e4048..3693cbb 100644 --- a/docs/mappings-util/com.grappenmaker.mappings/remap.html +++ b/docs/mappings-util/com.grappenmaker.mappings/remap.html @@ -1,10 +1,9 @@ - + remap - - + - - + + - - - - - - - + + + + + +
-
- +
+

remap

-
fun AccessWidener.remap(mappings: Mappings, toNamespace: String): AccessWidener(source)

Remaps this AccessWidener using mappings to a new namespace toNamespace to produce a new AccessWidener


fun AccessWidener.remap(remapper: Remapper, toNamespace: String): AccessWidener(source)

Remaps this AccessWidener using a remapper to a new namespace toNamespace to produce a new AccessWidener


fun AbstractInsnNode.remap(remapper: Remapper, lambdaAware: Boolean = true)(source)

Utility that can apply a Remapper to an AbstractInsnNode, remapping it in place. If lambdaAware is true, the remapping will behave like a LambdaAwareRemapper


fun MethodNode.remap(ownerName: String, remapper: Remapper, lambdaAware: Boolean = true)(source)

Utility that can apply a Remapper to a MethodNode inside of an owner represented by ownerName, remapping it in place. If lambdaAware is true, the remapping will behave like a LambdaAwareRemapper


fun FieldNode.remap(ownerName: String, remapper: Remapper)(source)

Utility that can apply a Remapper to a FieldNode inside of an owner represented by ownerName, remapping it in place


fun ClassNode.remap(remapper: Remapper, lambdaAware: Boolean = true)(source)

Utility that can apply a Remapper to a ClassNode, remapping it in place. If lambdaAware is true, the remapping will behave like a LambdaAwareRemapper


Remaps an array of lists of annotations, which is typically used to represent parameter annotations

See also


Remaps a list of annotations, which is typically used to represent a set of annotations that are applied / present on a parameter, field, method, or class


Remaps an AnnotationNode using a given remapper

+
fun AccessWidener.remap(mappings: Mappings, toNamespace: String): AccessWidener(source)

Remaps this AccessWidener using mappings to a new namespace toNamespace to produce a new AccessWidener


fun AccessWidener.remap(remapper: Remapper, toNamespace: String): AccessWidener(source)

Remaps this AccessWidener using a remapper to a new namespace toNamespace to produce a new AccessWidener


fun AbstractInsnNode.remap(remapper: Remapper, lambdaAware: Boolean = true)(source)

Utility that can apply a Remapper to an AbstractInsnNode, remapping it in place. If lambdaAware is true, the remapping will behave like a LambdaAwareRemapper


fun MethodNode.remap(ownerName: String, remapper: Remapper, lambdaAware: Boolean = true)(source)

Utility that can apply a Remapper to a MethodNode inside of an owner represented by ownerName, remapping it in place. If lambdaAware is true, the remapping will behave like a LambdaAwareRemapper


fun FieldNode.remap(ownerName: String, remapper: Remapper)(source)

Utility that can apply a Remapper to a FieldNode inside of an owner represented by ownerName, remapping it in place


fun ClassNode.remap(remapper: Remapper, lambdaAware: Boolean = true)(source)

Utility that can apply a Remapper to a ClassNode, remapping it in place. If lambdaAware is true, the remapping will behave like a LambdaAwareRemapper


Remaps an array of lists of annotations, which is typically used to represent parameter annotations

See also


Remaps a list of annotations, which is typically used to represent a set of annotations that are applied / present on a parameter, field, method, or class


Remaps an AnnotationNode using a given remapper

+ diff --git a/docs/mappings-util/com.grappenmaker.mappings/remapping-names.html b/docs/mappings-util/com.grappenmaker.mappings/remapping-names.html index 243c5c7..ea12af1 100644 --- a/docs/mappings-util/com.grappenmaker.mappings/remapping-names.html +++ b/docs/mappings-util/com.grappenmaker.mappings/remapping-names.html @@ -1,10 +1,9 @@ - + remappingNames - - + - - + + - - - - - - - + + + + + +
-
- +
+
-

remappingNames

+

remappingNames

-

Composes this to create a new classpath loader, that maps names before passing them to this between namespaces from and to using given mappings. It also alters the returned class file's class name references to match the to namespace. Method and field names remain untouched.

+

Composes this to create a new classpath loader, that maps names before passing them to this between namespaces from and to using given mappings. It also alters the returned class file's class name references to match the to namespace. Method and field names remain untouched.

+ diff --git a/docs/mappings-util/com.grappenmaker.mappings/remapping.html b/docs/mappings-util/com.grappenmaker.mappings/remapping.html index 07099b7..d66f36c 100644 --- a/docs/mappings-util/com.grappenmaker.mappings/remapping.html +++ b/docs/mappings-util/com.grappenmaker.mappings/remapping.html @@ -1,10 +1,9 @@ - + remapping - - + - - + + - - - - - - - + + + + + +
-
- +
+

remapping

-

Composes this to create a new classpath loader, that maps bytes given by this using a remapper

+

Composes this to create a new classpath loader, that maps bytes given by this using a remapper

+ diff --git a/docs/mappings-util/com.grappenmaker.mappings/remove-comments.html b/docs/mappings-util/com.grappenmaker.mappings/remove-comments.html index 023bc1a..ad4b10f 100644 --- a/docs/mappings-util/com.grappenmaker.mappings/remove-comments.html +++ b/docs/mappings-util/com.grappenmaker.mappings/remove-comments.html @@ -1,10 +1,9 @@ - + removeComments - - + - - + + - - - - - - - + + + + + +
-
- +
+
-

removeComments

+

removeComments

-

Returns new Mappings that are identical to these Mappings, except the comments will be removed

+

Returns new Mappings that are identical to these Mappings, except the comments will be removed

+ diff --git a/docs/mappings-util/com.grappenmaker.mappings/remove-redundancy.html b/docs/mappings-util/com.grappenmaker.mappings/remove-redundancy.html index 5795f81..a26dea6 100644 --- a/docs/mappings-util/com.grappenmaker.mappings/remove-redundancy.html +++ b/docs/mappings-util/com.grappenmaker.mappings/remove-redundancy.html @@ -1,10 +1,9 @@ - + removeRedundancy - - + - - + + - - - - - - - + + + + + +
-
- +
+
-

removeRedundancy

+

removeRedundancy

-
fun Mappings.removeRedundancy(removeDuplicateMethods: Boolean = false, loader: ClasspathLoader): Mappings(source)

Removes redundant or straight up incorrect data from this Mappings object, by looking at the inheritance information present in class files, presented by the loader.

Redundant information is one of the following:

  • Overloads are given a mapping again. Since overloads share the same name, they cannot have different info, therefore this information is duplicate.

  • Abstract methods are populated to interfaces (this can happen when using proguard mappings). This is usually straight up wrong information, when a mapped method entry is not present on the actual class.

  • a method being a data method (MappedMethod.isData)

  • a method whose names are all identical

If removeDuplicateMethods is true (false by default), this function will also look for methods with the same obfuscated/first name and descriptor. This is false by default since this might be expensive, and most of the time, there will not be any duplicates in the first place, since that could be seen as an invalid mappings file. In the case of a duplicate, the last declared one will be kept. The order of mapped methods will be preserved.

Samples

import com.grappenmaker.mappings.*
+  
fun Mappings.removeRedundancy(removeDuplicateMethods: Boolean = false, loader: ClasspathLoader): Mappings(source)

Removes redundant or straight up incorrect data from this Mappings object, by looking at the inheritance information present in class files, presented by the loader.

Redundant information is one of the following:

  • Overloads are given a mapping again. Since overloads share the same name, they cannot have different info, therefore this information is duplicate.

  • Abstract methods are populated to interfaces (this can happen when using proguard mappings). This is usually straight up wrong information, when a mapped method entry is not present on the actual class.

  • a method being a data method (MappedMethod.isData)

  • a method whose names are all identical

If removeDuplicateMethods is true (false by default), this function will also look for methods with the same obfuscated/first name and descriptor. This is false by default since this might be expensive, and most of the time, there will not be any duplicates in the first place, since that could be seen as an invalid mappings file. In the case of a duplicate, the last declared one will be kept. The order of mapped methods will be preserved.

Samples

import com.grappenmaker.mappings.*
 import com.grappenmaker.mappings.Mappings
 import kotlin.test.*
 
 fun main() { 
    //sampleStart 
    val mappings = GenericMappings(
-    namespaces = listOf("official", "named"),
+    namespaces = listOf("official", "named"),
     classes = listOf(MappedClass(
-        names = listOf("a", "b"),
+        names = listOf("a", "b"),
         methods = listOf(
             MappedMethod(
-                names = listOf("hashCode", "hashCode"),
-                desc = "()I"
+                names = listOf("hashCode", "hashCode"),
+                desc = "()I"
             ),
             MappedMethod(
-                names = listOf("toString", "toString"),
-                desc = "()Ljava/lang/String;"
+                names = listOf("toString", "toString"),
+                desc = "()Ljava/lang/String;"
             ),
             MappedMethod(
-                names = listOf("equals", "equals"),
-                desc = "(Ljava/lang/Object;)Z"
+                names = listOf("equals", "equals"),
+                desc = "(Ljava/lang/Object;)Z"
             ),
             MappedMethod(
-                names = listOf("sameName", "sameName"),
-                desc = "()V"
+                names = listOf("sameName", "sameName"),
+                desc = "()V"
             ),
             MappedMethod(
-                names = listOf("<init>", "<init>"),
-                desc = "()V"
+                names = listOf("<init>", "<init>"),
+                desc = "()V"
             ),
         )
     ))
@@ -104,44 +101,44 @@ 

removeRedundancy


fun Mappings.removeRedundancy(inheritanceProvider: InheritanceProvider, removeDuplicateMethods: Boolean = false): Mappings(source)

Removes redundant or straight up incorrect data from this Mappings object, by looking at the inheritance information present in class files, presented by the inheritanceProvider.

Redundant information is one of the following:

  • Overloads are given a mapping again. Since overloads share the same name, they cannot have different info, therefore this information is duplicate.

  • Abstract methods are populated to interfaces (this can happen when using proguard mappings). This is usually straight up wrong information, when a mapped method entry is not present on the actual class.

  • a method being a data method (MappedMethod.isData)

  • a method whose names are all identical

If removeDuplicateMethods is true (false by default), this function will also look for methods with the same obfuscated/first name and descriptor. This is false by default since this might be expensive, and most of the time, there will not be any duplicates in the first place, since that could be seen as an invalid mappings file. In the case of a duplicate, the last declared one will be kept. The order of mapped methods will be preserved.

Samples

import com.grappenmaker.mappings.*
+}

fun Mappings.removeRedundancy(inheritanceProvider: InheritanceProvider, removeDuplicateMethods: Boolean = false): Mappings(source)

Removes redundant or straight up incorrect data from this Mappings object, by looking at the inheritance information present in class files, presented by the inheritanceProvider.

Redundant information is one of the following:

  • Overloads are given a mapping again. Since overloads share the same name, they cannot have different info, therefore this information is duplicate.

  • Abstract methods are populated to interfaces (this can happen when using proguard mappings). This is usually straight up wrong information, when a mapped method entry is not present on the actual class.

  • a method being a data method (MappedMethod.isData)

  • a method whose names are all identical

If removeDuplicateMethods is true (false by default), this function will also look for methods with the same obfuscated/first name and descriptor. This is false by default since this might be expensive, and most of the time, there will not be any duplicates in the first place, since that could be seen as an invalid mappings file. In the case of a duplicate, the last declared one will be kept. The order of mapped methods will be preserved.

Samples

import com.grappenmaker.mappings.*
 import com.grappenmaker.mappings.Mappings
 import kotlin.test.*
 
 fun main() { 
    //sampleStart 
    val mappings = GenericMappings(
-    namespaces = listOf("official", "named"),
+    namespaces = listOf("official", "named"),
     classes = listOf(MappedClass(
-        names = listOf("a", "b"),
+        names = listOf("a", "b"),
         methods = listOf(
             MappedMethod(
-                names = listOf("hashCode", "hashCode"),
-                desc = "()I"
+                names = listOf("hashCode", "hashCode"),
+                desc = "()I"
             ),
             MappedMethod(
-                names = listOf("toString", "toString"),
-                desc = "()Ljava/lang/String;"
+                names = listOf("toString", "toString"),
+                desc = "()Ljava/lang/String;"
             ),
             MappedMethod(
-                names = listOf("equals", "equals"),
-                desc = "(Ljava/lang/Object;)Z"
+                names = listOf("equals", "equals"),
+                desc = "(Ljava/lang/Object;)Z"
             ),
             MappedMethod(
-                names = listOf("sameName", "sameName"),
-                desc = "()V"
+                names = listOf("sameName", "sameName"),
+                desc = "()V"
             ),
             MappedMethod(
-                names = listOf("<init>", "<init>"),
-                desc = "()V"
+                names = listOf("<init>", "<init>"),
+                desc = "()V"
             ),
         )
     ))
@@ -150,44 +147,44 @@ 

removeRedundancy


fun Mappings.removeRedundancy(file: JarFile, removeDuplicateMethods: Boolean = false): Mappings(source)

See removeRedundancy. file is a jar file resource (caller is responsible for closing it) that contains the classes that are referenced in the generic overload. Calls with identical names are being cached by this function, the caller is not responsible for this.

If removeDuplicateMethods is true (false by default), this function will also look for methods with the same obfuscated/first name and descriptor. This is false by default since this might be expensive, and most of the time, there will not be any duplicates in the first place, since that could be seen as an invalid mappings file. In the case of a duplicate, the last declared one will be kept. The order of mapped methods will be preserved.

Samples

import com.grappenmaker.mappings.*
+}

fun Mappings.removeRedundancy(file: JarFile, removeDuplicateMethods: Boolean = false): Mappings(source)

See removeRedundancy. file is a jar file resource (caller is responsible for closing it) that contains the classes that are referenced in the generic overload. Calls with identical names are being cached by this function, the caller is not responsible for this.

If removeDuplicateMethods is true (false by default), this function will also look for methods with the same obfuscated/first name and descriptor. This is false by default since this might be expensive, and most of the time, there will not be any duplicates in the first place, since that could be seen as an invalid mappings file. In the case of a duplicate, the last declared one will be kept. The order of mapped methods will be preserved.

Samples

import com.grappenmaker.mappings.*
 import com.grappenmaker.mappings.Mappings
 import kotlin.test.*
 
 fun main() { 
    //sampleStart 
    val mappings = GenericMappings(
-    namespaces = listOf("official", "named"),
+    namespaces = listOf("official", "named"),
     classes = listOf(MappedClass(
-        names = listOf("a", "b"),
+        names = listOf("a", "b"),
         methods = listOf(
             MappedMethod(
-                names = listOf("hashCode", "hashCode"),
-                desc = "()I"
+                names = listOf("hashCode", "hashCode"),
+                desc = "()I"
             ),
             MappedMethod(
-                names = listOf("toString", "toString"),
-                desc = "()Ljava/lang/String;"
+                names = listOf("toString", "toString"),
+                desc = "()Ljava/lang/String;"
             ),
             MappedMethod(
-                names = listOf("equals", "equals"),
-                desc = "(Ljava/lang/Object;)Z"
+                names = listOf("equals", "equals"),
+                desc = "(Ljava/lang/Object;)Z"
             ),
             MappedMethod(
-                names = listOf("sameName", "sameName"),
-                desc = "()V"
+                names = listOf("sameName", "sameName"),
+                desc = "()V"
             ),
             MappedMethod(
-                names = listOf("<init>", "<init>"),
-                desc = "()V"
+                names = listOf("<init>", "<init>"),
+                desc = "()V"
             ),
         )
     ))
@@ -196,9 +193,9 @@ 

removeRedundancyremoveRedundancy

+ diff --git a/docs/mappings-util/com.grappenmaker.mappings/rename-namespaces.html b/docs/mappings-util/com.grappenmaker.mappings/rename-namespaces.html index e0e5e4f..96cb981 100644 --- a/docs/mappings-util/com.grappenmaker.mappings/rename-namespaces.html +++ b/docs/mappings-util/com.grappenmaker.mappings/rename-namespaces.html @@ -1,10 +1,9 @@ - + renameNamespaces - - + - - + + - - - - - - - + + + + + +
-
- +
+
-

renameNamespaces

+

renameNamespaces

-

Swaps out the names for the namespaces in this Mappings data structure.

Samples

import com.grappenmaker.mappings.*
+  

Swaps out the names for the namespaces in this Mappings data structure.

Samples

import com.grappenmaker.mappings.*
 import com.grappenmaker.mappings.Mappings
 import kotlin.test.*
 
 fun main() { 
    //sampleStart 
    val mappings = GenericMappings(
-    namespaces = listOf("official", "named"),
+    namespaces = listOf("official", "named"),
     classes = listOf(MappedClass(
-        names = listOf("a", "b"),
+        names = listOf("a", "b"),
     ))
 )
 
-val renamed = mappings.renameNamespaces("original", "remapped")
+val renamed = mappings.renameNamespaces("original", "remapped")
 assertEquals(
     GenericMappings(
-        namespaces = listOf("original", "remapped"),
+        namespaces = listOf("original", "remapped"),
         classes = listOf(MappedClass(
-            names = listOf("a", "b"),
+            names = listOf("a", "b"),
         ))
     ), renamed
 ) 
@@ -92,12 +89,11 @@ 

renameNamespaces

+ diff --git a/docs/mappings-util/com.grappenmaker.mappings/reorder-namespaces.html b/docs/mappings-util/com.grappenmaker.mappings/reorder-namespaces.html index 61ea338..10fc460 100644 --- a/docs/mappings-util/com.grappenmaker.mappings/reorder-namespaces.html +++ b/docs/mappings-util/com.grappenmaker.mappings/reorder-namespaces.html @@ -1,10 +1,9 @@ - + reorderNamespaces - - + - - + + - - - - - - - + + + + + +
-
- +
+
-

reorderNamespaces

+

reorderNamespaces

-

Swaps out the names for the namespaces in this Mappings data structure, by reordering. Duplicate names are allowed, in which case mapped entries are duplicated to fit the new order. If a name in Mappings.namespaces does not appear in order, its mapping entries will be missing in the returned Mappings.

Samples

import com.grappenmaker.mappings.*
+  

Swaps out the names for the namespaces in this Mappings data structure, by reordering. Duplicate names are allowed, in which case mapped entries are duplicated to fit the new order. If a name in Mappings.namespaces does not appear in order, its mapping entries will be missing in the returned Mappings.

Samples

import com.grappenmaker.mappings.*
 import com.grappenmaker.mappings.Mappings
 import kotlin.test.*
 
 fun main() { 
    //sampleStart 
    val mappings = GenericMappings(
-    namespaces = listOf("official", "named"),
+    namespaces = listOf("official", "named"),
     classes = listOf(MappedClass(
-        names = listOf("a", "b"),
+        names = listOf("a", "b"),
     ))
 )
 
-val renamed = mappings.reorderNamespaces("named", "official", "named")
+val renamed = mappings.reorderNamespaces("named", "official", "named")
 assertEquals(
     GenericMappings(
-        namespaces = listOf("named", "official", "named"),
+        namespaces = listOf("named", "official", "named"),
         classes = listOf(MappedClass(
-            names = listOf("b", "a", "b"),
+            names = listOf("b", "a", "b"),
         ))
     ), renamed
 ) 
    //sampleEnd
-}

Swaps out the names for the namespaces in this Mappings data structure, by reordering. Duplicate names are allowed, in which case mapped entries are duplicated to fit the new order. If a name in Mappings.namespaces does not appear in order, its mapping entries will be missing in the returned Mappings. If a namespace in order does not exist in this Mappings, an IllegalArgumentException will be thrown.

Samples

import com.grappenmaker.mappings.*
+}

Swaps out the names for the namespaces in this Mappings data structure, by reordering. Duplicate names are allowed, in which case mapped entries are duplicated to fit the new order. If a name in Mappings.namespaces does not appear in order, its mapping entries will be missing in the returned Mappings. If a namespace in order does not exist in this Mappings, an IllegalArgumentException will be thrown.

Samples

import com.grappenmaker.mappings.*
 import com.grappenmaker.mappings.Mappings
 import kotlin.test.*
 
 fun main() { 
    //sampleStart 
    val mappings = GenericMappings(
-    namespaces = listOf("official", "named"),
+    namespaces = listOf("official", "named"),
     classes = listOf(MappedClass(
-        names = listOf("a", "b"),
+        names = listOf("a", "b"),
     ))
 )
 
-val renamed = mappings.reorderNamespaces("named", "official", "named")
+val renamed = mappings.reorderNamespaces("named", "official", "named")
 assertEquals(
     GenericMappings(
-        namespaces = listOf("named", "official", "named"),
+        namespaces = listOf("named", "official", "named"),
         classes = listOf(MappedClass(
-            names = listOf("b", "a", "b"),
+            names = listOf("b", "a", "b"),
         ))
     ), renamed
 ) 
@@ -115,12 +112,11 @@ 

reorderNamespaces

+ diff --git a/docs/mappings-util/com.grappenmaker.mappings/to-mask.html b/docs/mappings-util/com.grappenmaker.mappings/to-mask.html index 60170c6..dc0d80d 100644 --- a/docs/mappings-util/com.grappenmaker.mappings/to-mask.html +++ b/docs/mappings-util/com.grappenmaker.mappings/to-mask.html @@ -1,10 +1,9 @@ - + toMask - - + - - + + - - - - - - - + + + + + +
-
- +
+
-

toMask

+

toMask

-

Converts a set of AccessTypes to an AccessMask representing it

+

Converts a set of AccessTypes to an AccessMask representing it

+ diff --git a/docs/mappings-util/com.grappenmaker.mappings/to-tree.html b/docs/mappings-util/com.grappenmaker.mappings/to-tree.html index 8d1cb71..95390ae 100644 --- a/docs/mappings-util/com.grappenmaker.mappings/to-tree.html +++ b/docs/mappings-util/com.grappenmaker.mappings/to-tree.html @@ -1,10 +1,9 @@ - + toTree - - + - - + + - - - - - - - + + + + + +
-
- +
+
-

toTree

+

toTree

- +
+ diff --git a/docs/mappings-util/com.grappenmaker.mappings/write-lazy.html b/docs/mappings-util/com.grappenmaker.mappings/write-lazy.html index 6c8366e..1858ac2 100644 --- a/docs/mappings-util/com.grappenmaker.mappings/write-lazy.html +++ b/docs/mappings-util/com.grappenmaker.mappings/write-lazy.html @@ -1,10 +1,9 @@ - + writeLazy - - + - - + + - - - - - - - + + + + + +
-
- +
+
-

writeLazy

+

writeLazy

-

Writes this AccessWidener structure to a lazily generated sequence representing this AccessWidener


Writes CSRGMappings as a lazily evaluated Sequence


Writes EnigmaMappings as a lazily evaluated Sequence.


Writes ProguardMappings as a lazily evaluated Sequence


Writes RecafMappings as a lazily evaluated Sequence


Writes SRGMappings as a lazily evaluated Sequence


Writes TSRGMappings as a lazily evaluated Sequence


Writes TinyMappings as a lazily evaluated Sequence. If compact is set, a more compact format of tiny mappings will be used, see TinyMappingsWriter.write.

+

Writes this AccessWidener structure to a lazily generated sequence representing this AccessWidener


Writes CSRGMappings as a lazily evaluated Sequence


Writes EnigmaMappings as a lazily evaluated Sequence.


Writes ProguardMappings as a lazily evaluated Sequence


Writes RecafMappings as a lazily evaluated Sequence


Writes SRGMappings as a lazily evaluated Sequence


Writes TSRGMappings as a lazily evaluated Sequence


Writes TinyMappings as a lazily evaluated Sequence. If compact is set, a more compact format of tiny mappings will be used, see TinyMappingsWriter.write.

+ diff --git a/docs/mappings-util/com.grappenmaker.mappings/write-to.html b/docs/mappings-util/com.grappenmaker.mappings/write-to.html index cc8a2ac..e536280 100644 --- a/docs/mappings-util/com.grappenmaker.mappings/write-to.html +++ b/docs/mappings-util/com.grappenmaker.mappings/write-to.html @@ -1,10 +1,9 @@ - + writeTo - - + - - + + - - - - - - - + + + + + +
-
- +
+
-

writeTo

+

writeTo

-

Writes some mappings to an OutputStream as an equivalent representation

+

Writes some mappings to an OutputStream as an equivalent representation

+ diff --git a/docs/mappings-util/com.grappenmaker.mappings/write.html b/docs/mappings-util/com.grappenmaker.mappings/write.html index 3db6732..bac24c7 100644 --- a/docs/mappings-util/com.grappenmaker.mappings/write.html +++ b/docs/mappings-util/com.grappenmaker.mappings/write.html @@ -1,10 +1,9 @@ - + write - - + - - + + - - - - - - - + + + + + +
-
- +
+

write

-

Writes this AccessWidener structure to a file representing this AccessWidener


Writes CSRGMappings to a mappings file represented by a list of strings


Writes CompactedMappings as its binary representation


Writes EnigmaMappings to a mappings file represented by a list of strings.


Writes ProguardMappings to a mappings file represented by a list of strings


Writes RecafMappings to a mappings file represented by a list of strings


Writes SRGMappings to a mappings file represented by a list of strings


Writes TSRGMappings to a mappings file represented by a list of strings


fun TinyMappings.write(compact: Boolean = isV2): List<String>(source)

Writes TinyMappings to a mappings file represented by a list of strings. If compact is set, a more compact format of tiny mappings will be used, see TinyMappingsWriter.write.

+

Writes this AccessWidener structure to a file representing this AccessWidener


Writes CSRGMappings to a mappings file represented by a list of strings


Writes CompactedMappings as its binary representation


Writes EnigmaMappings to a mappings file represented by a list of strings.


Writes ProguardMappings to a mappings file represented by a list of strings


Writes RecafMappings to a mappings file represented by a list of strings


Writes SRGMappings to a mappings file represented by a list of strings


Writes TSRGMappings to a mappings file represented by a list of strings


fun TinyMappings.write(compact: Boolean = isV2): List<String>(source)

Writes TinyMappings to a mappings file represented by a list of strings. If compact is set, a more compact format of tiny mappings will be used, see TinyMappingsWriter.write.

+ diff --git a/docs/mappings-util/index.html b/docs/mappings-util/index.html new file mode 100644 index 0000000..09821b3 --- /dev/null +++ b/docs/mappings-util/index.html @@ -0,0 +1,96 @@ + + + + + mappings-util + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

mappings-util

+

A small JVM mappings library designed to load, modify, and use mappings, for runtime and pre-runtime remapping. Several mappings formats are supported, like SRG, XSRG, Tiny (v1 and v2), Proguard.

Important: some documentation entries will have seemingly runnable samples. They are, in fact, not runnable. This is a known Dokka issue which will be addressed in a future release of Dokka. See this issue.

Supported MappingsFormats

NameDescription
ProguardMappingsFormatEmitted by Proguard as debug symbols
SRGMappingsFormatSearge mappings commonly used in the ModCoderPack
XSRGMappingsFormatAn extension of the SRGMappingsFormat
CSRGMappingsFormatA simplification of the SRGMappingsFormat
TSRGV1MappingsFormatA variation on the SRGMappingsFormat
TSRGV2MappingsFormatA variation on the SRGMappingsFormat
TinyMappingsV1FormatAn obsolete version of Tiny mappings, popularized by yarn
TinyMappingsV2FormatTiny mappings, popularized by yarn
EnigmaMappingsFormatEnigma mappings, used in Enigma
RecafMappingsFormatEnigma mappings, used in Enigma
CompactedMappingsFormatAn experimental mappings format inspired by Tiny, which compresses the format slightly (its docs are in com.grappenmaker.mappings.compact)

Loading (mappings) files

TypeSnippet
Any type of MappingsFormatMappingsLoader.loadMappings
An AccessWidenerloadAccessWidener
CompactedMappingsCompactedMappingsFormat.parse

Writing (mappings) files

TypeSnippet
Any type of MappingsFormatMappings.write
An AccessWidenerAccessWidener.write
CompactedMappingsCompactedMappings.write

Mappings transformations

NameDescription
Mappings.renameNamespacesRenames namespaces
Mappings.reorderNamespacesReorders/duplicates namespaces
Mappings.joinJoins two Mappings objects together
Mappings.filterNamespacesFilters certain namespaces by a set of allowed names, or a predicate
Mappings.deduplicateNamespacesRemoves duplicate namespaces

Common Mappings operations

// Parsing mappings
val lines = File("/path/to/some/mappings/file").readLines()

// The mappings format is automatically detected
val mappings = MappingsLoader.loadMappings(lines)

// Using mappings
val remapper = MappingsRemapper(
mappings,
from = "fromNamespace",
to = "toNamespace",
loader = ClasspathLoaders.fromSystemLoader()
)

val reader = ClassReader(bytes)
val writer = ClassWriter(reader)
reader.accept(LambdaAwareRemapper(writer, remapper), 0)

// Or remapping a ClassNode
val node = ClassNode()
reader.accept(node)
node.remap(remapper)

// Or for remapping a full jar
remapJar(mappings, inputFile, outputFile, "fromNamespace", "toNamespace")

// Transforming mappings
val extracted = mappings.extractNamespaces("newFrom", "newTo")
val renamed = mappings.renameNamespaces("newFirst", "newSecond", "newThird")
val reordered = mappings.reorderNamespaces("c", "b", "a")
val joined = mappings.join(otherMappings, "intermediary")
val filtered = mappings.filterNamespaces("b", "c")
val tinyMappings = mappings.asTinyMappings(v2 = true)

// Writing mappings
File("/path/to/some/mappings/file").writeText(tinyMappings.write().joinToString("\n"))

Common AccessWidener operations

// Parsing
val lines = File("/path/to/some/file.accesswidener").readText().trim().lines()
val aw = loadAccessWidener(lines)

// Remapping to a different namespace
aw.remap(mappings, "newNamespace")
aw.remap(remapper, "newNamespace")

// Converting to a tree
val tree = aw.toTree()

// Applying to a Class file
val reader = ClassReader(bytes)
val writer = ClassWriter(reader)
reader.accept(AccessWidenerVisitor(writer, tree), 0)

// Applying to a ClassNode
val node = ClassNode()
reader.accept(node)
node.applyWidener(tree)

// Combining to create a "joined" widener
val joined = aw + otherAW

// Works on Sequences and Iterables
val joined = listOf(aw, otherAW, yetAnotherAW).join()

// Writing (unsupported for trees)
aw.write()

Compacted mappings specification (CompactedMappingsFormat)

Conventions:

  • arrays are denoted name[] and are stored with an integral data type before it to indicate the amount of entries in the array

  • string are encoded by first storing its length as a single byte, followed by the utf-8 representation

  • varints are used, see wiki.vg

  • descriptors are encoded like strings but without its length, since that can be deduced by reading the descriptor bit by bit. The following replacements are made (to save space):

    • Ljava/lang/Object; ->A

    • Ljava/lang/String; ->G

    • Ljava/util/List; ->R

Format:

Name & TypeDescription
magic: intAlways "ACMF" to identify the format, encoded as ascii to a single integer: magicEncoded
version: byteThe version of the format being serialized, which is currently just 1
namespaces[]: string[]The namespaces stored (the length is stored as a byte)
classes[]: class[]The mapped classes (the length is stored as an int)

class type (corresponding to MappedClass):

Name & TypeDescription
names[]: string[]Names of this MappedClass instance, an empty string (length = 0) means the last name with a nonzero length should be copied
members: mapped[]The mapped members (the length is stored as a varint)

mapped type (corresponding to Mapped):

Name & TypeDescription
names[]: string[]Names of this Mapped instance, an empty string (length = 0) means the last name with a nonzero length should be copied
descriptor: descriptorIf the descriptor starts with a (, this Mapped represents a method, a field otherwise
+
+

Packages

+
+
+
+
+
+ + +
Link copied to clipboard
+
+
+
+ +
+
+
+
+
+
+
+
+ +
+
+
+ + + diff --git a/docs/mappings-util/navigation.html b/docs/mappings-util/navigation.html new file mode 100644 index 0000000..660bd6d --- /dev/null +++ b/docs/mappings-util/navigation.html @@ -0,0 +1,577 @@ +
+
+ +
+ +
+ +
+
+ +
+
+ +
+
+ Companion +
+
+
+
+ +
+
+ Companion +
+
+
+ +
+
+ +
+
+
+ MUTABLE +
+
+
+
+ +
+ + +
+ +
+
+ +
+ + + + + + + + +
+ +
+ + +
+ +
+ +
+
+ Commented +
+
+ + +
+ +
+ + +
+ +
+
+ +
+ + + +
+ +
+
+ +
+ +
+ +
+ + +
+
+ isData() +
+
+
+ +
+
+ +
+
+ +
+
+ +
+
+ +
+ +
+
+ join() +
+
+ + + + + +
+
+ map() +
+
+
+ +
+
+
+ mapDesc() +
+
+
+ +
+
+ +
+
+
+ Mapped +
+
+
+ +
+
+ +
+
+ +
+
+ +
+
+ +
+
+
+ Mappings +
+
+
+ +
+ +
+
+
+ +
+ + +
+ +
+ +
+ +
+
+ +
+
+
+ parse() +
+
+
+ +
+
+
+ plus() +
+
+ + +
+ +
+ + +
+
+ remap() +
+
+
+ +
+
+ +
+ + + + + +
+ +
+ +
+ +
+ + +
+ +
+
+ Context +
+
+
+
+
+ toMask() +
+
+
+
+ toTree() +
+
+
+ +
+ + +
+
+ write() +
+
+
+ +
+
+
+ writeTo() +
+
+ +
+
+ +
diff --git a/docs/navigation.html b/docs/navigation.html index faa49fd..db578ee 100644 --- a/docs/navigation.html +++ b/docs/navigation.html @@ -1,339 +1,577 @@ -
- -
- - - -
- -
- -
-
-
- -
- -
- - -
- -
-
- - - - - - - - - - - - - - - - - - -
- -
- - - - - - - - - - - - - - - - -
- -
- - - - - - -
- -
- - - - - -
- -
- -
- -
- - -
- -
- - - - - -
- -
- - - - - - - - -
- -
- -
- -
- - - - - -
- -
- - - - - - - - - - - - - -
- -
-
- -
- - - -
- -
- -
- -
- -
+
+
+ +
+ +
+ +
+
+ +
+
+ +
+
+ Companion +
+
+
+
+ +
+
+ Companion +
+
+
+ +
+
+ +
+
+
+ MUTABLE +
+
+
+
+ +
+ + +
+ +
+
+ +
+ + + + + + + + +
+ +
+ + +
+ +
+ +
+
+ Commented +
+
+ + +
+ +
+ + +
+ +
+
+ +
+ + + +
+ +
+
+ +
+ +
+ +
+ + +
+
+ isData() +
+
+
+ +
+
+ +
+
+ +
+
+ +
+
+ +
+ +
+
+ join() +
+
+ + + + + +
+
+ map() +
+
+
+ +
+
+
+ mapDesc() +
+
+
+ +
+
+ +
+
+
+ Mapped +
+
+
+ +
+
+ +
+
+ +
+
+ +
+
+ +
+
+
+ Mappings +
+
+
+ +
+ +
+
+
+ +
+ + +
+ +
+ +
+ +
+
+ +
+
+
+ parse() +
+
+
+ +
+
+
+ plus() +
+
+ + +
+ +
+ + +
+
+ remap() +
+
+
+ +
+
+ +
+ + + + + +
+ +
+ +
+ +
+ + +
+ +
+
+ Context +
+
+
+
+
+ toMask() +
+
+
+
+ toTree() +
+
+
+ +
+ + +
+
+ write() +
+
+
+ +
+
+
+ writeTo() +
+
+ +
+
+
- diff --git a/docs/package-list b/docs/package-list new file mode 100644 index 0000000..edbc31a --- /dev/null +++ b/docs/package-list @@ -0,0 +1,7 @@ +$dokka.format:html-v1 +$dokka.linkExtension:html + +module:mappings-util +com.grappenmaker.mappings +module:tiny-remapper-provider +com.grappenmaker.mappings diff --git a/docs/scripts/pages.json b/docs/scripts/pages.json index 03ea362..db738f1 100644 --- a/docs/scripts/pages.json +++ b/docs/scripts/pages.json @@ -1 +1 @@ -[{"name":"ACCESSIBLE","description":"com.grappenmaker.mappings.AccessType.ACCESSIBLE","location":"mappings-util/com.grappenmaker.mappings/-access-type/-a-c-c-e-s-s-i-b-l-e/index.html","searchKeys":["ACCESSIBLE","ACCESSIBLE","com.grappenmaker.mappings.AccessType.ACCESSIBLE"]},{"name":"EXTENDABLE","description":"com.grappenmaker.mappings.AccessType.EXTENDABLE","location":"mappings-util/com.grappenmaker.mappings/-access-type/-e-x-t-e-n-d-a-b-l-e/index.html","searchKeys":["EXTENDABLE","EXTENDABLE","com.grappenmaker.mappings.AccessType.EXTENDABLE"]},{"name":"MUTABLE","description":"com.grappenmaker.mappings.AccessType.MUTABLE","location":"mappings-util/com.grappenmaker.mappings/-access-type/-m-u-t-a-b-l-e/index.html","searchKeys":["MUTABLE","MUTABLE","com.grappenmaker.mappings.AccessType.MUTABLE"]},{"name":"abstract fun TinyMappingsWriter.Context.write(): Sequence","description":"com.grappenmaker.mappings.TinyMappingsWriter.write","location":"mappings-util/com.grappenmaker.mappings/-tiny-mappings-writer/write.html","searchKeys":["write","abstract fun TinyMappingsWriter.Context.write(): Sequence","com.grappenmaker.mappings.TinyMappingsWriter.write"]},{"name":"abstract fun detect(lines: List): Boolean","description":"com.grappenmaker.mappings.MappingsFormat.detect","location":"mappings-util/com.grappenmaker.mappings/-mappings-format/detect.html","searchKeys":["detect","abstract fun detect(lines: List): Boolean","com.grappenmaker.mappings.MappingsFormat.detect"]},{"name":"abstract fun getDeclaredMethods(internalName: String, filterInheritable: Boolean): Iterable","description":"com.grappenmaker.mappings.InheritanceProvider.getDeclaredMethods","location":"mappings-util/com.grappenmaker.mappings/-inheritance-provider/get-declared-methods.html","searchKeys":["getDeclaredMethods","abstract fun getDeclaredMethods(internalName: String, filterInheritable: Boolean): Iterable","com.grappenmaker.mappings.InheritanceProvider.getDeclaredMethods"]},{"name":"abstract fun getDirectParents(internalName: String): Iterable","description":"com.grappenmaker.mappings.InheritanceProvider.getDirectParents","location":"mappings-util/com.grappenmaker.mappings/-inheritance-provider/get-direct-parents.html","searchKeys":["getDirectParents","abstract fun getDirectParents(internalName: String): Iterable","com.grappenmaker.mappings.InheritanceProvider.getDirectParents"]},{"name":"abstract fun parse(lines: Iterator): T","description":"com.grappenmaker.mappings.MappingsFormat.parse","location":"mappings-util/com.grappenmaker.mappings/-mappings-format/parse.html","searchKeys":["parse","abstract fun parse(lines: Iterator): T","com.grappenmaker.mappings.MappingsFormat.parse"]},{"name":"abstract fun visit(name: String, file: ByteArray): ByteArray?","description":"com.grappenmaker.mappings.JarResourceVisitor.visit","location":"mappings-util/com.grappenmaker.mappings/-jar-resource-visitor/visit.html","searchKeys":["visit","abstract fun visit(name: String, file: ByteArray): ByteArray?","com.grappenmaker.mappings.JarResourceVisitor.visit"]},{"name":"abstract fun visit(name: String, parent: ClassVisitor): ClassVisitor?","description":"com.grappenmaker.mappings.JarClassVisitor.visit","location":"mappings-util/com.grappenmaker.mappings/-jar-class-visitor/visit.html","searchKeys":["visit","abstract fun visit(name: String, parent: ClassVisitor): ClassVisitor?","com.grappenmaker.mappings.JarClassVisitor.visit"]},{"name":"abstract fun writeLazy(mappings: T): Sequence","description":"com.grappenmaker.mappings.MappingsFormat.writeLazy","location":"mappings-util/com.grappenmaker.mappings/-mappings-format/write-lazy.html","searchKeys":["writeLazy","abstract fun writeLazy(mappings: T): Sequence","com.grappenmaker.mappings.MappingsFormat.writeLazy"]},{"name":"abstract val classes: List","description":"com.grappenmaker.mappings.Mappings.classes","location":"mappings-util/com.grappenmaker.mappings/-mappings/classes.html","searchKeys":["classes","abstract val classes: List","com.grappenmaker.mappings.Mappings.classes"]},{"name":"abstract val comments: List","description":"com.grappenmaker.mappings.Commented.comments","location":"mappings-util/com.grappenmaker.mappings/-commented/comments.html","searchKeys":["comments","abstract val comments: List","com.grappenmaker.mappings.Commented.comments"]},{"name":"abstract val names: List","description":"com.grappenmaker.mappings.Mapped.names","location":"mappings-util/com.grappenmaker.mappings/-mapped/names.html","searchKeys":["names","abstract val names: List","com.grappenmaker.mappings.Mapped.names"]},{"name":"abstract val namespaces: List","description":"com.grappenmaker.mappings.Mappings.namespaces","location":"mappings-util/com.grappenmaker.mappings/-mappings/namespaces.html","searchKeys":["namespaces","abstract val namespaces: List","com.grappenmaker.mappings.Mappings.namespaces"]},{"name":"annotation class ExperimentalJarRemapper","description":"com.grappenmaker.mappings.ExperimentalJarRemapper","location":"mappings-util/com.grappenmaker.mappings/-experimental-jar-remapper/index.html","searchKeys":["ExperimentalJarRemapper","annotation class ExperimentalJarRemapper","com.grappenmaker.mappings.ExperimentalJarRemapper"]},{"name":"annotation class JarRemapperDSL","description":"com.grappenmaker.mappings.JarRemapperDSL","location":"mappings-util/com.grappenmaker.mappings/-jar-remapper-d-s-l/index.html","searchKeys":["JarRemapperDSL","annotation class JarRemapperDSL","com.grappenmaker.mappings.JarRemapperDSL"]},{"name":"class AccessWidenerVisitor(parent: ClassVisitor?, tree: AccessWidenerTree) : ClassVisitor","description":"com.grappenmaker.mappings.AccessWidenerVisitor","location":"mappings-util/com.grappenmaker.mappings/-access-widener-visitor/index.html","searchKeys":["AccessWidenerVisitor","class AccessWidenerVisitor(parent: ClassVisitor?, tree: AccessWidenerTree) : ClassVisitor","com.grappenmaker.mappings.AccessWidenerVisitor"]},{"name":"class JarRemapper","description":"com.grappenmaker.mappings.JarRemapper","location":"mappings-util/com.grappenmaker.mappings/-jar-remapper/index.html","searchKeys":["JarRemapper","class JarRemapper","com.grappenmaker.mappings.JarRemapper"]},{"name":"class LoaderInheritanceProvider(loader: ClasspathLoader) : InheritanceProvider","description":"com.grappenmaker.mappings.LoaderInheritanceProvider","location":"mappings-util/com.grappenmaker.mappings/-loader-inheritance-provider/index.html","searchKeys":["LoaderInheritanceProvider","class LoaderInheritanceProvider(loader: ClasspathLoader) : InheritanceProvider","com.grappenmaker.mappings.LoaderInheritanceProvider"]},{"name":"class MappingsRemapper(val mappings: Mappings, val from: String, val to: String, loader: ClasspathLoader) : LoaderSimpleRemapper","description":"com.grappenmaker.mappings.MappingsRemapper","location":"mappings-util/com.grappenmaker.mappings/-mappings-remapper/index.html","searchKeys":["MappingsRemapper","class MappingsRemapper(val mappings: Mappings, val from: String, val to: String, loader: ClasspathLoader) : LoaderSimpleRemapper","com.grappenmaker.mappings.MappingsRemapper"]},{"name":"class MemoizedInheritanceProvider(delegate: InheritanceProvider) : InheritanceProvider","description":"com.grappenmaker.mappings.MemoizedInheritanceProvider","location":"mappings-util/com.grappenmaker.mappings/-memoized-inheritance-provider/index.html","searchKeys":["MemoizedInheritanceProvider","class MemoizedInheritanceProvider(delegate: InheritanceProvider) : InheritanceProvider","com.grappenmaker.mappings.MemoizedInheritanceProvider"]},{"name":"const val INHERITABLE_MASK: Int = 26","description":"com.grappenmaker.mappings.INHERITABLE_MASK","location":"mappings-util/com.grappenmaker.mappings/-i-n-h-e-r-i-t-a-b-l-e_-m-a-s-k.html","searchKeys":["INHERITABLE_MASK","const val INHERITABLE_MASK: Int = 26","com.grappenmaker.mappings.INHERITABLE_MASK"]},{"name":"constructor()","description":"com.grappenmaker.mappings.JarRemapper.JarRemapper","location":"mappings-util/com.grappenmaker.mappings/-jar-remapper/-jar-remapper.html","searchKeys":["JarRemapper","constructor()","com.grappenmaker.mappings.JarRemapper.JarRemapper"]},{"name":"constructor(classes: List)","description":"com.grappenmaker.mappings.CSRGMappings.CSRGMappings","location":"mappings-util/com.grappenmaker.mappings/-c-s-r-g-mappings/-c-s-r-g-mappings.html","searchKeys":["CSRGMappings","constructor(classes: List)","com.grappenmaker.mappings.CSRGMappings.CSRGMappings"]},{"name":"constructor(classes: List)","description":"com.grappenmaker.mappings.EnigmaMappings.EnigmaMappings","location":"mappings-util/com.grappenmaker.mappings/-enigma-mappings/-enigma-mappings.html","searchKeys":["EnigmaMappings","constructor(classes: List)","com.grappenmaker.mappings.EnigmaMappings.EnigmaMappings"]},{"name":"constructor(classes: List)","description":"com.grappenmaker.mappings.RecafMappings.RecafMappings","location":"mappings-util/com.grappenmaker.mappings/-recaf-mappings/-recaf-mappings.html","searchKeys":["RecafMappings","constructor(classes: List)","com.grappenmaker.mappings.RecafMappings.RecafMappings"]},{"name":"constructor(classes: List, comments: List = emptyList())","description":"com.grappenmaker.mappings.ProguardMappings.ProguardMappings","location":"mappings-util/com.grappenmaker.mappings/-proguard-mappings/-proguard-mappings.html","searchKeys":["ProguardMappings","constructor(classes: List, comments: List = emptyList())","com.grappenmaker.mappings.ProguardMappings.ProguardMappings"]},{"name":"constructor(classes: List, isExtended: Boolean)","description":"com.grappenmaker.mappings.SRGMappings.SRGMappings","location":"mappings-util/com.grappenmaker.mappings/-s-r-g-mappings/-s-r-g-mappings.html","searchKeys":["SRGMappings","constructor(classes: List, isExtended: Boolean)","com.grappenmaker.mappings.SRGMappings.SRGMappings"]},{"name":"constructor(delegate: InheritanceProvider)","description":"com.grappenmaker.mappings.MemoizedInheritanceProvider.MemoizedInheritanceProvider","location":"mappings-util/com.grappenmaker.mappings/-memoized-inheritance-provider/-memoized-inheritance-provider.html","searchKeys":["MemoizedInheritanceProvider","constructor(delegate: InheritanceProvider)","com.grappenmaker.mappings.MemoizedInheritanceProvider.MemoizedInheritanceProvider"]},{"name":"constructor(index: Int, startOffset: Int, lvtIndex: Int, names: List)","description":"com.grappenmaker.mappings.MappedLocal.MappedLocal","location":"mappings-util/com.grappenmaker.mappings/-mapped-local/-mapped-local.html","searchKeys":["MappedLocal","constructor(index: Int, startOffset: Int, lvtIndex: Int, names: List)","com.grappenmaker.mappings.MappedLocal.MappedLocal"]},{"name":"constructor(input: Path, output: Path, fromNamespace: String, toNamespace: String)","description":"com.grappenmaker.mappings.JarRemapTask.JarRemapTask","location":"mappings-util/com.grappenmaker.mappings/-jar-remap-task/-jar-remap-task.html","searchKeys":["JarRemapTask","constructor(input: Path, output: Path, fromNamespace: String, toNamespace: String)","com.grappenmaker.mappings.JarRemapTask.JarRemapTask"]},{"name":"constructor(loader: ClasspathLoader)","description":"com.grappenmaker.mappings.LoaderInheritanceProvider.LoaderInheritanceProvider","location":"mappings-util/com.grappenmaker.mappings/-loader-inheritance-provider/-loader-inheritance-provider.html","searchKeys":["LoaderInheritanceProvider","constructor(loader: ClasspathLoader)","com.grappenmaker.mappings.LoaderInheritanceProvider.LoaderInheritanceProvider"]},{"name":"constructor(map: Map, inheritanceProvider: InheritanceProvider, memoizeInheritance: Boolean = true)","description":"com.grappenmaker.mappings.LoaderSimpleRemapper.LoaderSimpleRemapper","location":"mappings-util/com.grappenmaker.mappings/-loader-simple-remapper/-loader-simple-remapper.html","searchKeys":["LoaderSimpleRemapper","constructor(map: Map, inheritanceProvider: InheritanceProvider, memoizeInheritance: Boolean = true)","com.grappenmaker.mappings.LoaderSimpleRemapper.LoaderSimpleRemapper"]},{"name":"constructor(map: Map, loader: ClasspathLoader, memoizeInheritance: Boolean = true)","description":"com.grappenmaker.mappings.LoaderSimpleRemapper.LoaderSimpleRemapper","location":"mappings-util/com.grappenmaker.mappings/-loader-simple-remapper/-loader-simple-remapper.html","searchKeys":["LoaderSimpleRemapper","constructor(map: Map, loader: ClasspathLoader, memoizeInheritance: Boolean = true)","com.grappenmaker.mappings.LoaderSimpleRemapper.LoaderSimpleRemapper"]},{"name":"constructor(mappings: Mappings, from: String, to: String, loader: ClasspathLoader)","description":"com.grappenmaker.mappings.MappingsRemapper.MappingsRemapper","location":"mappings-util/com.grappenmaker.mappings/-mappings-remapper/-mappings-remapper.html","searchKeys":["MappingsRemapper","constructor(mappings: Mappings, from: String, to: String, loader: ClasspathLoader)","com.grappenmaker.mappings.MappingsRemapper.MappingsRemapper"]},{"name":"constructor(mappings: TinyMappings, compact: Boolean)","description":"com.grappenmaker.mappings.TinyMappingsWriter.Context.Context","location":"mappings-util/com.grappenmaker.mappings/-tiny-mappings-writer/-context/-context.html","searchKeys":["Context","constructor(mappings: TinyMappings, compact: Boolean)","com.grappenmaker.mappings.TinyMappingsWriter.Context.Context"]},{"name":"constructor(mask: AccessMask, methods: Map, fields: Map)","description":"com.grappenmaker.mappings.AccessedClass.AccessedClass","location":"mappings-util/com.grappenmaker.mappings/-accessed-class/-accessed-class.html","searchKeys":["AccessedClass","constructor(mask: AccessMask, methods: Map, fields: Map)","com.grappenmaker.mappings.AccessedClass.AccessedClass"]},{"name":"constructor(name: String, desc: String)","description":"com.grappenmaker.mappings.MemberIdentifier.MemberIdentifier","location":"mappings-util/com.grappenmaker.mappings/-member-identifier/-member-identifier.html","searchKeys":["MemberIdentifier","constructor(name: String, desc: String)","com.grappenmaker.mappings.MemberIdentifier.MemberIdentifier"]},{"name":"constructor(names: List, comments: List = emptyList(), desc: String, parameters: List = emptyList(), variables: List = emptyList())","description":"com.grappenmaker.mappings.MappedMethod.MappedMethod","location":"mappings-util/com.grappenmaker.mappings/-mapped-method/-mapped-method.html","searchKeys":["MappedMethod","constructor(names: List, comments: List = emptyList(), desc: String, parameters: List = emptyList(), variables: List = emptyList())","com.grappenmaker.mappings.MappedMethod.MappedMethod"]},{"name":"constructor(names: List, comments: List = emptyList(), desc: String?)","description":"com.grappenmaker.mappings.MappedField.MappedField","location":"mappings-util/com.grappenmaker.mappings/-mapped-field/-mapped-field.html","searchKeys":["MappedField","constructor(names: List, comments: List = emptyList(), desc: String?)","com.grappenmaker.mappings.MappedField.MappedField"]},{"name":"constructor(names: List, comments: List = emptyList(), fields: List = emptyList(), methods: List = emptyList())","description":"com.grappenmaker.mappings.MappedClass.MappedClass","location":"mappings-util/com.grappenmaker.mappings/-mapped-class/-mapped-class.html","searchKeys":["MappedClass","constructor(names: List, comments: List = emptyList(), fields: List = emptyList(), methods: List = emptyList())","com.grappenmaker.mappings.MappedClass.MappedClass"]},{"name":"constructor(names: List, index: Int)","description":"com.grappenmaker.mappings.MappedParameter.MappedParameter","location":"mappings-util/com.grappenmaker.mappings/-mapped-parameter/-mapped-parameter.html","searchKeys":["MappedParameter","constructor(names: List, index: Int)","com.grappenmaker.mappings.MappedParameter.MappedParameter"]},{"name":"constructor(namespace: String, classes: Map)","description":"com.grappenmaker.mappings.AccessWidenerTree.AccessWidenerTree","location":"mappings-util/com.grappenmaker.mappings/-access-widener-tree/-access-widener-tree.html","searchKeys":["AccessWidenerTree","constructor(namespace: String, classes: Map)","com.grappenmaker.mappings.AccessWidenerTree.AccessWidenerTree"]},{"name":"constructor(namespaces: List, classes: List)","description":"com.grappenmaker.mappings.GenericMappings.GenericMappings","location":"mappings-util/com.grappenmaker.mappings/-generic-mappings/-generic-mappings.html","searchKeys":["GenericMappings","constructor(namespaces: List, classes: List)","com.grappenmaker.mappings.GenericMappings.GenericMappings"]},{"name":"constructor(namespaces: List, classes: List, isV2: Boolean)","description":"com.grappenmaker.mappings.TSRGMappings.TSRGMappings","location":"mappings-util/com.grappenmaker.mappings/-t-s-r-g-mappings/-t-s-r-g-mappings.html","searchKeys":["TSRGMappings","constructor(namespaces: List, classes: List, isV2: Boolean)","com.grappenmaker.mappings.TSRGMappings.TSRGMappings"]},{"name":"constructor(namespaces: List, classes: List, isV2: Boolean)","description":"com.grappenmaker.mappings.TinyMappings.TinyMappings","location":"mappings-util/com.grappenmaker.mappings/-tiny-mappings/-tiny-mappings.html","searchKeys":["TinyMappings","constructor(namespaces: List, classes: List, isV2: Boolean)","com.grappenmaker.mappings.TinyMappings.TinyMappings"]},{"name":"constructor(namespaces: List, classes: List, version: Int = 2)","description":"com.grappenmaker.mappings.CompactedMappings.CompactedMappings","location":"mappings-util/com.grappenmaker.mappings/-compacted-mappings/-compacted-mappings.html","searchKeys":["CompactedMappings","constructor(namespaces: List, classes: List, version: Int = 2)","com.grappenmaker.mappings.CompactedMappings.CompactedMappings"]},{"name":"constructor(owner: String, name: String, desc: String)","description":"com.grappenmaker.mappings.AccessedMember.AccessedMember","location":"mappings-util/com.grappenmaker.mappings/-accessed-member/-accessed-member.html","searchKeys":["AccessedMember","constructor(owner: String, name: String, desc: String)","com.grappenmaker.mappings.AccessedMember.AccessedMember"]},{"name":"constructor(parent: ClassVisitor, remapper: Remapper)","description":"com.grappenmaker.mappings.LambdaAwareRemapper.LambdaAwareRemapper","location":"mappings-util/com.grappenmaker.mappings/-lambda-aware-remapper/-lambda-aware-remapper.html","searchKeys":["LambdaAwareRemapper","constructor(parent: ClassVisitor, remapper: Remapper)","com.grappenmaker.mappings.LambdaAwareRemapper.LambdaAwareRemapper"]},{"name":"constructor(parent: ClassVisitor?, tree: AccessWidenerTree)","description":"com.grappenmaker.mappings.AccessWidenerVisitor.AccessWidenerVisitor","location":"mappings-util/com.grappenmaker.mappings/-access-widener-visitor/-access-widener-visitor.html","searchKeys":["AccessWidenerVisitor","constructor(parent: ClassVisitor?, tree: AccessWidenerTree)","com.grappenmaker.mappings.AccessWidenerVisitor.AccessWidenerVisitor"]},{"name":"constructor(parent: MethodVisitor, remapper: Remapper)","description":"com.grappenmaker.mappings.LambdaAwareMethodRemapper.LambdaAwareMethodRemapper","location":"mappings-util/com.grappenmaker.mappings/-lambda-aware-method-remapper/-lambda-aware-method-remapper.html","searchKeys":["LambdaAwareMethodRemapper","constructor(parent: MethodVisitor, remapper: Remapper)","com.grappenmaker.mappings.LambdaAwareMethodRemapper.LambdaAwareMethodRemapper"]},{"name":"constructor(value: Int)","description":"com.grappenmaker.mappings.AccessMask.AccessMask","location":"mappings-util/com.grappenmaker.mappings/-access-mask/-access-mask.html","searchKeys":["AccessMask","constructor(value: Int)","com.grappenmaker.mappings.AccessMask.AccessMask"]},{"name":"constructor(version: Int, namespace: String, classes: Map, methods: Map, fields: Map)","description":"com.grappenmaker.mappings.AccessWidener.AccessWidener","location":"mappings-util/com.grappenmaker.mappings/-access-widener/-access-widener.html","searchKeys":["AccessWidener","constructor(version: Int, namespace: String, classes: Map, methods: Map, fields: Map)","com.grappenmaker.mappings.AccessWidener.AccessWidener"]},{"name":"data class AccessWidener(val version: Int, val namespace: String, val classes: Map, val methods: Map, val fields: Map)","description":"com.grappenmaker.mappings.AccessWidener","location":"mappings-util/com.grappenmaker.mappings/-access-widener/index.html","searchKeys":["AccessWidener","data class AccessWidener(val version: Int, val namespace: String, val classes: Map, val methods: Map, val fields: Map)","com.grappenmaker.mappings.AccessWidener"]},{"name":"data class AccessWidenerTree(val namespace: String, val classes: Map)","description":"com.grappenmaker.mappings.AccessWidenerTree","location":"mappings-util/com.grappenmaker.mappings/-access-widener-tree/index.html","searchKeys":["AccessWidenerTree","data class AccessWidenerTree(val namespace: String, val classes: Map)","com.grappenmaker.mappings.AccessWidenerTree"]},{"name":"data class AccessedClass(val mask: AccessMask, val methods: Map, val fields: Map)","description":"com.grappenmaker.mappings.AccessedClass","location":"mappings-util/com.grappenmaker.mappings/-accessed-class/index.html","searchKeys":["AccessedClass","data class AccessedClass(val mask: AccessMask, val methods: Map, val fields: Map)","com.grappenmaker.mappings.AccessedClass"]},{"name":"data class AccessedMember(val owner: String, val name: String, val desc: String)","description":"com.grappenmaker.mappings.AccessedMember","location":"mappings-util/com.grappenmaker.mappings/-accessed-member/index.html","searchKeys":["AccessedMember","data class AccessedMember(val owner: String, val name: String, val desc: String)","com.grappenmaker.mappings.AccessedMember"]},{"name":"data class CSRGMappings(val classes: List) : Mappings","description":"com.grappenmaker.mappings.CSRGMappings","location":"mappings-util/com.grappenmaker.mappings/-c-s-r-g-mappings/index.html","searchKeys":["CSRGMappings","data class CSRGMappings(val classes: List) : Mappings","com.grappenmaker.mappings.CSRGMappings"]},{"name":"data class CompactedMappings(val namespaces: List, val classes: List, val version: Int = 2) : Mappings","description":"com.grappenmaker.mappings.CompactedMappings","location":"mappings-util/com.grappenmaker.mappings/-compacted-mappings/index.html","searchKeys":["CompactedMappings","data class CompactedMappings(val namespaces: List, val classes: List, val version: Int = 2) : Mappings","com.grappenmaker.mappings.CompactedMappings"]},{"name":"data class Context(val mappings: TinyMappings, val compact: Boolean)","description":"com.grappenmaker.mappings.TinyMappingsWriter.Context","location":"mappings-util/com.grappenmaker.mappings/-tiny-mappings-writer/-context/index.html","searchKeys":["Context","data class Context(val mappings: TinyMappings, val compact: Boolean)","com.grappenmaker.mappings.TinyMappingsWriter.Context"]},{"name":"data class EnigmaMappings(val classes: List) : Mappings","description":"com.grappenmaker.mappings.EnigmaMappings","location":"mappings-util/com.grappenmaker.mappings/-enigma-mappings/index.html","searchKeys":["EnigmaMappings","data class EnigmaMappings(val classes: List) : Mappings","com.grappenmaker.mappings.EnigmaMappings"]},{"name":"data class GenericMappings(val namespaces: List, val classes: List) : Mappings","description":"com.grappenmaker.mappings.GenericMappings","location":"mappings-util/com.grappenmaker.mappings/-generic-mappings/index.html","searchKeys":["GenericMappings","data class GenericMappings(val namespaces: List, val classes: List) : Mappings","com.grappenmaker.mappings.GenericMappings"]},{"name":"data class JarRemapTask(val input: Path, val output: Path, val fromNamespace: String, val toNamespace: String)","description":"com.grappenmaker.mappings.JarRemapTask","location":"mappings-util/com.grappenmaker.mappings/-jar-remap-task/index.html","searchKeys":["JarRemapTask","data class JarRemapTask(val input: Path, val output: Path, val fromNamespace: String, val toNamespace: String)","com.grappenmaker.mappings.JarRemapTask"]},{"name":"data class MappedClass(val names: List, val comments: List = emptyList(), val fields: List = emptyList(), val methods: List = emptyList()) : Mapped, Commented","description":"com.grappenmaker.mappings.MappedClass","location":"mappings-util/com.grappenmaker.mappings/-mapped-class/index.html","searchKeys":["MappedClass","data class MappedClass(val names: List, val comments: List = emptyList(), val fields: List = emptyList(), val methods: List = emptyList()) : Mapped, Commented","com.grappenmaker.mappings.MappedClass"]},{"name":"data class MappedField(val names: List, val comments: List = emptyList(), val desc: String?) : Mapped, Commented","description":"com.grappenmaker.mappings.MappedField","location":"mappings-util/com.grappenmaker.mappings/-mapped-field/index.html","searchKeys":["MappedField","data class MappedField(val names: List, val comments: List = emptyList(), val desc: String?) : Mapped, Commented","com.grappenmaker.mappings.MappedField"]},{"name":"data class MappedLocal(val index: Int, val startOffset: Int, val lvtIndex: Int, val names: List) : Mapped","description":"com.grappenmaker.mappings.MappedLocal","location":"mappings-util/com.grappenmaker.mappings/-mapped-local/index.html","searchKeys":["MappedLocal","data class MappedLocal(val index: Int, val startOffset: Int, val lvtIndex: Int, val names: List) : Mapped","com.grappenmaker.mappings.MappedLocal"]},{"name":"data class MappedMethod(val names: List, val comments: List = emptyList(), val desc: String, val parameters: List = emptyList(), val variables: List = emptyList()) : Mapped, Commented","description":"com.grappenmaker.mappings.MappedMethod","location":"mappings-util/com.grappenmaker.mappings/-mapped-method/index.html","searchKeys":["MappedMethod","data class MappedMethod(val names: List, val comments: List = emptyList(), val desc: String, val parameters: List = emptyList(), val variables: List = emptyList()) : Mapped, Commented","com.grappenmaker.mappings.MappedMethod"]},{"name":"data class MappedParameter(val names: List, val index: Int) : Mapped","description":"com.grappenmaker.mappings.MappedParameter","location":"mappings-util/com.grappenmaker.mappings/-mapped-parameter/index.html","searchKeys":["MappedParameter","data class MappedParameter(val names: List, val index: Int) : Mapped","com.grappenmaker.mappings.MappedParameter"]},{"name":"data class MemberIdentifier(val name: String, val desc: String)","description":"com.grappenmaker.mappings.MemberIdentifier","location":"mappings-util/com.grappenmaker.mappings/-member-identifier/index.html","searchKeys":["MemberIdentifier","data class MemberIdentifier(val name: String, val desc: String)","com.grappenmaker.mappings.MemberIdentifier"]},{"name":"data class ProguardMappings(val classes: List, val comments: List = emptyList()) : Mappings, Commented","description":"com.grappenmaker.mappings.ProguardMappings","location":"mappings-util/com.grappenmaker.mappings/-proguard-mappings/index.html","searchKeys":["ProguardMappings","data class ProguardMappings(val classes: List, val comments: List = emptyList()) : Mappings, Commented","com.grappenmaker.mappings.ProguardMappings"]},{"name":"data class RecafMappings(val classes: List) : Mappings","description":"com.grappenmaker.mappings.RecafMappings","location":"mappings-util/com.grappenmaker.mappings/-recaf-mappings/index.html","searchKeys":["RecafMappings","data class RecafMappings(val classes: List) : Mappings","com.grappenmaker.mappings.RecafMappings"]},{"name":"data class SRGMappings(val classes: List, val isExtended: Boolean) : Mappings","description":"com.grappenmaker.mappings.SRGMappings","location":"mappings-util/com.grappenmaker.mappings/-s-r-g-mappings/index.html","searchKeys":["SRGMappings","data class SRGMappings(val classes: List, val isExtended: Boolean) : Mappings","com.grappenmaker.mappings.SRGMappings"]},{"name":"data class TSRGMappings(val namespaces: List, val classes: List, val isV2: Boolean) : Mappings","description":"com.grappenmaker.mappings.TSRGMappings","location":"mappings-util/com.grappenmaker.mappings/-t-s-r-g-mappings/index.html","searchKeys":["TSRGMappings","data class TSRGMappings(val namespaces: List, val classes: List, val isV2: Boolean) : Mappings","com.grappenmaker.mappings.TSRGMappings"]},{"name":"data class TinyMappings(val namespaces: List, val classes: List, val isV2: Boolean) : Mappings","description":"com.grappenmaker.mappings.TinyMappings","location":"mappings-util/com.grappenmaker.mappings/-tiny-mappings/index.html","searchKeys":["TinyMappings","data class TinyMappings(val namespaces: List, val classes: List, val isV2: Boolean) : Mappings","com.grappenmaker.mappings.TinyMappings"]},{"name":"data object CSRGMappingsFormat : MappingsFormat.Undetectable ","description":"com.grappenmaker.mappings.CSRGMappingsFormat","location":"mappings-util/com.grappenmaker.mappings/-c-s-r-g-mappings-format/index.html","searchKeys":["CSRGMappingsFormat","data object CSRGMappingsFormat : MappingsFormat.Undetectable ","com.grappenmaker.mappings.CSRGMappingsFormat"]},{"name":"data object CompactedMappingsFormat","description":"com.grappenmaker.mappings.CompactedMappingsFormat","location":"mappings-util/com.grappenmaker.mappings/-compacted-mappings-format/index.html","searchKeys":["CompactedMappingsFormat","data object CompactedMappingsFormat","com.grappenmaker.mappings.CompactedMappingsFormat"]},{"name":"data object EmptyMappings : Mappings","description":"com.grappenmaker.mappings.EmptyMappings","location":"mappings-util/com.grappenmaker.mappings/-empty-mappings/index.html","searchKeys":["EmptyMappings","data object EmptyMappings : Mappings","com.grappenmaker.mappings.EmptyMappings"]},{"name":"data object EnigmaMappingsFormat : MappingsFormat ","description":"com.grappenmaker.mappings.EnigmaMappingsFormat","location":"mappings-util/com.grappenmaker.mappings/-enigma-mappings-format/index.html","searchKeys":["EnigmaMappingsFormat","data object EnigmaMappingsFormat : MappingsFormat ","com.grappenmaker.mappings.EnigmaMappingsFormat"]},{"name":"data object ProguardMappingsFormat : MappingsFormat ","description":"com.grappenmaker.mappings.ProguardMappingsFormat","location":"mappings-util/com.grappenmaker.mappings/-proguard-mappings-format/index.html","searchKeys":["ProguardMappingsFormat","data object ProguardMappingsFormat : MappingsFormat ","com.grappenmaker.mappings.ProguardMappingsFormat"]},{"name":"data object RecafMappingsFormat : MappingsFormat.Undetectable ","description":"com.grappenmaker.mappings.RecafMappingsFormat","location":"mappings-util/com.grappenmaker.mappings/-recaf-mappings-format/index.html","searchKeys":["RecafMappingsFormat","data object RecafMappingsFormat : MappingsFormat.Undetectable ","com.grappenmaker.mappings.RecafMappingsFormat"]},{"name":"data object SRGMappingsFormat : MappingsFormat ","description":"com.grappenmaker.mappings.SRGMappingsFormat","location":"mappings-util/com.grappenmaker.mappings/-s-r-g-mappings-format/index.html","searchKeys":["SRGMappingsFormat","data object SRGMappingsFormat : MappingsFormat ","com.grappenmaker.mappings.SRGMappingsFormat"]},{"name":"data object TSRGV1MappingsFormat : MappingsFormat ","description":"com.grappenmaker.mappings.TSRGV1MappingsFormat","location":"mappings-util/com.grappenmaker.mappings/-t-s-r-g-v1-mappings-format/index.html","searchKeys":["TSRGV1MappingsFormat","data object TSRGV1MappingsFormat : MappingsFormat ","com.grappenmaker.mappings.TSRGV1MappingsFormat"]},{"name":"data object TSRGV2MappingsFormat : MappingsFormat ","description":"com.grappenmaker.mappings.TSRGV2MappingsFormat","location":"mappings-util/com.grappenmaker.mappings/-t-s-r-g-v2-mappings-format/index.html","searchKeys":["TSRGV2MappingsFormat","data object TSRGV2MappingsFormat : MappingsFormat ","com.grappenmaker.mappings.TSRGV2MappingsFormat"]},{"name":"data object TinyMappingsV1Format : TinyMappingsWriter","description":"com.grappenmaker.mappings.TinyMappingsV1Format","location":"mappings-util/com.grappenmaker.mappings/-tiny-mappings-v1-format/index.html","searchKeys":["TinyMappingsV1Format","data object TinyMappingsV1Format : TinyMappingsWriter","com.grappenmaker.mappings.TinyMappingsV1Format"]},{"name":"data object TinyMappingsV2Format : TinyMappingsWriter","description":"com.grappenmaker.mappings.TinyMappingsV2Format","location":"mappings-util/com.grappenmaker.mappings/-tiny-mappings-v2-format/index.html","searchKeys":["TinyMappingsV2Format","data object TinyMappingsV2Format : TinyMappingsWriter","com.grappenmaker.mappings.TinyMappingsV2Format"]},{"name":"data object XSRGMappingsFormat : MappingsFormat ","description":"com.grappenmaker.mappings.XSRGMappingsFormat","location":"mappings-util/com.grappenmaker.mappings/-x-s-r-g-mappings-format/index.html","searchKeys":["XSRGMappingsFormat","data object XSRGMappingsFormat : MappingsFormat ","com.grappenmaker.mappings.XSRGMappingsFormat"]},{"name":"enum AccessType : Enum ","description":"com.grappenmaker.mappings.AccessType","location":"mappings-util/com.grappenmaker.mappings/-access-type/index.html","searchKeys":["AccessType","enum AccessType : Enum ","com.grappenmaker.mappings.AccessType"]},{"name":"fun MappingsFormat.parse(lines: Sequence): T","description":"com.grappenmaker.mappings.parse","location":"mappings-util/com.grappenmaker.mappings/parse.html","searchKeys":["parse","fun MappingsFormat.parse(lines: Sequence): T","com.grappenmaker.mappings.parse"]},{"name":"fun AbstractInsnNode.remap(remapper: Remapper, lambdaAware: Boolean = true)","description":"com.grappenmaker.mappings.remap","location":"mappings-util/com.grappenmaker.mappings/remap.html","searchKeys":["remap","fun AbstractInsnNode.remap(remapper: Remapper, lambdaAware: Boolean = true)","com.grappenmaker.mappings.remap"]},{"name":"fun AccessWidener.remap(mappings: Mappings, toNamespace: String): AccessWidener","description":"com.grappenmaker.mappings.remap","location":"mappings-util/com.grappenmaker.mappings/remap.html","searchKeys":["remap","fun AccessWidener.remap(mappings: Mappings, toNamespace: String): AccessWidener","com.grappenmaker.mappings.remap"]},{"name":"fun AccessWidener.remap(remapper: Remapper, toNamespace: String): AccessWidener","description":"com.grappenmaker.mappings.remap","location":"mappings-util/com.grappenmaker.mappings/remap.html","searchKeys":["remap","fun AccessWidener.remap(remapper: Remapper, toNamespace: String): AccessWidener","com.grappenmaker.mappings.remap"]},{"name":"fun AccessWidener.toTree(): AccessWidenerTree","description":"com.grappenmaker.mappings.toTree","location":"mappings-util/com.grappenmaker.mappings/to-tree.html","searchKeys":["toTree","fun AccessWidener.toTree(): AccessWidenerTree","com.grappenmaker.mappings.toTree"]},{"name":"fun AccessWidener.write(): List","description":"com.grappenmaker.mappings.write","location":"mappings-util/com.grappenmaker.mappings/write.html","searchKeys":["write","fun AccessWidener.write(): List","com.grappenmaker.mappings.write"]},{"name":"fun AccessWidener.writeLazy(): Sequence","description":"com.grappenmaker.mappings.writeLazy","location":"mappings-util/com.grappenmaker.mappings/write-lazy.html","searchKeys":["writeLazy","fun AccessWidener.writeLazy(): Sequence","com.grappenmaker.mappings.writeLazy"]},{"name":"fun AnnotationNode.remap(remapper: Remapper)","description":"com.grappenmaker.mappings.remap","location":"mappings-util/com.grappenmaker.mappings/remap.html","searchKeys":["remap","fun AnnotationNode.remap(remapper: Remapper)","com.grappenmaker.mappings.remap"]},{"name":"fun Array?>.remap(remapper: Remapper)","description":"com.grappenmaker.mappings.remap","location":"mappings-util/com.grappenmaker.mappings/remap.html","searchKeys":["remap","fun Array?>.remap(remapper: Remapper)","com.grappenmaker.mappings.remap"]},{"name":"fun CSRGMappings.write(): List","description":"com.grappenmaker.mappings.write","location":"mappings-util/com.grappenmaker.mappings/write.html","searchKeys":["write","fun CSRGMappings.write(): List","com.grappenmaker.mappings.write"]},{"name":"fun CSRGMappings.writeLazy(): Sequence","description":"com.grappenmaker.mappings.writeLazy","location":"mappings-util/com.grappenmaker.mappings/write-lazy.html","searchKeys":["writeLazy","fun CSRGMappings.writeLazy(): Sequence","com.grappenmaker.mappings.writeLazy"]},{"name":"fun ClassNode.applyWidener(tree: AccessWidenerTree)","description":"com.grappenmaker.mappings.applyWidener","location":"mappings-util/com.grappenmaker.mappings/apply-widener.html","searchKeys":["applyWidener","fun ClassNode.applyWidener(tree: AccessWidenerTree)","com.grappenmaker.mappings.applyWidener"]},{"name":"fun ClassNode.remap(remapper: Remapper, lambdaAware: Boolean = true)","description":"com.grappenmaker.mappings.remap","location":"mappings-util/com.grappenmaker.mappings/remap.html","searchKeys":["remap","fun ClassNode.remap(remapper: Remapper, lambdaAware: Boolean = true)","com.grappenmaker.mappings.remap"]},{"name":"fun ClasspathLoader.asInheritanceProvider(): InheritanceProvider","description":"com.grappenmaker.mappings.asInheritanceProvider","location":"mappings-util/com.grappenmaker.mappings/as-inheritance-provider.html","searchKeys":["asInheritanceProvider","fun ClasspathLoader.asInheritanceProvider(): InheritanceProvider","com.grappenmaker.mappings.asInheritanceProvider"]},{"name":"fun ClasspathLoader.memoized(): ClasspathLoader","description":"com.grappenmaker.mappings.memoized","location":"mappings-util/com.grappenmaker.mappings/memoized.html","searchKeys":["memoized","fun ClasspathLoader.memoized(): ClasspathLoader","com.grappenmaker.mappings.memoized"]},{"name":"fun ClasspathLoader.memoizedTo(memo: MutableMap): ClasspathLoader","description":"com.grappenmaker.mappings.memoizedTo","location":"mappings-util/com.grappenmaker.mappings/memoized-to.html","searchKeys":["memoizedTo","fun ClasspathLoader.memoizedTo(memo: MutableMap): ClasspathLoader","com.grappenmaker.mappings.memoizedTo"]},{"name":"fun ClasspathLoader.remapping(remapper: Remapper): ClasspathLoader","description":"com.grappenmaker.mappings.remapping","location":"mappings-util/com.grappenmaker.mappings/remapping.html","searchKeys":["remapping","fun ClasspathLoader.remapping(remapper: Remapper): ClasspathLoader","com.grappenmaker.mappings.remapping"]},{"name":"fun ClasspathLoader.remappingNames(mappings: Mappings, from: String, to: String): ClasspathLoader","description":"com.grappenmaker.mappings.remappingNames","location":"mappings-util/com.grappenmaker.mappings/remapping-names.html","searchKeys":["remappingNames","fun ClasspathLoader.remappingNames(mappings: Mappings, from: String, to: String): ClasspathLoader","com.grappenmaker.mappings.remappingNames"]},{"name":"fun CompactedMappings.write(): ByteArray","description":"com.grappenmaker.mappings.write","location":"mappings-util/com.grappenmaker.mappings/write.html","searchKeys":["write","fun CompactedMappings.write(): ByteArray","com.grappenmaker.mappings.write"]},{"name":"fun CompactedMappings.writeTo(stream: OutputStream)","description":"com.grappenmaker.mappings.writeTo","location":"mappings-util/com.grappenmaker.mappings/write-to.html","searchKeys":["writeTo","fun CompactedMappings.writeTo(stream: OutputStream)","com.grappenmaker.mappings.writeTo"]},{"name":"fun EnigmaMappings.write(): List","description":"com.grappenmaker.mappings.write","location":"mappings-util/com.grappenmaker.mappings/write.html","searchKeys":["write","fun EnigmaMappings.write(): List","com.grappenmaker.mappings.write"]},{"name":"fun EnigmaMappings.writeLazy(): Sequence","description":"com.grappenmaker.mappings.writeLazy","location":"mappings-util/com.grappenmaker.mappings/write-lazy.html","searchKeys":["writeLazy","fun EnigmaMappings.writeLazy(): Sequence","com.grappenmaker.mappings.writeLazy"]},{"name":"fun FieldNode.remap(ownerName: String, remapper: Remapper)","description":"com.grappenmaker.mappings.remap","location":"mappings-util/com.grappenmaker.mappings/remap.html","searchKeys":["remap","fun FieldNode.remap(ownerName: String, remapper: Remapper)","com.grappenmaker.mappings.remap"]},{"name":"fun InheritanceProvider.memoized(): InheritanceProvider","description":"com.grappenmaker.mappings.memoized","location":"mappings-util/com.grappenmaker.mappings/memoized.html","searchKeys":["memoized","fun InheritanceProvider.memoized(): InheritanceProvider","com.grappenmaker.mappings.memoized"]},{"name":"fun Iterable.join(): AccessMask","description":"com.grappenmaker.mappings.join","location":"mappings-util/com.grappenmaker.mappings/join.html","searchKeys":["join","fun Iterable.join(): AccessMask","com.grappenmaker.mappings.join"]},{"name":"fun Iterable.join(): AccessWidener","description":"com.grappenmaker.mappings.join","location":"mappings-util/com.grappenmaker.mappings/join.html","searchKeys":["join","fun Iterable.join(): AccessWidener","com.grappenmaker.mappings.join"]},{"name":"fun Iterable.join(intermediateNamespace: String, requireMatch: Boolean = false): Mappings","description":"com.grappenmaker.mappings.join","location":"mappings-util/com.grappenmaker.mappings/join.html","searchKeys":["join","fun Iterable.join(intermediateNamespace: String, requireMatch: Boolean = false): Mappings","com.grappenmaker.mappings.join"]},{"name":"fun MappedMethod.isData(): Boolean","description":"com.grappenmaker.mappings.isData","location":"mappings-util/com.grappenmaker.mappings/is-data.html","searchKeys":["isData","fun MappedMethod.isData(): Boolean","com.grappenmaker.mappings.isData"]},{"name":"fun Mappings.asASMMapping(from: String, to: String, includeMethods: Boolean = true, includeFields: Boolean = true): Map","description":"com.grappenmaker.mappings.asASMMapping","location":"mappings-util/com.grappenmaker.mappings/as-a-s-m-mapping.html","searchKeys":["asASMMapping","fun Mappings.asASMMapping(from: String, to: String, includeMethods: Boolean = true, includeFields: Boolean = true): Map","com.grappenmaker.mappings.asASMMapping"]},{"name":"fun Mappings.asCSRGMappings(): CSRGMappings","description":"com.grappenmaker.mappings.asCSRGMappings","location":"mappings-util/com.grappenmaker.mappings/as-c-s-r-g-mappings.html","searchKeys":["asCSRGMappings","fun Mappings.asCSRGMappings(): CSRGMappings","com.grappenmaker.mappings.asCSRGMappings"]},{"name":"fun Mappings.asCompactedMappings(version: Int = 2): CompactedMappings","description":"com.grappenmaker.mappings.asCompactedMappings","location":"mappings-util/com.grappenmaker.mappings/as-compacted-mappings.html","searchKeys":["asCompactedMappings","fun Mappings.asCompactedMappings(version: Int = 2): CompactedMappings","com.grappenmaker.mappings.asCompactedMappings"]},{"name":"fun Mappings.asEnigmaMappings(): EnigmaMappings","description":"com.grappenmaker.mappings.asEnigmaMappings","location":"mappings-util/com.grappenmaker.mappings/as-enigma-mappings.html","searchKeys":["asEnigmaMappings","fun Mappings.asEnigmaMappings(): EnigmaMappings","com.grappenmaker.mappings.asEnigmaMappings"]},{"name":"fun Mappings.asGenericMappings(): GenericMappings","description":"com.grappenmaker.mappings.asGenericMappings","location":"mappings-util/com.grappenmaker.mappings/as-generic-mappings.html","searchKeys":["asGenericMappings","fun Mappings.asGenericMappings(): GenericMappings","com.grappenmaker.mappings.asGenericMappings"]},{"name":"fun Mappings.asProguardMappings(): ProguardMappings","description":"com.grappenmaker.mappings.asProguardMappings","location":"mappings-util/com.grappenmaker.mappings/as-proguard-mappings.html","searchKeys":["asProguardMappings","fun Mappings.asProguardMappings(): ProguardMappings","com.grappenmaker.mappings.asProguardMappings"]},{"name":"fun Mappings.asRecafMappings(): RecafMappings","description":"com.grappenmaker.mappings.asRecafMappings","location":"mappings-util/com.grappenmaker.mappings/as-recaf-mappings.html","searchKeys":["asRecafMappings","fun Mappings.asRecafMappings(): RecafMappings","com.grappenmaker.mappings.asRecafMappings"]},{"name":"fun Mappings.asSRGMappings(extended: Boolean): SRGMappings","description":"com.grappenmaker.mappings.asSRGMappings","location":"mappings-util/com.grappenmaker.mappings/as-s-r-g-mappings.html","searchKeys":["asSRGMappings","fun Mappings.asSRGMappings(extended: Boolean): SRGMappings","com.grappenmaker.mappings.asSRGMappings"]},{"name":"fun Mappings.asSimpleRemapper(from: String, to: String): SimpleRemapper","description":"com.grappenmaker.mappings.asSimpleRemapper","location":"mappings-util/com.grappenmaker.mappings/as-simple-remapper.html","searchKeys":["asSimpleRemapper","fun Mappings.asSimpleRemapper(from: String, to: String): SimpleRemapper","com.grappenmaker.mappings.asSimpleRemapper"]},{"name":"fun Mappings.asTSRGMappings(v2: Boolean): TSRGMappings","description":"com.grappenmaker.mappings.asTSRGMappings","location":"mappings-util/com.grappenmaker.mappings/as-t-s-r-g-mappings.html","searchKeys":["asTSRGMappings","fun Mappings.asTSRGMappings(v2: Boolean): TSRGMappings","com.grappenmaker.mappings.asTSRGMappings"]},{"name":"fun Mappings.asTinyMappings(v2: Boolean): TinyMappings","description":"com.grappenmaker.mappings.asTinyMappings","location":"mappings-util/com.grappenmaker.mappings/as-tiny-mappings.html","searchKeys":["asTinyMappings","fun Mappings.asTinyMappings(v2: Boolean): TinyMappings","com.grappenmaker.mappings.asTinyMappings"]},{"name":"fun Mappings.deduplicateNamespaces(): Mappings","description":"com.grappenmaker.mappings.deduplicateNamespaces","location":"mappings-util/com.grappenmaker.mappings/deduplicate-namespaces.html","searchKeys":["deduplicateNamespaces","fun Mappings.deduplicateNamespaces(): Mappings","com.grappenmaker.mappings.deduplicateNamespaces"]},{"name":"fun Mappings.extractNamespaces(from: String, to: String): Mappings","description":"com.grappenmaker.mappings.extractNamespaces","location":"mappings-util/com.grappenmaker.mappings/extract-namespaces.html","searchKeys":["extractNamespaces","fun Mappings.extractNamespaces(from: String, to: String): Mappings","com.grappenmaker.mappings.extractNamespaces"]},{"name":"fun Mappings.filterNamespaces(allowed: Set, allowDuplicates: Boolean = false): Mappings","description":"com.grappenmaker.mappings.filterNamespaces","location":"mappings-util/com.grappenmaker.mappings/filter-namespaces.html","searchKeys":["filterNamespaces","fun Mappings.filterNamespaces(allowed: Set, allowDuplicates: Boolean = false): Mappings","com.grappenmaker.mappings.filterNamespaces"]},{"name":"fun Mappings.filterNamespaces(vararg allowed: String, allowDuplicates: Boolean = false): Mappings","description":"com.grappenmaker.mappings.filterNamespaces","location":"mappings-util/com.grappenmaker.mappings/filter-namespaces.html","searchKeys":["filterNamespaces","fun Mappings.filterNamespaces(vararg allowed: String, allowDuplicates: Boolean = false): Mappings","com.grappenmaker.mappings.filterNamespaces"]},{"name":"fun Mappings.join(otherMappings: Mappings, intermediateNamespace: String, requireMatch: Boolean = false): Mappings","description":"com.grappenmaker.mappings.join","location":"mappings-util/com.grappenmaker.mappings/join.html","searchKeys":["join","fun Mappings.join(otherMappings: Mappings, intermediateNamespace: String, requireMatch: Boolean = false): Mappings","com.grappenmaker.mappings.join"]},{"name":"fun Mappings.namespace(name: String): Int","description":"com.grappenmaker.mappings.namespace","location":"mappings-util/com.grappenmaker.mappings/namespace.html","searchKeys":["namespace","fun Mappings.namespace(name: String): Int","com.grappenmaker.mappings.namespace"]},{"name":"fun Mappings.recoverFieldDescriptors(bytesProvider: (name: String) -> ByteArray?): Mappings","description":"com.grappenmaker.mappings.recoverFieldDescriptors","location":"mappings-util/com.grappenmaker.mappings/recover-field-descriptors.html","searchKeys":["recoverFieldDescriptors","fun Mappings.recoverFieldDescriptors(bytesProvider: (name: String) -> ByteArray?): Mappings","com.grappenmaker.mappings.recoverFieldDescriptors"]},{"name":"fun Mappings.recoverFieldDescriptors(file: JarFile): Mappings","description":"com.grappenmaker.mappings.recoverFieldDescriptors","location":"mappings-util/com.grappenmaker.mappings/recover-field-descriptors.html","searchKeys":["recoverFieldDescriptors","fun Mappings.recoverFieldDescriptors(file: JarFile): Mappings","com.grappenmaker.mappings.recoverFieldDescriptors"]},{"name":"fun Mappings.recoverFieldDescriptors(nodeProvider: (name: String) -> ClassNode?): Mappings","description":"com.grappenmaker.mappings.recoverFieldDescriptors","location":"mappings-util/com.grappenmaker.mappings/recover-field-descriptors.html","searchKeys":["recoverFieldDescriptors","fun Mappings.recoverFieldDescriptors(nodeProvider: (name: String) -> ClassNode?): Mappings","com.grappenmaker.mappings.recoverFieldDescriptors"]},{"name":"fun Mappings.removeComments(): Mappings","description":"com.grappenmaker.mappings.removeComments","location":"mappings-util/com.grappenmaker.mappings/remove-comments.html","searchKeys":["removeComments","fun Mappings.removeComments(): Mappings","com.grappenmaker.mappings.removeComments"]},{"name":"fun Mappings.removeRedundancy(file: JarFile, removeDuplicateMethods: Boolean = false): Mappings","description":"com.grappenmaker.mappings.removeRedundancy","location":"mappings-util/com.grappenmaker.mappings/remove-redundancy.html","searchKeys":["removeRedundancy","fun Mappings.removeRedundancy(file: JarFile, removeDuplicateMethods: Boolean = false): Mappings","com.grappenmaker.mappings.removeRedundancy"]},{"name":"fun Mappings.removeRedundancy(inheritanceProvider: InheritanceProvider, removeDuplicateMethods: Boolean = false): Mappings","description":"com.grappenmaker.mappings.removeRedundancy","location":"mappings-util/com.grappenmaker.mappings/remove-redundancy.html","searchKeys":["removeRedundancy","fun Mappings.removeRedundancy(inheritanceProvider: InheritanceProvider, removeDuplicateMethods: Boolean = false): Mappings","com.grappenmaker.mappings.removeRedundancy"]},{"name":"fun Mappings.removeRedundancy(removeDuplicateMethods: Boolean = false, loader: ClasspathLoader): Mappings","description":"com.grappenmaker.mappings.removeRedundancy","location":"mappings-util/com.grappenmaker.mappings/remove-redundancy.html","searchKeys":["removeRedundancy","fun Mappings.removeRedundancy(removeDuplicateMethods: Boolean = false, loader: ClasspathLoader): Mappings","com.grappenmaker.mappings.removeRedundancy"]},{"name":"fun Mappings.renameNamespaces(to: List): Mappings","description":"com.grappenmaker.mappings.renameNamespaces","location":"mappings-util/com.grappenmaker.mappings/rename-namespaces.html","searchKeys":["renameNamespaces","fun Mappings.renameNamespaces(to: List): Mappings","com.grappenmaker.mappings.renameNamespaces"]},{"name":"fun Mappings.renameNamespaces(vararg to: String): Mappings","description":"com.grappenmaker.mappings.renameNamespaces","location":"mappings-util/com.grappenmaker.mappings/rename-namespaces.html","searchKeys":["renameNamespaces","fun Mappings.renameNamespaces(vararg to: String): Mappings","com.grappenmaker.mappings.renameNamespaces"]},{"name":"fun Mappings.reorderNamespaces(order: List): Mappings","description":"com.grappenmaker.mappings.reorderNamespaces","location":"mappings-util/com.grappenmaker.mappings/reorder-namespaces.html","searchKeys":["reorderNamespaces","fun Mappings.reorderNamespaces(order: List): Mappings","com.grappenmaker.mappings.reorderNamespaces"]},{"name":"fun Mappings.reorderNamespaces(vararg order: String): Mappings","description":"com.grappenmaker.mappings.reorderNamespaces","location":"mappings-util/com.grappenmaker.mappings/reorder-namespaces.html","searchKeys":["reorderNamespaces","fun Mappings.reorderNamespaces(vararg order: String): Mappings","com.grappenmaker.mappings.reorderNamespaces"]},{"name":"fun MethodNode.remap(ownerName: String, remapper: Remapper, lambdaAware: Boolean = true)","description":"com.grappenmaker.mappings.remap","location":"mappings-util/com.grappenmaker.mappings/remap.html","searchKeys":["remap","fun MethodNode.remap(ownerName: String, remapper: Remapper, lambdaAware: Boolean = true)","com.grappenmaker.mappings.remap"]},{"name":"fun MutableList.remap(remapper: Remapper)","description":"com.grappenmaker.mappings.remap","location":"mappings-util/com.grappenmaker.mappings/remap.html","searchKeys":["remap","fun MutableList.remap(remapper: Remapper)","com.grappenmaker.mappings.remap"]},{"name":"fun ProguardMappings.write(): List","description":"com.grappenmaker.mappings.write","location":"mappings-util/com.grappenmaker.mappings/write.html","searchKeys":["write","fun ProguardMappings.write(): List","com.grappenmaker.mappings.write"]},{"name":"fun ProguardMappings.writeLazy(): Sequence","description":"com.grappenmaker.mappings.writeLazy","location":"mappings-util/com.grappenmaker.mappings/write-lazy.html","searchKeys":["writeLazy","fun ProguardMappings.writeLazy(): Sequence","com.grappenmaker.mappings.writeLazy"]},{"name":"fun RecafMappings.write(): List","description":"com.grappenmaker.mappings.write","location":"mappings-util/com.grappenmaker.mappings/write.html","searchKeys":["write","fun RecafMappings.write(): List","com.grappenmaker.mappings.write"]},{"name":"fun RecafMappings.writeLazy(): Sequence","description":"com.grappenmaker.mappings.writeLazy","location":"mappings-util/com.grappenmaker.mappings/write-lazy.html","searchKeys":["writeLazy","fun RecafMappings.writeLazy(): Sequence","com.grappenmaker.mappings.writeLazy"]},{"name":"fun SRGMappings.asSimpleRemapper(): SimpleRemapper","description":"com.grappenmaker.mappings.asSimpleRemapper","location":"mappings-util/com.grappenmaker.mappings/as-simple-remapper.html","searchKeys":["asSimpleRemapper","fun SRGMappings.asSimpleRemapper(): SimpleRemapper","com.grappenmaker.mappings.asSimpleRemapper"]},{"name":"fun SRGMappings.write(): List","description":"com.grappenmaker.mappings.write","location":"mappings-util/com.grappenmaker.mappings/write.html","searchKeys":["write","fun SRGMappings.write(): List","com.grappenmaker.mappings.write"]},{"name":"fun SRGMappings.writeLazy(): Sequence","description":"com.grappenmaker.mappings.writeLazy","location":"mappings-util/com.grappenmaker.mappings/write-lazy.html","searchKeys":["writeLazy","fun SRGMappings.writeLazy(): Sequence","com.grappenmaker.mappings.writeLazy"]},{"name":"fun Sequence.join(): AccessWidener","description":"com.grappenmaker.mappings.join","location":"mappings-util/com.grappenmaker.mappings/join.html","searchKeys":["join","fun Sequence.join(): AccessWidener","com.grappenmaker.mappings.join"]},{"name":"fun Set.toMask(): AccessMask","description":"com.grappenmaker.mappings.toMask","location":"mappings-util/com.grappenmaker.mappings/to-mask.html","searchKeys":["toMask","fun Set.toMask(): AccessMask","com.grappenmaker.mappings.toMask"]},{"name":"fun TSRGMappings.write(): List","description":"com.grappenmaker.mappings.write","location":"mappings-util/com.grappenmaker.mappings/write.html","searchKeys":["write","fun TSRGMappings.write(): List","com.grappenmaker.mappings.write"]},{"name":"fun TSRGMappings.writeLazy(): Sequence","description":"com.grappenmaker.mappings.writeLazy","location":"mappings-util/com.grappenmaker.mappings/write-lazy.html","searchKeys":["writeLazy","fun TSRGMappings.writeLazy(): Sequence","com.grappenmaker.mappings.writeLazy"]},{"name":"fun TinyMappings.write(compact: Boolean = isV2): List","description":"com.grappenmaker.mappings.write","location":"mappings-util/com.grappenmaker.mappings/write.html","searchKeys":["write","fun TinyMappings.write(compact: Boolean = isV2): List","com.grappenmaker.mappings.write"]},{"name":"fun TinyMappings.writeLazy(compact: Boolean = isV2): Sequence","description":"com.grappenmaker.mappings.writeLazy","location":"mappings-util/com.grappenmaker.mappings/write-lazy.html","searchKeys":["writeLazy","fun TinyMappings.writeLazy(compact: Boolean = isV2): Sequence","com.grappenmaker.mappings.writeLazy"]},{"name":"fun Type.map(names: Map): Type","description":"com.grappenmaker.mappings.map","location":"mappings-util/com.grappenmaker.mappings/map.html","searchKeys":["map","fun Type.map(names: Map): Type","com.grappenmaker.mappings.map"]},{"name":"fun Type.map(remapper: Remapper): Type","description":"com.grappenmaker.mappings.map","location":"mappings-util/com.grappenmaker.mappings/map.html","searchKeys":["map","fun Type.map(remapper: Remapper): Type","com.grappenmaker.mappings.map"]},{"name":"fun compound(loaders: List): ClasspathLoader","description":"com.grappenmaker.mappings.ClasspathLoaders.compound","location":"mappings-util/com.grappenmaker.mappings/-classpath-loaders/compound.html","searchKeys":["compound","fun compound(loaders: List): ClasspathLoader","com.grappenmaker.mappings.ClasspathLoaders.compound"]},{"name":"fun compound(vararg loaders: ClasspathLoader): ClasspathLoader","description":"com.grappenmaker.mappings.ClasspathLoaders.compound","location":"mappings-util/com.grappenmaker.mappings/-classpath-loaders/compound.html","searchKeys":["compound","fun compound(vararg loaders: ClasspathLoader): ClasspathLoader","com.grappenmaker.mappings.ClasspathLoaders.compound"]},{"name":"fun findMappingsFormat(lines: List): MappingsFormat<*>","description":"com.grappenmaker.mappings.MappingsLoader.findMappingsFormat","location":"mappings-util/com.grappenmaker.mappings/-mappings-loader/find-mappings-format.html","searchKeys":["findMappingsFormat","fun findMappingsFormat(lines: List): MappingsFormat<*>","com.grappenmaker.mappings.MappingsLoader.findMappingsFormat"]},{"name":"fun fromJar(jar: JarFile): ClasspathLoader","description":"com.grappenmaker.mappings.ClasspathLoaders.fromJar","location":"mappings-util/com.grappenmaker.mappings/-classpath-loaders/from-jar.html","searchKeys":["fromJar","fun fromJar(jar: JarFile): ClasspathLoader","com.grappenmaker.mappings.ClasspathLoaders.fromJar"]},{"name":"fun fromJars(jars: List): ClasspathLoader","description":"com.grappenmaker.mappings.ClasspathLoaders.fromJars","location":"mappings-util/com.grappenmaker.mappings/-classpath-loaders/from-jars.html","searchKeys":["fromJars","fun fromJars(jars: List): ClasspathLoader","com.grappenmaker.mappings.ClasspathLoaders.fromJars"]},{"name":"fun fromLoader(loader: ClassLoader): ClasspathLoader","description":"com.grappenmaker.mappings.ClasspathLoaders.fromLoader","location":"mappings-util/com.grappenmaker.mappings/-classpath-loaders/from-loader.html","searchKeys":["fromLoader","fun fromLoader(loader: ClassLoader): ClasspathLoader","com.grappenmaker.mappings.ClasspathLoaders.fromLoader"]},{"name":"fun fromLookup(lookup: Map): ClasspathLoader","description":"com.grappenmaker.mappings.ClasspathLoaders.fromLookup","location":"mappings-util/com.grappenmaker.mappings/-classpath-loaders/from-lookup.html","searchKeys":["fromLookup","fun fromLookup(lookup: Map): ClasspathLoader","com.grappenmaker.mappings.ClasspathLoaders.fromLookup"]},{"name":"fun fromSystemLoader(): ClasspathLoader","description":"com.grappenmaker.mappings.ClasspathLoaders.fromSystemLoader","location":"mappings-util/com.grappenmaker.mappings/-classpath-loaders/from-system-loader.html","searchKeys":["fromSystemLoader","fun fromSystemLoader(): ClasspathLoader","com.grappenmaker.mappings.ClasspathLoaders.fromSystemLoader"]},{"name":"fun getOrNull(name: String): AccessType?","description":"com.grappenmaker.mappings.AccessType.Companion.getOrNull","location":"mappings-util/com.grappenmaker.mappings/-access-type/-companion/get-or-null.html","searchKeys":["getOrNull","fun getOrNull(name: String): AccessType?","com.grappenmaker.mappings.AccessType.Companion.getOrNull"]},{"name":"fun interface JarClassVisitor","description":"com.grappenmaker.mappings.JarClassVisitor","location":"mappings-util/com.grappenmaker.mappings/-jar-class-visitor/index.html","searchKeys":["JarClassVisitor","fun interface JarClassVisitor","com.grappenmaker.mappings.JarClassVisitor"]},{"name":"fun interface JarResourceVisitor","description":"com.grappenmaker.mappings.JarResourceVisitor","location":"mappings-util/com.grappenmaker.mappings/-jar-resource-visitor/index.html","searchKeys":["JarResourceVisitor","fun interface JarResourceVisitor","com.grappenmaker.mappings.JarResourceVisitor"]},{"name":"fun loadAccessWidener(lines: Iterator): AccessWidener","description":"com.grappenmaker.mappings.loadAccessWidener","location":"mappings-util/com.grappenmaker.mappings/load-access-widener.html","searchKeys":["loadAccessWidener","fun loadAccessWidener(lines: Iterator): AccessWidener","com.grappenmaker.mappings.loadAccessWidener"]},{"name":"fun loadAccessWidener(lines: List): AccessWidener","description":"com.grappenmaker.mappings.loadAccessWidener","location":"mappings-util/com.grappenmaker.mappings/load-access-widener.html","searchKeys":["loadAccessWidener","fun loadAccessWidener(lines: List): AccessWidener","com.grappenmaker.mappings.loadAccessWidener"]},{"name":"fun loadMappings(lines: List): Mappings","description":"com.grappenmaker.mappings.MappingsLoader.loadMappings","location":"mappings-util/com.grappenmaker.mappings/-mappings-loader/load-mappings.html","searchKeys":["loadMappings","fun loadMappings(lines: List): Mappings","com.grappenmaker.mappings.MappingsLoader.loadMappings"]},{"name":"fun mapDesc(desc: String, names: Map): String","description":"com.grappenmaker.mappings.mapDesc","location":"mappings-util/com.grappenmaker.mappings/map-desc.html","searchKeys":["mapDesc","fun mapDesc(desc: String, names: Map): String","com.grappenmaker.mappings.mapDesc"]},{"name":"fun mapMethodDesc(desc: String, names: Map): String","description":"com.grappenmaker.mappings.mapMethodDesc","location":"mappings-util/com.grappenmaker.mappings/map-method-desc.html","searchKeys":["mapMethodDesc","fun mapMethodDesc(desc: String, names: Map): String","com.grappenmaker.mappings.mapMethodDesc"]},{"name":"fun parse(bytes: ByteArray): CompactedMappings","description":"com.grappenmaker.mappings.CompactedMappingsFormat.parse","location":"mappings-util/com.grappenmaker.mappings/-compacted-mappings-format/parse.html","searchKeys":["parse","fun parse(bytes: ByteArray): CompactedMappings","com.grappenmaker.mappings.CompactedMappingsFormat.parse"]},{"name":"fun parse(input: InputStream): CompactedMappings","description":"com.grappenmaker.mappings.CompactedMappingsFormat.parse","location":"mappings-util/com.grappenmaker.mappings/-compacted-mappings-format/parse.html","searchKeys":["parse","fun parse(input: InputStream): CompactedMappings","com.grappenmaker.mappings.CompactedMappingsFormat.parse"]},{"name":"fun remapJar(mappings: Mappings, input: File, output: File, from: String = \"official\", to: String = \"named\", files: List, visitor: (parent: ClassVisitor) -> ClassVisitor = { it })","description":"com.grappenmaker.mappings.remapJar","location":"mappings-util/com.grappenmaker.mappings/remap-jar.html","searchKeys":["remapJar","fun remapJar(mappings: Mappings, input: File, output: File, from: String = \"official\", to: String = \"named\", files: List, visitor: (parent: ClassVisitor) -> ClassVisitor = { it })","com.grappenmaker.mappings.remapJar"]},{"name":"fun remapJar(mappings: Mappings, input: File, output: File, from: String = \"official\", to: String = \"named\", loader: ClasspathLoader = { null }, visitor: (parent: ClassVisitor) -> ClassVisitor? = null)","description":"com.grappenmaker.mappings.remapJar","location":"mappings-util/com.grappenmaker.mappings/remap-jar.html","searchKeys":["remapJar","fun remapJar(mappings: Mappings, input: File, output: File, from: String = \"official\", to: String = \"named\", loader: ClasspathLoader = { null }, visitor: (parent: ClassVisitor) -> ClassVisitor? = null)","com.grappenmaker.mappings.remapJar"]},{"name":"fun reverse(loader: ClasspathLoader = this.loader): MappingsRemapper","description":"com.grappenmaker.mappings.MappingsRemapper.reverse","location":"mappings-util/com.grappenmaker.mappings/-mappings-remapper/reverse.html","searchKeys":["reverse","fun reverse(loader: ClasspathLoader = this.loader): MappingsRemapper","com.grappenmaker.mappings.MappingsRemapper.reverse"]},{"name":"fun task(input: Path, output: Path, fromNamespace: String, toNamespace: String)","description":"com.grappenmaker.mappings.JarRemapper.task","location":"mappings-util/com.grappenmaker.mappings/-jar-remapper/task.html","searchKeys":["task","fun task(input: Path, output: Path, fromNamespace: String, toNamespace: String)","com.grappenmaker.mappings.JarRemapper.task"]},{"name":"fun toMask(): AccessMask","description":"com.grappenmaker.mappings.AccessType.toMask","location":"mappings-util/com.grappenmaker.mappings/-access-type/to-mask.html","searchKeys":["toMask","fun toMask(): AccessMask","com.grappenmaker.mappings.AccessType.toMask"]},{"name":"fun valueOf(value: String): AccessType","description":"com.grappenmaker.mappings.AccessType.valueOf","location":"mappings-util/com.grappenmaker.mappings/-access-type/value-of.html","searchKeys":["valueOf","fun valueOf(value: String): AccessType","com.grappenmaker.mappings.AccessType.valueOf"]},{"name":"fun values(): Array","description":"com.grappenmaker.mappings.AccessType.values","location":"mappings-util/com.grappenmaker.mappings/-access-type/values.html","searchKeys":["values","fun values(): Array","com.grappenmaker.mappings.AccessType.values"]},{"name":"fun visitClasses(visitor: JarClassVisitor)","description":"com.grappenmaker.mappings.JarRemapper.visitClasses","location":"mappings-util/com.grappenmaker.mappings/-jar-remapper/visit-classes.html","searchKeys":["visitClasses","fun visitClasses(visitor: JarClassVisitor)","com.grappenmaker.mappings.JarRemapper.visitClasses"]},{"name":"fun visitResources(visitor: JarResourceVisitor)","description":"com.grappenmaker.mappings.JarRemapper.visitResources","location":"mappings-util/com.grappenmaker.mappings/-jar-remapper/visit-resources.html","searchKeys":["visitResources","fun visitResources(visitor: JarResourceVisitor)","com.grappenmaker.mappings.JarRemapper.visitResources"]},{"name":"fun write(mappings: CompactedMappings): ByteArray","description":"com.grappenmaker.mappings.CompactedMappingsFormat.write","location":"mappings-util/com.grappenmaker.mappings/-compacted-mappings-format/write.html","searchKeys":["write","fun write(mappings: CompactedMappings): ByteArray","com.grappenmaker.mappings.CompactedMappingsFormat.write"]},{"name":"fun writeTo(mappings: CompactedMappings, stream: OutputStream)","description":"com.grappenmaker.mappings.CompactedMappingsFormat.writeTo","location":"mappings-util/com.grappenmaker.mappings/-compacted-mappings-format/write-to.html","searchKeys":["writeTo","fun writeTo(mappings: CompactedMappings, stream: OutputStream)","com.grappenmaker.mappings.CompactedMappingsFormat.writeTo"]},{"name":"inline fun MappedClass.filterMethods(predicate: (MappedMethod) -> Boolean): MappedClass","description":"com.grappenmaker.mappings.filterMethods","location":"mappings-util/com.grappenmaker.mappings/filter-methods.html","searchKeys":["filterMethods","inline fun MappedClass.filterMethods(predicate: (MappedMethod) -> Boolean): MappedClass","com.grappenmaker.mappings.filterMethods"]},{"name":"inline fun MappedClass.mapMethods(block: (MappedMethod) -> MappedMethod): MappedClass","description":"com.grappenmaker.mappings.mapMethods","location":"mappings-util/com.grappenmaker.mappings/map-methods.html","searchKeys":["mapMethods","inline fun MappedClass.mapMethods(block: (MappedMethod) -> MappedMethod): MappedClass","com.grappenmaker.mappings.mapMethods"]},{"name":"inline fun Mappings.filterClasses(predicate: (MappedClass) -> Boolean): Mappings","description":"com.grappenmaker.mappings.filterClasses","location":"mappings-util/com.grappenmaker.mappings/filter-classes.html","searchKeys":["filterClasses","inline fun Mappings.filterClasses(predicate: (MappedClass) -> Boolean): Mappings","com.grappenmaker.mappings.filterClasses"]},{"name":"inline fun Mappings.filterMethods(predicate: (owner: MappedClass, method: MappedMethod) -> Boolean): Mappings","description":"com.grappenmaker.mappings.filterMethods","location":"mappings-util/com.grappenmaker.mappings/filter-methods.html","searchKeys":["filterMethods","inline fun Mappings.filterMethods(predicate: (owner: MappedClass, method: MappedMethod) -> Boolean): Mappings","com.grappenmaker.mappings.filterMethods"]},{"name":"inline fun Mappings.filterNamespaces(allowDuplicates: Boolean = false, predicate: (String) -> Boolean): Mappings","description":"com.grappenmaker.mappings.filterNamespaces","location":"mappings-util/com.grappenmaker.mappings/filter-namespaces.html","searchKeys":["filterNamespaces","inline fun Mappings.filterNamespaces(allowDuplicates: Boolean = false, predicate: (String) -> Boolean): Mappings","com.grappenmaker.mappings.filterNamespaces"]},{"name":"inline fun Mappings.mapClasses(block: (MappedClass) -> MappedClass): Mappings","description":"com.grappenmaker.mappings.mapClasses","location":"mappings-util/com.grappenmaker.mappings/map-classes.html","searchKeys":["mapClasses","inline fun Mappings.mapClasses(block: (MappedClass) -> MappedClass): Mappings","com.grappenmaker.mappings.mapClasses"]},{"name":"inline fun Mappings.mapMethods(block: (owner: MappedClass, method: MappedMethod) -> MappedMethod): Mappings","description":"com.grappenmaker.mappings.mapMethods","location":"mappings-util/com.grappenmaker.mappings/map-methods.html","searchKeys":["mapMethods","inline fun Mappings.mapMethods(block: (owner: MappedClass, method: MappedMethod) -> MappedMethod): Mappings","com.grappenmaker.mappings.mapMethods"]},{"name":"inline suspend fun performRemap(builder: JarRemapper.() -> Unit)","description":"com.grappenmaker.mappings.performRemap","location":"mappings-util/com.grappenmaker.mappings/perform-remap.html","searchKeys":["performRemap","inline suspend fun performRemap(builder: JarRemapper.() -> Unit)","com.grappenmaker.mappings.performRemap"]},{"name":"interface InheritanceProvider","description":"com.grappenmaker.mappings.InheritanceProvider","location":"mappings-util/com.grappenmaker.mappings/-inheritance-provider/index.html","searchKeys":["InheritanceProvider","interface InheritanceProvider","com.grappenmaker.mappings.InheritanceProvider"]},{"name":"object ClasspathLoaders","description":"com.grappenmaker.mappings.ClasspathLoaders","location":"mappings-util/com.grappenmaker.mappings/-classpath-loaders/index.html","searchKeys":["ClasspathLoaders","object ClasspathLoaders","com.grappenmaker.mappings.ClasspathLoaders"]},{"name":"object Companion","description":"com.grappenmaker.mappings.AccessMask.Companion","location":"mappings-util/com.grappenmaker.mappings/-access-mask/-companion/index.html","searchKeys":["Companion","object Companion","com.grappenmaker.mappings.AccessMask.Companion"]},{"name":"object Companion","description":"com.grappenmaker.mappings.AccessType.Companion","location":"mappings-util/com.grappenmaker.mappings/-access-type/-companion/index.html","searchKeys":["Companion","object Companion","com.grappenmaker.mappings.AccessType.Companion"]},{"name":"object MappingsLoader","description":"com.grappenmaker.mappings.MappingsLoader","location":"mappings-util/com.grappenmaker.mappings/-mappings-loader/index.html","searchKeys":["MappingsLoader","object MappingsLoader","com.grappenmaker.mappings.MappingsLoader"]},{"name":"open class LambdaAwareMethodRemapper(parent: MethodVisitor, remapper: Remapper) : MethodRemapper","description":"com.grappenmaker.mappings.LambdaAwareMethodRemapper","location":"mappings-util/com.grappenmaker.mappings/-lambda-aware-method-remapper/index.html","searchKeys":["LambdaAwareMethodRemapper","open class LambdaAwareMethodRemapper(parent: MethodVisitor, remapper: Remapper) : MethodRemapper","com.grappenmaker.mappings.LambdaAwareMethodRemapper"]},{"name":"open class LambdaAwareRemapper(parent: ClassVisitor, remapper: Remapper) : ClassRemapper","description":"com.grappenmaker.mappings.LambdaAwareRemapper","location":"mappings-util/com.grappenmaker.mappings/-lambda-aware-remapper/index.html","searchKeys":["LambdaAwareRemapper","open class LambdaAwareRemapper(parent: ClassVisitor, remapper: Remapper) : ClassRemapper","com.grappenmaker.mappings.LambdaAwareRemapper"]},{"name":"open class LoaderSimpleRemapper(map: Map, inheritanceProvider: InheritanceProvider, memoizeInheritance: Boolean = true) : Remapper","description":"com.grappenmaker.mappings.LoaderSimpleRemapper","location":"mappings-util/com.grappenmaker.mappings/-loader-simple-remapper/index.html","searchKeys":["LoaderSimpleRemapper","open class LoaderSimpleRemapper(map: Map, inheritanceProvider: InheritanceProvider, memoizeInheritance: Boolean = true) : Remapper","com.grappenmaker.mappings.LoaderSimpleRemapper"]},{"name":"open fun getParents(internalName: String): Iterable","description":"com.grappenmaker.mappings.InheritanceProvider.getParents","location":"mappings-util/com.grappenmaker.mappings/-inheritance-provider/get-parents.html","searchKeys":["getParents","open fun getParents(internalName: String): Iterable","com.grappenmaker.mappings.InheritanceProvider.getParents"]},{"name":"open fun parse(lines: List): T","description":"com.grappenmaker.mappings.MappingsFormat.parse","location":"mappings-util/com.grappenmaker.mappings/-mappings-format/parse.html","searchKeys":["parse","open fun parse(lines: List): T","com.grappenmaker.mappings.MappingsFormat.parse"]},{"name":"open fun write(mappings: T): List","description":"com.grappenmaker.mappings.MappingsFormat.write","location":"mappings-util/com.grappenmaker.mappings/-mappings-format/write.html","searchKeys":["write","open fun write(mappings: T): List","com.grappenmaker.mappings.MappingsFormat.write"]},{"name":"open fun write(mappings: TinyMappings, compact: Boolean): Sequence","description":"com.grappenmaker.mappings.TinyMappingsWriter.write","location":"mappings-util/com.grappenmaker.mappings/-tiny-mappings-writer/write.html","searchKeys":["write","open fun write(mappings: TinyMappings, compact: Boolean): Sequence","com.grappenmaker.mappings.TinyMappingsWriter.write"]},{"name":"open operator override fun iterator(): Iterator","description":"com.grappenmaker.mappings.AccessMask.iterator","location":"mappings-util/com.grappenmaker.mappings/-access-mask/iterator.html","searchKeys":["iterator","open operator override fun iterator(): Iterator","com.grappenmaker.mappings.AccessMask.iterator"]},{"name":"open override fun TinyMappingsWriter.Context.write(): Sequence","description":"com.grappenmaker.mappings.TinyMappingsV1Format.write","location":"mappings-util/com.grappenmaker.mappings/-tiny-mappings-v1-format/write.html","searchKeys":["write","open override fun TinyMappingsWriter.Context.write(): Sequence","com.grappenmaker.mappings.TinyMappingsV1Format.write"]},{"name":"open override fun TinyMappingsWriter.Context.write(): Sequence","description":"com.grappenmaker.mappings.TinyMappingsV2Format.write","location":"mappings-util/com.grappenmaker.mappings/-tiny-mappings-v2-format/write.html","searchKeys":["write","open override fun TinyMappingsWriter.Context.write(): Sequence","com.grappenmaker.mappings.TinyMappingsV2Format.write"]},{"name":"open override fun detect(lines: List): Boolean","description":"com.grappenmaker.mappings.EnigmaMappingsFormat.detect","location":"mappings-util/com.grappenmaker.mappings/-enigma-mappings-format/detect.html","searchKeys":["detect","open override fun detect(lines: List): Boolean","com.grappenmaker.mappings.EnigmaMappingsFormat.detect"]},{"name":"open override fun detect(lines: List): Boolean","description":"com.grappenmaker.mappings.MappingsFormat.Undetectable.detect","location":"mappings-util/com.grappenmaker.mappings/-mappings-format/-undetectable/detect.html","searchKeys":["detect","open override fun detect(lines: List): Boolean","com.grappenmaker.mappings.MappingsFormat.Undetectable.detect"]},{"name":"open override fun detect(lines: List): Boolean","description":"com.grappenmaker.mappings.ProguardMappingsFormat.detect","location":"mappings-util/com.grappenmaker.mappings/-proguard-mappings-format/detect.html","searchKeys":["detect","open override fun detect(lines: List): Boolean","com.grappenmaker.mappings.ProguardMappingsFormat.detect"]},{"name":"open override fun detect(lines: List): Boolean","description":"com.grappenmaker.mappings.TinyMappingsV1Format.detect","location":"mappings-util/com.grappenmaker.mappings/-tiny-mappings-v1-format/detect.html","searchKeys":["detect","open override fun detect(lines: List): Boolean","com.grappenmaker.mappings.TinyMappingsV1Format.detect"]},{"name":"open override fun detect(lines: List): Boolean","description":"com.grappenmaker.mappings.TinyMappingsV2Format.detect","location":"mappings-util/com.grappenmaker.mappings/-tiny-mappings-v2-format/detect.html","searchKeys":["detect","open override fun detect(lines: List): Boolean","com.grappenmaker.mappings.TinyMappingsV2Format.detect"]},{"name":"open override fun getDeclaredMethods(internalName: String, filterInheritable: Boolean): Iterable","description":"com.grappenmaker.mappings.LoaderInheritanceProvider.getDeclaredMethods","location":"mappings-util/com.grappenmaker.mappings/-loader-inheritance-provider/get-declared-methods.html","searchKeys":["getDeclaredMethods","open override fun getDeclaredMethods(internalName: String, filterInheritable: Boolean): Iterable","com.grappenmaker.mappings.LoaderInheritanceProvider.getDeclaredMethods"]},{"name":"open override fun getDeclaredMethods(internalName: String, filterInheritable: Boolean): Iterable","description":"com.grappenmaker.mappings.MemoizedInheritanceProvider.getDeclaredMethods","location":"mappings-util/com.grappenmaker.mappings/-memoized-inheritance-provider/get-declared-methods.html","searchKeys":["getDeclaredMethods","open override fun getDeclaredMethods(internalName: String, filterInheritable: Boolean): Iterable","com.grappenmaker.mappings.MemoizedInheritanceProvider.getDeclaredMethods"]},{"name":"open override fun getDirectParents(internalName: String): Iterable","description":"com.grappenmaker.mappings.LoaderInheritanceProvider.getDirectParents","location":"mappings-util/com.grappenmaker.mappings/-loader-inheritance-provider/get-direct-parents.html","searchKeys":["getDirectParents","open override fun getDirectParents(internalName: String): Iterable","com.grappenmaker.mappings.LoaderInheritanceProvider.getDirectParents"]},{"name":"open override fun getDirectParents(internalName: String): Iterable","description":"com.grappenmaker.mappings.MemoizedInheritanceProvider.getDirectParents","location":"mappings-util/com.grappenmaker.mappings/-memoized-inheritance-provider/get-direct-parents.html","searchKeys":["getDirectParents","open override fun getDirectParents(internalName: String): Iterable","com.grappenmaker.mappings.MemoizedInheritanceProvider.getDirectParents"]},{"name":"open override fun map(internalName: String): String","description":"com.grappenmaker.mappings.LoaderSimpleRemapper.map","location":"mappings-util/com.grappenmaker.mappings/-loader-simple-remapper/map.html","searchKeys":["map","open override fun map(internalName: String): String","com.grappenmaker.mappings.LoaderSimpleRemapper.map"]},{"name":"open override fun mapFieldName(owner: String, name: String, desc: String?): String","description":"com.grappenmaker.mappings.LoaderSimpleRemapper.mapFieldName","location":"mappings-util/com.grappenmaker.mappings/-loader-simple-remapper/map-field-name.html","searchKeys":["mapFieldName","open override fun mapFieldName(owner: String, name: String, desc: String?): String","com.grappenmaker.mappings.LoaderSimpleRemapper.mapFieldName"]},{"name":"open override fun mapMethodName(owner: String, name: String, desc: String): String","description":"com.grappenmaker.mappings.LoaderSimpleRemapper.mapMethodName","location":"mappings-util/com.grappenmaker.mappings/-loader-simple-remapper/map-method-name.html","searchKeys":["mapMethodName","open override fun mapMethodName(owner: String, name: String, desc: String): String","com.grappenmaker.mappings.LoaderSimpleRemapper.mapMethodName"]},{"name":"open override fun mapRecordComponentName(owner: String, name: String, desc: String): String","description":"com.grappenmaker.mappings.LoaderSimpleRemapper.mapRecordComponentName","location":"mappings-util/com.grappenmaker.mappings/-loader-simple-remapper/map-record-component-name.html","searchKeys":["mapRecordComponentName","open override fun mapRecordComponentName(owner: String, name: String, desc: String): String","com.grappenmaker.mappings.LoaderSimpleRemapper.mapRecordComponentName"]},{"name":"open override fun mapSignature(signature: String?, typeSignature: Boolean): String?","description":"com.grappenmaker.mappings.LoaderSimpleRemapper.mapSignature","location":"mappings-util/com.grappenmaker.mappings/-loader-simple-remapper/map-signature.html","searchKeys":["mapSignature","open override fun mapSignature(signature: String?, typeSignature: Boolean): String?","com.grappenmaker.mappings.LoaderSimpleRemapper.mapSignature"]},{"name":"open override fun parse(lines: Iterator): CSRGMappings","description":"com.grappenmaker.mappings.CSRGMappingsFormat.parse","location":"mappings-util/com.grappenmaker.mappings/-c-s-r-g-mappings-format/parse.html","searchKeys":["parse","open override fun parse(lines: Iterator): CSRGMappings","com.grappenmaker.mappings.CSRGMappingsFormat.parse"]},{"name":"open override fun parse(lines: Iterator): EnigmaMappings","description":"com.grappenmaker.mappings.EnigmaMappingsFormat.parse","location":"mappings-util/com.grappenmaker.mappings/-enigma-mappings-format/parse.html","searchKeys":["parse","open override fun parse(lines: Iterator): EnigmaMappings","com.grappenmaker.mappings.EnigmaMappingsFormat.parse"]},{"name":"open override fun parse(lines: Iterator): ProguardMappings","description":"com.grappenmaker.mappings.ProguardMappingsFormat.parse","location":"mappings-util/com.grappenmaker.mappings/-proguard-mappings-format/parse.html","searchKeys":["parse","open override fun parse(lines: Iterator): ProguardMappings","com.grappenmaker.mappings.ProguardMappingsFormat.parse"]},{"name":"open override fun parse(lines: Iterator): RecafMappings","description":"com.grappenmaker.mappings.RecafMappingsFormat.parse","location":"mappings-util/com.grappenmaker.mappings/-recaf-mappings-format/parse.html","searchKeys":["parse","open override fun parse(lines: Iterator): RecafMappings","com.grappenmaker.mappings.RecafMappingsFormat.parse"]},{"name":"open override fun parse(lines: Iterator): TinyMappings","description":"com.grappenmaker.mappings.TinyMappingsV1Format.parse","location":"mappings-util/com.grappenmaker.mappings/-tiny-mappings-v1-format/parse.html","searchKeys":["parse","open override fun parse(lines: Iterator): TinyMappings","com.grappenmaker.mappings.TinyMappingsV1Format.parse"]},{"name":"open override fun parse(lines: Iterator): TinyMappings","description":"com.grappenmaker.mappings.TinyMappingsV2Format.parse","location":"mappings-util/com.grappenmaker.mappings/-tiny-mappings-v2-format/parse.html","searchKeys":["parse","open override fun parse(lines: Iterator): TinyMappings","com.grappenmaker.mappings.TinyMappingsV2Format.parse"]},{"name":"open override fun visit(version: Int, access: Int, name: String, signature: String?, superName: String?, interfaces: Array?)","description":"com.grappenmaker.mappings.AccessWidenerVisitor.visit","location":"mappings-util/com.grappenmaker.mappings/-access-widener-visitor/visit.html","searchKeys":["visit","open override fun visit(version: Int, access: Int, name: String, signature: String?, superName: String?, interfaces: Array?)","com.grappenmaker.mappings.AccessWidenerVisitor.visit"]},{"name":"open override fun visitField(access: Int, name: String, descriptor: String, signature: String?, value: Any?): FieldVisitor?","description":"com.grappenmaker.mappings.AccessWidenerVisitor.visitField","location":"mappings-util/com.grappenmaker.mappings/-access-widener-visitor/visit-field.html","searchKeys":["visitField","open override fun visitField(access: Int, name: String, descriptor: String, signature: String?, value: Any?): FieldVisitor?","com.grappenmaker.mappings.AccessWidenerVisitor.visitField"]},{"name":"open override fun visitInnerClass(name: String, outerName: String?, innerName: String?, access: Int)","description":"com.grappenmaker.mappings.AccessWidenerVisitor.visitInnerClass","location":"mappings-util/com.grappenmaker.mappings/-access-widener-visitor/visit-inner-class.html","searchKeys":["visitInnerClass","open override fun visitInnerClass(name: String, outerName: String?, innerName: String?, access: Int)","com.grappenmaker.mappings.AccessWidenerVisitor.visitInnerClass"]},{"name":"open override fun visitInvokeDynamicInsn(name: String, descriptor: String, handle: Handle, vararg args: Any)","description":"com.grappenmaker.mappings.LambdaAwareMethodRemapper.visitInvokeDynamicInsn","location":"mappings-util/com.grappenmaker.mappings/-lambda-aware-method-remapper/visit-invoke-dynamic-insn.html","searchKeys":["visitInvokeDynamicInsn","open override fun visitInvokeDynamicInsn(name: String, descriptor: String, handle: Handle, vararg args: Any)","com.grappenmaker.mappings.LambdaAwareMethodRemapper.visitInvokeDynamicInsn"]},{"name":"open override fun visitMethod(access: Int, name: String, descriptor: String, signature: String?, exceptions: Array?): MethodVisitor","description":"com.grappenmaker.mappings.AccessWidenerVisitor.visitMethod","location":"mappings-util/com.grappenmaker.mappings/-access-widener-visitor/visit-method.html","searchKeys":["visitMethod","open override fun visitMethod(access: Int, name: String, descriptor: String, signature: String?, exceptions: Array?): MethodVisitor","com.grappenmaker.mappings.AccessWidenerVisitor.visitMethod"]},{"name":"open override fun visitPermittedSubclass(permittedSubclass: String?)","description":"com.grappenmaker.mappings.AccessWidenerVisitor.visitPermittedSubclass","location":"mappings-util/com.grappenmaker.mappings/-access-widener-visitor/visit-permitted-subclass.html","searchKeys":["visitPermittedSubclass","open override fun visitPermittedSubclass(permittedSubclass: String?)","com.grappenmaker.mappings.AccessWidenerVisitor.visitPermittedSubclass"]},{"name":"open override fun writeLazy(mappings: CSRGMappings): Sequence","description":"com.grappenmaker.mappings.CSRGMappingsFormat.writeLazy","location":"mappings-util/com.grappenmaker.mappings/-c-s-r-g-mappings-format/write-lazy.html","searchKeys":["writeLazy","open override fun writeLazy(mappings: CSRGMappings): Sequence","com.grappenmaker.mappings.CSRGMappingsFormat.writeLazy"]},{"name":"open override fun writeLazy(mappings: EnigmaMappings): Sequence","description":"com.grappenmaker.mappings.EnigmaMappingsFormat.writeLazy","location":"mappings-util/com.grappenmaker.mappings/-enigma-mappings-format/write-lazy.html","searchKeys":["writeLazy","open override fun writeLazy(mappings: EnigmaMappings): Sequence","com.grappenmaker.mappings.EnigmaMappingsFormat.writeLazy"]},{"name":"open override fun writeLazy(mappings: ProguardMappings): Sequence","description":"com.grappenmaker.mappings.ProguardMappingsFormat.writeLazy","location":"mappings-util/com.grappenmaker.mappings/-proguard-mappings-format/write-lazy.html","searchKeys":["writeLazy","open override fun writeLazy(mappings: ProguardMappings): Sequence","com.grappenmaker.mappings.ProguardMappingsFormat.writeLazy"]},{"name":"open override fun writeLazy(mappings: RecafMappings): Sequence","description":"com.grappenmaker.mappings.RecafMappingsFormat.writeLazy","location":"mappings-util/com.grappenmaker.mappings/-recaf-mappings-format/write-lazy.html","searchKeys":["writeLazy","open override fun writeLazy(mappings: RecafMappings): Sequence","com.grappenmaker.mappings.RecafMappingsFormat.writeLazy"]},{"name":"open override fun writeLazy(mappings: TinyMappings): Sequence","description":"com.grappenmaker.mappings.TinyMappingsWriter.writeLazy","location":"mappings-util/com.grappenmaker.mappings/-tiny-mappings-writer/write-lazy.html","searchKeys":["writeLazy","open override fun writeLazy(mappings: TinyMappings): Sequence","com.grappenmaker.mappings.TinyMappingsWriter.writeLazy"]},{"name":"open override val classes: List","description":"com.grappenmaker.mappings.CSRGMappings.classes","location":"mappings-util/com.grappenmaker.mappings/-c-s-r-g-mappings/classes.html","searchKeys":["classes","open override val classes: List","com.grappenmaker.mappings.CSRGMappings.classes"]},{"name":"open override val classes: List","description":"com.grappenmaker.mappings.CompactedMappings.classes","location":"mappings-util/com.grappenmaker.mappings/-compacted-mappings/classes.html","searchKeys":["classes","open override val classes: List","com.grappenmaker.mappings.CompactedMappings.classes"]},{"name":"open override val classes: List","description":"com.grappenmaker.mappings.EmptyMappings.classes","location":"mappings-util/com.grappenmaker.mappings/-empty-mappings/classes.html","searchKeys":["classes","open override val classes: List","com.grappenmaker.mappings.EmptyMappings.classes"]},{"name":"open override val classes: List","description":"com.grappenmaker.mappings.EnigmaMappings.classes","location":"mappings-util/com.grappenmaker.mappings/-enigma-mappings/classes.html","searchKeys":["classes","open override val classes: List","com.grappenmaker.mappings.EnigmaMappings.classes"]},{"name":"open override val classes: List","description":"com.grappenmaker.mappings.GenericMappings.classes","location":"mappings-util/com.grappenmaker.mappings/-generic-mappings/classes.html","searchKeys":["classes","open override val classes: List","com.grappenmaker.mappings.GenericMappings.classes"]},{"name":"open override val classes: List","description":"com.grappenmaker.mappings.ProguardMappings.classes","location":"mappings-util/com.grappenmaker.mappings/-proguard-mappings/classes.html","searchKeys":["classes","open override val classes: List","com.grappenmaker.mappings.ProguardMappings.classes"]},{"name":"open override val classes: List","description":"com.grappenmaker.mappings.RecafMappings.classes","location":"mappings-util/com.grappenmaker.mappings/-recaf-mappings/classes.html","searchKeys":["classes","open override val classes: List","com.grappenmaker.mappings.RecafMappings.classes"]},{"name":"open override val classes: List","description":"com.grappenmaker.mappings.SRGMappings.classes","location":"mappings-util/com.grappenmaker.mappings/-s-r-g-mappings/classes.html","searchKeys":["classes","open override val classes: List","com.grappenmaker.mappings.SRGMappings.classes"]},{"name":"open override val classes: List","description":"com.grappenmaker.mappings.TSRGMappings.classes","location":"mappings-util/com.grappenmaker.mappings/-t-s-r-g-mappings/classes.html","searchKeys":["classes","open override val classes: List","com.grappenmaker.mappings.TSRGMappings.classes"]},{"name":"open override val classes: List","description":"com.grappenmaker.mappings.TinyMappings.classes","location":"mappings-util/com.grappenmaker.mappings/-tiny-mappings/classes.html","searchKeys":["classes","open override val classes: List","com.grappenmaker.mappings.TinyMappings.classes"]},{"name":"open override val comments: List","description":"com.grappenmaker.mappings.MappedClass.comments","location":"mappings-util/com.grappenmaker.mappings/-mapped-class/comments.html","searchKeys":["comments","open override val comments: List","com.grappenmaker.mappings.MappedClass.comments"]},{"name":"open override val comments: List","description":"com.grappenmaker.mappings.MappedField.comments","location":"mappings-util/com.grappenmaker.mappings/-mapped-field/comments.html","searchKeys":["comments","open override val comments: List","com.grappenmaker.mappings.MappedField.comments"]},{"name":"open override val comments: List","description":"com.grappenmaker.mappings.MappedMethod.comments","location":"mappings-util/com.grappenmaker.mappings/-mapped-method/comments.html","searchKeys":["comments","open override val comments: List","com.grappenmaker.mappings.MappedMethod.comments"]},{"name":"open override val comments: List","description":"com.grappenmaker.mappings.ProguardMappings.comments","location":"mappings-util/com.grappenmaker.mappings/-proguard-mappings/comments.html","searchKeys":["comments","open override val comments: List","com.grappenmaker.mappings.ProguardMappings.comments"]},{"name":"open override val names: List","description":"com.grappenmaker.mappings.MappedClass.names","location":"mappings-util/com.grappenmaker.mappings/-mapped-class/names.html","searchKeys":["names","open override val names: List","com.grappenmaker.mappings.MappedClass.names"]},{"name":"open override val names: List","description":"com.grappenmaker.mappings.MappedField.names","location":"mappings-util/com.grappenmaker.mappings/-mapped-field/names.html","searchKeys":["names","open override val names: List","com.grappenmaker.mappings.MappedField.names"]},{"name":"open override val names: List","description":"com.grappenmaker.mappings.MappedLocal.names","location":"mappings-util/com.grappenmaker.mappings/-mapped-local/names.html","searchKeys":["names","open override val names: List","com.grappenmaker.mappings.MappedLocal.names"]},{"name":"open override val names: List","description":"com.grappenmaker.mappings.MappedMethod.names","location":"mappings-util/com.grappenmaker.mappings/-mapped-method/names.html","searchKeys":["names","open override val names: List","com.grappenmaker.mappings.MappedMethod.names"]},{"name":"open override val names: List","description":"com.grappenmaker.mappings.MappedParameter.names","location":"mappings-util/com.grappenmaker.mappings/-mapped-parameter/names.html","searchKeys":["names","open override val names: List","com.grappenmaker.mappings.MappedParameter.names"]},{"name":"open override val namespaces: List","description":"com.grappenmaker.mappings.CSRGMappings.namespaces","location":"mappings-util/com.grappenmaker.mappings/-c-s-r-g-mappings/namespaces.html","searchKeys":["namespaces","open override val namespaces: List","com.grappenmaker.mappings.CSRGMappings.namespaces"]},{"name":"open override val namespaces: List","description":"com.grappenmaker.mappings.CompactedMappings.namespaces","location":"mappings-util/com.grappenmaker.mappings/-compacted-mappings/namespaces.html","searchKeys":["namespaces","open override val namespaces: List","com.grappenmaker.mappings.CompactedMappings.namespaces"]},{"name":"open override val namespaces: List","description":"com.grappenmaker.mappings.EmptyMappings.namespaces","location":"mappings-util/com.grappenmaker.mappings/-empty-mappings/namespaces.html","searchKeys":["namespaces","open override val namespaces: List","com.grappenmaker.mappings.EmptyMappings.namespaces"]},{"name":"open override val namespaces: List","description":"com.grappenmaker.mappings.EnigmaMappings.namespaces","location":"mappings-util/com.grappenmaker.mappings/-enigma-mappings/namespaces.html","searchKeys":["namespaces","open override val namespaces: List","com.grappenmaker.mappings.EnigmaMappings.namespaces"]},{"name":"open override val namespaces: List","description":"com.grappenmaker.mappings.GenericMappings.namespaces","location":"mappings-util/com.grappenmaker.mappings/-generic-mappings/namespaces.html","searchKeys":["namespaces","open override val namespaces: List","com.grappenmaker.mappings.GenericMappings.namespaces"]},{"name":"open override val namespaces: List","description":"com.grappenmaker.mappings.ProguardMappings.namespaces","location":"mappings-util/com.grappenmaker.mappings/-proguard-mappings/namespaces.html","searchKeys":["namespaces","open override val namespaces: List","com.grappenmaker.mappings.ProguardMappings.namespaces"]},{"name":"open override val namespaces: List","description":"com.grappenmaker.mappings.RecafMappings.namespaces","location":"mappings-util/com.grappenmaker.mappings/-recaf-mappings/namespaces.html","searchKeys":["namespaces","open override val namespaces: List","com.grappenmaker.mappings.RecafMappings.namespaces"]},{"name":"open override val namespaces: List","description":"com.grappenmaker.mappings.SRGMappings.namespaces","location":"mappings-util/com.grappenmaker.mappings/-s-r-g-mappings/namespaces.html","searchKeys":["namespaces","open override val namespaces: List","com.grappenmaker.mappings.SRGMappings.namespaces"]},{"name":"open override val namespaces: List","description":"com.grappenmaker.mappings.TSRGMappings.namespaces","location":"mappings-util/com.grappenmaker.mappings/-t-s-r-g-mappings/namespaces.html","searchKeys":["namespaces","open override val namespaces: List","com.grappenmaker.mappings.TSRGMappings.namespaces"]},{"name":"open override val namespaces: List","description":"com.grappenmaker.mappings.TinyMappings.namespaces","location":"mappings-util/com.grappenmaker.mappings/-tiny-mappings/namespaces.html","searchKeys":["namespaces","open override val namespaces: List","com.grappenmaker.mappings.TinyMappings.namespaces"]},{"name":"operator fun AccessWidener.plus(other: AccessWidener): AccessWidener","description":"com.grappenmaker.mappings.plus","location":"mappings-util/com.grappenmaker.mappings/plus.html","searchKeys":["plus","operator fun AccessWidener.plus(other: AccessWidener): AccessWidener","com.grappenmaker.mappings.plus"]},{"name":"operator fun contains(type: AccessType): Boolean","description":"com.grappenmaker.mappings.AccessMask.contains","location":"mappings-util/com.grappenmaker.mappings/-access-mask/contains.html","searchKeys":["contains","operator fun contains(type: AccessType): Boolean","com.grappenmaker.mappings.AccessMask.contains"]},{"name":"operator fun invoke(name: String): AccessType","description":"com.grappenmaker.mappings.AccessType.Companion.invoke","location":"mappings-util/com.grappenmaker.mappings/-access-type/-companion/invoke.html","searchKeys":["invoke","operator fun invoke(name: String): AccessType","com.grappenmaker.mappings.AccessType.Companion.invoke"]},{"name":"operator fun minus(other: AccessMask?): AccessMask","description":"com.grappenmaker.mappings.AccessMask.minus","location":"mappings-util/com.grappenmaker.mappings/-access-mask/minus.html","searchKeys":["minus","operator fun minus(other: AccessMask?): AccessMask","com.grappenmaker.mappings.AccessMask.minus"]},{"name":"operator fun minus(other: AccessType?): AccessMask","description":"com.grappenmaker.mappings.AccessMask.minus","location":"mappings-util/com.grappenmaker.mappings/-access-mask/minus.html","searchKeys":["minus","operator fun minus(other: AccessType?): AccessMask","com.grappenmaker.mappings.AccessMask.minus"]},{"name":"operator fun plus(other: AccessMask?): AccessMask","description":"com.grappenmaker.mappings.AccessMask.plus","location":"mappings-util/com.grappenmaker.mappings/-access-mask/plus.html","searchKeys":["plus","operator fun plus(other: AccessMask?): AccessMask","com.grappenmaker.mappings.AccessMask.plus"]},{"name":"operator fun plus(other: AccessType?): AccessMask","description":"com.grappenmaker.mappings.AccessMask.plus","location":"mappings-util/com.grappenmaker.mappings/-access-mask/plus.html","searchKeys":["plus","operator fun plus(other: AccessType?): AccessMask","com.grappenmaker.mappings.AccessMask.plus"]},{"name":"sealed interface Commented","description":"com.grappenmaker.mappings.Commented","location":"mappings-util/com.grappenmaker.mappings/-commented/index.html","searchKeys":["Commented","sealed interface Commented","com.grappenmaker.mappings.Commented"]},{"name":"sealed interface Mapped","description":"com.grappenmaker.mappings.Mapped","location":"mappings-util/com.grappenmaker.mappings/-mapped/index.html","searchKeys":["Mapped","sealed interface Mapped","com.grappenmaker.mappings.Mapped"]},{"name":"sealed interface Mappings","description":"com.grappenmaker.mappings.Mappings","location":"mappings-util/com.grappenmaker.mappings/-mappings/index.html","searchKeys":["Mappings","sealed interface Mappings","com.grappenmaker.mappings.Mappings"]},{"name":"sealed interface MappingsFormat","description":"com.grappenmaker.mappings.MappingsFormat","location":"mappings-util/com.grappenmaker.mappings/-mappings-format/index.html","searchKeys":["MappingsFormat","sealed interface MappingsFormat","com.grappenmaker.mappings.MappingsFormat"]},{"name":"sealed interface TinyMappingsWriter : MappingsFormat ","description":"com.grappenmaker.mappings.TinyMappingsWriter","location":"mappings-util/com.grappenmaker.mappings/-tiny-mappings-writer/index.html","searchKeys":["TinyMappingsWriter","sealed interface TinyMappingsWriter : MappingsFormat ","com.grappenmaker.mappings.TinyMappingsWriter"]},{"name":"sealed interface Undetectable : MappingsFormat ","description":"com.grappenmaker.mappings.MappingsFormat.Undetectable","location":"mappings-util/com.grappenmaker.mappings/-mappings-format/-undetectable/index.html","searchKeys":["Undetectable","sealed interface Undetectable : MappingsFormat ","com.grappenmaker.mappings.MappingsFormat.Undetectable"]},{"name":"suspend fun perform()","description":"com.grappenmaker.mappings.JarRemapper.perform","location":"mappings-util/com.grappenmaker.mappings/-jar-remapper/perform.html","searchKeys":["perform","suspend fun perform()","com.grappenmaker.mappings.JarRemapper.perform"]},{"name":"typealias ClasspathLoader = (name: String) -> ByteArray?","description":"com.grappenmaker.mappings.ClasspathLoader","location":"mappings-util/com.grappenmaker.mappings/-classpath-loader/index.html","searchKeys":["ClasspathLoader","typealias ClasspathLoader = (name: String) -> ByteArray?","com.grappenmaker.mappings.ClasspathLoader"]},{"name":"val EMPTY: AccessMask","description":"com.grappenmaker.mappings.AccessMask.Companion.EMPTY","location":"mappings-util/com.grappenmaker.mappings/-access-mask/-companion/-e-m-p-t-y.html","searchKeys":["EMPTY","val EMPTY: AccessMask","com.grappenmaker.mappings.AccessMask.Companion.EMPTY"]},{"name":"val Type.isPrimitive: Boolean","description":"com.grappenmaker.mappings.isPrimitive","location":"mappings-util/com.grappenmaker.mappings/is-primitive.html","searchKeys":["isPrimitive","val Type.isPrimitive: Boolean","com.grappenmaker.mappings.isPrimitive"]},{"name":"val allMappingsFormats: List>","description":"com.grappenmaker.mappings.MappingsLoader.allMappingsFormats","location":"mappings-util/com.grappenmaker.mappings/-mappings-loader/all-mappings-formats.html","searchKeys":["allMappingsFormats","val allMappingsFormats: List>","com.grappenmaker.mappings.MappingsLoader.allMappingsFormats"]},{"name":"val classes: Map","description":"com.grappenmaker.mappings.AccessWidener.classes","location":"mappings-util/com.grappenmaker.mappings/-access-widener/classes.html","searchKeys":["classes","val classes: Map","com.grappenmaker.mappings.AccessWidener.classes"]},{"name":"val classes: Map","description":"com.grappenmaker.mappings.AccessWidenerTree.classes","location":"mappings-util/com.grappenmaker.mappings/-access-widener-tree/classes.html","searchKeys":["classes","val classes: Map","com.grappenmaker.mappings.AccessWidenerTree.classes"]},{"name":"val compact: Boolean","description":"com.grappenmaker.mappings.TinyMappingsWriter.Context.compact","location":"mappings-util/com.grappenmaker.mappings/-tiny-mappings-writer/-context/compact.html","searchKeys":["compact","val compact: Boolean","com.grappenmaker.mappings.TinyMappingsWriter.Context.compact"]},{"name":"val desc: String","description":"com.grappenmaker.mappings.AccessedMember.desc","location":"mappings-util/com.grappenmaker.mappings/-accessed-member/desc.html","searchKeys":["desc","val desc: String","com.grappenmaker.mappings.AccessedMember.desc"]},{"name":"val desc: String","description":"com.grappenmaker.mappings.MappedMethod.desc","location":"mappings-util/com.grappenmaker.mappings/-mapped-method/desc.html","searchKeys":["desc","val desc: String","com.grappenmaker.mappings.MappedMethod.desc"]},{"name":"val desc: String","description":"com.grappenmaker.mappings.MemberIdentifier.desc","location":"mappings-util/com.grappenmaker.mappings/-member-identifier/desc.html","searchKeys":["desc","val desc: String","com.grappenmaker.mappings.MemberIdentifier.desc"]},{"name":"val desc: String?","description":"com.grappenmaker.mappings.MappedField.desc","location":"mappings-util/com.grappenmaker.mappings/-mapped-field/desc.html","searchKeys":["desc","val desc: String?","com.grappenmaker.mappings.MappedField.desc"]},{"name":"val entries: EnumEntries","description":"com.grappenmaker.mappings.AccessType.entries","location":"mappings-util/com.grappenmaker.mappings/-access-type/entries.html","searchKeys":["entries","val entries: EnumEntries","com.grappenmaker.mappings.AccessType.entries"]},{"name":"val fields: List","description":"com.grappenmaker.mappings.MappedClass.fields","location":"mappings-util/com.grappenmaker.mappings/-mapped-class/fields.html","searchKeys":["fields","val fields: List","com.grappenmaker.mappings.MappedClass.fields"]},{"name":"val fields: Map","description":"com.grappenmaker.mappings.AccessWidener.fields","location":"mappings-util/com.grappenmaker.mappings/-access-widener/fields.html","searchKeys":["fields","val fields: Map","com.grappenmaker.mappings.AccessWidener.fields"]},{"name":"val fields: Map","description":"com.grappenmaker.mappings.AccessedClass.fields","location":"mappings-util/com.grappenmaker.mappings/-accessed-class/fields.html","searchKeys":["fields","val fields: Map","com.grappenmaker.mappings.AccessedClass.fields"]},{"name":"val from: String","description":"com.grappenmaker.mappings.MappingsRemapper.from","location":"mappings-util/com.grappenmaker.mappings/-mappings-remapper/from.html","searchKeys":["from","val from: String","com.grappenmaker.mappings.MappingsRemapper.from"]},{"name":"val fromNamespace: String","description":"com.grappenmaker.mappings.JarRemapTask.fromNamespace","location":"mappings-util/com.grappenmaker.mappings/-jar-remap-task/from-namespace.html","searchKeys":["fromNamespace","val fromNamespace: String","com.grappenmaker.mappings.JarRemapTask.fromNamespace"]},{"name":"val index: Int","description":"com.grappenmaker.mappings.MappedLocal.index","location":"mappings-util/com.grappenmaker.mappings/-mapped-local/--index--.html","searchKeys":["index","val index: Int","com.grappenmaker.mappings.MappedLocal.index"]},{"name":"val index: Int","description":"com.grappenmaker.mappings.MappedParameter.index","location":"mappings-util/com.grappenmaker.mappings/-mapped-parameter/--index--.html","searchKeys":["index","val index: Int","com.grappenmaker.mappings.MappedParameter.index"]},{"name":"val input: Path","description":"com.grappenmaker.mappings.JarRemapTask.input","location":"mappings-util/com.grappenmaker.mappings/-jar-remap-task/input.html","searchKeys":["input","val input: Path","com.grappenmaker.mappings.JarRemapTask.input"]},{"name":"val isExtended: Boolean","description":"com.grappenmaker.mappings.SRGMappings.isExtended","location":"mappings-util/com.grappenmaker.mappings/-s-r-g-mappings/is-extended.html","searchKeys":["isExtended","val isExtended: Boolean","com.grappenmaker.mappings.SRGMappings.isExtended"]},{"name":"val isV2: Boolean","description":"com.grappenmaker.mappings.TSRGMappings.isV2","location":"mappings-util/com.grappenmaker.mappings/-t-s-r-g-mappings/is-v2.html","searchKeys":["isV2","val isV2: Boolean","com.grappenmaker.mappings.TSRGMappings.isV2"]},{"name":"val isV2: Boolean","description":"com.grappenmaker.mappings.TinyMappings.isV2","location":"mappings-util/com.grappenmaker.mappings/-tiny-mappings/is-v2.html","searchKeys":["isV2","val isV2: Boolean","com.grappenmaker.mappings.TinyMappings.isV2"]},{"name":"val lvtIndex: Int","description":"com.grappenmaker.mappings.MappedLocal.lvtIndex","location":"mappings-util/com.grappenmaker.mappings/-mapped-local/lvt-index.html","searchKeys":["lvtIndex","val lvtIndex: Int","com.grappenmaker.mappings.MappedLocal.lvtIndex"]},{"name":"val mappings: Mappings","description":"com.grappenmaker.mappings.MappingsRemapper.mappings","location":"mappings-util/com.grappenmaker.mappings/-mappings-remapper/mappings.html","searchKeys":["mappings","val mappings: Mappings","com.grappenmaker.mappings.MappingsRemapper.mappings"]},{"name":"val mappings: TinyMappings","description":"com.grappenmaker.mappings.TinyMappingsWriter.Context.mappings","location":"mappings-util/com.grappenmaker.mappings/-tiny-mappings-writer/-context/mappings.html","searchKeys":["mappings","val mappings: TinyMappings","com.grappenmaker.mappings.TinyMappingsWriter.Context.mappings"]},{"name":"val mask: AccessMask","description":"com.grappenmaker.mappings.AccessedClass.mask","location":"mappings-util/com.grappenmaker.mappings/-accessed-class/mask.html","searchKeys":["mask","val mask: AccessMask","com.grappenmaker.mappings.AccessedClass.mask"]},{"name":"val mask: Int","description":"com.grappenmaker.mappings.AccessType.mask","location":"mappings-util/com.grappenmaker.mappings/-access-type/mask.html","searchKeys":["mask","val mask: Int","com.grappenmaker.mappings.AccessType.mask"]},{"name":"val methods: List","description":"com.grappenmaker.mappings.MappedClass.methods","location":"mappings-util/com.grappenmaker.mappings/-mapped-class/methods.html","searchKeys":["methods","val methods: List","com.grappenmaker.mappings.MappedClass.methods"]},{"name":"val methods: Map","description":"com.grappenmaker.mappings.AccessWidener.methods","location":"mappings-util/com.grappenmaker.mappings/-access-widener/methods.html","searchKeys":["methods","val methods: Map","com.grappenmaker.mappings.AccessWidener.methods"]},{"name":"val methods: Map","description":"com.grappenmaker.mappings.AccessedClass.methods","location":"mappings-util/com.grappenmaker.mappings/-accessed-class/methods.html","searchKeys":["methods","val methods: Map","com.grappenmaker.mappings.AccessedClass.methods"]},{"name":"val name: String","description":"com.grappenmaker.mappings.AccessedMember.name","location":"mappings-util/com.grappenmaker.mappings/-accessed-member/name.html","searchKeys":["name","val name: String","com.grappenmaker.mappings.AccessedMember.name"]},{"name":"val name: String","description":"com.grappenmaker.mappings.MemberIdentifier.name","location":"mappings-util/com.grappenmaker.mappings/-member-identifier/name.html","searchKeys":["name","val name: String","com.grappenmaker.mappings.MemberIdentifier.name"]},{"name":"val namespace: String","description":"com.grappenmaker.mappings.AccessWidener.namespace","location":"mappings-util/com.grappenmaker.mappings/-access-widener/namespace.html","searchKeys":["namespace","val namespace: String","com.grappenmaker.mappings.AccessWidener.namespace"]},{"name":"val namespace: String","description":"com.grappenmaker.mappings.AccessWidenerTree.namespace","location":"mappings-util/com.grappenmaker.mappings/-access-widener-tree/namespace.html","searchKeys":["namespace","val namespace: String","com.grappenmaker.mappings.AccessWidenerTree.namespace"]},{"name":"val output: Path","description":"com.grappenmaker.mappings.JarRemapTask.output","location":"mappings-util/com.grappenmaker.mappings/-jar-remap-task/output.html","searchKeys":["output","val output: Path","com.grappenmaker.mappings.JarRemapTask.output"]},{"name":"val owner: String","description":"com.grappenmaker.mappings.AccessedMember.owner","location":"mappings-util/com.grappenmaker.mappings/-accessed-member/owner.html","searchKeys":["owner","val owner: String","com.grappenmaker.mappings.AccessedMember.owner"]},{"name":"val parameters: List","description":"com.grappenmaker.mappings.MappedMethod.parameters","location":"mappings-util/com.grappenmaker.mappings/-mapped-method/parameters.html","searchKeys":["parameters","val parameters: List","com.grappenmaker.mappings.MappedMethod.parameters"]},{"name":"val propagated: AccessMask","description":"com.grappenmaker.mappings.AccessedClass.propagated","location":"mappings-util/com.grappenmaker.mappings/-accessed-class/propagated.html","searchKeys":["propagated","val propagated: AccessMask","com.grappenmaker.mappings.AccessedClass.propagated"]},{"name":"val startOffset: Int","description":"com.grappenmaker.mappings.MappedLocal.startOffset","location":"mappings-util/com.grappenmaker.mappings/-mapped-local/start-offset.html","searchKeys":["startOffset","val startOffset: Int","com.grappenmaker.mappings.MappedLocal.startOffset"]},{"name":"val to: String","description":"com.grappenmaker.mappings.MappingsRemapper.to","location":"mappings-util/com.grappenmaker.mappings/-mappings-remapper/to.html","searchKeys":["to","val to: String","com.grappenmaker.mappings.MappingsRemapper.to"]},{"name":"val toNamespace: String","description":"com.grappenmaker.mappings.JarRemapTask.toNamespace","location":"mappings-util/com.grappenmaker.mappings/-jar-remap-task/to-namespace.html","searchKeys":["toNamespace","val toNamespace: String","com.grappenmaker.mappings.JarRemapTask.toNamespace"]},{"name":"val total: AccessMask","description":"com.grappenmaker.mappings.AccessedClass.total","location":"mappings-util/com.grappenmaker.mappings/-accessed-class/total.html","searchKeys":["total","val total: AccessMask","com.grappenmaker.mappings.AccessedClass.total"]},{"name":"val value: Int","description":"com.grappenmaker.mappings.AccessMask.value","location":"mappings-util/com.grappenmaker.mappings/-access-mask/value.html","searchKeys":["value","val value: Int","com.grappenmaker.mappings.AccessMask.value"]},{"name":"val variables: List","description":"com.grappenmaker.mappings.MappedMethod.variables","location":"mappings-util/com.grappenmaker.mappings/-mapped-method/variables.html","searchKeys":["variables","val variables: List","com.grappenmaker.mappings.MappedMethod.variables"]},{"name":"val version: Int","description":"com.grappenmaker.mappings.AccessWidener.version","location":"mappings-util/com.grappenmaker.mappings/-access-widener/version.html","searchKeys":["version","val version: Int","com.grappenmaker.mappings.AccessWidener.version"]},{"name":"val version: Int = 2","description":"com.grappenmaker.mappings.CompactedMappings.version","location":"mappings-util/com.grappenmaker.mappings/-compacted-mappings/version.html","searchKeys":["version","val version: Int = 2","com.grappenmaker.mappings.CompactedMappings.version"]},{"name":"value class AccessMask(val value: Int) : Iterable ","description":"com.grappenmaker.mappings.AccessMask","location":"mappings-util/com.grappenmaker.mappings/-access-mask/index.html","searchKeys":["AccessMask","value class AccessMask(val value: Int) : Iterable ","com.grappenmaker.mappings.AccessMask"]},{"name":"var copyResources: Boolean","description":"com.grappenmaker.mappings.JarRemapper.copyResources","location":"mappings-util/com.grappenmaker.mappings/-jar-remapper/copy-resources.html","searchKeys":["copyResources","var copyResources: Boolean","com.grappenmaker.mappings.JarRemapper.copyResources"]},{"name":"var loader: ClasspathLoader","description":"com.grappenmaker.mappings.JarRemapper.loader","location":"mappings-util/com.grappenmaker.mappings/-jar-remapper/loader.html","searchKeys":["loader","var loader: ClasspathLoader","com.grappenmaker.mappings.JarRemapper.loader"]},{"name":"var mappings: Mappings","description":"com.grappenmaker.mappings.JarRemapper.mappings","location":"mappings-util/com.grappenmaker.mappings/-jar-remapper/mappings.html","searchKeys":["mappings","var mappings: Mappings","com.grappenmaker.mappings.JarRemapper.mappings"]}] +[{"name":"class MappingsProvider(mappings: Mappings, sourceNamespace: String, targetNamespace: String, passParameters: Boolean = true) : IMappingProvider","description":"com.grappenmaker.mappings.MappingsProvider","location":"tiny-remapper-provider/com.grappenmaker.mappings/-mappings-provider/index.html","searchKeys":["MappingsProvider","class MappingsProvider(mappings: Mappings, sourceNamespace: String, targetNamespace: String, passParameters: Boolean = true) : IMappingProvider","com.grappenmaker.mappings.MappingsProvider"]},{"name":"constructor(mappings: Mappings, sourceNamespace: String, targetNamespace: String, passParameters: Boolean = true)","description":"com.grappenmaker.mappings.MappingsProvider.MappingsProvider","location":"tiny-remapper-provider/com.grappenmaker.mappings/-mappings-provider/-mappings-provider.html","searchKeys":["MappingsProvider","constructor(mappings: Mappings, sourceNamespace: String, targetNamespace: String, passParameters: Boolean = true)","com.grappenmaker.mappings.MappingsProvider.MappingsProvider"]},{"name":"open override fun load(acceptor: IMappingProvider.MappingAcceptor)","description":"com.grappenmaker.mappings.MappingsProvider.load","location":"tiny-remapper-provider/com.grappenmaker.mappings/-mappings-provider/load.html","searchKeys":["load","open override fun load(acceptor: IMappingProvider.MappingAcceptor)","com.grappenmaker.mappings.MappingsProvider.load"]},{"name":"ACCESSIBLE","description":"com.grappenmaker.mappings.AccessType.ACCESSIBLE","location":"mappings-util/com.grappenmaker.mappings/-access-type/-a-c-c-e-s-s-i-b-l-e/index.html","searchKeys":["ACCESSIBLE","ACCESSIBLE","com.grappenmaker.mappings.AccessType.ACCESSIBLE"]},{"name":"EXTENDABLE","description":"com.grappenmaker.mappings.AccessType.EXTENDABLE","location":"mappings-util/com.grappenmaker.mappings/-access-type/-e-x-t-e-n-d-a-b-l-e/index.html","searchKeys":["EXTENDABLE","EXTENDABLE","com.grappenmaker.mappings.AccessType.EXTENDABLE"]},{"name":"MUTABLE","description":"com.grappenmaker.mappings.AccessType.MUTABLE","location":"mappings-util/com.grappenmaker.mappings/-access-type/-m-u-t-a-b-l-e/index.html","searchKeys":["MUTABLE","MUTABLE","com.grappenmaker.mappings.AccessType.MUTABLE"]},{"name":"abstract fun TinyMappingsWriter.Context.write(): Sequence","description":"com.grappenmaker.mappings.TinyMappingsWriter.write","location":"mappings-util/com.grappenmaker.mappings/-tiny-mappings-writer/write.html","searchKeys":["write","abstract fun TinyMappingsWriter.Context.write(): Sequence","com.grappenmaker.mappings.TinyMappingsWriter.write"]},{"name":"abstract fun detect(lines: List): Boolean","description":"com.grappenmaker.mappings.MappingsFormat.detect","location":"mappings-util/com.grappenmaker.mappings/-mappings-format/detect.html","searchKeys":["detect","abstract fun detect(lines: List): Boolean","com.grappenmaker.mappings.MappingsFormat.detect"]},{"name":"abstract fun getDeclaredMethods(internalName: String, filterInheritable: Boolean): Iterable","description":"com.grappenmaker.mappings.InheritanceProvider.getDeclaredMethods","location":"mappings-util/com.grappenmaker.mappings/-inheritance-provider/get-declared-methods.html","searchKeys":["getDeclaredMethods","abstract fun getDeclaredMethods(internalName: String, filterInheritable: Boolean): Iterable","com.grappenmaker.mappings.InheritanceProvider.getDeclaredMethods"]},{"name":"abstract fun getDirectParents(internalName: String): Iterable","description":"com.grappenmaker.mappings.InheritanceProvider.getDirectParents","location":"mappings-util/com.grappenmaker.mappings/-inheritance-provider/get-direct-parents.html","searchKeys":["getDirectParents","abstract fun getDirectParents(internalName: String): Iterable","com.grappenmaker.mappings.InheritanceProvider.getDirectParents"]},{"name":"abstract fun parse(lines: Iterator): T","description":"com.grappenmaker.mappings.MappingsFormat.parse","location":"mappings-util/com.grappenmaker.mappings/-mappings-format/parse.html","searchKeys":["parse","abstract fun parse(lines: Iterator): T","com.grappenmaker.mappings.MappingsFormat.parse"]},{"name":"abstract fun visit(name: String, file: ByteArray): ByteArray?","description":"com.grappenmaker.mappings.JarResourceVisitor.visit","location":"mappings-util/com.grappenmaker.mappings/-jar-resource-visitor/visit.html","searchKeys":["visit","abstract fun visit(name: String, file: ByteArray): ByteArray?","com.grappenmaker.mappings.JarResourceVisitor.visit"]},{"name":"abstract fun visit(name: String, parent: ClassVisitor): ClassVisitor?","description":"com.grappenmaker.mappings.JarClassVisitor.visit","location":"mappings-util/com.grappenmaker.mappings/-jar-class-visitor/visit.html","searchKeys":["visit","abstract fun visit(name: String, parent: ClassVisitor): ClassVisitor?","com.grappenmaker.mappings.JarClassVisitor.visit"]},{"name":"abstract fun writeLazy(mappings: T): Sequence","description":"com.grappenmaker.mappings.MappingsFormat.writeLazy","location":"mappings-util/com.grappenmaker.mappings/-mappings-format/write-lazy.html","searchKeys":["writeLazy","abstract fun writeLazy(mappings: T): Sequence","com.grappenmaker.mappings.MappingsFormat.writeLazy"]},{"name":"abstract val classes: List","description":"com.grappenmaker.mappings.Mappings.classes","location":"mappings-util/com.grappenmaker.mappings/-mappings/classes.html","searchKeys":["classes","abstract val classes: List","com.grappenmaker.mappings.Mappings.classes"]},{"name":"abstract val comments: List","description":"com.grappenmaker.mappings.Commented.comments","location":"mappings-util/com.grappenmaker.mappings/-commented/comments.html","searchKeys":["comments","abstract val comments: List","com.grappenmaker.mappings.Commented.comments"]},{"name":"abstract val names: List","description":"com.grappenmaker.mappings.Mapped.names","location":"mappings-util/com.grappenmaker.mappings/-mapped/names.html","searchKeys":["names","abstract val names: List","com.grappenmaker.mappings.Mapped.names"]},{"name":"abstract val namespaces: List","description":"com.grappenmaker.mappings.Mappings.namespaces","location":"mappings-util/com.grappenmaker.mappings/-mappings/namespaces.html","searchKeys":["namespaces","abstract val namespaces: List","com.grappenmaker.mappings.Mappings.namespaces"]},{"name":"annotation class ExperimentalJarRemapper","description":"com.grappenmaker.mappings.ExperimentalJarRemapper","location":"mappings-util/com.grappenmaker.mappings/-experimental-jar-remapper/index.html","searchKeys":["ExperimentalJarRemapper","annotation class ExperimentalJarRemapper","com.grappenmaker.mappings.ExperimentalJarRemapper"]},{"name":"annotation class JarRemapperDSL","description":"com.grappenmaker.mappings.JarRemapperDSL","location":"mappings-util/com.grappenmaker.mappings/-jar-remapper-d-s-l/index.html","searchKeys":["JarRemapperDSL","annotation class JarRemapperDSL","com.grappenmaker.mappings.JarRemapperDSL"]},{"name":"class AccessWidenerVisitor(parent: ClassVisitor?, tree: AccessWidenerTree) : ClassVisitor","description":"com.grappenmaker.mappings.AccessWidenerVisitor","location":"mappings-util/com.grappenmaker.mappings/-access-widener-visitor/index.html","searchKeys":["AccessWidenerVisitor","class AccessWidenerVisitor(parent: ClassVisitor?, tree: AccessWidenerTree) : ClassVisitor","com.grappenmaker.mappings.AccessWidenerVisitor"]},{"name":"class JarRemapper","description":"com.grappenmaker.mappings.JarRemapper","location":"mappings-util/com.grappenmaker.mappings/-jar-remapper/index.html","searchKeys":["JarRemapper","class JarRemapper","com.grappenmaker.mappings.JarRemapper"]},{"name":"class LoaderInheritanceProvider(loader: ClasspathLoader) : InheritanceProvider","description":"com.grappenmaker.mappings.LoaderInheritanceProvider","location":"mappings-util/com.grappenmaker.mappings/-loader-inheritance-provider/index.html","searchKeys":["LoaderInheritanceProvider","class LoaderInheritanceProvider(loader: ClasspathLoader) : InheritanceProvider","com.grappenmaker.mappings.LoaderInheritanceProvider"]},{"name":"class MappingsRemapper(val mappings: Mappings, val from: String, val to: String, loader: ClasspathLoader) : LoaderSimpleRemapper","description":"com.grappenmaker.mappings.MappingsRemapper","location":"mappings-util/com.grappenmaker.mappings/-mappings-remapper/index.html","searchKeys":["MappingsRemapper","class MappingsRemapper(val mappings: Mappings, val from: String, val to: String, loader: ClasspathLoader) : LoaderSimpleRemapper","com.grappenmaker.mappings.MappingsRemapper"]},{"name":"class MemoizedInheritanceProvider(delegate: InheritanceProvider) : InheritanceProvider","description":"com.grappenmaker.mappings.MemoizedInheritanceProvider","location":"mappings-util/com.grappenmaker.mappings/-memoized-inheritance-provider/index.html","searchKeys":["MemoizedInheritanceProvider","class MemoizedInheritanceProvider(delegate: InheritanceProvider) : InheritanceProvider","com.grappenmaker.mappings.MemoizedInheritanceProvider"]},{"name":"const val INHERITABLE_MASK: Int = 26","description":"com.grappenmaker.mappings.INHERITABLE_MASK","location":"mappings-util/com.grappenmaker.mappings/-i-n-h-e-r-i-t-a-b-l-e_-m-a-s-k.html","searchKeys":["INHERITABLE_MASK","const val INHERITABLE_MASK: Int = 26","com.grappenmaker.mappings.INHERITABLE_MASK"]},{"name":"constructor()","description":"com.grappenmaker.mappings.JarRemapper.JarRemapper","location":"mappings-util/com.grappenmaker.mappings/-jar-remapper/-jar-remapper.html","searchKeys":["JarRemapper","constructor()","com.grappenmaker.mappings.JarRemapper.JarRemapper"]},{"name":"constructor(classes: List)","description":"com.grappenmaker.mappings.CSRGMappings.CSRGMappings","location":"mappings-util/com.grappenmaker.mappings/-c-s-r-g-mappings/-c-s-r-g-mappings.html","searchKeys":["CSRGMappings","constructor(classes: List)","com.grappenmaker.mappings.CSRGMappings.CSRGMappings"]},{"name":"constructor(classes: List)","description":"com.grappenmaker.mappings.EnigmaMappings.EnigmaMappings","location":"mappings-util/com.grappenmaker.mappings/-enigma-mappings/-enigma-mappings.html","searchKeys":["EnigmaMappings","constructor(classes: List)","com.grappenmaker.mappings.EnigmaMappings.EnigmaMappings"]},{"name":"constructor(classes: List)","description":"com.grappenmaker.mappings.RecafMappings.RecafMappings","location":"mappings-util/com.grappenmaker.mappings/-recaf-mappings/-recaf-mappings.html","searchKeys":["RecafMappings","constructor(classes: List)","com.grappenmaker.mappings.RecafMappings.RecafMappings"]},{"name":"constructor(classes: List, comments: List = emptyList())","description":"com.grappenmaker.mappings.ProguardMappings.ProguardMappings","location":"mappings-util/com.grappenmaker.mappings/-proguard-mappings/-proguard-mappings.html","searchKeys":["ProguardMappings","constructor(classes: List, comments: List = emptyList())","com.grappenmaker.mappings.ProguardMappings.ProguardMappings"]},{"name":"constructor(classes: List, isExtended: Boolean)","description":"com.grappenmaker.mappings.SRGMappings.SRGMappings","location":"mappings-util/com.grappenmaker.mappings/-s-r-g-mappings/-s-r-g-mappings.html","searchKeys":["SRGMappings","constructor(classes: List, isExtended: Boolean)","com.grappenmaker.mappings.SRGMappings.SRGMappings"]},{"name":"constructor(delegate: InheritanceProvider)","description":"com.grappenmaker.mappings.MemoizedInheritanceProvider.MemoizedInheritanceProvider","location":"mappings-util/com.grappenmaker.mappings/-memoized-inheritance-provider/-memoized-inheritance-provider.html","searchKeys":["MemoizedInheritanceProvider","constructor(delegate: InheritanceProvider)","com.grappenmaker.mappings.MemoizedInheritanceProvider.MemoizedInheritanceProvider"]},{"name":"constructor(index: Int, startOffset: Int, lvtIndex: Int, names: List)","description":"com.grappenmaker.mappings.MappedLocal.MappedLocal","location":"mappings-util/com.grappenmaker.mappings/-mapped-local/-mapped-local.html","searchKeys":["MappedLocal","constructor(index: Int, startOffset: Int, lvtIndex: Int, names: List)","com.grappenmaker.mappings.MappedLocal.MappedLocal"]},{"name":"constructor(input: Path, output: Path, fromNamespace: String, toNamespace: String)","description":"com.grappenmaker.mappings.JarRemapTask.JarRemapTask","location":"mappings-util/com.grappenmaker.mappings/-jar-remap-task/-jar-remap-task.html","searchKeys":["JarRemapTask","constructor(input: Path, output: Path, fromNamespace: String, toNamespace: String)","com.grappenmaker.mappings.JarRemapTask.JarRemapTask"]},{"name":"constructor(loader: ClasspathLoader)","description":"com.grappenmaker.mappings.LoaderInheritanceProvider.LoaderInheritanceProvider","location":"mappings-util/com.grappenmaker.mappings/-loader-inheritance-provider/-loader-inheritance-provider.html","searchKeys":["LoaderInheritanceProvider","constructor(loader: ClasspathLoader)","com.grappenmaker.mappings.LoaderInheritanceProvider.LoaderInheritanceProvider"]},{"name":"constructor(map: Map, inheritanceProvider: InheritanceProvider, memoizeInheritance: Boolean = true)","description":"com.grappenmaker.mappings.LoaderSimpleRemapper.LoaderSimpleRemapper","location":"mappings-util/com.grappenmaker.mappings/-loader-simple-remapper/-loader-simple-remapper.html","searchKeys":["LoaderSimpleRemapper","constructor(map: Map, inheritanceProvider: InheritanceProvider, memoizeInheritance: Boolean = true)","com.grappenmaker.mappings.LoaderSimpleRemapper.LoaderSimpleRemapper"]},{"name":"constructor(map: Map, loader: ClasspathLoader, memoizeInheritance: Boolean = true)","description":"com.grappenmaker.mappings.LoaderSimpleRemapper.LoaderSimpleRemapper","location":"mappings-util/com.grappenmaker.mappings/-loader-simple-remapper/-loader-simple-remapper.html","searchKeys":["LoaderSimpleRemapper","constructor(map: Map, loader: ClasspathLoader, memoizeInheritance: Boolean = true)","com.grappenmaker.mappings.LoaderSimpleRemapper.LoaderSimpleRemapper"]},{"name":"constructor(mappings: Mappings, from: String, to: String, loader: ClasspathLoader)","description":"com.grappenmaker.mappings.MappingsRemapper.MappingsRemapper","location":"mappings-util/com.grappenmaker.mappings/-mappings-remapper/-mappings-remapper.html","searchKeys":["MappingsRemapper","constructor(mappings: Mappings, from: String, to: String, loader: ClasspathLoader)","com.grappenmaker.mappings.MappingsRemapper.MappingsRemapper"]},{"name":"constructor(mappings: TinyMappings, compact: Boolean)","description":"com.grappenmaker.mappings.TinyMappingsWriter.Context.Context","location":"mappings-util/com.grappenmaker.mappings/-tiny-mappings-writer/-context/-context.html","searchKeys":["Context","constructor(mappings: TinyMappings, compact: Boolean)","com.grappenmaker.mappings.TinyMappingsWriter.Context.Context"]},{"name":"constructor(mask: AccessMask, methods: Map, fields: Map)","description":"com.grappenmaker.mappings.AccessedClass.AccessedClass","location":"mappings-util/com.grappenmaker.mappings/-accessed-class/-accessed-class.html","searchKeys":["AccessedClass","constructor(mask: AccessMask, methods: Map, fields: Map)","com.grappenmaker.mappings.AccessedClass.AccessedClass"]},{"name":"constructor(name: String, desc: String)","description":"com.grappenmaker.mappings.MemberIdentifier.MemberIdentifier","location":"mappings-util/com.grappenmaker.mappings/-member-identifier/-member-identifier.html","searchKeys":["MemberIdentifier","constructor(name: String, desc: String)","com.grappenmaker.mappings.MemberIdentifier.MemberIdentifier"]},{"name":"constructor(names: List, comments: List = emptyList(), desc: String, parameters: List = emptyList(), variables: List = emptyList())","description":"com.grappenmaker.mappings.MappedMethod.MappedMethod","location":"mappings-util/com.grappenmaker.mappings/-mapped-method/-mapped-method.html","searchKeys":["MappedMethod","constructor(names: List, comments: List = emptyList(), desc: String, parameters: List = emptyList(), variables: List = emptyList())","com.grappenmaker.mappings.MappedMethod.MappedMethod"]},{"name":"constructor(names: List, comments: List = emptyList(), desc: String?)","description":"com.grappenmaker.mappings.MappedField.MappedField","location":"mappings-util/com.grappenmaker.mappings/-mapped-field/-mapped-field.html","searchKeys":["MappedField","constructor(names: List, comments: List = emptyList(), desc: String?)","com.grappenmaker.mappings.MappedField.MappedField"]},{"name":"constructor(names: List, comments: List = emptyList(), fields: List = emptyList(), methods: List = emptyList())","description":"com.grappenmaker.mappings.MappedClass.MappedClass","location":"mappings-util/com.grappenmaker.mappings/-mapped-class/-mapped-class.html","searchKeys":["MappedClass","constructor(names: List, comments: List = emptyList(), fields: List = emptyList(), methods: List = emptyList())","com.grappenmaker.mappings.MappedClass.MappedClass"]},{"name":"constructor(names: List, index: Int)","description":"com.grappenmaker.mappings.MappedParameter.MappedParameter","location":"mappings-util/com.grappenmaker.mappings/-mapped-parameter/-mapped-parameter.html","searchKeys":["MappedParameter","constructor(names: List, index: Int)","com.grappenmaker.mappings.MappedParameter.MappedParameter"]},{"name":"constructor(namespace: String, classes: Map)","description":"com.grappenmaker.mappings.AccessWidenerTree.AccessWidenerTree","location":"mappings-util/com.grappenmaker.mappings/-access-widener-tree/-access-widener-tree.html","searchKeys":["AccessWidenerTree","constructor(namespace: String, classes: Map)","com.grappenmaker.mappings.AccessWidenerTree.AccessWidenerTree"]},{"name":"constructor(namespaces: List, classes: List)","description":"com.grappenmaker.mappings.GenericMappings.GenericMappings","location":"mappings-util/com.grappenmaker.mappings/-generic-mappings/-generic-mappings.html","searchKeys":["GenericMappings","constructor(namespaces: List, classes: List)","com.grappenmaker.mappings.GenericMappings.GenericMappings"]},{"name":"constructor(namespaces: List, classes: List, isV2: Boolean)","description":"com.grappenmaker.mappings.TSRGMappings.TSRGMappings","location":"mappings-util/com.grappenmaker.mappings/-t-s-r-g-mappings/-t-s-r-g-mappings.html","searchKeys":["TSRGMappings","constructor(namespaces: List, classes: List, isV2: Boolean)","com.grappenmaker.mappings.TSRGMappings.TSRGMappings"]},{"name":"constructor(namespaces: List, classes: List, isV2: Boolean)","description":"com.grappenmaker.mappings.TinyMappings.TinyMappings","location":"mappings-util/com.grappenmaker.mappings/-tiny-mappings/-tiny-mappings.html","searchKeys":["TinyMappings","constructor(namespaces: List, classes: List, isV2: Boolean)","com.grappenmaker.mappings.TinyMappings.TinyMappings"]},{"name":"constructor(namespaces: List, classes: List, version: Int = 2)","description":"com.grappenmaker.mappings.CompactedMappings.CompactedMappings","location":"mappings-util/com.grappenmaker.mappings/-compacted-mappings/-compacted-mappings.html","searchKeys":["CompactedMappings","constructor(namespaces: List, classes: List, version: Int = 2)","com.grappenmaker.mappings.CompactedMappings.CompactedMappings"]},{"name":"constructor(owner: String, name: String, desc: String)","description":"com.grappenmaker.mappings.AccessedMember.AccessedMember","location":"mappings-util/com.grappenmaker.mappings/-accessed-member/-accessed-member.html","searchKeys":["AccessedMember","constructor(owner: String, name: String, desc: String)","com.grappenmaker.mappings.AccessedMember.AccessedMember"]},{"name":"constructor(parent: ClassVisitor, remapper: Remapper)","description":"com.grappenmaker.mappings.LambdaAwareRemapper.LambdaAwareRemapper","location":"mappings-util/com.grappenmaker.mappings/-lambda-aware-remapper/-lambda-aware-remapper.html","searchKeys":["LambdaAwareRemapper","constructor(parent: ClassVisitor, remapper: Remapper)","com.grappenmaker.mappings.LambdaAwareRemapper.LambdaAwareRemapper"]},{"name":"constructor(parent: ClassVisitor?, tree: AccessWidenerTree)","description":"com.grappenmaker.mappings.AccessWidenerVisitor.AccessWidenerVisitor","location":"mappings-util/com.grappenmaker.mappings/-access-widener-visitor/-access-widener-visitor.html","searchKeys":["AccessWidenerVisitor","constructor(parent: ClassVisitor?, tree: AccessWidenerTree)","com.grappenmaker.mappings.AccessWidenerVisitor.AccessWidenerVisitor"]},{"name":"constructor(parent: MethodVisitor, remapper: Remapper)","description":"com.grappenmaker.mappings.LambdaAwareMethodRemapper.LambdaAwareMethodRemapper","location":"mappings-util/com.grappenmaker.mappings/-lambda-aware-method-remapper/-lambda-aware-method-remapper.html","searchKeys":["LambdaAwareMethodRemapper","constructor(parent: MethodVisitor, remapper: Remapper)","com.grappenmaker.mappings.LambdaAwareMethodRemapper.LambdaAwareMethodRemapper"]},{"name":"constructor(value: Int)","description":"com.grappenmaker.mappings.AccessMask.AccessMask","location":"mappings-util/com.grappenmaker.mappings/-access-mask/-access-mask.html","searchKeys":["AccessMask","constructor(value: Int)","com.grappenmaker.mappings.AccessMask.AccessMask"]},{"name":"constructor(version: Int, namespace: String, classes: Map, methods: Map, fields: Map)","description":"com.grappenmaker.mappings.AccessWidener.AccessWidener","location":"mappings-util/com.grappenmaker.mappings/-access-widener/-access-widener.html","searchKeys":["AccessWidener","constructor(version: Int, namespace: String, classes: Map, methods: Map, fields: Map)","com.grappenmaker.mappings.AccessWidener.AccessWidener"]},{"name":"data class AccessWidener(val version: Int, val namespace: String, val classes: Map, val methods: Map, val fields: Map)","description":"com.grappenmaker.mappings.AccessWidener","location":"mappings-util/com.grappenmaker.mappings/-access-widener/index.html","searchKeys":["AccessWidener","data class AccessWidener(val version: Int, val namespace: String, val classes: Map, val methods: Map, val fields: Map)","com.grappenmaker.mappings.AccessWidener"]},{"name":"data class AccessWidenerTree(val namespace: String, val classes: Map)","description":"com.grappenmaker.mappings.AccessWidenerTree","location":"mappings-util/com.grappenmaker.mappings/-access-widener-tree/index.html","searchKeys":["AccessWidenerTree","data class AccessWidenerTree(val namespace: String, val classes: Map)","com.grappenmaker.mappings.AccessWidenerTree"]},{"name":"data class AccessedClass(val mask: AccessMask, val methods: Map, val fields: Map)","description":"com.grappenmaker.mappings.AccessedClass","location":"mappings-util/com.grappenmaker.mappings/-accessed-class/index.html","searchKeys":["AccessedClass","data class AccessedClass(val mask: AccessMask, val methods: Map, val fields: Map)","com.grappenmaker.mappings.AccessedClass"]},{"name":"data class AccessedMember(val owner: String, val name: String, val desc: String)","description":"com.grappenmaker.mappings.AccessedMember","location":"mappings-util/com.grappenmaker.mappings/-accessed-member/index.html","searchKeys":["AccessedMember","data class AccessedMember(val owner: String, val name: String, val desc: String)","com.grappenmaker.mappings.AccessedMember"]},{"name":"data class CSRGMappings(val classes: List) : Mappings","description":"com.grappenmaker.mappings.CSRGMappings","location":"mappings-util/com.grappenmaker.mappings/-c-s-r-g-mappings/index.html","searchKeys":["CSRGMappings","data class CSRGMappings(val classes: List) : Mappings","com.grappenmaker.mappings.CSRGMappings"]},{"name":"data class CompactedMappings(val namespaces: List, val classes: List, val version: Int = 2) : Mappings","description":"com.grappenmaker.mappings.CompactedMappings","location":"mappings-util/com.grappenmaker.mappings/-compacted-mappings/index.html","searchKeys":["CompactedMappings","data class CompactedMappings(val namespaces: List, val classes: List, val version: Int = 2) : Mappings","com.grappenmaker.mappings.CompactedMappings"]},{"name":"data class Context(val mappings: TinyMappings, val compact: Boolean)","description":"com.grappenmaker.mappings.TinyMappingsWriter.Context","location":"mappings-util/com.grappenmaker.mappings/-tiny-mappings-writer/-context/index.html","searchKeys":["Context","data class Context(val mappings: TinyMappings, val compact: Boolean)","com.grappenmaker.mappings.TinyMappingsWriter.Context"]},{"name":"data class EnigmaMappings(val classes: List) : Mappings","description":"com.grappenmaker.mappings.EnigmaMappings","location":"mappings-util/com.grappenmaker.mappings/-enigma-mappings/index.html","searchKeys":["EnigmaMappings","data class EnigmaMappings(val classes: List) : Mappings","com.grappenmaker.mappings.EnigmaMappings"]},{"name":"data class GenericMappings(val namespaces: List, val classes: List) : Mappings","description":"com.grappenmaker.mappings.GenericMappings","location":"mappings-util/com.grappenmaker.mappings/-generic-mappings/index.html","searchKeys":["GenericMappings","data class GenericMappings(val namespaces: List, val classes: List) : Mappings","com.grappenmaker.mappings.GenericMappings"]},{"name":"data class JarRemapTask(val input: Path, val output: Path, val fromNamespace: String, val toNamespace: String)","description":"com.grappenmaker.mappings.JarRemapTask","location":"mappings-util/com.grappenmaker.mappings/-jar-remap-task/index.html","searchKeys":["JarRemapTask","data class JarRemapTask(val input: Path, val output: Path, val fromNamespace: String, val toNamespace: String)","com.grappenmaker.mappings.JarRemapTask"]},{"name":"data class MappedClass(val names: List, val comments: List = emptyList(), val fields: List = emptyList(), val methods: List = emptyList()) : Mapped, Commented","description":"com.grappenmaker.mappings.MappedClass","location":"mappings-util/com.grappenmaker.mappings/-mapped-class/index.html","searchKeys":["MappedClass","data class MappedClass(val names: List, val comments: List = emptyList(), val fields: List = emptyList(), val methods: List = emptyList()) : Mapped, Commented","com.grappenmaker.mappings.MappedClass"]},{"name":"data class MappedField(val names: List, val comments: List = emptyList(), val desc: String?) : Mapped, Commented","description":"com.grappenmaker.mappings.MappedField","location":"mappings-util/com.grappenmaker.mappings/-mapped-field/index.html","searchKeys":["MappedField","data class MappedField(val names: List, val comments: List = emptyList(), val desc: String?) : Mapped, Commented","com.grappenmaker.mappings.MappedField"]},{"name":"data class MappedLocal(val index: Int, val startOffset: Int, val lvtIndex: Int, val names: List) : Mapped","description":"com.grappenmaker.mappings.MappedLocal","location":"mappings-util/com.grappenmaker.mappings/-mapped-local/index.html","searchKeys":["MappedLocal","data class MappedLocal(val index: Int, val startOffset: Int, val lvtIndex: Int, val names: List) : Mapped","com.grappenmaker.mappings.MappedLocal"]},{"name":"data class MappedMethod(val names: List, val comments: List = emptyList(), val desc: String, val parameters: List = emptyList(), val variables: List = emptyList()) : Mapped, Commented","description":"com.grappenmaker.mappings.MappedMethod","location":"mappings-util/com.grappenmaker.mappings/-mapped-method/index.html","searchKeys":["MappedMethod","data class MappedMethod(val names: List, val comments: List = emptyList(), val desc: String, val parameters: List = emptyList(), val variables: List = emptyList()) : Mapped, Commented","com.grappenmaker.mappings.MappedMethod"]},{"name":"data class MappedParameter(val names: List, val index: Int) : Mapped","description":"com.grappenmaker.mappings.MappedParameter","location":"mappings-util/com.grappenmaker.mappings/-mapped-parameter/index.html","searchKeys":["MappedParameter","data class MappedParameter(val names: List, val index: Int) : Mapped","com.grappenmaker.mappings.MappedParameter"]},{"name":"data class MemberIdentifier(val name: String, val desc: String)","description":"com.grappenmaker.mappings.MemberIdentifier","location":"mappings-util/com.grappenmaker.mappings/-member-identifier/index.html","searchKeys":["MemberIdentifier","data class MemberIdentifier(val name: String, val desc: String)","com.grappenmaker.mappings.MemberIdentifier"]},{"name":"data class ProguardMappings(val classes: List, val comments: List = emptyList()) : Mappings, Commented","description":"com.grappenmaker.mappings.ProguardMappings","location":"mappings-util/com.grappenmaker.mappings/-proguard-mappings/index.html","searchKeys":["ProguardMappings","data class ProguardMappings(val classes: List, val comments: List = emptyList()) : Mappings, Commented","com.grappenmaker.mappings.ProguardMappings"]},{"name":"data class RecafMappings(val classes: List) : Mappings","description":"com.grappenmaker.mappings.RecafMappings","location":"mappings-util/com.grappenmaker.mappings/-recaf-mappings/index.html","searchKeys":["RecafMappings","data class RecafMappings(val classes: List) : Mappings","com.grappenmaker.mappings.RecafMappings"]},{"name":"data class SRGMappings(val classes: List, val isExtended: Boolean) : Mappings","description":"com.grappenmaker.mappings.SRGMappings","location":"mappings-util/com.grappenmaker.mappings/-s-r-g-mappings/index.html","searchKeys":["SRGMappings","data class SRGMappings(val classes: List, val isExtended: Boolean) : Mappings","com.grappenmaker.mappings.SRGMappings"]},{"name":"data class TSRGMappings(val namespaces: List, val classes: List, val isV2: Boolean) : Mappings","description":"com.grappenmaker.mappings.TSRGMappings","location":"mappings-util/com.grappenmaker.mappings/-t-s-r-g-mappings/index.html","searchKeys":["TSRGMappings","data class TSRGMappings(val namespaces: List, val classes: List, val isV2: Boolean) : Mappings","com.grappenmaker.mappings.TSRGMappings"]},{"name":"data class TinyMappings(val namespaces: List, val classes: List, val isV2: Boolean) : Mappings","description":"com.grappenmaker.mappings.TinyMappings","location":"mappings-util/com.grappenmaker.mappings/-tiny-mappings/index.html","searchKeys":["TinyMappings","data class TinyMappings(val namespaces: List, val classes: List, val isV2: Boolean) : Mappings","com.grappenmaker.mappings.TinyMappings"]},{"name":"data object CSRGMappingsFormat : MappingsFormat.Undetectable ","description":"com.grappenmaker.mappings.CSRGMappingsFormat","location":"mappings-util/com.grappenmaker.mappings/-c-s-r-g-mappings-format/index.html","searchKeys":["CSRGMappingsFormat","data object CSRGMappingsFormat : MappingsFormat.Undetectable ","com.grappenmaker.mappings.CSRGMappingsFormat"]},{"name":"data object CompactedMappingsFormat","description":"com.grappenmaker.mappings.CompactedMappingsFormat","location":"mappings-util/com.grappenmaker.mappings/-compacted-mappings-format/index.html","searchKeys":["CompactedMappingsFormat","data object CompactedMappingsFormat","com.grappenmaker.mappings.CompactedMappingsFormat"]},{"name":"data object EmptyMappings : Mappings","description":"com.grappenmaker.mappings.EmptyMappings","location":"mappings-util/com.grappenmaker.mappings/-empty-mappings/index.html","searchKeys":["EmptyMappings","data object EmptyMappings : Mappings","com.grappenmaker.mappings.EmptyMappings"]},{"name":"data object EnigmaMappingsFormat : MappingsFormat ","description":"com.grappenmaker.mappings.EnigmaMappingsFormat","location":"mappings-util/com.grappenmaker.mappings/-enigma-mappings-format/index.html","searchKeys":["EnigmaMappingsFormat","data object EnigmaMappingsFormat : MappingsFormat ","com.grappenmaker.mappings.EnigmaMappingsFormat"]},{"name":"data object ProguardMappingsFormat : MappingsFormat ","description":"com.grappenmaker.mappings.ProguardMappingsFormat","location":"mappings-util/com.grappenmaker.mappings/-proguard-mappings-format/index.html","searchKeys":["ProguardMappingsFormat","data object ProguardMappingsFormat : MappingsFormat ","com.grappenmaker.mappings.ProguardMappingsFormat"]},{"name":"data object RecafMappingsFormat : MappingsFormat.Undetectable ","description":"com.grappenmaker.mappings.RecafMappingsFormat","location":"mappings-util/com.grappenmaker.mappings/-recaf-mappings-format/index.html","searchKeys":["RecafMappingsFormat","data object RecafMappingsFormat : MappingsFormat.Undetectable ","com.grappenmaker.mappings.RecafMappingsFormat"]},{"name":"data object SRGMappingsFormat : MappingsFormat ","description":"com.grappenmaker.mappings.SRGMappingsFormat","location":"mappings-util/com.grappenmaker.mappings/-s-r-g-mappings-format/index.html","searchKeys":["SRGMappingsFormat","data object SRGMappingsFormat : MappingsFormat ","com.grappenmaker.mappings.SRGMappingsFormat"]},{"name":"data object TSRGV1MappingsFormat : MappingsFormat ","description":"com.grappenmaker.mappings.TSRGV1MappingsFormat","location":"mappings-util/com.grappenmaker.mappings/-t-s-r-g-v1-mappings-format/index.html","searchKeys":["TSRGV1MappingsFormat","data object TSRGV1MappingsFormat : MappingsFormat ","com.grappenmaker.mappings.TSRGV1MappingsFormat"]},{"name":"data object TSRGV2MappingsFormat : MappingsFormat ","description":"com.grappenmaker.mappings.TSRGV2MappingsFormat","location":"mappings-util/com.grappenmaker.mappings/-t-s-r-g-v2-mappings-format/index.html","searchKeys":["TSRGV2MappingsFormat","data object TSRGV2MappingsFormat : MappingsFormat ","com.grappenmaker.mappings.TSRGV2MappingsFormat"]},{"name":"data object TinyMappingsV1Format : TinyMappingsWriter","description":"com.grappenmaker.mappings.TinyMappingsV1Format","location":"mappings-util/com.grappenmaker.mappings/-tiny-mappings-v1-format/index.html","searchKeys":["TinyMappingsV1Format","data object TinyMappingsV1Format : TinyMappingsWriter","com.grappenmaker.mappings.TinyMappingsV1Format"]},{"name":"data object TinyMappingsV2Format : TinyMappingsWriter","description":"com.grappenmaker.mappings.TinyMappingsV2Format","location":"mappings-util/com.grappenmaker.mappings/-tiny-mappings-v2-format/index.html","searchKeys":["TinyMappingsV2Format","data object TinyMappingsV2Format : TinyMappingsWriter","com.grappenmaker.mappings.TinyMappingsV2Format"]},{"name":"data object XSRGMappingsFormat : MappingsFormat ","description":"com.grappenmaker.mappings.XSRGMappingsFormat","location":"mappings-util/com.grappenmaker.mappings/-x-s-r-g-mappings-format/index.html","searchKeys":["XSRGMappingsFormat","data object XSRGMappingsFormat : MappingsFormat ","com.grappenmaker.mappings.XSRGMappingsFormat"]},{"name":"enum AccessType : Enum ","description":"com.grappenmaker.mappings.AccessType","location":"mappings-util/com.grappenmaker.mappings/-access-type/index.html","searchKeys":["AccessType","enum AccessType : Enum ","com.grappenmaker.mappings.AccessType"]},{"name":"fun MappingsFormat.parse(lines: Sequence): T","description":"com.grappenmaker.mappings.parse","location":"mappings-util/com.grappenmaker.mappings/parse.html","searchKeys":["parse","fun MappingsFormat.parse(lines: Sequence): T","com.grappenmaker.mappings.parse"]},{"name":"fun AbstractInsnNode.remap(remapper: Remapper, lambdaAware: Boolean = true)","description":"com.grappenmaker.mappings.remap","location":"mappings-util/com.grappenmaker.mappings/remap.html","searchKeys":["remap","fun AbstractInsnNode.remap(remapper: Remapper, lambdaAware: Boolean = true)","com.grappenmaker.mappings.remap"]},{"name":"fun AccessWidener.remap(mappings: Mappings, toNamespace: String): AccessWidener","description":"com.grappenmaker.mappings.remap","location":"mappings-util/com.grappenmaker.mappings/remap.html","searchKeys":["remap","fun AccessWidener.remap(mappings: Mappings, toNamespace: String): AccessWidener","com.grappenmaker.mappings.remap"]},{"name":"fun AccessWidener.remap(remapper: Remapper, toNamespace: String): AccessWidener","description":"com.grappenmaker.mappings.remap","location":"mappings-util/com.grappenmaker.mappings/remap.html","searchKeys":["remap","fun AccessWidener.remap(remapper: Remapper, toNamespace: String): AccessWidener","com.grappenmaker.mappings.remap"]},{"name":"fun AccessWidener.toTree(): AccessWidenerTree","description":"com.grappenmaker.mappings.toTree","location":"mappings-util/com.grappenmaker.mappings/to-tree.html","searchKeys":["toTree","fun AccessWidener.toTree(): AccessWidenerTree","com.grappenmaker.mappings.toTree"]},{"name":"fun AccessWidener.write(): List","description":"com.grappenmaker.mappings.write","location":"mappings-util/com.grappenmaker.mappings/write.html","searchKeys":["write","fun AccessWidener.write(): List","com.grappenmaker.mappings.write"]},{"name":"fun AccessWidener.writeLazy(): Sequence","description":"com.grappenmaker.mappings.writeLazy","location":"mappings-util/com.grappenmaker.mappings/write-lazy.html","searchKeys":["writeLazy","fun AccessWidener.writeLazy(): Sequence","com.grappenmaker.mappings.writeLazy"]},{"name":"fun AnnotationNode.remap(remapper: Remapper)","description":"com.grappenmaker.mappings.remap","location":"mappings-util/com.grappenmaker.mappings/remap.html","searchKeys":["remap","fun AnnotationNode.remap(remapper: Remapper)","com.grappenmaker.mappings.remap"]},{"name":"fun Array?>.remap(remapper: Remapper)","description":"com.grappenmaker.mappings.remap","location":"mappings-util/com.grappenmaker.mappings/remap.html","searchKeys":["remap","fun Array?>.remap(remapper: Remapper)","com.grappenmaker.mappings.remap"]},{"name":"fun CSRGMappings.write(): List","description":"com.grappenmaker.mappings.write","location":"mappings-util/com.grappenmaker.mappings/write.html","searchKeys":["write","fun CSRGMappings.write(): List","com.grappenmaker.mappings.write"]},{"name":"fun CSRGMappings.writeLazy(): Sequence","description":"com.grappenmaker.mappings.writeLazy","location":"mappings-util/com.grappenmaker.mappings/write-lazy.html","searchKeys":["writeLazy","fun CSRGMappings.writeLazy(): Sequence","com.grappenmaker.mappings.writeLazy"]},{"name":"fun ClassNode.applyWidener(tree: AccessWidenerTree)","description":"com.grappenmaker.mappings.applyWidener","location":"mappings-util/com.grappenmaker.mappings/apply-widener.html","searchKeys":["applyWidener","fun ClassNode.applyWidener(tree: AccessWidenerTree)","com.grappenmaker.mappings.applyWidener"]},{"name":"fun ClassNode.remap(remapper: Remapper, lambdaAware: Boolean = true)","description":"com.grappenmaker.mappings.remap","location":"mappings-util/com.grappenmaker.mappings/remap.html","searchKeys":["remap","fun ClassNode.remap(remapper: Remapper, lambdaAware: Boolean = true)","com.grappenmaker.mappings.remap"]},{"name":"fun ClasspathLoader.asInheritanceProvider(): InheritanceProvider","description":"com.grappenmaker.mappings.asInheritanceProvider","location":"mappings-util/com.grappenmaker.mappings/as-inheritance-provider.html","searchKeys":["asInheritanceProvider","fun ClasspathLoader.asInheritanceProvider(): InheritanceProvider","com.grappenmaker.mappings.asInheritanceProvider"]},{"name":"fun ClasspathLoader.memoized(): ClasspathLoader","description":"com.grappenmaker.mappings.memoized","location":"mappings-util/com.grappenmaker.mappings/memoized.html","searchKeys":["memoized","fun ClasspathLoader.memoized(): ClasspathLoader","com.grappenmaker.mappings.memoized"]},{"name":"fun ClasspathLoader.memoizedTo(memo: MutableMap): ClasspathLoader","description":"com.grappenmaker.mappings.memoizedTo","location":"mappings-util/com.grappenmaker.mappings/memoized-to.html","searchKeys":["memoizedTo","fun ClasspathLoader.memoizedTo(memo: MutableMap): ClasspathLoader","com.grappenmaker.mappings.memoizedTo"]},{"name":"fun ClasspathLoader.remapping(remapper: Remapper): ClasspathLoader","description":"com.grappenmaker.mappings.remapping","location":"mappings-util/com.grappenmaker.mappings/remapping.html","searchKeys":["remapping","fun ClasspathLoader.remapping(remapper: Remapper): ClasspathLoader","com.grappenmaker.mappings.remapping"]},{"name":"fun ClasspathLoader.remappingNames(mappings: Mappings, from: String, to: String): ClasspathLoader","description":"com.grappenmaker.mappings.remappingNames","location":"mappings-util/com.grappenmaker.mappings/remapping-names.html","searchKeys":["remappingNames","fun ClasspathLoader.remappingNames(mappings: Mappings, from: String, to: String): ClasspathLoader","com.grappenmaker.mappings.remappingNames"]},{"name":"fun CompactedMappings.write(): ByteArray","description":"com.grappenmaker.mappings.write","location":"mappings-util/com.grappenmaker.mappings/write.html","searchKeys":["write","fun CompactedMappings.write(): ByteArray","com.grappenmaker.mappings.write"]},{"name":"fun CompactedMappings.writeTo(stream: OutputStream)","description":"com.grappenmaker.mappings.writeTo","location":"mappings-util/com.grappenmaker.mappings/write-to.html","searchKeys":["writeTo","fun CompactedMappings.writeTo(stream: OutputStream)","com.grappenmaker.mappings.writeTo"]},{"name":"fun EnigmaMappings.write(): List","description":"com.grappenmaker.mappings.write","location":"mappings-util/com.grappenmaker.mappings/write.html","searchKeys":["write","fun EnigmaMappings.write(): List","com.grappenmaker.mappings.write"]},{"name":"fun EnigmaMappings.writeLazy(): Sequence","description":"com.grappenmaker.mappings.writeLazy","location":"mappings-util/com.grappenmaker.mappings/write-lazy.html","searchKeys":["writeLazy","fun EnigmaMappings.writeLazy(): Sequence","com.grappenmaker.mappings.writeLazy"]},{"name":"fun FieldNode.remap(ownerName: String, remapper: Remapper)","description":"com.grappenmaker.mappings.remap","location":"mappings-util/com.grappenmaker.mappings/remap.html","searchKeys":["remap","fun FieldNode.remap(ownerName: String, remapper: Remapper)","com.grappenmaker.mappings.remap"]},{"name":"fun InheritanceProvider.memoized(): InheritanceProvider","description":"com.grappenmaker.mappings.memoized","location":"mappings-util/com.grappenmaker.mappings/memoized.html","searchKeys":["memoized","fun InheritanceProvider.memoized(): InheritanceProvider","com.grappenmaker.mappings.memoized"]},{"name":"fun Iterable.join(): AccessMask","description":"com.grappenmaker.mappings.join","location":"mappings-util/com.grappenmaker.mappings/join.html","searchKeys":["join","fun Iterable.join(): AccessMask","com.grappenmaker.mappings.join"]},{"name":"fun Iterable.join(): AccessWidener","description":"com.grappenmaker.mappings.join","location":"mappings-util/com.grappenmaker.mappings/join.html","searchKeys":["join","fun Iterable.join(): AccessWidener","com.grappenmaker.mappings.join"]},{"name":"fun Iterable.join(intermediateNamespace: String, requireMatch: Boolean = false): Mappings","description":"com.grappenmaker.mappings.join","location":"mappings-util/com.grappenmaker.mappings/join.html","searchKeys":["join","fun Iterable.join(intermediateNamespace: String, requireMatch: Boolean = false): Mappings","com.grappenmaker.mappings.join"]},{"name":"fun MappedMethod.isData(): Boolean","description":"com.grappenmaker.mappings.isData","location":"mappings-util/com.grappenmaker.mappings/is-data.html","searchKeys":["isData","fun MappedMethod.isData(): Boolean","com.grappenmaker.mappings.isData"]},{"name":"fun Mappings.asASMMapping(from: String, to: String, includeMethods: Boolean = true, includeFields: Boolean = true): Map","description":"com.grappenmaker.mappings.asASMMapping","location":"mappings-util/com.grappenmaker.mappings/as-a-s-m-mapping.html","searchKeys":["asASMMapping","fun Mappings.asASMMapping(from: String, to: String, includeMethods: Boolean = true, includeFields: Boolean = true): Map","com.grappenmaker.mappings.asASMMapping"]},{"name":"fun Mappings.asCSRGMappings(): CSRGMappings","description":"com.grappenmaker.mappings.asCSRGMappings","location":"mappings-util/com.grappenmaker.mappings/as-c-s-r-g-mappings.html","searchKeys":["asCSRGMappings","fun Mappings.asCSRGMappings(): CSRGMappings","com.grappenmaker.mappings.asCSRGMappings"]},{"name":"fun Mappings.asCompactedMappings(version: Int = 2): CompactedMappings","description":"com.grappenmaker.mappings.asCompactedMappings","location":"mappings-util/com.grappenmaker.mappings/as-compacted-mappings.html","searchKeys":["asCompactedMappings","fun Mappings.asCompactedMappings(version: Int = 2): CompactedMappings","com.grappenmaker.mappings.asCompactedMappings"]},{"name":"fun Mappings.asEnigmaMappings(): EnigmaMappings","description":"com.grappenmaker.mappings.asEnigmaMappings","location":"mappings-util/com.grappenmaker.mappings/as-enigma-mappings.html","searchKeys":["asEnigmaMappings","fun Mappings.asEnigmaMappings(): EnigmaMappings","com.grappenmaker.mappings.asEnigmaMappings"]},{"name":"fun Mappings.asGenericMappings(): GenericMappings","description":"com.grappenmaker.mappings.asGenericMappings","location":"mappings-util/com.grappenmaker.mappings/as-generic-mappings.html","searchKeys":["asGenericMappings","fun Mappings.asGenericMappings(): GenericMappings","com.grappenmaker.mappings.asGenericMappings"]},{"name":"fun Mappings.asProguardMappings(): ProguardMappings","description":"com.grappenmaker.mappings.asProguardMappings","location":"mappings-util/com.grappenmaker.mappings/as-proguard-mappings.html","searchKeys":["asProguardMappings","fun Mappings.asProguardMappings(): ProguardMappings","com.grappenmaker.mappings.asProguardMappings"]},{"name":"fun Mappings.asRecafMappings(): RecafMappings","description":"com.grappenmaker.mappings.asRecafMappings","location":"mappings-util/com.grappenmaker.mappings/as-recaf-mappings.html","searchKeys":["asRecafMappings","fun Mappings.asRecafMappings(): RecafMappings","com.grappenmaker.mappings.asRecafMappings"]},{"name":"fun Mappings.asSRGMappings(extended: Boolean): SRGMappings","description":"com.grappenmaker.mappings.asSRGMappings","location":"mappings-util/com.grappenmaker.mappings/as-s-r-g-mappings.html","searchKeys":["asSRGMappings","fun Mappings.asSRGMappings(extended: Boolean): SRGMappings","com.grappenmaker.mappings.asSRGMappings"]},{"name":"fun Mappings.asSimpleRemapper(from: String, to: String): SimpleRemapper","description":"com.grappenmaker.mappings.asSimpleRemapper","location":"mappings-util/com.grappenmaker.mappings/as-simple-remapper.html","searchKeys":["asSimpleRemapper","fun Mappings.asSimpleRemapper(from: String, to: String): SimpleRemapper","com.grappenmaker.mappings.asSimpleRemapper"]},{"name":"fun Mappings.asTSRGMappings(v2: Boolean): TSRGMappings","description":"com.grappenmaker.mappings.asTSRGMappings","location":"mappings-util/com.grappenmaker.mappings/as-t-s-r-g-mappings.html","searchKeys":["asTSRGMappings","fun Mappings.asTSRGMappings(v2: Boolean): TSRGMappings","com.grappenmaker.mappings.asTSRGMappings"]},{"name":"fun Mappings.asTinyMappings(v2: Boolean): TinyMappings","description":"com.grappenmaker.mappings.asTinyMappings","location":"mappings-util/com.grappenmaker.mappings/as-tiny-mappings.html","searchKeys":["asTinyMappings","fun Mappings.asTinyMappings(v2: Boolean): TinyMappings","com.grappenmaker.mappings.asTinyMappings"]},{"name":"fun Mappings.deduplicateNamespaces(): Mappings","description":"com.grappenmaker.mappings.deduplicateNamespaces","location":"mappings-util/com.grappenmaker.mappings/deduplicate-namespaces.html","searchKeys":["deduplicateNamespaces","fun Mappings.deduplicateNamespaces(): Mappings","com.grappenmaker.mappings.deduplicateNamespaces"]},{"name":"fun Mappings.extractNamespaces(from: String, to: String): Mappings","description":"com.grappenmaker.mappings.extractNamespaces","location":"mappings-util/com.grappenmaker.mappings/extract-namespaces.html","searchKeys":["extractNamespaces","fun Mappings.extractNamespaces(from: String, to: String): Mappings","com.grappenmaker.mappings.extractNamespaces"]},{"name":"fun Mappings.filterNamespaces(allowed: Set, allowDuplicates: Boolean = false): Mappings","description":"com.grappenmaker.mappings.filterNamespaces","location":"mappings-util/com.grappenmaker.mappings/filter-namespaces.html","searchKeys":["filterNamespaces","fun Mappings.filterNamespaces(allowed: Set, allowDuplicates: Boolean = false): Mappings","com.grappenmaker.mappings.filterNamespaces"]},{"name":"fun Mappings.filterNamespaces(vararg allowed: String, allowDuplicates: Boolean = false): Mappings","description":"com.grappenmaker.mappings.filterNamespaces","location":"mappings-util/com.grappenmaker.mappings/filter-namespaces.html","searchKeys":["filterNamespaces","fun Mappings.filterNamespaces(vararg allowed: String, allowDuplicates: Boolean = false): Mappings","com.grappenmaker.mappings.filterNamespaces"]},{"name":"fun Mappings.join(otherMappings: Mappings, intermediateNamespace: String, requireMatch: Boolean = false): Mappings","description":"com.grappenmaker.mappings.join","location":"mappings-util/com.grappenmaker.mappings/join.html","searchKeys":["join","fun Mappings.join(otherMappings: Mappings, intermediateNamespace: String, requireMatch: Boolean = false): Mappings","com.grappenmaker.mappings.join"]},{"name":"fun Mappings.namespace(name: String): Int","description":"com.grappenmaker.mappings.namespace","location":"mappings-util/com.grappenmaker.mappings/namespace.html","searchKeys":["namespace","fun Mappings.namespace(name: String): Int","com.grappenmaker.mappings.namespace"]},{"name":"fun Mappings.recoverFieldDescriptors(bytesProvider: (name: String) -> ByteArray?): Mappings","description":"com.grappenmaker.mappings.recoverFieldDescriptors","location":"mappings-util/com.grappenmaker.mappings/recover-field-descriptors.html","searchKeys":["recoverFieldDescriptors","fun Mappings.recoverFieldDescriptors(bytesProvider: (name: String) -> ByteArray?): Mappings","com.grappenmaker.mappings.recoverFieldDescriptors"]},{"name":"fun Mappings.recoverFieldDescriptors(file: JarFile): Mappings","description":"com.grappenmaker.mappings.recoverFieldDescriptors","location":"mappings-util/com.grappenmaker.mappings/recover-field-descriptors.html","searchKeys":["recoverFieldDescriptors","fun Mappings.recoverFieldDescriptors(file: JarFile): Mappings","com.grappenmaker.mappings.recoverFieldDescriptors"]},{"name":"fun Mappings.recoverFieldDescriptors(nodeProvider: (name: String) -> ClassNode?): Mappings","description":"com.grappenmaker.mappings.recoverFieldDescriptors","location":"mappings-util/com.grappenmaker.mappings/recover-field-descriptors.html","searchKeys":["recoverFieldDescriptors","fun Mappings.recoverFieldDescriptors(nodeProvider: (name: String) -> ClassNode?): Mappings","com.grappenmaker.mappings.recoverFieldDescriptors"]},{"name":"fun Mappings.removeComments(): Mappings","description":"com.grappenmaker.mappings.removeComments","location":"mappings-util/com.grappenmaker.mappings/remove-comments.html","searchKeys":["removeComments","fun Mappings.removeComments(): Mappings","com.grappenmaker.mappings.removeComments"]},{"name":"fun Mappings.removeRedundancy(file: JarFile, removeDuplicateMethods: Boolean = false): Mappings","description":"com.grappenmaker.mappings.removeRedundancy","location":"mappings-util/com.grappenmaker.mappings/remove-redundancy.html","searchKeys":["removeRedundancy","fun Mappings.removeRedundancy(file: JarFile, removeDuplicateMethods: Boolean = false): Mappings","com.grappenmaker.mappings.removeRedundancy"]},{"name":"fun Mappings.removeRedundancy(inheritanceProvider: InheritanceProvider, removeDuplicateMethods: Boolean = false): Mappings","description":"com.grappenmaker.mappings.removeRedundancy","location":"mappings-util/com.grappenmaker.mappings/remove-redundancy.html","searchKeys":["removeRedundancy","fun Mappings.removeRedundancy(inheritanceProvider: InheritanceProvider, removeDuplicateMethods: Boolean = false): Mappings","com.grappenmaker.mappings.removeRedundancy"]},{"name":"fun Mappings.removeRedundancy(removeDuplicateMethods: Boolean = false, loader: ClasspathLoader): Mappings","description":"com.grappenmaker.mappings.removeRedundancy","location":"mappings-util/com.grappenmaker.mappings/remove-redundancy.html","searchKeys":["removeRedundancy","fun Mappings.removeRedundancy(removeDuplicateMethods: Boolean = false, loader: ClasspathLoader): Mappings","com.grappenmaker.mappings.removeRedundancy"]},{"name":"fun Mappings.renameNamespaces(to: List): Mappings","description":"com.grappenmaker.mappings.renameNamespaces","location":"mappings-util/com.grappenmaker.mappings/rename-namespaces.html","searchKeys":["renameNamespaces","fun Mappings.renameNamespaces(to: List): Mappings","com.grappenmaker.mappings.renameNamespaces"]},{"name":"fun Mappings.renameNamespaces(vararg to: String): Mappings","description":"com.grappenmaker.mappings.renameNamespaces","location":"mappings-util/com.grappenmaker.mappings/rename-namespaces.html","searchKeys":["renameNamespaces","fun Mappings.renameNamespaces(vararg to: String): Mappings","com.grappenmaker.mappings.renameNamespaces"]},{"name":"fun Mappings.reorderNamespaces(order: List): Mappings","description":"com.grappenmaker.mappings.reorderNamespaces","location":"mappings-util/com.grappenmaker.mappings/reorder-namespaces.html","searchKeys":["reorderNamespaces","fun Mappings.reorderNamespaces(order: List): Mappings","com.grappenmaker.mappings.reorderNamespaces"]},{"name":"fun Mappings.reorderNamespaces(vararg order: String): Mappings","description":"com.grappenmaker.mappings.reorderNamespaces","location":"mappings-util/com.grappenmaker.mappings/reorder-namespaces.html","searchKeys":["reorderNamespaces","fun Mappings.reorderNamespaces(vararg order: String): Mappings","com.grappenmaker.mappings.reorderNamespaces"]},{"name":"fun MethodNode.remap(ownerName: String, remapper: Remapper, lambdaAware: Boolean = true)","description":"com.grappenmaker.mappings.remap","location":"mappings-util/com.grappenmaker.mappings/remap.html","searchKeys":["remap","fun MethodNode.remap(ownerName: String, remapper: Remapper, lambdaAware: Boolean = true)","com.grappenmaker.mappings.remap"]},{"name":"fun MutableList.remap(remapper: Remapper)","description":"com.grappenmaker.mappings.remap","location":"mappings-util/com.grappenmaker.mappings/remap.html","searchKeys":["remap","fun MutableList.remap(remapper: Remapper)","com.grappenmaker.mappings.remap"]},{"name":"fun ProguardMappings.write(): List","description":"com.grappenmaker.mappings.write","location":"mappings-util/com.grappenmaker.mappings/write.html","searchKeys":["write","fun ProguardMappings.write(): List","com.grappenmaker.mappings.write"]},{"name":"fun ProguardMappings.writeLazy(): Sequence","description":"com.grappenmaker.mappings.writeLazy","location":"mappings-util/com.grappenmaker.mappings/write-lazy.html","searchKeys":["writeLazy","fun ProguardMappings.writeLazy(): Sequence","com.grappenmaker.mappings.writeLazy"]},{"name":"fun RecafMappings.write(): List","description":"com.grappenmaker.mappings.write","location":"mappings-util/com.grappenmaker.mappings/write.html","searchKeys":["write","fun RecafMappings.write(): List","com.grappenmaker.mappings.write"]},{"name":"fun RecafMappings.writeLazy(): Sequence","description":"com.grappenmaker.mappings.writeLazy","location":"mappings-util/com.grappenmaker.mappings/write-lazy.html","searchKeys":["writeLazy","fun RecafMappings.writeLazy(): Sequence","com.grappenmaker.mappings.writeLazy"]},{"name":"fun SRGMappings.asSimpleRemapper(): SimpleRemapper","description":"com.grappenmaker.mappings.asSimpleRemapper","location":"mappings-util/com.grappenmaker.mappings/as-simple-remapper.html","searchKeys":["asSimpleRemapper","fun SRGMappings.asSimpleRemapper(): SimpleRemapper","com.grappenmaker.mappings.asSimpleRemapper"]},{"name":"fun SRGMappings.write(): List","description":"com.grappenmaker.mappings.write","location":"mappings-util/com.grappenmaker.mappings/write.html","searchKeys":["write","fun SRGMappings.write(): List","com.grappenmaker.mappings.write"]},{"name":"fun SRGMappings.writeLazy(): Sequence","description":"com.grappenmaker.mappings.writeLazy","location":"mappings-util/com.grappenmaker.mappings/write-lazy.html","searchKeys":["writeLazy","fun SRGMappings.writeLazy(): Sequence","com.grappenmaker.mappings.writeLazy"]},{"name":"fun Sequence.join(): AccessWidener","description":"com.grappenmaker.mappings.join","location":"mappings-util/com.grappenmaker.mappings/join.html","searchKeys":["join","fun Sequence.join(): AccessWidener","com.grappenmaker.mappings.join"]},{"name":"fun Set.toMask(): AccessMask","description":"com.grappenmaker.mappings.toMask","location":"mappings-util/com.grappenmaker.mappings/to-mask.html","searchKeys":["toMask","fun Set.toMask(): AccessMask","com.grappenmaker.mappings.toMask"]},{"name":"fun TSRGMappings.write(): List","description":"com.grappenmaker.mappings.write","location":"mappings-util/com.grappenmaker.mappings/write.html","searchKeys":["write","fun TSRGMappings.write(): List","com.grappenmaker.mappings.write"]},{"name":"fun TSRGMappings.writeLazy(): Sequence","description":"com.grappenmaker.mappings.writeLazy","location":"mappings-util/com.grappenmaker.mappings/write-lazy.html","searchKeys":["writeLazy","fun TSRGMappings.writeLazy(): Sequence","com.grappenmaker.mappings.writeLazy"]},{"name":"fun TinyMappings.write(compact: Boolean = isV2): List","description":"com.grappenmaker.mappings.write","location":"mappings-util/com.grappenmaker.mappings/write.html","searchKeys":["write","fun TinyMappings.write(compact: Boolean = isV2): List","com.grappenmaker.mappings.write"]},{"name":"fun TinyMappings.writeLazy(compact: Boolean = isV2): Sequence","description":"com.grappenmaker.mappings.writeLazy","location":"mappings-util/com.grappenmaker.mappings/write-lazy.html","searchKeys":["writeLazy","fun TinyMappings.writeLazy(compact: Boolean = isV2): Sequence","com.grappenmaker.mappings.writeLazy"]},{"name":"fun Type.map(names: Map): Type","description":"com.grappenmaker.mappings.map","location":"mappings-util/com.grappenmaker.mappings/map.html","searchKeys":["map","fun Type.map(names: Map): Type","com.grappenmaker.mappings.map"]},{"name":"fun Type.map(remapper: Remapper): Type","description":"com.grappenmaker.mappings.map","location":"mappings-util/com.grappenmaker.mappings/map.html","searchKeys":["map","fun Type.map(remapper: Remapper): Type","com.grappenmaker.mappings.map"]},{"name":"fun compound(loaders: List): ClasspathLoader","description":"com.grappenmaker.mappings.ClasspathLoaders.compound","location":"mappings-util/com.grappenmaker.mappings/-classpath-loaders/compound.html","searchKeys":["compound","fun compound(loaders: List): ClasspathLoader","com.grappenmaker.mappings.ClasspathLoaders.compound"]},{"name":"fun compound(vararg loaders: ClasspathLoader): ClasspathLoader","description":"com.grappenmaker.mappings.ClasspathLoaders.compound","location":"mappings-util/com.grappenmaker.mappings/-classpath-loaders/compound.html","searchKeys":["compound","fun compound(vararg loaders: ClasspathLoader): ClasspathLoader","com.grappenmaker.mappings.ClasspathLoaders.compound"]},{"name":"fun findMappingsFormat(lines: List): MappingsFormat<*>","description":"com.grappenmaker.mappings.MappingsLoader.findMappingsFormat","location":"mappings-util/com.grappenmaker.mappings/-mappings-loader/find-mappings-format.html","searchKeys":["findMappingsFormat","fun findMappingsFormat(lines: List): MappingsFormat<*>","com.grappenmaker.mappings.MappingsLoader.findMappingsFormat"]},{"name":"fun fromJar(jar: JarFile): ClasspathLoader","description":"com.grappenmaker.mappings.ClasspathLoaders.fromJar","location":"mappings-util/com.grappenmaker.mappings/-classpath-loaders/from-jar.html","searchKeys":["fromJar","fun fromJar(jar: JarFile): ClasspathLoader","com.grappenmaker.mappings.ClasspathLoaders.fromJar"]},{"name":"fun fromJars(jars: List): ClasspathLoader","description":"com.grappenmaker.mappings.ClasspathLoaders.fromJars","location":"mappings-util/com.grappenmaker.mappings/-classpath-loaders/from-jars.html","searchKeys":["fromJars","fun fromJars(jars: List): ClasspathLoader","com.grappenmaker.mappings.ClasspathLoaders.fromJars"]},{"name":"fun fromLoader(loader: ClassLoader): ClasspathLoader","description":"com.grappenmaker.mappings.ClasspathLoaders.fromLoader","location":"mappings-util/com.grappenmaker.mappings/-classpath-loaders/from-loader.html","searchKeys":["fromLoader","fun fromLoader(loader: ClassLoader): ClasspathLoader","com.grappenmaker.mappings.ClasspathLoaders.fromLoader"]},{"name":"fun fromLookup(lookup: Map): ClasspathLoader","description":"com.grappenmaker.mappings.ClasspathLoaders.fromLookup","location":"mappings-util/com.grappenmaker.mappings/-classpath-loaders/from-lookup.html","searchKeys":["fromLookup","fun fromLookup(lookup: Map): ClasspathLoader","com.grappenmaker.mappings.ClasspathLoaders.fromLookup"]},{"name":"fun fromSystemLoader(): ClasspathLoader","description":"com.grappenmaker.mappings.ClasspathLoaders.fromSystemLoader","location":"mappings-util/com.grappenmaker.mappings/-classpath-loaders/from-system-loader.html","searchKeys":["fromSystemLoader","fun fromSystemLoader(): ClasspathLoader","com.grappenmaker.mappings.ClasspathLoaders.fromSystemLoader"]},{"name":"fun getOrNull(name: String): AccessType?","description":"com.grappenmaker.mappings.AccessType.Companion.getOrNull","location":"mappings-util/com.grappenmaker.mappings/-access-type/-companion/get-or-null.html","searchKeys":["getOrNull","fun getOrNull(name: String): AccessType?","com.grappenmaker.mappings.AccessType.Companion.getOrNull"]},{"name":"fun interface JarClassVisitor","description":"com.grappenmaker.mappings.JarClassVisitor","location":"mappings-util/com.grappenmaker.mappings/-jar-class-visitor/index.html","searchKeys":["JarClassVisitor","fun interface JarClassVisitor","com.grappenmaker.mappings.JarClassVisitor"]},{"name":"fun interface JarResourceVisitor","description":"com.grappenmaker.mappings.JarResourceVisitor","location":"mappings-util/com.grappenmaker.mappings/-jar-resource-visitor/index.html","searchKeys":["JarResourceVisitor","fun interface JarResourceVisitor","com.grappenmaker.mappings.JarResourceVisitor"]},{"name":"fun loadAccessWidener(lines: Iterator): AccessWidener","description":"com.grappenmaker.mappings.loadAccessWidener","location":"mappings-util/com.grappenmaker.mappings/load-access-widener.html","searchKeys":["loadAccessWidener","fun loadAccessWidener(lines: Iterator): AccessWidener","com.grappenmaker.mappings.loadAccessWidener"]},{"name":"fun loadAccessWidener(lines: List): AccessWidener","description":"com.grappenmaker.mappings.loadAccessWidener","location":"mappings-util/com.grappenmaker.mappings/load-access-widener.html","searchKeys":["loadAccessWidener","fun loadAccessWidener(lines: List): AccessWidener","com.grappenmaker.mappings.loadAccessWidener"]},{"name":"fun loadMappings(lines: List): Mappings","description":"com.grappenmaker.mappings.MappingsLoader.loadMappings","location":"mappings-util/com.grappenmaker.mappings/-mappings-loader/load-mappings.html","searchKeys":["loadMappings","fun loadMappings(lines: List): Mappings","com.grappenmaker.mappings.MappingsLoader.loadMappings"]},{"name":"fun mapDesc(desc: String, names: Map): String","description":"com.grappenmaker.mappings.mapDesc","location":"mappings-util/com.grappenmaker.mappings/map-desc.html","searchKeys":["mapDesc","fun mapDesc(desc: String, names: Map): String","com.grappenmaker.mappings.mapDesc"]},{"name":"fun mapMethodDesc(desc: String, names: Map): String","description":"com.grappenmaker.mappings.mapMethodDesc","location":"mappings-util/com.grappenmaker.mappings/map-method-desc.html","searchKeys":["mapMethodDesc","fun mapMethodDesc(desc: String, names: Map): String","com.grappenmaker.mappings.mapMethodDesc"]},{"name":"fun parse(bytes: ByteArray): CompactedMappings","description":"com.grappenmaker.mappings.CompactedMappingsFormat.parse","location":"mappings-util/com.grappenmaker.mappings/-compacted-mappings-format/parse.html","searchKeys":["parse","fun parse(bytes: ByteArray): CompactedMappings","com.grappenmaker.mappings.CompactedMappingsFormat.parse"]},{"name":"fun parse(input: InputStream): CompactedMappings","description":"com.grappenmaker.mappings.CompactedMappingsFormat.parse","location":"mappings-util/com.grappenmaker.mappings/-compacted-mappings-format/parse.html","searchKeys":["parse","fun parse(input: InputStream): CompactedMappings","com.grappenmaker.mappings.CompactedMappingsFormat.parse"]},{"name":"fun remapJar(mappings: Mappings, input: File, output: File, from: String = \"official\", to: String = \"named\", files: List, visitor: (parent: ClassVisitor) -> ClassVisitor = { it })","description":"com.grappenmaker.mappings.remapJar","location":"mappings-util/com.grappenmaker.mappings/remap-jar.html","searchKeys":["remapJar","fun remapJar(mappings: Mappings, input: File, output: File, from: String = \"official\", to: String = \"named\", files: List, visitor: (parent: ClassVisitor) -> ClassVisitor = { it })","com.grappenmaker.mappings.remapJar"]},{"name":"fun remapJar(mappings: Mappings, input: File, output: File, from: String = \"official\", to: String = \"named\", loader: ClasspathLoader = { null }, visitor: (parent: ClassVisitor) -> ClassVisitor? = null)","description":"com.grappenmaker.mappings.remapJar","location":"mappings-util/com.grappenmaker.mappings/remap-jar.html","searchKeys":["remapJar","fun remapJar(mappings: Mappings, input: File, output: File, from: String = \"official\", to: String = \"named\", loader: ClasspathLoader = { null }, visitor: (parent: ClassVisitor) -> ClassVisitor? = null)","com.grappenmaker.mappings.remapJar"]},{"name":"fun reverse(loader: ClasspathLoader = this.loader): MappingsRemapper","description":"com.grappenmaker.mappings.MappingsRemapper.reverse","location":"mappings-util/com.grappenmaker.mappings/-mappings-remapper/reverse.html","searchKeys":["reverse","fun reverse(loader: ClasspathLoader = this.loader): MappingsRemapper","com.grappenmaker.mappings.MappingsRemapper.reverse"]},{"name":"fun task(input: Path, output: Path, fromNamespace: String, toNamespace: String)","description":"com.grappenmaker.mappings.JarRemapper.task","location":"mappings-util/com.grappenmaker.mappings/-jar-remapper/task.html","searchKeys":["task","fun task(input: Path, output: Path, fromNamespace: String, toNamespace: String)","com.grappenmaker.mappings.JarRemapper.task"]},{"name":"fun toMask(): AccessMask","description":"com.grappenmaker.mappings.AccessType.toMask","location":"mappings-util/com.grappenmaker.mappings/-access-type/to-mask.html","searchKeys":["toMask","fun toMask(): AccessMask","com.grappenmaker.mappings.AccessType.toMask"]},{"name":"fun valueOf(value: String): AccessType","description":"com.grappenmaker.mappings.AccessType.valueOf","location":"mappings-util/com.grappenmaker.mappings/-access-type/value-of.html","searchKeys":["valueOf","fun valueOf(value: String): AccessType","com.grappenmaker.mappings.AccessType.valueOf"]},{"name":"fun values(): Array","description":"com.grappenmaker.mappings.AccessType.values","location":"mappings-util/com.grappenmaker.mappings/-access-type/values.html","searchKeys":["values","fun values(): Array","com.grappenmaker.mappings.AccessType.values"]},{"name":"fun visitClasses(visitor: JarClassVisitor)","description":"com.grappenmaker.mappings.JarRemapper.visitClasses","location":"mappings-util/com.grappenmaker.mappings/-jar-remapper/visit-classes.html","searchKeys":["visitClasses","fun visitClasses(visitor: JarClassVisitor)","com.grappenmaker.mappings.JarRemapper.visitClasses"]},{"name":"fun visitResources(visitor: JarResourceVisitor)","description":"com.grappenmaker.mappings.JarRemapper.visitResources","location":"mappings-util/com.grappenmaker.mappings/-jar-remapper/visit-resources.html","searchKeys":["visitResources","fun visitResources(visitor: JarResourceVisitor)","com.grappenmaker.mappings.JarRemapper.visitResources"]},{"name":"fun write(mappings: CompactedMappings): ByteArray","description":"com.grappenmaker.mappings.CompactedMappingsFormat.write","location":"mappings-util/com.grappenmaker.mappings/-compacted-mappings-format/write.html","searchKeys":["write","fun write(mappings: CompactedMappings): ByteArray","com.grappenmaker.mappings.CompactedMappingsFormat.write"]},{"name":"fun writeTo(mappings: CompactedMappings, stream: OutputStream)","description":"com.grappenmaker.mappings.CompactedMappingsFormat.writeTo","location":"mappings-util/com.grappenmaker.mappings/-compacted-mappings-format/write-to.html","searchKeys":["writeTo","fun writeTo(mappings: CompactedMappings, stream: OutputStream)","com.grappenmaker.mappings.CompactedMappingsFormat.writeTo"]},{"name":"inline fun MappedClass.filterMethods(predicate: (MappedMethod) -> Boolean): MappedClass","description":"com.grappenmaker.mappings.filterMethods","location":"mappings-util/com.grappenmaker.mappings/filter-methods.html","searchKeys":["filterMethods","inline fun MappedClass.filterMethods(predicate: (MappedMethod) -> Boolean): MappedClass","com.grappenmaker.mappings.filterMethods"]},{"name":"inline fun MappedClass.mapMethods(block: (MappedMethod) -> MappedMethod): MappedClass","description":"com.grappenmaker.mappings.mapMethods","location":"mappings-util/com.grappenmaker.mappings/map-methods.html","searchKeys":["mapMethods","inline fun MappedClass.mapMethods(block: (MappedMethod) -> MappedMethod): MappedClass","com.grappenmaker.mappings.mapMethods"]},{"name":"inline fun Mappings.filterClasses(predicate: (MappedClass) -> Boolean): Mappings","description":"com.grappenmaker.mappings.filterClasses","location":"mappings-util/com.grappenmaker.mappings/filter-classes.html","searchKeys":["filterClasses","inline fun Mappings.filterClasses(predicate: (MappedClass) -> Boolean): Mappings","com.grappenmaker.mappings.filterClasses"]},{"name":"inline fun Mappings.filterMethods(predicate: (owner: MappedClass, method: MappedMethod) -> Boolean): Mappings","description":"com.grappenmaker.mappings.filterMethods","location":"mappings-util/com.grappenmaker.mappings/filter-methods.html","searchKeys":["filterMethods","inline fun Mappings.filterMethods(predicate: (owner: MappedClass, method: MappedMethod) -> Boolean): Mappings","com.grappenmaker.mappings.filterMethods"]},{"name":"inline fun Mappings.filterNamespaces(allowDuplicates: Boolean = false, predicate: (String) -> Boolean): Mappings","description":"com.grappenmaker.mappings.filterNamespaces","location":"mappings-util/com.grappenmaker.mappings/filter-namespaces.html","searchKeys":["filterNamespaces","inline fun Mappings.filterNamespaces(allowDuplicates: Boolean = false, predicate: (String) -> Boolean): Mappings","com.grappenmaker.mappings.filterNamespaces"]},{"name":"inline fun Mappings.mapClasses(block: (MappedClass) -> MappedClass): Mappings","description":"com.grappenmaker.mappings.mapClasses","location":"mappings-util/com.grappenmaker.mappings/map-classes.html","searchKeys":["mapClasses","inline fun Mappings.mapClasses(block: (MappedClass) -> MappedClass): Mappings","com.grappenmaker.mappings.mapClasses"]},{"name":"inline fun Mappings.mapMethods(block: (owner: MappedClass, method: MappedMethod) -> MappedMethod): Mappings","description":"com.grappenmaker.mappings.mapMethods","location":"mappings-util/com.grappenmaker.mappings/map-methods.html","searchKeys":["mapMethods","inline fun Mappings.mapMethods(block: (owner: MappedClass, method: MappedMethod) -> MappedMethod): Mappings","com.grappenmaker.mappings.mapMethods"]},{"name":"inline suspend fun performRemap(builder: JarRemapper.() -> Unit)","description":"com.grappenmaker.mappings.performRemap","location":"mappings-util/com.grappenmaker.mappings/perform-remap.html","searchKeys":["performRemap","inline suspend fun performRemap(builder: JarRemapper.() -> Unit)","com.grappenmaker.mappings.performRemap"]},{"name":"interface InheritanceProvider","description":"com.grappenmaker.mappings.InheritanceProvider","location":"mappings-util/com.grappenmaker.mappings/-inheritance-provider/index.html","searchKeys":["InheritanceProvider","interface InheritanceProvider","com.grappenmaker.mappings.InheritanceProvider"]},{"name":"object ClasspathLoaders","description":"com.grappenmaker.mappings.ClasspathLoaders","location":"mappings-util/com.grappenmaker.mappings/-classpath-loaders/index.html","searchKeys":["ClasspathLoaders","object ClasspathLoaders","com.grappenmaker.mappings.ClasspathLoaders"]},{"name":"object Companion","description":"com.grappenmaker.mappings.AccessMask.Companion","location":"mappings-util/com.grappenmaker.mappings/-access-mask/-companion/index.html","searchKeys":["Companion","object Companion","com.grappenmaker.mappings.AccessMask.Companion"]},{"name":"object Companion","description":"com.grappenmaker.mappings.AccessType.Companion","location":"mappings-util/com.grappenmaker.mappings/-access-type/-companion/index.html","searchKeys":["Companion","object Companion","com.grappenmaker.mappings.AccessType.Companion"]},{"name":"object MappingsLoader","description":"com.grappenmaker.mappings.MappingsLoader","location":"mappings-util/com.grappenmaker.mappings/-mappings-loader/index.html","searchKeys":["MappingsLoader","object MappingsLoader","com.grappenmaker.mappings.MappingsLoader"]},{"name":"open class LambdaAwareMethodRemapper(parent: MethodVisitor, remapper: Remapper) : MethodRemapper","description":"com.grappenmaker.mappings.LambdaAwareMethodRemapper","location":"mappings-util/com.grappenmaker.mappings/-lambda-aware-method-remapper/index.html","searchKeys":["LambdaAwareMethodRemapper","open class LambdaAwareMethodRemapper(parent: MethodVisitor, remapper: Remapper) : MethodRemapper","com.grappenmaker.mappings.LambdaAwareMethodRemapper"]},{"name":"open class LambdaAwareRemapper(parent: ClassVisitor, remapper: Remapper) : ClassRemapper","description":"com.grappenmaker.mappings.LambdaAwareRemapper","location":"mappings-util/com.grappenmaker.mappings/-lambda-aware-remapper/index.html","searchKeys":["LambdaAwareRemapper","open class LambdaAwareRemapper(parent: ClassVisitor, remapper: Remapper) : ClassRemapper","com.grappenmaker.mappings.LambdaAwareRemapper"]},{"name":"open class LoaderSimpleRemapper(map: Map, inheritanceProvider: InheritanceProvider, memoizeInheritance: Boolean = true) : Remapper","description":"com.grappenmaker.mappings.LoaderSimpleRemapper","location":"mappings-util/com.grappenmaker.mappings/-loader-simple-remapper/index.html","searchKeys":["LoaderSimpleRemapper","open class LoaderSimpleRemapper(map: Map, inheritanceProvider: InheritanceProvider, memoizeInheritance: Boolean = true) : Remapper","com.grappenmaker.mappings.LoaderSimpleRemapper"]},{"name":"open fun getParents(internalName: String): Iterable","description":"com.grappenmaker.mappings.InheritanceProvider.getParents","location":"mappings-util/com.grappenmaker.mappings/-inheritance-provider/get-parents.html","searchKeys":["getParents","open fun getParents(internalName: String): Iterable","com.grappenmaker.mappings.InheritanceProvider.getParents"]},{"name":"open fun parse(lines: List): T","description":"com.grappenmaker.mappings.MappingsFormat.parse","location":"mappings-util/com.grappenmaker.mappings/-mappings-format/parse.html","searchKeys":["parse","open fun parse(lines: List): T","com.grappenmaker.mappings.MappingsFormat.parse"]},{"name":"open fun write(mappings: T): List","description":"com.grappenmaker.mappings.MappingsFormat.write","location":"mappings-util/com.grappenmaker.mappings/-mappings-format/write.html","searchKeys":["write","open fun write(mappings: T): List","com.grappenmaker.mappings.MappingsFormat.write"]},{"name":"open fun write(mappings: TinyMappings, compact: Boolean): Sequence","description":"com.grappenmaker.mappings.TinyMappingsWriter.write","location":"mappings-util/com.grappenmaker.mappings/-tiny-mappings-writer/write.html","searchKeys":["write","open fun write(mappings: TinyMappings, compact: Boolean): Sequence","com.grappenmaker.mappings.TinyMappingsWriter.write"]},{"name":"open operator override fun iterator(): Iterator","description":"com.grappenmaker.mappings.AccessMask.iterator","location":"mappings-util/com.grappenmaker.mappings/-access-mask/iterator.html","searchKeys":["iterator","open operator override fun iterator(): Iterator","com.grappenmaker.mappings.AccessMask.iterator"]},{"name":"open override fun TinyMappingsWriter.Context.write(): Sequence","description":"com.grappenmaker.mappings.TinyMappingsV1Format.write","location":"mappings-util/com.grappenmaker.mappings/-tiny-mappings-v1-format/write.html","searchKeys":["write","open override fun TinyMappingsWriter.Context.write(): Sequence","com.grappenmaker.mappings.TinyMappingsV1Format.write"]},{"name":"open override fun TinyMappingsWriter.Context.write(): Sequence","description":"com.grappenmaker.mappings.TinyMappingsV2Format.write","location":"mappings-util/com.grappenmaker.mappings/-tiny-mappings-v2-format/write.html","searchKeys":["write","open override fun TinyMappingsWriter.Context.write(): Sequence","com.grappenmaker.mappings.TinyMappingsV2Format.write"]},{"name":"open override fun detect(lines: List): Boolean","description":"com.grappenmaker.mappings.EnigmaMappingsFormat.detect","location":"mappings-util/com.grappenmaker.mappings/-enigma-mappings-format/detect.html","searchKeys":["detect","open override fun detect(lines: List): Boolean","com.grappenmaker.mappings.EnigmaMappingsFormat.detect"]},{"name":"open override fun detect(lines: List): Boolean","description":"com.grappenmaker.mappings.MappingsFormat.Undetectable.detect","location":"mappings-util/com.grappenmaker.mappings/-mappings-format/-undetectable/detect.html","searchKeys":["detect","open override fun detect(lines: List): Boolean","com.grappenmaker.mappings.MappingsFormat.Undetectable.detect"]},{"name":"open override fun detect(lines: List): Boolean","description":"com.grappenmaker.mappings.ProguardMappingsFormat.detect","location":"mappings-util/com.grappenmaker.mappings/-proguard-mappings-format/detect.html","searchKeys":["detect","open override fun detect(lines: List): Boolean","com.grappenmaker.mappings.ProguardMappingsFormat.detect"]},{"name":"open override fun detect(lines: List): Boolean","description":"com.grappenmaker.mappings.TinyMappingsV1Format.detect","location":"mappings-util/com.grappenmaker.mappings/-tiny-mappings-v1-format/detect.html","searchKeys":["detect","open override fun detect(lines: List): Boolean","com.grappenmaker.mappings.TinyMappingsV1Format.detect"]},{"name":"open override fun detect(lines: List): Boolean","description":"com.grappenmaker.mappings.TinyMappingsV2Format.detect","location":"mappings-util/com.grappenmaker.mappings/-tiny-mappings-v2-format/detect.html","searchKeys":["detect","open override fun detect(lines: List): Boolean","com.grappenmaker.mappings.TinyMappingsV2Format.detect"]},{"name":"open override fun getDeclaredMethods(internalName: String, filterInheritable: Boolean): Iterable","description":"com.grappenmaker.mappings.LoaderInheritanceProvider.getDeclaredMethods","location":"mappings-util/com.grappenmaker.mappings/-loader-inheritance-provider/get-declared-methods.html","searchKeys":["getDeclaredMethods","open override fun getDeclaredMethods(internalName: String, filterInheritable: Boolean): Iterable","com.grappenmaker.mappings.LoaderInheritanceProvider.getDeclaredMethods"]},{"name":"open override fun getDeclaredMethods(internalName: String, filterInheritable: Boolean): Iterable","description":"com.grappenmaker.mappings.MemoizedInheritanceProvider.getDeclaredMethods","location":"mappings-util/com.grappenmaker.mappings/-memoized-inheritance-provider/get-declared-methods.html","searchKeys":["getDeclaredMethods","open override fun getDeclaredMethods(internalName: String, filterInheritable: Boolean): Iterable","com.grappenmaker.mappings.MemoizedInheritanceProvider.getDeclaredMethods"]},{"name":"open override fun getDirectParents(internalName: String): Iterable","description":"com.grappenmaker.mappings.LoaderInheritanceProvider.getDirectParents","location":"mappings-util/com.grappenmaker.mappings/-loader-inheritance-provider/get-direct-parents.html","searchKeys":["getDirectParents","open override fun getDirectParents(internalName: String): Iterable","com.grappenmaker.mappings.LoaderInheritanceProvider.getDirectParents"]},{"name":"open override fun getDirectParents(internalName: String): Iterable","description":"com.grappenmaker.mappings.MemoizedInheritanceProvider.getDirectParents","location":"mappings-util/com.grappenmaker.mappings/-memoized-inheritance-provider/get-direct-parents.html","searchKeys":["getDirectParents","open override fun getDirectParents(internalName: String): Iterable","com.grappenmaker.mappings.MemoizedInheritanceProvider.getDirectParents"]},{"name":"open override fun map(internalName: String): String","description":"com.grappenmaker.mappings.LoaderSimpleRemapper.map","location":"mappings-util/com.grappenmaker.mappings/-loader-simple-remapper/map.html","searchKeys":["map","open override fun map(internalName: String): String","com.grappenmaker.mappings.LoaderSimpleRemapper.map"]},{"name":"open override fun mapFieldName(owner: String, name: String, desc: String?): String","description":"com.grappenmaker.mappings.LoaderSimpleRemapper.mapFieldName","location":"mappings-util/com.grappenmaker.mappings/-loader-simple-remapper/map-field-name.html","searchKeys":["mapFieldName","open override fun mapFieldName(owner: String, name: String, desc: String?): String","com.grappenmaker.mappings.LoaderSimpleRemapper.mapFieldName"]},{"name":"open override fun mapMethodName(owner: String, name: String, desc: String): String","description":"com.grappenmaker.mappings.LoaderSimpleRemapper.mapMethodName","location":"mappings-util/com.grappenmaker.mappings/-loader-simple-remapper/map-method-name.html","searchKeys":["mapMethodName","open override fun mapMethodName(owner: String, name: String, desc: String): String","com.grappenmaker.mappings.LoaderSimpleRemapper.mapMethodName"]},{"name":"open override fun mapRecordComponentName(owner: String, name: String, desc: String): String","description":"com.grappenmaker.mappings.LoaderSimpleRemapper.mapRecordComponentName","location":"mappings-util/com.grappenmaker.mappings/-loader-simple-remapper/map-record-component-name.html","searchKeys":["mapRecordComponentName","open override fun mapRecordComponentName(owner: String, name: String, desc: String): String","com.grappenmaker.mappings.LoaderSimpleRemapper.mapRecordComponentName"]},{"name":"open override fun mapSignature(signature: String?, typeSignature: Boolean): String?","description":"com.grappenmaker.mappings.LoaderSimpleRemapper.mapSignature","location":"mappings-util/com.grappenmaker.mappings/-loader-simple-remapper/map-signature.html","searchKeys":["mapSignature","open override fun mapSignature(signature: String?, typeSignature: Boolean): String?","com.grappenmaker.mappings.LoaderSimpleRemapper.mapSignature"]},{"name":"open override fun parse(lines: Iterator): CSRGMappings","description":"com.grappenmaker.mappings.CSRGMappingsFormat.parse","location":"mappings-util/com.grappenmaker.mappings/-c-s-r-g-mappings-format/parse.html","searchKeys":["parse","open override fun parse(lines: Iterator): CSRGMappings","com.grappenmaker.mappings.CSRGMappingsFormat.parse"]},{"name":"open override fun parse(lines: Iterator): EnigmaMappings","description":"com.grappenmaker.mappings.EnigmaMappingsFormat.parse","location":"mappings-util/com.grappenmaker.mappings/-enigma-mappings-format/parse.html","searchKeys":["parse","open override fun parse(lines: Iterator): EnigmaMappings","com.grappenmaker.mappings.EnigmaMappingsFormat.parse"]},{"name":"open override fun parse(lines: Iterator): ProguardMappings","description":"com.grappenmaker.mappings.ProguardMappingsFormat.parse","location":"mappings-util/com.grappenmaker.mappings/-proguard-mappings-format/parse.html","searchKeys":["parse","open override fun parse(lines: Iterator): ProguardMappings","com.grappenmaker.mappings.ProguardMappingsFormat.parse"]},{"name":"open override fun parse(lines: Iterator): RecafMappings","description":"com.grappenmaker.mappings.RecafMappingsFormat.parse","location":"mappings-util/com.grappenmaker.mappings/-recaf-mappings-format/parse.html","searchKeys":["parse","open override fun parse(lines: Iterator): RecafMappings","com.grappenmaker.mappings.RecafMappingsFormat.parse"]},{"name":"open override fun parse(lines: Iterator): TinyMappings","description":"com.grappenmaker.mappings.TinyMappingsV1Format.parse","location":"mappings-util/com.grappenmaker.mappings/-tiny-mappings-v1-format/parse.html","searchKeys":["parse","open override fun parse(lines: Iterator): TinyMappings","com.grappenmaker.mappings.TinyMappingsV1Format.parse"]},{"name":"open override fun parse(lines: Iterator): TinyMappings","description":"com.grappenmaker.mappings.TinyMappingsV2Format.parse","location":"mappings-util/com.grappenmaker.mappings/-tiny-mappings-v2-format/parse.html","searchKeys":["parse","open override fun parse(lines: Iterator): TinyMappings","com.grappenmaker.mappings.TinyMappingsV2Format.parse"]},{"name":"open override fun visit(version: Int, access: Int, name: String, signature: String?, superName: String?, interfaces: Array?)","description":"com.grappenmaker.mappings.AccessWidenerVisitor.visit","location":"mappings-util/com.grappenmaker.mappings/-access-widener-visitor/visit.html","searchKeys":["visit","open override fun visit(version: Int, access: Int, name: String, signature: String?, superName: String?, interfaces: Array?)","com.grappenmaker.mappings.AccessWidenerVisitor.visit"]},{"name":"open override fun visitField(access: Int, name: String, descriptor: String, signature: String?, value: Any?): FieldVisitor?","description":"com.grappenmaker.mappings.AccessWidenerVisitor.visitField","location":"mappings-util/com.grappenmaker.mappings/-access-widener-visitor/visit-field.html","searchKeys":["visitField","open override fun visitField(access: Int, name: String, descriptor: String, signature: String?, value: Any?): FieldVisitor?","com.grappenmaker.mappings.AccessWidenerVisitor.visitField"]},{"name":"open override fun visitInnerClass(name: String, outerName: String?, innerName: String?, access: Int)","description":"com.grappenmaker.mappings.AccessWidenerVisitor.visitInnerClass","location":"mappings-util/com.grappenmaker.mappings/-access-widener-visitor/visit-inner-class.html","searchKeys":["visitInnerClass","open override fun visitInnerClass(name: String, outerName: String?, innerName: String?, access: Int)","com.grappenmaker.mappings.AccessWidenerVisitor.visitInnerClass"]},{"name":"open override fun visitInvokeDynamicInsn(name: String, descriptor: String, handle: Handle, vararg args: Any)","description":"com.grappenmaker.mappings.LambdaAwareMethodRemapper.visitInvokeDynamicInsn","location":"mappings-util/com.grappenmaker.mappings/-lambda-aware-method-remapper/visit-invoke-dynamic-insn.html","searchKeys":["visitInvokeDynamicInsn","open override fun visitInvokeDynamicInsn(name: String, descriptor: String, handle: Handle, vararg args: Any)","com.grappenmaker.mappings.LambdaAwareMethodRemapper.visitInvokeDynamicInsn"]},{"name":"open override fun visitMethod(access: Int, name: String, descriptor: String, signature: String?, exceptions: Array?): MethodVisitor","description":"com.grappenmaker.mappings.AccessWidenerVisitor.visitMethod","location":"mappings-util/com.grappenmaker.mappings/-access-widener-visitor/visit-method.html","searchKeys":["visitMethod","open override fun visitMethod(access: Int, name: String, descriptor: String, signature: String?, exceptions: Array?): MethodVisitor","com.grappenmaker.mappings.AccessWidenerVisitor.visitMethod"]},{"name":"open override fun visitPermittedSubclass(permittedSubclass: String?)","description":"com.grappenmaker.mappings.AccessWidenerVisitor.visitPermittedSubclass","location":"mappings-util/com.grappenmaker.mappings/-access-widener-visitor/visit-permitted-subclass.html","searchKeys":["visitPermittedSubclass","open override fun visitPermittedSubclass(permittedSubclass: String?)","com.grappenmaker.mappings.AccessWidenerVisitor.visitPermittedSubclass"]},{"name":"open override fun writeLazy(mappings: CSRGMappings): Sequence","description":"com.grappenmaker.mappings.CSRGMappingsFormat.writeLazy","location":"mappings-util/com.grappenmaker.mappings/-c-s-r-g-mappings-format/write-lazy.html","searchKeys":["writeLazy","open override fun writeLazy(mappings: CSRGMappings): Sequence","com.grappenmaker.mappings.CSRGMappingsFormat.writeLazy"]},{"name":"open override fun writeLazy(mappings: EnigmaMappings): Sequence","description":"com.grappenmaker.mappings.EnigmaMappingsFormat.writeLazy","location":"mappings-util/com.grappenmaker.mappings/-enigma-mappings-format/write-lazy.html","searchKeys":["writeLazy","open override fun writeLazy(mappings: EnigmaMappings): Sequence","com.grappenmaker.mappings.EnigmaMappingsFormat.writeLazy"]},{"name":"open override fun writeLazy(mappings: ProguardMappings): Sequence","description":"com.grappenmaker.mappings.ProguardMappingsFormat.writeLazy","location":"mappings-util/com.grappenmaker.mappings/-proguard-mappings-format/write-lazy.html","searchKeys":["writeLazy","open override fun writeLazy(mappings: ProguardMappings): Sequence","com.grappenmaker.mappings.ProguardMappingsFormat.writeLazy"]},{"name":"open override fun writeLazy(mappings: RecafMappings): Sequence","description":"com.grappenmaker.mappings.RecafMappingsFormat.writeLazy","location":"mappings-util/com.grappenmaker.mappings/-recaf-mappings-format/write-lazy.html","searchKeys":["writeLazy","open override fun writeLazy(mappings: RecafMappings): Sequence","com.grappenmaker.mappings.RecafMappingsFormat.writeLazy"]},{"name":"open override fun writeLazy(mappings: TinyMappings): Sequence","description":"com.grappenmaker.mappings.TinyMappingsWriter.writeLazy","location":"mappings-util/com.grappenmaker.mappings/-tiny-mappings-writer/write-lazy.html","searchKeys":["writeLazy","open override fun writeLazy(mappings: TinyMappings): Sequence","com.grappenmaker.mappings.TinyMappingsWriter.writeLazy"]},{"name":"open override val classes: List","description":"com.grappenmaker.mappings.CSRGMappings.classes","location":"mappings-util/com.grappenmaker.mappings/-c-s-r-g-mappings/classes.html","searchKeys":["classes","open override val classes: List","com.grappenmaker.mappings.CSRGMappings.classes"]},{"name":"open override val classes: List","description":"com.grappenmaker.mappings.CompactedMappings.classes","location":"mappings-util/com.grappenmaker.mappings/-compacted-mappings/classes.html","searchKeys":["classes","open override val classes: List","com.grappenmaker.mappings.CompactedMappings.classes"]},{"name":"open override val classes: List","description":"com.grappenmaker.mappings.EmptyMappings.classes","location":"mappings-util/com.grappenmaker.mappings/-empty-mappings/classes.html","searchKeys":["classes","open override val classes: List","com.grappenmaker.mappings.EmptyMappings.classes"]},{"name":"open override val classes: List","description":"com.grappenmaker.mappings.EnigmaMappings.classes","location":"mappings-util/com.grappenmaker.mappings/-enigma-mappings/classes.html","searchKeys":["classes","open override val classes: List","com.grappenmaker.mappings.EnigmaMappings.classes"]},{"name":"open override val classes: List","description":"com.grappenmaker.mappings.GenericMappings.classes","location":"mappings-util/com.grappenmaker.mappings/-generic-mappings/classes.html","searchKeys":["classes","open override val classes: List","com.grappenmaker.mappings.GenericMappings.classes"]},{"name":"open override val classes: List","description":"com.grappenmaker.mappings.ProguardMappings.classes","location":"mappings-util/com.grappenmaker.mappings/-proguard-mappings/classes.html","searchKeys":["classes","open override val classes: List","com.grappenmaker.mappings.ProguardMappings.classes"]},{"name":"open override val classes: List","description":"com.grappenmaker.mappings.RecafMappings.classes","location":"mappings-util/com.grappenmaker.mappings/-recaf-mappings/classes.html","searchKeys":["classes","open override val classes: List","com.grappenmaker.mappings.RecafMappings.classes"]},{"name":"open override val classes: List","description":"com.grappenmaker.mappings.SRGMappings.classes","location":"mappings-util/com.grappenmaker.mappings/-s-r-g-mappings/classes.html","searchKeys":["classes","open override val classes: List","com.grappenmaker.mappings.SRGMappings.classes"]},{"name":"open override val classes: List","description":"com.grappenmaker.mappings.TSRGMappings.classes","location":"mappings-util/com.grappenmaker.mappings/-t-s-r-g-mappings/classes.html","searchKeys":["classes","open override val classes: List","com.grappenmaker.mappings.TSRGMappings.classes"]},{"name":"open override val classes: List","description":"com.grappenmaker.mappings.TinyMappings.classes","location":"mappings-util/com.grappenmaker.mappings/-tiny-mappings/classes.html","searchKeys":["classes","open override val classes: List","com.grappenmaker.mappings.TinyMappings.classes"]},{"name":"open override val comments: List","description":"com.grappenmaker.mappings.MappedClass.comments","location":"mappings-util/com.grappenmaker.mappings/-mapped-class/comments.html","searchKeys":["comments","open override val comments: List","com.grappenmaker.mappings.MappedClass.comments"]},{"name":"open override val comments: List","description":"com.grappenmaker.mappings.MappedField.comments","location":"mappings-util/com.grappenmaker.mappings/-mapped-field/comments.html","searchKeys":["comments","open override val comments: List","com.grappenmaker.mappings.MappedField.comments"]},{"name":"open override val comments: List","description":"com.grappenmaker.mappings.MappedMethod.comments","location":"mappings-util/com.grappenmaker.mappings/-mapped-method/comments.html","searchKeys":["comments","open override val comments: List","com.grappenmaker.mappings.MappedMethod.comments"]},{"name":"open override val comments: List","description":"com.grappenmaker.mappings.ProguardMappings.comments","location":"mappings-util/com.grappenmaker.mappings/-proguard-mappings/comments.html","searchKeys":["comments","open override val comments: List","com.grappenmaker.mappings.ProguardMappings.comments"]},{"name":"open override val names: List","description":"com.grappenmaker.mappings.MappedClass.names","location":"mappings-util/com.grappenmaker.mappings/-mapped-class/names.html","searchKeys":["names","open override val names: List","com.grappenmaker.mappings.MappedClass.names"]},{"name":"open override val names: List","description":"com.grappenmaker.mappings.MappedField.names","location":"mappings-util/com.grappenmaker.mappings/-mapped-field/names.html","searchKeys":["names","open override val names: List","com.grappenmaker.mappings.MappedField.names"]},{"name":"open override val names: List","description":"com.grappenmaker.mappings.MappedLocal.names","location":"mappings-util/com.grappenmaker.mappings/-mapped-local/names.html","searchKeys":["names","open override val names: List","com.grappenmaker.mappings.MappedLocal.names"]},{"name":"open override val names: List","description":"com.grappenmaker.mappings.MappedMethod.names","location":"mappings-util/com.grappenmaker.mappings/-mapped-method/names.html","searchKeys":["names","open override val names: List","com.grappenmaker.mappings.MappedMethod.names"]},{"name":"open override val names: List","description":"com.grappenmaker.mappings.MappedParameter.names","location":"mappings-util/com.grappenmaker.mappings/-mapped-parameter/names.html","searchKeys":["names","open override val names: List","com.grappenmaker.mappings.MappedParameter.names"]},{"name":"open override val namespaces: List","description":"com.grappenmaker.mappings.CSRGMappings.namespaces","location":"mappings-util/com.grappenmaker.mappings/-c-s-r-g-mappings/namespaces.html","searchKeys":["namespaces","open override val namespaces: List","com.grappenmaker.mappings.CSRGMappings.namespaces"]},{"name":"open override val namespaces: List","description":"com.grappenmaker.mappings.CompactedMappings.namespaces","location":"mappings-util/com.grappenmaker.mappings/-compacted-mappings/namespaces.html","searchKeys":["namespaces","open override val namespaces: List","com.grappenmaker.mappings.CompactedMappings.namespaces"]},{"name":"open override val namespaces: List","description":"com.grappenmaker.mappings.EmptyMappings.namespaces","location":"mappings-util/com.grappenmaker.mappings/-empty-mappings/namespaces.html","searchKeys":["namespaces","open override val namespaces: List","com.grappenmaker.mappings.EmptyMappings.namespaces"]},{"name":"open override val namespaces: List","description":"com.grappenmaker.mappings.EnigmaMappings.namespaces","location":"mappings-util/com.grappenmaker.mappings/-enigma-mappings/namespaces.html","searchKeys":["namespaces","open override val namespaces: List","com.grappenmaker.mappings.EnigmaMappings.namespaces"]},{"name":"open override val namespaces: List","description":"com.grappenmaker.mappings.GenericMappings.namespaces","location":"mappings-util/com.grappenmaker.mappings/-generic-mappings/namespaces.html","searchKeys":["namespaces","open override val namespaces: List","com.grappenmaker.mappings.GenericMappings.namespaces"]},{"name":"open override val namespaces: List","description":"com.grappenmaker.mappings.ProguardMappings.namespaces","location":"mappings-util/com.grappenmaker.mappings/-proguard-mappings/namespaces.html","searchKeys":["namespaces","open override val namespaces: List","com.grappenmaker.mappings.ProguardMappings.namespaces"]},{"name":"open override val namespaces: List","description":"com.grappenmaker.mappings.RecafMappings.namespaces","location":"mappings-util/com.grappenmaker.mappings/-recaf-mappings/namespaces.html","searchKeys":["namespaces","open override val namespaces: List","com.grappenmaker.mappings.RecafMappings.namespaces"]},{"name":"open override val namespaces: List","description":"com.grappenmaker.mappings.SRGMappings.namespaces","location":"mappings-util/com.grappenmaker.mappings/-s-r-g-mappings/namespaces.html","searchKeys":["namespaces","open override val namespaces: List","com.grappenmaker.mappings.SRGMappings.namespaces"]},{"name":"open override val namespaces: List","description":"com.grappenmaker.mappings.TSRGMappings.namespaces","location":"mappings-util/com.grappenmaker.mappings/-t-s-r-g-mappings/namespaces.html","searchKeys":["namespaces","open override val namespaces: List","com.grappenmaker.mappings.TSRGMappings.namespaces"]},{"name":"open override val namespaces: List","description":"com.grappenmaker.mappings.TinyMappings.namespaces","location":"mappings-util/com.grappenmaker.mappings/-tiny-mappings/namespaces.html","searchKeys":["namespaces","open override val namespaces: List","com.grappenmaker.mappings.TinyMappings.namespaces"]},{"name":"operator fun AccessWidener.plus(other: AccessWidener): AccessWidener","description":"com.grappenmaker.mappings.plus","location":"mappings-util/com.grappenmaker.mappings/plus.html","searchKeys":["plus","operator fun AccessWidener.plus(other: AccessWidener): AccessWidener","com.grappenmaker.mappings.plus"]},{"name":"operator fun contains(type: AccessType): Boolean","description":"com.grappenmaker.mappings.AccessMask.contains","location":"mappings-util/com.grappenmaker.mappings/-access-mask/contains.html","searchKeys":["contains","operator fun contains(type: AccessType): Boolean","com.grappenmaker.mappings.AccessMask.contains"]},{"name":"operator fun invoke(name: String): AccessType","description":"com.grappenmaker.mappings.AccessType.Companion.invoke","location":"mappings-util/com.grappenmaker.mappings/-access-type/-companion/invoke.html","searchKeys":["invoke","operator fun invoke(name: String): AccessType","com.grappenmaker.mappings.AccessType.Companion.invoke"]},{"name":"operator fun minus(other: AccessMask?): AccessMask","description":"com.grappenmaker.mappings.AccessMask.minus","location":"mappings-util/com.grappenmaker.mappings/-access-mask/minus.html","searchKeys":["minus","operator fun minus(other: AccessMask?): AccessMask","com.grappenmaker.mappings.AccessMask.minus"]},{"name":"operator fun minus(other: AccessType?): AccessMask","description":"com.grappenmaker.mappings.AccessMask.minus","location":"mappings-util/com.grappenmaker.mappings/-access-mask/minus.html","searchKeys":["minus","operator fun minus(other: AccessType?): AccessMask","com.grappenmaker.mappings.AccessMask.minus"]},{"name":"operator fun plus(other: AccessMask?): AccessMask","description":"com.grappenmaker.mappings.AccessMask.plus","location":"mappings-util/com.grappenmaker.mappings/-access-mask/plus.html","searchKeys":["plus","operator fun plus(other: AccessMask?): AccessMask","com.grappenmaker.mappings.AccessMask.plus"]},{"name":"operator fun plus(other: AccessType?): AccessMask","description":"com.grappenmaker.mappings.AccessMask.plus","location":"mappings-util/com.grappenmaker.mappings/-access-mask/plus.html","searchKeys":["plus","operator fun plus(other: AccessType?): AccessMask","com.grappenmaker.mappings.AccessMask.plus"]},{"name":"sealed interface Commented","description":"com.grappenmaker.mappings.Commented","location":"mappings-util/com.grappenmaker.mappings/-commented/index.html","searchKeys":["Commented","sealed interface Commented","com.grappenmaker.mappings.Commented"]},{"name":"sealed interface Mapped","description":"com.grappenmaker.mappings.Mapped","location":"mappings-util/com.grappenmaker.mappings/-mapped/index.html","searchKeys":["Mapped","sealed interface Mapped","com.grappenmaker.mappings.Mapped"]},{"name":"sealed interface Mappings","description":"com.grappenmaker.mappings.Mappings","location":"mappings-util/com.grappenmaker.mappings/-mappings/index.html","searchKeys":["Mappings","sealed interface Mappings","com.grappenmaker.mappings.Mappings"]},{"name":"sealed interface MappingsFormat","description":"com.grappenmaker.mappings.MappingsFormat","location":"mappings-util/com.grappenmaker.mappings/-mappings-format/index.html","searchKeys":["MappingsFormat","sealed interface MappingsFormat","com.grappenmaker.mappings.MappingsFormat"]},{"name":"sealed interface TinyMappingsWriter : MappingsFormat ","description":"com.grappenmaker.mappings.TinyMappingsWriter","location":"mappings-util/com.grappenmaker.mappings/-tiny-mappings-writer/index.html","searchKeys":["TinyMappingsWriter","sealed interface TinyMappingsWriter : MappingsFormat ","com.grappenmaker.mappings.TinyMappingsWriter"]},{"name":"sealed interface Undetectable : MappingsFormat ","description":"com.grappenmaker.mappings.MappingsFormat.Undetectable","location":"mappings-util/com.grappenmaker.mappings/-mappings-format/-undetectable/index.html","searchKeys":["Undetectable","sealed interface Undetectable : MappingsFormat ","com.grappenmaker.mappings.MappingsFormat.Undetectable"]},{"name":"suspend fun perform()","description":"com.grappenmaker.mappings.JarRemapper.perform","location":"mappings-util/com.grappenmaker.mappings/-jar-remapper/perform.html","searchKeys":["perform","suspend fun perform()","com.grappenmaker.mappings.JarRemapper.perform"]},{"name":"typealias ClasspathLoader = (name: String) -> ByteArray?","description":"com.grappenmaker.mappings.ClasspathLoader","location":"mappings-util/com.grappenmaker.mappings/-classpath-loader/index.html","searchKeys":["ClasspathLoader","typealias ClasspathLoader = (name: String) -> ByteArray?","com.grappenmaker.mappings.ClasspathLoader"]},{"name":"val EMPTY: AccessMask","description":"com.grappenmaker.mappings.AccessMask.Companion.EMPTY","location":"mappings-util/com.grappenmaker.mappings/-access-mask/-companion/-e-m-p-t-y.html","searchKeys":["EMPTY","val EMPTY: AccessMask","com.grappenmaker.mappings.AccessMask.Companion.EMPTY"]},{"name":"val Type.isPrimitive: Boolean","description":"com.grappenmaker.mappings.isPrimitive","location":"mappings-util/com.grappenmaker.mappings/is-primitive.html","searchKeys":["isPrimitive","val Type.isPrimitive: Boolean","com.grappenmaker.mappings.isPrimitive"]},{"name":"val allMappingsFormats: List>","description":"com.grappenmaker.mappings.MappingsLoader.allMappingsFormats","location":"mappings-util/com.grappenmaker.mappings/-mappings-loader/all-mappings-formats.html","searchKeys":["allMappingsFormats","val allMappingsFormats: List>","com.grappenmaker.mappings.MappingsLoader.allMappingsFormats"]},{"name":"val classes: Map","description":"com.grappenmaker.mappings.AccessWidener.classes","location":"mappings-util/com.grappenmaker.mappings/-access-widener/classes.html","searchKeys":["classes","val classes: Map","com.grappenmaker.mappings.AccessWidener.classes"]},{"name":"val classes: Map","description":"com.grappenmaker.mappings.AccessWidenerTree.classes","location":"mappings-util/com.grappenmaker.mappings/-access-widener-tree/classes.html","searchKeys":["classes","val classes: Map","com.grappenmaker.mappings.AccessWidenerTree.classes"]},{"name":"val compact: Boolean","description":"com.grappenmaker.mappings.TinyMappingsWriter.Context.compact","location":"mappings-util/com.grappenmaker.mappings/-tiny-mappings-writer/-context/compact.html","searchKeys":["compact","val compact: Boolean","com.grappenmaker.mappings.TinyMappingsWriter.Context.compact"]},{"name":"val desc: String","description":"com.grappenmaker.mappings.AccessedMember.desc","location":"mappings-util/com.grappenmaker.mappings/-accessed-member/desc.html","searchKeys":["desc","val desc: String","com.grappenmaker.mappings.AccessedMember.desc"]},{"name":"val desc: String","description":"com.grappenmaker.mappings.MappedMethod.desc","location":"mappings-util/com.grappenmaker.mappings/-mapped-method/desc.html","searchKeys":["desc","val desc: String","com.grappenmaker.mappings.MappedMethod.desc"]},{"name":"val desc: String","description":"com.grappenmaker.mappings.MemberIdentifier.desc","location":"mappings-util/com.grappenmaker.mappings/-member-identifier/desc.html","searchKeys":["desc","val desc: String","com.grappenmaker.mappings.MemberIdentifier.desc"]},{"name":"val desc: String?","description":"com.grappenmaker.mappings.MappedField.desc","location":"mappings-util/com.grappenmaker.mappings/-mapped-field/desc.html","searchKeys":["desc","val desc: String?","com.grappenmaker.mappings.MappedField.desc"]},{"name":"val entries: EnumEntries","description":"com.grappenmaker.mappings.AccessType.entries","location":"mappings-util/com.grappenmaker.mappings/-access-type/entries.html","searchKeys":["entries","val entries: EnumEntries","com.grappenmaker.mappings.AccessType.entries"]},{"name":"val fields: List","description":"com.grappenmaker.mappings.MappedClass.fields","location":"mappings-util/com.grappenmaker.mappings/-mapped-class/fields.html","searchKeys":["fields","val fields: List","com.grappenmaker.mappings.MappedClass.fields"]},{"name":"val fields: Map","description":"com.grappenmaker.mappings.AccessWidener.fields","location":"mappings-util/com.grappenmaker.mappings/-access-widener/fields.html","searchKeys":["fields","val fields: Map","com.grappenmaker.mappings.AccessWidener.fields"]},{"name":"val fields: Map","description":"com.grappenmaker.mappings.AccessedClass.fields","location":"mappings-util/com.grappenmaker.mappings/-accessed-class/fields.html","searchKeys":["fields","val fields: Map","com.grappenmaker.mappings.AccessedClass.fields"]},{"name":"val from: String","description":"com.grappenmaker.mappings.MappingsRemapper.from","location":"mappings-util/com.grappenmaker.mappings/-mappings-remapper/from.html","searchKeys":["from","val from: String","com.grappenmaker.mappings.MappingsRemapper.from"]},{"name":"val fromNamespace: String","description":"com.grappenmaker.mappings.JarRemapTask.fromNamespace","location":"mappings-util/com.grappenmaker.mappings/-jar-remap-task/from-namespace.html","searchKeys":["fromNamespace","val fromNamespace: String","com.grappenmaker.mappings.JarRemapTask.fromNamespace"]},{"name":"val index: Int","description":"com.grappenmaker.mappings.MappedLocal.index","location":"mappings-util/com.grappenmaker.mappings/-mapped-local/--index--.html","searchKeys":["index","val index: Int","com.grappenmaker.mappings.MappedLocal.index"]},{"name":"val index: Int","description":"com.grappenmaker.mappings.MappedParameter.index","location":"mappings-util/com.grappenmaker.mappings/-mapped-parameter/--index--.html","searchKeys":["index","val index: Int","com.grappenmaker.mappings.MappedParameter.index"]},{"name":"val input: Path","description":"com.grappenmaker.mappings.JarRemapTask.input","location":"mappings-util/com.grappenmaker.mappings/-jar-remap-task/input.html","searchKeys":["input","val input: Path","com.grappenmaker.mappings.JarRemapTask.input"]},{"name":"val isExtended: Boolean","description":"com.grappenmaker.mappings.SRGMappings.isExtended","location":"mappings-util/com.grappenmaker.mappings/-s-r-g-mappings/is-extended.html","searchKeys":["isExtended","val isExtended: Boolean","com.grappenmaker.mappings.SRGMappings.isExtended"]},{"name":"val isV2: Boolean","description":"com.grappenmaker.mappings.TSRGMappings.isV2","location":"mappings-util/com.grappenmaker.mappings/-t-s-r-g-mappings/is-v2.html","searchKeys":["isV2","val isV2: Boolean","com.grappenmaker.mappings.TSRGMappings.isV2"]},{"name":"val isV2: Boolean","description":"com.grappenmaker.mappings.TinyMappings.isV2","location":"mappings-util/com.grappenmaker.mappings/-tiny-mappings/is-v2.html","searchKeys":["isV2","val isV2: Boolean","com.grappenmaker.mappings.TinyMappings.isV2"]},{"name":"val lvtIndex: Int","description":"com.grappenmaker.mappings.MappedLocal.lvtIndex","location":"mappings-util/com.grappenmaker.mappings/-mapped-local/lvt-index.html","searchKeys":["lvtIndex","val lvtIndex: Int","com.grappenmaker.mappings.MappedLocal.lvtIndex"]},{"name":"val mappings: Mappings","description":"com.grappenmaker.mappings.MappingsRemapper.mappings","location":"mappings-util/com.grappenmaker.mappings/-mappings-remapper/mappings.html","searchKeys":["mappings","val mappings: Mappings","com.grappenmaker.mappings.MappingsRemapper.mappings"]},{"name":"val mappings: TinyMappings","description":"com.grappenmaker.mappings.TinyMappingsWriter.Context.mappings","location":"mappings-util/com.grappenmaker.mappings/-tiny-mappings-writer/-context/mappings.html","searchKeys":["mappings","val mappings: TinyMappings","com.grappenmaker.mappings.TinyMappingsWriter.Context.mappings"]},{"name":"val mask: AccessMask","description":"com.grappenmaker.mappings.AccessedClass.mask","location":"mappings-util/com.grappenmaker.mappings/-accessed-class/mask.html","searchKeys":["mask","val mask: AccessMask","com.grappenmaker.mappings.AccessedClass.mask"]},{"name":"val mask: Int","description":"com.grappenmaker.mappings.AccessType.mask","location":"mappings-util/com.grappenmaker.mappings/-access-type/mask.html","searchKeys":["mask","val mask: Int","com.grappenmaker.mappings.AccessType.mask"]},{"name":"val methods: List","description":"com.grappenmaker.mappings.MappedClass.methods","location":"mappings-util/com.grappenmaker.mappings/-mapped-class/methods.html","searchKeys":["methods","val methods: List","com.grappenmaker.mappings.MappedClass.methods"]},{"name":"val methods: Map","description":"com.grappenmaker.mappings.AccessWidener.methods","location":"mappings-util/com.grappenmaker.mappings/-access-widener/methods.html","searchKeys":["methods","val methods: Map","com.grappenmaker.mappings.AccessWidener.methods"]},{"name":"val methods: Map","description":"com.grappenmaker.mappings.AccessedClass.methods","location":"mappings-util/com.grappenmaker.mappings/-accessed-class/methods.html","searchKeys":["methods","val methods: Map","com.grappenmaker.mappings.AccessedClass.methods"]},{"name":"val name: String","description":"com.grappenmaker.mappings.AccessedMember.name","location":"mappings-util/com.grappenmaker.mappings/-accessed-member/name.html","searchKeys":["name","val name: String","com.grappenmaker.mappings.AccessedMember.name"]},{"name":"val name: String","description":"com.grappenmaker.mappings.MemberIdentifier.name","location":"mappings-util/com.grappenmaker.mappings/-member-identifier/name.html","searchKeys":["name","val name: String","com.grappenmaker.mappings.MemberIdentifier.name"]},{"name":"val namespace: String","description":"com.grappenmaker.mappings.AccessWidener.namespace","location":"mappings-util/com.grappenmaker.mappings/-access-widener/namespace.html","searchKeys":["namespace","val namespace: String","com.grappenmaker.mappings.AccessWidener.namespace"]},{"name":"val namespace: String","description":"com.grappenmaker.mappings.AccessWidenerTree.namespace","location":"mappings-util/com.grappenmaker.mappings/-access-widener-tree/namespace.html","searchKeys":["namespace","val namespace: String","com.grappenmaker.mappings.AccessWidenerTree.namespace"]},{"name":"val output: Path","description":"com.grappenmaker.mappings.JarRemapTask.output","location":"mappings-util/com.grappenmaker.mappings/-jar-remap-task/output.html","searchKeys":["output","val output: Path","com.grappenmaker.mappings.JarRemapTask.output"]},{"name":"val owner: String","description":"com.grappenmaker.mappings.AccessedMember.owner","location":"mappings-util/com.grappenmaker.mappings/-accessed-member/owner.html","searchKeys":["owner","val owner: String","com.grappenmaker.mappings.AccessedMember.owner"]},{"name":"val parameters: List","description":"com.grappenmaker.mappings.MappedMethod.parameters","location":"mappings-util/com.grappenmaker.mappings/-mapped-method/parameters.html","searchKeys":["parameters","val parameters: List","com.grappenmaker.mappings.MappedMethod.parameters"]},{"name":"val propagated: AccessMask","description":"com.grappenmaker.mappings.AccessedClass.propagated","location":"mappings-util/com.grappenmaker.mappings/-accessed-class/propagated.html","searchKeys":["propagated","val propagated: AccessMask","com.grappenmaker.mappings.AccessedClass.propagated"]},{"name":"val startOffset: Int","description":"com.grappenmaker.mappings.MappedLocal.startOffset","location":"mappings-util/com.grappenmaker.mappings/-mapped-local/start-offset.html","searchKeys":["startOffset","val startOffset: Int","com.grappenmaker.mappings.MappedLocal.startOffset"]},{"name":"val to: String","description":"com.grappenmaker.mappings.MappingsRemapper.to","location":"mappings-util/com.grappenmaker.mappings/-mappings-remapper/to.html","searchKeys":["to","val to: String","com.grappenmaker.mappings.MappingsRemapper.to"]},{"name":"val toNamespace: String","description":"com.grappenmaker.mappings.JarRemapTask.toNamespace","location":"mappings-util/com.grappenmaker.mappings/-jar-remap-task/to-namespace.html","searchKeys":["toNamespace","val toNamespace: String","com.grappenmaker.mappings.JarRemapTask.toNamespace"]},{"name":"val total: AccessMask","description":"com.grappenmaker.mappings.AccessedClass.total","location":"mappings-util/com.grappenmaker.mappings/-accessed-class/total.html","searchKeys":["total","val total: AccessMask","com.grappenmaker.mappings.AccessedClass.total"]},{"name":"val value: Int","description":"com.grappenmaker.mappings.AccessMask.value","location":"mappings-util/com.grappenmaker.mappings/-access-mask/value.html","searchKeys":["value","val value: Int","com.grappenmaker.mappings.AccessMask.value"]},{"name":"val variables: List","description":"com.grappenmaker.mappings.MappedMethod.variables","location":"mappings-util/com.grappenmaker.mappings/-mapped-method/variables.html","searchKeys":["variables","val variables: List","com.grappenmaker.mappings.MappedMethod.variables"]},{"name":"val version: Int","description":"com.grappenmaker.mappings.AccessWidener.version","location":"mappings-util/com.grappenmaker.mappings/-access-widener/version.html","searchKeys":["version","val version: Int","com.grappenmaker.mappings.AccessWidener.version"]},{"name":"val version: Int = 2","description":"com.grappenmaker.mappings.CompactedMappings.version","location":"mappings-util/com.grappenmaker.mappings/-compacted-mappings/version.html","searchKeys":["version","val version: Int = 2","com.grappenmaker.mappings.CompactedMappings.version"]},{"name":"value class AccessMask(val value: Int) : Iterable ","description":"com.grappenmaker.mappings.AccessMask","location":"mappings-util/com.grappenmaker.mappings/-access-mask/index.html","searchKeys":["AccessMask","value class AccessMask(val value: Int) : Iterable ","com.grappenmaker.mappings.AccessMask"]},{"name":"var copyResources: Boolean","description":"com.grappenmaker.mappings.JarRemapper.copyResources","location":"mappings-util/com.grappenmaker.mappings/-jar-remapper/copy-resources.html","searchKeys":["copyResources","var copyResources: Boolean","com.grappenmaker.mappings.JarRemapper.copyResources"]},{"name":"var loader: ClasspathLoader","description":"com.grappenmaker.mappings.JarRemapper.loader","location":"mappings-util/com.grappenmaker.mappings/-jar-remapper/loader.html","searchKeys":["loader","var loader: ClasspathLoader","com.grappenmaker.mappings.JarRemapper.loader"]},{"name":"var mappings: Mappings","description":"com.grappenmaker.mappings.JarRemapper.mappings","location":"mappings-util/com.grappenmaker.mappings/-jar-remapper/mappings.html","searchKeys":["mappings","var mappings: Mappings","com.grappenmaker.mappings.JarRemapper.mappings"]}] \ No newline at end of file diff --git a/docs/scripts/sourceset_dependencies.js b/docs/scripts/sourceset_dependencies.js index c276086..173b1e3 100644 --- a/docs/scripts/sourceset_dependencies.js +++ b/docs/scripts/sourceset_dependencies.js @@ -1 +1 @@ -sourceset_dependencies='{":dokkaHtml/main":[]}' +sourceset_dependencies = '{":tiny-remapper-provider:dokkaHtmlPartial/main":[],":mappings-util:dokkaHtmlPartial/main":[]}' \ No newline at end of file diff --git a/docs/tiny-remapper-provider/com.grappenmaker.mappings/-mappings-provider/-mappings-provider.html b/docs/tiny-remapper-provider/com.grappenmaker.mappings/-mappings-provider/-mappings-provider.html new file mode 100644 index 0000000..6e1740b --- /dev/null +++ b/docs/tiny-remapper-provider/com.grappenmaker.mappings/-mappings-provider/-mappings-provider.html @@ -0,0 +1,76 @@ + + + + + MappingsProvider + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

MappingsProvider

+
+
constructor(mappings: Mappings, sourceNamespace: String, targetNamespace: String, passParameters: Boolean = true)(source)

Parameters

sourceNamespace

the namespace of the original class files passed to tiny remapper

targetNamespace

the desired namespace the class files passed to tiny remapper should be remapped to

+
+ +
+
+
+ + + diff --git a/docs/tiny-remapper-provider/com.grappenmaker.mappings/-mappings-provider/index.html b/docs/tiny-remapper-provider/com.grappenmaker.mappings/-mappings-provider/index.html new file mode 100644 index 0000000..3bebd5a --- /dev/null +++ b/docs/tiny-remapper-provider/com.grappenmaker.mappings/-mappings-provider/index.html @@ -0,0 +1,119 @@ + + + + + MappingsProvider + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

MappingsProvider

+
class MappingsProvider(mappings: Mappings, sourceNamespace: String, targetNamespace: String, passParameters: Boolean = true) : IMappingProvider(source)

An IMappingProvider that can send Mappings to an IMappingProvider.MappingAcceptor. If passParameters is true, MappedParameters and MappedLocals will be passed to the IMappingProvider.MappingAcceptor as well.

Parameters

sourceNamespace

the namespace of the original class files passed to tiny remapper

targetNamespace

the desired namespace the class files passed to tiny remapper should be remapped to

+
+
+
+
+
+

Constructors

+
+
+
+
+ + +
Link copied to clipboard
+
+
+
+
constructor(mappings: Mappings, sourceNamespace: String, targetNamespace: String, passParameters: Boolean = true)
+
+
+
+
+
+
+
+

Functions

+
+
+
+
+ + +
Link copied to clipboard
+
+
+
+
open override fun load(acceptor: IMappingProvider.MappingAcceptor)
+
+
+
+
+
+
+
+
+
+ +
+
+
+ + + diff --git a/docs/tiny-remapper-provider/com.grappenmaker.mappings/-mappings-provider/load.html b/docs/tiny-remapper-provider/com.grappenmaker.mappings/-mappings-provider/load.html new file mode 100644 index 0000000..e694bae --- /dev/null +++ b/docs/tiny-remapper-provider/com.grappenmaker.mappings/-mappings-provider/load.html @@ -0,0 +1,76 @@ + + + + + load + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

load

+
+
open override fun load(acceptor: IMappingProvider.MappingAcceptor)(source)
+
+ +
+
+
+ + + diff --git a/docs/tiny-remapper-provider/com.grappenmaker.mappings/index.html b/docs/tiny-remapper-provider/com.grappenmaker.mappings/index.html new file mode 100644 index 0000000..e0c8a03 --- /dev/null +++ b/docs/tiny-remapper-provider/com.grappenmaker.mappings/index.html @@ -0,0 +1,99 @@ + + + + + com.grappenmaker.mappings + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

Package-level declarations

+
+
+
+
+
+

Types

+
+
+
+
+ + +
Link copied to clipboard
+
+
+
+
class MappingsProvider(mappings: Mappings, sourceNamespace: String, targetNamespace: String, passParameters: Boolean = true) : IMappingProvider

An IMappingProvider that can send Mappings to an IMappingProvider.MappingAcceptor. If passParameters is true, MappedParameters and MappedLocals will be passed to the IMappingProvider.MappingAcceptor as well.

+
+
+
+
+
+
+
+
+
+ +
+
+
+ + + diff --git a/docs/tiny-remapper-provider/com.grappenmaker.mappings/main.html b/docs/tiny-remapper-provider/com.grappenmaker.mappings/main.html new file mode 100644 index 0000000..79653c7 --- /dev/null +++ b/docs/tiny-remapper-provider/com.grappenmaker.mappings/main.html @@ -0,0 +1,76 @@ + + + + + main + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

main

+
+
fun main()(source)
+
+ +
+
+
+ + + diff --git a/docs/tiny-remapper-provider/index.html b/docs/tiny-remapper-provider/index.html new file mode 100644 index 0000000..fbf861f --- /dev/null +++ b/docs/tiny-remapper-provider/index.html @@ -0,0 +1,96 @@ + + + + + tiny-remapper-provider + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

tiny-remapper-provider

+

Utility for using this mappings library with tiny-remapper, instead of the remapper provided in this library, since it is considered more versatile and extensible.

tiny-remapper is licensed under GNU LGPL v3.0, a copy of which can be found here.

The only member this module provides is MappingsProvider, which can be passed to TinyRemapper.Builder.withMappings.

+
+

Packages

+
+
+
+
+
+ + +
Link copied to clipboard
+
+
+
+ +
+
+
+
+
+
+
+
+ +
+
+
+ + + diff --git a/docs/tiny-remapper-provider/navigation.html b/docs/tiny-remapper-provider/navigation.html new file mode 100644 index 0000000..660bd6d --- /dev/null +++ b/docs/tiny-remapper-provider/navigation.html @@ -0,0 +1,577 @@ +
+
+ +
+ +
+ +
+
+ +
+
+ +
+
+ Companion +
+
+
+
+ +
+
+ Companion +
+
+
+ +
+
+ +
+
+
+ MUTABLE +
+
+
+
+ +
+ + +
+ +
+
+ +
+ + + + + + + + +
+ +
+ + +
+ +
+ +
+
+ Commented +
+
+ + +
+ +
+ + +
+ +
+
+ +
+ + + +
+ +
+
+ +
+ +
+ +
+ + +
+
+ isData() +
+
+
+ +
+
+ +
+
+ +
+
+ +
+
+ +
+ +
+
+ join() +
+
+ + + + + +
+
+ map() +
+
+
+ +
+
+
+ mapDesc() +
+
+
+ +
+
+ +
+
+
+ Mapped +
+
+
+ +
+
+ +
+
+ +
+
+ +
+
+ +
+
+
+ Mappings +
+
+
+ +
+ +
+
+
+ +
+ + +
+ +
+ +
+ +
+
+ +
+
+
+ parse() +
+
+
+ +
+
+
+ plus() +
+
+ + +
+ +
+ + +
+
+ remap() +
+
+
+ +
+
+ +
+ + + + + +
+ +
+ +
+ +
+ + +
+ +
+
+ Context +
+
+
+
+
+ toMask() +
+
+
+
+ toTree() +
+
+
+ +
+ + +
+
+ write() +
+
+
+ +
+
+
+ writeTo() +
+
+ +
+
+ +
diff --git a/gradle.properties b/gradle.properties new file mode 100644 index 0000000..286d677 --- /dev/null +++ b/gradle.properties @@ -0,0 +1,8 @@ +org.gradle.jvmargs=-Xmx3g -XX:MaxMetaspaceSize=512m -XX:+HeapDumpOnOutOfMemoryError -Dfile.encoding=UTF-8 +org.gradle.caching=true +org.gradle.configuration-cache=true +org.gradle.parallel=true +org.gradle.parallel.threads=4 +org.gradle.configureondemand=true +org.gradle.dependency.verification = strict +kotlin.code.style=official \ No newline at end of file diff --git a/gradle/libs.versions.toml b/gradle/libs.versions.toml index e4b9505..c9a56d5 100644 --- a/gradle/libs.versions.toml +++ b/gradle/libs.versions.toml @@ -7,8 +7,11 @@ coroutines = "1.9.0-RC" [libraries] asm = { module = "org.ow2.asm:asm", version.ref = "asm" } asm-commons = { module = "org.ow2.asm:asm-commons", version.ref = "asm" } +dokka = { module = "org.jetbrains.dokka:dokka-gradle-plugin", version.ref = "dokka" } dokka-versioning = { module = "org.jetbrains.dokka:versioning-plugin", version.ref = "dokka" } coroutines-core = { module = "org.jetbrains.kotlinx:kotlinx-coroutines-core", version.ref = "coroutines" } +kotlin-jvm = { module = "org.jetbrains.kotlin:kotlin-gradle-plugin", version.ref = "kotlin" } +tiny-remapper = { module = "net.fabricmc:tiny-remapper", version = "0.9.0" } [plugins] kotlin-jvm = { id = "org.jetbrains.kotlin.jvm", version.ref = "kotlin" } diff --git a/lib/build.gradle.kts b/lib/build.gradle.kts new file mode 100644 index 0000000..5e767cc --- /dev/null +++ b/lib/build.gradle.kts @@ -0,0 +1,23 @@ +plugins { + id("kotlin-convention") + id("published-library") + alias(libs.plugins.dokka) +} + +repositories { + mavenCentral() +} + +publishedLibrary { + enablePackages = true +} + +kotlin { + explicitApi() +} + +dependencies { + api(libs.bundles.asm) + api(libs.coroutines.core) + testImplementation(kotlin("test")) +} \ No newline at end of file diff --git a/dokka-module.md b/lib/dokka-module.md similarity index 100% rename from dokka-module.md rename to lib/dokka-module.md diff --git a/src/main/kotlin/com/grappenmaker/mappings/AccessWidener.kt b/lib/src/main/kotlin/com/grappenmaker/mappings/AccessWidener.kt similarity index 100% rename from src/main/kotlin/com/grappenmaker/mappings/AccessWidener.kt rename to lib/src/main/kotlin/com/grappenmaker/mappings/AccessWidener.kt diff --git a/src/main/kotlin/com/grappenmaker/mappings/CSRGMappings.kt b/lib/src/main/kotlin/com/grappenmaker/mappings/CSRGMappings.kt similarity index 100% rename from src/main/kotlin/com/grappenmaker/mappings/CSRGMappings.kt rename to lib/src/main/kotlin/com/grappenmaker/mappings/CSRGMappings.kt diff --git a/src/main/kotlin/com/grappenmaker/mappings/ClasspathLoaders.kt b/lib/src/main/kotlin/com/grappenmaker/mappings/ClasspathLoaders.kt similarity index 100% rename from src/main/kotlin/com/grappenmaker/mappings/ClasspathLoaders.kt rename to lib/src/main/kotlin/com/grappenmaker/mappings/ClasspathLoaders.kt diff --git a/src/main/kotlin/com/grappenmaker/mappings/CompactedMappings.kt b/lib/src/main/kotlin/com/grappenmaker/mappings/CompactedMappings.kt similarity index 100% rename from src/main/kotlin/com/grappenmaker/mappings/CompactedMappings.kt rename to lib/src/main/kotlin/com/grappenmaker/mappings/CompactedMappings.kt diff --git a/src/main/kotlin/com/grappenmaker/mappings/Conversions.kt b/lib/src/main/kotlin/com/grappenmaker/mappings/Conversions.kt similarity index 100% rename from src/main/kotlin/com/grappenmaker/mappings/Conversions.kt rename to lib/src/main/kotlin/com/grappenmaker/mappings/Conversions.kt diff --git a/src/main/kotlin/com/grappenmaker/mappings/EnigmaMappings.kt b/lib/src/main/kotlin/com/grappenmaker/mappings/EnigmaMappings.kt similarity index 100% rename from src/main/kotlin/com/grappenmaker/mappings/EnigmaMappings.kt rename to lib/src/main/kotlin/com/grappenmaker/mappings/EnigmaMappings.kt diff --git a/src/main/kotlin/com/grappenmaker/mappings/Extensions.kt b/lib/src/main/kotlin/com/grappenmaker/mappings/Extensions.kt similarity index 100% rename from src/main/kotlin/com/grappenmaker/mappings/Extensions.kt rename to lib/src/main/kotlin/com/grappenmaker/mappings/Extensions.kt diff --git a/src/main/kotlin/com/grappenmaker/mappings/Inheritance.kt b/lib/src/main/kotlin/com/grappenmaker/mappings/Inheritance.kt similarity index 97% rename from src/main/kotlin/com/grappenmaker/mappings/Inheritance.kt rename to lib/src/main/kotlin/com/grappenmaker/mappings/Inheritance.kt index c1ca1e8..0207a89 100644 --- a/src/main/kotlin/com/grappenmaker/mappings/Inheritance.kt +++ b/lib/src/main/kotlin/com/grappenmaker/mappings/Inheritance.kt @@ -1,132 +1,132 @@ -package com.grappenmaker.mappings - -import org.objectweb.asm.ClassReader -import org.objectweb.asm.ClassVisitor -import org.objectweb.asm.MethodVisitor -import org.objectweb.asm.Opcodes - -/** - * Represents the bitmask of access flags that a member may not have to be considered inheritable, - * see [InheritanceProvider.getDeclaredMethods] - */ -public const val INHERITABLE_MASK: Int = 0b11010 - -/** - * Represents an entry point for tasks like remapping and transformations to gather inheritance information from the - * classpath. Its simple design allows implementations to fetch information from different kinds of resources, like - * the classpath (see [LoaderInheritanceProvider]). - */ -public interface InheritanceProvider { - /** - * Returns the direct parents of a class with a given [internalName], that is, it returns an iterable - * of its super class (if any) and its superinterfaces, in that order. - */ - public fun getDirectParents(internalName: String): Iterable - - /** - * Returns the internal names of the parents of a class with a given [internalName], in depth-first order, - * interfaces first. - * - * Suppose we have the following class definitions: - * - * class A extends B implements C, D - * class B extends E - * - * Then, calling this method on A should return {D, C, E} ({C, D, E} is also valid). - * - * The default implementation performs depth-first search with pruning over [getDirectParents]. - * Implementations are welcome to optimize it for their specific use-case. - */ - public fun getParents(internalName: String): Iterable = sequence { - val queue = ArrayDeque() - val seen = hashSetOf() - queue.addLast(internalName) - - while (queue.isNotEmpty()) { - val curr = queue.removeLast() - yield(curr) - getDirectParents(internalName).forEach { if (seen.add(it)) queue.addLast(it) } - } - }.drop(1).asIterable() - - /** - * Returns the **signatures** of the methods declared in a class with a given [internalName]. - * - * A signature is a string that represents a method by concatenating its name with its JVMS descriptor - * For example: valueOf(Ljava/lang/String;)Lsome/EnumType; - * - * A declared method is a method that is directly declared in the bytecode of the class. - * - * If [filterInheritable] is true, this method should only return the signatures of methods that are non-private, - * non-static, non-final. That is, access & (ACC_PRIVATE | ACC_STATIC | ACC_FINAL) == 0, where access is the - * bitset of access flags as defined by the JVMS. The convienience constant [INHERITABLE_MASK] can be used for - * this computation as well, by comparing access & [INHERITABLE_MASK] == 0 - */ - // TODO: find out if we want to put this into a datastructure - // the thing is that these signatures are probably not supposed to be parsed, rather compared - // therefore it would probably be nicest not to force api consumers to use those data structures - public fun getDeclaredMethods(internalName: String, filterInheritable: Boolean): Iterable -} - -/** - * An [InheritanceProvider] that delegates to another given [InheritanceProvider], [delegate], and remembers its results. - */ -public class MemoizedInheritanceProvider(private val delegate: InheritanceProvider) : InheritanceProvider { - private val inheritanceMemo = hashMapOf>() - private val inheritableMethodsMemo = hashMapOf>() - private val declaredMethodsMemo = hashMapOf>() - - override fun getDirectParents(internalName: String): Iterable = - inheritanceMemo.getOrPut(internalName) { delegate.getDirectParents(internalName).toList() } - - override fun getDeclaredMethods(internalName: String, filterInheritable: Boolean): Iterable { - val target = if (filterInheritable) inheritableMethodsMemo else declaredMethodsMemo - return target.getOrPut(internalName) { delegate.getDeclaredMethods(internalName, filterInheritable).toList() } - } -} - -/** - * An [InheritanceProvider] that delegates to a [ClasspathLoader], [loader], to extract inheritance information - */ -public class LoaderInheritanceProvider(private val loader: ClasspathLoader) : InheritanceProvider { - override fun getDirectParents(internalName: String): Iterable { - val bytes = loader(internalName) ?: return emptyList() - val reader = ClassReader(bytes) - - return sequence { - if (reader.superName != null) yield(reader.superName) - yieldAll(reader.interfaces.iterator()) - }.asIterable() - } - - override fun getDeclaredMethods(internalName: String, filterInheritable: Boolean): Iterable { - val bytes = loader(internalName) ?: return emptyList() - - val result = mutableListOf() - val visitor = object : ClassVisitor(Opcodes.ASM9) { - override fun visitMethod( - access: Int, - name: String, - descriptor: String, - signature: String?, - exceptions: Array? - ): MethodVisitor? { - if (!filterInheritable || access and INHERITABLE_MASK == 0) result += (name + descriptor) - return null - } - } - - ClassReader(bytes).accept(visitor, ClassReader.SKIP_CODE or ClassReader.SKIP_DEBUG) - return result - } -} - -/** - * Wraps [this] [InheritanceProvider] into a new provider that remembers the results of calls - */ -public fun InheritanceProvider.memoized(): InheritanceProvider = MemoizedInheritanceProvider(this) - -/** - * Wraps [this] [ClasspathLoader] into a [InheritanceProvider] that uses [this] to extract inheritance information - */ +package com.grappenmaker.mappings + +import org.objectweb.asm.ClassReader +import org.objectweb.asm.ClassVisitor +import org.objectweb.asm.MethodVisitor +import org.objectweb.asm.Opcodes + +/** + * Represents the bitmask of access flags that a member may not have to be considered inheritable, + * see [InheritanceProvider.getDeclaredMethods] + */ +public const val INHERITABLE_MASK: Int = 0b11010 + +/** + * Represents an entry point for tasks like remapping and transformations to gather inheritance information from the + * classpath. Its simple design allows implementations to fetch information from different kinds of resources, like + * the classpath (see [LoaderInheritanceProvider]). + */ +public interface InheritanceProvider { + /** + * Returns the direct parents of a class with a given [internalName], that is, it returns an iterable + * of its super class (if any) and its superinterfaces, in that order. + */ + public fun getDirectParents(internalName: String): Iterable + + /** + * Returns the internal names of the parents of a class with a given [internalName], in depth-first order, + * interfaces first. + * + * Suppose we have the following class definitions: + * + * class A extends B implements C, D + * class B extends E + * + * Then, calling this method on A should return {D, C, E} ({C, D, E} is also valid). + * + * The default implementation performs depth-first search with pruning over [getDirectParents]. + * Implementations are welcome to optimize it for their specific use-case. + */ + public fun getParents(internalName: String): Iterable = sequence { + val queue = ArrayDeque() + val seen = hashSetOf() + queue.addLast(internalName) + + while (queue.isNotEmpty()) { + val curr = queue.removeLast() + yield(curr) + getDirectParents(internalName).forEach { if (seen.add(it)) queue.addLast(it) } + } + }.drop(1).asIterable() + + /** + * Returns the **signatures** of the methods declared in a class with a given [internalName]. + * + * A signature is a string that represents a method by concatenating its name with its JVMS descriptor + * For example: valueOf(Ljava/lang/String;)Lsome/EnumType; + * + * A declared method is a method that is directly declared in the bytecode of the class. + * + * If [filterInheritable] is true, this method should only return the signatures of methods that are non-private, + * non-static, non-final. That is, access & (ACC_PRIVATE | ACC_STATIC | ACC_FINAL) == 0, where access is the + * bitset of access flags as defined by the JVMS. The convienience constant [INHERITABLE_MASK] can be used for + * this computation as well, by comparing access & [INHERITABLE_MASK] == 0 + */ + // TODO: find out if we want to put this into a datastructure + // the thing is that these signatures are probably not supposed to be parsed, rather compared + // therefore it would probably be nicest not to force api consumers to use those data structures + public fun getDeclaredMethods(internalName: String, filterInheritable: Boolean): Iterable +} + +/** + * An [InheritanceProvider] that delegates to another given [InheritanceProvider], [delegate], and remembers its results. + */ +public class MemoizedInheritanceProvider(private val delegate: InheritanceProvider) : InheritanceProvider { + private val inheritanceMemo = hashMapOf>() + private val inheritableMethodsMemo = hashMapOf>() + private val declaredMethodsMemo = hashMapOf>() + + override fun getDirectParents(internalName: String): Iterable = + inheritanceMemo.getOrPut(internalName) { delegate.getDirectParents(internalName).toList() } + + override fun getDeclaredMethods(internalName: String, filterInheritable: Boolean): Iterable { + val target = if (filterInheritable) inheritableMethodsMemo else declaredMethodsMemo + return target.getOrPut(internalName) { delegate.getDeclaredMethods(internalName, filterInheritable).toList() } + } +} + +/** + * An [InheritanceProvider] that delegates to a [ClasspathLoader], [loader], to extract inheritance information + */ +public class LoaderInheritanceProvider(private val loader: ClasspathLoader) : InheritanceProvider { + override fun getDirectParents(internalName: String): Iterable { + val bytes = loader(internalName) ?: return emptyList() + val reader = ClassReader(bytes) + + return sequence { + if (reader.superName != null) yield(reader.superName) + yieldAll(reader.interfaces.iterator()) + }.asIterable() + } + + override fun getDeclaredMethods(internalName: String, filterInheritable: Boolean): Iterable { + val bytes = loader(internalName) ?: return emptyList() + + val result = mutableListOf() + val visitor = object : ClassVisitor(Opcodes.ASM9) { + override fun visitMethod( + access: Int, + name: String, + descriptor: String, + signature: String?, + exceptions: Array? + ): MethodVisitor? { + if (!filterInheritable || access and INHERITABLE_MASK == 0) result += (name + descriptor) + return null + } + } + + ClassReader(bytes).accept(visitor, ClassReader.SKIP_CODE or ClassReader.SKIP_DEBUG) + return result + } +} + +/** + * Wraps [this] [InheritanceProvider] into a new provider that remembers the results of calls + */ +public fun InheritanceProvider.memoized(): InheritanceProvider = MemoizedInheritanceProvider(this) + +/** + * Wraps [this] [ClasspathLoader] into a [InheritanceProvider] that uses [this] to extract inheritance information + */ public fun ClasspathLoader.asInheritanceProvider(): InheritanceProvider = LoaderInheritanceProvider(this) \ No newline at end of file diff --git a/src/main/kotlin/com/grappenmaker/mappings/JarRemapper.kt b/lib/src/main/kotlin/com/grappenmaker/mappings/JarRemapper.kt similarity index 100% rename from src/main/kotlin/com/grappenmaker/mappings/JarRemapper.kt rename to lib/src/main/kotlin/com/grappenmaker/mappings/JarRemapper.kt diff --git a/src/main/kotlin/com/grappenmaker/mappings/Mappings.kt b/lib/src/main/kotlin/com/grappenmaker/mappings/Mappings.kt similarity index 100% rename from src/main/kotlin/com/grappenmaker/mappings/Mappings.kt rename to lib/src/main/kotlin/com/grappenmaker/mappings/Mappings.kt diff --git a/src/main/kotlin/com/grappenmaker/mappings/ProguardMappings.kt b/lib/src/main/kotlin/com/grappenmaker/mappings/ProguardMappings.kt similarity index 100% rename from src/main/kotlin/com/grappenmaker/mappings/ProguardMappings.kt rename to lib/src/main/kotlin/com/grappenmaker/mappings/ProguardMappings.kt diff --git a/src/main/kotlin/com/grappenmaker/mappings/RecafMappings.kt b/lib/src/main/kotlin/com/grappenmaker/mappings/RecafMappings.kt similarity index 100% rename from src/main/kotlin/com/grappenmaker/mappings/RecafMappings.kt rename to lib/src/main/kotlin/com/grappenmaker/mappings/RecafMappings.kt diff --git a/src/main/kotlin/com/grappenmaker/mappings/Remapping.kt b/lib/src/main/kotlin/com/grappenmaker/mappings/Remapping.kt similarity index 100% rename from src/main/kotlin/com/grappenmaker/mappings/Remapping.kt rename to lib/src/main/kotlin/com/grappenmaker/mappings/Remapping.kt diff --git a/src/main/kotlin/com/grappenmaker/mappings/SRGMappings.kt b/lib/src/main/kotlin/com/grappenmaker/mappings/SRGMappings.kt similarity index 100% rename from src/main/kotlin/com/grappenmaker/mappings/SRGMappings.kt rename to lib/src/main/kotlin/com/grappenmaker/mappings/SRGMappings.kt diff --git a/src/main/kotlin/com/grappenmaker/mappings/TSRGMappings.kt b/lib/src/main/kotlin/com/grappenmaker/mappings/TSRGMappings.kt similarity index 100% rename from src/main/kotlin/com/grappenmaker/mappings/TSRGMappings.kt rename to lib/src/main/kotlin/com/grappenmaker/mappings/TSRGMappings.kt diff --git a/src/main/kotlin/com/grappenmaker/mappings/TinyMappings.kt b/lib/src/main/kotlin/com/grappenmaker/mappings/TinyMappings.kt similarity index 100% rename from src/main/kotlin/com/grappenmaker/mappings/TinyMappings.kt rename to lib/src/main/kotlin/com/grappenmaker/mappings/TinyMappings.kt diff --git a/src/main/kotlin/com/grappenmaker/mappings/Transformations.kt b/lib/src/main/kotlin/com/grappenmaker/mappings/Transformations.kt similarity index 100% rename from src/main/kotlin/com/grappenmaker/mappings/Transformations.kt rename to lib/src/main/kotlin/com/grappenmaker/mappings/Transformations.kt diff --git a/src/test/kotlin/com/grappenmaker/mappings/Common.kt b/lib/src/test/kotlin/com/grappenmaker/mappings/Common.kt similarity index 100% rename from src/test/kotlin/com/grappenmaker/mappings/Common.kt rename to lib/src/test/kotlin/com/grappenmaker/mappings/Common.kt diff --git a/src/test/kotlin/com/grappenmaker/mappings/TestAW.kt b/lib/src/test/kotlin/com/grappenmaker/mappings/TestAW.kt similarity index 100% rename from src/test/kotlin/com/grappenmaker/mappings/TestAW.kt rename to lib/src/test/kotlin/com/grappenmaker/mappings/TestAW.kt diff --git a/src/test/kotlin/com/grappenmaker/mappings/TestMappings.kt b/lib/src/test/kotlin/com/grappenmaker/mappings/TestMappings.kt similarity index 99% rename from src/test/kotlin/com/grappenmaker/mappings/TestMappings.kt rename to lib/src/test/kotlin/com/grappenmaker/mappings/TestMappings.kt index 03687c8..a3482da 100644 --- a/src/test/kotlin/com/grappenmaker/mappings/TestMappings.kt +++ b/lib/src/test/kotlin/com/grappenmaker/mappings/TestMappings.kt @@ -1,11 +1,11 @@ package com.grappenmaker.mappings -import org.junit.jupiter.api.Test import org.objectweb.asm.Opcodes.* import org.objectweb.asm.tree.ClassNode import kotlin.test.assertEquals import kotlin.test.assertFailsWith import kotlin.test.assertIs +import kotlin.test.Test class TestMappings { private val testDocument = "test.tiny".getResource().lines() diff --git a/src/test/resources/test-mapped.accesswidener b/lib/src/test/resources/test-mapped.accesswidener similarity index 100% rename from src/test/resources/test-mapped.accesswidener rename to lib/src/test/resources/test-mapped.accesswidener diff --git a/src/test/resources/test-v1.tiny b/lib/src/test/resources/test-v1.tiny similarity index 100% rename from src/test/resources/test-v1.tiny rename to lib/src/test/resources/test-v1.tiny diff --git a/src/test/resources/test.accesswidener b/lib/src/test/resources/test.accesswidener similarity index 100% rename from src/test/resources/test.accesswidener rename to lib/src/test/resources/test.accesswidener diff --git a/src/test/resources/test.csrg b/lib/src/test/resources/test.csrg similarity index 100% rename from src/test/resources/test.csrg rename to lib/src/test/resources/test.csrg diff --git a/src/test/resources/test.enigma b/lib/src/test/resources/test.enigma similarity index 100% rename from src/test/resources/test.enigma rename to lib/src/test/resources/test.enigma diff --git a/src/test/resources/test.proguard b/lib/src/test/resources/test.proguard similarity index 100% rename from src/test/resources/test.proguard rename to lib/src/test/resources/test.proguard diff --git a/src/test/resources/test.recaf b/lib/src/test/resources/test.recaf similarity index 100% rename from src/test/resources/test.recaf rename to lib/src/test/resources/test.recaf diff --git a/src/test/resources/test.srg b/lib/src/test/resources/test.srg similarity index 100% rename from src/test/resources/test.srg rename to lib/src/test/resources/test.srg diff --git a/src/test/resources/test.tiny b/lib/src/test/resources/test.tiny similarity index 100% rename from src/test/resources/test.tiny rename to lib/src/test/resources/test.tiny diff --git a/src/test/resources/test.tsrg b/lib/src/test/resources/test.tsrg similarity index 100% rename from src/test/resources/test.tsrg rename to lib/src/test/resources/test.tsrg diff --git a/src/test/resources/test.xsrg b/lib/src/test/resources/test.xsrg similarity index 100% rename from src/test/resources/test.xsrg rename to lib/src/test/resources/test.xsrg diff --git a/src/test/resources/test2.accesswidener b/lib/src/test/resources/test2.accesswidener similarity index 100% rename from src/test/resources/test2.accesswidener rename to lib/src/test/resources/test2.accesswidener diff --git a/remapper/build.gradle.kts b/remapper/build.gradle.kts index 87cf9c2..5e7a0ba 100644 --- a/remapper/build.gradle.kts +++ b/remapper/build.gradle.kts @@ -1,18 +1,10 @@ plugins { - alias(libs.plugins.kotlin.jvm) - `application` -} - -repositories { - mavenCentral() -} - -kotlin { - jvmToolchain(8) + id("kotlin-convention") + application } dependencies { - implementation(project(":")) + implementation(projects.mappingsUtil) } application { diff --git a/samples/build.gradle.kts b/samples/build.gradle.kts index f01c477..ca2235d 100644 --- a/samples/build.gradle.kts +++ b/samples/build.gradle.kts @@ -1,17 +1,9 @@ plugins { - alias(libs.plugins.kotlin.jvm) -} - -repositories { - mavenCentral() -} - -kotlin { - jvmToolchain(8) + id("kotlin-convention") } dependencies { - testImplementation(project(":")) + testImplementation(projects.mappingsUtil) testImplementation(kotlin("test")) } diff --git a/settings.gradle.kts b/settings.gradle.kts index c7b7dc1..a49fc7a 100644 --- a/settings.gradle.kts +++ b/settings.gradle.kts @@ -1,7 +1,11 @@ -rootProject.name = "mappings-util" +enableFeaturePreview("TYPESAFE_PROJECT_ACCESSORS") + +rootProject.name = "mappings-util-root" plugins { id("org.gradle.toolchains.foojay-resolver-convention") version "0.8.0" } -include("samples", "remapper") \ No newline at end of file +include("samples", "remapper", "mappings-util", "tiny-remapper-provider") +project(":mappings-util").projectDir = file("lib") +includeBuild("conventions") \ No newline at end of file diff --git a/tiny-remapper-provider/README.md b/tiny-remapper-provider/README.md new file mode 100644 index 0000000..0cc3480 --- /dev/null +++ b/tiny-remapper-provider/README.md @@ -0,0 +1,9 @@ +# tiny-remapper-provider + +Utility for using this mappings library with [tiny-remapper](https://github.com/FabricMC/tiny-remapper), +instead of the remapper provided in this library, since it is considered more versatile and extensible. + +tiny-remapper is licensed under GNU LGPL v3.0, a copy of which is present in this directory. Usage of +tiny-remapper is governed by its license. This library is not affiliated with the tiny-remapper contributors. + +I am not a lawyer :) \ No newline at end of file diff --git a/tiny-remapper-provider/build.gradle.kts b/tiny-remapper-provider/build.gradle.kts new file mode 100644 index 0000000..59a9a47 --- /dev/null +++ b/tiny-remapper-provider/build.gradle.kts @@ -0,0 +1,15 @@ +plugins { + id("kotlin-convention") + id("published-library") +} + +repositories { + maven("https://maven.fabricmc.net/") +} + +dependencies { + api(projects.mappingsUtil) + api(libs.tiny.remapper) { + exclude(module = "net.fabricmc:mapping-io") + } +} \ No newline at end of file diff --git a/tiny-remapper-provider/dokka-module.md b/tiny-remapper-provider/dokka-module.md new file mode 100644 index 0000000..55e0908 --- /dev/null +++ b/tiny-remapper-provider/dokka-module.md @@ -0,0 +1,9 @@ +# Module tiny-remapper-provider + +Utility for using this mappings library with [tiny-remapper](https://github.com/FabricMC/tiny-remapper), +instead of the remapper provided in this library, since it is considered more versatile and extensible. + +tiny-remapper is licensed under GNU LGPL v3.0, a copy of which can be found [here](https://github.com/FabricMC/tiny-remapper/blob/master/LICENSE). + +The only member this module provides is [MappingsProvider][com.grappenmaker.mappings.MappingsProvider], +which can be passed to `TinyRemapper.Builder.withMappings`. \ No newline at end of file diff --git a/tiny-remapper-provider/src/main/kotlin/com/grappenmaker/mappings/TinyRemapperProvider.kt b/tiny-remapper-provider/src/main/kotlin/com/grappenmaker/mappings/TinyRemapperProvider.kt new file mode 100644 index 0000000..f024af2 --- /dev/null +++ b/tiny-remapper-provider/src/main/kotlin/com/grappenmaker/mappings/TinyRemapperProvider.kt @@ -0,0 +1,50 @@ +package com.grappenmaker.mappings + +import net.fabricmc.tinyremapper.IMappingProvider +import net.fabricmc.tinyremapper.IMappingProvider.MappingAcceptor +import net.fabricmc.tinyremapper.IMappingProvider.Member + +/** + * An [IMappingProvider] that can send [Mappings] to an [IMappingProvider.MappingAcceptor]. If [passParameters] is + * `true`, [MappedParameter]s and [MappedLocal]s will be passed to the [IMappingProvider.MappingAcceptor] as well. + * + * @param sourceNamespace the namespace of the original class files passed to tiny remapper + * @param targetNamespace the desired namespace the class files passed to tiny remapper should be remapped to + */ +public class MappingsProvider( + private val mappings: Mappings, + sourceNamespace: String, + targetNamespace: String, + private val passParameters: Boolean = true, +) : IMappingProvider { + private val sourceIdx = mappings.namespace(sourceNamespace) + private val targetIdx = mappings.namespace(targetNamespace) + + @Suppress("NOTHING_TO_INLINE") + private inline fun MappedClass.load(acceptor: MappingAcceptor) { + val owner = names[sourceIdx] + acceptor.acceptClass(owner, names[targetIdx]) + + for (method in methods) method.load(owner, acceptor) + for (field in methods) acceptor.acceptField( + Member(owner, field.names[sourceIdx], field.desc), field.names[targetIdx] + ) + } + + @Suppress("NOTHING_TO_INLINE") + private inline fun MappedMethod.load(owner: String, acceptor: MappingAcceptor) { + val member = Member(owner, names[sourceIdx], desc) + acceptor.acceptMethod(member, names[targetIdx]) + + if (passParameters) { + for (arg in parameters) acceptor.acceptMethodArg(member, arg.index, arg.names[targetIdx]) + for (lv in variables) acceptor.acceptMethodVar( + member, lv.lvtIndex, lv.startOffset, lv.index, lv.names[targetIdx] + ) + } + } + + override fun load(acceptor: MappingAcceptor) { + for (clz in mappings.classes) clz.load(acceptor) + } +} \ No newline at end of file diff --git a/tiny-remapper-provider/tiny-remapper-license.txt b/tiny-remapper-provider/tiny-remapper-license.txt new file mode 100644 index 0000000..02bbb60 --- /dev/null +++ b/tiny-remapper-provider/tiny-remapper-license.txt @@ -0,0 +1,165 @@ + GNU LESSER GENERAL PUBLIC LICENSE + Version 3, 29 June 2007 + + Copyright (C) 2007 Free Software Foundation, Inc. + Everyone is permitted to copy and distribute verbatim copies + of this license document, but changing it is not allowed. + + + This version of the GNU Lesser General Public License incorporates +the terms and conditions of version 3 of the GNU General Public +License, supplemented by the additional permissions listed below. + + 0. Additional Definitions. + + As used herein, "this License" refers to version 3 of the GNU Lesser +General Public License, and the "GNU GPL" refers to version 3 of the GNU +General Public License. + + "The Library" refers to a covered work governed by this License, +other than an Application or a Combined Work as defined below. + + An "Application" is any work that makes use of an interface provided +by the Library, but which is not otherwise based on the Library. +Defining a subclass of a class defined by the Library is deemed a mode +of using an interface provided by the Library. + + A "Combined Work" is a work produced by combining or linking an +Application with the Library. The particular version of the Library +with which the Combined Work was made is also called the "Linked +Version". + + The "Minimal Corresponding Source" for a Combined Work means the +Corresponding Source for the Combined Work, excluding any source code +for portions of the Combined Work that, considered in isolation, are +based on the Application, and not on the Linked Version. + + The "Corresponding Application Code" for a Combined Work means the +object code and/or source code for the Application, including any data +and utility programs needed for reproducing the Combined Work from the +Application, but excluding the System Libraries of the Combined Work. + + 1. Exception to Section 3 of the GNU GPL. + + You may convey a covered work under sections 3 and 4 of this License +without being bound by section 3 of the GNU GPL. + + 2. Conveying Modified Versions. + + If you modify a copy of the Library, and, in your modifications, a +facility refers to a function or data to be supplied by an Application +that uses the facility (other than as an argument passed when the +facility is invoked), then you may convey a copy of the modified +version: + + a) under this License, provided that you make a good faith effort to + ensure that, in the event an Application does not supply the + function or data, the facility still operates, and performs + whatever part of its purpose remains meaningful, or + + b) under the GNU GPL, with none of the additional permissions of + this License applicable to that copy. + + 3. Object Code Incorporating Material from Library Header Files. + + The object code form of an Application may incorporate material from +a header file that is part of the Library. You may convey such object +code under terms of your choice, provided that, if the incorporated +material is not limited to numerical parameters, data structure +layouts and accessors, or small macros, inline functions and templates +(ten or fewer lines in length), you do both of the following: + + a) Give prominent notice with each copy of the object code that the + Library is used in it and that the Library and its use are + covered by this License. + + b) Accompany the object code with a copy of the GNU GPL and this license + document. + + 4. Combined Works. + + You may convey a Combined Work under terms of your choice that, +taken together, effectively do not restrict modification of the +portions of the Library contained in the Combined Work and reverse +engineering for debugging such modifications, if you also do each of +the following: + + a) Give prominent notice with each copy of the Combined Work that + the Library is used in it and that the Library and its use are + covered by this License. + + b) Accompany the Combined Work with a copy of the GNU GPL and this license + document. + + c) For a Combined Work that displays copyright notices during + execution, include the copyright notice for the Library among + these notices, as well as a reference directing the user to the + copies of the GNU GPL and this license document. + + d) Do one of the following: + + 0) Convey the Minimal Corresponding Source under the terms of this + License, and the Corresponding Application Code in a form + suitable for, and under terms that permit, the user to + recombine or relink the Application with a modified version of + the Linked Version to produce a modified Combined Work, in the + manner specified by section 6 of the GNU GPL for conveying + Corresponding Source. + + 1) Use a suitable shared library mechanism for linking with the + Library. A suitable mechanism is one that (a) uses at run time + a copy of the Library already present on the user's computer + system, and (b) will operate properly with a modified version + of the Library that is interface-compatible with the Linked + Version. + + e) Provide Installation Information, but only if you would otherwise + be required to provide such information under section 6 of the + GNU GPL, and only to the extent that such information is + necessary to install and execute a modified version of the + Combined Work produced by recombining or relinking the + Application with a modified version of the Linked Version. (If + you use option 4d0, the Installation Information must accompany + the Minimal Corresponding Source and Corresponding Application + Code. If you use option 4d1, you must provide the Installation + Information in the manner specified by section 6 of the GNU GPL + for conveying Corresponding Source.) + + 5. Combined Libraries. + + You may place library facilities that are a work based on the +Library side by side in a single library together with other library +facilities that are not Applications and are not covered by this +License, and convey such a combined library under terms of your +choice, if you do both of the following: + + a) Accompany the combined library with a copy of the same work based + on the Library, uncombined with any other library facilities, + conveyed under the terms of this License. + + b) Give prominent notice with the combined library that part of it + is a work based on the Library, and explaining where to find the + accompanying uncombined form of the same work. + + 6. Revised Versions of the GNU Lesser General Public License. + + The Free Software Foundation may publish revised and/or new versions +of the GNU Lesser General Public License from time to time. Such new +versions will be similar in spirit to the present version, but may +differ in detail to address new problems or concerns. + + Each version is given a distinguishing version number. If the +Library as you received it specifies that a certain numbered version +of the GNU Lesser General Public License "or any later version" +applies to it, you have the option of following the terms and +conditions either of that published version or of any later version +published by the Free Software Foundation. If the Library as you +received it does not specify a version number of the GNU Lesser +General Public License, you may choose any version of the GNU Lesser +General Public License ever published by the Free Software Foundation. + + If the Library as you received it specifies that a proxy can decide +whether future versions of the GNU Lesser General Public License shall +apply, that proxy's public statement of acceptance of any version is +permanent authorization for you to choose that version for the +Library. \ No newline at end of file