diff --git a/build.gradle.kts b/build.gradle.kts index e82fafe4d..f61ded990 100644 --- a/build.gradle.kts +++ b/build.gradle.kts @@ -3,7 +3,7 @@ * * https://minecraftdev.org * - * Copyright (c) 2021 minecraft-dev + * Copyright (c) 2022 minecraft-dev * * MIT License */ @@ -14,16 +14,17 @@ import org.gradle.internal.os.OperatingSystem import org.jetbrains.gradle.ext.settings import org.jetbrains.gradle.ext.taskTriggers import org.jetbrains.kotlin.gradle.tasks.KotlinCompile +import org.jlleitschuh.gradle.ktlint.tasks.BaseKtLintCheckTask plugins { - kotlin("jvm") version "1.6.20" + kotlin("jvm") version "1.7.10" java mcdev groovy idea - id("org.jetbrains.intellij") version "1.7.0" + id("org.jetbrains.intellij") version "1.8.0" id("org.cadixdev.licenser") - id("org.jlleitschuh.gradle.ktlint") version "10.0.0" + id("org.jlleitschuh.gradle.ktlint") version "10.3.0" } val ideaVersionName: String by project @@ -109,6 +110,34 @@ dependencies { testImplementation(libs.junit.api) testRuntimeOnly(libs.junit.entine) + testRuntimeOnly(libs.junit.platform.launcher) +} + +val artifactType = Attribute.of("artifactType", String::class.java) +val filtered = Attribute.of("filtered", Boolean::class.javaObjectType) + +dependencies { + attributesSchema { + attribute(filtered) + } + artifactTypes.getByName("jar") { + attributes.attribute(filtered, false) + } + + registerTransform(Filter::class) { + from.attribute(filtered, false).attribute(artifactType, "jar") + to.attribute(filtered, true).attribute(artifactType, "jar") + + parameters { + ideaVersion.set(providers.gradleProperty("ideaVersion")) + ideaVersionName.set(providers.gradleProperty("ideaVersionName")) + depsFile.set(layout.projectDirectory.file(".gradle/intellij-deps.json")) + } + } +} + +configurations.compileClasspath { + attributes.attribute(filtered, true) } intellij { @@ -231,6 +260,8 @@ idea { module { generatedSourceDirs.add(file("build/gen")) excludeDirs.add(file(intellij.sandboxDir.get())) + isDownloadJavadoc = true + isDownloadSources = true } } @@ -267,8 +298,8 @@ license { } } -ktlint { - enableExperimentalRules.set(true) +tasks.withType().configureEach { + workerMaxHeapSize.set("512m") } tasks.register("format") { diff --git a/buildSrc/build.gradle.kts b/buildSrc/build.gradle.kts index dc3692f73..7a00710fd 100644 --- a/buildSrc/build.gradle.kts +++ b/buildSrc/build.gradle.kts @@ -3,7 +3,7 @@ * * https://minecraftdev.org * - * Copyright (c) 2021 minecraft-dev + * Copyright (c) 2022 minecraft-dev * * MIT License */ @@ -18,6 +18,6 @@ repositories { } dependencies { - implementation("com.google.code.gson:gson:2.8.6") + implementation("com.google.code.gson:gson:2.9.1") implementation("org.cadixdev.licenser:org.cadixdev.licenser.gradle.plugin:0.6.1") } diff --git a/buildSrc/settings.gradle.kts b/buildSrc/settings.gradle.kts new file mode 100644 index 000000000..0121a4685 --- /dev/null +++ b/buildSrc/settings.gradle.kts @@ -0,0 +1,11 @@ +/* + * Minecraft Dev for IntelliJ + * + * https://minecraftdev.org + * + * Copyright (c) 2022 minecraft-dev + * + * MIT License + */ + +rootProject.name = "buildSrc" diff --git a/buildSrc/src/main/kotlin/Filter.kt b/buildSrc/src/main/kotlin/Filter.kt new file mode 100644 index 000000000..c1db315c2 --- /dev/null +++ b/buildSrc/src/main/kotlin/Filter.kt @@ -0,0 +1,102 @@ +/* + * Minecraft Dev for IntelliJ + * + * https://minecraftdev.org + * + * Copyright (c) 2022 minecraft-dev + * + * MIT License + */ + +import com.google.gson.Gson +import com.google.gson.reflect.TypeToken +import java.nio.file.Files +import java.nio.file.Path +import javax.inject.Inject +import org.gradle.api.artifacts.transform.CacheableTransform +import org.gradle.api.artifacts.transform.InputArtifact +import org.gradle.api.artifacts.transform.TransformAction +import org.gradle.api.artifacts.transform.TransformOutputs +import org.gradle.api.artifacts.transform.TransformParameters +import org.gradle.api.file.FileSystemLocation +import org.gradle.api.file.ProjectLayout +import org.gradle.api.file.RegularFileProperty +import org.gradle.api.provider.Property +import org.gradle.api.provider.Provider +import org.gradle.api.tasks.Input +import org.gradle.api.tasks.InputFile +import org.gradle.api.tasks.Internal +import org.gradle.api.tasks.PathSensitive +import org.gradle.api.tasks.PathSensitivity + +abstract class Filter : TransformAction { + interface Params : TransformParameters { + @get:Input + val ideaVersion: Property + @get:Input + val ideaVersionName: Property + @get:PathSensitive(PathSensitivity.NONE) + @get:InputFile + val depsFile: RegularFileProperty + } + + @get:PathSensitive(PathSensitivity.NONE) + @get:InputArtifact + abstract val inputArtifact: Provider + + @get:Inject + abstract val layout: ProjectLayout + + private val deps: List? + + init { + deps = run { + val depsFile = parameters.depsFile.orNull?.asFile ?: return@run null + if (!depsFile.exists()) { + return@run null + } + + val depList: DepList = depsFile.bufferedReader().use { reader -> + Gson().fromJson(reader, DepList::class.java) + } + + if ( + parameters.ideaVersion.orNull == depList.intellijVersion && + parameters.ideaVersionName.orNull == depList.intellijVersionName + ) { + depList.deps + } else { + null + } + } + } + + override fun transform(outputs: TransformOutputs) { + val input = inputArtifact.get().asFile.toPath() + + // exclude the coroutines jar + // We include our own - but also IntelliJ's jar breaks sources + val inputParts = input.map { it.toString() } + if (!inputParts.containsAll(pathParts)) { + outputs.file(inputArtifact) + return + } + + val fileName = inputParts.last() + if (fileName.startsWith("kotlinx-coroutines")) { + return + } + + deps?.forEach { d -> + if (fileName == "${d.artifactId}-${d.version}.jar") { + return + } + } + + outputs.file(inputArtifact) + } + + companion object { + private val pathParts = listOf("com.jetbrains.intellij.idea", "ideaIC", "lib") + } +} diff --git a/buildSrc/src/main/kotlin/mcdev.gradle.kts b/buildSrc/src/main/kotlin/mcdev.gradle.kts index 55056556a..d8679df11 100644 --- a/buildSrc/src/main/kotlin/mcdev.gradle.kts +++ b/buildSrc/src/main/kotlin/mcdev.gradle.kts @@ -3,7 +3,7 @@ * * https://minecraftdev.org * - * Copyright (c) 2021 minecraft-dev + * Copyright (c) 2022 minecraft-dev * * MIT License */ @@ -28,12 +28,9 @@ val jsonFile = file("$projectDir/$fileName") val ideaVersion: String by project val ideaVersionName: String by project -data class DepList(val intellijVersion: String, val intellijVersionName: String, val deps: List) -data class Dep(val groupId: String, val artifactId: String, val version: String) - if (jsonFile.exists()) { val deps: DepList = jsonFile.bufferedReader().use { reader -> - Gson().fromJson(reader, object : TypeToken() {}.type) + Gson().fromJson(reader, DepList::class.java) } if (ideaVersion != deps.intellijVersion || ideaVersionName != deps.intellijVersionName) { println("IntelliJ library sources file definition is out of date, deleting") diff --git a/buildSrc/src/main/kotlin/util.kt b/buildSrc/src/main/kotlin/util.kt index 448c51944..6348a5b1a 100644 --- a/buildSrc/src/main/kotlin/util.kt +++ b/buildSrc/src/main/kotlin/util.kt @@ -3,7 +3,7 @@ * * https://minecraftdev.org * - * Copyright (c) 2021 minecraft-dev + * Copyright (c) 2022 minecraft-dev * * MIT License */ @@ -95,3 +95,6 @@ fun Project.parser(bnf: String, pack: String): TaskDelegate { ) } } + +data class DepList(val intellijVersion: String, val intellijVersionName: String, val deps: List) +data class Dep(val groupId: String, val artifactId: String, val version: String) diff --git a/copyright.txt b/copyright.txt index 020e1600d..55b3c3539 100644 --- a/copyright.txt +++ b/copyright.txt @@ -2,6 +2,6 @@ Minecraft Dev for IntelliJ https://minecraftdev.org -Copyright (c) 2021 minecraft-dev +Copyright (c) 2022 minecraft-dev MIT License diff --git a/gradle.properties b/gradle.properties index 7c54b6f01..d9b2b7f94 100644 --- a/gradle.properties +++ b/gradle.properties @@ -3,7 +3,7 @@ # # https://minecraftdev.org # -# Copyright (c) 2021 minecraft-dev +# Copyright (c) 2022 minecraft-dev # # MIT License # diff --git a/gradle/libs.versions.toml b/gradle/libs.versions.toml index 1b75a7772..82deed0db 100644 --- a/gradle/libs.versions.toml +++ b/gradle/libs.versions.toml @@ -1,10 +1,12 @@ [versions] -coroutines = "1.5.2" -junit = "5.7.1" -asm = "9.2" +coroutines = "1.6.3" +junit = "5.9.0" +junit-platform = "1.9.0" +asm = "9.3" [libraries] coroutines-core = { module = "org.jetbrains.kotlinx:kotlinx-coroutines-core", version.ref = "coroutines" } +coroutines-jdk8 = { module = "org.jetbrains.kotlinx:kotlinx-coroutines-jdk8", version.ref = "coroutines" } coroutines-swing = { module = "org.jetbrains.kotlinx:kotlinx-coroutines-swing", version.ref = "coroutines" } templateMakerFabric = "com.extracraftx.minecraft:TemplateMakerFabric:0.4.1" @@ -17,8 +19,8 @@ grammarKit = "org.jetbrains.idea:grammar-kit:1.5.1" # Gradle Tooling gradleToolingExtension = "com.jetbrains.intellij.gradle:gradle-tooling-extension:222-EAP-SNAPSHOT" -annotations = "org.jetbrains:annotations:20.1.0" -groovy = "org.codehaus.groovy:groovy-all:2.5.14" +annotations = "org.jetbrains:annotations:23.0.0" +groovy = "org.codehaus.groovy:groovy-all:2.5.18" asm = { module = "org.ow2.asm:asm", version.ref = "asm" } asm-tree = { module = "org.ow2.asm:asm-tree", version.ref = "asm" } @@ -32,7 +34,8 @@ test-nbt = "com.demonwav.mcdev:all-types-nbt:1.0" junit-api = { module = "org.junit.jupiter:junit-jupiter-api", version.ref = "junit" } junit-entine = { module = "org.junit.jupiter:junit-jupiter-engine", version.ref = "junit" } +junit-platform-launcher = { module = "org.junit.platform:junit-platform-launcher", version.ref = "junit-platform" } [bundles] -coroutines = ["coroutines-core", "coroutines-swing"] +coroutines = ["coroutines-core", "coroutines-jdk8", "coroutines-swing"] asm = ["asm", "asm-tree", "asm-analysis"] diff --git a/gradle/wrapper/gradle-wrapper.jar b/gradle/wrapper/gradle-wrapper.jar index 41d9927a4..249e5832f 100644 Binary files a/gradle/wrapper/gradle-wrapper.jar and b/gradle/wrapper/gradle-wrapper.jar differ diff --git a/gradle/wrapper/gradle-wrapper.properties b/gradle/wrapper/gradle-wrapper.properties index aa991fcea..ae04661ee 100644 --- a/gradle/wrapper/gradle-wrapper.properties +++ b/gradle/wrapper/gradle-wrapper.properties @@ -1,5 +1,5 @@ distributionBase=GRADLE_USER_HOME distributionPath=wrapper/dists -distributionUrl=https\://services.gradle.org/distributions/gradle-7.4.2-bin.zip +distributionUrl=https\://services.gradle.org/distributions/gradle-7.5.1-bin.zip zipStoreBase=GRADLE_USER_HOME zipStorePath=wrapper/dists diff --git a/gradlew b/gradlew index 1b6c78733..a69d9cb6c 100755 --- a/gradlew +++ b/gradlew @@ -205,6 +205,12 @@ set -- \ org.gradle.wrapper.GradleWrapperMain \ "$@" +# Stop when "xargs" is not available. +if ! command -v xargs >/dev/null 2>&1 +then + die "xargs is not available" +fi + # Use "xargs" to parse quoted args. # # With -n1 it outputs one arg per line, with the quotes and backslashes removed. diff --git a/gradlew.bat b/gradlew.bat index 107acd32c..f127cfd49 100644 --- a/gradlew.bat +++ b/gradlew.bat @@ -14,7 +14,7 @@ @rem limitations under the License. @rem -@if "%DEBUG%" == "" @echo off +@if "%DEBUG%"=="" @echo off @rem ########################################################################## @rem @rem Gradle startup script for Windows @@ -25,7 +25,7 @@ if "%OS%"=="Windows_NT" setlocal set DIRNAME=%~dp0 -if "%DIRNAME%" == "" set DIRNAME=. +if "%DIRNAME%"=="" set DIRNAME=. set APP_BASE_NAME=%~n0 set APP_HOME=%DIRNAME% @@ -40,7 +40,7 @@ if defined JAVA_HOME goto findJavaFromJavaHome set JAVA_EXE=java.exe %JAVA_EXE% -version >NUL 2>&1 -if "%ERRORLEVEL%" == "0" goto execute +if %ERRORLEVEL% equ 0 goto execute echo. echo ERROR: JAVA_HOME is not set and no 'java' command could be found in your PATH. @@ -75,13 +75,15 @@ set CLASSPATH=%APP_HOME%\gradle\wrapper\gradle-wrapper.jar :end @rem End local scope for the variables with windows NT shell -if "%ERRORLEVEL%"=="0" goto mainEnd +if %ERRORLEVEL% equ 0 goto mainEnd :fail rem Set variable GRADLE_EXIT_CONSOLE if you need the _script_ return code instead of rem the _cmd.exe /c_ return code! -if not "" == "%GRADLE_EXIT_CONSOLE%" exit 1 -exit /b 1 +set EXIT_CODE=%ERRORLEVEL% +if %EXIT_CODE% equ 0 set EXIT_CODE=1 +if not ""=="%GRADLE_EXIT_CONSOLE%" exit %EXIT_CODE% +exit /b %EXIT_CODE% :mainEnd if "%OS%"=="Windows_NT" endlocal diff --git a/license.txt b/license.txt index 676760f80..cb94aa3c9 100644 --- a/license.txt +++ b/license.txt @@ -1,6 +1,6 @@ The MIT License (MIT) -Copyright (c) 2021 minecraft-dev +Copyright (c) 2022 minecraft-dev Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal diff --git a/settings.gradle.kts b/settings.gradle.kts index 08cd609b4..6863e28a0 100644 --- a/settings.gradle.kts +++ b/settings.gradle.kts @@ -3,7 +3,7 @@ * * https://minecraftdev.org * - * Copyright (c) 2021 minecraft-dev + * Copyright (c) 2022 minecraft-dev * * MIT License */ diff --git a/src/gradle-tooling-extension/groovy/com/demonwav/mcdev/platform/mcp/gradle/tooling/McpModelFG2BuilderImpl.groovy b/src/gradle-tooling-extension/groovy/com/demonwav/mcdev/platform/mcp/gradle/tooling/McpModelFG2BuilderImpl.groovy index fd3070124..5d6573ba0 100644 --- a/src/gradle-tooling-extension/groovy/com/demonwav/mcdev/platform/mcp/gradle/tooling/McpModelFG2BuilderImpl.groovy +++ b/src/gradle-tooling-extension/groovy/com/demonwav/mcdev/platform/mcp/gradle/tooling/McpModelFG2BuilderImpl.groovy @@ -3,7 +3,7 @@ * * https://minecraftdev.org * - * Copyright (c) 2021 minecraft-dev + * Copyright (c) 2022 minecraft-dev * * MIT License */ diff --git a/src/gradle-tooling-extension/groovy/com/demonwav/mcdev/platform/mcp/gradle/tooling/McpModelFG2Impl.groovy b/src/gradle-tooling-extension/groovy/com/demonwav/mcdev/platform/mcp/gradle/tooling/McpModelFG2Impl.groovy index 4b37b9127..4fe79f828 100644 --- a/src/gradle-tooling-extension/groovy/com/demonwav/mcdev/platform/mcp/gradle/tooling/McpModelFG2Impl.groovy +++ b/src/gradle-tooling-extension/groovy/com/demonwav/mcdev/platform/mcp/gradle/tooling/McpModelFG2Impl.groovy @@ -3,7 +3,7 @@ * * https://minecraftdev.org * - * Copyright (c) 2021 minecraft-dev + * Copyright (c) 2022 minecraft-dev * * MIT License */ diff --git a/src/gradle-tooling-extension/groovy/com/demonwav/mcdev/platform/mcp/gradle/tooling/McpModelFG3BuilderImpl.groovy b/src/gradle-tooling-extension/groovy/com/demonwav/mcdev/platform/mcp/gradle/tooling/McpModelFG3BuilderImpl.groovy index dadd4c338..d2281f32d 100644 --- a/src/gradle-tooling-extension/groovy/com/demonwav/mcdev/platform/mcp/gradle/tooling/McpModelFG3BuilderImpl.groovy +++ b/src/gradle-tooling-extension/groovy/com/demonwav/mcdev/platform/mcp/gradle/tooling/McpModelFG3BuilderImpl.groovy @@ -3,7 +3,7 @@ * * https://minecraftdev.org * - * Copyright (c) 2021 minecraft-dev + * Copyright (c) 2022 minecraft-dev * * MIT License */ diff --git a/src/gradle-tooling-extension/groovy/com/demonwav/mcdev/platform/mcp/gradle/tooling/McpModelFG3Impl.groovy b/src/gradle-tooling-extension/groovy/com/demonwav/mcdev/platform/mcp/gradle/tooling/McpModelFG3Impl.groovy index a6c624aac..1c4dcfef5 100644 --- a/src/gradle-tooling-extension/groovy/com/demonwav/mcdev/platform/mcp/gradle/tooling/McpModelFG3Impl.groovy +++ b/src/gradle-tooling-extension/groovy/com/demonwav/mcdev/platform/mcp/gradle/tooling/McpModelFG3Impl.groovy @@ -3,7 +3,7 @@ * * https://minecraftdev.org * - * Copyright (c) 2021 minecraft-dev + * Copyright (c) 2022 minecraft-dev * * MIT License */ diff --git a/src/gradle-tooling-extension/groovy/com/demonwav/mcdev/platform/mcp/gradle/tooling/archloom/ArchitecturyModelBuilderImpl.groovy b/src/gradle-tooling-extension/groovy/com/demonwav/mcdev/platform/mcp/gradle/tooling/archloom/ArchitecturyModelBuilderImpl.groovy index 5d97648cd..a429ab789 100644 --- a/src/gradle-tooling-extension/groovy/com/demonwav/mcdev/platform/mcp/gradle/tooling/archloom/ArchitecturyModelBuilderImpl.groovy +++ b/src/gradle-tooling-extension/groovy/com/demonwav/mcdev/platform/mcp/gradle/tooling/archloom/ArchitecturyModelBuilderImpl.groovy @@ -3,7 +3,7 @@ * * https://minecraftdev.org * - * Copyright (c) 2021 minecraft-dev + * Copyright (c) 2022 minecraft-dev * * MIT License */ diff --git a/src/gradle-tooling-extension/groovy/com/demonwav/mcdev/platform/mcp/gradle/tooling/archloom/ArchitecturyModelImpl.groovy b/src/gradle-tooling-extension/groovy/com/demonwav/mcdev/platform/mcp/gradle/tooling/archloom/ArchitecturyModelImpl.groovy index 084fc0765..6ddea83a5 100644 --- a/src/gradle-tooling-extension/groovy/com/demonwav/mcdev/platform/mcp/gradle/tooling/archloom/ArchitecturyModelImpl.groovy +++ b/src/gradle-tooling-extension/groovy/com/demonwav/mcdev/platform/mcp/gradle/tooling/archloom/ArchitecturyModelImpl.groovy @@ -3,7 +3,7 @@ * * https://minecraftdev.org * - * Copyright (c) 2021 minecraft-dev + * Copyright (c) 2022 minecraft-dev * * MIT License */ diff --git a/src/gradle-tooling-extension/groovy/com/demonwav/mcdev/platform/mcp/gradle/tooling/fabricloom/FabricLoomModelBuilderImpl.groovy b/src/gradle-tooling-extension/groovy/com/demonwav/mcdev/platform/mcp/gradle/tooling/fabricloom/FabricLoomModelBuilderImpl.groovy index 9e8ad64c3..b73a4a78c 100644 --- a/src/gradle-tooling-extension/groovy/com/demonwav/mcdev/platform/mcp/gradle/tooling/fabricloom/FabricLoomModelBuilderImpl.groovy +++ b/src/gradle-tooling-extension/groovy/com/demonwav/mcdev/platform/mcp/gradle/tooling/fabricloom/FabricLoomModelBuilderImpl.groovy @@ -3,7 +3,7 @@ * * https://minecraftdev.org * - * Copyright (c) 2021 minecraft-dev + * Copyright (c) 2022 minecraft-dev * * MIT License */ @@ -30,15 +30,50 @@ class FabricLoomModelBuilderImpl implements ModelBuilderService { } def loomExtension = project.extensions.getByName('loom') + + try { + return build(project, loomExtension) + } catch (GroovyRuntimeException ignored) { + // Must be using an older loom version, fallback. + return buildLegacy(project, loomExtension) + } + } + + FabricLoomModel build(Project project, Object loomExtension) { + def tinyMappings = loomExtension.mappingsFile + def splitMinecraftJar = loomExtension.areEnvironmentSourceSetsSplit() + + def decompilers = [:] + + if (splitMinecraftJar) { + decompilers << ["common": getDecompilers(loomExtension, false)] + decompilers << ["client": getDecompilers(loomExtension, true)] + } else { + decompilers << ["single": getDecompilers(loomExtension, false)] + } + + //noinspection GroovyAssignabilityCheck + return new FabricLoomModelImpl(tinyMappings, decompilers, splitMinecraftJar) + } + + List getDecompilers(Object loomExtension, boolean client) { + loomExtension.decompilerOptions.collect { + def task = loomExtension.getDecompileTask(it, client) + def sourcesPath = task.outputJar.get().getAsFile().getAbsolutePath() + new FabricLoomModelImpl.DecompilerModelImpl(name: it.name, taskName: task.name, sourcesPath: sourcesPath) + } + } + + FabricLoomModel buildLegacy(Project project, Object loomExtension) { def tinyMappings = loomExtension.mappingsProvider.tinyMappings.toFile().getAbsoluteFile() - def decompilers = loomExtension.decompilerOptions.collectEntries { + def decompilers = loomExtension.decompilerOptions.collect { def task = project.tasks.getByName('genSourcesWith' + it.name.capitalize()) def sourcesPath = task.runtimeJar.get().getAsFile().getAbsolutePath().dropRight(4) + "-sources.jar" - [it.name, sourcesPath] + new FabricLoomModelImpl.DecompilerModelImpl(name: it.name, taskName: task.name, sourcesPath: sourcesPath) } //noinspection GroovyAssignabilityCheck - return new FabricLoomModelImpl(tinyMappings, decompilers) + return new FabricLoomModelImpl(tinyMappings, ["single": decompilers], false) } @Override diff --git a/src/gradle-tooling-extension/groovy/com/demonwav/mcdev/platform/mcp/gradle/tooling/fabricloom/FabricLoomModelImpl.groovy b/src/gradle-tooling-extension/groovy/com/demonwav/mcdev/platform/mcp/gradle/tooling/fabricloom/FabricLoomModelImpl.groovy index 731a9e457..e9d16c5ea 100644 --- a/src/gradle-tooling-extension/groovy/com/demonwav/mcdev/platform/mcp/gradle/tooling/fabricloom/FabricLoomModelImpl.groovy +++ b/src/gradle-tooling-extension/groovy/com/demonwav/mcdev/platform/mcp/gradle/tooling/fabricloom/FabricLoomModelImpl.groovy @@ -3,30 +3,25 @@ * * https://minecraftdev.org * - * Copyright (c) 2021 minecraft-dev + * Copyright (c) 2022 minecraft-dev * * MIT License */ package com.demonwav.mcdev.platform.mcp.gradle.tooling.fabricloom -class FabricLoomModelImpl implements FabricLoomModel, Serializable { - - private final File tinyMappings - private final Map decompilers - - FabricLoomModelImpl(File tinyMappings, Map decompilers) { - this.tinyMappings = tinyMappings - this.decompilers = decompilers - } +import groovy.transform.Immutable - @Override - File getTinyMappings() { - return tinyMappings - } +@Immutable(knownImmutableClasses = [File]) +class FabricLoomModelImpl implements FabricLoomModel, Serializable { + File tinyMappings + Map> decompilers + boolean splitMinecraftJar - @Override - Map getDecompilers() { - return decompilers + @Immutable + static class DecompilerModelImpl implements DecompilerModel, Serializable { + String name + String taskName + String sourcesPath } } diff --git a/src/gradle-tooling-extension/groovy/com/demonwav/mcdev/platform/mcp/gradle/tooling/vanillagradle/VanillaGradleModelBuilderImpl.groovy b/src/gradle-tooling-extension/groovy/com/demonwav/mcdev/platform/mcp/gradle/tooling/vanillagradle/VanillaGradleModelBuilderImpl.groovy index 8ac68afc0..76a6a242c 100644 --- a/src/gradle-tooling-extension/groovy/com/demonwav/mcdev/platform/mcp/gradle/tooling/vanillagradle/VanillaGradleModelBuilderImpl.groovy +++ b/src/gradle-tooling-extension/groovy/com/demonwav/mcdev/platform/mcp/gradle/tooling/vanillagradle/VanillaGradleModelBuilderImpl.groovy @@ -3,7 +3,7 @@ * * https://minecraftdev.org * - * Copyright (c) 2021 minecraft-dev + * Copyright (c) 2022 minecraft-dev * * MIT License */ diff --git a/src/gradle-tooling-extension/groovy/com/demonwav/mcdev/platform/mcp/gradle/tooling/vanillagradle/VanillaGradleModelImpl.groovy b/src/gradle-tooling-extension/groovy/com/demonwav/mcdev/platform/mcp/gradle/tooling/vanillagradle/VanillaGradleModelImpl.groovy index c2c8715f5..74eac06cd 100644 --- a/src/gradle-tooling-extension/groovy/com/demonwav/mcdev/platform/mcp/gradle/tooling/vanillagradle/VanillaGradleModelImpl.groovy +++ b/src/gradle-tooling-extension/groovy/com/demonwav/mcdev/platform/mcp/gradle/tooling/vanillagradle/VanillaGradleModelImpl.groovy @@ -3,7 +3,7 @@ * * https://minecraftdev.org * - * Copyright (c) 2021 minecraft-dev + * Copyright (c) 2022 minecraft-dev * * MIT License */ diff --git a/src/gradle-tooling-extension/java/com/demonwav/mcdev/platform/mcp/gradle/tooling/McpModel.java b/src/gradle-tooling-extension/java/com/demonwav/mcdev/platform/mcp/gradle/tooling/McpModel.java index 253cabbb6..ed58e64c6 100644 --- a/src/gradle-tooling-extension/java/com/demonwav/mcdev/platform/mcp/gradle/tooling/McpModel.java +++ b/src/gradle-tooling-extension/java/com/demonwav/mcdev/platform/mcp/gradle/tooling/McpModel.java @@ -3,7 +3,7 @@ * * https://minecraftdev.org * - * Copyright (c) 2021 minecraft-dev + * Copyright (c) 2022 minecraft-dev * * MIT License */ diff --git a/src/gradle-tooling-extension/java/com/demonwav/mcdev/platform/mcp/gradle/tooling/McpModelFG2.java b/src/gradle-tooling-extension/java/com/demonwav/mcdev/platform/mcp/gradle/tooling/McpModelFG2.java index 3fa5b9cc4..1d63ff9db 100644 --- a/src/gradle-tooling-extension/java/com/demonwav/mcdev/platform/mcp/gradle/tooling/McpModelFG2.java +++ b/src/gradle-tooling-extension/java/com/demonwav/mcdev/platform/mcp/gradle/tooling/McpModelFG2.java @@ -3,7 +3,7 @@ * * https://minecraftdev.org * - * Copyright (c) 2021 minecraft-dev + * Copyright (c) 2022 minecraft-dev * * MIT License */ diff --git a/src/gradle-tooling-extension/java/com/demonwav/mcdev/platform/mcp/gradle/tooling/McpModelFG3.java b/src/gradle-tooling-extension/java/com/demonwav/mcdev/platform/mcp/gradle/tooling/McpModelFG3.java index 28ee1383a..e129af383 100644 --- a/src/gradle-tooling-extension/java/com/demonwav/mcdev/platform/mcp/gradle/tooling/McpModelFG3.java +++ b/src/gradle-tooling-extension/java/com/demonwav/mcdev/platform/mcp/gradle/tooling/McpModelFG3.java @@ -3,7 +3,7 @@ * * https://minecraftdev.org * - * Copyright (c) 2021 minecraft-dev + * Copyright (c) 2022 minecraft-dev * * MIT License */ diff --git a/src/gradle-tooling-extension/java/com/demonwav/mcdev/platform/mcp/gradle/tooling/archloom/ArchitecturyModel.java b/src/gradle-tooling-extension/java/com/demonwav/mcdev/platform/mcp/gradle/tooling/archloom/ArchitecturyModel.java index 8c0584036..cdeb391c0 100644 --- a/src/gradle-tooling-extension/java/com/demonwav/mcdev/platform/mcp/gradle/tooling/archloom/ArchitecturyModel.java +++ b/src/gradle-tooling-extension/java/com/demonwav/mcdev/platform/mcp/gradle/tooling/archloom/ArchitecturyModel.java @@ -3,7 +3,7 @@ * * https://minecraftdev.org * - * Copyright (c) 2021 minecraft-dev + * Copyright (c) 2022 minecraft-dev * * MIT License */ diff --git a/src/gradle-tooling-extension/java/com/demonwav/mcdev/platform/mcp/gradle/tooling/fabricloom/FabricLoomModel.java b/src/gradle-tooling-extension/java/com/demonwav/mcdev/platform/mcp/gradle/tooling/fabricloom/FabricLoomModel.java index abfe60deb..339a06dbf 100644 --- a/src/gradle-tooling-extension/java/com/demonwav/mcdev/platform/mcp/gradle/tooling/fabricloom/FabricLoomModel.java +++ b/src/gradle-tooling-extension/java/com/demonwav/mcdev/platform/mcp/gradle/tooling/fabricloom/FabricLoomModel.java @@ -3,7 +3,7 @@ * * https://minecraftdev.org * - * Copyright (c) 2021 minecraft-dev + * Copyright (c) 2022 minecraft-dev * * MIT License */ @@ -11,11 +11,23 @@ package com.demonwav.mcdev.platform.mcp.gradle.tooling.fabricloom; import java.io.File; +import java.util.List; import java.util.Map; public interface FabricLoomModel { File getTinyMappings(); - Map getDecompilers(); + Map> getDecompilers(); + + boolean getSplitMinecraftJar(); + + interface DecompilerModel { + + String getName(); + + String getTaskName(); + + String getSourcesPath(); + } } diff --git a/src/gradle-tooling-extension/java/com/demonwav/mcdev/platform/mcp/gradle/tooling/vanillagradle/VanillaGradleModel.java b/src/gradle-tooling-extension/java/com/demonwav/mcdev/platform/mcp/gradle/tooling/vanillagradle/VanillaGradleModel.java index b9d375b06..65dcaf780 100644 --- a/src/gradle-tooling-extension/java/com/demonwav/mcdev/platform/mcp/gradle/tooling/vanillagradle/VanillaGradleModel.java +++ b/src/gradle-tooling-extension/java/com/demonwav/mcdev/platform/mcp/gradle/tooling/vanillagradle/VanillaGradleModel.java @@ -3,7 +3,7 @@ * * https://minecraftdev.org * - * Copyright (c) 2021 minecraft-dev + * Copyright (c) 2022 minecraft-dev * * MIT License */ diff --git a/src/main/grammars/AtLexer.flex b/src/main/grammars/AtLexer.flex index 1c148513a..e51beaa5e 100644 --- a/src/main/grammars/AtLexer.flex +++ b/src/main/grammars/AtLexer.flex @@ -3,7 +3,7 @@ * * https://minecraftdev.org * - * Copyright (c) 2021 minecraft-dev + * Copyright (c) 2022 minecraft-dev * * MIT License */ diff --git a/src/main/grammars/AtParser.bnf b/src/main/grammars/AtParser.bnf index b2700a19b..53381eb75 100644 --- a/src/main/grammars/AtParser.bnf +++ b/src/main/grammars/AtParser.bnf @@ -3,7 +3,7 @@ * * https://minecraftdev.org * - * Copyright (c) 2021 minecraft-dev + * Copyright (c) 2022 minecraft-dev * * MIT License */ diff --git a/src/main/grammars/AwLexer.flex b/src/main/grammars/AwLexer.flex index a6f285ad7..28cdb6fd5 100644 --- a/src/main/grammars/AwLexer.flex +++ b/src/main/grammars/AwLexer.flex @@ -3,7 +3,7 @@ * * https://minecraftdev.org * - * Copyright (c) 2021 minecraft-dev + * Copyright (c) 2022 minecraft-dev * * MIT License */ diff --git a/src/main/grammars/AwParser.bnf b/src/main/grammars/AwParser.bnf index ed62e8c0d..47d8bfb72 100644 --- a/src/main/grammars/AwParser.bnf +++ b/src/main/grammars/AwParser.bnf @@ -3,7 +3,7 @@ * * https://minecraftdev.org * - * Copyright (c) 2021 minecraft-dev + * Copyright (c) 2022 minecraft-dev * * MIT License */ diff --git a/src/main/grammars/LangLexer.flex b/src/main/grammars/LangLexer.flex index 55d945e63..5fcc2946f 100644 --- a/src/main/grammars/LangLexer.flex +++ b/src/main/grammars/LangLexer.flex @@ -3,7 +3,7 @@ * * https://minecraftdev.org * - * Copyright (c) 2021 minecraft-dev + * Copyright (c) 2022 minecraft-dev * * MIT License */ diff --git a/src/main/grammars/LangParser.bnf b/src/main/grammars/LangParser.bnf index 97c4a0f83..e7173f07a 100644 --- a/src/main/grammars/LangParser.bnf +++ b/src/main/grammars/LangParser.bnf @@ -3,7 +3,7 @@ * * https://minecraftdev.org * - * Copyright (c) 2021 minecraft-dev + * Copyright (c) 2022 minecraft-dev * * MIT License */ diff --git a/src/main/grammars/NbttLexer.flex b/src/main/grammars/NbttLexer.flex index 1834ccf5e..a742b3718 100644 --- a/src/main/grammars/NbttLexer.flex +++ b/src/main/grammars/NbttLexer.flex @@ -3,7 +3,7 @@ * * https://minecraftdev.org * - * Copyright (c) 2021 minecraft-dev + * Copyright (c) 2022 minecraft-dev * * MIT License */ diff --git a/src/main/grammars/NbttParser.bnf b/src/main/grammars/NbttParser.bnf index d5c0a43b3..2f2ed786e 100644 --- a/src/main/grammars/NbttParser.bnf +++ b/src/main/grammars/NbttParser.bnf @@ -3,7 +3,7 @@ * * https://minecraftdev.org * - * Copyright (c) 2021 minecraft-dev + * Copyright (c) 2022 minecraft-dev * * MIT License */ diff --git a/src/main/grammars/TranslationTemplateLexer.flex b/src/main/grammars/TranslationTemplateLexer.flex index cf4b34d36..36e925f0e 100644 --- a/src/main/grammars/TranslationTemplateLexer.flex +++ b/src/main/grammars/TranslationTemplateLexer.flex @@ -3,7 +3,7 @@ * * https://minecraftdev.org * - * Copyright (c) 2021 minecraft-dev + * Copyright (c) 2022 minecraft-dev * * MIT License */ diff --git a/src/main/kotlin/MinecraftConfigurable.kt b/src/main/kotlin/MinecraftConfigurable.kt index 152ae4421..c9eda4331 100644 --- a/src/main/kotlin/MinecraftConfigurable.kt +++ b/src/main/kotlin/MinecraftConfigurable.kt @@ -3,7 +3,7 @@ * * https://minecraftdev.org * - * Copyright (c) 2021 minecraft-dev + * Copyright (c) 2022 minecraft-dev * * MIT License */ diff --git a/src/main/kotlin/MinecraftSettings.kt b/src/main/kotlin/MinecraftSettings.kt index b2aa9b233..9c45c658c 100644 --- a/src/main/kotlin/MinecraftSettings.kt +++ b/src/main/kotlin/MinecraftSettings.kt @@ -3,7 +3,7 @@ * * https://minecraftdev.org * - * Copyright (c) 2021 minecraft-dev + * Copyright (c) 2022 minecraft-dev * * MIT License */ diff --git a/src/main/kotlin/asset/Assets.kt b/src/main/kotlin/asset/Assets.kt index 805a38ab1..88a562de8 100644 --- a/src/main/kotlin/asset/Assets.kt +++ b/src/main/kotlin/asset/Assets.kt @@ -3,7 +3,7 @@ * * https://minecraftdev.org * - * Copyright (c) 2021 minecraft-dev + * Copyright (c) 2022 minecraft-dev * * MIT License */ diff --git a/src/main/kotlin/asset/GeneralAssets.kt b/src/main/kotlin/asset/GeneralAssets.kt index 2fa0ecc34..8d2eae9c1 100644 --- a/src/main/kotlin/asset/GeneralAssets.kt +++ b/src/main/kotlin/asset/GeneralAssets.kt @@ -3,7 +3,7 @@ * * https://minecraftdev.org * - * Copyright (c) 2021 minecraft-dev + * Copyright (c) 2022 minecraft-dev * * MIT License */ diff --git a/src/main/kotlin/asset/MCDevBundle.kt b/src/main/kotlin/asset/MCDevBundle.kt index 7880c8778..34b3c99be 100644 --- a/src/main/kotlin/asset/MCDevBundle.kt +++ b/src/main/kotlin/asset/MCDevBundle.kt @@ -3,7 +3,7 @@ * * https://minecraftdev.org * - * Copyright (c) 2021 minecraft-dev + * Copyright (c) 2022 minecraft-dev * * MIT License */ diff --git a/src/main/kotlin/asset/MixinAssets.kt b/src/main/kotlin/asset/MixinAssets.kt index a94bddf91..3f2fa3fcb 100644 --- a/src/main/kotlin/asset/MixinAssets.kt +++ b/src/main/kotlin/asset/MixinAssets.kt @@ -3,7 +3,7 @@ * * https://minecraftdev.org * - * Copyright (c) 2021 minecraft-dev + * Copyright (c) 2022 minecraft-dev * * MIT License */ diff --git a/src/main/kotlin/asset/PlatformAssets.kt b/src/main/kotlin/asset/PlatformAssets.kt index 961d887dc..75538ffed 100644 --- a/src/main/kotlin/asset/PlatformAssets.kt +++ b/src/main/kotlin/asset/PlatformAssets.kt @@ -3,7 +3,7 @@ * * https://minecraftdev.org * - * Copyright (c) 2021 minecraft-dev + * Copyright (c) 2022 minecraft-dev * * MIT License */ diff --git a/src/main/kotlin/creator/BuildSystemWizardStep.kt b/src/main/kotlin/creator/BuildSystemWizardStep.kt index 08fd921df..70a45c9ff 100644 --- a/src/main/kotlin/creator/BuildSystemWizardStep.kt +++ b/src/main/kotlin/creator/BuildSystemWizardStep.kt @@ -3,7 +3,7 @@ * * https://minecraftdev.org * - * Copyright (c) 2021 minecraft-dev + * Copyright (c) 2022 minecraft-dev * * MIT License */ diff --git a/src/main/kotlin/creator/CreatorStep.kt b/src/main/kotlin/creator/CreatorStep.kt index f9a1011e0..1747b305a 100644 --- a/src/main/kotlin/creator/CreatorStep.kt +++ b/src/main/kotlin/creator/CreatorStep.kt @@ -3,7 +3,7 @@ * * https://minecraftdev.org * - * Copyright (c) 2021 minecraft-dev + * Copyright (c) 2022 minecraft-dev * * MIT License */ diff --git a/src/main/kotlin/creator/LicenseStep.kt b/src/main/kotlin/creator/LicenseStep.kt index 28ece8039..a00b3d657 100644 --- a/src/main/kotlin/creator/LicenseStep.kt +++ b/src/main/kotlin/creator/LicenseStep.kt @@ -3,7 +3,7 @@ * * https://minecraftdev.org * - * Copyright (c) 2021 minecraft-dev + * Copyright (c) 2022 minecraft-dev * * MIT License */ diff --git a/src/main/kotlin/creator/MinecraftModuleBuilder.kt b/src/main/kotlin/creator/MinecraftModuleBuilder.kt index 7af8a968a..8d2c65eb4 100644 --- a/src/main/kotlin/creator/MinecraftModuleBuilder.kt +++ b/src/main/kotlin/creator/MinecraftModuleBuilder.kt @@ -3,7 +3,7 @@ * * https://minecraftdev.org * - * Copyright (c) 2021 minecraft-dev + * Copyright (c) 2022 minecraft-dev * * MIT License */ diff --git a/src/main/kotlin/creator/MinecraftModuleWizardStep.kt b/src/main/kotlin/creator/MinecraftModuleWizardStep.kt index 2274da2e3..28cb0932b 100644 --- a/src/main/kotlin/creator/MinecraftModuleWizardStep.kt +++ b/src/main/kotlin/creator/MinecraftModuleWizardStep.kt @@ -3,7 +3,7 @@ * * https://minecraftdev.org * - * Copyright (c) 2021 minecraft-dev + * Copyright (c) 2022 minecraft-dev * * MIT License */ diff --git a/src/main/kotlin/creator/MinecraftProjectCreator.kt b/src/main/kotlin/creator/MinecraftProjectCreator.kt index 1a8b907f3..f6a059ea3 100644 --- a/src/main/kotlin/creator/MinecraftProjectCreator.kt +++ b/src/main/kotlin/creator/MinecraftProjectCreator.kt @@ -3,7 +3,7 @@ * * https://minecraftdev.org * - * Copyright (c) 2021 minecraft-dev + * Copyright (c) 2022 minecraft-dev * * MIT License */ diff --git a/src/main/kotlin/creator/PlatformChooserWizardStep.kt b/src/main/kotlin/creator/PlatformChooserWizardStep.kt index 9ffdb0a57..5c0aecbf7 100644 --- a/src/main/kotlin/creator/PlatformChooserWizardStep.kt +++ b/src/main/kotlin/creator/PlatformChooserWizardStep.kt @@ -3,7 +3,7 @@ * * https://minecraftdev.org * - * Copyright (c) 2021 minecraft-dev + * Copyright (c) 2022 minecraft-dev * * MIT License */ diff --git a/src/main/kotlin/creator/PlatformVersion.kt b/src/main/kotlin/creator/PlatformVersion.kt index 754de5020..8accb80e5 100644 --- a/src/main/kotlin/creator/PlatformVersion.kt +++ b/src/main/kotlin/creator/PlatformVersion.kt @@ -3,7 +3,7 @@ * * https://minecraftdev.org * - * Copyright (c) 2021 minecraft-dev + * Copyright (c) 2022 minecraft-dev * * MIT License */ diff --git a/src/main/kotlin/creator/ProjectConfig.kt b/src/main/kotlin/creator/ProjectConfig.kt index 394c0f09d..5001f979a 100644 --- a/src/main/kotlin/creator/ProjectConfig.kt +++ b/src/main/kotlin/creator/ProjectConfig.kt @@ -3,7 +3,7 @@ * * https://minecraftdev.org * - * Copyright (c) 2021 minecraft-dev + * Copyright (c) 2022 minecraft-dev * * MIT License */ diff --git a/src/main/kotlin/creator/ProjectCreator.kt b/src/main/kotlin/creator/ProjectCreator.kt index 9eaa4be22..41a27ee70 100644 --- a/src/main/kotlin/creator/ProjectCreator.kt +++ b/src/main/kotlin/creator/ProjectCreator.kt @@ -3,7 +3,7 @@ * * https://minecraftdev.org * - * Copyright (c) 2021 minecraft-dev + * Copyright (c) 2022 minecraft-dev * * MIT License */ diff --git a/src/main/kotlin/creator/ProjectSetupFinalizerWizardStep.kt b/src/main/kotlin/creator/ProjectSetupFinalizerWizardStep.kt index 1954c9a61..4fadb53c7 100644 --- a/src/main/kotlin/creator/ProjectSetupFinalizerWizardStep.kt +++ b/src/main/kotlin/creator/ProjectSetupFinalizerWizardStep.kt @@ -3,7 +3,7 @@ * * https://minecraftdev.org * - * Copyright (c) 2021 minecraft-dev + * Copyright (c) 2022 minecraft-dev * * MIT License */ diff --git a/src/main/kotlin/creator/buildsystem/BuildSystem.kt b/src/main/kotlin/creator/buildsystem/BuildSystem.kt index 7f5daae56..a1b99a118 100644 --- a/src/main/kotlin/creator/buildsystem/BuildSystem.kt +++ b/src/main/kotlin/creator/buildsystem/BuildSystem.kt @@ -3,7 +3,7 @@ * * https://minecraftdev.org * - * Copyright (c) 2021 minecraft-dev + * Copyright (c) 2022 minecraft-dev * * MIT License */ diff --git a/src/main/kotlin/creator/buildsystem/BuildSystemTemplate.kt b/src/main/kotlin/creator/buildsystem/BuildSystemTemplate.kt index 0294b57a9..86771feb4 100644 --- a/src/main/kotlin/creator/buildsystem/BuildSystemTemplate.kt +++ b/src/main/kotlin/creator/buildsystem/BuildSystemTemplate.kt @@ -3,7 +3,7 @@ * * https://minecraftdev.org * - * Copyright (c) 2021 minecraft-dev + * Copyright (c) 2022 minecraft-dev * * MIT License */ diff --git a/src/main/kotlin/creator/buildsystem/DirectorySet.kt b/src/main/kotlin/creator/buildsystem/DirectorySet.kt index 77d25ba7d..53780937a 100644 --- a/src/main/kotlin/creator/buildsystem/DirectorySet.kt +++ b/src/main/kotlin/creator/buildsystem/DirectorySet.kt @@ -3,7 +3,7 @@ * * https://minecraftdev.org * - * Copyright (c) 2021 minecraft-dev + * Copyright (c) 2022 minecraft-dev * * MIT License */ diff --git a/src/main/kotlin/creator/buildsystem/gradle/GradleBuildSystem.kt b/src/main/kotlin/creator/buildsystem/gradle/GradleBuildSystem.kt index c65ce596e..e1e29ac1e 100644 --- a/src/main/kotlin/creator/buildsystem/gradle/GradleBuildSystem.kt +++ b/src/main/kotlin/creator/buildsystem/gradle/GradleBuildSystem.kt @@ -3,7 +3,7 @@ * * https://minecraftdev.org * - * Copyright (c) 2021 minecraft-dev + * Copyright (c) 2022 minecraft-dev * * MIT License */ diff --git a/src/main/kotlin/creator/buildsystem/gradle/gradle-steps.kt b/src/main/kotlin/creator/buildsystem/gradle/gradle-steps.kt index e0db4370f..2f4396e97 100644 --- a/src/main/kotlin/creator/buildsystem/gradle/gradle-steps.kt +++ b/src/main/kotlin/creator/buildsystem/gradle/gradle-steps.kt @@ -3,7 +3,7 @@ * * https://minecraftdev.org * - * Copyright (c) 2021 minecraft-dev + * Copyright (c) 2022 minecraft-dev * * MIT License */ diff --git a/src/main/kotlin/creator/buildsystem/maven/MavenBuildSystem.kt b/src/main/kotlin/creator/buildsystem/maven/MavenBuildSystem.kt index c2443da21..0368e9cce 100644 --- a/src/main/kotlin/creator/buildsystem/maven/MavenBuildSystem.kt +++ b/src/main/kotlin/creator/buildsystem/maven/MavenBuildSystem.kt @@ -3,7 +3,7 @@ * * https://minecraftdev.org * - * Copyright (c) 2021 minecraft-dev + * Copyright (c) 2022 minecraft-dev * * MIT License */ diff --git a/src/main/kotlin/creator/buildsystem/maven/maven-steps.kt b/src/main/kotlin/creator/buildsystem/maven/maven-steps.kt index 02d42d7ca..04621defb 100644 --- a/src/main/kotlin/creator/buildsystem/maven/maven-steps.kt +++ b/src/main/kotlin/creator/buildsystem/maven/maven-steps.kt @@ -3,7 +3,7 @@ * * https://minecraftdev.org * - * Copyright (c) 2021 minecraft-dev + * Copyright (c) 2022 minecraft-dev * * MIT License */ diff --git a/src/main/kotlin/creator/exception/ProjectCreatorException.kt b/src/main/kotlin/creator/exception/ProjectCreatorException.kt index d48da232d..fbea8a307 100644 --- a/src/main/kotlin/creator/exception/ProjectCreatorException.kt +++ b/src/main/kotlin/creator/exception/ProjectCreatorException.kt @@ -3,7 +3,7 @@ * * https://minecraftdev.org * - * Copyright (c) 2021 minecraft-dev + * Copyright (c) 2022 minecraft-dev * * MIT License */ diff --git a/src/main/kotlin/creator/exception/SetupException.kt b/src/main/kotlin/creator/exception/SetupException.kt index 6401da499..691db2a27 100644 --- a/src/main/kotlin/creator/exception/SetupException.kt +++ b/src/main/kotlin/creator/exception/SetupException.kt @@ -3,7 +3,7 @@ * * https://minecraftdev.org * - * Copyright (c) 2021 minecraft-dev + * Copyright (c) 2022 minecraft-dev * * MIT License */ diff --git a/src/main/kotlin/creator/field-validation.kt b/src/main/kotlin/creator/field-validation.kt index a2697c3ac..5fbe08349 100644 --- a/src/main/kotlin/creator/field-validation.kt +++ b/src/main/kotlin/creator/field-validation.kt @@ -3,7 +3,7 @@ * * https://minecraftdev.org * - * Copyright (c) 2021 minecraft-dev + * Copyright (c) 2022 minecraft-dev * * MIT License */ diff --git a/src/main/kotlin/errorreporter/AnonymousFeedback.kt b/src/main/kotlin/errorreporter/AnonymousFeedback.kt index 36e405a17..e51111e09 100644 --- a/src/main/kotlin/errorreporter/AnonymousFeedback.kt +++ b/src/main/kotlin/errorreporter/AnonymousFeedback.kt @@ -3,7 +3,7 @@ * * https://minecraftdev.org * - * Copyright (c) 2021 minecraft-dev + * Copyright (c) 2022 minecraft-dev * * MIT License */ diff --git a/src/main/kotlin/errorreporter/AnonymousFeedbackTask.kt b/src/main/kotlin/errorreporter/AnonymousFeedbackTask.kt index 1cbf35906..14c429e8d 100644 --- a/src/main/kotlin/errorreporter/AnonymousFeedbackTask.kt +++ b/src/main/kotlin/errorreporter/AnonymousFeedbackTask.kt @@ -3,7 +3,7 @@ * * https://minecraftdev.org * - * Copyright (c) 2021 minecraft-dev + * Copyright (c) 2022 minecraft-dev * * MIT License */ diff --git a/src/main/kotlin/errorreporter/ErrorData.kt b/src/main/kotlin/errorreporter/ErrorData.kt index f9545d477..6d19d1fa6 100644 --- a/src/main/kotlin/errorreporter/ErrorData.kt +++ b/src/main/kotlin/errorreporter/ErrorData.kt @@ -3,7 +3,7 @@ * * https://minecraftdev.org * - * Copyright (c) 2021 minecraft-dev + * Copyright (c) 2022 minecraft-dev * * MIT License */ diff --git a/src/main/kotlin/errorreporter/ErrorReporter.kt b/src/main/kotlin/errorreporter/ErrorReporter.kt index 2203f803b..53edadcee 100644 --- a/src/main/kotlin/errorreporter/ErrorReporter.kt +++ b/src/main/kotlin/errorreporter/ErrorReporter.kt @@ -3,7 +3,7 @@ * * https://minecraftdev.org * - * Copyright (c) 2021 minecraft-dev + * Copyright (c) 2022 minecraft-dev * * MIT License */ diff --git a/src/main/kotlin/errorreporter/LinkedStackTraceElement.kt b/src/main/kotlin/errorreporter/LinkedStackTraceElement.kt index cbfbf26e6..88c71c7fe 100644 --- a/src/main/kotlin/errorreporter/LinkedStackTraceElement.kt +++ b/src/main/kotlin/errorreporter/LinkedStackTraceElement.kt @@ -3,7 +3,7 @@ * * https://minecraftdev.org * - * Copyright (c) 2021 minecraft-dev + * Copyright (c) 2022 minecraft-dev * * MIT License */ diff --git a/src/main/kotlin/errorreporter/package-info.kt b/src/main/kotlin/errorreporter/package-info.kt index 32b935100..1451fd8ca 100644 --- a/src/main/kotlin/errorreporter/package-info.kt +++ b/src/main/kotlin/errorreporter/package-info.kt @@ -3,7 +3,7 @@ * * https://minecraftdev.org * - * Copyright (c) 2021 minecraft-dev + * Copyright (c) 2022 minecraft-dev * * MIT License */ diff --git a/src/main/kotlin/facet/LibraryPresentationProviders.kt b/src/main/kotlin/facet/LibraryPresentationProviders.kt index 751f4f2cf..a477ea5a0 100644 --- a/src/main/kotlin/facet/LibraryPresentationProviders.kt +++ b/src/main/kotlin/facet/LibraryPresentationProviders.kt @@ -3,7 +3,7 @@ * * https://minecraftdev.org * - * Copyright (c) 2021 minecraft-dev + * Copyright (c) 2022 minecraft-dev * * MIT License */ diff --git a/src/main/kotlin/facet/MinecraftFacet.kt b/src/main/kotlin/facet/MinecraftFacet.kt index eba37cda2..c54c763ff 100644 --- a/src/main/kotlin/facet/MinecraftFacet.kt +++ b/src/main/kotlin/facet/MinecraftFacet.kt @@ -3,7 +3,7 @@ * * https://minecraftdev.org * - * Copyright (c) 2021 minecraft-dev + * Copyright (c) 2022 minecraft-dev * * MIT License */ diff --git a/src/main/kotlin/facet/MinecraftFacetConfiguration.kt b/src/main/kotlin/facet/MinecraftFacetConfiguration.kt index 0a89c5d91..87a19af53 100644 --- a/src/main/kotlin/facet/MinecraftFacetConfiguration.kt +++ b/src/main/kotlin/facet/MinecraftFacetConfiguration.kt @@ -3,7 +3,7 @@ * * https://minecraftdev.org * - * Copyright (c) 2021 minecraft-dev + * Copyright (c) 2022 minecraft-dev * * MIT License */ diff --git a/src/main/kotlin/facet/MinecraftFacetDetector.kt b/src/main/kotlin/facet/MinecraftFacetDetector.kt index bd5cb5b8a..a7b5eac17 100644 --- a/src/main/kotlin/facet/MinecraftFacetDetector.kt +++ b/src/main/kotlin/facet/MinecraftFacetDetector.kt @@ -3,7 +3,7 @@ * * https://minecraftdev.org * - * Copyright (c) 2021 minecraft-dev + * Copyright (c) 2022 minecraft-dev * * MIT License */ diff --git a/src/main/kotlin/facet/MinecraftFacetEditorTab.kt b/src/main/kotlin/facet/MinecraftFacetEditorTab.kt index 71efa4529..839b7125f 100644 --- a/src/main/kotlin/facet/MinecraftFacetEditorTab.kt +++ b/src/main/kotlin/facet/MinecraftFacetEditorTab.kt @@ -3,7 +3,7 @@ * * https://minecraftdev.org * - * Copyright (c) 2021 minecraft-dev + * Copyright (c) 2022 minecraft-dev * * MIT License */ diff --git a/src/main/kotlin/facet/MinecraftFacetType.kt b/src/main/kotlin/facet/MinecraftFacetType.kt index fa9cc47dd..377b522ac 100644 --- a/src/main/kotlin/facet/MinecraftFacetType.kt +++ b/src/main/kotlin/facet/MinecraftFacetType.kt @@ -3,7 +3,7 @@ * * https://minecraftdev.org * - * Copyright (c) 2021 minecraft-dev + * Copyright (c) 2022 minecraft-dev * * MIT License */ diff --git a/src/main/kotlin/facet/MinecraftLibraryKinds.kt b/src/main/kotlin/facet/MinecraftLibraryKinds.kt index ece9e7f6d..c1174b840 100644 --- a/src/main/kotlin/facet/MinecraftLibraryKinds.kt +++ b/src/main/kotlin/facet/MinecraftLibraryKinds.kt @@ -3,7 +3,7 @@ * * https://minecraftdev.org * - * Copyright (c) 2021 minecraft-dev + * Copyright (c) 2022 minecraft-dev * * MIT License */ diff --git a/src/main/kotlin/insight/ColorAnnotator.kt b/src/main/kotlin/insight/ColorAnnotator.kt index e9e915d1f..d36806c00 100644 --- a/src/main/kotlin/insight/ColorAnnotator.kt +++ b/src/main/kotlin/insight/ColorAnnotator.kt @@ -3,7 +3,7 @@ * * https://minecraftdev.org * - * Copyright (c) 2021 minecraft-dev + * Copyright (c) 2022 minecraft-dev * * MIT License */ diff --git a/src/main/kotlin/insight/ColorLineMarkerProvider.kt b/src/main/kotlin/insight/ColorLineMarkerProvider.kt index 22be92403..7d11548cf 100644 --- a/src/main/kotlin/insight/ColorLineMarkerProvider.kt +++ b/src/main/kotlin/insight/ColorLineMarkerProvider.kt @@ -3,7 +3,7 @@ * * https://minecraftdev.org * - * Copyright (c) 2021 minecraft-dev + * Copyright (c) 2022 minecraft-dev * * MIT License */ diff --git a/src/main/kotlin/insight/ColorPicker.kt b/src/main/kotlin/insight/ColorPicker.kt index fc61314b8..4ca5aa519 100644 --- a/src/main/kotlin/insight/ColorPicker.kt +++ b/src/main/kotlin/insight/ColorPicker.kt @@ -3,7 +3,7 @@ * * https://minecraftdev.org * - * Copyright (c) 2021 minecraft-dev + * Copyright (c) 2022 minecraft-dev * * MIT License */ diff --git a/src/main/kotlin/insight/ColorUtil.kt b/src/main/kotlin/insight/ColorUtil.kt index 7c22054bb..d9a2cc56b 100644 --- a/src/main/kotlin/insight/ColorUtil.kt +++ b/src/main/kotlin/insight/ColorUtil.kt @@ -3,7 +3,7 @@ * * https://minecraftdev.org * - * Copyright (c) 2021 minecraft-dev + * Copyright (c) 2022 minecraft-dev * * MIT License */ diff --git a/src/main/kotlin/insight/InsightUtil.kt b/src/main/kotlin/insight/InsightUtil.kt index 1742b836f..ea763843e 100644 --- a/src/main/kotlin/insight/InsightUtil.kt +++ b/src/main/kotlin/insight/InsightUtil.kt @@ -3,7 +3,7 @@ * * https://minecraftdev.org * - * Copyright (c) 2021 minecraft-dev + * Copyright (c) 2022 minecraft-dev * * MIT License */ @@ -57,6 +57,7 @@ val UMethod.uastEventParameterPair: Pair? get() { val firstParameter = this.uastParameters.firstOrNull() ?: return null // Listeners must have at least a single parameter + // Get the type of the parameter so we can start resolving it @Suppress("UElementAsPsi") // UVariable overrides getType so it should be fine to use on UElements... diff --git a/src/main/kotlin/insight/ListenerEventAnnotator.kt b/src/main/kotlin/insight/ListenerEventAnnotator.kt index 2a6196de6..9a133d7f6 100644 --- a/src/main/kotlin/insight/ListenerEventAnnotator.kt +++ b/src/main/kotlin/insight/ListenerEventAnnotator.kt @@ -3,7 +3,7 @@ * * https://minecraftdev.org * - * Copyright (c) 2021 minecraft-dev + * Copyright (c) 2022 minecraft-dev * * MIT License */ diff --git a/src/main/kotlin/insight/ListenerLineMarkerProvider.kt b/src/main/kotlin/insight/ListenerLineMarkerProvider.kt index 2b8c96d9f..5f129d49a 100644 --- a/src/main/kotlin/insight/ListenerLineMarkerProvider.kt +++ b/src/main/kotlin/insight/ListenerLineMarkerProvider.kt @@ -3,7 +3,7 @@ * * https://minecraftdev.org * - * Copyright (c) 2021 minecraft-dev + * Copyright (c) 2022 minecraft-dev * * MIT License */ diff --git a/src/main/kotlin/insight/PluginLineMarkerProvider.kt b/src/main/kotlin/insight/PluginLineMarkerProvider.kt index b5d4003ca..50266eee1 100644 --- a/src/main/kotlin/insight/PluginLineMarkerProvider.kt +++ b/src/main/kotlin/insight/PluginLineMarkerProvider.kt @@ -3,7 +3,7 @@ * * https://minecraftdev.org * - * Copyright (c) 2021 minecraft-dev + * Copyright (c) 2022 minecraft-dev * * MIT License */ diff --git a/src/main/kotlin/insight/generation/GenerateEventListenerAction.kt b/src/main/kotlin/insight/generation/GenerateEventListenerAction.kt index fe82d9bc0..50084d337 100644 --- a/src/main/kotlin/insight/generation/GenerateEventListenerAction.kt +++ b/src/main/kotlin/insight/generation/GenerateEventListenerAction.kt @@ -3,7 +3,7 @@ * * https://minecraftdev.org * - * Copyright (c) 2021 minecraft-dev + * Copyright (c) 2022 minecraft-dev * * MIT License */ diff --git a/src/main/kotlin/insight/generation/GenerateEventListenerHandler.kt b/src/main/kotlin/insight/generation/GenerateEventListenerHandler.kt index 72453a54c..90f8373e7 100644 --- a/src/main/kotlin/insight/generation/GenerateEventListenerHandler.kt +++ b/src/main/kotlin/insight/generation/GenerateEventListenerHandler.kt @@ -3,7 +3,7 @@ * * https://minecraftdev.org * - * Copyright (c) 2021 minecraft-dev + * Copyright (c) 2022 minecraft-dev * * MIT License */ diff --git a/src/main/kotlin/insight/generation/GenerationData.kt b/src/main/kotlin/insight/generation/GenerationData.kt index fa48fc93d..9884da3a3 100644 --- a/src/main/kotlin/insight/generation/GenerationData.kt +++ b/src/main/kotlin/insight/generation/GenerationData.kt @@ -3,7 +3,7 @@ * * https://minecraftdev.org * - * Copyright (c) 2021 minecraft-dev + * Copyright (c) 2022 minecraft-dev * * MIT License */ diff --git a/src/main/kotlin/insight/generation/MinecraftClassCreateAction.kt b/src/main/kotlin/insight/generation/MinecraftClassCreateAction.kt index 3f751b5be..3d131592d 100644 --- a/src/main/kotlin/insight/generation/MinecraftClassCreateAction.kt +++ b/src/main/kotlin/insight/generation/MinecraftClassCreateAction.kt @@ -3,7 +3,7 @@ * * https://minecraftdev.org * - * Copyright (c) 2021 minecraft-dev + * Copyright (c) 2022 minecraft-dev * * MIT License */ diff --git a/src/main/kotlin/insight/generation/ui/EventGenerationDialog.kt b/src/main/kotlin/insight/generation/ui/EventGenerationDialog.kt index 4160f9ab4..a3f6cf1f6 100644 --- a/src/main/kotlin/insight/generation/ui/EventGenerationDialog.kt +++ b/src/main/kotlin/insight/generation/ui/EventGenerationDialog.kt @@ -3,7 +3,7 @@ * * https://minecraftdev.org * - * Copyright (c) 2021 minecraft-dev + * Copyright (c) 2022 minecraft-dev * * MIT License */ diff --git a/src/main/kotlin/insight/generation/ui/EventGenerationPanel.kt b/src/main/kotlin/insight/generation/ui/EventGenerationPanel.kt index 1ee164f53..bb309716e 100644 --- a/src/main/kotlin/insight/generation/ui/EventGenerationPanel.kt +++ b/src/main/kotlin/insight/generation/ui/EventGenerationPanel.kt @@ -3,7 +3,7 @@ * * https://minecraftdev.org * - * Copyright (c) 2021 minecraft-dev + * Copyright (c) 2022 minecraft-dev * * MIT License */ diff --git a/src/main/kotlin/insight/generation/ui/EventListenerWizard.kt b/src/main/kotlin/insight/generation/ui/EventListenerWizard.kt index 22235f78a..f14bc0d5b 100644 --- a/src/main/kotlin/insight/generation/ui/EventListenerWizard.kt +++ b/src/main/kotlin/insight/generation/ui/EventListenerWizard.kt @@ -3,7 +3,7 @@ * * https://minecraftdev.org * - * Copyright (c) 2021 minecraft-dev + * Copyright (c) 2022 minecraft-dev * * MIT License */ diff --git a/src/main/kotlin/inspection/IsCancelled.kt b/src/main/kotlin/inspection/IsCancelled.kt index a3106595c..ee4238cae 100644 --- a/src/main/kotlin/inspection/IsCancelled.kt +++ b/src/main/kotlin/inspection/IsCancelled.kt @@ -3,7 +3,7 @@ * * https://minecraftdev.org * - * Copyright (c) 2021 minecraft-dev + * Copyright (c) 2022 minecraft-dev * * MIT License */ diff --git a/src/main/kotlin/inspection/IsCancelledInspection.kt b/src/main/kotlin/inspection/IsCancelledInspection.kt index 3a5b38779..62802318d 100644 --- a/src/main/kotlin/inspection/IsCancelledInspection.kt +++ b/src/main/kotlin/inspection/IsCancelledInspection.kt @@ -3,7 +3,7 @@ * * https://minecraftdev.org * - * Copyright (c) 2021 minecraft-dev + * Copyright (c) 2022 minecraft-dev * * MIT License */ diff --git a/src/main/kotlin/inspection/PlatformAnnotationEntryPoint.kt b/src/main/kotlin/inspection/PlatformAnnotationEntryPoint.kt index eb6b0f04f..9487e4c5b 100644 --- a/src/main/kotlin/inspection/PlatformAnnotationEntryPoint.kt +++ b/src/main/kotlin/inspection/PlatformAnnotationEntryPoint.kt @@ -3,7 +3,7 @@ * * https://minecraftdev.org * - * Copyright (c) 2021 minecraft-dev + * Copyright (c) 2022 minecraft-dev * * MIT License */ diff --git a/src/main/kotlin/inspection/StaticListenerInspectionSuppressor.kt b/src/main/kotlin/inspection/StaticListenerInspectionSuppressor.kt index 71aedd84c..2a8518cd6 100644 --- a/src/main/kotlin/inspection/StaticListenerInspectionSuppressor.kt +++ b/src/main/kotlin/inspection/StaticListenerInspectionSuppressor.kt @@ -3,7 +3,7 @@ * * https://minecraftdev.org * - * Copyright (c) 2021 minecraft-dev + * Copyright (c) 2022 minecraft-dev * * MIT License */ diff --git a/src/main/kotlin/inspection/WrongEntityDataParameterClassInspection.kt b/src/main/kotlin/inspection/WrongEntityDataParameterClassInspection.kt index 672ca7c67..0b9567d5e 100644 --- a/src/main/kotlin/inspection/WrongEntityDataParameterClassInspection.kt +++ b/src/main/kotlin/inspection/WrongEntityDataParameterClassInspection.kt @@ -3,7 +3,7 @@ * * https://minecraftdev.org * - * Copyright (c) 2021 minecraft-dev + * Copyright (c) 2022 minecraft-dev * * MIT License */ diff --git a/src/main/kotlin/nbt/MalformedNbtFileException.kt b/src/main/kotlin/nbt/MalformedNbtFileException.kt index 8547cbf22..6a4169fbb 100644 --- a/src/main/kotlin/nbt/MalformedNbtFileException.kt +++ b/src/main/kotlin/nbt/MalformedNbtFileException.kt @@ -3,7 +3,7 @@ * * https://minecraftdev.org * - * Copyright (c) 2021 minecraft-dev + * Copyright (c) 2022 minecraft-dev * * MIT License */ diff --git a/src/main/kotlin/nbt/Nbt.kt b/src/main/kotlin/nbt/Nbt.kt index f9b70116b..63a7c19de 100644 --- a/src/main/kotlin/nbt/Nbt.kt +++ b/src/main/kotlin/nbt/Nbt.kt @@ -3,7 +3,7 @@ * * https://minecraftdev.org * - * Copyright (c) 2021 minecraft-dev + * Copyright (c) 2022 minecraft-dev * * MIT License */ diff --git a/src/main/kotlin/nbt/NbtVirtualFile.kt b/src/main/kotlin/nbt/NbtVirtualFile.kt index aa3dd7c5a..3aab14a82 100644 --- a/src/main/kotlin/nbt/NbtVirtualFile.kt +++ b/src/main/kotlin/nbt/NbtVirtualFile.kt @@ -3,7 +3,7 @@ * * https://minecraftdev.org * - * Copyright (c) 2021 minecraft-dev + * Copyright (c) 2022 minecraft-dev * * MIT License */ diff --git a/src/main/kotlin/nbt/editor/CompressionSelection.kt b/src/main/kotlin/nbt/editor/CompressionSelection.kt index d6180b1ce..4675af4dc 100644 --- a/src/main/kotlin/nbt/editor/CompressionSelection.kt +++ b/src/main/kotlin/nbt/editor/CompressionSelection.kt @@ -3,7 +3,7 @@ * * https://minecraftdev.org * - * Copyright (c) 2021 minecraft-dev + * Copyright (c) 2022 minecraft-dev * * MIT License */ diff --git a/src/main/kotlin/nbt/editor/NbtFileEditorProvider.kt b/src/main/kotlin/nbt/editor/NbtFileEditorProvider.kt index a5d6859e1..e7087ecac 100644 --- a/src/main/kotlin/nbt/editor/NbtFileEditorProvider.kt +++ b/src/main/kotlin/nbt/editor/NbtFileEditorProvider.kt @@ -3,7 +3,7 @@ * * https://minecraftdev.org * - * Copyright (c) 2021 minecraft-dev + * Copyright (c) 2022 minecraft-dev * * MIT License */ diff --git a/src/main/kotlin/nbt/editor/NbtToolbar.kt b/src/main/kotlin/nbt/editor/NbtToolbar.kt index fd09c5af2..894beffc2 100644 --- a/src/main/kotlin/nbt/editor/NbtToolbar.kt +++ b/src/main/kotlin/nbt/editor/NbtToolbar.kt @@ -3,7 +3,7 @@ * * https://minecraftdev.org * - * Copyright (c) 2021 minecraft-dev + * Copyright (c) 2022 minecraft-dev * * MIT License */ diff --git a/src/main/kotlin/nbt/filetype/NbtFileType.kt b/src/main/kotlin/nbt/filetype/NbtFileType.kt index c8987f176..c5c5df614 100644 --- a/src/main/kotlin/nbt/filetype/NbtFileType.kt +++ b/src/main/kotlin/nbt/filetype/NbtFileType.kt @@ -3,7 +3,7 @@ * * https://minecraftdev.org * - * Copyright (c) 2021 minecraft-dev + * Copyright (c) 2022 minecraft-dev * * MIT License */ diff --git a/src/main/kotlin/nbt/filetype/NbtFileTypeDetector.kt b/src/main/kotlin/nbt/filetype/NbtFileTypeDetector.kt index 7c357a75c..e05d8f705 100644 --- a/src/main/kotlin/nbt/filetype/NbtFileTypeDetector.kt +++ b/src/main/kotlin/nbt/filetype/NbtFileTypeDetector.kt @@ -3,7 +3,7 @@ * * https://minecraftdev.org * - * Copyright (c) 2021 minecraft-dev + * Copyright (c) 2022 minecraft-dev * * MIT License */ diff --git a/src/main/kotlin/nbt/lang/NbttBraceMatcher.kt b/src/main/kotlin/nbt/lang/NbttBraceMatcher.kt index d046eb49a..23f9f29b8 100644 --- a/src/main/kotlin/nbt/lang/NbttBraceMatcher.kt +++ b/src/main/kotlin/nbt/lang/NbttBraceMatcher.kt @@ -3,7 +3,7 @@ * * https://minecraftdev.org * - * Copyright (c) 2021 minecraft-dev + * Copyright (c) 2022 minecraft-dev * * MIT License */ diff --git a/src/main/kotlin/nbt/lang/NbttFile.kt b/src/main/kotlin/nbt/lang/NbttFile.kt index 1dee85d1a..ef1f04106 100644 --- a/src/main/kotlin/nbt/lang/NbttFile.kt +++ b/src/main/kotlin/nbt/lang/NbttFile.kt @@ -3,7 +3,7 @@ * * https://minecraftdev.org * - * Copyright (c) 2021 minecraft-dev + * Copyright (c) 2022 minecraft-dev * * MIT License */ diff --git a/src/main/kotlin/nbt/lang/NbttFileType.kt b/src/main/kotlin/nbt/lang/NbttFileType.kt index 4ad18dc5c..fb0b8c65c 100644 --- a/src/main/kotlin/nbt/lang/NbttFileType.kt +++ b/src/main/kotlin/nbt/lang/NbttFileType.kt @@ -3,7 +3,7 @@ * * https://minecraftdev.org * - * Copyright (c) 2021 minecraft-dev + * Copyright (c) 2022 minecraft-dev * * MIT License */ diff --git a/src/main/kotlin/nbt/lang/NbttLanguage.kt b/src/main/kotlin/nbt/lang/NbttLanguage.kt index b62b42f61..5b8b9115e 100644 --- a/src/main/kotlin/nbt/lang/NbttLanguage.kt +++ b/src/main/kotlin/nbt/lang/NbttLanguage.kt @@ -3,7 +3,7 @@ * * https://minecraftdev.org * - * Copyright (c) 2021 minecraft-dev + * Copyright (c) 2022 minecraft-dev * * MIT License */ diff --git a/src/main/kotlin/nbt/lang/NbttLexerAdapter.kt b/src/main/kotlin/nbt/lang/NbttLexerAdapter.kt index 9b6a2afce..35d4ae4ed 100644 --- a/src/main/kotlin/nbt/lang/NbttLexerAdapter.kt +++ b/src/main/kotlin/nbt/lang/NbttLexerAdapter.kt @@ -3,7 +3,7 @@ * * https://minecraftdev.org * - * Copyright (c) 2021 minecraft-dev + * Copyright (c) 2022 minecraft-dev * * MIT License */ diff --git a/src/main/kotlin/nbt/lang/NbttParserDefinition.kt b/src/main/kotlin/nbt/lang/NbttParserDefinition.kt index b97e06955..7ebc56644 100644 --- a/src/main/kotlin/nbt/lang/NbttParserDefinition.kt +++ b/src/main/kotlin/nbt/lang/NbttParserDefinition.kt @@ -3,7 +3,7 @@ * * https://minecraftdev.org * - * Copyright (c) 2021 minecraft-dev + * Copyright (c) 2022 minecraft-dev * * MIT License */ diff --git a/src/main/kotlin/nbt/lang/NbttQuoteHandler.kt b/src/main/kotlin/nbt/lang/NbttQuoteHandler.kt index a5c287106..ac3052da0 100644 --- a/src/main/kotlin/nbt/lang/NbttQuoteHandler.kt +++ b/src/main/kotlin/nbt/lang/NbttQuoteHandler.kt @@ -3,7 +3,7 @@ * * https://minecraftdev.org * - * Copyright (c) 2021 minecraft-dev + * Copyright (c) 2022 minecraft-dev * * MIT License */ diff --git a/src/main/kotlin/nbt/lang/colors/NbttAnnotator.kt b/src/main/kotlin/nbt/lang/colors/NbttAnnotator.kt index 954fed601..7f495244e 100644 --- a/src/main/kotlin/nbt/lang/colors/NbttAnnotator.kt +++ b/src/main/kotlin/nbt/lang/colors/NbttAnnotator.kt @@ -3,7 +3,7 @@ * * https://minecraftdev.org * - * Copyright (c) 2021 minecraft-dev + * Copyright (c) 2022 minecraft-dev * * MIT License */ diff --git a/src/main/kotlin/nbt/lang/colors/NbttColorSettingsPage.kt b/src/main/kotlin/nbt/lang/colors/NbttColorSettingsPage.kt index ac06466ca..3795bc1b2 100644 --- a/src/main/kotlin/nbt/lang/colors/NbttColorSettingsPage.kt +++ b/src/main/kotlin/nbt/lang/colors/NbttColorSettingsPage.kt @@ -3,7 +3,7 @@ * * https://minecraftdev.org * - * Copyright (c) 2021 minecraft-dev + * Copyright (c) 2022 minecraft-dev * * MIT License */ diff --git a/src/main/kotlin/nbt/lang/colors/NbttSyntaxHighlighter.kt b/src/main/kotlin/nbt/lang/colors/NbttSyntaxHighlighter.kt index 7c18bceef..c914ed898 100644 --- a/src/main/kotlin/nbt/lang/colors/NbttSyntaxHighlighter.kt +++ b/src/main/kotlin/nbt/lang/colors/NbttSyntaxHighlighter.kt @@ -3,7 +3,7 @@ * * https://minecraftdev.org * - * Copyright (c) 2021 minecraft-dev + * Copyright (c) 2022 minecraft-dev * * MIT License */ diff --git a/src/main/kotlin/nbt/lang/colors/NbttSyntaxHighlighterFactory.kt b/src/main/kotlin/nbt/lang/colors/NbttSyntaxHighlighterFactory.kt index 70ddda771..15a36d2de 100644 --- a/src/main/kotlin/nbt/lang/colors/NbttSyntaxHighlighterFactory.kt +++ b/src/main/kotlin/nbt/lang/colors/NbttSyntaxHighlighterFactory.kt @@ -3,7 +3,7 @@ * * https://minecraftdev.org * - * Copyright (c) 2021 minecraft-dev + * Copyright (c) 2022 minecraft-dev * * MIT License */ diff --git a/src/main/kotlin/nbt/lang/format/NbttBlock.kt b/src/main/kotlin/nbt/lang/format/NbttBlock.kt index 71671f9d0..7a144e6e4 100644 --- a/src/main/kotlin/nbt/lang/format/NbttBlock.kt +++ b/src/main/kotlin/nbt/lang/format/NbttBlock.kt @@ -3,7 +3,7 @@ * * https://minecraftdev.org * - * Copyright (c) 2021 minecraft-dev + * Copyright (c) 2022 minecraft-dev * * MIT License */ diff --git a/src/main/kotlin/nbt/lang/format/NbttCodeStyleSettings.kt b/src/main/kotlin/nbt/lang/format/NbttCodeStyleSettings.kt index e951f9e5a..03600d5ce 100644 --- a/src/main/kotlin/nbt/lang/format/NbttCodeStyleSettings.kt +++ b/src/main/kotlin/nbt/lang/format/NbttCodeStyleSettings.kt @@ -3,7 +3,7 @@ * * https://minecraftdev.org * - * Copyright (c) 2021 minecraft-dev + * Copyright (c) 2022 minecraft-dev * * MIT License */ diff --git a/src/main/kotlin/nbt/lang/format/NbttCodeStyleSettingsProvider.kt b/src/main/kotlin/nbt/lang/format/NbttCodeStyleSettingsProvider.kt index 8e932c9ca..aabf88c12 100644 --- a/src/main/kotlin/nbt/lang/format/NbttCodeStyleSettingsProvider.kt +++ b/src/main/kotlin/nbt/lang/format/NbttCodeStyleSettingsProvider.kt @@ -3,7 +3,7 @@ * * https://minecraftdev.org * - * Copyright (c) 2021 minecraft-dev + * Copyright (c) 2022 minecraft-dev * * MIT License */ diff --git a/src/main/kotlin/nbt/lang/format/NbttFoldingBuilder.kt b/src/main/kotlin/nbt/lang/format/NbttFoldingBuilder.kt index 2ba70b1c6..d6dbf7d8b 100644 --- a/src/main/kotlin/nbt/lang/format/NbttFoldingBuilder.kt +++ b/src/main/kotlin/nbt/lang/format/NbttFoldingBuilder.kt @@ -3,7 +3,7 @@ * * https://minecraftdev.org * - * Copyright (c) 2021 minecraft-dev + * Copyright (c) 2022 minecraft-dev * * MIT License */ diff --git a/src/main/kotlin/nbt/lang/format/NbttFormattingModelBuilder.kt b/src/main/kotlin/nbt/lang/format/NbttFormattingModelBuilder.kt index f32d735dc..3bcdd6736 100644 --- a/src/main/kotlin/nbt/lang/format/NbttFormattingModelBuilder.kt +++ b/src/main/kotlin/nbt/lang/format/NbttFormattingModelBuilder.kt @@ -3,7 +3,7 @@ * * https://minecraftdev.org * - * Copyright (c) 2021 minecraft-dev + * Copyright (c) 2022 minecraft-dev * * MIT License */ diff --git a/src/main/kotlin/nbt/lang/format/NbttLanguageCodeStyleSettingsProvider.kt b/src/main/kotlin/nbt/lang/format/NbttLanguageCodeStyleSettingsProvider.kt index 08f2eee91..3371de433 100644 --- a/src/main/kotlin/nbt/lang/format/NbttLanguageCodeStyleSettingsProvider.kt +++ b/src/main/kotlin/nbt/lang/format/NbttLanguageCodeStyleSettingsProvider.kt @@ -3,7 +3,7 @@ * * https://minecraftdev.org * - * Copyright (c) 2021 minecraft-dev + * Copyright (c) 2022 minecraft-dev * * MIT License */ diff --git a/src/main/kotlin/nbt/lang/format/NbttParameterNameHints.kt b/src/main/kotlin/nbt/lang/format/NbttParameterNameHints.kt index 20d5d2371..63c02136f 100644 --- a/src/main/kotlin/nbt/lang/format/NbttParameterNameHints.kt +++ b/src/main/kotlin/nbt/lang/format/NbttParameterNameHints.kt @@ -3,7 +3,7 @@ * * https://minecraftdev.org * - * Copyright (c) 2021 minecraft-dev + * Copyright (c) 2022 minecraft-dev * * MIT License */ diff --git a/src/main/kotlin/nbt/lang/psi/NbttElement.kt b/src/main/kotlin/nbt/lang/psi/NbttElement.kt index fe2a3638f..53a0efe28 100644 --- a/src/main/kotlin/nbt/lang/psi/NbttElement.kt +++ b/src/main/kotlin/nbt/lang/psi/NbttElement.kt @@ -3,7 +3,7 @@ * * https://minecraftdev.org * - * Copyright (c) 2021 minecraft-dev + * Copyright (c) 2022 minecraft-dev * * MIT License */ diff --git a/src/main/kotlin/nbt/lang/psi/NbttElementType.kt b/src/main/kotlin/nbt/lang/psi/NbttElementType.kt index 2d012d0be..5b1bf5844 100644 --- a/src/main/kotlin/nbt/lang/psi/NbttElementType.kt +++ b/src/main/kotlin/nbt/lang/psi/NbttElementType.kt @@ -3,7 +3,7 @@ * * https://minecraftdev.org * - * Copyright (c) 2021 minecraft-dev + * Copyright (c) 2022 minecraft-dev * * MIT License */ diff --git a/src/main/kotlin/nbt/lang/psi/NbttMixinUtil.kt b/src/main/kotlin/nbt/lang/psi/NbttMixinUtil.kt index b8e92bfd5..bcf6f6430 100644 --- a/src/main/kotlin/nbt/lang/psi/NbttMixinUtil.kt +++ b/src/main/kotlin/nbt/lang/psi/NbttMixinUtil.kt @@ -3,7 +3,7 @@ * * https://minecraftdev.org * - * Copyright (c) 2021 minecraft-dev + * Copyright (c) 2022 minecraft-dev * * MIT License */ diff --git a/src/main/kotlin/nbt/lang/psi/NbttTokenType.kt b/src/main/kotlin/nbt/lang/psi/NbttTokenType.kt index 42b740f4e..160633a3c 100644 --- a/src/main/kotlin/nbt/lang/psi/NbttTokenType.kt +++ b/src/main/kotlin/nbt/lang/psi/NbttTokenType.kt @@ -3,7 +3,7 @@ * * https://minecraftdev.org * - * Copyright (c) 2021 minecraft-dev + * Copyright (c) 2022 minecraft-dev * * MIT License */ diff --git a/src/main/kotlin/nbt/lang/psi/mixins/NbttByteArrayMixin.kt b/src/main/kotlin/nbt/lang/psi/mixins/NbttByteArrayMixin.kt index e72de4ae7..94d59913c 100644 --- a/src/main/kotlin/nbt/lang/psi/mixins/NbttByteArrayMixin.kt +++ b/src/main/kotlin/nbt/lang/psi/mixins/NbttByteArrayMixin.kt @@ -3,7 +3,7 @@ * * https://minecraftdev.org * - * Copyright (c) 2021 minecraft-dev + * Copyright (c) 2022 minecraft-dev * * MIT License */ diff --git a/src/main/kotlin/nbt/lang/psi/mixins/NbttByteMixin.kt b/src/main/kotlin/nbt/lang/psi/mixins/NbttByteMixin.kt index afb178bdc..faad4a1aa 100644 --- a/src/main/kotlin/nbt/lang/psi/mixins/NbttByteMixin.kt +++ b/src/main/kotlin/nbt/lang/psi/mixins/NbttByteMixin.kt @@ -3,7 +3,7 @@ * * https://minecraftdev.org * - * Copyright (c) 2021 minecraft-dev + * Copyright (c) 2022 minecraft-dev * * MIT License */ diff --git a/src/main/kotlin/nbt/lang/psi/mixins/NbttCompoundMixin.kt b/src/main/kotlin/nbt/lang/psi/mixins/NbttCompoundMixin.kt index e2a97402c..86a57cc9b 100644 --- a/src/main/kotlin/nbt/lang/psi/mixins/NbttCompoundMixin.kt +++ b/src/main/kotlin/nbt/lang/psi/mixins/NbttCompoundMixin.kt @@ -3,7 +3,7 @@ * * https://minecraftdev.org * - * Copyright (c) 2021 minecraft-dev + * Copyright (c) 2022 minecraft-dev * * MIT License */ diff --git a/src/main/kotlin/nbt/lang/psi/mixins/NbttDoubleMixin.kt b/src/main/kotlin/nbt/lang/psi/mixins/NbttDoubleMixin.kt index eeb4c5a18..4ea7a884c 100644 --- a/src/main/kotlin/nbt/lang/psi/mixins/NbttDoubleMixin.kt +++ b/src/main/kotlin/nbt/lang/psi/mixins/NbttDoubleMixin.kt @@ -3,7 +3,7 @@ * * https://minecraftdev.org * - * Copyright (c) 2021 minecraft-dev + * Copyright (c) 2022 minecraft-dev * * MIT License */ diff --git a/src/main/kotlin/nbt/lang/psi/mixins/NbttFloatMixin.kt b/src/main/kotlin/nbt/lang/psi/mixins/NbttFloatMixin.kt index fb547c2a2..47acfd05d 100644 --- a/src/main/kotlin/nbt/lang/psi/mixins/NbttFloatMixin.kt +++ b/src/main/kotlin/nbt/lang/psi/mixins/NbttFloatMixin.kt @@ -3,7 +3,7 @@ * * https://minecraftdev.org * - * Copyright (c) 2021 minecraft-dev + * Copyright (c) 2022 minecraft-dev * * MIT License */ diff --git a/src/main/kotlin/nbt/lang/psi/mixins/NbttIntArrayMixin.kt b/src/main/kotlin/nbt/lang/psi/mixins/NbttIntArrayMixin.kt index 92e91c69a..56d5c738e 100644 --- a/src/main/kotlin/nbt/lang/psi/mixins/NbttIntArrayMixin.kt +++ b/src/main/kotlin/nbt/lang/psi/mixins/NbttIntArrayMixin.kt @@ -3,7 +3,7 @@ * * https://minecraftdev.org * - * Copyright (c) 2021 minecraft-dev + * Copyright (c) 2022 minecraft-dev * * MIT License */ diff --git a/src/main/kotlin/nbt/lang/psi/mixins/NbttIntMixin.kt b/src/main/kotlin/nbt/lang/psi/mixins/NbttIntMixin.kt index 501ced43c..4c0a23eb2 100644 --- a/src/main/kotlin/nbt/lang/psi/mixins/NbttIntMixin.kt +++ b/src/main/kotlin/nbt/lang/psi/mixins/NbttIntMixin.kt @@ -3,7 +3,7 @@ * * https://minecraftdev.org * - * Copyright (c) 2021 minecraft-dev + * Copyright (c) 2022 minecraft-dev * * MIT License */ diff --git a/src/main/kotlin/nbt/lang/psi/mixins/NbttListMixin.kt b/src/main/kotlin/nbt/lang/psi/mixins/NbttListMixin.kt index e0eb522f2..3bca14005 100644 --- a/src/main/kotlin/nbt/lang/psi/mixins/NbttListMixin.kt +++ b/src/main/kotlin/nbt/lang/psi/mixins/NbttListMixin.kt @@ -3,7 +3,7 @@ * * https://minecraftdev.org * - * Copyright (c) 2021 minecraft-dev + * Copyright (c) 2022 minecraft-dev * * MIT License */ diff --git a/src/main/kotlin/nbt/lang/psi/mixins/NbttLongArrayMixin.kt b/src/main/kotlin/nbt/lang/psi/mixins/NbttLongArrayMixin.kt index f133a2680..0962ce6f1 100644 --- a/src/main/kotlin/nbt/lang/psi/mixins/NbttLongArrayMixin.kt +++ b/src/main/kotlin/nbt/lang/psi/mixins/NbttLongArrayMixin.kt @@ -3,7 +3,7 @@ * * https://minecraftdev.org * - * Copyright (c) 2021 minecraft-dev + * Copyright (c) 2022 minecraft-dev * * MIT License */ diff --git a/src/main/kotlin/nbt/lang/psi/mixins/NbttLongMixin.kt b/src/main/kotlin/nbt/lang/psi/mixins/NbttLongMixin.kt index 0fb6aa94e..b1af05103 100644 --- a/src/main/kotlin/nbt/lang/psi/mixins/NbttLongMixin.kt +++ b/src/main/kotlin/nbt/lang/psi/mixins/NbttLongMixin.kt @@ -3,7 +3,7 @@ * * https://minecraftdev.org * - * Copyright (c) 2021 minecraft-dev + * Copyright (c) 2022 minecraft-dev * * MIT License */ diff --git a/src/main/kotlin/nbt/lang/psi/mixins/NbttRootCompoundMixin.kt b/src/main/kotlin/nbt/lang/psi/mixins/NbttRootCompoundMixin.kt index c00bae89f..d96f301e6 100644 --- a/src/main/kotlin/nbt/lang/psi/mixins/NbttRootCompoundMixin.kt +++ b/src/main/kotlin/nbt/lang/psi/mixins/NbttRootCompoundMixin.kt @@ -3,7 +3,7 @@ * * https://minecraftdev.org * - * Copyright (c) 2021 minecraft-dev + * Copyright (c) 2022 minecraft-dev * * MIT License */ diff --git a/src/main/kotlin/nbt/lang/psi/mixins/NbttShortMixin.kt b/src/main/kotlin/nbt/lang/psi/mixins/NbttShortMixin.kt index 2f8812e8a..5cbfb28e9 100644 --- a/src/main/kotlin/nbt/lang/psi/mixins/NbttShortMixin.kt +++ b/src/main/kotlin/nbt/lang/psi/mixins/NbttShortMixin.kt @@ -3,7 +3,7 @@ * * https://minecraftdev.org * - * Copyright (c) 2021 minecraft-dev + * Copyright (c) 2022 minecraft-dev * * MIT License */ diff --git a/src/main/kotlin/nbt/lang/psi/mixins/NbttStringMixin.kt b/src/main/kotlin/nbt/lang/psi/mixins/NbttStringMixin.kt index 89ed5b10e..79cb9d9a5 100644 --- a/src/main/kotlin/nbt/lang/psi/mixins/NbttStringMixin.kt +++ b/src/main/kotlin/nbt/lang/psi/mixins/NbttStringMixin.kt @@ -3,7 +3,7 @@ * * https://minecraftdev.org * - * Copyright (c) 2021 minecraft-dev + * Copyright (c) 2022 minecraft-dev * * MIT License */ diff --git a/src/main/kotlin/nbt/lang/psi/mixins/NbttTagMixin.kt b/src/main/kotlin/nbt/lang/psi/mixins/NbttTagMixin.kt index 463e1fb7b..5bc2e1cfa 100644 --- a/src/main/kotlin/nbt/lang/psi/mixins/NbttTagMixin.kt +++ b/src/main/kotlin/nbt/lang/psi/mixins/NbttTagMixin.kt @@ -3,7 +3,7 @@ * * https://minecraftdev.org * - * Copyright (c) 2021 minecraft-dev + * Copyright (c) 2022 minecraft-dev * * MIT License */ diff --git a/src/main/kotlin/nbt/lang/psi/mixins/NbttTagNameMixin.kt b/src/main/kotlin/nbt/lang/psi/mixins/NbttTagNameMixin.kt index 99a5bec5d..676a8ebe0 100644 --- a/src/main/kotlin/nbt/lang/psi/mixins/NbttTagNameMixin.kt +++ b/src/main/kotlin/nbt/lang/psi/mixins/NbttTagNameMixin.kt @@ -3,7 +3,7 @@ * * https://minecraftdev.org * - * Copyright (c) 2021 minecraft-dev + * Copyright (c) 2022 minecraft-dev * * MIT License */ diff --git a/src/main/kotlin/nbt/lang/psi/mixins/impl/NbttByteArrayImplMixin.kt b/src/main/kotlin/nbt/lang/psi/mixins/impl/NbttByteArrayImplMixin.kt index 108ed6ca0..34c929cad 100644 --- a/src/main/kotlin/nbt/lang/psi/mixins/impl/NbttByteArrayImplMixin.kt +++ b/src/main/kotlin/nbt/lang/psi/mixins/impl/NbttByteArrayImplMixin.kt @@ -3,7 +3,7 @@ * * https://minecraftdev.org * - * Copyright (c) 2021 minecraft-dev + * Copyright (c) 2022 minecraft-dev * * MIT License */ diff --git a/src/main/kotlin/nbt/lang/psi/mixins/impl/NbttByteImplMixin.kt b/src/main/kotlin/nbt/lang/psi/mixins/impl/NbttByteImplMixin.kt index c445613fa..0125bfc58 100644 --- a/src/main/kotlin/nbt/lang/psi/mixins/impl/NbttByteImplMixin.kt +++ b/src/main/kotlin/nbt/lang/psi/mixins/impl/NbttByteImplMixin.kt @@ -3,7 +3,7 @@ * * https://minecraftdev.org * - * Copyright (c) 2021 minecraft-dev + * Copyright (c) 2022 minecraft-dev * * MIT License */ diff --git a/src/main/kotlin/nbt/lang/psi/mixins/impl/NbttCompoundImplMixin.kt b/src/main/kotlin/nbt/lang/psi/mixins/impl/NbttCompoundImplMixin.kt index ef3063894..491743e19 100644 --- a/src/main/kotlin/nbt/lang/psi/mixins/impl/NbttCompoundImplMixin.kt +++ b/src/main/kotlin/nbt/lang/psi/mixins/impl/NbttCompoundImplMixin.kt @@ -3,7 +3,7 @@ * * https://minecraftdev.org * - * Copyright (c) 2021 minecraft-dev + * Copyright (c) 2022 minecraft-dev * * MIT License */ diff --git a/src/main/kotlin/nbt/lang/psi/mixins/impl/NbttDoubleImplMixin.kt b/src/main/kotlin/nbt/lang/psi/mixins/impl/NbttDoubleImplMixin.kt index ff954684d..0f5dc446d 100644 --- a/src/main/kotlin/nbt/lang/psi/mixins/impl/NbttDoubleImplMixin.kt +++ b/src/main/kotlin/nbt/lang/psi/mixins/impl/NbttDoubleImplMixin.kt @@ -3,7 +3,7 @@ * * https://minecraftdev.org * - * Copyright (c) 2021 minecraft-dev + * Copyright (c) 2022 minecraft-dev * * MIT License */ diff --git a/src/main/kotlin/nbt/lang/psi/mixins/impl/NbttFloatImplMixin.kt b/src/main/kotlin/nbt/lang/psi/mixins/impl/NbttFloatImplMixin.kt index efb1f7ddd..d9effda8b 100644 --- a/src/main/kotlin/nbt/lang/psi/mixins/impl/NbttFloatImplMixin.kt +++ b/src/main/kotlin/nbt/lang/psi/mixins/impl/NbttFloatImplMixin.kt @@ -3,7 +3,7 @@ * * https://minecraftdev.org * - * Copyright (c) 2021 minecraft-dev + * Copyright (c) 2022 minecraft-dev * * MIT License */ diff --git a/src/main/kotlin/nbt/lang/psi/mixins/impl/NbttIntArrayImplMixin.kt b/src/main/kotlin/nbt/lang/psi/mixins/impl/NbttIntArrayImplMixin.kt index 19c9d1b23..cbb026915 100644 --- a/src/main/kotlin/nbt/lang/psi/mixins/impl/NbttIntArrayImplMixin.kt +++ b/src/main/kotlin/nbt/lang/psi/mixins/impl/NbttIntArrayImplMixin.kt @@ -3,7 +3,7 @@ * * https://minecraftdev.org * - * Copyright (c) 2021 minecraft-dev + * Copyright (c) 2022 minecraft-dev * * MIT License */ diff --git a/src/main/kotlin/nbt/lang/psi/mixins/impl/NbttIntImplMixin.kt b/src/main/kotlin/nbt/lang/psi/mixins/impl/NbttIntImplMixin.kt index edb4f36ab..b18d5fec0 100644 --- a/src/main/kotlin/nbt/lang/psi/mixins/impl/NbttIntImplMixin.kt +++ b/src/main/kotlin/nbt/lang/psi/mixins/impl/NbttIntImplMixin.kt @@ -3,7 +3,7 @@ * * https://minecraftdev.org * - * Copyright (c) 2021 minecraft-dev + * Copyright (c) 2022 minecraft-dev * * MIT License */ diff --git a/src/main/kotlin/nbt/lang/psi/mixins/impl/NbttListImplMixin.kt b/src/main/kotlin/nbt/lang/psi/mixins/impl/NbttListImplMixin.kt index 6915f02c8..9d1802f02 100644 --- a/src/main/kotlin/nbt/lang/psi/mixins/impl/NbttListImplMixin.kt +++ b/src/main/kotlin/nbt/lang/psi/mixins/impl/NbttListImplMixin.kt @@ -3,7 +3,7 @@ * * https://minecraftdev.org * - * Copyright (c) 2021 minecraft-dev + * Copyright (c) 2022 minecraft-dev * * MIT License */ diff --git a/src/main/kotlin/nbt/lang/psi/mixins/impl/NbttLongArrayImplMixin.kt b/src/main/kotlin/nbt/lang/psi/mixins/impl/NbttLongArrayImplMixin.kt index ca81c1d72..8eac367b6 100644 --- a/src/main/kotlin/nbt/lang/psi/mixins/impl/NbttLongArrayImplMixin.kt +++ b/src/main/kotlin/nbt/lang/psi/mixins/impl/NbttLongArrayImplMixin.kt @@ -3,7 +3,7 @@ * * https://minecraftdev.org * - * Copyright (c) 2021 minecraft-dev + * Copyright (c) 2022 minecraft-dev * * MIT License */ diff --git a/src/main/kotlin/nbt/lang/psi/mixins/impl/NbttLongImplMixin.kt b/src/main/kotlin/nbt/lang/psi/mixins/impl/NbttLongImplMixin.kt index cd24fa96f..9c4d8bd3d 100644 --- a/src/main/kotlin/nbt/lang/psi/mixins/impl/NbttLongImplMixin.kt +++ b/src/main/kotlin/nbt/lang/psi/mixins/impl/NbttLongImplMixin.kt @@ -3,7 +3,7 @@ * * https://minecraftdev.org * - * Copyright (c) 2021 minecraft-dev + * Copyright (c) 2022 minecraft-dev * * MIT License */ diff --git a/src/main/kotlin/nbt/lang/psi/mixins/impl/NbttRootCompoundImplMixin.kt b/src/main/kotlin/nbt/lang/psi/mixins/impl/NbttRootCompoundImplMixin.kt index e2e48c053..550667094 100644 --- a/src/main/kotlin/nbt/lang/psi/mixins/impl/NbttRootCompoundImplMixin.kt +++ b/src/main/kotlin/nbt/lang/psi/mixins/impl/NbttRootCompoundImplMixin.kt @@ -3,7 +3,7 @@ * * https://minecraftdev.org * - * Copyright (c) 2021 minecraft-dev + * Copyright (c) 2022 minecraft-dev * * MIT License */ diff --git a/src/main/kotlin/nbt/lang/psi/mixins/impl/NbttShortImplMixin.kt b/src/main/kotlin/nbt/lang/psi/mixins/impl/NbttShortImplMixin.kt index a8b08b2c9..4459f96a1 100644 --- a/src/main/kotlin/nbt/lang/psi/mixins/impl/NbttShortImplMixin.kt +++ b/src/main/kotlin/nbt/lang/psi/mixins/impl/NbttShortImplMixin.kt @@ -3,7 +3,7 @@ * * https://minecraftdev.org * - * Copyright (c) 2021 minecraft-dev + * Copyright (c) 2022 minecraft-dev * * MIT License */ diff --git a/src/main/kotlin/nbt/lang/psi/mixins/impl/NbttStringImplMixin.kt b/src/main/kotlin/nbt/lang/psi/mixins/impl/NbttStringImplMixin.kt index b2a87bced..252424210 100644 --- a/src/main/kotlin/nbt/lang/psi/mixins/impl/NbttStringImplMixin.kt +++ b/src/main/kotlin/nbt/lang/psi/mixins/impl/NbttStringImplMixin.kt @@ -3,7 +3,7 @@ * * https://minecraftdev.org * - * Copyright (c) 2021 minecraft-dev + * Copyright (c) 2022 minecraft-dev * * MIT License */ diff --git a/src/main/kotlin/nbt/lang/psi/mixins/impl/NbttTagImplMixin.kt b/src/main/kotlin/nbt/lang/psi/mixins/impl/NbttTagImplMixin.kt index 2f2fcb3b1..3e0104614 100644 --- a/src/main/kotlin/nbt/lang/psi/mixins/impl/NbttTagImplMixin.kt +++ b/src/main/kotlin/nbt/lang/psi/mixins/impl/NbttTagImplMixin.kt @@ -3,7 +3,7 @@ * * https://minecraftdev.org * - * Copyright (c) 2021 minecraft-dev + * Copyright (c) 2022 minecraft-dev * * MIT License */ diff --git a/src/main/kotlin/nbt/lang/psi/mixins/impl/NbttTagNameImplMixin.kt b/src/main/kotlin/nbt/lang/psi/mixins/impl/NbttTagNameImplMixin.kt index bdf0c0bc1..c28ca5609 100644 --- a/src/main/kotlin/nbt/lang/psi/mixins/impl/NbttTagNameImplMixin.kt +++ b/src/main/kotlin/nbt/lang/psi/mixins/impl/NbttTagNameImplMixin.kt @@ -3,7 +3,7 @@ * * https://minecraftdev.org * - * Copyright (c) 2021 minecraft-dev + * Copyright (c) 2022 minecraft-dev * * MIT License */ diff --git a/src/main/kotlin/nbt/tags/NbtTag.kt b/src/main/kotlin/nbt/tags/NbtTag.kt index 6f7a60c09..b19babc47 100644 --- a/src/main/kotlin/nbt/tags/NbtTag.kt +++ b/src/main/kotlin/nbt/tags/NbtTag.kt @@ -3,7 +3,7 @@ * * https://minecraftdev.org * - * Copyright (c) 2021 minecraft-dev + * Copyright (c) 2022 minecraft-dev * * MIT License */ diff --git a/src/main/kotlin/nbt/tags/NbtTypeId.kt b/src/main/kotlin/nbt/tags/NbtTypeId.kt index 3f197eccd..fe947026c 100644 --- a/src/main/kotlin/nbt/tags/NbtTypeId.kt +++ b/src/main/kotlin/nbt/tags/NbtTypeId.kt @@ -3,7 +3,7 @@ * * https://minecraftdev.org * - * Copyright (c) 2021 minecraft-dev + * Copyright (c) 2022 minecraft-dev * * MIT License */ diff --git a/src/main/kotlin/nbt/tags/NbtValueTag.kt b/src/main/kotlin/nbt/tags/NbtValueTag.kt index 072e57092..b9487dc5b 100644 --- a/src/main/kotlin/nbt/tags/NbtValueTag.kt +++ b/src/main/kotlin/nbt/tags/NbtValueTag.kt @@ -3,7 +3,7 @@ * * https://minecraftdev.org * - * Copyright (c) 2021 minecraft-dev + * Copyright (c) 2022 minecraft-dev * * MIT License */ diff --git a/src/main/kotlin/nbt/tags/TagByte.kt b/src/main/kotlin/nbt/tags/TagByte.kt index 48193046b..eb3ff3626 100644 --- a/src/main/kotlin/nbt/tags/TagByte.kt +++ b/src/main/kotlin/nbt/tags/TagByte.kt @@ -3,7 +3,7 @@ * * https://minecraftdev.org * - * Copyright (c) 2021 minecraft-dev + * Copyright (c) 2022 minecraft-dev * * MIT License */ diff --git a/src/main/kotlin/nbt/tags/TagByteArray.kt b/src/main/kotlin/nbt/tags/TagByteArray.kt index 89aea6008..61d54336b 100644 --- a/src/main/kotlin/nbt/tags/TagByteArray.kt +++ b/src/main/kotlin/nbt/tags/TagByteArray.kt @@ -3,7 +3,7 @@ * * https://minecraftdev.org * - * Copyright (c) 2021 minecraft-dev + * Copyright (c) 2022 minecraft-dev * * MIT License */ diff --git a/src/main/kotlin/nbt/tags/TagCompound.kt b/src/main/kotlin/nbt/tags/TagCompound.kt index 5ec95c790..a7b3cbf12 100644 --- a/src/main/kotlin/nbt/tags/TagCompound.kt +++ b/src/main/kotlin/nbt/tags/TagCompound.kt @@ -3,7 +3,7 @@ * * https://minecraftdev.org * - * Copyright (c) 2021 minecraft-dev + * Copyright (c) 2022 minecraft-dev * * MIT License */ diff --git a/src/main/kotlin/nbt/tags/TagDouble.kt b/src/main/kotlin/nbt/tags/TagDouble.kt index 5284000f3..ccc5d007d 100644 --- a/src/main/kotlin/nbt/tags/TagDouble.kt +++ b/src/main/kotlin/nbt/tags/TagDouble.kt @@ -3,7 +3,7 @@ * * https://minecraftdev.org * - * Copyright (c) 2021 minecraft-dev + * Copyright (c) 2022 minecraft-dev * * MIT License */ diff --git a/src/main/kotlin/nbt/tags/TagEnd.kt b/src/main/kotlin/nbt/tags/TagEnd.kt index 3a650aa71..f1facb882 100644 --- a/src/main/kotlin/nbt/tags/TagEnd.kt +++ b/src/main/kotlin/nbt/tags/TagEnd.kt @@ -3,7 +3,7 @@ * * https://minecraftdev.org * - * Copyright (c) 2021 minecraft-dev + * Copyright (c) 2022 minecraft-dev * * MIT License */ diff --git a/src/main/kotlin/nbt/tags/TagFloat.kt b/src/main/kotlin/nbt/tags/TagFloat.kt index c78be4cc8..8af7c963f 100644 --- a/src/main/kotlin/nbt/tags/TagFloat.kt +++ b/src/main/kotlin/nbt/tags/TagFloat.kt @@ -3,7 +3,7 @@ * * https://minecraftdev.org * - * Copyright (c) 2021 minecraft-dev + * Copyright (c) 2022 minecraft-dev * * MIT License */ diff --git a/src/main/kotlin/nbt/tags/TagInt.kt b/src/main/kotlin/nbt/tags/TagInt.kt index db54e5a22..176e865cf 100644 --- a/src/main/kotlin/nbt/tags/TagInt.kt +++ b/src/main/kotlin/nbt/tags/TagInt.kt @@ -3,7 +3,7 @@ * * https://minecraftdev.org * - * Copyright (c) 2021 minecraft-dev + * Copyright (c) 2022 minecraft-dev * * MIT License */ diff --git a/src/main/kotlin/nbt/tags/TagIntArray.kt b/src/main/kotlin/nbt/tags/TagIntArray.kt index 50f343aba..e64c713e0 100644 --- a/src/main/kotlin/nbt/tags/TagIntArray.kt +++ b/src/main/kotlin/nbt/tags/TagIntArray.kt @@ -3,7 +3,7 @@ * * https://minecraftdev.org * - * Copyright (c) 2021 minecraft-dev + * Copyright (c) 2022 minecraft-dev * * MIT License */ diff --git a/src/main/kotlin/nbt/tags/TagList.kt b/src/main/kotlin/nbt/tags/TagList.kt index e014fa8d5..0a60d9d58 100644 --- a/src/main/kotlin/nbt/tags/TagList.kt +++ b/src/main/kotlin/nbt/tags/TagList.kt @@ -3,7 +3,7 @@ * * https://minecraftdev.org * - * Copyright (c) 2021 minecraft-dev + * Copyright (c) 2022 minecraft-dev * * MIT License */ diff --git a/src/main/kotlin/nbt/tags/TagLong.kt b/src/main/kotlin/nbt/tags/TagLong.kt index 29faa9dd4..5f3dcd242 100644 --- a/src/main/kotlin/nbt/tags/TagLong.kt +++ b/src/main/kotlin/nbt/tags/TagLong.kt @@ -3,7 +3,7 @@ * * https://minecraftdev.org * - * Copyright (c) 2021 minecraft-dev + * Copyright (c) 2022 minecraft-dev * * MIT License */ diff --git a/src/main/kotlin/nbt/tags/TagLongArray.kt b/src/main/kotlin/nbt/tags/TagLongArray.kt index eaf0c7244..9b9df7c36 100644 --- a/src/main/kotlin/nbt/tags/TagLongArray.kt +++ b/src/main/kotlin/nbt/tags/TagLongArray.kt @@ -3,7 +3,7 @@ * * https://minecraftdev.org * - * Copyright (c) 2021 minecraft-dev + * Copyright (c) 2022 minecraft-dev * * MIT License */ diff --git a/src/main/kotlin/nbt/tags/TagShort.kt b/src/main/kotlin/nbt/tags/TagShort.kt index 1d8927b6a..da356ba5c 100644 --- a/src/main/kotlin/nbt/tags/TagShort.kt +++ b/src/main/kotlin/nbt/tags/TagShort.kt @@ -3,7 +3,7 @@ * * https://minecraftdev.org * - * Copyright (c) 2021 minecraft-dev + * Copyright (c) 2022 minecraft-dev * * MIT License */ diff --git a/src/main/kotlin/nbt/tags/TagString.kt b/src/main/kotlin/nbt/tags/TagString.kt index a557a200f..741989fda 100644 --- a/src/main/kotlin/nbt/tags/TagString.kt +++ b/src/main/kotlin/nbt/tags/TagString.kt @@ -3,7 +3,7 @@ * * https://minecraftdev.org * - * Copyright (c) 2021 minecraft-dev + * Copyright (c) 2022 minecraft-dev * * MIT License */ diff --git a/src/main/kotlin/platform/AbstractModule.kt b/src/main/kotlin/platform/AbstractModule.kt index e9d3b723d..e3ffbbfe7 100644 --- a/src/main/kotlin/platform/AbstractModule.kt +++ b/src/main/kotlin/platform/AbstractModule.kt @@ -3,7 +3,7 @@ * * https://minecraftdev.org * - * Copyright (c) 2021 minecraft-dev + * Copyright (c) 2022 minecraft-dev * * MIT License */ diff --git a/src/main/kotlin/platform/AbstractModuleType.kt b/src/main/kotlin/platform/AbstractModuleType.kt index 7460fb332..b77e916bc 100644 --- a/src/main/kotlin/platform/AbstractModuleType.kt +++ b/src/main/kotlin/platform/AbstractModuleType.kt @@ -3,7 +3,7 @@ * * https://minecraftdev.org * - * Copyright (c) 2021 minecraft-dev + * Copyright (c) 2022 minecraft-dev * * MIT License */ diff --git a/src/main/kotlin/platform/BaseTemplate.kt b/src/main/kotlin/platform/BaseTemplate.kt index 3be23f832..b1326634f 100644 --- a/src/main/kotlin/platform/BaseTemplate.kt +++ b/src/main/kotlin/platform/BaseTemplate.kt @@ -3,7 +3,7 @@ * * https://minecraftdev.org * - * Copyright (c) 2021 minecraft-dev + * Copyright (c) 2022 minecraft-dev * * MIT License */ diff --git a/src/main/kotlin/platform/CommonTemplate.kt b/src/main/kotlin/platform/CommonTemplate.kt index 0fab64fdf..81bff54e8 100644 --- a/src/main/kotlin/platform/CommonTemplate.kt +++ b/src/main/kotlin/platform/CommonTemplate.kt @@ -3,7 +3,7 @@ * * https://minecraftdev.org * - * Copyright (c) 2021 minecraft-dev + * Copyright (c) 2022 minecraft-dev * * MIT License */ diff --git a/src/main/kotlin/platform/MinecraftModuleType.kt b/src/main/kotlin/platform/MinecraftModuleType.kt index 87725b8b3..7fa9ad62b 100644 --- a/src/main/kotlin/platform/MinecraftModuleType.kt +++ b/src/main/kotlin/platform/MinecraftModuleType.kt @@ -3,7 +3,7 @@ * * https://minecraftdev.org * - * Copyright (c) 2021 minecraft-dev + * Copyright (c) 2022 minecraft-dev * * MIT License */ diff --git a/src/main/kotlin/platform/MinecraftProjectViewNodeDecorator.kt b/src/main/kotlin/platform/MinecraftProjectViewNodeDecorator.kt index 19ff80ed8..6e1b05840 100644 --- a/src/main/kotlin/platform/MinecraftProjectViewNodeDecorator.kt +++ b/src/main/kotlin/platform/MinecraftProjectViewNodeDecorator.kt @@ -3,7 +3,7 @@ * * https://minecraftdev.org * - * Copyright (c) 2021 minecraft-dev + * Copyright (c) 2022 minecraft-dev * * MIT License */ diff --git a/src/main/kotlin/platform/PlatformType.kt b/src/main/kotlin/platform/PlatformType.kt index 65a9c7486..fbcf4ec7a 100644 --- a/src/main/kotlin/platform/PlatformType.kt +++ b/src/main/kotlin/platform/PlatformType.kt @@ -3,7 +3,7 @@ * * https://minecraftdev.org * - * Copyright (c) 2021 minecraft-dev + * Copyright (c) 2022 minecraft-dev * * MIT License */ diff --git a/src/main/kotlin/platform/adventure/AdventureConstants.kt b/src/main/kotlin/platform/adventure/AdventureConstants.kt index 18a09c3ec..d8126ebf3 100644 --- a/src/main/kotlin/platform/adventure/AdventureConstants.kt +++ b/src/main/kotlin/platform/adventure/AdventureConstants.kt @@ -3,7 +3,7 @@ * * https://minecraftdev.org * - * Copyright (c) 2021 minecraft-dev + * Copyright (c) 2022 minecraft-dev * * MIT License */ diff --git a/src/main/kotlin/platform/adventure/AdventureModule.kt b/src/main/kotlin/platform/adventure/AdventureModule.kt index 16f308e39..7a568f565 100644 --- a/src/main/kotlin/platform/adventure/AdventureModule.kt +++ b/src/main/kotlin/platform/adventure/AdventureModule.kt @@ -3,7 +3,7 @@ * * https://minecraftdev.org * - * Copyright (c) 2021 minecraft-dev + * Copyright (c) 2022 minecraft-dev * * MIT License */ diff --git a/src/main/kotlin/platform/adventure/AdventureModuleType.kt b/src/main/kotlin/platform/adventure/AdventureModuleType.kt index 6aff3f160..be9e55ef1 100644 --- a/src/main/kotlin/platform/adventure/AdventureModuleType.kt +++ b/src/main/kotlin/platform/adventure/AdventureModuleType.kt @@ -3,7 +3,7 @@ * * https://minecraftdev.org * - * Copyright (c) 2021 minecraft-dev + * Copyright (c) 2022 minecraft-dev * * MIT License */ diff --git a/src/main/kotlin/platform/adventure/color/AdventureColorLineMarkerProvider.kt b/src/main/kotlin/platform/adventure/color/AdventureColorLineMarkerProvider.kt index b51eeef01..9ee9b2049 100644 --- a/src/main/kotlin/platform/adventure/color/AdventureColorLineMarkerProvider.kt +++ b/src/main/kotlin/platform/adventure/color/AdventureColorLineMarkerProvider.kt @@ -3,7 +3,7 @@ * * https://minecraftdev.org * - * Copyright (c) 2021 minecraft-dev + * Copyright (c) 2022 minecraft-dev * * MIT License */ diff --git a/src/main/kotlin/platform/adventure/color/AdventureColorUtil.kt b/src/main/kotlin/platform/adventure/color/AdventureColorUtil.kt index 096f5ef63..b78b46796 100644 --- a/src/main/kotlin/platform/adventure/color/AdventureColorUtil.kt +++ b/src/main/kotlin/platform/adventure/color/AdventureColorUtil.kt @@ -3,7 +3,7 @@ * * https://minecraftdev.org * - * Copyright (c) 2021 minecraft-dev + * Copyright (c) 2022 minecraft-dev * * MIT License */ diff --git a/src/main/kotlin/platform/adventure/framework/AdventureLibraryKind.kt b/src/main/kotlin/platform/adventure/framework/AdventureLibraryKind.kt index 1c076a0ac..859f700c4 100644 --- a/src/main/kotlin/platform/adventure/framework/AdventureLibraryKind.kt +++ b/src/main/kotlin/platform/adventure/framework/AdventureLibraryKind.kt @@ -3,7 +3,7 @@ * * https://minecraftdev.org * - * Copyright (c) 2021 minecraft-dev + * Copyright (c) 2022 minecraft-dev * * MIT License */ diff --git a/src/main/kotlin/platform/adventure/framework/AdventurePresentationProvider.kt b/src/main/kotlin/platform/adventure/framework/AdventurePresentationProvider.kt index f423060c4..4efd3b9fc 100644 --- a/src/main/kotlin/platform/adventure/framework/AdventurePresentationProvider.kt +++ b/src/main/kotlin/platform/adventure/framework/AdventurePresentationProvider.kt @@ -3,7 +3,7 @@ * * https://minecraftdev.org * - * Copyright (c) 2021 minecraft-dev + * Copyright (c) 2022 minecraft-dev * * MIT License */ diff --git a/src/main/kotlin/platform/architectury/ArchitecturyModule.kt b/src/main/kotlin/platform/architectury/ArchitecturyModule.kt index b488e4def..a01b8daac 100644 --- a/src/main/kotlin/platform/architectury/ArchitecturyModule.kt +++ b/src/main/kotlin/platform/architectury/ArchitecturyModule.kt @@ -3,7 +3,7 @@ * * https://minecraftdev.org * - * Copyright (c) 2021 minecraft-dev + * Copyright (c) 2022 minecraft-dev * * MIT License */ diff --git a/src/main/kotlin/platform/architectury/ArchitecturyModuleType.kt b/src/main/kotlin/platform/architectury/ArchitecturyModuleType.kt index 1acb1a9b3..0eab38dd0 100644 --- a/src/main/kotlin/platform/architectury/ArchitecturyModuleType.kt +++ b/src/main/kotlin/platform/architectury/ArchitecturyModuleType.kt @@ -3,7 +3,7 @@ * * https://minecraftdev.org * - * Copyright (c) 2021 minecraft-dev + * Copyright (c) 2022 minecraft-dev * * MIT License */ diff --git a/src/main/kotlin/platform/architectury/creator/ArchitecturyProjectConfig.kt b/src/main/kotlin/platform/architectury/creator/ArchitecturyProjectConfig.kt index 89e3ad35b..f71269cf4 100644 --- a/src/main/kotlin/platform/architectury/creator/ArchitecturyProjectConfig.kt +++ b/src/main/kotlin/platform/architectury/creator/ArchitecturyProjectConfig.kt @@ -3,7 +3,7 @@ * * https://minecraftdev.org * - * Copyright (c) 2021 minecraft-dev + * Copyright (c) 2022 minecraft-dev * * MIT License */ diff --git a/src/main/kotlin/platform/architectury/creator/ArchitecturyProjectCreator.kt b/src/main/kotlin/platform/architectury/creator/ArchitecturyProjectCreator.kt index 629132f8e..63e4adb05 100644 --- a/src/main/kotlin/platform/architectury/creator/ArchitecturyProjectCreator.kt +++ b/src/main/kotlin/platform/architectury/creator/ArchitecturyProjectCreator.kt @@ -3,7 +3,7 @@ * * https://minecraftdev.org * - * Copyright (c) 2021 minecraft-dev + * Copyright (c) 2022 minecraft-dev * * MIT License */ diff --git a/src/main/kotlin/platform/architectury/creator/ArchitecturyProjectSettingsWizard.kt b/src/main/kotlin/platform/architectury/creator/ArchitecturyProjectSettingsWizard.kt index 34a8bc2b4..885e5c4cb 100644 --- a/src/main/kotlin/platform/architectury/creator/ArchitecturyProjectSettingsWizard.kt +++ b/src/main/kotlin/platform/architectury/creator/ArchitecturyProjectSettingsWizard.kt @@ -3,7 +3,7 @@ * * https://minecraftdev.org * - * Copyright (c) 2021 minecraft-dev + * Copyright (c) 2022 minecraft-dev * * MIT License */ diff --git a/src/main/kotlin/platform/architectury/creator/ArchitecturyTemplate.kt b/src/main/kotlin/platform/architectury/creator/ArchitecturyTemplate.kt index 5d9c8784a..dd43a68f9 100644 --- a/src/main/kotlin/platform/architectury/creator/ArchitecturyTemplate.kt +++ b/src/main/kotlin/platform/architectury/creator/ArchitecturyTemplate.kt @@ -3,7 +3,7 @@ * * https://minecraftdev.org * - * Copyright (c) 2021 minecraft-dev + * Copyright (c) 2022 minecraft-dev * * MIT License */ diff --git a/src/main/kotlin/platform/architectury/framework/ArchitecturyGradleData.kt b/src/main/kotlin/platform/architectury/framework/ArchitecturyGradleData.kt index 82aff3792..8cbfdfd5e 100644 --- a/src/main/kotlin/platform/architectury/framework/ArchitecturyGradleData.kt +++ b/src/main/kotlin/platform/architectury/framework/ArchitecturyGradleData.kt @@ -3,7 +3,7 @@ * * https://minecraftdev.org * - * Copyright (c) 2021 minecraft-dev + * Copyright (c) 2022 minecraft-dev * * MIT License */ diff --git a/src/main/kotlin/platform/architectury/framework/ArchitecturyLibraryKind.kt b/src/main/kotlin/platform/architectury/framework/ArchitecturyLibraryKind.kt index 586c376ed..b41988904 100644 --- a/src/main/kotlin/platform/architectury/framework/ArchitecturyLibraryKind.kt +++ b/src/main/kotlin/platform/architectury/framework/ArchitecturyLibraryKind.kt @@ -3,7 +3,7 @@ * * https://minecraftdev.org * - * Copyright (c) 2021 minecraft-dev + * Copyright (c) 2022 minecraft-dev * * MIT License */ diff --git a/src/main/kotlin/platform/architectury/framework/ArchitecturyPresentationProvider.kt b/src/main/kotlin/platform/architectury/framework/ArchitecturyPresentationProvider.kt index 972d4e79c..f45e36499 100644 --- a/src/main/kotlin/platform/architectury/framework/ArchitecturyPresentationProvider.kt +++ b/src/main/kotlin/platform/architectury/framework/ArchitecturyPresentationProvider.kt @@ -3,7 +3,7 @@ * * https://minecraftdev.org * - * Copyright (c) 2021 minecraft-dev + * Copyright (c) 2022 minecraft-dev * * MIT License */ diff --git a/src/main/kotlin/platform/architectury/framework/ArchitecturyProjectResolverExtension.kt b/src/main/kotlin/platform/architectury/framework/ArchitecturyProjectResolverExtension.kt index a80ea0d84..bad2097a7 100644 --- a/src/main/kotlin/platform/architectury/framework/ArchitecturyProjectResolverExtension.kt +++ b/src/main/kotlin/platform/architectury/framework/ArchitecturyProjectResolverExtension.kt @@ -3,7 +3,7 @@ * * https://minecraftdev.org * - * Copyright (c) 2021 minecraft-dev + * Copyright (c) 2022 minecraft-dev * * MIT License */ diff --git a/src/main/kotlin/platform/architectury/version/ArchitecturyVersion.kt b/src/main/kotlin/platform/architectury/version/ArchitecturyVersion.kt index 7015f3520..494710555 100644 --- a/src/main/kotlin/platform/architectury/version/ArchitecturyVersion.kt +++ b/src/main/kotlin/platform/architectury/version/ArchitecturyVersion.kt @@ -3,7 +3,7 @@ * * https://minecraftdev.org * - * Copyright (c) 2021 minecraft-dev + * Copyright (c) 2022 minecraft-dev * * MIT License */ diff --git a/src/main/kotlin/platform/architectury/version/FabricVersion.kt b/src/main/kotlin/platform/architectury/version/FabricVersion.kt index 6309282c4..624bdaf22 100644 --- a/src/main/kotlin/platform/architectury/version/FabricVersion.kt +++ b/src/main/kotlin/platform/architectury/version/FabricVersion.kt @@ -3,7 +3,7 @@ * * https://minecraftdev.org * - * Copyright (c) 2021 minecraft-dev + * Copyright (c) 2022 minecraft-dev * * MIT License */ diff --git a/src/main/kotlin/platform/bukkit/BukkitFileIconProvider.kt b/src/main/kotlin/platform/bukkit/BukkitFileIconProvider.kt index 8f74d18af..336d6733a 100644 --- a/src/main/kotlin/platform/bukkit/BukkitFileIconProvider.kt +++ b/src/main/kotlin/platform/bukkit/BukkitFileIconProvider.kt @@ -3,7 +3,7 @@ * * https://minecraftdev.org * - * Copyright (c) 2021 minecraft-dev + * Copyright (c) 2022 minecraft-dev * * MIT License */ diff --git a/src/main/kotlin/platform/bukkit/BukkitLikeConfiguration.kt b/src/main/kotlin/platform/bukkit/BukkitLikeConfiguration.kt index 24afc4e67..048518131 100644 --- a/src/main/kotlin/platform/bukkit/BukkitLikeConfiguration.kt +++ b/src/main/kotlin/platform/bukkit/BukkitLikeConfiguration.kt @@ -3,7 +3,7 @@ * * https://minecraftdev.org * - * Copyright (c) 2021 minecraft-dev + * Copyright (c) 2022 minecraft-dev * * MIT License */ diff --git a/src/main/kotlin/platform/bukkit/BukkitModule.kt b/src/main/kotlin/platform/bukkit/BukkitModule.kt index d8cc26080..0d0574bd8 100644 --- a/src/main/kotlin/platform/bukkit/BukkitModule.kt +++ b/src/main/kotlin/platform/bukkit/BukkitModule.kt @@ -3,7 +3,7 @@ * * https://minecraftdev.org * - * Copyright (c) 2021 minecraft-dev + * Copyright (c) 2022 minecraft-dev * * MIT License */ diff --git a/src/main/kotlin/platform/bukkit/BukkitModuleType.kt b/src/main/kotlin/platform/bukkit/BukkitModuleType.kt index 34536299b..1bf6d6f38 100644 --- a/src/main/kotlin/platform/bukkit/BukkitModuleType.kt +++ b/src/main/kotlin/platform/bukkit/BukkitModuleType.kt @@ -3,7 +3,7 @@ * * https://minecraftdev.org * - * Copyright (c) 2021 minecraft-dev + * Copyright (c) 2022 minecraft-dev * * MIT License */ diff --git a/src/main/kotlin/platform/bukkit/PaperModuleType.kt b/src/main/kotlin/platform/bukkit/PaperModuleType.kt index 4ac5d537a..b4fe4b950 100644 --- a/src/main/kotlin/platform/bukkit/PaperModuleType.kt +++ b/src/main/kotlin/platform/bukkit/PaperModuleType.kt @@ -3,7 +3,7 @@ * * https://minecraftdev.org * - * Copyright (c) 2021 minecraft-dev + * Copyright (c) 2022 minecraft-dev * * MIT License */ diff --git a/src/main/kotlin/platform/bukkit/SpigotModuleType.kt b/src/main/kotlin/platform/bukkit/SpigotModuleType.kt index 0b72e14fa..34e872882 100644 --- a/src/main/kotlin/platform/bukkit/SpigotModuleType.kt +++ b/src/main/kotlin/platform/bukkit/SpigotModuleType.kt @@ -3,7 +3,7 @@ * * https://minecraftdev.org * - * Copyright (c) 2021 minecraft-dev + * Copyright (c) 2022 minecraft-dev * * MIT License */ diff --git a/src/main/kotlin/platform/bukkit/creator/BukkitProjectConfig.kt b/src/main/kotlin/platform/bukkit/creator/BukkitProjectConfig.kt index 92803cc99..5e03d06b5 100644 --- a/src/main/kotlin/platform/bukkit/creator/BukkitProjectConfig.kt +++ b/src/main/kotlin/platform/bukkit/creator/BukkitProjectConfig.kt @@ -3,7 +3,7 @@ * * https://minecraftdev.org * - * Copyright (c) 2021 minecraft-dev + * Copyright (c) 2022 minecraft-dev * * MIT License */ diff --git a/src/main/kotlin/platform/bukkit/creator/BukkitProjectCreator.kt b/src/main/kotlin/platform/bukkit/creator/BukkitProjectCreator.kt index 00b1fa424..59dca42ba 100644 --- a/src/main/kotlin/platform/bukkit/creator/BukkitProjectCreator.kt +++ b/src/main/kotlin/platform/bukkit/creator/BukkitProjectCreator.kt @@ -3,7 +3,7 @@ * * https://minecraftdev.org * - * Copyright (c) 2021 minecraft-dev + * Copyright (c) 2022 minecraft-dev * * MIT License */ diff --git a/src/main/kotlin/platform/bukkit/creator/BukkitProjectSettingsWizard.kt b/src/main/kotlin/platform/bukkit/creator/BukkitProjectSettingsWizard.kt index af4c1a161..06c03cf3c 100644 --- a/src/main/kotlin/platform/bukkit/creator/BukkitProjectSettingsWizard.kt +++ b/src/main/kotlin/platform/bukkit/creator/BukkitProjectSettingsWizard.kt @@ -3,7 +3,7 @@ * * https://minecraftdev.org * - * Copyright (c) 2021 minecraft-dev + * Copyright (c) 2022 minecraft-dev * * MIT License */ diff --git a/src/main/kotlin/platform/bukkit/creator/BukkitTemplate.kt b/src/main/kotlin/platform/bukkit/creator/BukkitTemplate.kt index d91e76c76..9045e3405 100644 --- a/src/main/kotlin/platform/bukkit/creator/BukkitTemplate.kt +++ b/src/main/kotlin/platform/bukkit/creator/BukkitTemplate.kt @@ -3,7 +3,7 @@ * * https://minecraftdev.org * - * Copyright (c) 2021 minecraft-dev + * Copyright (c) 2022 minecraft-dev * * MIT License */ diff --git a/src/main/kotlin/platform/bukkit/data/LoadOrder.kt b/src/main/kotlin/platform/bukkit/data/LoadOrder.kt index 14af42387..d25d6f7d7 100644 --- a/src/main/kotlin/platform/bukkit/data/LoadOrder.kt +++ b/src/main/kotlin/platform/bukkit/data/LoadOrder.kt @@ -3,7 +3,7 @@ * * https://minecraftdev.org * - * Copyright (c) 2021 minecraft-dev + * Copyright (c) 2022 minecraft-dev * * MIT License */ diff --git a/src/main/kotlin/platform/bukkit/framework/BukkitLibraryKind.kt b/src/main/kotlin/platform/bukkit/framework/BukkitLibraryKind.kt index b47e948f0..4989e2bdb 100644 --- a/src/main/kotlin/platform/bukkit/framework/BukkitLibraryKind.kt +++ b/src/main/kotlin/platform/bukkit/framework/BukkitLibraryKind.kt @@ -3,7 +3,7 @@ * * https://minecraftdev.org * - * Copyright (c) 2021 minecraft-dev + * Copyright (c) 2022 minecraft-dev * * MIT License */ diff --git a/src/main/kotlin/platform/bukkit/framework/BukkitPresentationProviders.kt b/src/main/kotlin/platform/bukkit/framework/BukkitPresentationProviders.kt index ecb64f49a..6a98a7126 100644 --- a/src/main/kotlin/platform/bukkit/framework/BukkitPresentationProviders.kt +++ b/src/main/kotlin/platform/bukkit/framework/BukkitPresentationProviders.kt @@ -3,7 +3,7 @@ * * https://minecraftdev.org * - * Copyright (c) 2021 minecraft-dev + * Copyright (c) 2022 minecraft-dev * * MIT License */ diff --git a/src/main/kotlin/platform/bukkit/generation/BukkitEventGenerationPanel.kt b/src/main/kotlin/platform/bukkit/generation/BukkitEventGenerationPanel.kt index 25f90d2b6..04dce226c 100644 --- a/src/main/kotlin/platform/bukkit/generation/BukkitEventGenerationPanel.kt +++ b/src/main/kotlin/platform/bukkit/generation/BukkitEventGenerationPanel.kt @@ -3,7 +3,7 @@ * * https://minecraftdev.org * - * Copyright (c) 2021 minecraft-dev + * Copyright (c) 2022 minecraft-dev * * MIT License */ diff --git a/src/main/kotlin/platform/bukkit/generation/BukkitGenerationData.kt b/src/main/kotlin/platform/bukkit/generation/BukkitGenerationData.kt index 51b6a29fe..1beb06f1f 100644 --- a/src/main/kotlin/platform/bukkit/generation/BukkitGenerationData.kt +++ b/src/main/kotlin/platform/bukkit/generation/BukkitGenerationData.kt @@ -3,7 +3,7 @@ * * https://minecraftdev.org * - * Copyright (c) 2021 minecraft-dev + * Copyright (c) 2022 minecraft-dev * * MIT License */ diff --git a/src/main/kotlin/platform/bukkit/inspection/BukkitListenerImplementedInspection.kt b/src/main/kotlin/platform/bukkit/inspection/BukkitListenerImplementedInspection.kt index bebcb6383..fb0a69409 100644 --- a/src/main/kotlin/platform/bukkit/inspection/BukkitListenerImplementedInspection.kt +++ b/src/main/kotlin/platform/bukkit/inspection/BukkitListenerImplementedInspection.kt @@ -3,7 +3,7 @@ * * https://minecraftdev.org * - * Copyright (c) 2021 minecraft-dev + * Copyright (c) 2022 minecraft-dev * * MIT License */ diff --git a/src/main/kotlin/platform/bukkit/util/BukkitConstants.kt b/src/main/kotlin/platform/bukkit/util/BukkitConstants.kt index 9da4d296f..dfd8eb926 100644 --- a/src/main/kotlin/platform/bukkit/util/BukkitConstants.kt +++ b/src/main/kotlin/platform/bukkit/util/BukkitConstants.kt @@ -3,7 +3,7 @@ * * https://minecraftdev.org * - * Copyright (c) 2021 minecraft-dev + * Copyright (c) 2022 minecraft-dev * * MIT License */ diff --git a/src/main/kotlin/platform/bungeecord/BungeeCordFileIconProvider.kt b/src/main/kotlin/platform/bungeecord/BungeeCordFileIconProvider.kt index ab3497e74..191e5d46d 100644 --- a/src/main/kotlin/platform/bungeecord/BungeeCordFileIconProvider.kt +++ b/src/main/kotlin/platform/bungeecord/BungeeCordFileIconProvider.kt @@ -3,7 +3,7 @@ * * https://minecraftdev.org * - * Copyright (c) 2021 minecraft-dev + * Copyright (c) 2022 minecraft-dev * * MIT License */ diff --git a/src/main/kotlin/platform/bungeecord/BungeeCordModule.kt b/src/main/kotlin/platform/bungeecord/BungeeCordModule.kt index 8118b5a30..53f4832e6 100644 --- a/src/main/kotlin/platform/bungeecord/BungeeCordModule.kt +++ b/src/main/kotlin/platform/bungeecord/BungeeCordModule.kt @@ -3,7 +3,7 @@ * * https://minecraftdev.org * - * Copyright (c) 2021 minecraft-dev + * Copyright (c) 2022 minecraft-dev * * MIT License */ diff --git a/src/main/kotlin/platform/bungeecord/BungeeCordModuleType.kt b/src/main/kotlin/platform/bungeecord/BungeeCordModuleType.kt index 08808ded8..70d965b1c 100644 --- a/src/main/kotlin/platform/bungeecord/BungeeCordModuleType.kt +++ b/src/main/kotlin/platform/bungeecord/BungeeCordModuleType.kt @@ -3,7 +3,7 @@ * * https://minecraftdev.org * - * Copyright (c) 2021 minecraft-dev + * Copyright (c) 2022 minecraft-dev * * MIT License */ diff --git a/src/main/kotlin/platform/bungeecord/WaterfallModuleType.kt b/src/main/kotlin/platform/bungeecord/WaterfallModuleType.kt index f0e4919b8..d9b8d0f85 100644 --- a/src/main/kotlin/platform/bungeecord/WaterfallModuleType.kt +++ b/src/main/kotlin/platform/bungeecord/WaterfallModuleType.kt @@ -3,7 +3,7 @@ * * https://minecraftdev.org * - * Copyright (c) 2021 minecraft-dev + * Copyright (c) 2022 minecraft-dev * * MIT License */ diff --git a/src/main/kotlin/platform/bungeecord/creator/BungeeCordProjectConfig.kt b/src/main/kotlin/platform/bungeecord/creator/BungeeCordProjectConfig.kt index e466c0592..704a30c4d 100644 --- a/src/main/kotlin/platform/bungeecord/creator/BungeeCordProjectConfig.kt +++ b/src/main/kotlin/platform/bungeecord/creator/BungeeCordProjectConfig.kt @@ -3,7 +3,7 @@ * * https://minecraftdev.org * - * Copyright (c) 2021 minecraft-dev + * Copyright (c) 2022 minecraft-dev * * MIT License */ diff --git a/src/main/kotlin/platform/bungeecord/creator/BungeeCordProjectCreator.kt b/src/main/kotlin/platform/bungeecord/creator/BungeeCordProjectCreator.kt index 1a1cce84d..6efc0b184 100644 --- a/src/main/kotlin/platform/bungeecord/creator/BungeeCordProjectCreator.kt +++ b/src/main/kotlin/platform/bungeecord/creator/BungeeCordProjectCreator.kt @@ -3,7 +3,7 @@ * * https://minecraftdev.org * - * Copyright (c) 2021 minecraft-dev + * Copyright (c) 2022 minecraft-dev * * MIT License */ diff --git a/src/main/kotlin/platform/bungeecord/creator/BungeeCordProjectSettingsWizard.kt b/src/main/kotlin/platform/bungeecord/creator/BungeeCordProjectSettingsWizard.kt index 898a84483..7a279e42c 100644 --- a/src/main/kotlin/platform/bungeecord/creator/BungeeCordProjectSettingsWizard.kt +++ b/src/main/kotlin/platform/bungeecord/creator/BungeeCordProjectSettingsWizard.kt @@ -3,7 +3,7 @@ * * https://minecraftdev.org * - * Copyright (c) 2021 minecraft-dev + * Copyright (c) 2022 minecraft-dev * * MIT License */ diff --git a/src/main/kotlin/platform/bungeecord/creator/BungeeCordTemplate.kt b/src/main/kotlin/platform/bungeecord/creator/BungeeCordTemplate.kt index c08be7b85..bfa666cac 100644 --- a/src/main/kotlin/platform/bungeecord/creator/BungeeCordTemplate.kt +++ b/src/main/kotlin/platform/bungeecord/creator/BungeeCordTemplate.kt @@ -3,7 +3,7 @@ * * https://minecraftdev.org * - * Copyright (c) 2021 minecraft-dev + * Copyright (c) 2022 minecraft-dev * * MIT License */ diff --git a/src/main/kotlin/platform/bungeecord/framework/BungeeCordLibraryKind.kt b/src/main/kotlin/platform/bungeecord/framework/BungeeCordLibraryKind.kt index 316203a49..c94be8e49 100644 --- a/src/main/kotlin/platform/bungeecord/framework/BungeeCordLibraryKind.kt +++ b/src/main/kotlin/platform/bungeecord/framework/BungeeCordLibraryKind.kt @@ -3,7 +3,7 @@ * * https://minecraftdev.org * - * Copyright (c) 2021 minecraft-dev + * Copyright (c) 2022 minecraft-dev * * MIT License */ diff --git a/src/main/kotlin/platform/bungeecord/framework/BungeeCordPresentationProvider.kt b/src/main/kotlin/platform/bungeecord/framework/BungeeCordPresentationProvider.kt index 96a6f8e96..c67523d94 100644 --- a/src/main/kotlin/platform/bungeecord/framework/BungeeCordPresentationProvider.kt +++ b/src/main/kotlin/platform/bungeecord/framework/BungeeCordPresentationProvider.kt @@ -3,7 +3,7 @@ * * https://minecraftdev.org * - * Copyright (c) 2021 minecraft-dev + * Copyright (c) 2022 minecraft-dev * * MIT License */ diff --git a/src/main/kotlin/platform/bungeecord/generation/BungeeCordEventGenerationPanel.kt b/src/main/kotlin/platform/bungeecord/generation/BungeeCordEventGenerationPanel.kt index 272577934..628ce91ef 100644 --- a/src/main/kotlin/platform/bungeecord/generation/BungeeCordEventGenerationPanel.kt +++ b/src/main/kotlin/platform/bungeecord/generation/BungeeCordEventGenerationPanel.kt @@ -3,7 +3,7 @@ * * https://minecraftdev.org * - * Copyright (c) 2021 minecraft-dev + * Copyright (c) 2022 minecraft-dev * * MIT License */ diff --git a/src/main/kotlin/platform/bungeecord/generation/BungeeCordGenerationData.kt b/src/main/kotlin/platform/bungeecord/generation/BungeeCordGenerationData.kt index 5c14a5cc6..6da30ef92 100644 --- a/src/main/kotlin/platform/bungeecord/generation/BungeeCordGenerationData.kt +++ b/src/main/kotlin/platform/bungeecord/generation/BungeeCordGenerationData.kt @@ -3,7 +3,7 @@ * * https://minecraftdev.org * - * Copyright (c) 2021 minecraft-dev + * Copyright (c) 2022 minecraft-dev * * MIT License */ diff --git a/src/main/kotlin/platform/bungeecord/inspection/BungeeCordListenerImplementedInspection.kt b/src/main/kotlin/platform/bungeecord/inspection/BungeeCordListenerImplementedInspection.kt index 9fcc909b8..3b3606a89 100644 --- a/src/main/kotlin/platform/bungeecord/inspection/BungeeCordListenerImplementedInspection.kt +++ b/src/main/kotlin/platform/bungeecord/inspection/BungeeCordListenerImplementedInspection.kt @@ -3,7 +3,7 @@ * * https://minecraftdev.org * - * Copyright (c) 2021 minecraft-dev + * Copyright (c) 2022 minecraft-dev * * MIT License */ diff --git a/src/main/kotlin/platform/bungeecord/util/BungeeCordConstants.kt b/src/main/kotlin/platform/bungeecord/util/BungeeCordConstants.kt index 5c849bcc6..56a1b137b 100644 --- a/src/main/kotlin/platform/bungeecord/util/BungeeCordConstants.kt +++ b/src/main/kotlin/platform/bungeecord/util/BungeeCordConstants.kt @@ -3,7 +3,7 @@ * * https://minecraftdev.org * - * Copyright (c) 2021 minecraft-dev + * Copyright (c) 2022 minecraft-dev * * MIT License */ diff --git a/src/main/kotlin/platform/fabric/EntryPoint.kt b/src/main/kotlin/platform/fabric/EntryPoint.kt index 63748596c..e0c66740f 100644 --- a/src/main/kotlin/platform/fabric/EntryPoint.kt +++ b/src/main/kotlin/platform/fabric/EntryPoint.kt @@ -3,7 +3,7 @@ * * https://minecraftdev.org * - * Copyright (c) 2021 minecraft-dev + * Copyright (c) 2022 minecraft-dev * * MIT License */ diff --git a/src/main/kotlin/platform/fabric/FabricFileIconProvider.kt b/src/main/kotlin/platform/fabric/FabricFileIconProvider.kt index e53d70e7f..ae34b42af 100644 --- a/src/main/kotlin/platform/fabric/FabricFileIconProvider.kt +++ b/src/main/kotlin/platform/fabric/FabricFileIconProvider.kt @@ -3,7 +3,7 @@ * * https://minecraftdev.org * - * Copyright (c) 2021 minecraft-dev + * Copyright (c) 2022 minecraft-dev * * MIT License */ diff --git a/src/main/kotlin/platform/fabric/FabricModule.kt b/src/main/kotlin/platform/fabric/FabricModule.kt index 8dd25e9b7..3bd4975b0 100644 --- a/src/main/kotlin/platform/fabric/FabricModule.kt +++ b/src/main/kotlin/platform/fabric/FabricModule.kt @@ -3,7 +3,7 @@ * * https://minecraftdev.org * - * Copyright (c) 2021 minecraft-dev + * Copyright (c) 2022 minecraft-dev * * MIT License */ diff --git a/src/main/kotlin/platform/fabric/FabricModuleType.kt b/src/main/kotlin/platform/fabric/FabricModuleType.kt index ea5b5bb96..0f8b7cc83 100644 --- a/src/main/kotlin/platform/fabric/FabricModuleType.kt +++ b/src/main/kotlin/platform/fabric/FabricModuleType.kt @@ -3,7 +3,7 @@ * * https://minecraftdev.org * - * Copyright (c) 2021 minecraft-dev + * Copyright (c) 2022 minecraft-dev * * MIT License */ diff --git a/src/main/kotlin/platform/fabric/creator/FabricProjectConfig.kt b/src/main/kotlin/platform/fabric/creator/FabricProjectConfig.kt index 1844a1d0d..ecc9fcdc5 100644 --- a/src/main/kotlin/platform/fabric/creator/FabricProjectConfig.kt +++ b/src/main/kotlin/platform/fabric/creator/FabricProjectConfig.kt @@ -3,7 +3,7 @@ * * https://minecraftdev.org * - * Copyright (c) 2021 minecraft-dev + * Copyright (c) 2022 minecraft-dev * * MIT License */ diff --git a/src/main/kotlin/platform/fabric/creator/FabricProjectCreator.kt b/src/main/kotlin/platform/fabric/creator/FabricProjectCreator.kt index 01ac816ba..7a232228a 100644 --- a/src/main/kotlin/platform/fabric/creator/FabricProjectCreator.kt +++ b/src/main/kotlin/platform/fabric/creator/FabricProjectCreator.kt @@ -3,7 +3,7 @@ * * https://minecraftdev.org * - * Copyright (c) 2021 minecraft-dev + * Copyright (c) 2022 minecraft-dev * * MIT License */ diff --git a/src/main/kotlin/platform/fabric/creator/FabricProjectSettingsWizard.kt b/src/main/kotlin/platform/fabric/creator/FabricProjectSettingsWizard.kt index dd39b914a..378d2f695 100644 --- a/src/main/kotlin/platform/fabric/creator/FabricProjectSettingsWizard.kt +++ b/src/main/kotlin/platform/fabric/creator/FabricProjectSettingsWizard.kt @@ -3,7 +3,7 @@ * * https://minecraftdev.org * - * Copyright (c) 2021 minecraft-dev + * Copyright (c) 2022 minecraft-dev * * MIT License */ diff --git a/src/main/kotlin/platform/fabric/creator/FabricTemplate.kt b/src/main/kotlin/platform/fabric/creator/FabricTemplate.kt index 353bb46ca..19e6126df 100644 --- a/src/main/kotlin/platform/fabric/creator/FabricTemplate.kt +++ b/src/main/kotlin/platform/fabric/creator/FabricTemplate.kt @@ -3,7 +3,7 @@ * * https://minecraftdev.org * - * Copyright (c) 2021 minecraft-dev + * Copyright (c) 2022 minecraft-dev * * MIT License */ diff --git a/src/main/kotlin/platform/fabric/framework/FabricLibraryKind.kt b/src/main/kotlin/platform/fabric/framework/FabricLibraryKind.kt index 5e6783d0a..918d92b3b 100644 --- a/src/main/kotlin/platform/fabric/framework/FabricLibraryKind.kt +++ b/src/main/kotlin/platform/fabric/framework/FabricLibraryKind.kt @@ -3,7 +3,7 @@ * * https://minecraftdev.org * - * Copyright (c) 2021 minecraft-dev + * Copyright (c) 2022 minecraft-dev * * MIT License */ diff --git a/src/main/kotlin/platform/fabric/framework/FabricPresentationProvider.kt b/src/main/kotlin/platform/fabric/framework/FabricPresentationProvider.kt index 587f9269e..be58da9dc 100644 --- a/src/main/kotlin/platform/fabric/framework/FabricPresentationProvider.kt +++ b/src/main/kotlin/platform/fabric/framework/FabricPresentationProvider.kt @@ -3,7 +3,7 @@ * * https://minecraftdev.org * - * Copyright (c) 2021 minecraft-dev + * Copyright (c) 2022 minecraft-dev * * MIT License */ diff --git a/src/main/kotlin/platform/fabric/inspection/UnresolvedReferenceInspection.kt b/src/main/kotlin/platform/fabric/inspection/UnresolvedReferenceInspection.kt index 01f83b443..adbbcff7f 100644 --- a/src/main/kotlin/platform/fabric/inspection/UnresolvedReferenceInspection.kt +++ b/src/main/kotlin/platform/fabric/inspection/UnresolvedReferenceInspection.kt @@ -3,7 +3,7 @@ * * https://minecraftdev.org * - * Copyright (c) 2021 minecraft-dev + * Copyright (c) 2022 minecraft-dev * * MIT License */ diff --git a/src/main/kotlin/platform/fabric/reference/EntryPointReference.kt b/src/main/kotlin/platform/fabric/reference/EntryPointReference.kt index 7d8e4581a..72f0b4d46 100644 --- a/src/main/kotlin/platform/fabric/reference/EntryPointReference.kt +++ b/src/main/kotlin/platform/fabric/reference/EntryPointReference.kt @@ -3,7 +3,7 @@ * * https://minecraftdev.org * - * Copyright (c) 2021 minecraft-dev + * Copyright (c) 2022 minecraft-dev * * MIT License */ diff --git a/src/main/kotlin/platform/fabric/reference/FabricReferenceContributor.kt b/src/main/kotlin/platform/fabric/reference/FabricReferenceContributor.kt index 773d2681b..00e94581d 100644 --- a/src/main/kotlin/platform/fabric/reference/FabricReferenceContributor.kt +++ b/src/main/kotlin/platform/fabric/reference/FabricReferenceContributor.kt @@ -3,7 +3,7 @@ * * https://minecraftdev.org * - * Copyright (c) 2021 minecraft-dev + * Copyright (c) 2022 minecraft-dev * * MIT License */ diff --git a/src/main/kotlin/platform/fabric/reference/LicenseReference.kt b/src/main/kotlin/platform/fabric/reference/LicenseReference.kt index 70d5c138a..7f8b592d3 100644 --- a/src/main/kotlin/platform/fabric/reference/LicenseReference.kt +++ b/src/main/kotlin/platform/fabric/reference/LicenseReference.kt @@ -3,7 +3,7 @@ * * https://minecraftdev.org * - * Copyright (c) 2021 minecraft-dev + * Copyright (c) 2022 minecraft-dev * * MIT License */ diff --git a/src/main/kotlin/platform/fabric/reference/ResourceFileReference.kt b/src/main/kotlin/platform/fabric/reference/ResourceFileReference.kt index a437172d4..07bba4491 100644 --- a/src/main/kotlin/platform/fabric/reference/ResourceFileReference.kt +++ b/src/main/kotlin/platform/fabric/reference/ResourceFileReference.kt @@ -3,7 +3,7 @@ * * https://minecraftdev.org * - * Copyright (c) 2021 minecraft-dev + * Copyright (c) 2022 minecraft-dev * * MIT License */ diff --git a/src/main/kotlin/platform/fabric/util/FabricConstants.kt b/src/main/kotlin/platform/fabric/util/FabricConstants.kt index 6e2ba7f28..9d398d5bb 100644 --- a/src/main/kotlin/platform/fabric/util/FabricConstants.kt +++ b/src/main/kotlin/platform/fabric/util/FabricConstants.kt @@ -3,7 +3,7 @@ * * https://minecraftdev.org * - * Copyright (c) 2021 minecraft-dev + * Copyright (c) 2022 minecraft-dev * * MIT License */ diff --git a/src/main/kotlin/platform/forge/ForgeFileIconProvider.kt b/src/main/kotlin/platform/forge/ForgeFileIconProvider.kt index d9107984b..65e651172 100644 --- a/src/main/kotlin/platform/forge/ForgeFileIconProvider.kt +++ b/src/main/kotlin/platform/forge/ForgeFileIconProvider.kt @@ -3,7 +3,7 @@ * * https://minecraftdev.org * - * Copyright (c) 2021 minecraft-dev + * Copyright (c) 2022 minecraft-dev * * MIT License */ diff --git a/src/main/kotlin/platform/forge/ForgeModule.kt b/src/main/kotlin/platform/forge/ForgeModule.kt index 8139ec6ab..3522644f9 100644 --- a/src/main/kotlin/platform/forge/ForgeModule.kt +++ b/src/main/kotlin/platform/forge/ForgeModule.kt @@ -3,7 +3,7 @@ * * https://minecraftdev.org * - * Copyright (c) 2021 minecraft-dev + * Copyright (c) 2022 minecraft-dev * * MIT License */ diff --git a/src/main/kotlin/platform/forge/ForgeModuleType.kt b/src/main/kotlin/platform/forge/ForgeModuleType.kt index 57a630be6..5679f65c1 100644 --- a/src/main/kotlin/platform/forge/ForgeModuleType.kt +++ b/src/main/kotlin/platform/forge/ForgeModuleType.kt @@ -3,7 +3,7 @@ * * https://minecraftdev.org * - * Copyright (c) 2021 minecraft-dev + * Copyright (c) 2022 minecraft-dev * * MIT License */ diff --git a/src/main/kotlin/platform/forge/creator/Fg2Template.kt b/src/main/kotlin/platform/forge/creator/Fg2Template.kt index 3127ca9a1..d4b6f5615 100644 --- a/src/main/kotlin/platform/forge/creator/Fg2Template.kt +++ b/src/main/kotlin/platform/forge/creator/Fg2Template.kt @@ -3,7 +3,7 @@ * * https://minecraftdev.org * - * Copyright (c) 2021 minecraft-dev + * Copyright (c) 2022 minecraft-dev * * MIT License */ diff --git a/src/main/kotlin/platform/forge/creator/Fg3Template.kt b/src/main/kotlin/platform/forge/creator/Fg3Template.kt index b0430d36f..3ecbb52f7 100644 --- a/src/main/kotlin/platform/forge/creator/Fg3Template.kt +++ b/src/main/kotlin/platform/forge/creator/Fg3Template.kt @@ -3,7 +3,7 @@ * * https://minecraftdev.org * - * Copyright (c) 2021 minecraft-dev + * Copyright (c) 2022 minecraft-dev * * MIT License */ diff --git a/src/main/kotlin/platform/forge/creator/ForgeProjectConfig.kt b/src/main/kotlin/platform/forge/creator/ForgeProjectConfig.kt index 445c22012..06ea155a1 100644 --- a/src/main/kotlin/platform/forge/creator/ForgeProjectConfig.kt +++ b/src/main/kotlin/platform/forge/creator/ForgeProjectConfig.kt @@ -3,7 +3,7 @@ * * https://minecraftdev.org * - * Copyright (c) 2021 minecraft-dev + * Copyright (c) 2022 minecraft-dev * * MIT License */ diff --git a/src/main/kotlin/platform/forge/creator/ForgeProjectCreator.kt b/src/main/kotlin/platform/forge/creator/ForgeProjectCreator.kt index 98a609bd9..0974be5f1 100644 --- a/src/main/kotlin/platform/forge/creator/ForgeProjectCreator.kt +++ b/src/main/kotlin/platform/forge/creator/ForgeProjectCreator.kt @@ -3,7 +3,7 @@ * * https://minecraftdev.org * - * Copyright (c) 2021 minecraft-dev + * Copyright (c) 2022 minecraft-dev * * MIT License */ diff --git a/src/main/kotlin/platform/forge/creator/ForgeProjectSettingsWizard.kt b/src/main/kotlin/platform/forge/creator/ForgeProjectSettingsWizard.kt index 2ef2b10cc..7eace3738 100644 --- a/src/main/kotlin/platform/forge/creator/ForgeProjectSettingsWizard.kt +++ b/src/main/kotlin/platform/forge/creator/ForgeProjectSettingsWizard.kt @@ -3,7 +3,7 @@ * * https://minecraftdev.org * - * Copyright (c) 2021 minecraft-dev + * Copyright (c) 2022 minecraft-dev * * MIT License */ diff --git a/src/main/kotlin/platform/forge/framework/ForgeLibraryKind.kt b/src/main/kotlin/platform/forge/framework/ForgeLibraryKind.kt index 458026ca7..2e9403584 100644 --- a/src/main/kotlin/platform/forge/framework/ForgeLibraryKind.kt +++ b/src/main/kotlin/platform/forge/framework/ForgeLibraryKind.kt @@ -3,7 +3,7 @@ * * https://minecraftdev.org * - * Copyright (c) 2021 minecraft-dev + * Copyright (c) 2022 minecraft-dev * * MIT License */ diff --git a/src/main/kotlin/platform/forge/framework/ForgePresentationProvider.kt b/src/main/kotlin/platform/forge/framework/ForgePresentationProvider.kt index b7b107e3d..845c78b29 100644 --- a/src/main/kotlin/platform/forge/framework/ForgePresentationProvider.kt +++ b/src/main/kotlin/platform/forge/framework/ForgePresentationProvider.kt @@ -3,7 +3,7 @@ * * https://minecraftdev.org * - * Copyright (c) 2021 minecraft-dev + * Copyright (c) 2022 minecraft-dev * * MIT License */ diff --git a/src/main/kotlin/platform/forge/gradle/ForgeRunConfigDataService.kt b/src/main/kotlin/platform/forge/gradle/ForgeRunConfigDataService.kt index 82ec35d17..92cf28871 100644 --- a/src/main/kotlin/platform/forge/gradle/ForgeRunConfigDataService.kt +++ b/src/main/kotlin/platform/forge/gradle/ForgeRunConfigDataService.kt @@ -3,7 +3,7 @@ * * https://minecraftdev.org * - * Copyright (c) 2021 minecraft-dev + * Copyright (c) 2022 minecraft-dev * * MIT License */ diff --git a/src/main/kotlin/platform/forge/insight/ForgeImplicitUsageProvider.kt b/src/main/kotlin/platform/forge/insight/ForgeImplicitUsageProvider.kt index eab37eae4..3d645cf72 100644 --- a/src/main/kotlin/platform/forge/insight/ForgeImplicitUsageProvider.kt +++ b/src/main/kotlin/platform/forge/insight/ForgeImplicitUsageProvider.kt @@ -3,7 +3,7 @@ * * https://minecraftdev.org * - * Copyright (c) 2021 minecraft-dev + * Copyright (c) 2022 minecraft-dev * * MIT License */ diff --git a/src/main/kotlin/platform/forge/inspections/sideonly/FieldDeclarationSideOnlyInspection.kt b/src/main/kotlin/platform/forge/inspections/sideonly/FieldDeclarationSideOnlyInspection.kt index ee258aacb..663dd6b98 100644 --- a/src/main/kotlin/platform/forge/inspections/sideonly/FieldDeclarationSideOnlyInspection.kt +++ b/src/main/kotlin/platform/forge/inspections/sideonly/FieldDeclarationSideOnlyInspection.kt @@ -3,7 +3,7 @@ * * https://minecraftdev.org * - * Copyright (c) 2021 minecraft-dev + * Copyright (c) 2022 minecraft-dev * * MIT License */ diff --git a/src/main/kotlin/platform/forge/inspections/sideonly/LocalVariableDeclarationSideOnlyInspection.kt b/src/main/kotlin/platform/forge/inspections/sideonly/LocalVariableDeclarationSideOnlyInspection.kt index f07e382c9..190230cd4 100644 --- a/src/main/kotlin/platform/forge/inspections/sideonly/LocalVariableDeclarationSideOnlyInspection.kt +++ b/src/main/kotlin/platform/forge/inspections/sideonly/LocalVariableDeclarationSideOnlyInspection.kt @@ -3,7 +3,7 @@ * * https://minecraftdev.org * - * Copyright (c) 2021 minecraft-dev + * Copyright (c) 2022 minecraft-dev * * MIT License */ diff --git a/src/main/kotlin/platform/forge/inspections/sideonly/MethodCallSideOnlyInspection.kt b/src/main/kotlin/platform/forge/inspections/sideonly/MethodCallSideOnlyInspection.kt index 4644f85cf..c49bd4f5b 100644 --- a/src/main/kotlin/platform/forge/inspections/sideonly/MethodCallSideOnlyInspection.kt +++ b/src/main/kotlin/platform/forge/inspections/sideonly/MethodCallSideOnlyInspection.kt @@ -3,7 +3,7 @@ * * https://minecraftdev.org * - * Copyright (c) 2021 minecraft-dev + * Copyright (c) 2022 minecraft-dev * * MIT License */ diff --git a/src/main/kotlin/platform/forge/inspections/sideonly/MethodSideOnlyInspection.kt b/src/main/kotlin/platform/forge/inspections/sideonly/MethodSideOnlyInspection.kt index 02f0cae0c..78752f4ed 100644 --- a/src/main/kotlin/platform/forge/inspections/sideonly/MethodSideOnlyInspection.kt +++ b/src/main/kotlin/platform/forge/inspections/sideonly/MethodSideOnlyInspection.kt @@ -3,7 +3,7 @@ * * https://minecraftdev.org * - * Copyright (c) 2021 minecraft-dev + * Copyright (c) 2022 minecraft-dev * * MIT License */ diff --git a/src/main/kotlin/platform/forge/inspections/sideonly/NestedClassSideOnlyInspection.kt b/src/main/kotlin/platform/forge/inspections/sideonly/NestedClassSideOnlyInspection.kt index 025b63fc3..5ec374ec4 100644 --- a/src/main/kotlin/platform/forge/inspections/sideonly/NestedClassSideOnlyInspection.kt +++ b/src/main/kotlin/platform/forge/inspections/sideonly/NestedClassSideOnlyInspection.kt @@ -3,7 +3,7 @@ * * https://minecraftdev.org * - * Copyright (c) 2021 minecraft-dev + * Copyright (c) 2022 minecraft-dev * * MIT License */ diff --git a/src/main/kotlin/platform/forge/inspections/sideonly/NewExpressionSideOnlyInspection.kt b/src/main/kotlin/platform/forge/inspections/sideonly/NewExpressionSideOnlyInspection.kt index b94c56e59..820a029f7 100644 --- a/src/main/kotlin/platform/forge/inspections/sideonly/NewExpressionSideOnlyInspection.kt +++ b/src/main/kotlin/platform/forge/inspections/sideonly/NewExpressionSideOnlyInspection.kt @@ -3,7 +3,7 @@ * * https://minecraftdev.org * - * Copyright (c) 2021 minecraft-dev + * Copyright (c) 2022 minecraft-dev * * MIT License */ diff --git a/src/main/kotlin/platform/forge/inspections/sideonly/RemoveAnnotationInspectionGadgetsFix.kt b/src/main/kotlin/platform/forge/inspections/sideonly/RemoveAnnotationInspectionGadgetsFix.kt index d90c193b8..6279a5036 100644 --- a/src/main/kotlin/platform/forge/inspections/sideonly/RemoveAnnotationInspectionGadgetsFix.kt +++ b/src/main/kotlin/platform/forge/inspections/sideonly/RemoveAnnotationInspectionGadgetsFix.kt @@ -3,7 +3,7 @@ * * https://minecraftdev.org * - * Copyright (c) 2021 minecraft-dev + * Copyright (c) 2022 minecraft-dev * * MIT License */ diff --git a/src/main/kotlin/platform/forge/inspections/sideonly/Side.kt b/src/main/kotlin/platform/forge/inspections/sideonly/Side.kt index 5617e5bd3..76d7aa75b 100644 --- a/src/main/kotlin/platform/forge/inspections/sideonly/Side.kt +++ b/src/main/kotlin/platform/forge/inspections/sideonly/Side.kt @@ -3,7 +3,7 @@ * * https://minecraftdev.org * - * Copyright (c) 2021 minecraft-dev + * Copyright (c) 2022 minecraft-dev * * MIT License */ diff --git a/src/main/kotlin/platform/forge/inspections/sideonly/SideAnnotation.kt b/src/main/kotlin/platform/forge/inspections/sideonly/SideAnnotation.kt index 72e1d3306..4c67682fb 100644 --- a/src/main/kotlin/platform/forge/inspections/sideonly/SideAnnotation.kt +++ b/src/main/kotlin/platform/forge/inspections/sideonly/SideAnnotation.kt @@ -3,7 +3,7 @@ * * https://minecraftdev.org * - * Copyright (c) 2021 minecraft-dev + * Copyright (c) 2022 minecraft-dev * * MIT License */ diff --git a/src/main/kotlin/platform/forge/inspections/sideonly/SideOnlyUtil.kt b/src/main/kotlin/platform/forge/inspections/sideonly/SideOnlyUtil.kt index 2eb99e619..41e9af0dc 100644 --- a/src/main/kotlin/platform/forge/inspections/sideonly/SideOnlyUtil.kt +++ b/src/main/kotlin/platform/forge/inspections/sideonly/SideOnlyUtil.kt @@ -3,7 +3,7 @@ * * https://minecraftdev.org * - * Copyright (c) 2021 minecraft-dev + * Copyright (c) 2022 minecraft-dev * * MIT License */ diff --git a/src/main/kotlin/platform/forge/inspections/sideonly/SidedProxyAnnotator.kt b/src/main/kotlin/platform/forge/inspections/sideonly/SidedProxyAnnotator.kt index 313bd197d..dcfc4f3f6 100644 --- a/src/main/kotlin/platform/forge/inspections/sideonly/SidedProxyAnnotator.kt +++ b/src/main/kotlin/platform/forge/inspections/sideonly/SidedProxyAnnotator.kt @@ -3,7 +3,7 @@ * * https://minecraftdev.org * - * Copyright (c) 2021 minecraft-dev + * Copyright (c) 2022 minecraft-dev * * MIT License */ diff --git a/src/main/kotlin/platform/forge/inspections/sideonly/VariableUseSideOnlyInspection.kt b/src/main/kotlin/platform/forge/inspections/sideonly/VariableUseSideOnlyInspection.kt index c56ff9b02..624f40dad 100644 --- a/src/main/kotlin/platform/forge/inspections/sideonly/VariableUseSideOnlyInspection.kt +++ b/src/main/kotlin/platform/forge/inspections/sideonly/VariableUseSideOnlyInspection.kt @@ -3,7 +3,7 @@ * * https://minecraftdev.org * - * Copyright (c) 2021 minecraft-dev + * Copyright (c) 2022 minecraft-dev * * MIT License */ diff --git a/src/main/kotlin/platform/forge/inspections/simpleimpl/AddEmptyConstructorInspectionGadgetsFix.kt b/src/main/kotlin/platform/forge/inspections/simpleimpl/AddEmptyConstructorInspectionGadgetsFix.kt index 034bda405..39f7484de 100644 --- a/src/main/kotlin/platform/forge/inspections/simpleimpl/AddEmptyConstructorInspectionGadgetsFix.kt +++ b/src/main/kotlin/platform/forge/inspections/simpleimpl/AddEmptyConstructorInspectionGadgetsFix.kt @@ -3,7 +3,7 @@ * * https://minecraftdev.org * - * Copyright (c) 2021 minecraft-dev + * Copyright (c) 2022 minecraft-dev * * MIT License */ diff --git a/src/main/kotlin/platform/forge/inspections/simpleimpl/MissingMessageConstructorInspection.kt b/src/main/kotlin/platform/forge/inspections/simpleimpl/MissingMessageConstructorInspection.kt index 559c97932..b7093b026 100644 --- a/src/main/kotlin/platform/forge/inspections/simpleimpl/MissingMessageConstructorInspection.kt +++ b/src/main/kotlin/platform/forge/inspections/simpleimpl/MissingMessageConstructorInspection.kt @@ -3,7 +3,7 @@ * * https://minecraftdev.org * - * Copyright (c) 2021 minecraft-dev + * Copyright (c) 2022 minecraft-dev * * MIT License */ diff --git a/src/main/kotlin/platform/forge/inspections/simpleimpl/SimpleImplUtil.kt b/src/main/kotlin/platform/forge/inspections/simpleimpl/SimpleImplUtil.kt index 57b307045..1243d9b81 100644 --- a/src/main/kotlin/platform/forge/inspections/simpleimpl/SimpleImplUtil.kt +++ b/src/main/kotlin/platform/forge/inspections/simpleimpl/SimpleImplUtil.kt @@ -3,7 +3,7 @@ * * https://minecraftdev.org * - * Copyright (c) 2021 minecraft-dev + * Copyright (c) 2022 minecraft-dev * * MIT License */ diff --git a/src/main/kotlin/platform/forge/reflection/reference/ReflectedFieldReference.kt b/src/main/kotlin/platform/forge/reflection/reference/ReflectedFieldReference.kt index c12cf5a64..6400730e7 100644 --- a/src/main/kotlin/platform/forge/reflection/reference/ReflectedFieldReference.kt +++ b/src/main/kotlin/platform/forge/reflection/reference/ReflectedFieldReference.kt @@ -3,7 +3,7 @@ * * https://minecraftdev.org * - * Copyright (c) 2021 minecraft-dev + * Copyright (c) 2022 minecraft-dev * * MIT License */ diff --git a/src/main/kotlin/platform/forge/reflection/reference/ReflectedMethodReference.kt b/src/main/kotlin/platform/forge/reflection/reference/ReflectedMethodReference.kt index 1393db574..3cccb3def 100644 --- a/src/main/kotlin/platform/forge/reflection/reference/ReflectedMethodReference.kt +++ b/src/main/kotlin/platform/forge/reflection/reference/ReflectedMethodReference.kt @@ -3,7 +3,7 @@ * * https://minecraftdev.org * - * Copyright (c) 2021 minecraft-dev + * Copyright (c) 2022 minecraft-dev * * MIT License */ diff --git a/src/main/kotlin/platform/forge/reflection/reference/ReflectionReferenceContributor.kt b/src/main/kotlin/platform/forge/reflection/reference/ReflectionReferenceContributor.kt index 5e1a88ebb..dfdad686d 100644 --- a/src/main/kotlin/platform/forge/reflection/reference/ReflectionReferenceContributor.kt +++ b/src/main/kotlin/platform/forge/reflection/reference/ReflectionReferenceContributor.kt @@ -3,7 +3,7 @@ * * https://minecraftdev.org * - * Copyright (c) 2021 minecraft-dev + * Copyright (c) 2022 minecraft-dev * * MIT License */ diff --git a/src/main/kotlin/platform/forge/util/ForgeConstants.kt b/src/main/kotlin/platform/forge/util/ForgeConstants.kt index 4d94165c9..d8cde3519 100644 --- a/src/main/kotlin/platform/forge/util/ForgeConstants.kt +++ b/src/main/kotlin/platform/forge/util/ForgeConstants.kt @@ -3,7 +3,7 @@ * * https://minecraftdev.org * - * Copyright (c) 2021 minecraft-dev + * Copyright (c) 2022 minecraft-dev * * MIT License */ diff --git a/src/main/kotlin/platform/forge/util/ForgePackAdditionalData.kt b/src/main/kotlin/platform/forge/util/ForgePackAdditionalData.kt index 3b426645e..34d1276c8 100644 --- a/src/main/kotlin/platform/forge/util/ForgePackAdditionalData.kt +++ b/src/main/kotlin/platform/forge/util/ForgePackAdditionalData.kt @@ -3,7 +3,7 @@ * * https://minecraftdev.org * - * Copyright (c) 2021 minecraft-dev + * Copyright (c) 2022 minecraft-dev * * MIT License */ diff --git a/src/main/kotlin/platform/forge/util/ForgePackDescriptor.kt b/src/main/kotlin/platform/forge/util/ForgePackDescriptor.kt index eddb5ef76..56b466036 100644 --- a/src/main/kotlin/platform/forge/util/ForgePackDescriptor.kt +++ b/src/main/kotlin/platform/forge/util/ForgePackDescriptor.kt @@ -3,7 +3,7 @@ * * https://minecraftdev.org * - * Copyright (c) 2021 minecraft-dev + * Copyright (c) 2022 minecraft-dev * * MIT License */ diff --git a/src/main/kotlin/platform/forge/version/ForgeVersion.kt b/src/main/kotlin/platform/forge/version/ForgeVersion.kt index f189b3cb5..d9213aedf 100644 --- a/src/main/kotlin/platform/forge/version/ForgeVersion.kt +++ b/src/main/kotlin/platform/forge/version/ForgeVersion.kt @@ -3,7 +3,7 @@ * * https://minecraftdev.org * - * Copyright (c) 2021 minecraft-dev + * Copyright (c) 2022 minecraft-dev * * MIT License */ diff --git a/src/main/kotlin/platform/liteloader/LiteLoaderFileIconProvider.kt b/src/main/kotlin/platform/liteloader/LiteLoaderFileIconProvider.kt index 142ffa0a9..8c62a7fc8 100644 --- a/src/main/kotlin/platform/liteloader/LiteLoaderFileIconProvider.kt +++ b/src/main/kotlin/platform/liteloader/LiteLoaderFileIconProvider.kt @@ -3,7 +3,7 @@ * * https://minecraftdev.org * - * Copyright (c) 2021 minecraft-dev + * Copyright (c) 2022 minecraft-dev * * MIT License */ diff --git a/src/main/kotlin/platform/liteloader/LiteLoaderModule.kt b/src/main/kotlin/platform/liteloader/LiteLoaderModule.kt index e0b40b363..a59bbd00c 100644 --- a/src/main/kotlin/platform/liteloader/LiteLoaderModule.kt +++ b/src/main/kotlin/platform/liteloader/LiteLoaderModule.kt @@ -3,7 +3,7 @@ * * https://minecraftdev.org * - * Copyright (c) 2021 minecraft-dev + * Copyright (c) 2022 minecraft-dev * * MIT License */ diff --git a/src/main/kotlin/platform/liteloader/LiteLoaderModuleType.kt b/src/main/kotlin/platform/liteloader/LiteLoaderModuleType.kt index 6f7373a65..392647fb9 100644 --- a/src/main/kotlin/platform/liteloader/LiteLoaderModuleType.kt +++ b/src/main/kotlin/platform/liteloader/LiteLoaderModuleType.kt @@ -3,7 +3,7 @@ * * https://minecraftdev.org * - * Copyright (c) 2021 minecraft-dev + * Copyright (c) 2022 minecraft-dev * * MIT License */ diff --git a/src/main/kotlin/platform/liteloader/creator/LiteLoaderProjectConfig.kt b/src/main/kotlin/platform/liteloader/creator/LiteLoaderProjectConfig.kt index 38856ac81..bf811acb4 100644 --- a/src/main/kotlin/platform/liteloader/creator/LiteLoaderProjectConfig.kt +++ b/src/main/kotlin/platform/liteloader/creator/LiteLoaderProjectConfig.kt @@ -3,7 +3,7 @@ * * https://minecraftdev.org * - * Copyright (c) 2021 minecraft-dev + * Copyright (c) 2022 minecraft-dev * * MIT License */ diff --git a/src/main/kotlin/platform/liteloader/creator/LiteLoaderProjectCreator.kt b/src/main/kotlin/platform/liteloader/creator/LiteLoaderProjectCreator.kt index 009ad4b1d..60699ddaa 100644 --- a/src/main/kotlin/platform/liteloader/creator/LiteLoaderProjectCreator.kt +++ b/src/main/kotlin/platform/liteloader/creator/LiteLoaderProjectCreator.kt @@ -3,7 +3,7 @@ * * https://minecraftdev.org * - * Copyright (c) 2021 minecraft-dev + * Copyright (c) 2022 minecraft-dev * * MIT License */ diff --git a/src/main/kotlin/platform/liteloader/creator/LiteLoaderProjectSettingsWizard.kt b/src/main/kotlin/platform/liteloader/creator/LiteLoaderProjectSettingsWizard.kt index a1c5f02f7..b83380d21 100644 --- a/src/main/kotlin/platform/liteloader/creator/LiteLoaderProjectSettingsWizard.kt +++ b/src/main/kotlin/platform/liteloader/creator/LiteLoaderProjectSettingsWizard.kt @@ -3,7 +3,7 @@ * * https://minecraftdev.org * - * Copyright (c) 2021 minecraft-dev + * Copyright (c) 2022 minecraft-dev * * MIT License */ diff --git a/src/main/kotlin/platform/liteloader/creator/LiteLoaderTemplate.kt b/src/main/kotlin/platform/liteloader/creator/LiteLoaderTemplate.kt index a1b4619c1..1e9e8bfda 100644 --- a/src/main/kotlin/platform/liteloader/creator/LiteLoaderTemplate.kt +++ b/src/main/kotlin/platform/liteloader/creator/LiteLoaderTemplate.kt @@ -3,7 +3,7 @@ * * https://minecraftdev.org * - * Copyright (c) 2021 minecraft-dev + * Copyright (c) 2022 minecraft-dev * * MIT License */ diff --git a/src/main/kotlin/platform/liteloader/framework/LiteLoaderLibraryKind.kt b/src/main/kotlin/platform/liteloader/framework/LiteLoaderLibraryKind.kt index f9e32ea31..a96ff1dfe 100644 --- a/src/main/kotlin/platform/liteloader/framework/LiteLoaderLibraryKind.kt +++ b/src/main/kotlin/platform/liteloader/framework/LiteLoaderLibraryKind.kt @@ -3,7 +3,7 @@ * * https://minecraftdev.org * - * Copyright (c) 2021 minecraft-dev + * Copyright (c) 2022 minecraft-dev * * MIT License */ diff --git a/src/main/kotlin/platform/liteloader/framework/LiteLoaderPresentationProvider.kt b/src/main/kotlin/platform/liteloader/framework/LiteLoaderPresentationProvider.kt index 443ed915a..e003555f5 100644 --- a/src/main/kotlin/platform/liteloader/framework/LiteLoaderPresentationProvider.kt +++ b/src/main/kotlin/platform/liteloader/framework/LiteLoaderPresentationProvider.kt @@ -3,7 +3,7 @@ * * https://minecraftdev.org * - * Copyright (c) 2021 minecraft-dev + * Copyright (c) 2022 minecraft-dev * * MIT License */ diff --git a/src/main/kotlin/platform/liteloader/util/LiteLoaderConstants.kt b/src/main/kotlin/platform/liteloader/util/LiteLoaderConstants.kt index 7552d21b7..e0fbc1255 100644 --- a/src/main/kotlin/platform/liteloader/util/LiteLoaderConstants.kt +++ b/src/main/kotlin/platform/liteloader/util/LiteLoaderConstants.kt @@ -3,7 +3,7 @@ * * https://minecraftdev.org * - * Copyright (c) 2021 minecraft-dev + * Copyright (c) 2022 minecraft-dev * * MIT License */ diff --git a/src/main/kotlin/platform/liteloader/version/LiteLoaderVersion.kt b/src/main/kotlin/platform/liteloader/version/LiteLoaderVersion.kt index 5ba384cd2..e1c973a2a 100644 --- a/src/main/kotlin/platform/liteloader/version/LiteLoaderVersion.kt +++ b/src/main/kotlin/platform/liteloader/version/LiteLoaderVersion.kt @@ -3,7 +3,7 @@ * * https://minecraftdev.org * - * Copyright (c) 2021 minecraft-dev + * Copyright (c) 2022 minecraft-dev * * MIT License */ diff --git a/src/main/kotlin/platform/mcp/McpModule.kt b/src/main/kotlin/platform/mcp/McpModule.kt index 8185772a2..c8e8d7302 100644 --- a/src/main/kotlin/platform/mcp/McpModule.kt +++ b/src/main/kotlin/platform/mcp/McpModule.kt @@ -3,7 +3,7 @@ * * https://minecraftdev.org * - * Copyright (c) 2021 minecraft-dev + * Copyright (c) 2022 minecraft-dev * * MIT License */ diff --git a/src/main/kotlin/platform/mcp/McpModuleSettings.kt b/src/main/kotlin/platform/mcp/McpModuleSettings.kt index dbfb188d3..1282ac113 100644 --- a/src/main/kotlin/platform/mcp/McpModuleSettings.kt +++ b/src/main/kotlin/platform/mcp/McpModuleSettings.kt @@ -3,7 +3,7 @@ * * https://minecraftdev.org * - * Copyright (c) 2021 minecraft-dev + * Copyright (c) 2022 minecraft-dev * * MIT License */ diff --git a/src/main/kotlin/platform/mcp/McpModuleType.kt b/src/main/kotlin/platform/mcp/McpModuleType.kt index 4979654cc..9e41b2e1b 100644 --- a/src/main/kotlin/platform/mcp/McpModuleType.kt +++ b/src/main/kotlin/platform/mcp/McpModuleType.kt @@ -3,7 +3,7 @@ * * https://minecraftdev.org * - * Copyright (c) 2021 minecraft-dev + * Copyright (c) 2022 minecraft-dev * * MIT License */ diff --git a/src/main/kotlin/platform/mcp/McpVersionPair.kt b/src/main/kotlin/platform/mcp/McpVersionPair.kt index c1dcc436f..52fbcdc2d 100644 --- a/src/main/kotlin/platform/mcp/McpVersionPair.kt +++ b/src/main/kotlin/platform/mcp/McpVersionPair.kt @@ -3,7 +3,7 @@ * * https://minecraftdev.org * - * Copyright (c) 2021 minecraft-dev + * Copyright (c) 2022 minecraft-dev * * MIT License */ diff --git a/src/main/kotlin/platform/mcp/actions/CopyAtAction.kt b/src/main/kotlin/platform/mcp/actions/CopyAtAction.kt index be83cc013..4dfca1245 100644 --- a/src/main/kotlin/platform/mcp/actions/CopyAtAction.kt +++ b/src/main/kotlin/platform/mcp/actions/CopyAtAction.kt @@ -3,7 +3,7 @@ * * https://minecraftdev.org * - * Copyright (c) 2021 minecraft-dev + * Copyright (c) 2022 minecraft-dev * * MIT License */ diff --git a/src/main/kotlin/platform/mcp/actions/FindSrgMappingAction.kt b/src/main/kotlin/platform/mcp/actions/FindSrgMappingAction.kt index 96f981334..6d1460f9a 100644 --- a/src/main/kotlin/platform/mcp/actions/FindSrgMappingAction.kt +++ b/src/main/kotlin/platform/mcp/actions/FindSrgMappingAction.kt @@ -3,7 +3,7 @@ * * https://minecraftdev.org * - * Copyright (c) 2021 minecraft-dev + * Copyright (c) 2022 minecraft-dev * * MIT License */ diff --git a/src/main/kotlin/platform/mcp/actions/GotoAtEntryAction.kt b/src/main/kotlin/platform/mcp/actions/GotoAtEntryAction.kt index e756479ed..a919645f0 100644 --- a/src/main/kotlin/platform/mcp/actions/GotoAtEntryAction.kt +++ b/src/main/kotlin/platform/mcp/actions/GotoAtEntryAction.kt @@ -3,7 +3,7 @@ * * https://minecraftdev.org * - * Copyright (c) 2021 minecraft-dev + * Copyright (c) 2022 minecraft-dev * * MIT License */ diff --git a/src/main/kotlin/platform/mcp/actions/LookupMemberAction.kt b/src/main/kotlin/platform/mcp/actions/LookupMemberAction.kt index 677c3c240..4b1689f49 100644 --- a/src/main/kotlin/platform/mcp/actions/LookupMemberAction.kt +++ b/src/main/kotlin/platform/mcp/actions/LookupMemberAction.kt @@ -3,7 +3,7 @@ * * https://minecraftdev.org * - * Copyright (c) 2021 minecraft-dev + * Copyright (c) 2022 minecraft-dev * * MIT License */ diff --git a/src/main/kotlin/platform/mcp/actions/SrgActionBase.kt b/src/main/kotlin/platform/mcp/actions/SrgActionBase.kt index bcf8ba593..893f8ebb0 100644 --- a/src/main/kotlin/platform/mcp/actions/SrgActionBase.kt +++ b/src/main/kotlin/platform/mcp/actions/SrgActionBase.kt @@ -3,7 +3,7 @@ * * https://minecraftdev.org * - * Copyright (c) 2021 minecraft-dev + * Copyright (c) 2022 minecraft-dev * * MIT License */ diff --git a/src/main/kotlin/platform/mcp/at/AtAnnotator.kt b/src/main/kotlin/platform/mcp/at/AtAnnotator.kt index 413550439..225c1d56c 100644 --- a/src/main/kotlin/platform/mcp/at/AtAnnotator.kt +++ b/src/main/kotlin/platform/mcp/at/AtAnnotator.kt @@ -3,7 +3,7 @@ * * https://minecraftdev.org * - * Copyright (c) 2021 minecraft-dev + * Copyright (c) 2022 minecraft-dev * * MIT License */ diff --git a/src/main/kotlin/platform/mcp/at/AtColorSettingsPage.kt b/src/main/kotlin/platform/mcp/at/AtColorSettingsPage.kt index 53e43d310..6ac20fcce 100644 --- a/src/main/kotlin/platform/mcp/at/AtColorSettingsPage.kt +++ b/src/main/kotlin/platform/mcp/at/AtColorSettingsPage.kt @@ -3,7 +3,7 @@ * * https://minecraftdev.org * - * Copyright (c) 2021 minecraft-dev + * Copyright (c) 2022 minecraft-dev * * MIT License */ diff --git a/src/main/kotlin/platform/mcp/at/AtCommenter.kt b/src/main/kotlin/platform/mcp/at/AtCommenter.kt index 4739c6ebc..d13439d79 100644 --- a/src/main/kotlin/platform/mcp/at/AtCommenter.kt +++ b/src/main/kotlin/platform/mcp/at/AtCommenter.kt @@ -3,7 +3,7 @@ * * https://minecraftdev.org * - * Copyright (c) 2021 minecraft-dev + * Copyright (c) 2022 minecraft-dev * * MIT License */ diff --git a/src/main/kotlin/platform/mcp/at/AtElementFactory.kt b/src/main/kotlin/platform/mcp/at/AtElementFactory.kt index 290d3225f..2e41fadb2 100644 --- a/src/main/kotlin/platform/mcp/at/AtElementFactory.kt +++ b/src/main/kotlin/platform/mcp/at/AtElementFactory.kt @@ -3,7 +3,7 @@ * * https://minecraftdev.org * - * Copyright (c) 2021 minecraft-dev + * Copyright (c) 2022 minecraft-dev * * MIT License */ diff --git a/src/main/kotlin/platform/mcp/at/AtFile.kt b/src/main/kotlin/platform/mcp/at/AtFile.kt index 4c863f8d0..2c25aec32 100644 --- a/src/main/kotlin/platform/mcp/at/AtFile.kt +++ b/src/main/kotlin/platform/mcp/at/AtFile.kt @@ -3,7 +3,7 @@ * * https://minecraftdev.org * - * Copyright (c) 2021 minecraft-dev + * Copyright (c) 2022 minecraft-dev * * MIT License */ diff --git a/src/main/kotlin/platform/mcp/at/AtFileType.kt b/src/main/kotlin/platform/mcp/at/AtFileType.kt index d8e305d31..c3c7c9b5b 100644 --- a/src/main/kotlin/platform/mcp/at/AtFileType.kt +++ b/src/main/kotlin/platform/mcp/at/AtFileType.kt @@ -3,7 +3,7 @@ * * https://minecraftdev.org * - * Copyright (c) 2021 minecraft-dev + * Copyright (c) 2022 minecraft-dev * * MIT License */ diff --git a/src/main/kotlin/platform/mcp/at/AtGotoDeclarationHandler.kt b/src/main/kotlin/platform/mcp/at/AtGotoDeclarationHandler.kt index 4a2ab24c4..73dbc93f7 100644 --- a/src/main/kotlin/platform/mcp/at/AtGotoDeclarationHandler.kt +++ b/src/main/kotlin/platform/mcp/at/AtGotoDeclarationHandler.kt @@ -3,7 +3,7 @@ * * https://minecraftdev.org * - * Copyright (c) 2021 minecraft-dev + * Copyright (c) 2022 minecraft-dev * * MIT License */ diff --git a/src/main/kotlin/platform/mcp/at/AtLanguage.kt b/src/main/kotlin/platform/mcp/at/AtLanguage.kt index 16c91af40..a78e49596 100644 --- a/src/main/kotlin/platform/mcp/at/AtLanguage.kt +++ b/src/main/kotlin/platform/mcp/at/AtLanguage.kt @@ -3,7 +3,7 @@ * * https://minecraftdev.org * - * Copyright (c) 2021 minecraft-dev + * Copyright (c) 2022 minecraft-dev * * MIT License */ diff --git a/src/main/kotlin/platform/mcp/at/AtLexerAdapter.kt b/src/main/kotlin/platform/mcp/at/AtLexerAdapter.kt index fb92d67d9..b3eb606ba 100644 --- a/src/main/kotlin/platform/mcp/at/AtLexerAdapter.kt +++ b/src/main/kotlin/platform/mcp/at/AtLexerAdapter.kt @@ -3,7 +3,7 @@ * * https://minecraftdev.org * - * Copyright (c) 2021 minecraft-dev + * Copyright (c) 2022 minecraft-dev * * MIT License */ diff --git a/src/main/kotlin/platform/mcp/at/AtMemberReference.kt b/src/main/kotlin/platform/mcp/at/AtMemberReference.kt index ad842e7f0..6d8648832 100644 --- a/src/main/kotlin/platform/mcp/at/AtMemberReference.kt +++ b/src/main/kotlin/platform/mcp/at/AtMemberReference.kt @@ -3,7 +3,7 @@ * * https://minecraftdev.org * - * Copyright (c) 2021 minecraft-dev + * Copyright (c) 2022 minecraft-dev * * MIT License */ diff --git a/src/main/kotlin/platform/mcp/at/AtParserDefinition.kt b/src/main/kotlin/platform/mcp/at/AtParserDefinition.kt index 0b9085479..2b4859cf0 100644 --- a/src/main/kotlin/platform/mcp/at/AtParserDefinition.kt +++ b/src/main/kotlin/platform/mcp/at/AtParserDefinition.kt @@ -3,7 +3,7 @@ * * https://minecraftdev.org * - * Copyright (c) 2021 minecraft-dev + * Copyright (c) 2022 minecraft-dev * * MIT License */ diff --git a/src/main/kotlin/platform/mcp/at/AtSyntaxHighlighter.kt b/src/main/kotlin/platform/mcp/at/AtSyntaxHighlighter.kt index 0e3bd5cab..e24682aac 100644 --- a/src/main/kotlin/platform/mcp/at/AtSyntaxHighlighter.kt +++ b/src/main/kotlin/platform/mcp/at/AtSyntaxHighlighter.kt @@ -3,7 +3,7 @@ * * https://minecraftdev.org * - * Copyright (c) 2021 minecraft-dev + * Copyright (c) 2022 minecraft-dev * * MIT License */ diff --git a/src/main/kotlin/platform/mcp/at/AtSyntaxHighlighterFactory.kt b/src/main/kotlin/platform/mcp/at/AtSyntaxHighlighterFactory.kt index d27e87a14..40c8a1592 100644 --- a/src/main/kotlin/platform/mcp/at/AtSyntaxHighlighterFactory.kt +++ b/src/main/kotlin/platform/mcp/at/AtSyntaxHighlighterFactory.kt @@ -3,7 +3,7 @@ * * https://minecraftdev.org * - * Copyright (c) 2021 minecraft-dev + * Copyright (c) 2022 minecraft-dev * * MIT License */ diff --git a/src/main/kotlin/platform/mcp/at/AtUsageInspection.kt b/src/main/kotlin/platform/mcp/at/AtUsageInspection.kt index c4f64baa6..354861e86 100644 --- a/src/main/kotlin/platform/mcp/at/AtUsageInspection.kt +++ b/src/main/kotlin/platform/mcp/at/AtUsageInspection.kt @@ -3,7 +3,7 @@ * * https://minecraftdev.org * - * Copyright (c) 2021 minecraft-dev + * Copyright (c) 2022 minecraft-dev * * MIT License */ diff --git a/src/main/kotlin/platform/mcp/at/completion/AtCompletionContributor.kt b/src/main/kotlin/platform/mcp/at/completion/AtCompletionContributor.kt index fa208793a..de7a078bc 100644 --- a/src/main/kotlin/platform/mcp/at/completion/AtCompletionContributor.kt +++ b/src/main/kotlin/platform/mcp/at/completion/AtCompletionContributor.kt @@ -3,7 +3,7 @@ * * https://minecraftdev.org * - * Copyright (c) 2021 minecraft-dev + * Copyright (c) 2022 minecraft-dev * * MIT License */ diff --git a/src/main/kotlin/platform/mcp/at/completion/AtTypedHandlerDelegate.kt b/src/main/kotlin/platform/mcp/at/completion/AtTypedHandlerDelegate.kt index 4e4d1d42a..c678d024e 100644 --- a/src/main/kotlin/platform/mcp/at/completion/AtTypedHandlerDelegate.kt +++ b/src/main/kotlin/platform/mcp/at/completion/AtTypedHandlerDelegate.kt @@ -3,7 +3,7 @@ * * https://minecraftdev.org * - * Copyright (c) 2021 minecraft-dev + * Copyright (c) 2022 minecraft-dev * * MIT License */ diff --git a/src/main/kotlin/platform/mcp/at/completion/KindPrefixMatcher.kt b/src/main/kotlin/platform/mcp/at/completion/KindPrefixMatcher.kt index 9d61331b0..52085b840 100644 --- a/src/main/kotlin/platform/mcp/at/completion/KindPrefixMatcher.kt +++ b/src/main/kotlin/platform/mcp/at/completion/KindPrefixMatcher.kt @@ -3,7 +3,7 @@ * * https://minecraftdev.org * - * Copyright (c) 2021 minecraft-dev + * Copyright (c) 2022 minecraft-dev * * MIT License */ diff --git a/src/main/kotlin/platform/mcp/at/completion/SrgPrefixMatcher.kt b/src/main/kotlin/platform/mcp/at/completion/SrgPrefixMatcher.kt index 9624e38d7..b9a737b1f 100644 --- a/src/main/kotlin/platform/mcp/at/completion/SrgPrefixMatcher.kt +++ b/src/main/kotlin/platform/mcp/at/completion/SrgPrefixMatcher.kt @@ -3,7 +3,7 @@ * * https://minecraftdev.org * - * Copyright (c) 2021 minecraft-dev + * Copyright (c) 2022 minecraft-dev * * MIT License */ diff --git a/src/main/kotlin/platform/mcp/at/psi/AtElement.kt b/src/main/kotlin/platform/mcp/at/psi/AtElement.kt index 024216fa0..0a535a859 100644 --- a/src/main/kotlin/platform/mcp/at/psi/AtElement.kt +++ b/src/main/kotlin/platform/mcp/at/psi/AtElement.kt @@ -3,7 +3,7 @@ * * https://minecraftdev.org * - * Copyright (c) 2021 minecraft-dev + * Copyright (c) 2022 minecraft-dev * * MIT License */ diff --git a/src/main/kotlin/platform/mcp/at/psi/AtElementType.kt b/src/main/kotlin/platform/mcp/at/psi/AtElementType.kt index 7747180e0..7ad14b80b 100644 --- a/src/main/kotlin/platform/mcp/at/psi/AtElementType.kt +++ b/src/main/kotlin/platform/mcp/at/psi/AtElementType.kt @@ -3,7 +3,7 @@ * * https://minecraftdev.org * - * Copyright (c) 2021 minecraft-dev + * Copyright (c) 2022 minecraft-dev * * MIT License */ diff --git a/src/main/kotlin/platform/mcp/at/psi/AtMixinUtil.kt b/src/main/kotlin/platform/mcp/at/psi/AtMixinUtil.kt index cce04f02f..cf47378cf 100644 --- a/src/main/kotlin/platform/mcp/at/psi/AtMixinUtil.kt +++ b/src/main/kotlin/platform/mcp/at/psi/AtMixinUtil.kt @@ -3,7 +3,7 @@ * * https://minecraftdev.org * - * Copyright (c) 2021 minecraft-dev + * Copyright (c) 2022 minecraft-dev * * MIT License */ diff --git a/src/main/kotlin/platform/mcp/at/psi/AtTokenType.kt b/src/main/kotlin/platform/mcp/at/psi/AtTokenType.kt index ce1f93214..2a4426ea6 100644 --- a/src/main/kotlin/platform/mcp/at/psi/AtTokenType.kt +++ b/src/main/kotlin/platform/mcp/at/psi/AtTokenType.kt @@ -3,7 +3,7 @@ * * https://minecraftdev.org * - * Copyright (c) 2021 minecraft-dev + * Copyright (c) 2022 minecraft-dev * * MIT License */ diff --git a/src/main/kotlin/platform/mcp/at/psi/mixins/AtArgumentMixin.kt b/src/main/kotlin/platform/mcp/at/psi/mixins/AtArgumentMixin.kt index 874b1607e..a1d5404a7 100644 --- a/src/main/kotlin/platform/mcp/at/psi/mixins/AtArgumentMixin.kt +++ b/src/main/kotlin/platform/mcp/at/psi/mixins/AtArgumentMixin.kt @@ -3,7 +3,7 @@ * * https://minecraftdev.org * - * Copyright (c) 2021 minecraft-dev + * Copyright (c) 2022 minecraft-dev * * MIT License */ diff --git a/src/main/kotlin/platform/mcp/at/psi/mixins/AtClassNameMixin.kt b/src/main/kotlin/platform/mcp/at/psi/mixins/AtClassNameMixin.kt index 6e244f647..a6082d80e 100644 --- a/src/main/kotlin/platform/mcp/at/psi/mixins/AtClassNameMixin.kt +++ b/src/main/kotlin/platform/mcp/at/psi/mixins/AtClassNameMixin.kt @@ -3,7 +3,7 @@ * * https://minecraftdev.org * - * Copyright (c) 2021 minecraft-dev + * Copyright (c) 2022 minecraft-dev * * MIT License */ diff --git a/src/main/kotlin/platform/mcp/at/psi/mixins/AtEntryMixin.kt b/src/main/kotlin/platform/mcp/at/psi/mixins/AtEntryMixin.kt index 3b7f62e80..8af3d1d3d 100644 --- a/src/main/kotlin/platform/mcp/at/psi/mixins/AtEntryMixin.kt +++ b/src/main/kotlin/platform/mcp/at/psi/mixins/AtEntryMixin.kt @@ -3,7 +3,7 @@ * * https://minecraftdev.org * - * Copyright (c) 2021 minecraft-dev + * Copyright (c) 2022 minecraft-dev * * MIT License */ diff --git a/src/main/kotlin/platform/mcp/at/psi/mixins/AtFieldNameMixin.kt b/src/main/kotlin/platform/mcp/at/psi/mixins/AtFieldNameMixin.kt index 230ca8488..c3585880a 100644 --- a/src/main/kotlin/platform/mcp/at/psi/mixins/AtFieldNameMixin.kt +++ b/src/main/kotlin/platform/mcp/at/psi/mixins/AtFieldNameMixin.kt @@ -3,7 +3,7 @@ * * https://minecraftdev.org * - * Copyright (c) 2021 minecraft-dev + * Copyright (c) 2022 minecraft-dev * * MIT License */ diff --git a/src/main/kotlin/platform/mcp/at/psi/mixins/AtFuncNameMixin.kt b/src/main/kotlin/platform/mcp/at/psi/mixins/AtFuncNameMixin.kt index 426b9977a..12e42baef 100644 --- a/src/main/kotlin/platform/mcp/at/psi/mixins/AtFuncNameMixin.kt +++ b/src/main/kotlin/platform/mcp/at/psi/mixins/AtFuncNameMixin.kt @@ -3,7 +3,7 @@ * * https://minecraftdev.org * - * Copyright (c) 2021 minecraft-dev + * Copyright (c) 2022 minecraft-dev * * MIT License */ diff --git a/src/main/kotlin/platform/mcp/at/psi/mixins/AtFunctionMixin.kt b/src/main/kotlin/platform/mcp/at/psi/mixins/AtFunctionMixin.kt index e94802f4d..e5a23685a 100644 --- a/src/main/kotlin/platform/mcp/at/psi/mixins/AtFunctionMixin.kt +++ b/src/main/kotlin/platform/mcp/at/psi/mixins/AtFunctionMixin.kt @@ -3,7 +3,7 @@ * * https://minecraftdev.org * - * Copyright (c) 2021 minecraft-dev + * Copyright (c) 2022 minecraft-dev * * MIT License */ diff --git a/src/main/kotlin/platform/mcp/at/psi/mixins/AtKeywordMixin.kt b/src/main/kotlin/platform/mcp/at/psi/mixins/AtKeywordMixin.kt index 6b512b84c..8ee0c4e5e 100644 --- a/src/main/kotlin/platform/mcp/at/psi/mixins/AtKeywordMixin.kt +++ b/src/main/kotlin/platform/mcp/at/psi/mixins/AtKeywordMixin.kt @@ -3,7 +3,7 @@ * * https://minecraftdev.org * - * Copyright (c) 2021 minecraft-dev + * Copyright (c) 2022 minecraft-dev * * MIT License */ diff --git a/src/main/kotlin/platform/mcp/at/psi/mixins/AtReturnValueMixin.kt b/src/main/kotlin/platform/mcp/at/psi/mixins/AtReturnValueMixin.kt index 158d6a846..fabd9f444 100644 --- a/src/main/kotlin/platform/mcp/at/psi/mixins/AtReturnValueMixin.kt +++ b/src/main/kotlin/platform/mcp/at/psi/mixins/AtReturnValueMixin.kt @@ -3,7 +3,7 @@ * * https://minecraftdev.org * - * Copyright (c) 2021 minecraft-dev + * Copyright (c) 2022 minecraft-dev * * MIT License */ diff --git a/src/main/kotlin/platform/mcp/at/psi/mixins/impl/AtArgumentImplMixin.kt b/src/main/kotlin/platform/mcp/at/psi/mixins/impl/AtArgumentImplMixin.kt index 4ca9947f1..83e37b414 100644 --- a/src/main/kotlin/platform/mcp/at/psi/mixins/impl/AtArgumentImplMixin.kt +++ b/src/main/kotlin/platform/mcp/at/psi/mixins/impl/AtArgumentImplMixin.kt @@ -3,7 +3,7 @@ * * https://minecraftdev.org * - * Copyright (c) 2021 minecraft-dev + * Copyright (c) 2022 minecraft-dev * * MIT License */ diff --git a/src/main/kotlin/platform/mcp/at/psi/mixins/impl/AtClassNameImplMixin.kt b/src/main/kotlin/platform/mcp/at/psi/mixins/impl/AtClassNameImplMixin.kt index 6bef73eed..14331a1db 100644 --- a/src/main/kotlin/platform/mcp/at/psi/mixins/impl/AtClassNameImplMixin.kt +++ b/src/main/kotlin/platform/mcp/at/psi/mixins/impl/AtClassNameImplMixin.kt @@ -3,7 +3,7 @@ * * https://minecraftdev.org * - * Copyright (c) 2021 minecraft-dev + * Copyright (c) 2022 minecraft-dev * * MIT License */ diff --git a/src/main/kotlin/platform/mcp/at/psi/mixins/impl/AtEntryImplMixin.kt b/src/main/kotlin/platform/mcp/at/psi/mixins/impl/AtEntryImplMixin.kt index 03dd0fd3a..b348a7422 100644 --- a/src/main/kotlin/platform/mcp/at/psi/mixins/impl/AtEntryImplMixin.kt +++ b/src/main/kotlin/platform/mcp/at/psi/mixins/impl/AtEntryImplMixin.kt @@ -3,7 +3,7 @@ * * https://minecraftdev.org * - * Copyright (c) 2021 minecraft-dev + * Copyright (c) 2022 minecraft-dev * * MIT License */ diff --git a/src/main/kotlin/platform/mcp/at/psi/mixins/impl/AtFieldNameImplMixin.kt b/src/main/kotlin/platform/mcp/at/psi/mixins/impl/AtFieldNameImplMixin.kt index 85bc3aa83..b2bf40799 100644 --- a/src/main/kotlin/platform/mcp/at/psi/mixins/impl/AtFieldNameImplMixin.kt +++ b/src/main/kotlin/platform/mcp/at/psi/mixins/impl/AtFieldNameImplMixin.kt @@ -3,7 +3,7 @@ * * https://minecraftdev.org * - * Copyright (c) 2021 minecraft-dev + * Copyright (c) 2022 minecraft-dev * * MIT License */ diff --git a/src/main/kotlin/platform/mcp/at/psi/mixins/impl/AtFuncNameImplMixin.kt b/src/main/kotlin/platform/mcp/at/psi/mixins/impl/AtFuncNameImplMixin.kt index dcc3e5a4e..77676bdcf 100644 --- a/src/main/kotlin/platform/mcp/at/psi/mixins/impl/AtFuncNameImplMixin.kt +++ b/src/main/kotlin/platform/mcp/at/psi/mixins/impl/AtFuncNameImplMixin.kt @@ -3,7 +3,7 @@ * * https://minecraftdev.org * - * Copyright (c) 2021 minecraft-dev + * Copyright (c) 2022 minecraft-dev * * MIT License */ diff --git a/src/main/kotlin/platform/mcp/at/psi/mixins/impl/AtFunctionImplMixin.kt b/src/main/kotlin/platform/mcp/at/psi/mixins/impl/AtFunctionImplMixin.kt index 2e08b5513..c12e10dd7 100644 --- a/src/main/kotlin/platform/mcp/at/psi/mixins/impl/AtFunctionImplMixin.kt +++ b/src/main/kotlin/platform/mcp/at/psi/mixins/impl/AtFunctionImplMixin.kt @@ -3,7 +3,7 @@ * * https://minecraftdev.org * - * Copyright (c) 2021 minecraft-dev + * Copyright (c) 2022 minecraft-dev * * MIT License */ diff --git a/src/main/kotlin/platform/mcp/at/psi/mixins/impl/AtKeywordImplMixin.kt b/src/main/kotlin/platform/mcp/at/psi/mixins/impl/AtKeywordImplMixin.kt index 23a98d796..3e66c5a8d 100644 --- a/src/main/kotlin/platform/mcp/at/psi/mixins/impl/AtKeywordImplMixin.kt +++ b/src/main/kotlin/platform/mcp/at/psi/mixins/impl/AtKeywordImplMixin.kt @@ -3,7 +3,7 @@ * * https://minecraftdev.org * - * Copyright (c) 2021 minecraft-dev + * Copyright (c) 2022 minecraft-dev * * MIT License */ diff --git a/src/main/kotlin/platform/mcp/at/psi/mixins/impl/AtReturnValueImplMixin.kt b/src/main/kotlin/platform/mcp/at/psi/mixins/impl/AtReturnValueImplMixin.kt index 33ae47dd4..884360dd8 100644 --- a/src/main/kotlin/platform/mcp/at/psi/mixins/impl/AtReturnValueImplMixin.kt +++ b/src/main/kotlin/platform/mcp/at/psi/mixins/impl/AtReturnValueImplMixin.kt @@ -3,7 +3,7 @@ * * https://minecraftdev.org * - * Copyright (c) 2021 minecraft-dev + * Copyright (c) 2022 minecraft-dev * * MIT License */ diff --git a/src/main/kotlin/platform/mcp/aw/AwAnnotator.kt b/src/main/kotlin/platform/mcp/aw/AwAnnotator.kt index 10ca1c1f7..58a9a11e3 100644 --- a/src/main/kotlin/platform/mcp/aw/AwAnnotator.kt +++ b/src/main/kotlin/platform/mcp/aw/AwAnnotator.kt @@ -3,7 +3,7 @@ * * https://minecraftdev.org * - * Copyright (c) 2021 minecraft-dev + * Copyright (c) 2022 minecraft-dev * * MIT License */ diff --git a/src/main/kotlin/platform/mcp/aw/AwColorSettingsPage.kt b/src/main/kotlin/platform/mcp/aw/AwColorSettingsPage.kt index 60b0dc8f9..af4e86d19 100644 --- a/src/main/kotlin/platform/mcp/aw/AwColorSettingsPage.kt +++ b/src/main/kotlin/platform/mcp/aw/AwColorSettingsPage.kt @@ -3,7 +3,7 @@ * * https://minecraftdev.org * - * Copyright (c) 2021 minecraft-dev + * Copyright (c) 2022 minecraft-dev * * MIT License */ diff --git a/src/main/kotlin/platform/mcp/aw/AwCommenter.kt b/src/main/kotlin/platform/mcp/aw/AwCommenter.kt index aad075e58..1ad276cfb 100644 --- a/src/main/kotlin/platform/mcp/aw/AwCommenter.kt +++ b/src/main/kotlin/platform/mcp/aw/AwCommenter.kt @@ -3,7 +3,7 @@ * * https://minecraftdev.org * - * Copyright (c) 2021 minecraft-dev + * Copyright (c) 2022 minecraft-dev * * MIT License */ diff --git a/src/main/kotlin/platform/mcp/aw/AwCompletionContributor.kt b/src/main/kotlin/platform/mcp/aw/AwCompletionContributor.kt index c5b9a48b5..35c2ea729 100644 --- a/src/main/kotlin/platform/mcp/aw/AwCompletionContributor.kt +++ b/src/main/kotlin/platform/mcp/aw/AwCompletionContributor.kt @@ -3,7 +3,7 @@ * * https://minecraftdev.org * - * Copyright (c) 2021 minecraft-dev + * Copyright (c) 2022 minecraft-dev * * MIT License */ diff --git a/src/main/kotlin/platform/mcp/aw/AwFile.kt b/src/main/kotlin/platform/mcp/aw/AwFile.kt index 6974fbd0f..00df3bcf1 100644 --- a/src/main/kotlin/platform/mcp/aw/AwFile.kt +++ b/src/main/kotlin/platform/mcp/aw/AwFile.kt @@ -3,7 +3,7 @@ * * https://minecraftdev.org * - * Copyright (c) 2021 minecraft-dev + * Copyright (c) 2022 minecraft-dev * * MIT License */ diff --git a/src/main/kotlin/platform/mcp/aw/AwFileType.kt b/src/main/kotlin/platform/mcp/aw/AwFileType.kt index 717e071ed..38d556d7e 100644 --- a/src/main/kotlin/platform/mcp/aw/AwFileType.kt +++ b/src/main/kotlin/platform/mcp/aw/AwFileType.kt @@ -3,7 +3,7 @@ * * https://minecraftdev.org * - * Copyright (c) 2021 minecraft-dev + * Copyright (c) 2022 minecraft-dev * * MIT License */ diff --git a/src/main/kotlin/platform/mcp/aw/AwLanguage.kt b/src/main/kotlin/platform/mcp/aw/AwLanguage.kt index a411bb9c1..6399d922a 100644 --- a/src/main/kotlin/platform/mcp/aw/AwLanguage.kt +++ b/src/main/kotlin/platform/mcp/aw/AwLanguage.kt @@ -3,7 +3,7 @@ * * https://minecraftdev.org * - * Copyright (c) 2021 minecraft-dev + * Copyright (c) 2022 minecraft-dev * * MIT License */ diff --git a/src/main/kotlin/platform/mcp/aw/AwLexerAdapter.kt b/src/main/kotlin/platform/mcp/aw/AwLexerAdapter.kt index d01e1b1a9..292d3ede9 100644 --- a/src/main/kotlin/platform/mcp/aw/AwLexerAdapter.kt +++ b/src/main/kotlin/platform/mcp/aw/AwLexerAdapter.kt @@ -3,7 +3,7 @@ * * https://minecraftdev.org * - * Copyright (c) 2021 minecraft-dev + * Copyright (c) 2022 minecraft-dev * * MIT License */ diff --git a/src/main/kotlin/platform/mcp/aw/AwParserDefinition.kt b/src/main/kotlin/platform/mcp/aw/AwParserDefinition.kt index ab283ac98..7c6083351 100644 --- a/src/main/kotlin/platform/mcp/aw/AwParserDefinition.kt +++ b/src/main/kotlin/platform/mcp/aw/AwParserDefinition.kt @@ -3,7 +3,7 @@ * * https://minecraftdev.org * - * Copyright (c) 2021 minecraft-dev + * Copyright (c) 2022 minecraft-dev * * MIT License */ diff --git a/src/main/kotlin/platform/mcp/aw/AwSyntaxHighlighter.kt b/src/main/kotlin/platform/mcp/aw/AwSyntaxHighlighter.kt index 67a0cd1c1..f87e8673c 100644 --- a/src/main/kotlin/platform/mcp/aw/AwSyntaxHighlighter.kt +++ b/src/main/kotlin/platform/mcp/aw/AwSyntaxHighlighter.kt @@ -3,7 +3,7 @@ * * https://minecraftdev.org * - * Copyright (c) 2021 minecraft-dev + * Copyright (c) 2022 minecraft-dev * * MIT License */ diff --git a/src/main/kotlin/platform/mcp/aw/AwSyntaxHighlighterFactory.kt b/src/main/kotlin/platform/mcp/aw/AwSyntaxHighlighterFactory.kt index 9ec644e27..a023a1645 100644 --- a/src/main/kotlin/platform/mcp/aw/AwSyntaxHighlighterFactory.kt +++ b/src/main/kotlin/platform/mcp/aw/AwSyntaxHighlighterFactory.kt @@ -3,7 +3,7 @@ * * https://minecraftdev.org * - * Copyright (c) 2021 minecraft-dev + * Copyright (c) 2022 minecraft-dev * * MIT License */ diff --git a/src/main/kotlin/platform/mcp/aw/AwTypedHandlerDelegate.kt b/src/main/kotlin/platform/mcp/aw/AwTypedHandlerDelegate.kt index 1833dec6d..c55ef4e95 100644 --- a/src/main/kotlin/platform/mcp/aw/AwTypedHandlerDelegate.kt +++ b/src/main/kotlin/platform/mcp/aw/AwTypedHandlerDelegate.kt @@ -3,7 +3,7 @@ * * https://minecraftdev.org * - * Copyright (c) 2021 minecraft-dev + * Copyright (c) 2022 minecraft-dev * * MIT License */ diff --git a/src/main/kotlin/platform/mcp/aw/psi/AwElement.kt b/src/main/kotlin/platform/mcp/aw/psi/AwElement.kt index 9c6ac6658..5e09e10ce 100644 --- a/src/main/kotlin/platform/mcp/aw/psi/AwElement.kt +++ b/src/main/kotlin/platform/mcp/aw/psi/AwElement.kt @@ -3,7 +3,7 @@ * * https://minecraftdev.org * - * Copyright (c) 2021 minecraft-dev + * Copyright (c) 2022 minecraft-dev * * MIT License */ diff --git a/src/main/kotlin/platform/mcp/aw/psi/AwElementType.kt b/src/main/kotlin/platform/mcp/aw/psi/AwElementType.kt index b87bdeeb5..aa5a04b8c 100644 --- a/src/main/kotlin/platform/mcp/aw/psi/AwElementType.kt +++ b/src/main/kotlin/platform/mcp/aw/psi/AwElementType.kt @@ -3,7 +3,7 @@ * * https://minecraftdev.org * - * Copyright (c) 2021 minecraft-dev + * Copyright (c) 2022 minecraft-dev * * MIT License */ diff --git a/src/main/kotlin/platform/mcp/aw/psi/AwTokenType.kt b/src/main/kotlin/platform/mcp/aw/psi/AwTokenType.kt index 88946bf83..b23786955 100644 --- a/src/main/kotlin/platform/mcp/aw/psi/AwTokenType.kt +++ b/src/main/kotlin/platform/mcp/aw/psi/AwTokenType.kt @@ -3,7 +3,7 @@ * * https://minecraftdev.org * - * Copyright (c) 2021 minecraft-dev + * Copyright (c) 2022 minecraft-dev * * MIT License */ diff --git a/src/main/kotlin/platform/mcp/aw/psi/mixins/AwClassEntryMixin.kt b/src/main/kotlin/platform/mcp/aw/psi/mixins/AwClassEntryMixin.kt index 7083897b1..a892a15e6 100644 --- a/src/main/kotlin/platform/mcp/aw/psi/mixins/AwClassEntryMixin.kt +++ b/src/main/kotlin/platform/mcp/aw/psi/mixins/AwClassEntryMixin.kt @@ -3,7 +3,7 @@ * * https://minecraftdev.org * - * Copyright (c) 2021 minecraft-dev + * Copyright (c) 2022 minecraft-dev * * MIT License */ diff --git a/src/main/kotlin/platform/mcp/aw/psi/mixins/AwClassNameMixin.kt b/src/main/kotlin/platform/mcp/aw/psi/mixins/AwClassNameMixin.kt index 8d47495e7..633b95dc2 100644 --- a/src/main/kotlin/platform/mcp/aw/psi/mixins/AwClassNameMixin.kt +++ b/src/main/kotlin/platform/mcp/aw/psi/mixins/AwClassNameMixin.kt @@ -3,7 +3,7 @@ * * https://minecraftdev.org * - * Copyright (c) 2021 minecraft-dev + * Copyright (c) 2022 minecraft-dev * * MIT License */ diff --git a/src/main/kotlin/platform/mcp/aw/psi/mixins/AwEntryMixin.kt b/src/main/kotlin/platform/mcp/aw/psi/mixins/AwEntryMixin.kt index c82166723..fa9449962 100644 --- a/src/main/kotlin/platform/mcp/aw/psi/mixins/AwEntryMixin.kt +++ b/src/main/kotlin/platform/mcp/aw/psi/mixins/AwEntryMixin.kt @@ -3,7 +3,7 @@ * * https://minecraftdev.org * - * Copyright (c) 2021 minecraft-dev + * Copyright (c) 2022 minecraft-dev * * MIT License */ diff --git a/src/main/kotlin/platform/mcp/aw/psi/mixins/AwFieldEntryMixin.kt b/src/main/kotlin/platform/mcp/aw/psi/mixins/AwFieldEntryMixin.kt index 2afd6efb1..335d8dab0 100644 --- a/src/main/kotlin/platform/mcp/aw/psi/mixins/AwFieldEntryMixin.kt +++ b/src/main/kotlin/platform/mcp/aw/psi/mixins/AwFieldEntryMixin.kt @@ -3,7 +3,7 @@ * * https://minecraftdev.org * - * Copyright (c) 2021 minecraft-dev + * Copyright (c) 2022 minecraft-dev * * MIT License */ diff --git a/src/main/kotlin/platform/mcp/aw/psi/mixins/AwHeaderMixin.kt b/src/main/kotlin/platform/mcp/aw/psi/mixins/AwHeaderMixin.kt index 9b93e296f..b27b005b3 100644 --- a/src/main/kotlin/platform/mcp/aw/psi/mixins/AwHeaderMixin.kt +++ b/src/main/kotlin/platform/mcp/aw/psi/mixins/AwHeaderMixin.kt @@ -3,7 +3,7 @@ * * https://minecraftdev.org * - * Copyright (c) 2021 minecraft-dev + * Copyright (c) 2022 minecraft-dev * * MIT License */ diff --git a/src/main/kotlin/platform/mcp/aw/psi/mixins/AwMemberNameMixin.kt b/src/main/kotlin/platform/mcp/aw/psi/mixins/AwMemberNameMixin.kt index c88d6e4bd..a22fe0bf1 100644 --- a/src/main/kotlin/platform/mcp/aw/psi/mixins/AwMemberNameMixin.kt +++ b/src/main/kotlin/platform/mcp/aw/psi/mixins/AwMemberNameMixin.kt @@ -3,7 +3,7 @@ * * https://minecraftdev.org * - * Copyright (c) 2021 minecraft-dev + * Copyright (c) 2022 minecraft-dev * * MIT License */ diff --git a/src/main/kotlin/platform/mcp/aw/psi/mixins/AwMethodEntryMixin.kt b/src/main/kotlin/platform/mcp/aw/psi/mixins/AwMethodEntryMixin.kt index 2c6471b5e..e09812c16 100644 --- a/src/main/kotlin/platform/mcp/aw/psi/mixins/AwMethodEntryMixin.kt +++ b/src/main/kotlin/platform/mcp/aw/psi/mixins/AwMethodEntryMixin.kt @@ -3,7 +3,7 @@ * * https://minecraftdev.org * - * Copyright (c) 2021 minecraft-dev + * Copyright (c) 2022 minecraft-dev * * MIT License */ diff --git a/src/main/kotlin/platform/mcp/aw/psi/mixins/impl/AwClassEntryImplMixin.kt b/src/main/kotlin/platform/mcp/aw/psi/mixins/impl/AwClassEntryImplMixin.kt index cc48f3db6..ae23396b2 100644 --- a/src/main/kotlin/platform/mcp/aw/psi/mixins/impl/AwClassEntryImplMixin.kt +++ b/src/main/kotlin/platform/mcp/aw/psi/mixins/impl/AwClassEntryImplMixin.kt @@ -3,7 +3,7 @@ * * https://minecraftdev.org * - * Copyright (c) 2021 minecraft-dev + * Copyright (c) 2022 minecraft-dev * * MIT License */ diff --git a/src/main/kotlin/platform/mcp/aw/psi/mixins/impl/AwClassNameImplMixin.kt b/src/main/kotlin/platform/mcp/aw/psi/mixins/impl/AwClassNameImplMixin.kt index 6d8ae863f..c360d43a7 100644 --- a/src/main/kotlin/platform/mcp/aw/psi/mixins/impl/AwClassNameImplMixin.kt +++ b/src/main/kotlin/platform/mcp/aw/psi/mixins/impl/AwClassNameImplMixin.kt @@ -3,7 +3,7 @@ * * https://minecraftdev.org * - * Copyright (c) 2021 minecraft-dev + * Copyright (c) 2022 minecraft-dev * * MIT License */ diff --git a/src/main/kotlin/platform/mcp/aw/psi/mixins/impl/AwEntryImplMixin.kt b/src/main/kotlin/platform/mcp/aw/psi/mixins/impl/AwEntryImplMixin.kt index adf6ea4ad..360cfe75a 100644 --- a/src/main/kotlin/platform/mcp/aw/psi/mixins/impl/AwEntryImplMixin.kt +++ b/src/main/kotlin/platform/mcp/aw/psi/mixins/impl/AwEntryImplMixin.kt @@ -3,7 +3,7 @@ * * https://minecraftdev.org * - * Copyright (c) 2021 minecraft-dev + * Copyright (c) 2022 minecraft-dev * * MIT License */ diff --git a/src/main/kotlin/platform/mcp/aw/psi/mixins/impl/AwFieldEntryImplMixin.kt b/src/main/kotlin/platform/mcp/aw/psi/mixins/impl/AwFieldEntryImplMixin.kt index 27c3d616f..33a396940 100644 --- a/src/main/kotlin/platform/mcp/aw/psi/mixins/impl/AwFieldEntryImplMixin.kt +++ b/src/main/kotlin/platform/mcp/aw/psi/mixins/impl/AwFieldEntryImplMixin.kt @@ -3,7 +3,7 @@ * * https://minecraftdev.org * - * Copyright (c) 2021 minecraft-dev + * Copyright (c) 2022 minecraft-dev * * MIT License */ diff --git a/src/main/kotlin/platform/mcp/aw/psi/mixins/impl/AwHeaderImplMixin.kt b/src/main/kotlin/platform/mcp/aw/psi/mixins/impl/AwHeaderImplMixin.kt index 41048c427..b7db6227b 100644 --- a/src/main/kotlin/platform/mcp/aw/psi/mixins/impl/AwHeaderImplMixin.kt +++ b/src/main/kotlin/platform/mcp/aw/psi/mixins/impl/AwHeaderImplMixin.kt @@ -3,7 +3,7 @@ * * https://minecraftdev.org * - * Copyright (c) 2021 minecraft-dev + * Copyright (c) 2022 minecraft-dev * * MIT License */ diff --git a/src/main/kotlin/platform/mcp/aw/psi/mixins/impl/AwMemberNameImplMixin.kt b/src/main/kotlin/platform/mcp/aw/psi/mixins/impl/AwMemberNameImplMixin.kt index ade06412e..5ddf52212 100644 --- a/src/main/kotlin/platform/mcp/aw/psi/mixins/impl/AwMemberNameImplMixin.kt +++ b/src/main/kotlin/platform/mcp/aw/psi/mixins/impl/AwMemberNameImplMixin.kt @@ -3,7 +3,7 @@ * * https://minecraftdev.org * - * Copyright (c) 2021 minecraft-dev + * Copyright (c) 2022 minecraft-dev * * MIT License */ diff --git a/src/main/kotlin/platform/mcp/aw/psi/mixins/impl/AwMethodEntryImplMixin.kt b/src/main/kotlin/platform/mcp/aw/psi/mixins/impl/AwMethodEntryImplMixin.kt index a57f9d4b6..028b5f5b8 100644 --- a/src/main/kotlin/platform/mcp/aw/psi/mixins/impl/AwMethodEntryImplMixin.kt +++ b/src/main/kotlin/platform/mcp/aw/psi/mixins/impl/AwMethodEntryImplMixin.kt @@ -3,7 +3,7 @@ * * https://minecraftdev.org * - * Copyright (c) 2021 minecraft-dev + * Copyright (c) 2022 minecraft-dev * * MIT License */ diff --git a/src/main/kotlin/platform/mcp/debug/McpRunConfigurationExtension.kt b/src/main/kotlin/platform/mcp/debug/McpRunConfigurationExtension.kt index 7469cfa7c..0d1ff6944 100644 --- a/src/main/kotlin/platform/mcp/debug/McpRunConfigurationExtension.kt +++ b/src/main/kotlin/platform/mcp/debug/McpRunConfigurationExtension.kt @@ -3,7 +3,7 @@ * * https://minecraftdev.org * - * Copyright (c) 2021 minecraft-dev + * Copyright (c) 2022 minecraft-dev * * MIT License */ diff --git a/src/main/kotlin/platform/mcp/debug/UngrabMouseDebugSessionListener.kt b/src/main/kotlin/platform/mcp/debug/UngrabMouseDebugSessionListener.kt index 88fccca80..bc91440a7 100644 --- a/src/main/kotlin/platform/mcp/debug/UngrabMouseDebugSessionListener.kt +++ b/src/main/kotlin/platform/mcp/debug/UngrabMouseDebugSessionListener.kt @@ -3,7 +3,7 @@ * * https://minecraftdev.org * - * Copyright (c) 2021 minecraft-dev + * Copyright (c) 2022 minecraft-dev * * MIT License */ diff --git a/src/main/kotlin/platform/mcp/fabricloom/FabricLoomData.kt b/src/main/kotlin/platform/mcp/fabricloom/FabricLoomData.kt index 754540620..7472352ac 100644 --- a/src/main/kotlin/platform/mcp/fabricloom/FabricLoomData.kt +++ b/src/main/kotlin/platform/mcp/fabricloom/FabricLoomData.kt @@ -3,7 +3,7 @@ * * https://minecraftdev.org * - * Copyright (c) 2021 minecraft-dev + * Copyright (c) 2022 minecraft-dev * * MIT License */ @@ -19,7 +19,8 @@ import java.io.File data class FabricLoomData( val module: ModuleData, val tinyMappings: File?, - val decompileTasks: Set + val decompileTasks: Map>, + val splitMinecraftJar: Boolean ) : AbstractExternalEntityData(module.owner) { data class Decompiler(val name: String, val taskName: String, val sourcesPath: String) diff --git a/src/main/kotlin/platform/mcp/fabricloom/FabricLoomDataService.kt b/src/main/kotlin/platform/mcp/fabricloom/FabricLoomDataService.kt index c4e582f66..38bd88103 100644 --- a/src/main/kotlin/platform/mcp/fabricloom/FabricLoomDataService.kt +++ b/src/main/kotlin/platform/mcp/fabricloom/FabricLoomDataService.kt @@ -3,7 +3,7 @@ * * https://minecraftdev.org * - * Copyright (c) 2021 minecraft-dev + * Copyright (c) 2022 minecraft-dev * * MIT License */ diff --git a/src/main/kotlin/platform/mcp/fabricloom/FabricLoomDecompileSourceProvider.kt b/src/main/kotlin/platform/mcp/fabricloom/FabricLoomDecompileSourceProvider.kt index 93bf89d07..cf212757c 100644 --- a/src/main/kotlin/platform/mcp/fabricloom/FabricLoomDecompileSourceProvider.kt +++ b/src/main/kotlin/platform/mcp/fabricloom/FabricLoomDecompileSourceProvider.kt @@ -3,13 +3,15 @@ * * https://minecraftdev.org * - * Copyright (c) 2021 minecraft-dev + * Copyright (c) 2022 minecraft-dev * * MIT License */ package com.demonwav.mcdev.platform.mcp.fabricloom +import com.demonwav.mcdev.platform.forge.inspections.sideonly.Side +import com.demonwav.mcdev.platform.forge.inspections.sideonly.SideOnlyUtil import com.demonwav.mcdev.util.findModule import com.demonwav.mcdev.util.runGradleTaskWithCallback import com.intellij.codeInsight.AttachSourcesProvider @@ -36,7 +38,23 @@ class FabricLoomDecompileSourceProvider : AttachSourcesProvider { val loomData = GradleUtil.findGradleModuleData(module)?.children ?.find { it.key == FabricLoomData.KEY }?.data as? FabricLoomData ?: return emptyList() - return loomData.decompileTasks.map(::DecompileAction) + + val env = if (!loomData.splitMinecraftJar) { + "single" + } else if (isClientClass(psiFile)) { + "client" + } else { + "common" + } + + val decompileTasks = loomData.decompileTasks[env] ?: return emptyList() + return decompileTasks.map(::DecompileAction) + } + + private fun isClientClass(psiFile: PsiJavaFile): Boolean { + return psiFile.classes.any { psiClass -> + return SideOnlyUtil.getSideForClass(psiClass).second == Side.CLIENT + } } private class DecompileAction(val decompiler: FabricLoomData.Decompiler) : diff --git a/src/main/kotlin/platform/mcp/fabricloom/FabricLoomProjectResolverExtension.kt b/src/main/kotlin/platform/mcp/fabricloom/FabricLoomProjectResolverExtension.kt index 59204281a..f40b2e428 100644 --- a/src/main/kotlin/platform/mcp/fabricloom/FabricLoomProjectResolverExtension.kt +++ b/src/main/kotlin/platform/mcp/fabricloom/FabricLoomProjectResolverExtension.kt @@ -3,7 +3,7 @@ * * https://minecraftdev.org * - * Copyright (c) 2021 minecraft-dev + * Copyright (c) 2022 minecraft-dev * * MIT License */ @@ -11,7 +11,6 @@ package com.demonwav.mcdev.platform.mcp.fabricloom import com.demonwav.mcdev.platform.mcp.gradle.tooling.fabricloom.FabricLoomModel -import com.demonwav.mcdev.util.capitalize import com.intellij.openapi.externalSystem.model.DataNode import com.intellij.openapi.externalSystem.model.project.ModuleData import org.gradle.tooling.model.idea.IdeaModule @@ -27,14 +26,13 @@ class FabricLoomProjectResolverExtension : AbstractProjectResolverExtension() { override fun populateModuleExtraModels(gradleModule: IdeaModule, ideModule: DataNode) { val loomData = resolverCtx.getExtraProject(gradleModule, FabricLoomModel::class.java) if (loomData != null) { - val gradleProjectPath = gradleModule.gradleProject.projectIdentifier.projectPath - val suffix = if (gradleProjectPath.endsWith(':')) "" else ":" - val decompileTasksNames = loomData.decompilers.mapTo(mutableSetOf()) { (rawName, sourcesPath) -> - val name = rawName.capitalize() - val taskName = gradleProjectPath + suffix + "genSourcesWith" + name - FabricLoomData.Decompiler(name, taskName, sourcesPath) + val decompilers = loomData.decompilers.mapValues { (_, decompilers) -> + decompilers.mapTo(mutableSetOf()) { decompiler -> + FabricLoomData.Decompiler(decompiler.name, decompiler.taskName, decompiler.sourcesPath) + } } - val data = FabricLoomData(ideModule.data, loomData.tinyMappings, decompileTasksNames) + + val data = FabricLoomData(ideModule.data, loomData.tinyMappings, decompilers, loomData.splitMinecraftJar) ideModule.createChild(FabricLoomData.KEY, data) } diff --git a/src/main/kotlin/platform/mcp/fabricloom/TinyUnscrambler.kt b/src/main/kotlin/platform/mcp/fabricloom/TinyUnscrambler.kt index 8320840d9..7c70aa9e4 100644 --- a/src/main/kotlin/platform/mcp/fabricloom/TinyUnscrambler.kt +++ b/src/main/kotlin/platform/mcp/fabricloom/TinyUnscrambler.kt @@ -3,7 +3,7 @@ * * https://minecraftdev.org * - * Copyright (c) 2021 minecraft-dev + * Copyright (c) 2022 minecraft-dev * * MIT License */ diff --git a/src/main/kotlin/platform/mcp/framework/McpLibraryKind.kt b/src/main/kotlin/platform/mcp/framework/McpLibraryKind.kt index c4efff212..5a3b63662 100644 --- a/src/main/kotlin/platform/mcp/framework/McpLibraryKind.kt +++ b/src/main/kotlin/platform/mcp/framework/McpLibraryKind.kt @@ -3,7 +3,7 @@ * * https://minecraftdev.org * - * Copyright (c) 2021 minecraft-dev + * Copyright (c) 2022 minecraft-dev * * MIT License */ diff --git a/src/main/kotlin/platform/mcp/framework/McpPresentationProvider.kt b/src/main/kotlin/platform/mcp/framework/McpPresentationProvider.kt index 11a60ccec..87d90a10e 100644 --- a/src/main/kotlin/platform/mcp/framework/McpPresentationProvider.kt +++ b/src/main/kotlin/platform/mcp/framework/McpPresentationProvider.kt @@ -3,7 +3,7 @@ * * https://minecraftdev.org * - * Copyright (c) 2021 minecraft-dev + * Copyright (c) 2022 minecraft-dev * * MIT License */ diff --git a/src/main/kotlin/platform/mcp/gradle/McpDataService.kt b/src/main/kotlin/platform/mcp/gradle/McpDataService.kt index 685b0b73a..10dfa37d0 100644 --- a/src/main/kotlin/platform/mcp/gradle/McpDataService.kt +++ b/src/main/kotlin/platform/mcp/gradle/McpDataService.kt @@ -3,7 +3,7 @@ * * https://minecraftdev.org * - * Copyright (c) 2021 minecraft-dev + * Copyright (c) 2022 minecraft-dev * * MIT License */ diff --git a/src/main/kotlin/platform/mcp/gradle/McpModelData.kt b/src/main/kotlin/platform/mcp/gradle/McpModelData.kt index 7d13a5340..523c17fef 100644 --- a/src/main/kotlin/platform/mcp/gradle/McpModelData.kt +++ b/src/main/kotlin/platform/mcp/gradle/McpModelData.kt @@ -3,7 +3,7 @@ * * https://minecraftdev.org * - * Copyright (c) 2021 minecraft-dev + * Copyright (c) 2022 minecraft-dev * * MIT License */ diff --git a/src/main/kotlin/platform/mcp/gradle/McpProjectResolverExtension.kt b/src/main/kotlin/platform/mcp/gradle/McpProjectResolverExtension.kt index 3f0cdcfac..3fb20ad7f 100644 --- a/src/main/kotlin/platform/mcp/gradle/McpProjectResolverExtension.kt +++ b/src/main/kotlin/platform/mcp/gradle/McpProjectResolverExtension.kt @@ -3,7 +3,7 @@ * * https://minecraftdev.org * - * Copyright (c) 2021 minecraft-dev + * Copyright (c) 2022 minecraft-dev * * MIT License */ diff --git a/src/main/kotlin/platform/mcp/gradle/datahandler/McpModelDataHandler.kt b/src/main/kotlin/platform/mcp/gradle/datahandler/McpModelDataHandler.kt index 4a6348a26..e925c56f5 100644 --- a/src/main/kotlin/platform/mcp/gradle/datahandler/McpModelDataHandler.kt +++ b/src/main/kotlin/platform/mcp/gradle/datahandler/McpModelDataHandler.kt @@ -3,7 +3,7 @@ * * https://minecraftdev.org * - * Copyright (c) 2021 minecraft-dev + * Copyright (c) 2022 minecraft-dev * * MIT License */ diff --git a/src/main/kotlin/platform/mcp/gradle/datahandler/McpModelFG2Handler.kt b/src/main/kotlin/platform/mcp/gradle/datahandler/McpModelFG2Handler.kt index 97a3d4bbb..8664f6807 100644 --- a/src/main/kotlin/platform/mcp/gradle/datahandler/McpModelFG2Handler.kt +++ b/src/main/kotlin/platform/mcp/gradle/datahandler/McpModelFG2Handler.kt @@ -3,7 +3,7 @@ * * https://minecraftdev.org * - * Copyright (c) 2021 minecraft-dev + * Copyright (c) 2022 minecraft-dev * * MIT License */ diff --git a/src/main/kotlin/platform/mcp/gradle/datahandler/McpModelFG3Handler.kt b/src/main/kotlin/platform/mcp/gradle/datahandler/McpModelFG3Handler.kt index b634c797a..dcfbf2b4f 100644 --- a/src/main/kotlin/platform/mcp/gradle/datahandler/McpModelFG3Handler.kt +++ b/src/main/kotlin/platform/mcp/gradle/datahandler/McpModelFG3Handler.kt @@ -3,7 +3,7 @@ * * https://minecraftdev.org * - * Copyright (c) 2021 minecraft-dev + * Copyright (c) 2022 minecraft-dev * * MIT License */ @@ -44,7 +44,7 @@ object McpModelFG3Handler : McpModelDataHandler { mcVersion = minecraftDepVersion.substring(0, index) val forgeVersionEnd = minecraftDepVersion.indexOf('_') - if (forgeVersionEnd != -1) { + if (forgeVersionEnd != -1 && forgeVersionEnd > index) { forgeVersion = minecraftDepVersion.substring(index + 1, forgeVersionEnd) } break diff --git a/src/main/kotlin/platform/mcp/inspections/EntityConstructorInspection.kt b/src/main/kotlin/platform/mcp/inspections/EntityConstructorInspection.kt index 42e7bfc4d..350c6985b 100644 --- a/src/main/kotlin/platform/mcp/inspections/EntityConstructorInspection.kt +++ b/src/main/kotlin/platform/mcp/inspections/EntityConstructorInspection.kt @@ -3,7 +3,7 @@ * * https://minecraftdev.org * - * Copyright (c) 2021 minecraft-dev + * Copyright (c) 2022 minecraft-dev * * MIT License */ diff --git a/src/main/kotlin/platform/mcp/inspections/StackEmptyInspection.kt b/src/main/kotlin/platform/mcp/inspections/StackEmptyInspection.kt index f1b8105f6..6f5c9c63f 100644 --- a/src/main/kotlin/platform/mcp/inspections/StackEmptyInspection.kt +++ b/src/main/kotlin/platform/mcp/inspections/StackEmptyInspection.kt @@ -3,7 +3,7 @@ * * https://minecraftdev.org * - * Copyright (c) 2021 minecraft-dev + * Copyright (c) 2022 minecraft-dev * * MIT License */ diff --git a/src/main/kotlin/platform/mcp/navigation/SrgMemberChooseByNameContributor.kt b/src/main/kotlin/platform/mcp/navigation/SrgMemberChooseByNameContributor.kt index 3b12950ea..c345d3d5b 100644 --- a/src/main/kotlin/platform/mcp/navigation/SrgMemberChooseByNameContributor.kt +++ b/src/main/kotlin/platform/mcp/navigation/SrgMemberChooseByNameContributor.kt @@ -3,7 +3,7 @@ * * https://minecraftdev.org * - * Copyright (c) 2021 minecraft-dev + * Copyright (c) 2022 minecraft-dev * * MIT License */ diff --git a/src/main/kotlin/platform/mcp/srg/McpSrgMap.kt b/src/main/kotlin/platform/mcp/srg/McpSrgMap.kt index fc635b186..7ccd2c6c0 100644 --- a/src/main/kotlin/platform/mcp/srg/McpSrgMap.kt +++ b/src/main/kotlin/platform/mcp/srg/McpSrgMap.kt @@ -3,7 +3,7 @@ * * https://minecraftdev.org * - * Copyright (c) 2021 minecraft-dev + * Copyright (c) 2022 minecraft-dev * * MIT License */ diff --git a/src/main/kotlin/platform/mcp/srg/McpUnscrambler.kt b/src/main/kotlin/platform/mcp/srg/McpUnscrambler.kt index a1e1a02f7..10738e43f 100644 --- a/src/main/kotlin/platform/mcp/srg/McpUnscrambler.kt +++ b/src/main/kotlin/platform/mcp/srg/McpUnscrambler.kt @@ -3,7 +3,7 @@ * * https://minecraftdev.org * - * Copyright (c) 2021 minecraft-dev + * Copyright (c) 2022 minecraft-dev * * MIT License */ diff --git a/src/main/kotlin/platform/mcp/srg/SrgManager.kt b/src/main/kotlin/platform/mcp/srg/SrgManager.kt index d4e3c79a7..e6bebf980 100644 --- a/src/main/kotlin/platform/mcp/srg/SrgManager.kt +++ b/src/main/kotlin/platform/mcp/srg/SrgManager.kt @@ -3,7 +3,7 @@ * * https://minecraftdev.org * - * Copyright (c) 2021 minecraft-dev + * Copyright (c) 2022 minecraft-dev * * MIT License */ diff --git a/src/main/kotlin/platform/mcp/srg/SrgMemberReference.kt b/src/main/kotlin/platform/mcp/srg/SrgMemberReference.kt index 64f4c3a80..2ec7d0180 100644 --- a/src/main/kotlin/platform/mcp/srg/SrgMemberReference.kt +++ b/src/main/kotlin/platform/mcp/srg/SrgMemberReference.kt @@ -3,7 +3,7 @@ * * https://minecraftdev.org * - * Copyright (c) 2021 minecraft-dev + * Copyright (c) 2022 minecraft-dev * * MIT License */ diff --git a/src/main/kotlin/platform/mcp/srg/SrgParser.kt b/src/main/kotlin/platform/mcp/srg/SrgParser.kt index 19c5d6eb4..c8a13401a 100644 --- a/src/main/kotlin/platform/mcp/srg/SrgParser.kt +++ b/src/main/kotlin/platform/mcp/srg/SrgParser.kt @@ -3,7 +3,7 @@ * * https://minecraftdev.org * - * Copyright (c) 2021 minecraft-dev + * Copyright (c) 2022 minecraft-dev * * MIT License */ diff --git a/src/main/kotlin/platform/mcp/srg/SrgType.kt b/src/main/kotlin/platform/mcp/srg/SrgType.kt index 38a4381d2..85fae7c96 100644 --- a/src/main/kotlin/platform/mcp/srg/SrgType.kt +++ b/src/main/kotlin/platform/mcp/srg/SrgType.kt @@ -3,7 +3,7 @@ * * https://minecraftdev.org * - * Copyright (c) 2021 minecraft-dev + * Copyright (c) 2022 minecraft-dev * * MIT License */ diff --git a/src/main/kotlin/platform/mcp/srg/StandardSrgParser.kt b/src/main/kotlin/platform/mcp/srg/StandardSrgParser.kt index afb9d6845..40b0036e6 100644 --- a/src/main/kotlin/platform/mcp/srg/StandardSrgParser.kt +++ b/src/main/kotlin/platform/mcp/srg/StandardSrgParser.kt @@ -3,7 +3,7 @@ * * https://minecraftdev.org * - * Copyright (c) 2021 minecraft-dev + * Copyright (c) 2022 minecraft-dev * * MIT License */ diff --git a/src/main/kotlin/platform/mcp/srg/TinySrgParser.kt b/src/main/kotlin/platform/mcp/srg/TinySrgParser.kt index 526faa2a8..7122af71c 100644 --- a/src/main/kotlin/platform/mcp/srg/TinySrgParser.kt +++ b/src/main/kotlin/platform/mcp/srg/TinySrgParser.kt @@ -3,7 +3,7 @@ * * https://minecraftdev.org * - * Copyright (c) 2021 minecraft-dev + * Copyright (c) 2022 minecraft-dev * * MIT License */ diff --git a/src/main/kotlin/platform/mcp/util/McpConstants.kt b/src/main/kotlin/platform/mcp/util/McpConstants.kt index 1d89aa2b0..ad51c92d9 100644 --- a/src/main/kotlin/platform/mcp/util/McpConstants.kt +++ b/src/main/kotlin/platform/mcp/util/McpConstants.kt @@ -3,7 +3,7 @@ * * https://minecraftdev.org * - * Copyright (c) 2021 minecraft-dev + * Copyright (c) 2022 minecraft-dev * * MIT License */ diff --git a/src/main/kotlin/platform/mcp/vanillagradle/VanillaGradleData.kt b/src/main/kotlin/platform/mcp/vanillagradle/VanillaGradleData.kt index d7772ff40..2469c741c 100644 --- a/src/main/kotlin/platform/mcp/vanillagradle/VanillaGradleData.kt +++ b/src/main/kotlin/platform/mcp/vanillagradle/VanillaGradleData.kt @@ -3,7 +3,7 @@ * * https://minecraftdev.org * - * Copyright (c) 2021 minecraft-dev + * Copyright (c) 2022 minecraft-dev * * MIT License */ diff --git a/src/main/kotlin/platform/mcp/vanillagradle/VanillaGradleDataService.kt b/src/main/kotlin/platform/mcp/vanillagradle/VanillaGradleDataService.kt index d81893010..de83fb415 100644 --- a/src/main/kotlin/platform/mcp/vanillagradle/VanillaGradleDataService.kt +++ b/src/main/kotlin/platform/mcp/vanillagradle/VanillaGradleDataService.kt @@ -3,7 +3,7 @@ * * https://minecraftdev.org * - * Copyright (c) 2021 minecraft-dev + * Copyright (c) 2022 minecraft-dev * * MIT License */ diff --git a/src/main/kotlin/platform/mcp/vanillagradle/VanillaGradleDecompileSourceProvider.kt b/src/main/kotlin/platform/mcp/vanillagradle/VanillaGradleDecompileSourceProvider.kt index 91cb25c4b..3aff3a16b 100644 --- a/src/main/kotlin/platform/mcp/vanillagradle/VanillaGradleDecompileSourceProvider.kt +++ b/src/main/kotlin/platform/mcp/vanillagradle/VanillaGradleDecompileSourceProvider.kt @@ -3,7 +3,7 @@ * * https://minecraftdev.org * - * Copyright (c) 2021 minecraft-dev + * Copyright (c) 2022 minecraft-dev * * MIT License */ diff --git a/src/main/kotlin/platform/mcp/vanillagradle/VanillaGradleProjectResolverExtension.kt b/src/main/kotlin/platform/mcp/vanillagradle/VanillaGradleProjectResolverExtension.kt index ccf6666eb..0a8e42475 100644 --- a/src/main/kotlin/platform/mcp/vanillagradle/VanillaGradleProjectResolverExtension.kt +++ b/src/main/kotlin/platform/mcp/vanillagradle/VanillaGradleProjectResolverExtension.kt @@ -3,7 +3,7 @@ * * https://minecraftdev.org * - * Copyright (c) 2021 minecraft-dev + * Copyright (c) 2022 minecraft-dev * * MIT License */ diff --git a/src/main/kotlin/platform/mcp/version/McpVersion.kt b/src/main/kotlin/platform/mcp/version/McpVersion.kt index 12fd7710e..a41477f07 100644 --- a/src/main/kotlin/platform/mcp/version/McpVersion.kt +++ b/src/main/kotlin/platform/mcp/version/McpVersion.kt @@ -3,7 +3,7 @@ * * https://minecraftdev.org * - * Copyright (c) 2021 minecraft-dev + * Copyright (c) 2022 minecraft-dev * * MIT License */ diff --git a/src/main/kotlin/platform/mcp/version/McpVersionEntry.kt b/src/main/kotlin/platform/mcp/version/McpVersionEntry.kt index d30537693..90ea08b27 100644 --- a/src/main/kotlin/platform/mcp/version/McpVersionEntry.kt +++ b/src/main/kotlin/platform/mcp/version/McpVersionEntry.kt @@ -3,7 +3,7 @@ * * https://minecraftdev.org * - * Copyright (c) 2021 minecraft-dev + * Copyright (c) 2022 minecraft-dev * * MIT License */ diff --git a/src/main/kotlin/platform/mixin/MixinCustomJavaDocTagProvider.kt b/src/main/kotlin/platform/mixin/MixinCustomJavaDocTagProvider.kt index e6c7acfad..fe38001ec 100644 --- a/src/main/kotlin/platform/mixin/MixinCustomJavaDocTagProvider.kt +++ b/src/main/kotlin/platform/mixin/MixinCustomJavaDocTagProvider.kt @@ -3,14 +3,14 @@ * * https://minecraftdev.org * - * Copyright (c) 2021 minecraft-dev + * Copyright (c) 2022 minecraft-dev * * MIT License */ package com.demonwav.mcdev.platform.mixin -import com.demonwav.mcdev.platform.mixin.util.MixinConstants +import com.demonwav.mcdev.platform.mixin.handlers.MixinAnnotationHandler import com.intellij.psi.PsiElement import com.intellij.psi.PsiMethod import com.intellij.psi.PsiReference @@ -27,10 +27,18 @@ class MixinCustomJavaDocTagProvider : CustomJavadocTagProvider { override fun isInline() = false override fun isValidInContext(element: PsiElement?): Boolean { - val modifierList = (element as? PsiMethod)?.modifierList ?: return false - return MixinConstants.Annotations.ENTRY_POINTS.any { - modifierList.findAnnotation(it) != null + if (element !is PsiMethod) { + return false } + val project = element.project + for (annotation in element.annotations) { + val qName = annotation.qualifiedName ?: continue + val handler = MixinAnnotationHandler.forMixinAnnotation(qName, project) + if (handler != null && handler.isEntryPoint) { + return true + } + } + return false } override fun checkTagValue(value: PsiDocTagValue?): String? = null diff --git a/src/main/kotlin/platform/mixin/MixinModule.kt b/src/main/kotlin/platform/mixin/MixinModule.kt index 35dba6f67..cc8845787 100644 --- a/src/main/kotlin/platform/mixin/MixinModule.kt +++ b/src/main/kotlin/platform/mixin/MixinModule.kt @@ -3,7 +3,7 @@ * * https://minecraftdev.org * - * Copyright (c) 2021 minecraft-dev + * Copyright (c) 2022 minecraft-dev * * MIT License */ diff --git a/src/main/kotlin/platform/mixin/MixinModuleType.kt b/src/main/kotlin/platform/mixin/MixinModuleType.kt index 941ed4308..0e67c2e47 100644 --- a/src/main/kotlin/platform/mixin/MixinModuleType.kt +++ b/src/main/kotlin/platform/mixin/MixinModuleType.kt @@ -3,7 +3,7 @@ * * https://minecraftdev.org * - * Copyright (c) 2021 minecraft-dev + * Copyright (c) 2022 minecraft-dev * * MIT License */ diff --git a/src/main/kotlin/platform/mixin/action/CopyMixinTargetReferenceAction.kt b/src/main/kotlin/platform/mixin/action/CopyMixinTargetReferenceAction.kt index 0bb603bdf..b2b4008ea 100644 --- a/src/main/kotlin/platform/mixin/action/CopyMixinTargetReferenceAction.kt +++ b/src/main/kotlin/platform/mixin/action/CopyMixinTargetReferenceAction.kt @@ -3,7 +3,7 @@ * * https://minecraftdev.org * - * Copyright (c) 2021 minecraft-dev + * Copyright (c) 2022 minecraft-dev * * MIT License */ diff --git a/src/main/kotlin/platform/mixin/action/FindMixinsAction.kt b/src/main/kotlin/platform/mixin/action/FindMixinsAction.kt index 3076af673..deedb39b5 100644 --- a/src/main/kotlin/platform/mixin/action/FindMixinsAction.kt +++ b/src/main/kotlin/platform/mixin/action/FindMixinsAction.kt @@ -3,7 +3,7 @@ * * https://minecraftdev.org * - * Copyright (c) 2021 minecraft-dev + * Copyright (c) 2022 minecraft-dev * * MIT License */ diff --git a/src/main/kotlin/platform/mixin/action/FindMixinsComponent.kt b/src/main/kotlin/platform/mixin/action/FindMixinsComponent.kt index 34c74c741..f74484e29 100644 --- a/src/main/kotlin/platform/mixin/action/FindMixinsComponent.kt +++ b/src/main/kotlin/platform/mixin/action/FindMixinsComponent.kt @@ -3,7 +3,7 @@ * * https://minecraftdev.org * - * Copyright (c) 2021 minecraft-dev + * Copyright (c) 2022 minecraft-dev * * MIT License */ diff --git a/src/main/kotlin/platform/mixin/action/GenerateAccessorAction.kt b/src/main/kotlin/platform/mixin/action/GenerateAccessorAction.kt index f2ba02e96..812ca50ff 100644 --- a/src/main/kotlin/platform/mixin/action/GenerateAccessorAction.kt +++ b/src/main/kotlin/platform/mixin/action/GenerateAccessorAction.kt @@ -3,7 +3,7 @@ * * https://minecraftdev.org * - * Copyright (c) 2021 minecraft-dev + * Copyright (c) 2022 minecraft-dev * * MIT License */ diff --git a/src/main/kotlin/platform/mixin/action/GenerateAccessorHandler.kt b/src/main/kotlin/platform/mixin/action/GenerateAccessorHandler.kt index fcc01b6c1..430b79bd9 100644 --- a/src/main/kotlin/platform/mixin/action/GenerateAccessorHandler.kt +++ b/src/main/kotlin/platform/mixin/action/GenerateAccessorHandler.kt @@ -3,7 +3,7 @@ * * https://minecraftdev.org * - * Copyright (c) 2021 minecraft-dev + * Copyright (c) 2022 minecraft-dev * * MIT License */ diff --git a/src/main/kotlin/platform/mixin/action/GenerateOverwriteAction.kt b/src/main/kotlin/platform/mixin/action/GenerateOverwriteAction.kt index 28898f91d..2b10ccfb3 100644 --- a/src/main/kotlin/platform/mixin/action/GenerateOverwriteAction.kt +++ b/src/main/kotlin/platform/mixin/action/GenerateOverwriteAction.kt @@ -3,7 +3,7 @@ * * https://minecraftdev.org * - * Copyright (c) 2021 minecraft-dev + * Copyright (c) 2022 minecraft-dev * * MIT License */ diff --git a/src/main/kotlin/platform/mixin/action/GenerateShadowAction.kt b/src/main/kotlin/platform/mixin/action/GenerateShadowAction.kt index 82c10937f..2ccc94170 100644 --- a/src/main/kotlin/platform/mixin/action/GenerateShadowAction.kt +++ b/src/main/kotlin/platform/mixin/action/GenerateShadowAction.kt @@ -3,7 +3,7 @@ * * https://minecraftdev.org * - * Copyright (c) 2021 minecraft-dev + * Copyright (c) 2022 minecraft-dev * * MIT License */ diff --git a/src/main/kotlin/platform/mixin/action/GenerateSoftImplementsAction.kt b/src/main/kotlin/platform/mixin/action/GenerateSoftImplementsAction.kt index 39400691f..fbb48c26b 100644 --- a/src/main/kotlin/platform/mixin/action/GenerateSoftImplementsAction.kt +++ b/src/main/kotlin/platform/mixin/action/GenerateSoftImplementsAction.kt @@ -3,7 +3,7 @@ * * https://minecraftdev.org * - * Copyright (c) 2021 minecraft-dev + * Copyright (c) 2022 minecraft-dev * * MIT License */ diff --git a/src/main/kotlin/platform/mixin/action/MixinCodeInsightAction.kt b/src/main/kotlin/platform/mixin/action/MixinCodeInsightAction.kt index f76be6591..f7bc53cb5 100644 --- a/src/main/kotlin/platform/mixin/action/MixinCodeInsightAction.kt +++ b/src/main/kotlin/platform/mixin/action/MixinCodeInsightAction.kt @@ -3,7 +3,7 @@ * * https://minecraftdev.org * - * Copyright (c) 2021 minecraft-dev + * Copyright (c) 2022 minecraft-dev * * MIT License */ diff --git a/src/main/kotlin/platform/mixin/action/ShadowReferences.kt b/src/main/kotlin/platform/mixin/action/ShadowReferences.kt index 2b80966cb..f2805cf7b 100644 --- a/src/main/kotlin/platform/mixin/action/ShadowReferences.kt +++ b/src/main/kotlin/platform/mixin/action/ShadowReferences.kt @@ -3,7 +3,7 @@ * * https://minecraftdev.org * - * Copyright (c) 2021 minecraft-dev + * Copyright (c) 2022 minecraft-dev * * MIT License */ diff --git a/src/main/kotlin/platform/mixin/completion/MixinCompletionConfidence.kt b/src/main/kotlin/platform/mixin/completion/MixinCompletionConfidence.kt index c83be7bc8..5be933041 100644 --- a/src/main/kotlin/platform/mixin/completion/MixinCompletionConfidence.kt +++ b/src/main/kotlin/platform/mixin/completion/MixinCompletionConfidence.kt @@ -3,7 +3,7 @@ * * https://minecraftdev.org * - * Copyright (c) 2021 minecraft-dev + * Copyright (c) 2022 minecraft-dev * * MIT License */ diff --git a/src/main/kotlin/platform/mixin/completion/MixinCompletionContributor.kt b/src/main/kotlin/platform/mixin/completion/MixinCompletionContributor.kt index a8aa1c71d..5f6f860cf 100644 --- a/src/main/kotlin/platform/mixin/completion/MixinCompletionContributor.kt +++ b/src/main/kotlin/platform/mixin/completion/MixinCompletionContributor.kt @@ -3,7 +3,7 @@ * * https://minecraftdev.org * - * Copyright (c) 2021 minecraft-dev + * Copyright (c) 2022 minecraft-dev * * MIT License */ diff --git a/src/main/kotlin/platform/mixin/completion/MixinLookupItem.kt b/src/main/kotlin/platform/mixin/completion/MixinLookupItem.kt index f23e86b28..8568f88f9 100644 --- a/src/main/kotlin/platform/mixin/completion/MixinLookupItem.kt +++ b/src/main/kotlin/platform/mixin/completion/MixinLookupItem.kt @@ -3,7 +3,7 @@ * * https://minecraftdev.org * - * Copyright (c) 2021 minecraft-dev + * Copyright (c) 2022 minecraft-dev * * MIT License */ diff --git a/src/main/kotlin/platform/mixin/config/MixinConfig.kt b/src/main/kotlin/platform/mixin/config/MixinConfig.kt index 92410e650..5ac2912d8 100644 --- a/src/main/kotlin/platform/mixin/config/MixinConfig.kt +++ b/src/main/kotlin/platform/mixin/config/MixinConfig.kt @@ -3,7 +3,7 @@ * * https://minecraftdev.org * - * Copyright (c) 2021 minecraft-dev + * Copyright (c) 2022 minecraft-dev * * MIT License */ diff --git a/src/main/kotlin/platform/mixin/config/MixinConfigFileType.kt b/src/main/kotlin/platform/mixin/config/MixinConfigFileType.kt index 4330a41ed..6cce46ec9 100644 --- a/src/main/kotlin/platform/mixin/config/MixinConfigFileType.kt +++ b/src/main/kotlin/platform/mixin/config/MixinConfigFileType.kt @@ -3,7 +3,7 @@ * * https://minecraftdev.org * - * Copyright (c) 2021 minecraft-dev + * Copyright (c) 2022 minecraft-dev * * MIT License */ diff --git a/src/main/kotlin/platform/mixin/config/MixinConfigImportOptimizer.kt b/src/main/kotlin/platform/mixin/config/MixinConfigImportOptimizer.kt index 4d67ba9f6..7a31941fd 100644 --- a/src/main/kotlin/platform/mixin/config/MixinConfigImportOptimizer.kt +++ b/src/main/kotlin/platform/mixin/config/MixinConfigImportOptimizer.kt @@ -3,7 +3,7 @@ * * https://minecraftdev.org * - * Copyright (c) 2021 minecraft-dev + * Copyright (c) 2022 minecraft-dev * * MIT License */ diff --git a/src/main/kotlin/platform/mixin/config/inspection/ConfigPropertyInspection.kt b/src/main/kotlin/platform/mixin/config/inspection/ConfigPropertyInspection.kt index 638962a8e..579fdc509 100644 --- a/src/main/kotlin/platform/mixin/config/inspection/ConfigPropertyInspection.kt +++ b/src/main/kotlin/platform/mixin/config/inspection/ConfigPropertyInspection.kt @@ -3,7 +3,7 @@ * * https://minecraftdev.org * - * Copyright (c) 2021 minecraft-dev + * Copyright (c) 2022 minecraft-dev * * MIT License */ diff --git a/src/main/kotlin/platform/mixin/config/inspection/ConfigValueInspection.kt b/src/main/kotlin/platform/mixin/config/inspection/ConfigValueInspection.kt index d68389e81..503aed3ef 100644 --- a/src/main/kotlin/platform/mixin/config/inspection/ConfigValueInspection.kt +++ b/src/main/kotlin/platform/mixin/config/inspection/ConfigValueInspection.kt @@ -3,7 +3,7 @@ * * https://minecraftdev.org * - * Copyright (c) 2021 minecraft-dev + * Copyright (c) 2022 minecraft-dev * * MIT License */ diff --git a/src/main/kotlin/platform/mixin/config/inspection/MixinConfigInspection.kt b/src/main/kotlin/platform/mixin/config/inspection/MixinConfigInspection.kt index 220e169fb..4429715c0 100644 --- a/src/main/kotlin/platform/mixin/config/inspection/MixinConfigInspection.kt +++ b/src/main/kotlin/platform/mixin/config/inspection/MixinConfigInspection.kt @@ -3,7 +3,7 @@ * * https://minecraftdev.org * - * Copyright (c) 2021 minecraft-dev + * Copyright (c) 2022 minecraft-dev * * MIT License */ diff --git a/src/main/kotlin/platform/mixin/config/inspection/MixinPluginInspection.kt b/src/main/kotlin/platform/mixin/config/inspection/MixinPluginInspection.kt index ee2ef6694..c58fb458d 100644 --- a/src/main/kotlin/platform/mixin/config/inspection/MixinPluginInspection.kt +++ b/src/main/kotlin/platform/mixin/config/inspection/MixinPluginInspection.kt @@ -3,7 +3,7 @@ * * https://minecraftdev.org * - * Copyright (c) 2021 minecraft-dev + * Copyright (c) 2022 minecraft-dev * * MIT License */ diff --git a/src/main/kotlin/platform/mixin/config/inspection/MixinRegistrationInspection.kt b/src/main/kotlin/platform/mixin/config/inspection/MixinRegistrationInspection.kt index d352f51e3..8e56c16f4 100644 --- a/src/main/kotlin/platform/mixin/config/inspection/MixinRegistrationInspection.kt +++ b/src/main/kotlin/platform/mixin/config/inspection/MixinRegistrationInspection.kt @@ -3,7 +3,7 @@ * * https://minecraftdev.org * - * Copyright (c) 2021 minecraft-dev + * Copyright (c) 2022 minecraft-dev * * MIT License */ diff --git a/src/main/kotlin/platform/mixin/config/inspection/UnresolvedReferenceInspection.kt b/src/main/kotlin/platform/mixin/config/inspection/UnresolvedReferenceInspection.kt index 28ac01044..c39e2458f 100644 --- a/src/main/kotlin/platform/mixin/config/inspection/UnresolvedReferenceInspection.kt +++ b/src/main/kotlin/platform/mixin/config/inspection/UnresolvedReferenceInspection.kt @@ -3,7 +3,7 @@ * * https://minecraftdev.org * - * Copyright (c) 2021 minecraft-dev + * Copyright (c) 2022 minecraft-dev * * MIT License */ diff --git a/src/main/kotlin/platform/mixin/config/reference/CompatibilityLevel.kt b/src/main/kotlin/platform/mixin/config/reference/CompatibilityLevel.kt index 30d1a3e55..1263f9351 100644 --- a/src/main/kotlin/platform/mixin/config/reference/CompatibilityLevel.kt +++ b/src/main/kotlin/platform/mixin/config/reference/CompatibilityLevel.kt @@ -3,7 +3,7 @@ * * https://minecraftdev.org * - * Copyright (c) 2021 minecraft-dev + * Copyright (c) 2022 minecraft-dev * * MIT License */ diff --git a/src/main/kotlin/platform/mixin/config/reference/ConfigProperty.kt b/src/main/kotlin/platform/mixin/config/reference/ConfigProperty.kt index c03c7e925..afac8159f 100644 --- a/src/main/kotlin/platform/mixin/config/reference/ConfigProperty.kt +++ b/src/main/kotlin/platform/mixin/config/reference/ConfigProperty.kt @@ -3,7 +3,7 @@ * * https://minecraftdev.org * - * Copyright (c) 2021 minecraft-dev + * Copyright (c) 2022 minecraft-dev * * MIT License */ diff --git a/src/main/kotlin/platform/mixin/config/reference/MixinClass.kt b/src/main/kotlin/platform/mixin/config/reference/MixinClass.kt index 2ea590e2f..d15d906e1 100644 --- a/src/main/kotlin/platform/mixin/config/reference/MixinClass.kt +++ b/src/main/kotlin/platform/mixin/config/reference/MixinClass.kt @@ -3,7 +3,7 @@ * * https://minecraftdev.org * - * Copyright (c) 2021 minecraft-dev + * Copyright (c) 2022 minecraft-dev * * MIT License */ diff --git a/src/main/kotlin/platform/mixin/config/reference/MixinConfigReferenceContributor.kt b/src/main/kotlin/platform/mixin/config/reference/MixinConfigReferenceContributor.kt index 2f9df77ba..35859be04 100644 --- a/src/main/kotlin/platform/mixin/config/reference/MixinConfigReferenceContributor.kt +++ b/src/main/kotlin/platform/mixin/config/reference/MixinConfigReferenceContributor.kt @@ -3,7 +3,7 @@ * * https://minecraftdev.org * - * Copyright (c) 2021 minecraft-dev + * Copyright (c) 2022 minecraft-dev * * MIT License */ diff --git a/src/main/kotlin/platform/mixin/config/reference/MixinPackage.kt b/src/main/kotlin/platform/mixin/config/reference/MixinPackage.kt index 681d13d2c..7e392b61f 100644 --- a/src/main/kotlin/platform/mixin/config/reference/MixinPackage.kt +++ b/src/main/kotlin/platform/mixin/config/reference/MixinPackage.kt @@ -3,7 +3,7 @@ * * https://minecraftdev.org * - * Copyright (c) 2021 minecraft-dev + * Copyright (c) 2022 minecraft-dev * * MIT License */ diff --git a/src/main/kotlin/platform/mixin/config/reference/MixinPlugin.kt b/src/main/kotlin/platform/mixin/config/reference/MixinPlugin.kt index a4fdb8c63..7825ef005 100644 --- a/src/main/kotlin/platform/mixin/config/reference/MixinPlugin.kt +++ b/src/main/kotlin/platform/mixin/config/reference/MixinPlugin.kt @@ -3,7 +3,7 @@ * * https://minecraftdev.org * - * Copyright (c) 2021 minecraft-dev + * Copyright (c) 2022 minecraft-dev * * MIT License */ diff --git a/src/main/kotlin/platform/mixin/debug/MixinDebuggerClassFilterProvider.kt b/src/main/kotlin/platform/mixin/debug/MixinDebuggerClassFilterProvider.kt index 065892c17..1a09d5f0a 100644 --- a/src/main/kotlin/platform/mixin/debug/MixinDebuggerClassFilterProvider.kt +++ b/src/main/kotlin/platform/mixin/debug/MixinDebuggerClassFilterProvider.kt @@ -3,7 +3,7 @@ * * https://minecraftdev.org * - * Copyright (c) 2021 minecraft-dev + * Copyright (c) 2022 minecraft-dev * * MIT License */ diff --git a/src/main/kotlin/platform/mixin/debug/MixinPositionManager.kt b/src/main/kotlin/platform/mixin/debug/MixinPositionManager.kt index 6cc17eaee..4c8be17da 100644 --- a/src/main/kotlin/platform/mixin/debug/MixinPositionManager.kt +++ b/src/main/kotlin/platform/mixin/debug/MixinPositionManager.kt @@ -3,7 +3,7 @@ * * https://minecraftdev.org * - * Copyright (c) 2021 minecraft-dev + * Copyright (c) 2022 minecraft-dev * * MIT License */ diff --git a/src/main/kotlin/platform/mixin/debug/MixinPositionManagerFactory.kt b/src/main/kotlin/platform/mixin/debug/MixinPositionManagerFactory.kt index 939dc48a4..92c454013 100644 --- a/src/main/kotlin/platform/mixin/debug/MixinPositionManagerFactory.kt +++ b/src/main/kotlin/platform/mixin/debug/MixinPositionManagerFactory.kt @@ -3,7 +3,7 @@ * * https://minecraftdev.org * - * Copyright (c) 2021 minecraft-dev + * Copyright (c) 2022 minecraft-dev * * MIT License */ diff --git a/src/main/kotlin/platform/mixin/folding/AccessorMixinFoldingBuilder.kt b/src/main/kotlin/platform/mixin/folding/AccessorMixinFoldingBuilder.kt index 0df08faa5..5c9fb5188 100644 --- a/src/main/kotlin/platform/mixin/folding/AccessorMixinFoldingBuilder.kt +++ b/src/main/kotlin/platform/mixin/folding/AccessorMixinFoldingBuilder.kt @@ -3,7 +3,7 @@ * * https://minecraftdev.org * - * Copyright (c) 2021 minecraft-dev + * Copyright (c) 2022 minecraft-dev * * MIT License */ diff --git a/src/main/kotlin/platform/mixin/folding/MixinFoldingOptionsProvider.kt b/src/main/kotlin/platform/mixin/folding/MixinFoldingOptionsProvider.kt index 6f0940c80..fd72c2fd6 100644 --- a/src/main/kotlin/platform/mixin/folding/MixinFoldingOptionsProvider.kt +++ b/src/main/kotlin/platform/mixin/folding/MixinFoldingOptionsProvider.kt @@ -3,7 +3,7 @@ * * https://minecraftdev.org * - * Copyright (c) 2021 minecraft-dev + * Copyright (c) 2022 minecraft-dev * * MIT License */ diff --git a/src/main/kotlin/platform/mixin/folding/MixinFoldingSettings.kt b/src/main/kotlin/platform/mixin/folding/MixinFoldingSettings.kt index 1ecd6d5c7..5aab31a1a 100644 --- a/src/main/kotlin/platform/mixin/folding/MixinFoldingSettings.kt +++ b/src/main/kotlin/platform/mixin/folding/MixinFoldingSettings.kt @@ -3,7 +3,7 @@ * * https://minecraftdev.org * - * Copyright (c) 2021 minecraft-dev + * Copyright (c) 2022 minecraft-dev * * MIT License */ diff --git a/src/main/kotlin/platform/mixin/folding/MixinObjectCastFoldingBuilder.kt b/src/main/kotlin/platform/mixin/folding/MixinObjectCastFoldingBuilder.kt index 38ec059df..fc9feb35c 100644 --- a/src/main/kotlin/platform/mixin/folding/MixinObjectCastFoldingBuilder.kt +++ b/src/main/kotlin/platform/mixin/folding/MixinObjectCastFoldingBuilder.kt @@ -3,7 +3,7 @@ * * https://minecraftdev.org * - * Copyright (c) 2021 minecraft-dev + * Copyright (c) 2022 minecraft-dev * * MIT License */ diff --git a/src/main/kotlin/platform/mixin/folding/MixinTargetDescriptorFoldingBuilder.kt b/src/main/kotlin/platform/mixin/folding/MixinTargetDescriptorFoldingBuilder.kt index bd136bcd1..9ecc6d311 100644 --- a/src/main/kotlin/platform/mixin/folding/MixinTargetDescriptorFoldingBuilder.kt +++ b/src/main/kotlin/platform/mixin/folding/MixinTargetDescriptorFoldingBuilder.kt @@ -3,7 +3,7 @@ * * https://minecraftdev.org * - * Copyright (c) 2021 minecraft-dev + * Copyright (c) 2022 minecraft-dev * * MIT License */ diff --git a/src/main/kotlin/platform/mixin/framework/MixinLibraryKind.kt b/src/main/kotlin/platform/mixin/framework/MixinLibraryKind.kt index 17a7d8aec..bd3eed292 100644 --- a/src/main/kotlin/platform/mixin/framework/MixinLibraryKind.kt +++ b/src/main/kotlin/platform/mixin/framework/MixinLibraryKind.kt @@ -3,7 +3,7 @@ * * https://minecraftdev.org * - * Copyright (c) 2021 minecraft-dev + * Copyright (c) 2022 minecraft-dev * * MIT License */ diff --git a/src/main/kotlin/platform/mixin/framework/MixinPresentationProvider.kt b/src/main/kotlin/platform/mixin/framework/MixinPresentationProvider.kt index 69384e64c..d0b5d46ec 100644 --- a/src/main/kotlin/platform/mixin/framework/MixinPresentationProvider.kt +++ b/src/main/kotlin/platform/mixin/framework/MixinPresentationProvider.kt @@ -3,7 +3,7 @@ * * https://minecraftdev.org * - * Copyright (c) 2021 minecraft-dev + * Copyright (c) 2022 minecraft-dev * * MIT License */ diff --git a/src/main/kotlin/platform/mixin/handlers/AccessorHandler.kt b/src/main/kotlin/platform/mixin/handlers/AccessorHandler.kt index 4c349e527..fa2f4b386 100644 --- a/src/main/kotlin/platform/mixin/handlers/AccessorHandler.kt +++ b/src/main/kotlin/platform/mixin/handlers/AccessorHandler.kt @@ -3,7 +3,7 @@ * * https://minecraftdev.org * - * Copyright (c) 2021 minecraft-dev + * Copyright (c) 2022 minecraft-dev * * MIT License */ @@ -96,6 +96,8 @@ class AccessorHandler : MixinMemberAnnotationHandler { ).createSmartPointer() } + override val isEntryPoint = false + data class AccessorInfo(val name: String, val type: AccessorType) enum class AccessorType(val allowGetters: Boolean, val allowSetters: Boolean) { diff --git a/src/main/kotlin/platform/mixin/handlers/InjectAnnotationHandler.kt b/src/main/kotlin/platform/mixin/handlers/InjectAnnotationHandler.kt index c272ff188..e3f79909f 100644 --- a/src/main/kotlin/platform/mixin/handlers/InjectAnnotationHandler.kt +++ b/src/main/kotlin/platform/mixin/handlers/InjectAnnotationHandler.kt @@ -3,7 +3,7 @@ * * https://minecraftdev.org * - * Copyright (c) 2021 minecraft-dev + * Copyright (c) 2022 minecraft-dev * * MIT License */ diff --git a/src/main/kotlin/platform/mixin/handlers/InjectorAnnotationHandler.kt b/src/main/kotlin/platform/mixin/handlers/InjectorAnnotationHandler.kt index 09e7851bd..b6c5e11d6 100644 --- a/src/main/kotlin/platform/mixin/handlers/InjectorAnnotationHandler.kt +++ b/src/main/kotlin/platform/mixin/handlers/InjectorAnnotationHandler.kt @@ -3,7 +3,7 @@ * * https://minecraftdev.org * - * Copyright (c) 2021 minecraft-dev + * Copyright (c) 2022 minecraft-dev * * MIT License */ @@ -146,6 +146,8 @@ abstract class InjectorAnnotationHandler : MixinAnnotationHandler { open val allowCoerce = false + override val isEntryPoint = true + data class InsnResult(val method: ClassAndMethodNode, val result: CollectVisitor.Result<*>) companion object { @@ -181,3 +183,13 @@ abstract class InjectorAnnotationHandler : MixinAnnotationHandler { } } } + +object DefaultInjectorAnnotationHandler : InjectorAnnotationHandler() { + override fun expectedMethodSignature( + annotation: PsiAnnotation, + targetClass: ClassNode, + targetMethod: MethodNode + ) = null + + override val isSoft = true +} diff --git a/src/main/kotlin/platform/mixin/handlers/InvokerHandler.kt b/src/main/kotlin/platform/mixin/handlers/InvokerHandler.kt index fd7bb178f..5aea26eb7 100644 --- a/src/main/kotlin/platform/mixin/handlers/InvokerHandler.kt +++ b/src/main/kotlin/platform/mixin/handlers/InvokerHandler.kt @@ -3,7 +3,7 @@ * * https://minecraftdev.org * - * Copyright (c) 2021 minecraft-dev + * Copyright (c) 2022 minecraft-dev * * MIT License */ @@ -92,4 +92,6 @@ class InvokerHandler : MixinMemberAnnotationHandler { canDecompile = false ).createSmartPointer() } + + override val isEntryPoint = false } diff --git a/src/main/kotlin/platform/mixin/handlers/MixinAnnotationHandler.kt b/src/main/kotlin/platform/mixin/handlers/MixinAnnotationHandler.kt index b67485686..d37a48cb0 100644 --- a/src/main/kotlin/platform/mixin/handlers/MixinAnnotationHandler.kt +++ b/src/main/kotlin/platform/mixin/handlers/MixinAnnotationHandler.kt @@ -3,7 +3,7 @@ * * https://minecraftdev.org * - * Copyright (c) 2021 minecraft-dev + * Copyright (c) 2022 minecraft-dev * * MIT License */ @@ -11,13 +11,24 @@ package com.demonwav.mcdev.platform.mixin.handlers import com.demonwav.mcdev.platform.mixin.handlers.injectionPoint.InsnResolutionInfo +import com.demonwav.mcdev.platform.mixin.util.MixinConstants import com.demonwav.mcdev.platform.mixin.util.MixinTargetMember import com.demonwav.mcdev.platform.mixin.util.mixinTargets +import com.demonwav.mcdev.util.findAnnotation import com.demonwav.mcdev.util.findContainingClass +import com.demonwav.mcdev.util.resolveClass +import com.intellij.openapi.extensions.ExtensionPointName import com.intellij.openapi.extensions.RequiredElement +import com.intellij.openapi.project.Project import com.intellij.openapi.util.KeyedExtensionCollector +import com.intellij.psi.JavaPsiFacade import com.intellij.psi.PsiAnnotation import com.intellij.psi.PsiElement +import com.intellij.psi.search.GlobalSearchScope +import com.intellij.psi.search.searches.AnnotatedElementsSearch +import com.intellij.psi.util.CachedValueProvider +import com.intellij.psi.util.CachedValuesManager +import com.intellij.psi.util.PsiModificationTracker import com.intellij.serviceContainer.BaseKeyedLazyInstance import com.intellij.util.KeyedLazyInstance import com.intellij.util.xmlb.annotations.Attribute @@ -49,12 +60,56 @@ interface MixinAnnotationHandler { fun createUnresolvedMessage(annotation: PsiAnnotation): String? - companion object { - private val COLLECTOR = - KeyedExtensionCollector("com.demonwav.minecraft-dev.mixinAnnotationHandler") + /** + * Returns true if we don't actually know the implementation of the annotation, and we're just making + * a guess. Prevents unresolved errors but still attempts navigation + */ + val isSoft: Boolean get() = false + + /** + * Returns whether elements annotated with this annotation should be considered "entry points", + * i.e. not reported as unused + */ + val isEntryPoint: Boolean - fun forMixinAnnotation(qualifiedName: String): MixinAnnotationHandler? { - return COLLECTOR.findSingle(qualifiedName) + companion object { + private val EP_NAME = ExtensionPointName>( + "com.demonwav.minecraft-dev.mixinAnnotationHandler" + ) + private val COLLECTOR = KeyedExtensionCollector(EP_NAME) + + fun getBuiltinHandlers(): Sequence> = + EP_NAME.extensions.asSequence().map { it.key to it.instance } + + fun forMixinAnnotation(qualifiedName: String, project: Project? = null): MixinAnnotationHandler? { + val extension = COLLECTOR.findSingle(qualifiedName) + if (extension != null) { + return extension + } + + if (project != null) { + val extraMixinAnnotations = CachedValuesManager.getManager(project).getCachedValue(project) { + val result = JavaPsiFacade.getInstance(project) + .findClass(MixinConstants.Annotations.ANNOTATION_TYPE, GlobalSearchScope.allScope(project)) + ?.let { annotationType -> + AnnotatedElementsSearch.searchPsiClasses( + annotationType, + GlobalSearchScope.allScope(project) + ).mapNotNull { injectionInfoClass -> + injectionInfoClass.findAnnotation(MixinConstants.Annotations.ANNOTATION_TYPE) + ?.findAttributeValue("value") + ?.resolveClass() + ?.qualifiedName + }.toSet() + } ?: emptySet() + CachedValueProvider.Result(result, PsiModificationTracker.MODIFICATION_COUNT) + } + if (extraMixinAnnotations != null && qualifiedName in extraMixinAnnotations) { + return DefaultInjectorAnnotationHandler + } + } + + return null } } } diff --git a/src/main/kotlin/platform/mixin/handlers/MixinMemberAnnotationHandler.kt b/src/main/kotlin/platform/mixin/handlers/MixinMemberAnnotationHandler.kt index 2214d6f57..94ebd2e7c 100644 --- a/src/main/kotlin/platform/mixin/handlers/MixinMemberAnnotationHandler.kt +++ b/src/main/kotlin/platform/mixin/handlers/MixinMemberAnnotationHandler.kt @@ -3,7 +3,7 @@ * * https://minecraftdev.org * - * Copyright (c) 2021 minecraft-dev + * Copyright (c) 2022 minecraft-dev * * MIT License */ diff --git a/src/main/kotlin/platform/mixin/handlers/ModifyArgHandler.kt b/src/main/kotlin/platform/mixin/handlers/ModifyArgHandler.kt index f3c3603ef..097cf3ec9 100644 --- a/src/main/kotlin/platform/mixin/handlers/ModifyArgHandler.kt +++ b/src/main/kotlin/platform/mixin/handlers/ModifyArgHandler.kt @@ -3,7 +3,7 @@ * * https://minecraftdev.org * - * Copyright (c) 2021 minecraft-dev + * Copyright (c) 2022 minecraft-dev * * MIT License */ diff --git a/src/main/kotlin/platform/mixin/handlers/ModifyArgsHandler.kt b/src/main/kotlin/platform/mixin/handlers/ModifyArgsHandler.kt index a9e000985..79973c3ba 100644 --- a/src/main/kotlin/platform/mixin/handlers/ModifyArgsHandler.kt +++ b/src/main/kotlin/platform/mixin/handlers/ModifyArgsHandler.kt @@ -3,7 +3,7 @@ * * https://minecraftdev.org * - * Copyright (c) 2021 minecraft-dev + * Copyright (c) 2022 minecraft-dev * * MIT License */ diff --git a/src/main/kotlin/platform/mixin/handlers/ModifyConstantHandler.kt b/src/main/kotlin/platform/mixin/handlers/ModifyConstantHandler.kt index 1b8720221..08a8e7a20 100644 --- a/src/main/kotlin/platform/mixin/handlers/ModifyConstantHandler.kt +++ b/src/main/kotlin/platform/mixin/handlers/ModifyConstantHandler.kt @@ -3,7 +3,7 @@ * * https://minecraftdev.org * - * Copyright (c) 2021 minecraft-dev + * Copyright (c) 2022 minecraft-dev * * MIT License */ @@ -173,13 +173,20 @@ class ModifyConstantHandler : InjectorAnnotationHandler() { canDecompile = true ) ?: return emptyList() + val constantInjectionPoint = InjectionPoint.byAtCode("CONSTANT") as? ConstantInjectionPoint + ?: return emptyList() + return constantInfos.asSequence().flatMap { modifyConstantInfo -> val collectVisitor = ConstantInjectionPoint.MyCollectVisitor( annotation.project, CollectVisitor.Mode.MATCH_ALL, modifyConstantInfo.constantInfo ) - InjectionPoint.addStandardFilters(modifyConstantInfo.constantAnnotation, targetClass, collectVisitor) + constantInjectionPoint.addStandardFilters( + modifyConstantInfo.constantAnnotation, + targetClass, + collectVisitor + ) collectVisitor.visit(targetMethod) val bytecodeResults = collectVisitor.result @@ -199,13 +206,19 @@ class ModifyConstantHandler : InjectorAnnotationHandler() { mode: CollectVisitor.Mode ): List> { val constantInfos = getConstantInfos(annotation) ?: return emptyList() + val constantInjectionPoint = InjectionPoint.byAtCode("CONSTANT") as? ConstantInjectionPoint + ?: return emptyList() return constantInfos.asSequence().flatMap { modifyConstantInfo -> val collectVisitor = ConstantInjectionPoint.MyCollectVisitor( annotation.project, mode, modifyConstantInfo.constantInfo ) - InjectionPoint.addStandardFilters(modifyConstantInfo.constantAnnotation, targetClass, collectVisitor) + constantInjectionPoint.addStandardFilters( + modifyConstantInfo.constantAnnotation, + targetClass, + collectVisitor + ) collectVisitor.visit(targetMethod) collectVisitor.result.asSequence() }.sortedBy { targetMethod.instructions.indexOf(it.insn) }.toList() @@ -217,13 +230,19 @@ class ModifyConstantHandler : InjectorAnnotationHandler() { targetMethod: MethodNode ): InsnResolutionInfo.Failure? { val constantInfos = getConstantInfos(annotation) ?: return InsnResolutionInfo.Failure() + val constantInjectionPoint = InjectionPoint.byAtCode("CONSTANT") as? ConstantInjectionPoint + ?: return null return constantInfos.asSequence().mapNotNull { modifyConstantInfo -> val collectVisitor = ConstantInjectionPoint.MyCollectVisitor( annotation.project, CollectVisitor.Mode.MATCH_FIRST, modifyConstantInfo.constantInfo ) - InjectionPoint.addStandardFilters(modifyConstantInfo.constantAnnotation, targetClass, collectVisitor) + constantInjectionPoint.addStandardFilters( + modifyConstantInfo.constantAnnotation, + targetClass, + collectVisitor + ) collectVisitor.visit(targetMethod) if (collectVisitor.result.isEmpty()) { collectVisitor.filterToBlame diff --git a/src/main/kotlin/platform/mixin/handlers/ModifyVariableHandler.kt b/src/main/kotlin/platform/mixin/handlers/ModifyVariableHandler.kt index d89576ae6..38cde488a 100644 --- a/src/main/kotlin/platform/mixin/handlers/ModifyVariableHandler.kt +++ b/src/main/kotlin/platform/mixin/handlers/ModifyVariableHandler.kt @@ -3,7 +3,7 @@ * * https://minecraftdev.org * - * Copyright (c) 2021 minecraft-dev + * Copyright (c) 2022 minecraft-dev * * MIT License */ @@ -132,7 +132,7 @@ class ModifyVariableInfo( } val ordinal = ordinals[local.desc] ?: 0 ordinals[local.desc!!] = ordinal + 1 - if (ordinal == ordinal && (!matchType || typeDesc == null || local.desc == typeDesc)) { + if (ordinal == this.ordinal && (!matchType || typeDesc == null || local.desc == typeDesc)) { result += local } } diff --git a/src/main/kotlin/platform/mixin/handlers/OverwriteHandler.kt b/src/main/kotlin/platform/mixin/handlers/OverwriteHandler.kt index 9434961a5..dabfc3a9c 100644 --- a/src/main/kotlin/platform/mixin/handlers/OverwriteHandler.kt +++ b/src/main/kotlin/platform/mixin/handlers/OverwriteHandler.kt @@ -3,7 +3,7 @@ * * https://minecraftdev.org * - * Copyright (c) 2021 minecraft-dev + * Copyright (c) 2022 minecraft-dev * * MIT License */ @@ -32,6 +32,8 @@ class OverwriteHandler : MixinMemberAnnotationHandler { return "Unresolved method ${method.name} in target class" } + override val isEntryPoint = true + companion object { fun getInstance(): OverwriteHandler? { return MixinAnnotationHandler.forMixinAnnotation(OVERWRITE) as? OverwriteHandler diff --git a/src/main/kotlin/platform/mixin/handlers/RedirectInjectorHandler.kt b/src/main/kotlin/platform/mixin/handlers/RedirectInjectorHandler.kt index a51c88450..b84662682 100644 --- a/src/main/kotlin/platform/mixin/handlers/RedirectInjectorHandler.kt +++ b/src/main/kotlin/platform/mixin/handlers/RedirectInjectorHandler.kt @@ -3,7 +3,7 @@ * * https://minecraftdev.org * - * Copyright (c) 2021 minecraft-dev + * Copyright (c) 2022 minecraft-dev * * MIT License */ diff --git a/src/main/kotlin/platform/mixin/handlers/ShadowHandler.kt b/src/main/kotlin/platform/mixin/handlers/ShadowHandler.kt index e2be0229b..bc16332e4 100644 --- a/src/main/kotlin/platform/mixin/handlers/ShadowHandler.kt +++ b/src/main/kotlin/platform/mixin/handlers/ShadowHandler.kt @@ -3,7 +3,7 @@ * * https://minecraftdev.org * - * Copyright (c) 2021 minecraft-dev + * Copyright (c) 2022 minecraft-dev * * MIT License */ @@ -118,6 +118,8 @@ class ShadowHandler : MixinMemberAnnotationHandler { return (member.name ?: return null).removePrefix(prefix) } + override val isEntryPoint = false + companion object { fun getInstance(): ShadowHandler? { return MixinAnnotationHandler.forMixinAnnotation(SHADOW) as? ShadowHandler diff --git a/src/main/kotlin/platform/mixin/handlers/injectionPoint/AtResolver.kt b/src/main/kotlin/platform/mixin/handlers/injectionPoint/AtResolver.kt index e8c8e700f..c5e62605c 100644 --- a/src/main/kotlin/platform/mixin/handlers/injectionPoint/AtResolver.kt +++ b/src/main/kotlin/platform/mixin/handlers/injectionPoint/AtResolver.kt @@ -3,7 +3,7 @@ * * https://minecraftdev.org * - * Copyright (c) 2021 minecraft-dev + * Copyright (c) 2022 minecraft-dev * * MIT License */ diff --git a/src/main/kotlin/platform/mixin/handlers/injectionPoint/ConstantInjectionPoint.kt b/src/main/kotlin/platform/mixin/handlers/injectionPoint/ConstantInjectionPoint.kt index 5dc888276..2350b1e6a 100644 --- a/src/main/kotlin/platform/mixin/handlers/injectionPoint/ConstantInjectionPoint.kt +++ b/src/main/kotlin/platform/mixin/handlers/injectionPoint/ConstantInjectionPoint.kt @@ -3,7 +3,7 @@ * * https://minecraftdev.org * - * Copyright (c) 2021 minecraft-dev + * Copyright (c) 2022 minecraft-dev * * MIT License */ diff --git a/src/main/kotlin/platform/mixin/handlers/injectionPoint/ConstantStringMethodInjectionPoint.kt b/src/main/kotlin/platform/mixin/handlers/injectionPoint/ConstantStringMethodInjectionPoint.kt index 63f681f66..b52c65b0e 100644 --- a/src/main/kotlin/platform/mixin/handlers/injectionPoint/ConstantStringMethodInjectionPoint.kt +++ b/src/main/kotlin/platform/mixin/handlers/injectionPoint/ConstantStringMethodInjectionPoint.kt @@ -3,7 +3,7 @@ * * https://minecraftdev.org * - * Copyright (c) 2021 minecraft-dev + * Copyright (c) 2022 minecraft-dev * * MIT License */ diff --git a/src/main/kotlin/platform/mixin/handlers/injectionPoint/FieldInjectionPoint.kt b/src/main/kotlin/platform/mixin/handlers/injectionPoint/FieldInjectionPoint.kt index 6138f5717..d2b769d56 100644 --- a/src/main/kotlin/platform/mixin/handlers/injectionPoint/FieldInjectionPoint.kt +++ b/src/main/kotlin/platform/mixin/handlers/injectionPoint/FieldInjectionPoint.kt @@ -3,7 +3,7 @@ * * https://minecraftdev.org * - * Copyright (c) 2021 minecraft-dev + * Copyright (c) 2022 minecraft-dev * * MIT License */ diff --git a/src/main/kotlin/platform/mixin/handlers/injectionPoint/HeadInjectionPoint.kt b/src/main/kotlin/platform/mixin/handlers/injectionPoint/HeadInjectionPoint.kt index 2181acaa1..60eeb8ae0 100644 --- a/src/main/kotlin/platform/mixin/handlers/injectionPoint/HeadInjectionPoint.kt +++ b/src/main/kotlin/platform/mixin/handlers/injectionPoint/HeadInjectionPoint.kt @@ -3,7 +3,7 @@ * * https://minecraftdev.org * - * Copyright (c) 2021 minecraft-dev + * Copyright (c) 2022 minecraft-dev * * MIT License */ diff --git a/src/main/kotlin/platform/mixin/handlers/injectionPoint/InjectionPoint.kt b/src/main/kotlin/platform/mixin/handlers/injectionPoint/InjectionPoint.kt index aecbba618..b1a06cdca 100644 --- a/src/main/kotlin/platform/mixin/handlers/injectionPoint/InjectionPoint.kt +++ b/src/main/kotlin/platform/mixin/handlers/injectionPoint/InjectionPoint.kt @@ -3,7 +3,7 @@ * * https://minecraftdev.org * - * Copyright (c) 2021 minecraft-dev + * Copyright (c) 2022 minecraft-dev * * MIT License */ @@ -58,100 +58,6 @@ abstract class InjectionPoint { fun byAtCode(atCode: String): InjectionPoint<*>? { return COLLECTOR.findSingle(atCode) } - - fun addStandardFilters(at: PsiAnnotation, targetClass: ClassNode, collectVisitor: CollectVisitor<*>) { - addShiftSupport(at, collectVisitor) - addSliceFilter(at, targetClass, collectVisitor) - // make sure the ordinal filter is last, so that the ordinal only increments once the other filters have passed - addOrdinalFilter(at, collectVisitor) - } - - private fun addShiftSupport(at: PsiAnnotation, collectVisitor: CollectVisitor<*>) { - val shiftAttr = at.findDeclaredAttributeValue("shift") as? PsiExpression ?: return - val shiftReference = PsiUtil.skipParenthesizedExprDown(shiftAttr) as? PsiReferenceExpression ?: return - val shift = shiftReference.resolve() as? PsiEnumConstant ?: return - val containingClass = shift.containingClass ?: return - val shiftClass = JavaPsiFacade.getInstance(at.project).findClass(SHIFT, at.resolveScope) ?: return - if (!(containingClass equivalentTo shiftClass)) return - when (shift.name) { - "BEFORE" -> collectVisitor.shiftBy = -1 - "AFTER" -> collectVisitor.shiftBy = 1 - "BY" -> { - val by = at.findDeclaredAttributeValue("by")?.constantValue as? Int ?: return - collectVisitor.shiftBy = by - } - } - } - - private fun addSliceFilter(at: PsiAnnotation, targetClass: ClassNode, collectVisitor: CollectVisitor<*>) { - // resolve slice annotation, take into account slice id if present - val sliceId = at.findDeclaredAttributeValue("slice")?.constantStringValue - val parentAnnotation = at.parentOfType() ?: return - val slices = parentAnnotation.findDeclaredAttributeValue("slice")?.findAnnotations() ?: return - val slice = if (sliceId != null) { - slices.singleOrNull { aSlice -> - val aSliceId = aSlice.findDeclaredAttributeValue("id")?.constantStringValue - ?: return@singleOrNull false - aSliceId == sliceId - } - } else { - slices.singleOrNull() - } ?: return - - // precompute what we can - val from = slice.findDeclaredAttributeValue("from") as? PsiAnnotation - val to = slice.findDeclaredAttributeValue("to") as? PsiAnnotation - if (from == null && to == null) { - return - } - val fromSelector = from?.findDeclaredAttributeValue("value")?.constantStringValue?.let { atCode -> - SliceSelector.values().firstOrNull { atCode.endsWith(":${it.name}") } - } ?: SliceSelector.FIRST - val toSelector = to?.findDeclaredAttributeValue("value")?.constantStringValue?.let { atCode -> - SliceSelector.values().firstOrNull { atCode.endsWith(":${it.name}") } - } ?: SliceSelector.FIRST - - fun resolveSliceIndex( - sliceAt: PsiAnnotation?, - selector: SliceSelector, - insns: InsnList, - method: MethodNode - ): Int? { - return sliceAt?.let { - val results = AtResolver(sliceAt, targetClass, method).resolveInstructions() - val insn = if (selector == SliceSelector.LAST) { - results.lastOrNull()?.insn - } else { - results.firstOrNull()?.insn - } - insn?.let { insns.indexOf(it) } - } - } - - // allocate lazy indexes so we don't have to re-run the at resolver for the slices each time - var fromInsnIndex: Int? = null - var toInsnIndex: Int? = null - - collectVisitor.addResultFilter("slice") { result, method -> - val insns = method.instructions ?: return@addResultFilter true - if (fromInsnIndex == null) { - fromInsnIndex = resolveSliceIndex(from, fromSelector, insns, method) ?: 0 - } - if (toInsnIndex == null) { - toInsnIndex = resolveSliceIndex(to, toSelector, insns, method) ?: insns.size() - } - - insns.indexOf(result.insn) in fromInsnIndex!!..toInsnIndex!! - } - } - - private fun addOrdinalFilter(at: PsiAnnotation, collectVisitor: CollectVisitor<*>) { - val ordinal = at.findDeclaredAttributeValue("ordinal")?.constantValue as? Int ?: return - if (ordinal < 0) return - collectVisitor.addResultFilter("ordinal") { _, _ -> - collectVisitor.ordinal++ == ordinal - } - } } open fun usesMemberReference() = false @@ -184,6 +90,100 @@ abstract class InjectionPoint { addStandardFilters(at, targetClass, collectVisitor) } + fun addStandardFilters(at: PsiAnnotation, targetClass: ClassNode, collectVisitor: CollectVisitor<*>) { + addShiftSupport(at, targetClass, collectVisitor) + addSliceFilter(at, targetClass, collectVisitor) + // make sure the ordinal filter is last, so that the ordinal only increments once the other filters have passed + addOrdinalFilter(at, targetClass, collectVisitor) + } + + protected open fun addShiftSupport(at: PsiAnnotation, targetClass: ClassNode, collectVisitor: CollectVisitor<*>) { + val shiftAttr = at.findDeclaredAttributeValue("shift") as? PsiExpression ?: return + val shiftReference = PsiUtil.skipParenthesizedExprDown(shiftAttr) as? PsiReferenceExpression ?: return + val shift = shiftReference.resolve() as? PsiEnumConstant ?: return + val containingClass = shift.containingClass ?: return + val shiftClass = JavaPsiFacade.getInstance(at.project).findClass(SHIFT, at.resolveScope) ?: return + if (!(containingClass equivalentTo shiftClass)) return + when (shift.name) { + "BEFORE" -> collectVisitor.shiftBy = -1 + "AFTER" -> collectVisitor.shiftBy = 1 + "BY" -> { + val by = at.findDeclaredAttributeValue("by")?.constantValue as? Int ?: return + collectVisitor.shiftBy = by + } + } + } + + protected open fun addSliceFilter(at: PsiAnnotation, targetClass: ClassNode, collectVisitor: CollectVisitor<*>) { + // resolve slice annotation, take into account slice id if present + val sliceId = at.findDeclaredAttributeValue("slice")?.constantStringValue + val parentAnnotation = at.parentOfType() ?: return + val slices = parentAnnotation.findDeclaredAttributeValue("slice")?.findAnnotations() ?: return + val slice = if (sliceId != null) { + slices.singleOrNull { aSlice -> + val aSliceId = aSlice.findDeclaredAttributeValue("id")?.constantStringValue + ?: return@singleOrNull false + aSliceId == sliceId + } + } else { + slices.singleOrNull() + } ?: return + + // precompute what we can + val from = slice.findDeclaredAttributeValue("from") as? PsiAnnotation + val to = slice.findDeclaredAttributeValue("to") as? PsiAnnotation + if (from == null && to == null) { + return + } + val fromSelector = from?.findDeclaredAttributeValue("value")?.constantStringValue?.let { atCode -> + SliceSelector.values().firstOrNull { atCode.endsWith(":${it.name}") } + } ?: SliceSelector.FIRST + val toSelector = to?.findDeclaredAttributeValue("value")?.constantStringValue?.let { atCode -> + SliceSelector.values().firstOrNull { atCode.endsWith(":${it.name}") } + } ?: SliceSelector.FIRST + + fun resolveSliceIndex( + sliceAt: PsiAnnotation?, + selector: SliceSelector, + insns: InsnList, + method: MethodNode + ): Int? { + return sliceAt?.let { + val results = AtResolver(sliceAt, targetClass, method).resolveInstructions() + val insn = if (selector == SliceSelector.LAST) { + results.lastOrNull()?.insn + } else { + results.firstOrNull()?.insn + } + insn?.let { insns.indexOf(it) } + } + } + + // allocate lazy indexes so we don't have to re-run the at resolver for the slices each time + var fromInsnIndex: Int? = null + var toInsnIndex: Int? = null + + collectVisitor.addResultFilter("slice") { result, method -> + val insns = method.instructions ?: return@addResultFilter true + if (fromInsnIndex == null) { + fromInsnIndex = resolveSliceIndex(from, fromSelector, insns, method) ?: 0 + } + if (toInsnIndex == null) { + toInsnIndex = resolveSliceIndex(to, toSelector, insns, method) ?: insns.size() + } + + insns.indexOf(result.insn) in fromInsnIndex!!..toInsnIndex!! + } + } + + protected open fun addOrdinalFilter(at: PsiAnnotation, targetClass: ClassNode, collectVisitor: CollectVisitor<*>) { + val ordinal = at.findDeclaredAttributeValue("ordinal")?.constantValue as? Int ?: return + if (ordinal < 0) return + collectVisitor.addResultFilter("ordinal") { _, _ -> + collectVisitor.ordinal++ == ordinal + } + } + abstract fun createLookup(targetClass: ClassNode, result: CollectVisitor.Result): LookupElementBuilder? protected fun LookupElementBuilder.setBoldIfInClass(member: PsiMember, clazz: ClassNode): LookupElementBuilder { @@ -371,7 +371,7 @@ abstract class CollectVisitor(protected val mode: Mode) { } } - val result = Result(nextIndex++, shiftedInsn ?: return, element, qualifier) + val result = Result(nextIndex++, insn, shiftedInsn ?: return, element, qualifier) var isFiltered = false for ((name, filter) in resultFilters) { if (!filter(result, method)) { @@ -402,6 +402,7 @@ abstract class CollectVisitor(protected val mode: Mode) { data class Result( val index: Int, + val originalInsn: AbstractInsnNode, val insn: AbstractInsnNode, val target: T, val qualifier: String? = null diff --git a/src/main/kotlin/platform/mixin/handlers/injectionPoint/LoadInjectionPoint.kt b/src/main/kotlin/platform/mixin/handlers/injectionPoint/LoadInjectionPoint.kt index c0f6886ef..1228ac3db 100644 --- a/src/main/kotlin/platform/mixin/handlers/injectionPoint/LoadInjectionPoint.kt +++ b/src/main/kotlin/platform/mixin/handlers/injectionPoint/LoadInjectionPoint.kt @@ -3,7 +3,7 @@ * * https://minecraftdev.org * - * Copyright (c) 2021 minecraft-dev + * Copyright (c) 2022 minecraft-dev * * MIT License */ @@ -12,6 +12,7 @@ package com.demonwav.mcdev.platform.mixin.handlers.injectionPoint import com.demonwav.mcdev.platform.mixin.handlers.ModifyVariableInfo import com.demonwav.mcdev.platform.mixin.reference.MixinSelector +import com.demonwav.mcdev.platform.mixin.util.AsmDfaUtil import com.demonwav.mcdev.platform.mixin.util.LocalVariables import com.demonwav.mcdev.platform.mixin.util.MixinConstants.Annotations.MODIFY_VARIABLE import com.demonwav.mcdev.util.constantValue @@ -77,6 +78,32 @@ abstract class AbstractLoadInjectionPoint(private val store: Boolean) : Injectio return null } + override fun addOrdinalFilter(at: PsiAnnotation, targetClass: ClassNode, collectVisitor: CollectVisitor<*>) { + val ordinal = at.findDeclaredAttributeValue("ordinal")?.constantValue as? Int ?: return + if (ordinal < 0) return + + // Replace the ordinal filter with one that takes into account the type of the local variable being modified. + // Fixes otherwise incorrect results for completion. + val project = at.project + val ordinals = mutableMapOf() + collectVisitor.addResultFilter("ordinal") { result, method -> + result.originalInsn as? VarInsnNode + ?: throw IllegalStateException("AbstractLoadInjectionPoint returned non-var insn") + val localInsn = if (store) { result.originalInsn.next } else { result.originalInsn } + val localType = AsmDfaUtil.getLocalVariableType( + project, + targetClass, + method, + localInsn, + result.originalInsn.`var` + ) ?: return@addResultFilter true + val desc = localType.descriptor + val ord = ordinals[desc] ?: 0 + ordinals[desc] = ord + 1 + ord == ordinal + } + } + private class MyNavigationVisitor( private val info: ModifyVariableInfo, private val store: Boolean diff --git a/src/main/kotlin/platform/mixin/handlers/injectionPoint/MethodInjectionPoint.kt b/src/main/kotlin/platform/mixin/handlers/injectionPoint/MethodInjectionPoint.kt index 153528c2d..31316a8f4 100644 --- a/src/main/kotlin/platform/mixin/handlers/injectionPoint/MethodInjectionPoint.kt +++ b/src/main/kotlin/platform/mixin/handlers/injectionPoint/MethodInjectionPoint.kt @@ -3,7 +3,7 @@ * * https://minecraftdev.org * - * Copyright (c) 2021 minecraft-dev + * Copyright (c) 2022 minecraft-dev * * MIT License */ diff --git a/src/main/kotlin/platform/mixin/handlers/injectionPoint/NewInsnInjectionPoint.kt b/src/main/kotlin/platform/mixin/handlers/injectionPoint/NewInsnInjectionPoint.kt index d56f4e7c9..1e732d9c6 100644 --- a/src/main/kotlin/platform/mixin/handlers/injectionPoint/NewInsnInjectionPoint.kt +++ b/src/main/kotlin/platform/mixin/handlers/injectionPoint/NewInsnInjectionPoint.kt @@ -3,7 +3,7 @@ * * https://minecraftdev.org * - * Copyright (c) 2021 minecraft-dev + * Copyright (c) 2022 minecraft-dev * * MIT License */ diff --git a/src/main/kotlin/platform/mixin/handlers/injectionPoint/ReturnInjectionPoint.kt b/src/main/kotlin/platform/mixin/handlers/injectionPoint/ReturnInjectionPoint.kt index b787eda80..4b3112c8b 100644 --- a/src/main/kotlin/platform/mixin/handlers/injectionPoint/ReturnInjectionPoint.kt +++ b/src/main/kotlin/platform/mixin/handlers/injectionPoint/ReturnInjectionPoint.kt @@ -3,7 +3,7 @@ * * https://minecraftdev.org * - * Copyright (c) 2021 minecraft-dev + * Copyright (c) 2022 minecraft-dev * * MIT License */ diff --git a/src/main/kotlin/platform/mixin/insight/MixinEntryPoint.kt b/src/main/kotlin/platform/mixin/insight/MixinEntryPoint.kt index b3df0984a..b58913b76 100644 --- a/src/main/kotlin/platform/mixin/insight/MixinEntryPoint.kt +++ b/src/main/kotlin/platform/mixin/insight/MixinEntryPoint.kt @@ -3,14 +3,16 @@ * * https://minecraftdev.org * - * Copyright (c) 2021 minecraft-dev + * Copyright (c) 2022 minecraft-dev * * MIT License */ package com.demonwav.mcdev.platform.mixin.insight -import com.demonwav.mcdev.platform.mixin.util.MixinConstants +import com.demonwav.mcdev.platform.mixin.handlers.InjectorAnnotationHandler +import com.demonwav.mcdev.platform.mixin.handlers.MixinAnnotationHandler +import com.demonwav.mcdev.util.toTypedArray import com.intellij.codeInspection.reference.RefElement import com.intellij.codeInspection.visibility.EntryPointWithVisibilityLevel import com.intellij.psi.PsiElement @@ -29,25 +31,44 @@ class MixinEntryPoint : EntryPointWithVisibilityLevel() { override fun getDisplayName() = "Mixin injectors" override fun getTitle() = "Suggest private visibility level for Mixin injectors" - override fun getIgnoreAnnotations() = MixinConstants.Annotations.ENTRY_POINTS + // TODO: support more handlers than the builtin + // need to find a way to access the project for that + override fun getIgnoreAnnotations() = + MixinAnnotationHandler.getBuiltinHandlers() + .filter { (_, handler) -> handler.isEntryPoint } + .map { (name, _) -> name } + .toTypedArray() override fun isEntryPoint(element: PsiElement): Boolean { - val modifierList = (element as? PsiMethod)?.modifierList ?: return false - return MixinConstants.Annotations.ENTRY_POINTS.any { - modifierList.findAnnotation(it) != null + if (element !is PsiMethod) { + return false } + val project = element.project + for (annotation in element.annotations) { + val qName = annotation.qualifiedName ?: continue + val handler = MixinAnnotationHandler.forMixinAnnotation(qName, project) + if (handler != null && handler.isEntryPoint) { + return true + } + } + return false } override fun isEntryPoint(refElement: RefElement, psiElement: PsiElement) = isEntryPoint(psiElement) override fun getMinVisibilityLevel(member: PsiMember): Int { - if (member !is PsiMethod) return -1 - val modifierList = member.modifierList - return if (MixinConstants.Annotations.METHOD_INJECTORS.any { modifierList.findAnnotation(it) != null }) { - PsiUtil.ACCESS_LEVEL_PRIVATE - } else { - -1 + if (member !is PsiMethod) { + return -1 + } + val project = member.project + for (annotation in member.annotations) { + val qName = annotation.qualifiedName ?: continue + val handler = MixinAnnotationHandler.forMixinAnnotation(qName, project) + if (handler is InjectorAnnotationHandler) { + return PsiUtil.ACCESS_LEVEL_PRIVATE + } } + return -1 } override fun isSelected() = MIXIN_ENTRY_POINT diff --git a/src/main/kotlin/platform/mixin/insight/MixinImplicitUsageProvider.kt b/src/main/kotlin/platform/mixin/insight/MixinImplicitUsageProvider.kt index bab2afb30..9e078746e 100644 --- a/src/main/kotlin/platform/mixin/insight/MixinImplicitUsageProvider.kt +++ b/src/main/kotlin/platform/mixin/insight/MixinImplicitUsageProvider.kt @@ -3,7 +3,7 @@ * * https://minecraftdev.org * - * Copyright (c) 2021 minecraft-dev + * Copyright (c) 2022 minecraft-dev * * MIT License */ diff --git a/src/main/kotlin/platform/mixin/insight/MixinLineMarkerProvider.kt b/src/main/kotlin/platform/mixin/insight/MixinLineMarkerProvider.kt index a6810a85b..6b9ee5d5e 100644 --- a/src/main/kotlin/platform/mixin/insight/MixinLineMarkerProvider.kt +++ b/src/main/kotlin/platform/mixin/insight/MixinLineMarkerProvider.kt @@ -3,7 +3,7 @@ * * https://minecraftdev.org * - * Copyright (c) 2021 minecraft-dev + * Copyright (c) 2022 minecraft-dev * * MIT License */ diff --git a/src/main/kotlin/platform/mixin/insight/MixinTargetLineMarkerProvider.kt b/src/main/kotlin/platform/mixin/insight/MixinTargetLineMarkerProvider.kt index 8bd03310c..976a291a2 100644 --- a/src/main/kotlin/platform/mixin/insight/MixinTargetLineMarkerProvider.kt +++ b/src/main/kotlin/platform/mixin/insight/MixinTargetLineMarkerProvider.kt @@ -3,7 +3,7 @@ * * https://minecraftdev.org * - * Copyright (c) 2021 minecraft-dev + * Copyright (c) 2022 minecraft-dev * * MIT License */ @@ -55,7 +55,7 @@ class MixinTargetLineMarkerProvider : LineMarkerProviderDescriptor() { val (handler, annotation) = element.annotations.mapFirstNotNull { annotation -> annotation.qualifiedName?.let { qName -> - MixinAnnotationHandler.forMixinAnnotation(qName)?.let { it to annotation } + MixinAnnotationHandler.forMixinAnnotation(qName, annotation.project)?.let { it to annotation } } } ?: return null if (handler.isUnresolved(annotation) != null) { diff --git a/src/main/kotlin/platform/mixin/inspection/MixinAnnotationAttributeInspection.kt b/src/main/kotlin/platform/mixin/inspection/MixinAnnotationAttributeInspection.kt index fc41bbf72..5ccf88984 100644 --- a/src/main/kotlin/platform/mixin/inspection/MixinAnnotationAttributeInspection.kt +++ b/src/main/kotlin/platform/mixin/inspection/MixinAnnotationAttributeInspection.kt @@ -3,7 +3,7 @@ * * https://minecraftdev.org * - * Copyright (c) 2021 minecraft-dev + * Copyright (c) 2022 minecraft-dev * * MIT License */ @@ -19,11 +19,11 @@ import com.intellij.psi.PsiElementVisitor import com.intellij.psi.PsiNameValuePair abstract class MixinAnnotationAttributeInspection( - private val annotation: List, + private val annotation: String?, private val attribute: String? ) : MixinInspection() { - constructor(annotation: String, attribute: String?) : this(listOf(annotation), attribute) + constructor(attribute: String?) : this(null, attribute) protected abstract fun visitAnnotationAttribute( annotation: PsiAnnotation, @@ -44,7 +44,8 @@ abstract class MixinAnnotationAttributeInspection( } val psiAnnotation = pair.annotationFromNameValuePair ?: return - if (psiAnnotation.qualifiedName !in annotation) { + + if (annotation != null && !psiAnnotation.hasQualifiedName(annotation)) { return } diff --git a/src/main/kotlin/platform/mixin/inspection/MixinAnnotationTargetInspection.kt b/src/main/kotlin/platform/mixin/inspection/MixinAnnotationTargetInspection.kt index 52599294d..fa5a2a2d6 100644 --- a/src/main/kotlin/platform/mixin/inspection/MixinAnnotationTargetInspection.kt +++ b/src/main/kotlin/platform/mixin/inspection/MixinAnnotationTargetInspection.kt @@ -3,7 +3,7 @@ * * https://minecraftdev.org * - * Copyright (c) 2021 minecraft-dev + * Copyright (c) 2022 minecraft-dev * * MIT License */ @@ -34,7 +34,7 @@ class MixinAnnotationTargetInspection : MixinInspection() { var parentAnnotation = annotation.parentOfType() while (parentAnnotation != null) { val parentQName = parentAnnotation.qualifiedName ?: return - if (MixinAnnotationHandler.forMixinAnnotation(parentQName) != null) { + if (MixinAnnotationHandler.forMixinAnnotation(parentQName, parentAnnotation.project) != null) { break } parentAnnotation = parentAnnotation.parentOfType() @@ -43,7 +43,8 @@ class MixinAnnotationTargetInspection : MixinInspection() { return } val parentQName = parentAnnotation.qualifiedName ?: return - val handler = MixinAnnotationHandler.forMixinAnnotation(parentQName) ?: return + val handler = MixinAnnotationHandler.forMixinAnnotation(parentQName, parentAnnotation.project) + ?: return val targets = handler.resolveTarget(parentAnnotation).ifEmpty { return } val failure = targets.asSequence() .mapNotNull { @@ -65,7 +66,7 @@ class MixinAnnotationTargetInspection : MixinInspection() { addProblem(annotation, "Could not resolve @At target", failure) } } else { - val handler = MixinAnnotationHandler.forMixinAnnotation(qName) ?: return + val handler = MixinAnnotationHandler.forMixinAnnotation(qName, annotation.project) ?: return val failure = handler.isUnresolved(annotation) if (failure != null) { val message = handler.createUnresolvedMessage(annotation) ?: return diff --git a/src/main/kotlin/platform/mixin/inspection/MixinAnnotationsInspection.kt b/src/main/kotlin/platform/mixin/inspection/MixinAnnotationsInspection.kt index 5b1a4d1ed..2c6c07e57 100644 --- a/src/main/kotlin/platform/mixin/inspection/MixinAnnotationsInspection.kt +++ b/src/main/kotlin/platform/mixin/inspection/MixinAnnotationsInspection.kt @@ -3,14 +3,14 @@ * * https://minecraftdev.org * - * Copyright (c) 2021 minecraft-dev + * Copyright (c) 2022 minecraft-dev * * MIT License */ package com.demonwav.mcdev.platform.mixin.inspection -import com.demonwav.mcdev.platform.mixin.util.MixinConstants.Annotations.MIXIN_ANNOTATIONS +import com.demonwav.mcdev.platform.mixin.handlers.MixinAnnotationHandler import com.demonwav.mcdev.platform.mixin.util.isMixin import com.demonwav.mcdev.util.findContainingClass import com.intellij.codeInspection.ProblemsHolder @@ -31,7 +31,7 @@ class MixinAnnotationsInspection : MixinInspection() { override fun visitAnnotation(annotation: PsiAnnotation) { val qualifiedName = annotation.qualifiedName ?: return - if (qualifiedName !in MIXIN_ANNOTATIONS) { + if (MixinAnnotationHandler.forMixinAnnotation(qualifiedName, annotation.project) == null) { return } diff --git a/src/main/kotlin/platform/mixin/inspection/MixinCancellableInspection.kt b/src/main/kotlin/platform/mixin/inspection/MixinCancellableInspection.kt index dcb28e167..66be28b1f 100644 --- a/src/main/kotlin/platform/mixin/inspection/MixinCancellableInspection.kt +++ b/src/main/kotlin/platform/mixin/inspection/MixinCancellableInspection.kt @@ -3,7 +3,7 @@ * * https://minecraftdev.org * - * Copyright (c) 2021 minecraft-dev + * Copyright (c) 2022 minecraft-dev * * MIT License */ diff --git a/src/main/kotlin/platform/mixin/inspection/MixinClassReferenceInspection.kt b/src/main/kotlin/platform/mixin/inspection/MixinClassReferenceInspection.kt index 59b27df8d..ebe4f7632 100644 --- a/src/main/kotlin/platform/mixin/inspection/MixinClassReferenceInspection.kt +++ b/src/main/kotlin/platform/mixin/inspection/MixinClassReferenceInspection.kt @@ -3,7 +3,7 @@ * * https://minecraftdev.org * - * Copyright (c) 2021 minecraft-dev + * Copyright (c) 2022 minecraft-dev * * MIT License */ diff --git a/src/main/kotlin/platform/mixin/inspection/MixinInnerClassInspection.kt b/src/main/kotlin/platform/mixin/inspection/MixinInnerClassInspection.kt index af8c53e46..40c1ddb76 100644 --- a/src/main/kotlin/platform/mixin/inspection/MixinInnerClassInspection.kt +++ b/src/main/kotlin/platform/mixin/inspection/MixinInnerClassInspection.kt @@ -3,7 +3,7 @@ * * https://minecraftdev.org * - * Copyright (c) 2021 minecraft-dev + * Copyright (c) 2022 minecraft-dev * * MIT License */ diff --git a/src/main/kotlin/platform/mixin/inspection/MixinInspection.kt b/src/main/kotlin/platform/mixin/inspection/MixinInspection.kt index e4a1e3fe2..849afc61b 100644 --- a/src/main/kotlin/platform/mixin/inspection/MixinInspection.kt +++ b/src/main/kotlin/platform/mixin/inspection/MixinInspection.kt @@ -3,7 +3,7 @@ * * https://minecraftdev.org * - * Copyright (c) 2021 minecraft-dev + * Copyright (c) 2022 minecraft-dev * * MIT License */ diff --git a/src/main/kotlin/platform/mixin/inspection/MixinSuperClassInspection.kt b/src/main/kotlin/platform/mixin/inspection/MixinSuperClassInspection.kt index 641528296..4a49366aa 100644 --- a/src/main/kotlin/platform/mixin/inspection/MixinSuperClassInspection.kt +++ b/src/main/kotlin/platform/mixin/inspection/MixinSuperClassInspection.kt @@ -3,7 +3,7 @@ * * https://minecraftdev.org * - * Copyright (c) 2021 minecraft-dev + * Copyright (c) 2022 minecraft-dev * * MIT License */ diff --git a/src/main/kotlin/platform/mixin/inspection/MixinTargetInspection.kt b/src/main/kotlin/platform/mixin/inspection/MixinTargetInspection.kt index 39438fabe..7129efe72 100644 --- a/src/main/kotlin/platform/mixin/inspection/MixinTargetInspection.kt +++ b/src/main/kotlin/platform/mixin/inspection/MixinTargetInspection.kt @@ -3,7 +3,7 @@ * * https://minecraftdev.org * - * Copyright (c) 2021 minecraft-dev + * Copyright (c) 2022 minecraft-dev * * MIT License */ diff --git a/src/main/kotlin/platform/mixin/inspection/StaticMemberInspection.kt b/src/main/kotlin/platform/mixin/inspection/StaticMemberInspection.kt index 4c4324e0a..f54db40ec 100644 --- a/src/main/kotlin/platform/mixin/inspection/StaticMemberInspection.kt +++ b/src/main/kotlin/platform/mixin/inspection/StaticMemberInspection.kt @@ -3,7 +3,7 @@ * * https://minecraftdev.org * - * Copyright (c) 2021 minecraft-dev + * Copyright (c) 2022 minecraft-dev * * MIT License */ diff --git a/src/main/kotlin/platform/mixin/inspection/UnusedMixinInspection.kt b/src/main/kotlin/platform/mixin/inspection/UnusedMixinInspection.kt index 1410dc644..c3e565274 100644 --- a/src/main/kotlin/platform/mixin/inspection/UnusedMixinInspection.kt +++ b/src/main/kotlin/platform/mixin/inspection/UnusedMixinInspection.kt @@ -3,7 +3,7 @@ * * https://minecraftdev.org * - * Copyright (c) 2021 minecraft-dev + * Copyright (c) 2022 minecraft-dev * * MIT License */ diff --git a/src/main/kotlin/platform/mixin/inspection/implements/DuplicateInterfaceInspection.kt b/src/main/kotlin/platform/mixin/inspection/implements/DuplicateInterfaceInspection.kt index c91535d32..4b672884b 100644 --- a/src/main/kotlin/platform/mixin/inspection/implements/DuplicateInterfaceInspection.kt +++ b/src/main/kotlin/platform/mixin/inspection/implements/DuplicateInterfaceInspection.kt @@ -3,7 +3,7 @@ * * https://minecraftdev.org * - * Copyright (c) 2021 minecraft-dev + * Copyright (c) 2022 minecraft-dev * * MIT License */ diff --git a/src/main/kotlin/platform/mixin/inspection/implements/DuplicateInterfacePrefixInspection.kt b/src/main/kotlin/platform/mixin/inspection/implements/DuplicateInterfacePrefixInspection.kt index 3a8ef76ce..f01d7a3ce 100644 --- a/src/main/kotlin/platform/mixin/inspection/implements/DuplicateInterfacePrefixInspection.kt +++ b/src/main/kotlin/platform/mixin/inspection/implements/DuplicateInterfacePrefixInspection.kt @@ -3,7 +3,7 @@ * * https://minecraftdev.org * - * Copyright (c) 2021 minecraft-dev + * Copyright (c) 2022 minecraft-dev * * MIT License */ diff --git a/src/main/kotlin/platform/mixin/inspection/implements/EmptyImplementsInspection.kt b/src/main/kotlin/platform/mixin/inspection/implements/EmptyImplementsInspection.kt index 6b70109c9..e4d53e1a2 100644 --- a/src/main/kotlin/platform/mixin/inspection/implements/EmptyImplementsInspection.kt +++ b/src/main/kotlin/platform/mixin/inspection/implements/EmptyImplementsInspection.kt @@ -3,7 +3,7 @@ * * https://minecraftdev.org * - * Copyright (c) 2021 minecraft-dev + * Copyright (c) 2022 minecraft-dev * * MIT License */ diff --git a/src/main/kotlin/platform/mixin/inspection/implements/InterfaceIsInterfaceInspection.kt b/src/main/kotlin/platform/mixin/inspection/implements/InterfaceIsInterfaceInspection.kt index 4c6a0802a..9620276f1 100644 --- a/src/main/kotlin/platform/mixin/inspection/implements/InterfaceIsInterfaceInspection.kt +++ b/src/main/kotlin/platform/mixin/inspection/implements/InterfaceIsInterfaceInspection.kt @@ -3,7 +3,7 @@ * * https://minecraftdev.org * - * Copyright (c) 2021 minecraft-dev + * Copyright (c) 2022 minecraft-dev * * MIT License */ diff --git a/src/main/kotlin/platform/mixin/inspection/implements/InterfacePrefixInspection.kt b/src/main/kotlin/platform/mixin/inspection/implements/InterfacePrefixInspection.kt index f7a310336..da86a21ce 100644 --- a/src/main/kotlin/platform/mixin/inspection/implements/InterfacePrefixInspection.kt +++ b/src/main/kotlin/platform/mixin/inspection/implements/InterfacePrefixInspection.kt @@ -3,7 +3,7 @@ * * https://minecraftdev.org * - * Copyright (c) 2021 minecraft-dev + * Copyright (c) 2022 minecraft-dev * * MIT License */ diff --git a/src/main/kotlin/platform/mixin/inspection/implements/SoftImplementOverridesInspection.kt b/src/main/kotlin/platform/mixin/inspection/implements/SoftImplementOverridesInspection.kt index 347c9098e..285c7f2d7 100644 --- a/src/main/kotlin/platform/mixin/inspection/implements/SoftImplementOverridesInspection.kt +++ b/src/main/kotlin/platform/mixin/inspection/implements/SoftImplementOverridesInspection.kt @@ -3,7 +3,7 @@ * * https://minecraftdev.org * - * Copyright (c) 2021 minecraft-dev + * Copyright (c) 2022 minecraft-dev * * MIT License */ diff --git a/src/main/kotlin/platform/mixin/inspection/implements/suppress/SoftImplementInspectionSuppressor.kt b/src/main/kotlin/platform/mixin/inspection/implements/suppress/SoftImplementInspectionSuppressor.kt index a71838dfb..29ee32953 100644 --- a/src/main/kotlin/platform/mixin/inspection/implements/suppress/SoftImplementInspectionSuppressor.kt +++ b/src/main/kotlin/platform/mixin/inspection/implements/suppress/SoftImplementInspectionSuppressor.kt @@ -3,7 +3,7 @@ * * https://minecraftdev.org * - * Copyright (c) 2021 minecraft-dev + * Copyright (c) 2022 minecraft-dev * * MIT License */ diff --git a/src/main/kotlin/platform/mixin/inspection/injector/ImplicitConstructorInvokerInspection.kt b/src/main/kotlin/platform/mixin/inspection/injector/ImplicitConstructorInvokerInspection.kt index 10da0169f..c91ac6863 100644 --- a/src/main/kotlin/platform/mixin/inspection/injector/ImplicitConstructorInvokerInspection.kt +++ b/src/main/kotlin/platform/mixin/inspection/injector/ImplicitConstructorInvokerInspection.kt @@ -3,7 +3,7 @@ * * https://minecraftdev.org * - * Copyright (c) 2021 minecraft-dev + * Copyright (c) 2022 minecraft-dev * * MIT License */ diff --git a/src/main/kotlin/platform/mixin/inspection/injector/InjectIntoConstructorInspection.kt b/src/main/kotlin/platform/mixin/inspection/injector/InjectIntoConstructorInspection.kt index dd5555977..3ad47b900 100644 --- a/src/main/kotlin/platform/mixin/inspection/injector/InjectIntoConstructorInspection.kt +++ b/src/main/kotlin/platform/mixin/inspection/injector/InjectIntoConstructorInspection.kt @@ -3,7 +3,7 @@ * * https://minecraftdev.org * - * Copyright (c) 2021 minecraft-dev + * Copyright (c) 2022 minecraft-dev * * MIT License */ diff --git a/src/main/kotlin/platform/mixin/inspection/injector/InvalidInjectorMethodSignatureInspection.kt b/src/main/kotlin/platform/mixin/inspection/injector/InvalidInjectorMethodSignatureInspection.kt index 90263c7d5..8361dcb8d 100644 --- a/src/main/kotlin/platform/mixin/inspection/injector/InvalidInjectorMethodSignatureInspection.kt +++ b/src/main/kotlin/platform/mixin/inspection/injector/InvalidInjectorMethodSignatureInspection.kt @@ -3,7 +3,7 @@ * * https://minecraftdev.org * - * Copyright (c) 2021 minecraft-dev + * Copyright (c) 2022 minecraft-dev * * MIT License */ @@ -63,7 +63,8 @@ class InvalidInjectorMethodSignatureInspection : MixinInspection() { for (annotation in modifiers.annotations) { val qName = annotation.qualifiedName ?: continue - val handler = MixinAnnotationHandler.forMixinAnnotation(qName) as? InjectorAnnotationHandler ?: continue + val handler = MixinAnnotationHandler.forMixinAnnotation(qName, annotation.project) + as? InjectorAnnotationHandler ?: continue val methodAttribute = annotation.findDeclaredAttributeValue("method") ?: continue val targetMethods = MethodReference.resolveAllIfNotAmbiguous(methodAttribute) ?: continue diff --git a/src/main/kotlin/platform/mixin/inspection/injector/MethodSignature.kt b/src/main/kotlin/platform/mixin/inspection/injector/MethodSignature.kt index 691afdd15..0142b628b 100644 --- a/src/main/kotlin/platform/mixin/inspection/injector/MethodSignature.kt +++ b/src/main/kotlin/platform/mixin/inspection/injector/MethodSignature.kt @@ -3,7 +3,7 @@ * * https://minecraftdev.org * - * Copyright (c) 2021 minecraft-dev + * Copyright (c) 2022 minecraft-dev * * MIT License */ diff --git a/src/main/kotlin/platform/mixin/inspection/injector/ModifyVariableArgsOnlyInspection.kt b/src/main/kotlin/platform/mixin/inspection/injector/ModifyVariableArgsOnlyInspection.kt index 12c6f28a5..4a779ea78 100644 --- a/src/main/kotlin/platform/mixin/inspection/injector/ModifyVariableArgsOnlyInspection.kt +++ b/src/main/kotlin/platform/mixin/inspection/injector/ModifyVariableArgsOnlyInspection.kt @@ -3,7 +3,7 @@ * * https://minecraftdev.org * - * Copyright (c) 2021 minecraft-dev + * Copyright (c) 2022 minecraft-dev * * MIT License */ diff --git a/src/main/kotlin/platform/mixin/inspection/injector/ParameterGroup.kt b/src/main/kotlin/platform/mixin/inspection/injector/ParameterGroup.kt index fd69494a8..2eb6f16e3 100644 --- a/src/main/kotlin/platform/mixin/inspection/injector/ParameterGroup.kt +++ b/src/main/kotlin/platform/mixin/inspection/injector/ParameterGroup.kt @@ -3,7 +3,7 @@ * * https://minecraftdev.org * - * Copyright (c) 2021 minecraft-dev + * Copyright (c) 2022 minecraft-dev * * MIT License */ diff --git a/src/main/kotlin/platform/mixin/inspection/overwrite/OverwriteAuthorInspection.kt b/src/main/kotlin/platform/mixin/inspection/overwrite/OverwriteAuthorInspection.kt index 0e40ef75d..0ec9b1c7f 100644 --- a/src/main/kotlin/platform/mixin/inspection/overwrite/OverwriteAuthorInspection.kt +++ b/src/main/kotlin/platform/mixin/inspection/overwrite/OverwriteAuthorInspection.kt @@ -3,7 +3,7 @@ * * https://minecraftdev.org * - * Copyright (c) 2021 minecraft-dev + * Copyright (c) 2022 minecraft-dev * * MIT License */ diff --git a/src/main/kotlin/platform/mixin/inspection/overwrite/OverwriteInspection.kt b/src/main/kotlin/platform/mixin/inspection/overwrite/OverwriteInspection.kt index 7f4d666e4..a5eb17ac6 100644 --- a/src/main/kotlin/platform/mixin/inspection/overwrite/OverwriteInspection.kt +++ b/src/main/kotlin/platform/mixin/inspection/overwrite/OverwriteInspection.kt @@ -3,7 +3,7 @@ * * https://minecraftdev.org * - * Copyright (c) 2021 minecraft-dev + * Copyright (c) 2022 minecraft-dev * * MIT License */ diff --git a/src/main/kotlin/platform/mixin/inspection/overwrite/OverwriteModifiersInspection.kt b/src/main/kotlin/platform/mixin/inspection/overwrite/OverwriteModifiersInspection.kt index 4170df29f..171154b55 100644 --- a/src/main/kotlin/platform/mixin/inspection/overwrite/OverwriteModifiersInspection.kt +++ b/src/main/kotlin/platform/mixin/inspection/overwrite/OverwriteModifiersInspection.kt @@ -3,7 +3,7 @@ * * https://minecraftdev.org * - * Copyright (c) 2021 minecraft-dev + * Copyright (c) 2022 minecraft-dev * * MIT License */ diff --git a/src/main/kotlin/platform/mixin/inspection/reference/AmbiguousReferenceInspection.kt b/src/main/kotlin/platform/mixin/inspection/reference/AmbiguousReferenceInspection.kt index 15973a3dd..545ac636a 100644 --- a/src/main/kotlin/platform/mixin/inspection/reference/AmbiguousReferenceInspection.kt +++ b/src/main/kotlin/platform/mixin/inspection/reference/AmbiguousReferenceInspection.kt @@ -3,16 +3,17 @@ * * https://minecraftdev.org * - * Copyright (c) 2021 minecraft-dev + * Copyright (c) 2022 minecraft-dev * * MIT License */ package com.demonwav.mcdev.platform.mixin.inspection.reference +import com.demonwav.mcdev.platform.mixin.handlers.InjectorAnnotationHandler +import com.demonwav.mcdev.platform.mixin.handlers.MixinAnnotationHandler import com.demonwav.mcdev.platform.mixin.inspection.MixinAnnotationAttributeInspection import com.demonwav.mcdev.platform.mixin.reference.MethodReference -import com.demonwav.mcdev.platform.mixin.util.MixinConstants.Annotations.METHOD_INJECTORS import com.demonwav.mcdev.util.constantStringValue import com.intellij.codeInspection.LocalQuickFix import com.intellij.codeInspection.ProblemDescriptor @@ -26,7 +27,7 @@ import com.intellij.psi.PsiArrayInitializerMemberValue import com.intellij.psi.PsiBinaryExpression import com.intellij.psi.PsiLiteral -class AmbiguousReferenceInspection : MixinAnnotationAttributeInspection(METHOD_INJECTORS, "method") { +class AmbiguousReferenceInspection : MixinAnnotationAttributeInspection("method") { override fun getStaticDescription() = "Reports ambiguous references in Mixin annotations" @@ -35,6 +36,12 @@ class AmbiguousReferenceInspection : MixinAnnotationAttributeInspection(METHOD_I value: PsiAnnotationMemberValue, holder: ProblemsHolder ) { + val qName = annotation.qualifiedName ?: return + val handler = MixinAnnotationHandler.forMixinAnnotation(qName, annotation.project) + if (handler !is InjectorAnnotationHandler || handler.isSoft) { + return + } + when (value) { is PsiLiteral -> checkMember(value, holder) is PsiArrayInitializerMemberValue -> value.initializers.forEach { checkMember(it, holder) } diff --git a/src/main/kotlin/platform/mixin/inspection/reference/InvalidMemberReferenceInspection.kt b/src/main/kotlin/platform/mixin/inspection/reference/InvalidMemberReferenceInspection.kt index 32b3d838d..43461ac42 100644 --- a/src/main/kotlin/platform/mixin/inspection/reference/InvalidMemberReferenceInspection.kt +++ b/src/main/kotlin/platform/mixin/inspection/reference/InvalidMemberReferenceInspection.kt @@ -3,7 +3,7 @@ * * https://minecraftdev.org * - * Copyright (c) 2021 minecraft-dev + * Copyright (c) 2022 minecraft-dev * * MIT License */ @@ -50,7 +50,7 @@ class InvalidMemberReferenceInspection : MixinInspection() { // Check if valid annotation val qualifiedName = pair.annotationFromNameValuePair?.qualifiedName ?: return - if (!resolver.isValidAnnotation(qualifiedName)) { + if (!resolver.isValidAnnotation(qualifiedName, pair.project)) { return } diff --git a/src/main/kotlin/platform/mixin/inspection/reference/UnnecessaryQualifiedMemberReferenceInspection.kt b/src/main/kotlin/platform/mixin/inspection/reference/UnnecessaryQualifiedMemberReferenceInspection.kt index 3afedafcb..05b6dd48c 100644 --- a/src/main/kotlin/platform/mixin/inspection/reference/UnnecessaryQualifiedMemberReferenceInspection.kt +++ b/src/main/kotlin/platform/mixin/inspection/reference/UnnecessaryQualifiedMemberReferenceInspection.kt @@ -3,17 +3,18 @@ * * https://minecraftdev.org * - * Copyright (c) 2021 minecraft-dev + * Copyright (c) 2022 minecraft-dev * * MIT License */ package com.demonwav.mcdev.platform.mixin.inspection.reference +import com.demonwav.mcdev.platform.mixin.handlers.InjectorAnnotationHandler +import com.demonwav.mcdev.platform.mixin.handlers.MixinAnnotationHandler import com.demonwav.mcdev.platform.mixin.inspection.MixinAnnotationAttributeInspection import com.demonwav.mcdev.platform.mixin.reference.parseMixinSelector import com.demonwav.mcdev.platform.mixin.reference.toMixinString -import com.demonwav.mcdev.platform.mixin.util.MixinConstants.Annotations.METHOD_INJECTORS import com.demonwav.mcdev.util.MemberReference import com.intellij.codeInspection.LocalQuickFix import com.intellij.codeInspection.ProblemDescriptor @@ -25,7 +26,7 @@ import com.intellij.psi.PsiAnnotationMemberValue import com.intellij.psi.PsiArrayInitializerMemberValue import com.intellij.psi.PsiLiteral -class UnnecessaryQualifiedMemberReferenceInspection : MixinAnnotationAttributeInspection(METHOD_INJECTORS, "method") { +class UnnecessaryQualifiedMemberReferenceInspection : MixinAnnotationAttributeInspection("method") { override fun getStaticDescription() = "Reports unnecessary qualified member references in @Inject annotations" @@ -34,6 +35,11 @@ class UnnecessaryQualifiedMemberReferenceInspection : MixinAnnotationAttributeIn value: PsiAnnotationMemberValue, holder: ProblemsHolder ) { + val qName = annotation.qualifiedName ?: return + if (MixinAnnotationHandler.forMixinAnnotation(qName, annotation.project) !is InjectorAnnotationHandler) { + return + } + when (value) { is PsiLiteral -> checkMemberReference(value, holder) is PsiArrayInitializerMemberValue -> value.initializers.forEach { checkMemberReference(it, holder) } diff --git a/src/main/kotlin/platform/mixin/inspection/reference/UnqualifiedMemberReferenceInspection.kt b/src/main/kotlin/platform/mixin/inspection/reference/UnqualifiedMemberReferenceInspection.kt index eb8177119..ad0656e19 100644 --- a/src/main/kotlin/platform/mixin/inspection/reference/UnqualifiedMemberReferenceInspection.kt +++ b/src/main/kotlin/platform/mixin/inspection/reference/UnqualifiedMemberReferenceInspection.kt @@ -3,7 +3,7 @@ * * https://minecraftdev.org * - * Copyright (c) 2021 minecraft-dev + * Copyright (c) 2022 minecraft-dev * * MIT License */ diff --git a/src/main/kotlin/platform/mixin/inspection/reference/UnresolvedReferenceInspection.kt b/src/main/kotlin/platform/mixin/inspection/reference/UnresolvedReferenceInspection.kt index f5b75ba09..f12179fe6 100644 --- a/src/main/kotlin/platform/mixin/inspection/reference/UnresolvedReferenceInspection.kt +++ b/src/main/kotlin/platform/mixin/inspection/reference/UnresolvedReferenceInspection.kt @@ -3,7 +3,7 @@ * * https://minecraftdev.org * - * Copyright (c) 2021 minecraft-dev + * Copyright (c) 2022 minecraft-dev * * MIT License */ @@ -46,7 +46,7 @@ class UnresolvedReferenceInspection : MixinInspection() { // Check if valid annotation val qualifiedName = pair.annotationFromNameValuePair?.qualifiedName ?: return - val resolver = resolvers.firstOrNull { it.isValidAnnotation(qualifiedName) } ?: return + val resolver = resolvers.firstOrNull { it.isValidAnnotation(qualifiedName, pair.project) } ?: return val value = pair.value ?: return if (value is PsiArrayInitializerMemberValue) { diff --git a/src/main/kotlin/platform/mixin/inspection/shadow/ShadowFieldPrefixInspection.kt b/src/main/kotlin/platform/mixin/inspection/shadow/ShadowFieldPrefixInspection.kt index a94ea200e..fb12a757e 100644 --- a/src/main/kotlin/platform/mixin/inspection/shadow/ShadowFieldPrefixInspection.kt +++ b/src/main/kotlin/platform/mixin/inspection/shadow/ShadowFieldPrefixInspection.kt @@ -3,7 +3,7 @@ * * https://minecraftdev.org * - * Copyright (c) 2021 minecraft-dev + * Copyright (c) 2022 minecraft-dev * * MIT License */ diff --git a/src/main/kotlin/platform/mixin/inspection/shadow/ShadowFinalInspection.kt b/src/main/kotlin/platform/mixin/inspection/shadow/ShadowFinalInspection.kt index 49cfd8ebe..c0134a16e 100644 --- a/src/main/kotlin/platform/mixin/inspection/shadow/ShadowFinalInspection.kt +++ b/src/main/kotlin/platform/mixin/inspection/shadow/ShadowFinalInspection.kt @@ -3,7 +3,7 @@ * * https://minecraftdev.org * - * Copyright (c) 2021 minecraft-dev + * Copyright (c) 2022 minecraft-dev * * MIT License */ diff --git a/src/main/kotlin/platform/mixin/inspection/shadow/ShadowModifiersInspection.kt b/src/main/kotlin/platform/mixin/inspection/shadow/ShadowModifiersInspection.kt index 073089d7a..760fecdac 100644 --- a/src/main/kotlin/platform/mixin/inspection/shadow/ShadowModifiersInspection.kt +++ b/src/main/kotlin/platform/mixin/inspection/shadow/ShadowModifiersInspection.kt @@ -3,7 +3,7 @@ * * https://minecraftdev.org * - * Copyright (c) 2021 minecraft-dev + * Copyright (c) 2022 minecraft-dev * * MIT License */ diff --git a/src/main/kotlin/platform/mixin/inspection/shadow/UnusedShadowMethodPrefixInspection.kt b/src/main/kotlin/platform/mixin/inspection/shadow/UnusedShadowMethodPrefixInspection.kt index 847526ddd..5b7daa3e8 100644 --- a/src/main/kotlin/platform/mixin/inspection/shadow/UnusedShadowMethodPrefixInspection.kt +++ b/src/main/kotlin/platform/mixin/inspection/shadow/UnusedShadowMethodPrefixInspection.kt @@ -3,7 +3,7 @@ * * https://minecraftdev.org * - * Copyright (c) 2021 minecraft-dev + * Copyright (c) 2022 minecraft-dev * * MIT License */ diff --git a/src/main/kotlin/platform/mixin/inspection/shadow/suppress/ShadowNullableInspectionSuppressor.kt b/src/main/kotlin/platform/mixin/inspection/shadow/suppress/ShadowNullableInspectionSuppressor.kt index ae7c32ade..f9916cc07 100644 --- a/src/main/kotlin/platform/mixin/inspection/shadow/suppress/ShadowNullableInspectionSuppressor.kt +++ b/src/main/kotlin/platform/mixin/inspection/shadow/suppress/ShadowNullableInspectionSuppressor.kt @@ -3,7 +3,7 @@ * * https://minecraftdev.org * - * Copyright (c) 2021 minecraft-dev + * Copyright (c) 2022 minecraft-dev * * MIT License */ diff --git a/src/main/kotlin/platform/mixin/inspection/suppress/DefaultAnnotationParamInspectionSuppressor.kt b/src/main/kotlin/platform/mixin/inspection/suppress/DefaultAnnotationParamInspectionSuppressor.kt index 350624f59..7bc37b31d 100644 --- a/src/main/kotlin/platform/mixin/inspection/suppress/DefaultAnnotationParamInspectionSuppressor.kt +++ b/src/main/kotlin/platform/mixin/inspection/suppress/DefaultAnnotationParamInspectionSuppressor.kt @@ -3,7 +3,7 @@ * * https://minecraftdev.org * - * Copyright (c) 2021 minecraft-dev + * Copyright (c) 2022 minecraft-dev * * MIT License */ diff --git a/src/main/kotlin/platform/mixin/inspection/suppress/DynamicInspectionSuppressor.kt b/src/main/kotlin/platform/mixin/inspection/suppress/DynamicInspectionSuppressor.kt index eb26fba2f..c66364fd5 100644 --- a/src/main/kotlin/platform/mixin/inspection/suppress/DynamicInspectionSuppressor.kt +++ b/src/main/kotlin/platform/mixin/inspection/suppress/DynamicInspectionSuppressor.kt @@ -3,7 +3,7 @@ * * https://minecraftdev.org * - * Copyright (c) 2021 minecraft-dev + * Copyright (c) 2022 minecraft-dev * * MIT License */ diff --git a/src/main/kotlin/platform/mixin/inspection/suppress/MixinClassCastInspectionSuppressor.kt b/src/main/kotlin/platform/mixin/inspection/suppress/MixinClassCastInspectionSuppressor.kt index 6452698bc..09a0fff44 100644 --- a/src/main/kotlin/platform/mixin/inspection/suppress/MixinClassCastInspectionSuppressor.kt +++ b/src/main/kotlin/platform/mixin/inspection/suppress/MixinClassCastInspectionSuppressor.kt @@ -3,7 +3,7 @@ * * https://minecraftdev.org * - * Copyright (c) 2021 minecraft-dev + * Copyright (c) 2022 minecraft-dev * * MIT License */ diff --git a/src/main/kotlin/platform/mixin/inspection/suppress/ShadowOverwriteInspectionSuppressor.kt b/src/main/kotlin/platform/mixin/inspection/suppress/ShadowOverwriteInspectionSuppressor.kt index 8c5686cfa..aeeabc782 100644 --- a/src/main/kotlin/platform/mixin/inspection/suppress/ShadowOverwriteInspectionSuppressor.kt +++ b/src/main/kotlin/platform/mixin/inspection/suppress/ShadowOverwriteInspectionSuppressor.kt @@ -3,7 +3,7 @@ * * https://minecraftdev.org * - * Copyright (c) 2021 minecraft-dev + * Copyright (c) 2022 minecraft-dev * * MIT License */ diff --git a/src/main/kotlin/platform/mixin/reference/AbstractMethodReference.kt b/src/main/kotlin/platform/mixin/reference/AbstractMethodReference.kt index 8ca1cd52a..cbe6091b8 100644 --- a/src/main/kotlin/platform/mixin/reference/AbstractMethodReference.kt +++ b/src/main/kotlin/platform/mixin/reference/AbstractMethodReference.kt @@ -3,13 +3,14 @@ * * https://minecraftdev.org * - * Copyright (c) 2021 minecraft-dev + * Copyright (c) 2022 minecraft-dev * * MIT License */ package com.demonwav.mcdev.platform.mixin.reference +import com.demonwav.mcdev.platform.mixin.handlers.MixinAnnotationHandler import com.demonwav.mcdev.platform.mixin.reference.target.TargetReference import com.demonwav.mcdev.platform.mixin.util.ClassAndMethodNode import com.demonwav.mcdev.platform.mixin.util.bytecode @@ -29,11 +30,13 @@ import com.demonwav.mcdev.util.toResolveResults import com.demonwav.mcdev.util.toTypedArray import com.intellij.codeInsight.completion.JavaLookupElementBuilder import com.intellij.codeInsight.lookup.LookupElementBuilder +import com.intellij.psi.PsiAnnotation import com.intellij.psi.PsiArrayInitializerMemberValue import com.intellij.psi.PsiElement import com.intellij.psi.PsiLiteral import com.intellij.psi.PsiSubstitutor import com.intellij.psi.ResolveResult +import com.intellij.psi.util.parentOfType import com.intellij.util.ArrayUtil import org.objectweb.asm.tree.ClassNode @@ -59,6 +62,14 @@ abstract class AbstractMethodReference : PolyReferenceResolver(), MixinReference } override fun isUnresolved(context: PsiElement): Boolean { + // check if the annotation handler is soft + val annotationQName = context.parentOfType()?.qualifiedName + if (annotationQName != null && + MixinAnnotationHandler.forMixinAnnotation(annotationQName, context.project)?.isSoft == true + ) { + return false + } + val stringValue = context.constantStringValue ?: return false val targetMethodInfo = parseSelector(stringValue, context) ?: return false val targets = getTargets(context) ?: return false diff --git a/src/main/kotlin/platform/mixin/reference/DescGTDHandler.kt b/src/main/kotlin/platform/mixin/reference/DescGTDHandler.kt index 6000ece86..a526bebf3 100644 --- a/src/main/kotlin/platform/mixin/reference/DescGTDHandler.kt +++ b/src/main/kotlin/platform/mixin/reference/DescGTDHandler.kt @@ -3,7 +3,7 @@ * * https://minecraftdev.org * - * Copyright (c) 2021 minecraft-dev + * Copyright (c) 2022 minecraft-dev * * MIT License */ diff --git a/src/main/kotlin/platform/mixin/reference/DescReference.kt b/src/main/kotlin/platform/mixin/reference/DescReference.kt index 511591e09..e6448c87e 100644 --- a/src/main/kotlin/platform/mixin/reference/DescReference.kt +++ b/src/main/kotlin/platform/mixin/reference/DescReference.kt @@ -3,7 +3,7 @@ * * https://minecraftdev.org * - * Copyright (c) 2021 minecraft-dev + * Copyright (c) 2022 minecraft-dev * * MIT License */ @@ -18,6 +18,7 @@ import com.intellij.codeInsight.lookup.LookupElementBuilder import com.intellij.openapi.application.runWriteAction import com.intellij.openapi.command.CommandProcessor import com.intellij.openapi.editor.Editor +import com.intellij.openapi.project.Project import com.intellij.openapi.util.text.StringUtil import com.intellij.patterns.ElementPattern import com.intellij.patterns.PsiJavaPatterns @@ -42,7 +43,7 @@ object DescReference : AbstractMethodReference() { override val description = "method '%s'" - override fun isValidAnnotation(name: String) = name == DESC + override fun isValidAnnotation(name: String, project: Project) = name == DESC override fun parseSelector(context: PsiElement): DescSelector? { val annotation = context.parentOfType() ?: return null // @Desc diff --git a/src/main/kotlin/platform/mixin/reference/InjectionPointReference.kt b/src/main/kotlin/platform/mixin/reference/InjectionPointReference.kt index 23657a660..029e5ee31 100644 --- a/src/main/kotlin/platform/mixin/reference/InjectionPointReference.kt +++ b/src/main/kotlin/platform/mixin/reference/InjectionPointReference.kt @@ -3,7 +3,7 @@ * * https://minecraftdev.org * - * Copyright (c) 2021 minecraft-dev + * Copyright (c) 2022 minecraft-dev * * MIT License */ @@ -44,7 +44,7 @@ object InjectionPointReference : ReferenceResolver(), MixinReference { override val description: String get() = "injection point type '%s'" - override fun isValidAnnotation(name: String) = name == AT + override fun isValidAnnotation(name: String, project: Project) = name == AT override fun resolveReference(context: PsiElement): PsiElement? { // Remove slice selectors from the injection point type diff --git a/src/main/kotlin/platform/mixin/reference/MethodGTDHandler.kt b/src/main/kotlin/platform/mixin/reference/MethodGTDHandler.kt index 0606abc29..3fc5c8e79 100644 --- a/src/main/kotlin/platform/mixin/reference/MethodGTDHandler.kt +++ b/src/main/kotlin/platform/mixin/reference/MethodGTDHandler.kt @@ -3,7 +3,7 @@ * * https://minecraftdev.org * - * Copyright (c) 2021 minecraft-dev + * Copyright (c) 2022 minecraft-dev * * MIT License */ diff --git a/src/main/kotlin/platform/mixin/reference/MethodReference.kt b/src/main/kotlin/platform/mixin/reference/MethodReference.kt index 00e3db5fd..37153d2b9 100644 --- a/src/main/kotlin/platform/mixin/reference/MethodReference.kt +++ b/src/main/kotlin/platform/mixin/reference/MethodReference.kt @@ -3,31 +3,45 @@ * * https://minecraftdev.org * - * Copyright (c) 2021 minecraft-dev + * Copyright (c) 2022 minecraft-dev * * MIT License */ package com.demonwav.mcdev.platform.mixin.reference -import com.demonwav.mcdev.platform.mixin.util.MixinConstants.Annotations.METHOD_INJECTORS +import com.demonwav.mcdev.platform.mixin.handlers.InjectorAnnotationHandler +import com.demonwav.mcdev.platform.mixin.handlers.MixinAnnotationHandler import com.demonwav.mcdev.util.constantStringValue +import com.demonwav.mcdev.util.insideAnnotationAttribute +import com.intellij.openapi.project.Project import com.intellij.patterns.ElementPattern +import com.intellij.patterns.PatternCondition import com.intellij.patterns.PsiJavaPatterns import com.intellij.patterns.StandardPatterns +import com.intellij.psi.PsiAnnotation import com.intellij.psi.PsiElement import com.intellij.psi.PsiLiteral +import com.intellij.util.ProcessingContext object MethodReference : AbstractMethodReference() { val ELEMENT_PATTERN: ElementPattern = - PsiJavaPatterns.psiLiteral(StandardPatterns.string()).insideAnnotationParam( - StandardPatterns.string().oneOf(METHOD_INJECTORS), + PsiJavaPatterns.psiLiteral(StandardPatterns.string()).insideAnnotationAttribute( + PsiJavaPatterns.psiAnnotation().with( + object : PatternCondition("injector") { + override fun accepts(t: PsiAnnotation, context: ProcessingContext?): Boolean { + val qName = t.qualifiedName ?: return false + return MixinAnnotationHandler.forMixinAnnotation(qName, t.project) is InjectorAnnotationHandler + } + } + ), "method" ) override val description = "method '%s' in target class" - override fun isValidAnnotation(name: String) = name in METHOD_INJECTORS + override fun isValidAnnotation(name: String, project: Project) = + MixinAnnotationHandler.forMixinAnnotation(name, project) is InjectorAnnotationHandler override fun parseSelector(context: PsiElement): MixinSelector? { return parseMixinSelector(context) diff --git a/src/main/kotlin/platform/mixin/reference/MixinReference.kt b/src/main/kotlin/platform/mixin/reference/MixinReference.kt index 0d3d31174..5e0170a7b 100644 --- a/src/main/kotlin/platform/mixin/reference/MixinReference.kt +++ b/src/main/kotlin/platform/mixin/reference/MixinReference.kt @@ -3,13 +3,14 @@ * * https://minecraftdev.org * - * Copyright (c) 2021 minecraft-dev + * Copyright (c) 2022 minecraft-dev * * MIT License */ package com.demonwav.mcdev.platform.mixin.reference +import com.intellij.openapi.project.Project import com.intellij.psi.PsiElement interface MixinReference { @@ -18,5 +19,5 @@ interface MixinReference { fun isUnresolved(context: PsiElement): Boolean - fun isValidAnnotation(name: String): Boolean + fun isValidAnnotation(name: String, project: Project): Boolean } diff --git a/src/main/kotlin/platform/mixin/reference/MixinReferenceContributor.kt b/src/main/kotlin/platform/mixin/reference/MixinReferenceContributor.kt index 6b6ce13de..98dd76b2e 100644 --- a/src/main/kotlin/platform/mixin/reference/MixinReferenceContributor.kt +++ b/src/main/kotlin/platform/mixin/reference/MixinReferenceContributor.kt @@ -3,7 +3,7 @@ * * https://minecraftdev.org * - * Copyright (c) 2021 minecraft-dev + * Copyright (c) 2022 minecraft-dev * * MIT License */ diff --git a/src/main/kotlin/platform/mixin/reference/MixinSelectors.kt b/src/main/kotlin/platform/mixin/reference/MixinSelectors.kt index 498defe18..616c8f7e4 100644 --- a/src/main/kotlin/platform/mixin/reference/MixinSelectors.kt +++ b/src/main/kotlin/platform/mixin/reference/MixinSelectors.kt @@ -3,7 +3,7 @@ * * https://minecraftdev.org * - * Copyright (c) 2021 minecraft-dev + * Copyright (c) 2022 minecraft-dev * * MIT License */ diff --git a/src/main/kotlin/platform/mixin/reference/target/TargetGTDHandler.kt b/src/main/kotlin/platform/mixin/reference/target/TargetGTDHandler.kt index 97f334638..2a8424e64 100644 --- a/src/main/kotlin/platform/mixin/reference/target/TargetGTDHandler.kt +++ b/src/main/kotlin/platform/mixin/reference/target/TargetGTDHandler.kt @@ -3,7 +3,7 @@ * * https://minecraftdev.org * - * Copyright (c) 2021 minecraft-dev + * Copyright (c) 2022 minecraft-dev * * MIT License */ diff --git a/src/main/kotlin/platform/mixin/reference/target/TargetReference.kt b/src/main/kotlin/platform/mixin/reference/target/TargetReference.kt index 39313c9ce..a63fdd097 100644 --- a/src/main/kotlin/platform/mixin/reference/target/TargetReference.kt +++ b/src/main/kotlin/platform/mixin/reference/target/TargetReference.kt @@ -3,7 +3,7 @@ * * https://minecraftdev.org * - * Copyright (c) 2021 minecraft-dev + * Copyright (c) 2022 minecraft-dev * * MIT License */ @@ -21,6 +21,7 @@ import com.demonwav.mcdev.util.ifEmpty import com.demonwav.mcdev.util.insideAnnotationAttribute import com.demonwav.mcdev.util.reference.PolyReferenceResolver import com.demonwav.mcdev.util.reference.completeToLiteral +import com.intellij.openapi.project.Project import com.intellij.patterns.ElementPattern import com.intellij.patterns.PsiJavaPatterns import com.intellij.patterns.StandardPatterns @@ -46,7 +47,7 @@ object TargetReference : PolyReferenceResolver(), MixinReference { override val description: String get() = "target reference '%s'" - override fun isValidAnnotation(name: String) = name == AT + override fun isValidAnnotation(name: String, project: Project) = name == AT fun resolveTarget(context: PsiElement): PsiMember? { val selector = parseMixinSelector(context) ?: return null @@ -57,19 +58,22 @@ object TargetReference : PolyReferenceResolver(), MixinReference { * Null is returned when no parent annotation handler could be found, in which case we shouldn't mark this * reference as unresolved. */ - private fun getTargets(at: PsiAnnotation): List? { + private fun getTargets(at: PsiAnnotation, forUnresolved: Boolean): List? { val (handler, annotation) = generateSequence(at.parent) { it.parent } .filterIsInstance() .mapNotNull { annotation -> val qName = annotation.qualifiedName ?: return@mapNotNull null - MixinAnnotationHandler.forMixinAnnotation(qName)?.let { it to annotation } + MixinAnnotationHandler.forMixinAnnotation(qName, annotation.project)?.let { it to annotation } }.firstOrNull() ?: return null + if (forUnresolved && handler.isSoft) { + return null + } return handler.resolveTarget(annotation).mapNotNull { (it as? MethodTargetMember)?.classAndMethod } } override fun isUnresolved(context: PsiElement): Boolean { val at = context.parentOfType() ?: return true - val targets = getTargets(at)?.ifEmpty { return true } ?: return false + val targets = getTargets(at, true)?.ifEmpty { return true } ?: return false return targets.all { val failure = AtResolver(at, it.clazz, it.method).isUnresolved() // leave it if there is a filter to blame, the target reference was at least resolved @@ -79,7 +83,7 @@ object TargetReference : PolyReferenceResolver(), MixinReference { fun resolveNavigationTargets(context: PsiElement): Array? { val at = context.parentOfType() ?: return null - val targets = getTargets(at) ?: return null + val targets = getTargets(at, false) ?: return null return targets.flatMap { AtResolver(at, it.clazz, it.method).resolveNavigationTargets() }.toTypedArray() } @@ -90,7 +94,7 @@ object TargetReference : PolyReferenceResolver(), MixinReference { override fun collectVariants(context: PsiElement): Array { val at = context.parentOfType() ?: return ArrayUtilRt.EMPTY_OBJECT_ARRAY - val targets = getTargets(at) ?: return ArrayUtilRt.EMPTY_OBJECT_ARRAY + val targets = getTargets(at, false) ?: return ArrayUtilRt.EMPTY_OBJECT_ARRAY return targets.flatMap { target -> AtResolver(at, target.clazz, target.method).collectTargetVariants { builder -> builder.completeToLiteral(context) diff --git a/src/main/kotlin/platform/mixin/search/MixinSoftImplementMethodSuperSearcher.kt b/src/main/kotlin/platform/mixin/search/MixinSoftImplementMethodSuperSearcher.kt index 3e1eb2664..d7e71c338 100644 --- a/src/main/kotlin/platform/mixin/search/MixinSoftImplementMethodSuperSearcher.kt +++ b/src/main/kotlin/platform/mixin/search/MixinSoftImplementMethodSuperSearcher.kt @@ -3,7 +3,7 @@ * * https://minecraftdev.org * - * Copyright (c) 2021 minecraft-dev + * Copyright (c) 2022 minecraft-dev * * MIT License */ diff --git a/src/main/kotlin/platform/mixin/util/AsmDfaUtil.kt b/src/main/kotlin/platform/mixin/util/AsmDfaUtil.kt index dd47b3e32..74025ab1a 100644 --- a/src/main/kotlin/platform/mixin/util/AsmDfaUtil.kt +++ b/src/main/kotlin/platform/mixin/util/AsmDfaUtil.kt @@ -3,7 +3,7 @@ * * https://minecraftdev.org * - * Copyright (c) 2021 minecraft-dev + * Copyright (c) 2022 minecraft-dev * * MIT License */ diff --git a/src/main/kotlin/platform/mixin/util/AsmUtil.kt b/src/main/kotlin/platform/mixin/util/AsmUtil.kt index a14f29a75..89fb2e976 100644 --- a/src/main/kotlin/platform/mixin/util/AsmUtil.kt +++ b/src/main/kotlin/platform/mixin/util/AsmUtil.kt @@ -3,7 +3,7 @@ * * https://minecraftdev.org * - * Copyright (c) 2021 minecraft-dev + * Copyright (c) 2022 minecraft-dev * * MIT License */ diff --git a/src/main/kotlin/platform/mixin/util/Implements.kt b/src/main/kotlin/platform/mixin/util/Implements.kt index d981807b1..cffb26617 100644 --- a/src/main/kotlin/platform/mixin/util/Implements.kt +++ b/src/main/kotlin/platform/mixin/util/Implements.kt @@ -3,7 +3,7 @@ * * https://minecraftdev.org * - * Copyright (c) 2021 minecraft-dev + * Copyright (c) 2022 minecraft-dev * * MIT License */ diff --git a/src/main/kotlin/platform/mixin/util/LocalVariables.kt b/src/main/kotlin/platform/mixin/util/LocalVariables.kt index 8cb918392..349cf81e6 100644 --- a/src/main/kotlin/platform/mixin/util/LocalVariables.kt +++ b/src/main/kotlin/platform/mixin/util/LocalVariables.kt @@ -3,7 +3,7 @@ * * https://minecraftdev.org * - * Copyright (c) 2021 minecraft-dev + * Copyright (c) 2022 minecraft-dev * * MIT License */ diff --git a/src/main/kotlin/platform/mixin/util/Mixin.kt b/src/main/kotlin/platform/mixin/util/Mixin.kt index fcb0797ae..0ae209f86 100644 --- a/src/main/kotlin/platform/mixin/util/Mixin.kt +++ b/src/main/kotlin/platform/mixin/util/Mixin.kt @@ -3,7 +3,7 @@ * * https://minecraftdev.org * - * Copyright (c) 2021 minecraft-dev + * Copyright (c) 2022 minecraft-dev * * MIT License */ diff --git a/src/main/kotlin/platform/mixin/util/MixinConstants.kt b/src/main/kotlin/platform/mixin/util/MixinConstants.kt index 4ce520ba9..600c57c77 100644 --- a/src/main/kotlin/platform/mixin/util/MixinConstants.kt +++ b/src/main/kotlin/platform/mixin/util/MixinConstants.kt @@ -3,7 +3,7 @@ * * https://minecraftdev.org * - * Copyright (c) 2021 minecraft-dev + * Copyright (c) 2022 minecraft-dev * * MIT License */ @@ -37,6 +37,7 @@ object MixinConstants { object Annotations { const val ACCESSOR = "org.spongepowered.asm.mixin.gen.Accessor" + const val ANNOTATION_TYPE = "org.spongepowered.asm.mixin.injection.struct.InjectionInfo.AnnotationType" const val AT = "org.spongepowered.asm.mixin.injection.At" const val AT_CODE = "org.spongepowered.asm.mixin.injection.InjectionPoint.AtCode" const val COERCE = "org.spongepowered.asm.mixin.injection.Coerce" @@ -63,34 +64,5 @@ object MixinConstants { const val MODIFY_VARIABLE = "org.spongepowered.asm.mixin.injection.ModifyVariable" const val REDIRECT = "org.spongepowered.asm.mixin.injection.Redirect" const val SURROGATE = "org.spongepowered.asm.mixin.injection.Surrogate" - - val METHOD_INJECTORS = listOf(INJECT, MODIFY_ARG, MODIFY_ARGS, MODIFY_CONSTANT, MODIFY_VARIABLE, REDIRECT) - val ENTRY_POINTS = - arrayOf(INJECT, MODIFY_ARG, MODIFY_ARGS, MODIFY_CONSTANT, MODIFY_VARIABLE, REDIRECT, SURROGATE, OVERWRITE) - val MIXIN_ANNOTATIONS = setOf( - ACCESSOR, - AT, - DEBUG, - DYNAMIC, - FINAL, - IMPLEMENTS, - INTERFACE, - INTRINSIC, - MIXIN, - MUTABLE, - OVERWRITE, - SHADOW, - SLICE, - SOFT_OVERRIDE, - UNIQUE, - INJECT, - INVOKER, - MODIFY_ARG, - MODIFY_ARGS, - MODIFY_CONSTANT, - MODIFY_VARIABLE, - REDIRECT, - SURROGATE - ) } } diff --git a/src/main/kotlin/platform/mixin/util/SignatureToPsi.kt b/src/main/kotlin/platform/mixin/util/SignatureToPsi.kt index 76a339719..bbeda0d9e 100644 --- a/src/main/kotlin/platform/mixin/util/SignatureToPsi.kt +++ b/src/main/kotlin/platform/mixin/util/SignatureToPsi.kt @@ -3,7 +3,7 @@ * * https://minecraftdev.org * - * Copyright (c) 2021 minecraft-dev + * Copyright (c) 2022 minecraft-dev * * MIT License */ diff --git a/src/main/kotlin/platform/mixin/util/TargetClass.kt b/src/main/kotlin/platform/mixin/util/TargetClass.kt index 371de5908..40469d4d9 100644 --- a/src/main/kotlin/platform/mixin/util/TargetClass.kt +++ b/src/main/kotlin/platform/mixin/util/TargetClass.kt @@ -3,7 +3,7 @@ * * https://minecraftdev.org * - * Copyright (c) 2021 minecraft-dev + * Copyright (c) 2022 minecraft-dev * * MIT License */ diff --git a/src/main/kotlin/platform/sponge/SpongeImportFilter.kt b/src/main/kotlin/platform/sponge/SpongeImportFilter.kt index 4ae1ba226..63c6a2596 100644 --- a/src/main/kotlin/platform/sponge/SpongeImportFilter.kt +++ b/src/main/kotlin/platform/sponge/SpongeImportFilter.kt @@ -3,7 +3,7 @@ * * https://minecraftdev.org * - * Copyright (c) 2021 minecraft-dev + * Copyright (c) 2022 minecraft-dev * * MIT License */ diff --git a/src/main/kotlin/platform/sponge/SpongeModule.kt b/src/main/kotlin/platform/sponge/SpongeModule.kt index bf24022b2..adbc0cad9 100644 --- a/src/main/kotlin/platform/sponge/SpongeModule.kt +++ b/src/main/kotlin/platform/sponge/SpongeModule.kt @@ -3,7 +3,7 @@ * * https://minecraftdev.org * - * Copyright (c) 2021 minecraft-dev + * Copyright (c) 2022 minecraft-dev * * MIT License */ diff --git a/src/main/kotlin/platform/sponge/SpongeModuleType.kt b/src/main/kotlin/platform/sponge/SpongeModuleType.kt index 02f769946..9fff71177 100644 --- a/src/main/kotlin/platform/sponge/SpongeModuleType.kt +++ b/src/main/kotlin/platform/sponge/SpongeModuleType.kt @@ -3,7 +3,7 @@ * * https://minecraftdev.org * - * Copyright (c) 2021 minecraft-dev + * Copyright (c) 2022 minecraft-dev * * MIT License */ diff --git a/src/main/kotlin/platform/sponge/SpongeVersion.kt b/src/main/kotlin/platform/sponge/SpongeVersion.kt index b55bb1eb0..0e9efdd15 100644 --- a/src/main/kotlin/platform/sponge/SpongeVersion.kt +++ b/src/main/kotlin/platform/sponge/SpongeVersion.kt @@ -3,7 +3,7 @@ * * https://minecraftdev.org * - * Copyright (c) 2021 minecraft-dev + * Copyright (c) 2022 minecraft-dev * * MIT License */ diff --git a/src/main/kotlin/platform/sponge/color/SpongeColorAnnotator.kt b/src/main/kotlin/platform/sponge/color/SpongeColorAnnotator.kt index 41c4405a8..1b86079da 100644 --- a/src/main/kotlin/platform/sponge/color/SpongeColorAnnotator.kt +++ b/src/main/kotlin/platform/sponge/color/SpongeColorAnnotator.kt @@ -3,7 +3,7 @@ * * https://minecraftdev.org * - * Copyright (c) 2021 minecraft-dev + * Copyright (c) 2022 minecraft-dev * * MIT License */ diff --git a/src/main/kotlin/platform/sponge/color/SpongeColorLineMarkerProvider.kt b/src/main/kotlin/platform/sponge/color/SpongeColorLineMarkerProvider.kt index 62670ffd5..e42fae8ef 100644 --- a/src/main/kotlin/platform/sponge/color/SpongeColorLineMarkerProvider.kt +++ b/src/main/kotlin/platform/sponge/color/SpongeColorLineMarkerProvider.kt @@ -3,7 +3,7 @@ * * https://minecraftdev.org * - * Copyright (c) 2021 minecraft-dev + * Copyright (c) 2022 minecraft-dev * * MIT License */ diff --git a/src/main/kotlin/platform/sponge/color/SpongeColorUtil.kt b/src/main/kotlin/platform/sponge/color/SpongeColorUtil.kt index 51b128672..1bac55d3a 100644 --- a/src/main/kotlin/platform/sponge/color/SpongeColorUtil.kt +++ b/src/main/kotlin/platform/sponge/color/SpongeColorUtil.kt @@ -3,7 +3,7 @@ * * https://minecraftdev.org * - * Copyright (c) 2021 minecraft-dev + * Copyright (c) 2022 minecraft-dev * * MIT License */ diff --git a/src/main/kotlin/platform/sponge/creator/Sponge8ProjectCreator.kt b/src/main/kotlin/platform/sponge/creator/Sponge8ProjectCreator.kt index 122406872..96925b1f0 100644 --- a/src/main/kotlin/platform/sponge/creator/Sponge8ProjectCreator.kt +++ b/src/main/kotlin/platform/sponge/creator/Sponge8ProjectCreator.kt @@ -3,7 +3,7 @@ * * https://minecraftdev.org * - * Copyright (c) 2021 minecraft-dev + * Copyright (c) 2022 minecraft-dev * * MIT License */ diff --git a/src/main/kotlin/platform/sponge/creator/Sponge8Template.kt b/src/main/kotlin/platform/sponge/creator/Sponge8Template.kt index 95615e701..f8a5fc7a0 100644 --- a/src/main/kotlin/platform/sponge/creator/Sponge8Template.kt +++ b/src/main/kotlin/platform/sponge/creator/Sponge8Template.kt @@ -3,7 +3,7 @@ * * https://minecraftdev.org * - * Copyright (c) 2021 minecraft-dev + * Copyright (c) 2022 minecraft-dev * * MIT License */ diff --git a/src/main/kotlin/platform/sponge/creator/SpongeProjectConfig.kt b/src/main/kotlin/platform/sponge/creator/SpongeProjectConfig.kt index 0b254f8cf..378c99d60 100644 --- a/src/main/kotlin/platform/sponge/creator/SpongeProjectConfig.kt +++ b/src/main/kotlin/platform/sponge/creator/SpongeProjectConfig.kt @@ -3,7 +3,7 @@ * * https://minecraftdev.org * - * Copyright (c) 2021 minecraft-dev + * Copyright (c) 2022 minecraft-dev * * MIT License */ diff --git a/src/main/kotlin/platform/sponge/creator/SpongeProjectCreator.kt b/src/main/kotlin/platform/sponge/creator/SpongeProjectCreator.kt index bc91a914e..f4f7ac25d 100644 --- a/src/main/kotlin/platform/sponge/creator/SpongeProjectCreator.kt +++ b/src/main/kotlin/platform/sponge/creator/SpongeProjectCreator.kt @@ -3,7 +3,7 @@ * * https://minecraftdev.org * - * Copyright (c) 2021 minecraft-dev + * Copyright (c) 2022 minecraft-dev * * MIT License */ diff --git a/src/main/kotlin/platform/sponge/creator/SpongeProjectSettingsWizard.kt b/src/main/kotlin/platform/sponge/creator/SpongeProjectSettingsWizard.kt index 3a7a3f07c..61e8f8c5d 100644 --- a/src/main/kotlin/platform/sponge/creator/SpongeProjectSettingsWizard.kt +++ b/src/main/kotlin/platform/sponge/creator/SpongeProjectSettingsWizard.kt @@ -3,7 +3,7 @@ * * https://minecraftdev.org * - * Copyright (c) 2021 minecraft-dev + * Copyright (c) 2022 minecraft-dev * * MIT License */ diff --git a/src/main/kotlin/platform/sponge/creator/SpongeTemplate.kt b/src/main/kotlin/platform/sponge/creator/SpongeTemplate.kt index eac42d6e3..aea1d3151 100644 --- a/src/main/kotlin/platform/sponge/creator/SpongeTemplate.kt +++ b/src/main/kotlin/platform/sponge/creator/SpongeTemplate.kt @@ -3,7 +3,7 @@ * * https://minecraftdev.org * - * Copyright (c) 2021 minecraft-dev + * Copyright (c) 2022 minecraft-dev * * MIT License */ diff --git a/src/main/kotlin/platform/sponge/framework/SpongeLibraryKind.kt b/src/main/kotlin/platform/sponge/framework/SpongeLibraryKind.kt index 717377bbf..3d7867518 100644 --- a/src/main/kotlin/platform/sponge/framework/SpongeLibraryKind.kt +++ b/src/main/kotlin/platform/sponge/framework/SpongeLibraryKind.kt @@ -3,7 +3,7 @@ * * https://minecraftdev.org * - * Copyright (c) 2021 minecraft-dev + * Copyright (c) 2022 minecraft-dev * * MIT License */ diff --git a/src/main/kotlin/platform/sponge/framework/SpongePresentationProvider.kt b/src/main/kotlin/platform/sponge/framework/SpongePresentationProvider.kt index 73db3ca3c..67611515a 100644 --- a/src/main/kotlin/platform/sponge/framework/SpongePresentationProvider.kt +++ b/src/main/kotlin/platform/sponge/framework/SpongePresentationProvider.kt @@ -3,7 +3,7 @@ * * https://minecraftdev.org * - * Copyright (c) 2021 minecraft-dev + * Copyright (c) 2022 minecraft-dev * * MIT License */ diff --git a/src/main/kotlin/platform/sponge/generation/SpongeEventGenerationPanel.kt b/src/main/kotlin/platform/sponge/generation/SpongeEventGenerationPanel.kt index a6fee623a..133a954d4 100644 --- a/src/main/kotlin/platform/sponge/generation/SpongeEventGenerationPanel.kt +++ b/src/main/kotlin/platform/sponge/generation/SpongeEventGenerationPanel.kt @@ -3,7 +3,7 @@ * * https://minecraftdev.org * - * Copyright (c) 2021 minecraft-dev + * Copyright (c) 2022 minecraft-dev * * MIT License */ diff --git a/src/main/kotlin/platform/sponge/generation/SpongeGenerationData.kt b/src/main/kotlin/platform/sponge/generation/SpongeGenerationData.kt index c15418bc3..264e46c41 100644 --- a/src/main/kotlin/platform/sponge/generation/SpongeGenerationData.kt +++ b/src/main/kotlin/platform/sponge/generation/SpongeGenerationData.kt @@ -3,7 +3,7 @@ * * https://minecraftdev.org * - * Copyright (c) 2021 minecraft-dev + * Copyright (c) 2022 minecraft-dev * * MIT License */ diff --git a/src/main/kotlin/platform/sponge/insight/SpongeImplicitUsageProvider.kt b/src/main/kotlin/platform/sponge/insight/SpongeImplicitUsageProvider.kt index c8a826e09..2a7c1f3d8 100644 --- a/src/main/kotlin/platform/sponge/insight/SpongeImplicitUsageProvider.kt +++ b/src/main/kotlin/platform/sponge/insight/SpongeImplicitUsageProvider.kt @@ -3,7 +3,7 @@ * * https://minecraftdev.org * - * Copyright (c) 2021 minecraft-dev + * Copyright (c) 2022 minecraft-dev * * MIT License */ diff --git a/src/main/kotlin/platform/sponge/inspection/SpongeInjectionInspection.kt b/src/main/kotlin/platform/sponge/inspection/SpongeInjectionInspection.kt index 7a98bc2c0..9f8139f71 100644 --- a/src/main/kotlin/platform/sponge/inspection/SpongeInjectionInspection.kt +++ b/src/main/kotlin/platform/sponge/inspection/SpongeInjectionInspection.kt @@ -3,7 +3,7 @@ * * https://minecraftdev.org * - * Copyright (c) 2021 minecraft-dev + * Copyright (c) 2022 minecraft-dev * * MIT License */ diff --git a/src/main/kotlin/platform/sponge/inspection/SpongeInvalidGetterTargetInspection.kt b/src/main/kotlin/platform/sponge/inspection/SpongeInvalidGetterTargetInspection.kt index 4d277cd43..93f1ca0ff 100644 --- a/src/main/kotlin/platform/sponge/inspection/SpongeInvalidGetterTargetInspection.kt +++ b/src/main/kotlin/platform/sponge/inspection/SpongeInvalidGetterTargetInspection.kt @@ -3,7 +3,7 @@ * * https://minecraftdev.org * - * Copyright (c) 2021 minecraft-dev + * Copyright (c) 2022 minecraft-dev * * MIT License */ diff --git a/src/main/kotlin/platform/sponge/inspection/SpongeLoggingInspection.kt b/src/main/kotlin/platform/sponge/inspection/SpongeLoggingInspection.kt index e4cc0f641..e612d7ee9 100644 --- a/src/main/kotlin/platform/sponge/inspection/SpongeLoggingInspection.kt +++ b/src/main/kotlin/platform/sponge/inspection/SpongeLoggingInspection.kt @@ -3,7 +3,7 @@ * * https://minecraftdev.org * - * Copyright (c) 2021 minecraft-dev + * Copyright (c) 2022 minecraft-dev * * MIT License */ diff --git a/src/main/kotlin/platform/sponge/inspection/SpongePluginClassInspection.kt b/src/main/kotlin/platform/sponge/inspection/SpongePluginClassInspection.kt index 6e92d28f7..b6344c1ae 100644 --- a/src/main/kotlin/platform/sponge/inspection/SpongePluginClassInspection.kt +++ b/src/main/kotlin/platform/sponge/inspection/SpongePluginClassInspection.kt @@ -3,7 +3,7 @@ * * https://minecraftdev.org * - * Copyright (c) 2021 minecraft-dev + * Copyright (c) 2022 minecraft-dev * * MIT License */ diff --git a/src/main/kotlin/platform/sponge/inspection/SpongeWrongGetterTypeInspection.kt b/src/main/kotlin/platform/sponge/inspection/SpongeWrongGetterTypeInspection.kt index 6633a53ce..fb23555a3 100644 --- a/src/main/kotlin/platform/sponge/inspection/SpongeWrongGetterTypeInspection.kt +++ b/src/main/kotlin/platform/sponge/inspection/SpongeWrongGetterTypeInspection.kt @@ -3,7 +3,7 @@ * * https://minecraftdev.org * - * Copyright (c) 2021 minecraft-dev + * Copyright (c) 2022 minecraft-dev * * MIT License */ diff --git a/src/main/kotlin/platform/sponge/inspection/suppress/SpongeGetterParamOptionalInspectionSuppressor.kt b/src/main/kotlin/platform/sponge/inspection/suppress/SpongeGetterParamOptionalInspectionSuppressor.kt index d8c3e2d8a..ca351de90 100644 --- a/src/main/kotlin/platform/sponge/inspection/suppress/SpongeGetterParamOptionalInspectionSuppressor.kt +++ b/src/main/kotlin/platform/sponge/inspection/suppress/SpongeGetterParamOptionalInspectionSuppressor.kt @@ -3,7 +3,7 @@ * * https://minecraftdev.org * - * Copyright (c) 2021 minecraft-dev + * Copyright (c) 2022 minecraft-dev * * MIT License */ diff --git a/src/main/kotlin/platform/sponge/reference/SpongeReferenceContributor.kt b/src/main/kotlin/platform/sponge/reference/SpongeReferenceContributor.kt index 116133f40..f339f1e16 100644 --- a/src/main/kotlin/platform/sponge/reference/SpongeReferenceContributor.kt +++ b/src/main/kotlin/platform/sponge/reference/SpongeReferenceContributor.kt @@ -3,7 +3,7 @@ * * https://minecraftdev.org * - * Copyright (c) 2021 minecraft-dev + * Copyright (c) 2022 minecraft-dev * * MIT License */ diff --git a/src/main/kotlin/platform/sponge/util/Events.kt b/src/main/kotlin/platform/sponge/util/Events.kt index 8f026299b..5c37434bf 100644 --- a/src/main/kotlin/platform/sponge/util/Events.kt +++ b/src/main/kotlin/platform/sponge/util/Events.kt @@ -3,7 +3,7 @@ * * https://minecraftdev.org * - * Copyright (c) 2021 minecraft-dev + * Copyright (c) 2022 minecraft-dev * * MIT License */ diff --git a/src/main/kotlin/platform/sponge/util/SpongeConstants.kt b/src/main/kotlin/platform/sponge/util/SpongeConstants.kt index 1a6860e08..71768199d 100644 --- a/src/main/kotlin/platform/sponge/util/SpongeConstants.kt +++ b/src/main/kotlin/platform/sponge/util/SpongeConstants.kt @@ -3,7 +3,7 @@ * * https://minecraftdev.org * - * Copyright (c) 2021 minecraft-dev + * Copyright (c) 2022 minecraft-dev * * MIT License */ diff --git a/src/main/kotlin/platform/sponge/util/SpongeUtils.kt b/src/main/kotlin/platform/sponge/util/SpongeUtils.kt index c99b43641..d3025985b 100644 --- a/src/main/kotlin/platform/sponge/util/SpongeUtils.kt +++ b/src/main/kotlin/platform/sponge/util/SpongeUtils.kt @@ -3,7 +3,7 @@ * * https://minecraftdev.org * - * Copyright (c) 2021 minecraft-dev + * Copyright (c) 2022 minecraft-dev * * MIT License */ diff --git a/src/main/kotlin/platform/velocity/VelocityModule.kt b/src/main/kotlin/platform/velocity/VelocityModule.kt index 38a5ea586..8ec9cbabf 100644 --- a/src/main/kotlin/platform/velocity/VelocityModule.kt +++ b/src/main/kotlin/platform/velocity/VelocityModule.kt @@ -3,7 +3,7 @@ * * https://minecraftdev.org * - * Copyright (c) 2021 minecraft-dev + * Copyright (c) 2022 minecraft-dev * * MIT License */ diff --git a/src/main/kotlin/platform/velocity/VelocityModuleType.kt b/src/main/kotlin/platform/velocity/VelocityModuleType.kt index ae48e5afb..d721662ce 100644 --- a/src/main/kotlin/platform/velocity/VelocityModuleType.kt +++ b/src/main/kotlin/platform/velocity/VelocityModuleType.kt @@ -3,7 +3,7 @@ * * https://minecraftdev.org * - * Copyright (c) 2021 minecraft-dev + * Copyright (c) 2022 minecraft-dev * * MIT License */ diff --git a/src/main/kotlin/platform/velocity/creator/VelocityProjectConfig.kt b/src/main/kotlin/platform/velocity/creator/VelocityProjectConfig.kt index d4742c795..4ccd47f5c 100644 --- a/src/main/kotlin/platform/velocity/creator/VelocityProjectConfig.kt +++ b/src/main/kotlin/platform/velocity/creator/VelocityProjectConfig.kt @@ -3,7 +3,7 @@ * * https://minecraftdev.org * - * Copyright (c) 2021 minecraft-dev + * Copyright (c) 2022 minecraft-dev * * MIT License */ diff --git a/src/main/kotlin/platform/velocity/creator/VelocityProjectCreator.kt b/src/main/kotlin/platform/velocity/creator/VelocityProjectCreator.kt index efbe745eb..1bd12485f 100644 --- a/src/main/kotlin/platform/velocity/creator/VelocityProjectCreator.kt +++ b/src/main/kotlin/platform/velocity/creator/VelocityProjectCreator.kt @@ -3,7 +3,7 @@ * * https://minecraftdev.org * - * Copyright (c) 2021 minecraft-dev + * Copyright (c) 2022 minecraft-dev * * MIT License */ diff --git a/src/main/kotlin/platform/velocity/creator/VelocityProjectSettingsWizard.kt b/src/main/kotlin/platform/velocity/creator/VelocityProjectSettingsWizard.kt index beb9d7188..c8a53a106 100644 --- a/src/main/kotlin/platform/velocity/creator/VelocityProjectSettingsWizard.kt +++ b/src/main/kotlin/platform/velocity/creator/VelocityProjectSettingsWizard.kt @@ -3,7 +3,7 @@ * * https://minecraftdev.org * - * Copyright (c) 2021 minecraft-dev + * Copyright (c) 2022 minecraft-dev * * MIT License */ diff --git a/src/main/kotlin/platform/velocity/creator/VelocityTemplate.kt b/src/main/kotlin/platform/velocity/creator/VelocityTemplate.kt index dd6841eb5..8a163c4e9 100644 --- a/src/main/kotlin/platform/velocity/creator/VelocityTemplate.kt +++ b/src/main/kotlin/platform/velocity/creator/VelocityTemplate.kt @@ -3,7 +3,7 @@ * * https://minecraftdev.org * - * Copyright (c) 2021 minecraft-dev + * Copyright (c) 2022 minecraft-dev * * MIT License */ diff --git a/src/main/kotlin/platform/velocity/framework/VelocityLibraryKind.kt b/src/main/kotlin/platform/velocity/framework/VelocityLibraryKind.kt index 291e7dac7..c38308d7a 100644 --- a/src/main/kotlin/platform/velocity/framework/VelocityLibraryKind.kt +++ b/src/main/kotlin/platform/velocity/framework/VelocityLibraryKind.kt @@ -3,7 +3,7 @@ * * https://minecraftdev.org * - * Copyright (c) 2021 minecraft-dev + * Copyright (c) 2022 minecraft-dev * * MIT License */ diff --git a/src/main/kotlin/platform/velocity/framework/VelocityPresentationProvider.kt b/src/main/kotlin/platform/velocity/framework/VelocityPresentationProvider.kt index 2b589f98a..0d53918b8 100644 --- a/src/main/kotlin/platform/velocity/framework/VelocityPresentationProvider.kt +++ b/src/main/kotlin/platform/velocity/framework/VelocityPresentationProvider.kt @@ -3,7 +3,7 @@ * * https://minecraftdev.org * - * Copyright (c) 2021 minecraft-dev + * Copyright (c) 2022 minecraft-dev * * MIT License */ diff --git a/src/main/kotlin/platform/velocity/generation/VelocityEventGenerationPanel.kt b/src/main/kotlin/platform/velocity/generation/VelocityEventGenerationPanel.kt index e5affd09a..ad44a7fc8 100644 --- a/src/main/kotlin/platform/velocity/generation/VelocityEventGenerationPanel.kt +++ b/src/main/kotlin/platform/velocity/generation/VelocityEventGenerationPanel.kt @@ -3,7 +3,7 @@ * * https://minecraftdev.org * - * Copyright (c) 2021 minecraft-dev + * Copyright (c) 2022 minecraft-dev * * MIT License */ diff --git a/src/main/kotlin/platform/velocity/generation/VelocityGenerationData.kt b/src/main/kotlin/platform/velocity/generation/VelocityGenerationData.kt index 31e787d3f..e7003a84a 100644 --- a/src/main/kotlin/platform/velocity/generation/VelocityGenerationData.kt +++ b/src/main/kotlin/platform/velocity/generation/VelocityGenerationData.kt @@ -3,7 +3,7 @@ * * https://minecraftdev.org * - * Copyright (c) 2021 minecraft-dev + * Copyright (c) 2022 minecraft-dev * * MIT License */ diff --git a/src/main/kotlin/platform/velocity/util/VelocityConstants.kt b/src/main/kotlin/platform/velocity/util/VelocityConstants.kt index 77a2d5d24..ef88ddb47 100644 --- a/src/main/kotlin/platform/velocity/util/VelocityConstants.kt +++ b/src/main/kotlin/platform/velocity/util/VelocityConstants.kt @@ -3,7 +3,7 @@ * * https://minecraftdev.org * - * Copyright (c) 2021 minecraft-dev + * Copyright (c) 2022 minecraft-dev * * MIT License */ diff --git a/src/main/kotlin/toml/TomlElementVisitor.kt b/src/main/kotlin/toml/TomlElementVisitor.kt index 8ecca0f61..4a7558e3a 100644 --- a/src/main/kotlin/toml/TomlElementVisitor.kt +++ b/src/main/kotlin/toml/TomlElementVisitor.kt @@ -3,7 +3,7 @@ * * https://minecraftdev.org * - * Copyright (c) 2021 minecraft-dev + * Copyright (c) 2022 minecraft-dev * * MIT License */ diff --git a/src/main/kotlin/toml/TomlSchema.kt b/src/main/kotlin/toml/TomlSchema.kt index 1ec0f184d..88adf488d 100644 --- a/src/main/kotlin/toml/TomlSchema.kt +++ b/src/main/kotlin/toml/TomlSchema.kt @@ -3,7 +3,7 @@ * * https://minecraftdev.org * - * Copyright (c) 2021 minecraft-dev + * Copyright (c) 2022 minecraft-dev * * MIT License */ diff --git a/src/main/kotlin/toml/TomlStringValueInsertionHandler.kt b/src/main/kotlin/toml/TomlStringValueInsertionHandler.kt index 0595ac8d9..ba4b74947 100644 --- a/src/main/kotlin/toml/TomlStringValueInsertionHandler.kt +++ b/src/main/kotlin/toml/TomlStringValueInsertionHandler.kt @@ -3,7 +3,7 @@ * * https://minecraftdev.org * - * Copyright (c) 2021 minecraft-dev + * Copyright (c) 2022 minecraft-dev * * MIT License */ diff --git a/src/main/kotlin/toml/platform/forge/ModsTomlDocumentationProvider.kt b/src/main/kotlin/toml/platform/forge/ModsTomlDocumentationProvider.kt index e42846a6c..135976f2b 100644 --- a/src/main/kotlin/toml/platform/forge/ModsTomlDocumentationProvider.kt +++ b/src/main/kotlin/toml/platform/forge/ModsTomlDocumentationProvider.kt @@ -3,7 +3,7 @@ * * https://minecraftdev.org * - * Copyright (c) 2021 minecraft-dev + * Copyright (c) 2022 minecraft-dev * * MIT License */ diff --git a/src/main/kotlin/toml/platform/forge/ModsTomlSchema.kt b/src/main/kotlin/toml/platform/forge/ModsTomlSchema.kt index ce65b4df9..bf1100263 100644 --- a/src/main/kotlin/toml/platform/forge/ModsTomlSchema.kt +++ b/src/main/kotlin/toml/platform/forge/ModsTomlSchema.kt @@ -3,7 +3,7 @@ * * https://minecraftdev.org * - * Copyright (c) 2021 minecraft-dev + * Copyright (c) 2022 minecraft-dev * * MIT License */ diff --git a/src/main/kotlin/toml/platform/forge/completion/ModsTomlCompletionContributor.kt b/src/main/kotlin/toml/platform/forge/completion/ModsTomlCompletionContributor.kt index 053e576db..edf5bfb22 100644 --- a/src/main/kotlin/toml/platform/forge/completion/ModsTomlCompletionContributor.kt +++ b/src/main/kotlin/toml/platform/forge/completion/ModsTomlCompletionContributor.kt @@ -3,7 +3,7 @@ * * https://minecraftdev.org * - * Copyright (c) 2021 minecraft-dev + * Copyright (c) 2022 minecraft-dev * * MIT License */ diff --git a/src/main/kotlin/toml/platform/forge/inspections/ModsTomlValidationInspection.kt b/src/main/kotlin/toml/platform/forge/inspections/ModsTomlValidationInspection.kt index dccef4980..cd16bd529 100644 --- a/src/main/kotlin/toml/platform/forge/inspections/ModsTomlValidationInspection.kt +++ b/src/main/kotlin/toml/platform/forge/inspections/ModsTomlValidationInspection.kt @@ -3,7 +3,7 @@ * * https://minecraftdev.org * - * Copyright (c) 2021 minecraft-dev + * Copyright (c) 2022 minecraft-dev * * MIT License */ diff --git a/src/main/kotlin/toml/platform/forge/reference/ModsTomlReferenceContributor.kt b/src/main/kotlin/toml/platform/forge/reference/ModsTomlReferenceContributor.kt index ff03a5e6d..b20cc768c 100644 --- a/src/main/kotlin/toml/platform/forge/reference/ModsTomlReferenceContributor.kt +++ b/src/main/kotlin/toml/platform/forge/reference/ModsTomlReferenceContributor.kt @@ -3,7 +3,7 @@ * * https://minecraftdev.org * - * Copyright (c) 2021 minecraft-dev + * Copyright (c) 2022 minecraft-dev * * MIT License */ diff --git a/src/main/kotlin/toml/toml-patterns.kt b/src/main/kotlin/toml/toml-patterns.kt index aacf2dbcd..2ec9b90e0 100644 --- a/src/main/kotlin/toml/toml-patterns.kt +++ b/src/main/kotlin/toml/toml-patterns.kt @@ -3,7 +3,7 @@ * * https://minecraftdev.org * - * Copyright (c) 2021 minecraft-dev + * Copyright (c) 2022 minecraft-dev * * MIT License */ diff --git a/src/main/kotlin/toml/toml-psi.kt b/src/main/kotlin/toml/toml-psi.kt index e12d8978d..80130d91b 100644 --- a/src/main/kotlin/toml/toml-psi.kt +++ b/src/main/kotlin/toml/toml-psi.kt @@ -3,7 +3,7 @@ * * https://minecraftdev.org * - * Copyright (c) 2021 minecraft-dev + * Copyright (c) 2022 minecraft-dev * * MIT License */ diff --git a/src/main/kotlin/translations/Translation.kt b/src/main/kotlin/translations/Translation.kt index 134ed62e8..af45a7af7 100644 --- a/src/main/kotlin/translations/Translation.kt +++ b/src/main/kotlin/translations/Translation.kt @@ -3,7 +3,7 @@ * * https://minecraftdev.org * - * Copyright (c) 2021 minecraft-dev + * Copyright (c) 2022 minecraft-dev * * MIT License */ diff --git a/src/main/kotlin/translations/TranslationConstants.kt b/src/main/kotlin/translations/TranslationConstants.kt index ef43582e9..707d06580 100644 --- a/src/main/kotlin/translations/TranslationConstants.kt +++ b/src/main/kotlin/translations/TranslationConstants.kt @@ -3,7 +3,7 @@ * * https://minecraftdev.org * - * Copyright (c) 2021 minecraft-dev + * Copyright (c) 2022 minecraft-dev * * MIT License */ diff --git a/src/main/kotlin/translations/TranslationEditorNotificationProvider.kt b/src/main/kotlin/translations/TranslationEditorNotificationProvider.kt index 1b8609dde..583736d10 100644 --- a/src/main/kotlin/translations/TranslationEditorNotificationProvider.kt +++ b/src/main/kotlin/translations/TranslationEditorNotificationProvider.kt @@ -3,7 +3,7 @@ * * https://minecraftdev.org * - * Copyright (c) 2021 minecraft-dev + * Copyright (c) 2022 minecraft-dev * * MIT License */ diff --git a/src/main/kotlin/translations/TranslationFileListener.kt b/src/main/kotlin/translations/TranslationFileListener.kt index ac15e41d4..1467c1614 100644 --- a/src/main/kotlin/translations/TranslationFileListener.kt +++ b/src/main/kotlin/translations/TranslationFileListener.kt @@ -3,7 +3,7 @@ * * https://minecraftdev.org * - * Copyright (c) 2021 minecraft-dev + * Copyright (c) 2022 minecraft-dev * * MIT License */ diff --git a/src/main/kotlin/translations/TranslationFiles.kt b/src/main/kotlin/translations/TranslationFiles.kt index a7ba62800..5ab5c8e40 100644 --- a/src/main/kotlin/translations/TranslationFiles.kt +++ b/src/main/kotlin/translations/TranslationFiles.kt @@ -3,7 +3,7 @@ * * https://minecraftdev.org * - * Copyright (c) 2021 minecraft-dev + * Copyright (c) 2022 minecraft-dev * * MIT License */ @@ -291,8 +291,8 @@ object TranslationFiles { when { child is LangEntry -> elements.add(Key(Regex.escape(child.key).toRegex())) - child.node.elementType == LangTypes.LINE_ENDING - && child.prevSibling.node.elementType == LangTypes.LINE_ENDING -> + child.node.elementType == LangTypes.LINE_ENDING && + child.prevSibling.node.elementType == LangTypes.LINE_ENDING -> elements.add(EmptyLine) } } diff --git a/src/main/kotlin/translations/actions/ConvertToTranslationAction.kt b/src/main/kotlin/translations/actions/ConvertToTranslationAction.kt index 9b287f1fd..0af588b0e 100644 --- a/src/main/kotlin/translations/actions/ConvertToTranslationAction.kt +++ b/src/main/kotlin/translations/actions/ConvertToTranslationAction.kt @@ -3,7 +3,7 @@ * * https://minecraftdev.org * - * Copyright (c) 2021 minecraft-dev + * Copyright (c) 2022 minecraft-dev * * MIT License */ diff --git a/src/main/kotlin/translations/actions/SortTranslationsAction.kt b/src/main/kotlin/translations/actions/SortTranslationsAction.kt index 2e2143278..3ad707ee6 100644 --- a/src/main/kotlin/translations/actions/SortTranslationsAction.kt +++ b/src/main/kotlin/translations/actions/SortTranslationsAction.kt @@ -3,7 +3,7 @@ * * https://minecraftdev.org * - * Copyright (c) 2021 minecraft-dev + * Copyright (c) 2022 minecraft-dev * * MIT License */ diff --git a/src/main/kotlin/translations/actions/TranslationSortOrderDialog.kt b/src/main/kotlin/translations/actions/TranslationSortOrderDialog.kt index 5f9a5021d..9bbc027d0 100644 --- a/src/main/kotlin/translations/actions/TranslationSortOrderDialog.kt +++ b/src/main/kotlin/translations/actions/TranslationSortOrderDialog.kt @@ -3,7 +3,7 @@ * * https://minecraftdev.org * - * Copyright (c) 2021 minecraft-dev + * Copyright (c) 2022 minecraft-dev * * MIT License */ diff --git a/src/main/kotlin/translations/folding.kt b/src/main/kotlin/translations/folding.kt index ae16963e4..ec1d65c11 100644 --- a/src/main/kotlin/translations/folding.kt +++ b/src/main/kotlin/translations/folding.kt @@ -3,7 +3,7 @@ * * https://minecraftdev.org * - * Copyright (c) 2021 minecraft-dev + * Copyright (c) 2022 minecraft-dev * * MIT License */ diff --git a/src/main/kotlin/translations/identification/LiteralTranslationIdentifier.kt b/src/main/kotlin/translations/identification/LiteralTranslationIdentifier.kt index ad54ddd6f..e090e674d 100644 --- a/src/main/kotlin/translations/identification/LiteralTranslationIdentifier.kt +++ b/src/main/kotlin/translations/identification/LiteralTranslationIdentifier.kt @@ -3,7 +3,7 @@ * * https://minecraftdev.org * - * Copyright (c) 2021 minecraft-dev + * Copyright (c) 2022 minecraft-dev * * MIT License */ diff --git a/src/main/kotlin/translations/identification/ReferenceTranslationIdentifier.kt b/src/main/kotlin/translations/identification/ReferenceTranslationIdentifier.kt index 0ec7102ef..200472137 100644 --- a/src/main/kotlin/translations/identification/ReferenceTranslationIdentifier.kt +++ b/src/main/kotlin/translations/identification/ReferenceTranslationIdentifier.kt @@ -3,7 +3,7 @@ * * https://minecraftdev.org * - * Copyright (c) 2021 minecraft-dev + * Copyright (c) 2022 minecraft-dev * * MIT License */ diff --git a/src/main/kotlin/translations/identification/TranslationFunction.kt b/src/main/kotlin/translations/identification/TranslationFunction.kt index 2265642cc..79eb51959 100644 --- a/src/main/kotlin/translations/identification/TranslationFunction.kt +++ b/src/main/kotlin/translations/identification/TranslationFunction.kt @@ -3,7 +3,7 @@ * * https://minecraftdev.org * - * Copyright (c) 2021 minecraft-dev + * Copyright (c) 2022 minecraft-dev * * MIT License */ diff --git a/src/main/kotlin/translations/identification/TranslationIdentifier.kt b/src/main/kotlin/translations/identification/TranslationIdentifier.kt index eb764d150..caf4f9663 100644 --- a/src/main/kotlin/translations/identification/TranslationIdentifier.kt +++ b/src/main/kotlin/translations/identification/TranslationIdentifier.kt @@ -3,7 +3,7 @@ * * https://minecraftdev.org * - * Copyright (c) 2021 minecraft-dev + * Copyright (c) 2022 minecraft-dev * * MIT License */ diff --git a/src/main/kotlin/translations/identification/TranslationInstance.kt b/src/main/kotlin/translations/identification/TranslationInstance.kt index d0f7a99dd..aa896dc69 100644 --- a/src/main/kotlin/translations/identification/TranslationInstance.kt +++ b/src/main/kotlin/translations/identification/TranslationInstance.kt @@ -3,7 +3,7 @@ * * https://minecraftdev.org * - * Copyright (c) 2021 minecraft-dev + * Copyright (c) 2022 minecraft-dev * * MIT License */ diff --git a/src/main/kotlin/translations/index/TranslationIndex.kt b/src/main/kotlin/translations/index/TranslationIndex.kt index 8983af40b..384a4d346 100644 --- a/src/main/kotlin/translations/index/TranslationIndex.kt +++ b/src/main/kotlin/translations/index/TranslationIndex.kt @@ -3,7 +3,7 @@ * * https://minecraftdev.org * - * Copyright (c) 2021 minecraft-dev + * Copyright (c) 2022 minecraft-dev * * MIT License */ diff --git a/src/main/kotlin/translations/index/TranslationIndexEntry.kt b/src/main/kotlin/translations/index/TranslationIndexEntry.kt index 69ba44914..c66f64ace 100644 --- a/src/main/kotlin/translations/index/TranslationIndexEntry.kt +++ b/src/main/kotlin/translations/index/TranslationIndexEntry.kt @@ -3,7 +3,7 @@ * * https://minecraftdev.org * - * Copyright (c) 2021 minecraft-dev + * Copyright (c) 2022 minecraft-dev * * MIT License */ diff --git a/src/main/kotlin/translations/index/TranslationInputFilter.kt b/src/main/kotlin/translations/index/TranslationInputFilter.kt index f2e3a6b0e..f073f3f83 100644 --- a/src/main/kotlin/translations/index/TranslationInputFilter.kt +++ b/src/main/kotlin/translations/index/TranslationInputFilter.kt @@ -3,7 +3,7 @@ * * https://minecraftdev.org * - * Copyright (c) 2021 minecraft-dev + * Copyright (c) 2022 minecraft-dev * * MIT License */ diff --git a/src/main/kotlin/translations/index/TranslationInverseIndex.kt b/src/main/kotlin/translations/index/TranslationInverseIndex.kt index 1a500469f..3637b691e 100644 --- a/src/main/kotlin/translations/index/TranslationInverseIndex.kt +++ b/src/main/kotlin/translations/index/TranslationInverseIndex.kt @@ -3,7 +3,7 @@ * * https://minecraftdev.org * - * Copyright (c) 2021 minecraft-dev + * Copyright (c) 2022 minecraft-dev * * MIT License */ diff --git a/src/main/kotlin/translations/index/providers.kt b/src/main/kotlin/translations/index/providers.kt index 43dbf1900..7fb550d39 100644 --- a/src/main/kotlin/translations/index/providers.kt +++ b/src/main/kotlin/translations/index/providers.kt @@ -3,7 +3,7 @@ * * https://minecraftdev.org * - * Copyright (c) 2021 minecraft-dev + * Copyright (c) 2022 minecraft-dev * * MIT License */ diff --git a/src/main/kotlin/translations/inspections/ChangeTranslationQuickFix.kt b/src/main/kotlin/translations/inspections/ChangeTranslationQuickFix.kt index 6b5585d2e..95b282e09 100644 --- a/src/main/kotlin/translations/inspections/ChangeTranslationQuickFix.kt +++ b/src/main/kotlin/translations/inspections/ChangeTranslationQuickFix.kt @@ -3,7 +3,7 @@ * * https://minecraftdev.org * - * Copyright (c) 2021 minecraft-dev + * Copyright (c) 2022 minecraft-dev * * MIT License */ diff --git a/src/main/kotlin/translations/inspections/MissingFormatInspection.kt b/src/main/kotlin/translations/inspections/MissingFormatInspection.kt index 405acd661..57286f32d 100644 --- a/src/main/kotlin/translations/inspections/MissingFormatInspection.kt +++ b/src/main/kotlin/translations/inspections/MissingFormatInspection.kt @@ -3,7 +3,7 @@ * * https://minecraftdev.org * - * Copyright (c) 2021 minecraft-dev + * Copyright (c) 2022 minecraft-dev * * MIT License */ diff --git a/src/main/kotlin/translations/inspections/NoTranslationInspection.kt b/src/main/kotlin/translations/inspections/NoTranslationInspection.kt index dbc73ac83..5375c72f5 100644 --- a/src/main/kotlin/translations/inspections/NoTranslationInspection.kt +++ b/src/main/kotlin/translations/inspections/NoTranslationInspection.kt @@ -3,7 +3,7 @@ * * https://minecraftdev.org * - * Copyright (c) 2021 minecraft-dev + * Copyright (c) 2022 minecraft-dev * * MIT License */ diff --git a/src/main/kotlin/translations/inspections/SuperfluousFormatInspection.kt b/src/main/kotlin/translations/inspections/SuperfluousFormatInspection.kt index 2ca687c5e..f6c23187f 100644 --- a/src/main/kotlin/translations/inspections/SuperfluousFormatInspection.kt +++ b/src/main/kotlin/translations/inspections/SuperfluousFormatInspection.kt @@ -3,7 +3,7 @@ * * https://minecraftdev.org * - * Copyright (c) 2021 minecraft-dev + * Copyright (c) 2022 minecraft-dev * * MIT License */ diff --git a/src/main/kotlin/translations/inspections/TranslationInspection.kt b/src/main/kotlin/translations/inspections/TranslationInspection.kt index e0e66d0be..b0ccdefaf 100644 --- a/src/main/kotlin/translations/inspections/TranslationInspection.kt +++ b/src/main/kotlin/translations/inspections/TranslationInspection.kt @@ -3,7 +3,7 @@ * * https://minecraftdev.org * - * Copyright (c) 2021 minecraft-dev + * Copyright (c) 2022 minecraft-dev * * MIT License */ diff --git a/src/main/kotlin/translations/intentions/ConvertToTranslationIntention.kt b/src/main/kotlin/translations/intentions/ConvertToTranslationIntention.kt index 3e077cb76..dd997a77d 100644 --- a/src/main/kotlin/translations/intentions/ConvertToTranslationIntention.kt +++ b/src/main/kotlin/translations/intentions/ConvertToTranslationIntention.kt @@ -3,7 +3,7 @@ * * https://minecraftdev.org * - * Copyright (c) 2021 minecraft-dev + * Copyright (c) 2022 minecraft-dev * * MIT License */ diff --git a/src/main/kotlin/translations/intentions/RemoveDuplicatesIntention.kt b/src/main/kotlin/translations/intentions/RemoveDuplicatesIntention.kt index df91b4353..f0cebddff 100644 --- a/src/main/kotlin/translations/intentions/RemoveDuplicatesIntention.kt +++ b/src/main/kotlin/translations/intentions/RemoveDuplicatesIntention.kt @@ -3,7 +3,7 @@ * * https://minecraftdev.org * - * Copyright (c) 2021 minecraft-dev + * Copyright (c) 2022 minecraft-dev * * MIT License */ diff --git a/src/main/kotlin/translations/intentions/RemoveUnmatchedEntryIntention.kt b/src/main/kotlin/translations/intentions/RemoveUnmatchedEntryIntention.kt index 85f598144..6ec8aaa82 100644 --- a/src/main/kotlin/translations/intentions/RemoveUnmatchedEntryIntention.kt +++ b/src/main/kotlin/translations/intentions/RemoveUnmatchedEntryIntention.kt @@ -3,7 +3,7 @@ * * https://minecraftdev.org * - * Copyright (c) 2021 minecraft-dev + * Copyright (c) 2022 minecraft-dev * * MIT License */ diff --git a/src/main/kotlin/translations/intentions/TranslationFileAnnotator.kt b/src/main/kotlin/translations/intentions/TranslationFileAnnotator.kt index 54fff6e66..ec09cb198 100644 --- a/src/main/kotlin/translations/intentions/TranslationFileAnnotator.kt +++ b/src/main/kotlin/translations/intentions/TranslationFileAnnotator.kt @@ -3,7 +3,7 @@ * * https://minecraftdev.org * - * Copyright (c) 2021 minecraft-dev + * Copyright (c) 2022 minecraft-dev * * MIT License */ diff --git a/src/main/kotlin/translations/intentions/TrimKeyIntention.kt b/src/main/kotlin/translations/intentions/TrimKeyIntention.kt index aa2397ca6..b8c4fbbff 100644 --- a/src/main/kotlin/translations/intentions/TrimKeyIntention.kt +++ b/src/main/kotlin/translations/intentions/TrimKeyIntention.kt @@ -3,7 +3,7 @@ * * https://minecraftdev.org * - * Copyright (c) 2021 minecraft-dev + * Copyright (c) 2022 minecraft-dev * * MIT License */ diff --git a/src/main/kotlin/translations/lang/LangCommenter.kt b/src/main/kotlin/translations/lang/LangCommenter.kt index 9fb8a261c..d351c5a42 100644 --- a/src/main/kotlin/translations/lang/LangCommenter.kt +++ b/src/main/kotlin/translations/lang/LangCommenter.kt @@ -3,7 +3,7 @@ * * https://minecraftdev.org * - * Copyright (c) 2021 minecraft-dev + * Copyright (c) 2022 minecraft-dev * * MIT License */ diff --git a/src/main/kotlin/translations/lang/LangFile.kt b/src/main/kotlin/translations/lang/LangFile.kt index d74b2b044..ef83f0473 100644 --- a/src/main/kotlin/translations/lang/LangFile.kt +++ b/src/main/kotlin/translations/lang/LangFile.kt @@ -3,7 +3,7 @@ * * https://minecraftdev.org * - * Copyright (c) 2021 minecraft-dev + * Copyright (c) 2022 minecraft-dev * * MIT License */ diff --git a/src/main/kotlin/translations/lang/LangFileType.kt b/src/main/kotlin/translations/lang/LangFileType.kt index 69ca4df3a..3b51fb1c7 100644 --- a/src/main/kotlin/translations/lang/LangFileType.kt +++ b/src/main/kotlin/translations/lang/LangFileType.kt @@ -3,7 +3,7 @@ * * https://minecraftdev.org * - * Copyright (c) 2021 minecraft-dev + * Copyright (c) 2022 minecraft-dev * * MIT License */ diff --git a/src/main/kotlin/translations/lang/LangLexerAdapter.kt b/src/main/kotlin/translations/lang/LangLexerAdapter.kt index 56d7fd74c..6d2fb94d7 100644 --- a/src/main/kotlin/translations/lang/LangLexerAdapter.kt +++ b/src/main/kotlin/translations/lang/LangLexerAdapter.kt @@ -3,7 +3,7 @@ * * https://minecraftdev.org * - * Copyright (c) 2021 minecraft-dev + * Copyright (c) 2022 minecraft-dev * * MIT License */ diff --git a/src/main/kotlin/translations/lang/LangParserDefinition.kt b/src/main/kotlin/translations/lang/LangParserDefinition.kt index 3c909a42b..5f1c5b41f 100644 --- a/src/main/kotlin/translations/lang/LangParserDefinition.kt +++ b/src/main/kotlin/translations/lang/LangParserDefinition.kt @@ -3,7 +3,7 @@ * * https://minecraftdev.org * - * Copyright (c) 2021 minecraft-dev + * Copyright (c) 2022 minecraft-dev * * MIT License */ diff --git a/src/main/kotlin/translations/lang/LangRenameInputValidator.kt b/src/main/kotlin/translations/lang/LangRenameInputValidator.kt index 4f3856165..525bd5912 100644 --- a/src/main/kotlin/translations/lang/LangRenameInputValidator.kt +++ b/src/main/kotlin/translations/lang/LangRenameInputValidator.kt @@ -3,7 +3,7 @@ * * https://minecraftdev.org * - * Copyright (c) 2021 minecraft-dev + * Copyright (c) 2022 minecraft-dev * * MIT License */ diff --git a/src/main/kotlin/translations/lang/LangTypedHandlerDelegate.kt b/src/main/kotlin/translations/lang/LangTypedHandlerDelegate.kt index bbce1d8b2..a3878bbf3 100644 --- a/src/main/kotlin/translations/lang/LangTypedHandlerDelegate.kt +++ b/src/main/kotlin/translations/lang/LangTypedHandlerDelegate.kt @@ -3,7 +3,7 @@ * * https://minecraftdev.org * - * Copyright (c) 2021 minecraft-dev + * Copyright (c) 2022 minecraft-dev * * MIT License */ diff --git a/src/main/kotlin/translations/lang/MCLangLanguage.kt b/src/main/kotlin/translations/lang/MCLangLanguage.kt index f670a3cb5..98e55d096 100644 --- a/src/main/kotlin/translations/lang/MCLangLanguage.kt +++ b/src/main/kotlin/translations/lang/MCLangLanguage.kt @@ -3,7 +3,7 @@ * * https://minecraftdev.org * - * Copyright (c) 2021 minecraft-dev + * Copyright (c) 2022 minecraft-dev * * MIT License */ diff --git a/src/main/kotlin/translations/lang/colors/LangColorSettingsPage.kt b/src/main/kotlin/translations/lang/colors/LangColorSettingsPage.kt index 752882ff5..99deb3add 100644 --- a/src/main/kotlin/translations/lang/colors/LangColorSettingsPage.kt +++ b/src/main/kotlin/translations/lang/colors/LangColorSettingsPage.kt @@ -3,7 +3,7 @@ * * https://minecraftdev.org * - * Copyright (c) 2021 minecraft-dev + * Copyright (c) 2022 minecraft-dev * * MIT License */ diff --git a/src/main/kotlin/translations/lang/colors/LangSyntaxHighlighter.kt b/src/main/kotlin/translations/lang/colors/LangSyntaxHighlighter.kt index 9e859d1a3..40164b9c7 100644 --- a/src/main/kotlin/translations/lang/colors/LangSyntaxHighlighter.kt +++ b/src/main/kotlin/translations/lang/colors/LangSyntaxHighlighter.kt @@ -3,7 +3,7 @@ * * https://minecraftdev.org * - * Copyright (c) 2021 minecraft-dev + * Copyright (c) 2022 minecraft-dev * * MIT License */ diff --git a/src/main/kotlin/translations/lang/colors/LangSyntaxHighlighterFactory.kt b/src/main/kotlin/translations/lang/colors/LangSyntaxHighlighterFactory.kt index 20c43d5b1..8c582336b 100644 --- a/src/main/kotlin/translations/lang/colors/LangSyntaxHighlighterFactory.kt +++ b/src/main/kotlin/translations/lang/colors/LangSyntaxHighlighterFactory.kt @@ -3,7 +3,7 @@ * * https://minecraftdev.org * - * Copyright (c) 2021 minecraft-dev + * Copyright (c) 2022 minecraft-dev * * MIT License */ diff --git a/src/main/kotlin/translations/lang/formatting/LangBlock.kt b/src/main/kotlin/translations/lang/formatting/LangBlock.kt index 508531851..9f1013d8a 100644 --- a/src/main/kotlin/translations/lang/formatting/LangBlock.kt +++ b/src/main/kotlin/translations/lang/formatting/LangBlock.kt @@ -3,7 +3,7 @@ * * https://minecraftdev.org * - * Copyright (c) 2021 minecraft-dev + * Copyright (c) 2022 minecraft-dev * * MIT License */ diff --git a/src/main/kotlin/translations/lang/formatting/LangFormattingModelBuilder.kt b/src/main/kotlin/translations/lang/formatting/LangFormattingModelBuilder.kt index f8b992f3d..a26126026 100644 --- a/src/main/kotlin/translations/lang/formatting/LangFormattingModelBuilder.kt +++ b/src/main/kotlin/translations/lang/formatting/LangFormattingModelBuilder.kt @@ -3,7 +3,7 @@ * * https://minecraftdev.org * - * Copyright (c) 2021 minecraft-dev + * Copyright (c) 2022 minecraft-dev * * MIT License */ diff --git a/src/main/kotlin/translations/lang/psi/LangElementType.kt b/src/main/kotlin/translations/lang/psi/LangElementType.kt index 0aea600e2..0a772db05 100644 --- a/src/main/kotlin/translations/lang/psi/LangElementType.kt +++ b/src/main/kotlin/translations/lang/psi/LangElementType.kt @@ -3,7 +3,7 @@ * * https://minecraftdev.org * - * Copyright (c) 2021 minecraft-dev + * Copyright (c) 2022 minecraft-dev * * MIT License */ diff --git a/src/main/kotlin/translations/lang/psi/LangTokenType.kt b/src/main/kotlin/translations/lang/psi/LangTokenType.kt index 37249d7fb..977419046 100644 --- a/src/main/kotlin/translations/lang/psi/LangTokenType.kt +++ b/src/main/kotlin/translations/lang/psi/LangTokenType.kt @@ -3,7 +3,7 @@ * * https://minecraftdev.org * - * Copyright (c) 2021 minecraft-dev + * Copyright (c) 2022 minecraft-dev * * MIT License */ diff --git a/src/main/kotlin/translations/lang/psi/mixins/LangEntryImplMixin.kt b/src/main/kotlin/translations/lang/psi/mixins/LangEntryImplMixin.kt index 4fb4ae13c..9ee830583 100644 --- a/src/main/kotlin/translations/lang/psi/mixins/LangEntryImplMixin.kt +++ b/src/main/kotlin/translations/lang/psi/mixins/LangEntryImplMixin.kt @@ -3,7 +3,7 @@ * * https://minecraftdev.org * - * Copyright (c) 2021 minecraft-dev + * Copyright (c) 2022 minecraft-dev * * MIT License */ diff --git a/src/main/kotlin/translations/lang/psi/mixins/LangEntryMixin.kt b/src/main/kotlin/translations/lang/psi/mixins/LangEntryMixin.kt index 9d6fc0bee..0b63e1cda 100644 --- a/src/main/kotlin/translations/lang/psi/mixins/LangEntryMixin.kt +++ b/src/main/kotlin/translations/lang/psi/mixins/LangEntryMixin.kt @@ -3,7 +3,7 @@ * * https://minecraftdev.org * - * Copyright (c) 2021 minecraft-dev + * Copyright (c) 2022 minecraft-dev * * MIT License */ diff --git a/src/main/kotlin/translations/lang/spellcheck/LangCommentTokenizer.kt b/src/main/kotlin/translations/lang/spellcheck/LangCommentTokenizer.kt index 4d144baa4..6d07e4c9f 100644 --- a/src/main/kotlin/translations/lang/spellcheck/LangCommentTokenizer.kt +++ b/src/main/kotlin/translations/lang/spellcheck/LangCommentTokenizer.kt @@ -3,7 +3,7 @@ * * https://minecraftdev.org * - * Copyright (c) 2021 minecraft-dev + * Copyright (c) 2022 minecraft-dev * * MIT License */ diff --git a/src/main/kotlin/translations/lang/spellcheck/LangKeySplitter.kt b/src/main/kotlin/translations/lang/spellcheck/LangKeySplitter.kt index b1cd9f2a8..fa97c8296 100644 --- a/src/main/kotlin/translations/lang/spellcheck/LangKeySplitter.kt +++ b/src/main/kotlin/translations/lang/spellcheck/LangKeySplitter.kt @@ -3,7 +3,7 @@ * * https://minecraftdev.org * - * Copyright (c) 2021 minecraft-dev + * Copyright (c) 2022 minecraft-dev * * MIT License */ diff --git a/src/main/kotlin/translations/lang/spellcheck/LangSpellcheckingStrategy.kt b/src/main/kotlin/translations/lang/spellcheck/LangSpellcheckingStrategy.kt index 9d0010e4c..77d7310cf 100644 --- a/src/main/kotlin/translations/lang/spellcheck/LangSpellcheckingStrategy.kt +++ b/src/main/kotlin/translations/lang/spellcheck/LangSpellcheckingStrategy.kt @@ -3,7 +3,7 @@ * * https://minecraftdev.org * - * Copyright (c) 2021 minecraft-dev + * Copyright (c) 2022 minecraft-dev * * MIT License */ diff --git a/src/main/kotlin/translations/lang/structure/LangStructureViewElement.kt b/src/main/kotlin/translations/lang/structure/LangStructureViewElement.kt index 14bac0aa1..101d45798 100644 --- a/src/main/kotlin/translations/lang/structure/LangStructureViewElement.kt +++ b/src/main/kotlin/translations/lang/structure/LangStructureViewElement.kt @@ -3,7 +3,7 @@ * * https://minecraftdev.org * - * Copyright (c) 2021 minecraft-dev + * Copyright (c) 2022 minecraft-dev * * MIT License */ diff --git a/src/main/kotlin/translations/lang/structure/LangStructureViewFactory.kt b/src/main/kotlin/translations/lang/structure/LangStructureViewFactory.kt index c3349ade3..81d3febc0 100644 --- a/src/main/kotlin/translations/lang/structure/LangStructureViewFactory.kt +++ b/src/main/kotlin/translations/lang/structure/LangStructureViewFactory.kt @@ -3,7 +3,7 @@ * * https://minecraftdev.org * - * Copyright (c) 2021 minecraft-dev + * Copyright (c) 2022 minecraft-dev * * MIT License */ diff --git a/src/main/kotlin/translations/lang/structure/LangStructureViewModel.kt b/src/main/kotlin/translations/lang/structure/LangStructureViewModel.kt index e40ec5efe..1005315cb 100644 --- a/src/main/kotlin/translations/lang/structure/LangStructureViewModel.kt +++ b/src/main/kotlin/translations/lang/structure/LangStructureViewModel.kt @@ -3,7 +3,7 @@ * * https://minecraftdev.org * - * Copyright (c) 2021 minecraft-dev + * Copyright (c) 2022 minecraft-dev * * MIT License */ diff --git a/src/main/kotlin/translations/reference/TranslationDescriptionProvider.kt b/src/main/kotlin/translations/reference/TranslationDescriptionProvider.kt index e55db69cc..f70209c2f 100644 --- a/src/main/kotlin/translations/reference/TranslationDescriptionProvider.kt +++ b/src/main/kotlin/translations/reference/TranslationDescriptionProvider.kt @@ -3,7 +3,7 @@ * * https://minecraftdev.org * - * Copyright (c) 2021 minecraft-dev + * Copyright (c) 2022 minecraft-dev * * MIT License */ diff --git a/src/main/kotlin/translations/reference/TranslationGotoModel.kt b/src/main/kotlin/translations/reference/TranslationGotoModel.kt index 314c63e8a..55e5493c1 100644 --- a/src/main/kotlin/translations/reference/TranslationGotoModel.kt +++ b/src/main/kotlin/translations/reference/TranslationGotoModel.kt @@ -3,7 +3,7 @@ * * https://minecraftdev.org * - * Copyright (c) 2021 minecraft-dev + * Copyright (c) 2022 minecraft-dev * * MIT License */ diff --git a/src/main/kotlin/translations/reference/TranslationGotoSymbolContributor.kt b/src/main/kotlin/translations/reference/TranslationGotoSymbolContributor.kt index c17ef862b..38b48ffc7 100644 --- a/src/main/kotlin/translations/reference/TranslationGotoSymbolContributor.kt +++ b/src/main/kotlin/translations/reference/TranslationGotoSymbolContributor.kt @@ -3,7 +3,7 @@ * * https://minecraftdev.org * - * Copyright (c) 2021 minecraft-dev + * Copyright (c) 2022 minecraft-dev * * MIT License */ diff --git a/src/main/kotlin/translations/reference/TranslationReference.kt b/src/main/kotlin/translations/reference/TranslationReference.kt index d49d755c2..14d02712c 100644 --- a/src/main/kotlin/translations/reference/TranslationReference.kt +++ b/src/main/kotlin/translations/reference/TranslationReference.kt @@ -3,7 +3,7 @@ * * https://minecraftdev.org * - * Copyright (c) 2021 minecraft-dev + * Copyright (c) 2022 minecraft-dev * * MIT License */ diff --git a/src/main/kotlin/translations/reference/TranslationReferenceCompletionConfidence.kt b/src/main/kotlin/translations/reference/TranslationReferenceCompletionConfidence.kt index b6aea63a9..01c092c34 100644 --- a/src/main/kotlin/translations/reference/TranslationReferenceCompletionConfidence.kt +++ b/src/main/kotlin/translations/reference/TranslationReferenceCompletionConfidence.kt @@ -3,7 +3,7 @@ * * https://minecraftdev.org * - * Copyright (c) 2021 minecraft-dev + * Copyright (c) 2022 minecraft-dev * * MIT License */ diff --git a/src/main/kotlin/translations/reference/TranslationReferenceSearch.kt b/src/main/kotlin/translations/reference/TranslationReferenceSearch.kt index ec2f74fa6..ac883ca0c 100644 --- a/src/main/kotlin/translations/reference/TranslationReferenceSearch.kt +++ b/src/main/kotlin/translations/reference/TranslationReferenceSearch.kt @@ -3,7 +3,7 @@ * * https://minecraftdev.org * - * Copyright (c) 2021 minecraft-dev + * Copyright (c) 2022 minecraft-dev * * MIT License */ diff --git a/src/main/kotlin/translations/reference/completion.kt b/src/main/kotlin/translations/reference/completion.kt index 80aba0457..029c67aca 100644 --- a/src/main/kotlin/translations/reference/completion.kt +++ b/src/main/kotlin/translations/reference/completion.kt @@ -3,7 +3,7 @@ * * https://minecraftdev.org * - * Copyright (c) 2021 minecraft-dev + * Copyright (c) 2022 minecraft-dev * * MIT License */ diff --git a/src/main/kotlin/translations/reference/contributors.kt b/src/main/kotlin/translations/reference/contributors.kt index a478c82c5..2f5668a3c 100644 --- a/src/main/kotlin/translations/reference/contributors.kt +++ b/src/main/kotlin/translations/reference/contributors.kt @@ -3,7 +3,7 @@ * * https://minecraftdev.org * - * Copyright (c) 2021 minecraft-dev + * Copyright (c) 2022 minecraft-dev * * MIT License */ diff --git a/src/main/kotlin/translations/reference/usages.kt b/src/main/kotlin/translations/reference/usages.kt index b8c3c0fc1..83e9a23a4 100644 --- a/src/main/kotlin/translations/reference/usages.kt +++ b/src/main/kotlin/translations/reference/usages.kt @@ -3,7 +3,7 @@ * * https://minecraftdev.org * - * Copyright (c) 2021 minecraft-dev + * Copyright (c) 2022 minecraft-dev * * MIT License */ diff --git a/src/main/kotlin/translations/sorting/Ordering.kt b/src/main/kotlin/translations/sorting/Ordering.kt index a3295bf9a..4a98dd588 100644 --- a/src/main/kotlin/translations/sorting/Ordering.kt +++ b/src/main/kotlin/translations/sorting/Ordering.kt @@ -3,7 +3,7 @@ * * https://minecraftdev.org * - * Copyright (c) 2021 minecraft-dev + * Copyright (c) 2022 minecraft-dev * * MIT License */ diff --git a/src/main/kotlin/translations/sorting/TranslationSorter.kt b/src/main/kotlin/translations/sorting/TranslationSorter.kt index dfa49a76b..6e7595121 100644 --- a/src/main/kotlin/translations/sorting/TranslationSorter.kt +++ b/src/main/kotlin/translations/sorting/TranslationSorter.kt @@ -3,7 +3,7 @@ * * https://minecraftdev.org * - * Copyright (c) 2021 minecraft-dev + * Copyright (c) 2022 minecraft-dev * * MIT License */ diff --git a/src/main/kotlin/translations/sorting/TranslationTemplateConfigurable.kt b/src/main/kotlin/translations/sorting/TranslationTemplateConfigurable.kt index 519f60f54..e38a8ab81 100644 --- a/src/main/kotlin/translations/sorting/TranslationTemplateConfigurable.kt +++ b/src/main/kotlin/translations/sorting/TranslationTemplateConfigurable.kt @@ -3,7 +3,7 @@ * * https://minecraftdev.org * - * Copyright (c) 2021 minecraft-dev + * Copyright (c) 2022 minecraft-dev * * MIT License */ diff --git a/src/main/kotlin/translations/sorting/TranslationTemplateLexerAdapter.kt b/src/main/kotlin/translations/sorting/TranslationTemplateLexerAdapter.kt index 268cf2751..609ca960b 100644 --- a/src/main/kotlin/translations/sorting/TranslationTemplateLexerAdapter.kt +++ b/src/main/kotlin/translations/sorting/TranslationTemplateLexerAdapter.kt @@ -3,7 +3,7 @@ * * https://minecraftdev.org * - * Copyright (c) 2021 minecraft-dev + * Copyright (c) 2022 minecraft-dev * * MIT License */ diff --git a/src/main/kotlin/translations/sorting/template.kt b/src/main/kotlin/translations/sorting/template.kt index e289a54de..5e441c2eb 100644 --- a/src/main/kotlin/translations/sorting/template.kt +++ b/src/main/kotlin/translations/sorting/template.kt @@ -3,7 +3,7 @@ * * https://minecraftdev.org * - * Copyright (c) 2021 minecraft-dev + * Copyright (c) 2022 minecraft-dev * * MIT License */ diff --git a/src/main/kotlin/update/Channels.kt b/src/main/kotlin/update/Channels.kt index 619f80b8a..1a041c4f7 100644 --- a/src/main/kotlin/update/Channels.kt +++ b/src/main/kotlin/update/Channels.kt @@ -3,7 +3,7 @@ * * https://minecraftdev.org * - * Copyright (c) 2021 minecraft-dev + * Copyright (c) 2022 minecraft-dev * * MIT License */ diff --git a/src/main/kotlin/update/ConfigurePluginUpdatesAction.kt b/src/main/kotlin/update/ConfigurePluginUpdatesAction.kt index 188b6ba35..e520df479 100644 --- a/src/main/kotlin/update/ConfigurePluginUpdatesAction.kt +++ b/src/main/kotlin/update/ConfigurePluginUpdatesAction.kt @@ -3,7 +3,7 @@ * * https://minecraftdev.org * - * Copyright (c) 2021 minecraft-dev + * Copyright (c) 2022 minecraft-dev * * MIT License */ diff --git a/src/main/kotlin/update/ConfigurePluginUpdatesDialog.kt b/src/main/kotlin/update/ConfigurePluginUpdatesDialog.kt index d85470c5e..e26444842 100644 --- a/src/main/kotlin/update/ConfigurePluginUpdatesDialog.kt +++ b/src/main/kotlin/update/ConfigurePluginUpdatesDialog.kt @@ -3,7 +3,7 @@ * * https://minecraftdev.org * - * Copyright (c) 2021 minecraft-dev + * Copyright (c) 2022 minecraft-dev * * MIT License */ diff --git a/src/main/kotlin/update/ConfigurePluginUpdatesForm.kt b/src/main/kotlin/update/ConfigurePluginUpdatesForm.kt index 30495d4c1..50a6187d0 100644 --- a/src/main/kotlin/update/ConfigurePluginUpdatesForm.kt +++ b/src/main/kotlin/update/ConfigurePluginUpdatesForm.kt @@ -3,7 +3,7 @@ * * https://minecraftdev.org * - * Copyright (c) 2021 minecraft-dev + * Copyright (c) 2022 minecraft-dev * * MIT License */ diff --git a/src/main/kotlin/update/PluginUpdateStatus.kt b/src/main/kotlin/update/PluginUpdateStatus.kt index 3fbdf09f2..f2a21a962 100644 --- a/src/main/kotlin/update/PluginUpdateStatus.kt +++ b/src/main/kotlin/update/PluginUpdateStatus.kt @@ -3,7 +3,7 @@ * * https://minecraftdev.org * - * Copyright (c) 2021 minecraft-dev + * Copyright (c) 2022 minecraft-dev * * MIT License */ diff --git a/src/main/kotlin/update/PluginUpdater.kt b/src/main/kotlin/update/PluginUpdater.kt index b53cedcf9..de130049d 100644 --- a/src/main/kotlin/update/PluginUpdater.kt +++ b/src/main/kotlin/update/PluginUpdater.kt @@ -3,7 +3,7 @@ * * https://minecraftdev.org * - * Copyright (c) 2021 minecraft-dev + * Copyright (c) 2022 minecraft-dev * * MIT License */ diff --git a/src/main/kotlin/update/PluginUtil.kt b/src/main/kotlin/update/PluginUtil.kt index 3ec125de4..26d8edfdb 100644 --- a/src/main/kotlin/update/PluginUtil.kt +++ b/src/main/kotlin/update/PluginUtil.kt @@ -3,7 +3,7 @@ * * https://minecraftdev.org * - * Copyright (c) 2021 minecraft-dev + * Copyright (c) 2022 minecraft-dev * * MIT License */ diff --git a/src/main/kotlin/update/package-info.kt b/src/main/kotlin/update/package-info.kt index 1121383c3..6cd9a6c43 100644 --- a/src/main/kotlin/update/package-info.kt +++ b/src/main/kotlin/update/package-info.kt @@ -3,7 +3,7 @@ * * https://minecraftdev.org * - * Copyright (c) 2021 minecraft-dev + * Copyright (c) 2022 minecraft-dev * * MIT License */ diff --git a/src/main/kotlin/util/ActionData.kt b/src/main/kotlin/util/ActionData.kt index a10c2776b..c36b02bfe 100644 --- a/src/main/kotlin/util/ActionData.kt +++ b/src/main/kotlin/util/ActionData.kt @@ -3,7 +3,7 @@ * * https://minecraftdev.org * - * Copyright (c) 2021 minecraft-dev + * Copyright (c) 2022 minecraft-dev * * MIT License */ diff --git a/src/main/kotlin/util/CommonColors.kt b/src/main/kotlin/util/CommonColors.kt index d4d4d117d..3c1412971 100644 --- a/src/main/kotlin/util/CommonColors.kt +++ b/src/main/kotlin/util/CommonColors.kt @@ -3,7 +3,7 @@ * * https://minecraftdev.org * - * Copyright (c) 2021 minecraft-dev + * Copyright (c) 2022 minecraft-dev * * MIT License */ diff --git a/src/main/kotlin/util/Constants.kt b/src/main/kotlin/util/Constants.kt index afb8c135c..f1eaeb1f5 100644 --- a/src/main/kotlin/util/Constants.kt +++ b/src/main/kotlin/util/Constants.kt @@ -3,7 +3,7 @@ * * https://minecraftdev.org * - * Copyright (c) 2021 minecraft-dev + * Copyright (c) 2022 minecraft-dev * * MIT License */ diff --git a/src/main/kotlin/util/HttpConnectionFactory.kt b/src/main/kotlin/util/HttpConnectionFactory.kt index 05efe20f1..a5414a4b9 100644 --- a/src/main/kotlin/util/HttpConnectionFactory.kt +++ b/src/main/kotlin/util/HttpConnectionFactory.kt @@ -3,7 +3,7 @@ * * https://minecraftdev.org * - * Copyright (c) 2021 minecraft-dev + * Copyright (c) 2022 minecraft-dev * * MIT License */ diff --git a/src/main/kotlin/util/License.kt b/src/main/kotlin/util/License.kt index e75816541..7ed3af1ba 100644 --- a/src/main/kotlin/util/License.kt +++ b/src/main/kotlin/util/License.kt @@ -3,7 +3,7 @@ * * https://minecraftdev.org * - * Copyright (c) 2021 minecraft-dev + * Copyright (c) 2022 minecraft-dev * * MIT License */ diff --git a/src/main/kotlin/util/MemberReference.kt b/src/main/kotlin/util/MemberReference.kt index 34aa58b71..cfb3dd1b8 100644 --- a/src/main/kotlin/util/MemberReference.kt +++ b/src/main/kotlin/util/MemberReference.kt @@ -3,7 +3,7 @@ * * https://minecraftdev.org * - * Copyright (c) 2021 minecraft-dev + * Copyright (c) 2022 minecraft-dev * * MIT License */ diff --git a/src/main/kotlin/util/MinecraftTemplates.kt b/src/main/kotlin/util/MinecraftTemplates.kt index d835c826b..2f20535dc 100644 --- a/src/main/kotlin/util/MinecraftTemplates.kt +++ b/src/main/kotlin/util/MinecraftTemplates.kt @@ -3,7 +3,7 @@ * * https://minecraftdev.org * - * Copyright (c) 2021 minecraft-dev + * Copyright (c) 2022 minecraft-dev * * MIT License */ diff --git a/src/main/kotlin/util/MinecraftVersions.kt b/src/main/kotlin/util/MinecraftVersions.kt index bc48149da..594406073 100644 --- a/src/main/kotlin/util/MinecraftVersions.kt +++ b/src/main/kotlin/util/MinecraftVersions.kt @@ -3,7 +3,7 @@ * * https://minecraftdev.org * - * Copyright (c) 2021 minecraft-dev + * Copyright (c) 2022 minecraft-dev * * MIT License */ diff --git a/src/main/kotlin/util/ModuleDebugRunConfigurationExtension.kt b/src/main/kotlin/util/ModuleDebugRunConfigurationExtension.kt index ff2375a42..5d0935811 100644 --- a/src/main/kotlin/util/ModuleDebugRunConfigurationExtension.kt +++ b/src/main/kotlin/util/ModuleDebugRunConfigurationExtension.kt @@ -3,7 +3,7 @@ * * https://minecraftdev.org * - * Copyright (c) 2021 minecraft-dev + * Copyright (c) 2022 minecraft-dev * * MIT License */ diff --git a/src/main/kotlin/util/Parameter.kt b/src/main/kotlin/util/Parameter.kt index 4879fea83..3cde9efdd 100644 --- a/src/main/kotlin/util/Parameter.kt +++ b/src/main/kotlin/util/Parameter.kt @@ -3,7 +3,7 @@ * * https://minecraftdev.org * - * Copyright (c) 2021 minecraft-dev + * Copyright (c) 2022 minecraft-dev * * MIT License */ diff --git a/src/main/kotlin/util/SemanticVersion.kt b/src/main/kotlin/util/SemanticVersion.kt index c992a8c83..a01cc48ed 100644 --- a/src/main/kotlin/util/SemanticVersion.kt +++ b/src/main/kotlin/util/SemanticVersion.kt @@ -3,7 +3,7 @@ * * https://minecraftdev.org * - * Copyright (c) 2021 minecraft-dev + * Copyright (c) 2022 minecraft-dev * * MIT License */ diff --git a/src/main/kotlin/util/SourceType.kt b/src/main/kotlin/util/SourceType.kt index 9e3f13cb1..d5fc4a917 100644 --- a/src/main/kotlin/util/SourceType.kt +++ b/src/main/kotlin/util/SourceType.kt @@ -3,7 +3,7 @@ * * https://minecraftdev.org * - * Copyright (c) 2021 minecraft-dev + * Copyright (c) 2022 minecraft-dev * * MIT License */ diff --git a/src/main/kotlin/util/VersionRange.kt b/src/main/kotlin/util/VersionRange.kt index c5e52184b..75f2d2465 100644 --- a/src/main/kotlin/util/VersionRange.kt +++ b/src/main/kotlin/util/VersionRange.kt @@ -3,7 +3,7 @@ * * https://minecraftdev.org * - * Copyright (c) 2021 minecraft-dev + * Copyright (c) 2022 minecraft-dev * * MIT License */ diff --git a/src/main/kotlin/util/actions.kt b/src/main/kotlin/util/actions.kt index 264ef242e..f3234c4e4 100644 --- a/src/main/kotlin/util/actions.kt +++ b/src/main/kotlin/util/actions.kt @@ -3,7 +3,7 @@ * * https://minecraftdev.org * - * Copyright (c) 2021 minecraft-dev + * Copyright (c) 2022 minecraft-dev * * MIT License */ diff --git a/src/main/kotlin/util/annotation-utils.kt b/src/main/kotlin/util/annotation-utils.kt index 48c5b4e9e..6a7540cfb 100644 --- a/src/main/kotlin/util/annotation-utils.kt +++ b/src/main/kotlin/util/annotation-utils.kt @@ -3,7 +3,7 @@ * * https://minecraftdev.org * - * Copyright (c) 2021 minecraft-dev + * Copyright (c) 2022 minecraft-dev * * MIT License */ diff --git a/src/main/kotlin/util/bytecode-utils.kt b/src/main/kotlin/util/bytecode-utils.kt index 8e884a9d8..129bff1eb 100644 --- a/src/main/kotlin/util/bytecode-utils.kt +++ b/src/main/kotlin/util/bytecode-utils.kt @@ -3,7 +3,7 @@ * * https://minecraftdev.org * - * Copyright (c) 2021 minecraft-dev + * Copyright (c) 2022 minecraft-dev * * MIT License */ diff --git a/src/main/kotlin/util/call-utils.kt b/src/main/kotlin/util/call-utils.kt index 57f2ad03c..cf08bd7b2 100644 --- a/src/main/kotlin/util/call-utils.kt +++ b/src/main/kotlin/util/call-utils.kt @@ -3,7 +3,7 @@ * * https://minecraftdev.org * - * Copyright (c) 2021 minecraft-dev + * Copyright (c) 2022 minecraft-dev * * MIT License */ diff --git a/src/main/kotlin/util/class-utils.kt b/src/main/kotlin/util/class-utils.kt index 6db6ba561..485415329 100644 --- a/src/main/kotlin/util/class-utils.kt +++ b/src/main/kotlin/util/class-utils.kt @@ -3,7 +3,7 @@ * * https://minecraftdev.org * - * Copyright (c) 2021 minecraft-dev + * Copyright (c) 2022 minecraft-dev * * MIT License */ diff --git a/src/main/kotlin/util/delegates.kt b/src/main/kotlin/util/delegates.kt index 04c2364cd..d1797f04f 100644 --- a/src/main/kotlin/util/delegates.kt +++ b/src/main/kotlin/util/delegates.kt @@ -3,7 +3,7 @@ * * https://minecraftdev.org * - * Copyright (c) 2021 minecraft-dev + * Copyright (c) 2022 minecraft-dev * * MIT License */ diff --git a/src/main/kotlin/util/editor-utils.kt b/src/main/kotlin/util/editor-utils.kt index 0220604be..e6f7b9585 100644 --- a/src/main/kotlin/util/editor-utils.kt +++ b/src/main/kotlin/util/editor-utils.kt @@ -3,7 +3,7 @@ * * https://minecraftdev.org * - * Copyright (c) 2021 minecraft-dev + * Copyright (c) 2022 minecraft-dev * * MIT License */ diff --git a/src/main/kotlin/util/expression-utils.kt b/src/main/kotlin/util/expression-utils.kt index 1c59e5f5e..07f3b6bc6 100644 --- a/src/main/kotlin/util/expression-utils.kt +++ b/src/main/kotlin/util/expression-utils.kt @@ -3,7 +3,7 @@ * * https://minecraftdev.org * - * Copyright (c) 2021 minecraft-dev + * Copyright (c) 2022 minecraft-dev * * MIT License */ diff --git a/src/main/kotlin/util/files.kt b/src/main/kotlin/util/files.kt index 578960cef..a9c867b81 100644 --- a/src/main/kotlin/util/files.kt +++ b/src/main/kotlin/util/files.kt @@ -3,7 +3,7 @@ * * https://minecraftdev.org * - * Copyright (c) 2021 minecraft-dev + * Copyright (c) 2022 minecraft-dev * * MIT License */ diff --git a/src/main/kotlin/util/gradle-util.kt b/src/main/kotlin/util/gradle-util.kt index c38ca1ee7..3df6824c8 100644 --- a/src/main/kotlin/util/gradle-util.kt +++ b/src/main/kotlin/util/gradle-util.kt @@ -3,7 +3,7 @@ * * https://minecraftdev.org * - * Copyright (c) 2021 minecraft-dev + * Copyright (c) 2022 minecraft-dev * * MIT License */ diff --git a/src/main/kotlin/util/json-patterns.kt b/src/main/kotlin/util/json-patterns.kt index de887390b..1b2df970a 100644 --- a/src/main/kotlin/util/json-patterns.kt +++ b/src/main/kotlin/util/json-patterns.kt @@ -3,7 +3,7 @@ * * https://minecraftdev.org * - * Copyright (c) 2021 minecraft-dev + * Copyright (c) 2022 minecraft-dev * * MIT License */ diff --git a/src/main/kotlin/util/mod-creator.kt b/src/main/kotlin/util/mod-creator.kt index 5dcafb3c1..229c6a6ac 100644 --- a/src/main/kotlin/util/mod-creator.kt +++ b/src/main/kotlin/util/mod-creator.kt @@ -3,7 +3,7 @@ * * https://minecraftdev.org * - * Copyright (c) 2021 minecraft-dev + * Copyright (c) 2022 minecraft-dev * * MIT License */ diff --git a/src/main/kotlin/util/patterns.kt b/src/main/kotlin/util/patterns.kt index 96ad2ace3..0dbf03cfb 100644 --- a/src/main/kotlin/util/patterns.kt +++ b/src/main/kotlin/util/patterns.kt @@ -3,7 +3,7 @@ * * https://minecraftdev.org * - * Copyright (c) 2021 minecraft-dev + * Copyright (c) 2022 minecraft-dev * * MIT License */ diff --git a/src/main/kotlin/util/psi-utils.kt b/src/main/kotlin/util/psi-utils.kt index c37613c4c..3811b790b 100644 --- a/src/main/kotlin/util/psi-utils.kt +++ b/src/main/kotlin/util/psi-utils.kt @@ -3,7 +3,7 @@ * * https://minecraftdev.org * - * Copyright (c) 2021 minecraft-dev + * Copyright (c) 2022 minecraft-dev * * MIT License */ diff --git a/src/main/kotlin/util/quickfix/RemoveAnnotationAttributeQuickFix.kt b/src/main/kotlin/util/quickfix/RemoveAnnotationAttributeQuickFix.kt index 0e8aa8c8b..f9ccafb7b 100644 --- a/src/main/kotlin/util/quickfix/RemoveAnnotationAttributeQuickFix.kt +++ b/src/main/kotlin/util/quickfix/RemoveAnnotationAttributeQuickFix.kt @@ -3,7 +3,7 @@ * * https://minecraftdev.org * - * Copyright (c) 2021 minecraft-dev + * Copyright (c) 2022 minecraft-dev * * MIT License */ diff --git a/src/main/kotlin/util/reference/ClassNameReferenceProvider.kt b/src/main/kotlin/util/reference/ClassNameReferenceProvider.kt index 25b735ef7..f498190c9 100644 --- a/src/main/kotlin/util/reference/ClassNameReferenceProvider.kt +++ b/src/main/kotlin/util/reference/ClassNameReferenceProvider.kt @@ -3,7 +3,7 @@ * * https://minecraftdev.org * - * Copyright (c) 2021 minecraft-dev + * Copyright (c) 2022 minecraft-dev * * MIT License */ diff --git a/src/main/kotlin/util/reference/InspectionReference.kt b/src/main/kotlin/util/reference/InspectionReference.kt index 266a984b5..98abfa390 100644 --- a/src/main/kotlin/util/reference/InspectionReference.kt +++ b/src/main/kotlin/util/reference/InspectionReference.kt @@ -3,7 +3,7 @@ * * https://minecraftdev.org * - * Copyright (c) 2021 minecraft-dev + * Copyright (c) 2022 minecraft-dev * * MIT License */ diff --git a/src/main/kotlin/util/reference/PackageNameReferenceProvider.kt b/src/main/kotlin/util/reference/PackageNameReferenceProvider.kt index 5a8e19f3c..75046778e 100644 --- a/src/main/kotlin/util/reference/PackageNameReferenceProvider.kt +++ b/src/main/kotlin/util/reference/PackageNameReferenceProvider.kt @@ -3,7 +3,7 @@ * * https://minecraftdev.org * - * Copyright (c) 2021 minecraft-dev + * Copyright (c) 2022 minecraft-dev * * MIT License */ diff --git a/src/main/kotlin/util/reference/ReferenceResolver.kt b/src/main/kotlin/util/reference/ReferenceResolver.kt index 66c880717..75d6c7561 100644 --- a/src/main/kotlin/util/reference/ReferenceResolver.kt +++ b/src/main/kotlin/util/reference/ReferenceResolver.kt @@ -3,7 +3,7 @@ * * https://minecraftdev.org * - * Copyright (c) 2021 minecraft-dev + * Copyright (c) 2022 minecraft-dev * * MIT License */ diff --git a/src/main/kotlin/util/reflection-utils.kt b/src/main/kotlin/util/reflection-utils.kt index 27774bca8..25ff657fa 100644 --- a/src/main/kotlin/util/reflection-utils.kt +++ b/src/main/kotlin/util/reflection-utils.kt @@ -3,7 +3,7 @@ * * https://minecraftdev.org * - * Copyright (c) 2021 minecraft-dev + * Copyright (c) 2022 minecraft-dev * * MIT License */ diff --git a/src/main/kotlin/util/sequences.kt b/src/main/kotlin/util/sequences.kt index b84ac31a4..0e6e480f5 100644 --- a/src/main/kotlin/util/sequences.kt +++ b/src/main/kotlin/util/sequences.kt @@ -3,7 +3,7 @@ * * https://minecraftdev.org * - * Copyright (c) 2021 minecraft-dev + * Copyright (c) 2022 minecraft-dev * * MIT License */ diff --git a/src/main/kotlin/util/sorting.kt b/src/main/kotlin/util/sorting.kt index 6b780f69e..b68295dd4 100644 --- a/src/main/kotlin/util/sorting.kt +++ b/src/main/kotlin/util/sorting.kt @@ -3,7 +3,7 @@ * * https://minecraftdev.org * - * Copyright (c) 2021 minecraft-dev + * Copyright (c) 2022 minecraft-dev * * MIT License */ diff --git a/src/main/kotlin/util/streams.kt b/src/main/kotlin/util/streams.kt index ccb40be93..d246f874b 100644 --- a/src/main/kotlin/util/streams.kt +++ b/src/main/kotlin/util/streams.kt @@ -3,7 +3,7 @@ * * https://minecraftdev.org * - * Copyright (c) 2021 minecraft-dev + * Copyright (c) 2022 minecraft-dev * * MIT License */ diff --git a/src/main/kotlin/util/uast-utils.kt b/src/main/kotlin/util/uast-utils.kt index 47a7d9367..97730a4d9 100644 --- a/src/main/kotlin/util/uast-utils.kt +++ b/src/main/kotlin/util/uast-utils.kt @@ -3,7 +3,7 @@ * * https://minecraftdev.org * - * Copyright (c) 2021 minecraft-dev + * Copyright (c) 2022 minecraft-dev * * MIT License */ diff --git a/src/main/kotlin/util/utils.kt b/src/main/kotlin/util/utils.kt index f9683e615..960dbb5d0 100644 --- a/src/main/kotlin/util/utils.kt +++ b/src/main/kotlin/util/utils.kt @@ -3,7 +3,7 @@ * * https://minecraftdev.org * - * Copyright (c) 2021 minecraft-dev + * Copyright (c) 2022 minecraft-dev * * MIT License */ @@ -13,6 +13,7 @@ package com.demonwav.mcdev.util import com.google.gson.Gson import com.google.gson.reflect.TypeToken import com.intellij.lang.java.lexer.JavaLexer +import com.intellij.openapi.application.AppUIExecutor import com.intellij.openapi.application.ApplicationManager import com.intellij.openapi.application.ModalityState import com.intellij.openapi.application.runReadAction @@ -32,6 +33,7 @@ import com.intellij.pom.java.LanguageLevel import com.intellij.psi.PsiDocumentManager import com.intellij.psi.PsiFile import java.util.Locale +import kotlin.math.min inline fun runWriteTask(crossinline func: () -> T): T { return invokeAndWait { @@ -89,6 +91,10 @@ fun invokeLaterAny(func: () -> Unit) { ApplicationManager.getApplication().invokeLater(func, ModalityState.any()) } +fun invokeEdt(block: () -> T): T { + return AppUIExecutor.onUiThread().submit(block).get() +} + inline fun PsiFile.runWriteAction(crossinline func: () -> T) = applyWriteAction { func() } @@ -124,7 +130,7 @@ inline fun > T.ifEmpty(func: () -> Unit): T { } inline fun ?> T.ifNullOrEmpty(func: () -> Unit): T { - if (this == null || isEmpty()) { + if (isNullOrEmpty()) { func() } return this @@ -253,7 +259,7 @@ fun String.getSimilarity(text: String, bonus: Int = 0): Int { return 100_000 + bonus // lowercase exact match } - val distance = Math.min(lowerCaseThis.length, lowerCaseText.length) + val distance = min(lowerCaseThis.length, lowerCaseText.length) for (i in 0 until distance) { if (lowerCaseThis[i] != lowerCaseText[i]) { return i + bonus diff --git a/src/main/resources/META-INF/plugin.xml b/src/main/resources/META-INF/plugin.xml index f8cfd4280..07d311dc1 100644 --- a/src/main/resources/META-INF/plugin.xml +++ b/src/main/resources/META-INF/plugin.xml @@ -3,7 +3,7 @@ https://minecraftdev.org - Copyright (c) 2021 minecraft-dev + Copyright (c) 2022 minecraft-dev MIT License --> diff --git a/src/main/resources/META-INF/toml-support.xml b/src/main/resources/META-INF/toml-support.xml index 6bf8981a8..fd1249de6 100644 --- a/src/main/resources/META-INF/toml-support.xml +++ b/src/main/resources/META-INF/toml-support.xml @@ -3,7 +3,7 @@ https://minecraftdev.org - Copyright (c) 2021 minecraft-dev + Copyright (c) 2022 minecraft-dev MIT License --> diff --git a/src/main/resources/colorSchemes/NbttDarcula.xml b/src/main/resources/colorSchemes/NbttDarcula.xml index b04fd54f2..3155cf658 100644 --- a/src/main/resources/colorSchemes/NbttDarcula.xml +++ b/src/main/resources/colorSchemes/NbttDarcula.xml @@ -4,7 +4,7 @@ https://minecraftdev.org - Copyright (c) 2021 minecraft-dev + Copyright (c) 2022 minecraft-dev MIT License --> diff --git a/src/main/resources/colorSchemes/NbttDefault.xml b/src/main/resources/colorSchemes/NbttDefault.xml index 53e508efe..cf0d2a15d 100644 --- a/src/main/resources/colorSchemes/NbttDefault.xml +++ b/src/main/resources/colorSchemes/NbttDefault.xml @@ -4,7 +4,7 @@ https://minecraftdev.org - Copyright (c) 2021 minecraft-dev + Copyright (c) 2022 minecraft-dev MIT License --> diff --git a/src/main/resources/fileTemplates/code/Mixin Overwrite Fallback.java.html b/src/main/resources/fileTemplates/code/Mixin Overwrite Fallback.java.html index 51f83f947..ca1de6a05 100644 --- a/src/main/resources/fileTemplates/code/Mixin Overwrite Fallback.java.html +++ b/src/main/resources/fileTemplates/code/Mixin Overwrite Fallback.java.html @@ -3,7 +3,7 @@ https://minecraftdev.org - Copyright (c) 2021 minecraft-dev + Copyright (c) 2022 minecraft-dev MIT License --> diff --git a/src/main/resources/fileTemplates/j2ee/architectury/architectury_build.gradle.html b/src/main/resources/fileTemplates/j2ee/architectury/architectury_build.gradle.html index 077076286..adc2ede42 100644 --- a/src/main/resources/fileTemplates/j2ee/architectury/architectury_build.gradle.html +++ b/src/main/resources/fileTemplates/j2ee/architectury/architectury_build.gradle.html @@ -3,7 +3,7 @@ https://minecraftdev.org - Copyright (c) 2021 minecraft-dev + Copyright (c) 2022 minecraft-dev MIT License --> diff --git a/src/main/resources/fileTemplates/j2ee/architectury/architectury_common_build.gradle.html b/src/main/resources/fileTemplates/j2ee/architectury/architectury_common_build.gradle.html index c9ec5ad88..d009d89c1 100644 --- a/src/main/resources/fileTemplates/j2ee/architectury/architectury_common_build.gradle.html +++ b/src/main/resources/fileTemplates/j2ee/architectury/architectury_common_build.gradle.html @@ -3,7 +3,7 @@ https://minecraftdev.org - Copyright (c) 2021 minecraft-dev + Copyright (c) 2022 minecraft-dev MIT License --> diff --git a/src/main/resources/fileTemplates/j2ee/architectury/architectury_common_main_class.java.html b/src/main/resources/fileTemplates/j2ee/architectury/architectury_common_main_class.java.html index 6a40d718e..3af5b2e86 100644 --- a/src/main/resources/fileTemplates/j2ee/architectury/architectury_common_main_class.java.html +++ b/src/main/resources/fileTemplates/j2ee/architectury/architectury_common_main_class.java.html @@ -3,7 +3,7 @@ https://minecraftdev.org - Copyright (c) 2021 minecraft-dev + Copyright (c) 2022 minecraft-dev MIT License --> diff --git a/src/main/resources/fileTemplates/j2ee/architectury/architectury_common_mixins.json.html b/src/main/resources/fileTemplates/j2ee/architectury/architectury_common_mixins.json.html index 5b691fe39..89be775f2 100644 --- a/src/main/resources/fileTemplates/j2ee/architectury/architectury_common_mixins.json.html +++ b/src/main/resources/fileTemplates/j2ee/architectury/architectury_common_mixins.json.html @@ -3,7 +3,7 @@ https://minecraftdev.org - Copyright (c) 2021 minecraft-dev + Copyright (c) 2022 minecraft-dev MIT License --> diff --git a/src/main/resources/fileTemplates/j2ee/architectury/architectury_fabric_build.gradle.html b/src/main/resources/fileTemplates/j2ee/architectury/architectury_fabric_build.gradle.html index 8dcbe1d41..e3f6b6a1c 100644 --- a/src/main/resources/fileTemplates/j2ee/architectury/architectury_fabric_build.gradle.html +++ b/src/main/resources/fileTemplates/j2ee/architectury/architectury_fabric_build.gradle.html @@ -3,7 +3,7 @@ https://minecraftdev.org - Copyright (c) 2021 minecraft-dev + Copyright (c) 2022 minecraft-dev MIT License --> diff --git a/src/main/resources/fileTemplates/j2ee/architectury/architectury_fabric_main_class.java.html b/src/main/resources/fileTemplates/j2ee/architectury/architectury_fabric_main_class.java.html index d32e35314..ae9b70fbe 100644 --- a/src/main/resources/fileTemplates/j2ee/architectury/architectury_fabric_main_class.java.html +++ b/src/main/resources/fileTemplates/j2ee/architectury/architectury_fabric_main_class.java.html @@ -3,7 +3,7 @@ https://minecraftdev.org - Copyright (c) 2021 minecraft-dev + Copyright (c) 2022 minecraft-dev MIT License --> diff --git a/src/main/resources/fileTemplates/j2ee/architectury/architectury_fabric_mixins.json.html b/src/main/resources/fileTemplates/j2ee/architectury/architectury_fabric_mixins.json.html index 088fae114..802c155d9 100644 --- a/src/main/resources/fileTemplates/j2ee/architectury/architectury_fabric_mixins.json.html +++ b/src/main/resources/fileTemplates/j2ee/architectury/architectury_fabric_mixins.json.html @@ -3,7 +3,7 @@ https://minecraftdev.org - Copyright (c) 2021 minecraft-dev + Copyright (c) 2022 minecraft-dev MIT License --> diff --git a/src/main/resources/fileTemplates/j2ee/architectury/architectury_fabric_mod.json.html b/src/main/resources/fileTemplates/j2ee/architectury/architectury_fabric_mod.json.html index c31bc963b..4d5475e4c 100644 --- a/src/main/resources/fileTemplates/j2ee/architectury/architectury_fabric_mod.json.html +++ b/src/main/resources/fileTemplates/j2ee/architectury/architectury_fabric_mod.json.html @@ -3,7 +3,7 @@ https://minecraftdev.org - Copyright (c) 2021 minecraft-dev + Copyright (c) 2022 minecraft-dev MIT License --> diff --git a/src/main/resources/fileTemplates/j2ee/architectury/architectury_forge_build.gradle.html b/src/main/resources/fileTemplates/j2ee/architectury/architectury_forge_build.gradle.html index dbe823390..68e3e06bd 100644 --- a/src/main/resources/fileTemplates/j2ee/architectury/architectury_forge_build.gradle.html +++ b/src/main/resources/fileTemplates/j2ee/architectury/architectury_forge_build.gradle.html @@ -3,7 +3,7 @@ https://minecraftdev.org - Copyright (c) 2021 minecraft-dev + Copyright (c) 2022 minecraft-dev MIT License --> diff --git a/src/main/resources/fileTemplates/j2ee/architectury/architectury_forge_gradle.properties.html b/src/main/resources/fileTemplates/j2ee/architectury/architectury_forge_gradle.properties.html index 2dc954062..f5a4470c5 100644 --- a/src/main/resources/fileTemplates/j2ee/architectury/architectury_forge_gradle.properties.html +++ b/src/main/resources/fileTemplates/j2ee/architectury/architectury_forge_gradle.properties.html @@ -3,7 +3,7 @@ https://minecraftdev.org - Copyright (c) 2021 minecraft-dev + Copyright (c) 2022 minecraft-dev MIT License --> diff --git a/src/main/resources/fileTemplates/j2ee/architectury/architectury_forge_main_class.java.html b/src/main/resources/fileTemplates/j2ee/architectury/architectury_forge_main_class.java.html index 2947ecf26..82e9edab5 100644 --- a/src/main/resources/fileTemplates/j2ee/architectury/architectury_forge_main_class.java.html +++ b/src/main/resources/fileTemplates/j2ee/architectury/architectury_forge_main_class.java.html @@ -3,7 +3,7 @@ https://minecraftdev.org - Copyright (c) 2021 minecraft-dev + Copyright (c) 2022 minecraft-dev MIT License --> diff --git a/src/main/resources/fileTemplates/j2ee/architectury/architectury_forge_mixins.json.html b/src/main/resources/fileTemplates/j2ee/architectury/architectury_forge_mixins.json.html index ce4c8f494..5c452fe3d 100644 --- a/src/main/resources/fileTemplates/j2ee/architectury/architectury_forge_mixins.json.html +++ b/src/main/resources/fileTemplates/j2ee/architectury/architectury_forge_mixins.json.html @@ -3,7 +3,7 @@ https://minecraftdev.org - Copyright (c) 2021 minecraft-dev + Copyright (c) 2022 minecraft-dev MIT License --> diff --git a/src/main/resources/fileTemplates/j2ee/architectury/architectury_forge_mods.toml.html b/src/main/resources/fileTemplates/j2ee/architectury/architectury_forge_mods.toml.html index cfffd31a1..d80913439 100644 --- a/src/main/resources/fileTemplates/j2ee/architectury/architectury_forge_mods.toml.html +++ b/src/main/resources/fileTemplates/j2ee/architectury/architectury_forge_mods.toml.html @@ -3,7 +3,7 @@ https://minecraftdev.org - Copyright (c) 2021 minecraft-dev + Copyright (c) 2022 minecraft-dev MIT License --> diff --git a/src/main/resources/fileTemplates/j2ee/architectury/architectury_forge_pack.mcmeta.html b/src/main/resources/fileTemplates/j2ee/architectury/architectury_forge_pack.mcmeta.html index 44b0dfe13..c49e9dd47 100644 --- a/src/main/resources/fileTemplates/j2ee/architectury/architectury_forge_pack.mcmeta.html +++ b/src/main/resources/fileTemplates/j2ee/architectury/architectury_forge_pack.mcmeta.html @@ -3,7 +3,7 @@ https://minecraftdev.org - Copyright (c) 2021 minecraft-dev + Copyright (c) 2022 minecraft-dev MIT License --> diff --git a/src/main/resources/fileTemplates/j2ee/architectury/architectury_gradle.properties.html b/src/main/resources/fileTemplates/j2ee/architectury/architectury_gradle.properties.html index cb8fe0667..a2e0e19ac 100644 --- a/src/main/resources/fileTemplates/j2ee/architectury/architectury_gradle.properties.html +++ b/src/main/resources/fileTemplates/j2ee/architectury/architectury_gradle.properties.html @@ -3,7 +3,7 @@ https://minecraftdev.org - Copyright (c) 2021 minecraft-dev + Copyright (c) 2022 minecraft-dev MIT License --> diff --git a/src/main/resources/fileTemplates/j2ee/architectury/architectury_settings.gradle.html b/src/main/resources/fileTemplates/j2ee/architectury/architectury_settings.gradle.html index 519831dc6..cb16eb699 100644 --- a/src/main/resources/fileTemplates/j2ee/architectury/architectury_settings.gradle.html +++ b/src/main/resources/fileTemplates/j2ee/architectury/architectury_settings.gradle.html @@ -3,7 +3,7 @@ https://minecraftdev.org - Copyright (c) 2021 minecraft-dev + Copyright (c) 2022 minecraft-dev MIT License --> diff --git a/src/main/resources/fileTemplates/j2ee/architectury/architectury_submodule_build.gradle.html b/src/main/resources/fileTemplates/j2ee/architectury/architectury_submodule_build.gradle.html index 236448d75..0f733e800 100644 --- a/src/main/resources/fileTemplates/j2ee/architectury/architectury_submodule_build.gradle.html +++ b/src/main/resources/fileTemplates/j2ee/architectury/architectury_submodule_build.gradle.html @@ -3,7 +3,7 @@ https://minecraftdev.org - Copyright (c) 2021 minecraft-dev + Copyright (c) 2022 minecraft-dev MIT License --> diff --git a/src/main/resources/fileTemplates/j2ee/architectury/architectury_submodule_gradle.properties.html b/src/main/resources/fileTemplates/j2ee/architectury/architectury_submodule_gradle.properties.html index 28a41aee2..03812132d 100644 --- a/src/main/resources/fileTemplates/j2ee/architectury/architectury_submodule_gradle.properties.html +++ b/src/main/resources/fileTemplates/j2ee/architectury/architectury_submodule_gradle.properties.html @@ -3,7 +3,7 @@ https://minecraftdev.org - Copyright (c) 2021 minecraft-dev + Copyright (c) 2022 minecraft-dev MIT License --> diff --git a/src/main/resources/fileTemplates/j2ee/bukkit/Bukkit Main Class.java.html b/src/main/resources/fileTemplates/j2ee/bukkit/Bukkit Main Class.java.html index 6c1928cb7..c909a6a0e 100644 --- a/src/main/resources/fileTemplates/j2ee/bukkit/Bukkit Main Class.java.html +++ b/src/main/resources/fileTemplates/j2ee/bukkit/Bukkit Main Class.java.html @@ -3,7 +3,7 @@ https://minecraftdev.org - Copyright (c) 2021 minecraft-dev + Copyright (c) 2022 minecraft-dev MIT License --> diff --git a/src/main/resources/fileTemplates/j2ee/bukkit/Bukkit Submodule build.gradle.html b/src/main/resources/fileTemplates/j2ee/bukkit/Bukkit Submodule build.gradle.html index f36b3fd0e..bddc7211e 100644 --- a/src/main/resources/fileTemplates/j2ee/bukkit/Bukkit Submodule build.gradle.html +++ b/src/main/resources/fileTemplates/j2ee/bukkit/Bukkit Submodule build.gradle.html @@ -3,7 +3,7 @@ https://minecraftdev.org - Copyright (c) 2021 minecraft-dev + Copyright (c) 2022 minecraft-dev MIT License --> diff --git a/src/main/resources/fileTemplates/j2ee/bukkit/Bukkit Submodule pom.xml.html b/src/main/resources/fileTemplates/j2ee/bukkit/Bukkit Submodule pom.xml.html index 093e79f09..b0763c096 100644 --- a/src/main/resources/fileTemplates/j2ee/bukkit/Bukkit Submodule pom.xml.html +++ b/src/main/resources/fileTemplates/j2ee/bukkit/Bukkit Submodule pom.xml.html @@ -3,7 +3,7 @@ https://minecraftdev.org - Copyright (c) 2021 minecraft-dev + Copyright (c) 2022 minecraft-dev MIT License --> diff --git a/src/main/resources/fileTemplates/j2ee/bukkit/Bukkit build.gradle.html b/src/main/resources/fileTemplates/j2ee/bukkit/Bukkit build.gradle.html index 4be593868..f2722b207 100644 --- a/src/main/resources/fileTemplates/j2ee/bukkit/Bukkit build.gradle.html +++ b/src/main/resources/fileTemplates/j2ee/bukkit/Bukkit build.gradle.html @@ -3,7 +3,7 @@ https://minecraftdev.org - Copyright (c) 2021 minecraft-dev + Copyright (c) 2022 minecraft-dev MIT License --> diff --git a/src/main/resources/fileTemplates/j2ee/bukkit/Bukkit gradle.properties.html b/src/main/resources/fileTemplates/j2ee/bukkit/Bukkit gradle.properties.html index a7c0db3e2..81fdf6fb2 100644 --- a/src/main/resources/fileTemplates/j2ee/bukkit/Bukkit gradle.properties.html +++ b/src/main/resources/fileTemplates/j2ee/bukkit/Bukkit gradle.properties.html @@ -3,7 +3,7 @@ https://minecraftdev.org - Copyright (c) 2021 minecraft-dev + Copyright (c) 2022 minecraft-dev MIT License --> diff --git a/src/main/resources/fileTemplates/j2ee/bukkit/Bukkit plugin.yml.html b/src/main/resources/fileTemplates/j2ee/bukkit/Bukkit plugin.yml.html index 0bb3a42d7..5c0c29829 100644 --- a/src/main/resources/fileTemplates/j2ee/bukkit/Bukkit plugin.yml.html +++ b/src/main/resources/fileTemplates/j2ee/bukkit/Bukkit plugin.yml.html @@ -3,7 +3,7 @@ https://minecraftdev.org - Copyright (c) 2021 minecraft-dev + Copyright (c) 2022 minecraft-dev MIT License --> diff --git a/src/main/resources/fileTemplates/j2ee/bukkit/Bukkit pom.xml.html b/src/main/resources/fileTemplates/j2ee/bukkit/Bukkit pom.xml.html index 05df3b730..7fe1f1adb 100644 --- a/src/main/resources/fileTemplates/j2ee/bukkit/Bukkit pom.xml.html +++ b/src/main/resources/fileTemplates/j2ee/bukkit/Bukkit pom.xml.html @@ -3,7 +3,7 @@ https://minecraftdev.org - Copyright (c) 2021 minecraft-dev + Copyright (c) 2022 minecraft-dev MIT License --> diff --git a/src/main/resources/fileTemplates/j2ee/bukkit/Bukkit settings.gradle.html b/src/main/resources/fileTemplates/j2ee/bukkit/Bukkit settings.gradle.html index 27966135c..5b685d210 100644 --- a/src/main/resources/fileTemplates/j2ee/bukkit/Bukkit settings.gradle.html +++ b/src/main/resources/fileTemplates/j2ee/bukkit/Bukkit settings.gradle.html @@ -3,7 +3,7 @@ https://minecraftdev.org - Copyright (c) 2021 minecraft-dev + Copyright (c) 2022 minecraft-dev MIT License --> diff --git a/src/main/resources/fileTemplates/j2ee/bungeecord/BungeeCord Main Class.java.html b/src/main/resources/fileTemplates/j2ee/bungeecord/BungeeCord Main Class.java.html index ea781b847..76f3c1965 100644 --- a/src/main/resources/fileTemplates/j2ee/bungeecord/BungeeCord Main Class.java.html +++ b/src/main/resources/fileTemplates/j2ee/bungeecord/BungeeCord Main Class.java.html @@ -3,7 +3,7 @@ https://minecraftdev.org - Copyright (c) 2021 minecraft-dev + Copyright (c) 2022 minecraft-dev MIT License --> diff --git a/src/main/resources/fileTemplates/j2ee/bungeecord/BungeeCord Submodule build.gradle.html b/src/main/resources/fileTemplates/j2ee/bungeecord/BungeeCord Submodule build.gradle.html index a97eef697..08c6f320e 100644 --- a/src/main/resources/fileTemplates/j2ee/bungeecord/BungeeCord Submodule build.gradle.html +++ b/src/main/resources/fileTemplates/j2ee/bungeecord/BungeeCord Submodule build.gradle.html @@ -3,7 +3,7 @@ https://minecraftdev.org - Copyright (c) 2021 minecraft-dev + Copyright (c) 2022 minecraft-dev MIT License --> diff --git a/src/main/resources/fileTemplates/j2ee/bungeecord/BungeeCord Submodule pom.xml.html b/src/main/resources/fileTemplates/j2ee/bungeecord/BungeeCord Submodule pom.xml.html index a18f27c1a..6082e6598 100644 --- a/src/main/resources/fileTemplates/j2ee/bungeecord/BungeeCord Submodule pom.xml.html +++ b/src/main/resources/fileTemplates/j2ee/bungeecord/BungeeCord Submodule pom.xml.html @@ -3,7 +3,7 @@ https://minecraftdev.org - Copyright (c) 2021 minecraft-dev + Copyright (c) 2022 minecraft-dev MIT License --> diff --git a/src/main/resources/fileTemplates/j2ee/bungeecord/BungeeCord build.gradle.html b/src/main/resources/fileTemplates/j2ee/bungeecord/BungeeCord build.gradle.html index 88f4b6dd4..d4b672218 100644 --- a/src/main/resources/fileTemplates/j2ee/bungeecord/BungeeCord build.gradle.html +++ b/src/main/resources/fileTemplates/j2ee/bungeecord/BungeeCord build.gradle.html @@ -3,7 +3,7 @@ https://minecraftdev.org - Copyright (c) 2021 minecraft-dev + Copyright (c) 2022 minecraft-dev MIT License --> diff --git a/src/main/resources/fileTemplates/j2ee/bungeecord/BungeeCord bungee.yml.html b/src/main/resources/fileTemplates/j2ee/bungeecord/BungeeCord bungee.yml.html index e0cd96707..5cb60ed7b 100644 --- a/src/main/resources/fileTemplates/j2ee/bungeecord/BungeeCord bungee.yml.html +++ b/src/main/resources/fileTemplates/j2ee/bungeecord/BungeeCord bungee.yml.html @@ -3,7 +3,7 @@ https://minecraftdev.org - Copyright (c) 2021 minecraft-dev + Copyright (c) 2022 minecraft-dev MIT License --> diff --git a/src/main/resources/fileTemplates/j2ee/bungeecord/BungeeCord gradle.properties.html b/src/main/resources/fileTemplates/j2ee/bungeecord/BungeeCord gradle.properties.html index ed164bbdb..574acbe6f 100644 --- a/src/main/resources/fileTemplates/j2ee/bungeecord/BungeeCord gradle.properties.html +++ b/src/main/resources/fileTemplates/j2ee/bungeecord/BungeeCord gradle.properties.html @@ -3,7 +3,7 @@ https://minecraftdev.org - Copyright (c) 2021 minecraft-dev + Copyright (c) 2022 minecraft-dev MIT License --> diff --git a/src/main/resources/fileTemplates/j2ee/bungeecord/BungeeCord pom.xml.html b/src/main/resources/fileTemplates/j2ee/bungeecord/BungeeCord pom.xml.html index 19c36a298..bbf4d35f8 100644 --- a/src/main/resources/fileTemplates/j2ee/bungeecord/BungeeCord pom.xml.html +++ b/src/main/resources/fileTemplates/j2ee/bungeecord/BungeeCord pom.xml.html @@ -3,7 +3,7 @@ https://minecraftdev.org - Copyright (c) 2021 minecraft-dev + Copyright (c) 2022 minecraft-dev MIT License --> diff --git a/src/main/resources/fileTemplates/j2ee/bungeecord/BungeeCord settings.gradle.html b/src/main/resources/fileTemplates/j2ee/bungeecord/BungeeCord settings.gradle.html index c4178baf6..b3ae1b39f 100644 --- a/src/main/resources/fileTemplates/j2ee/bungeecord/BungeeCord settings.gradle.html +++ b/src/main/resources/fileTemplates/j2ee/bungeecord/BungeeCord settings.gradle.html @@ -3,7 +3,7 @@ https://minecraftdev.org - Copyright (c) 2021 minecraft-dev + Copyright (c) 2022 minecraft-dev MIT License --> diff --git a/src/main/resources/fileTemplates/j2ee/common/Gradle.gitignore.html b/src/main/resources/fileTemplates/j2ee/common/Gradle.gitignore.html index b88b733e3..5b170ba47 100644 --- a/src/main/resources/fileTemplates/j2ee/common/Gradle.gitignore.html +++ b/src/main/resources/fileTemplates/j2ee/common/Gradle.gitignore.html @@ -3,7 +3,7 @@ https://minecraftdev.org - Copyright (c) 2021 minecraft-dev + Copyright (c) 2022 minecraft-dev MIT License --> diff --git a/src/main/resources/fileTemplates/j2ee/common/Maven.gitignore.html b/src/main/resources/fileTemplates/j2ee/common/Maven.gitignore.html index fb94597db..c913d2164 100644 --- a/src/main/resources/fileTemplates/j2ee/common/Maven.gitignore.html +++ b/src/main/resources/fileTemplates/j2ee/common/Maven.gitignore.html @@ -3,7 +3,7 @@ https://minecraftdev.org - Copyright (c) 2021 minecraft-dev + Copyright (c) 2022 minecraft-dev MIT License --> diff --git a/src/main/resources/fileTemplates/j2ee/fabric/fabric_build.gradle.html b/src/main/resources/fileTemplates/j2ee/fabric/fabric_build.gradle.html index bf25eb19c..aa0ee03bb 100644 --- a/src/main/resources/fileTemplates/j2ee/fabric/fabric_build.gradle.html +++ b/src/main/resources/fileTemplates/j2ee/fabric/fabric_build.gradle.html @@ -3,7 +3,7 @@ https://minecraftdev.org - Copyright (c) 2021 minecraft-dev + Copyright (c) 2022 minecraft-dev MIT License --> diff --git a/src/main/resources/fileTemplates/j2ee/fabric/fabric_gradle.properties.html b/src/main/resources/fileTemplates/j2ee/fabric/fabric_gradle.properties.html index 0832e3b82..8201c4a6c 100644 --- a/src/main/resources/fileTemplates/j2ee/fabric/fabric_gradle.properties.html +++ b/src/main/resources/fileTemplates/j2ee/fabric/fabric_gradle.properties.html @@ -3,7 +3,7 @@ https://minecraftdev.org - Copyright (c) 2021 minecraft-dev + Copyright (c) 2022 minecraft-dev MIT License --> diff --git a/src/main/resources/fileTemplates/j2ee/fabric/fabric_mixins.json.html b/src/main/resources/fileTemplates/j2ee/fabric/fabric_mixins.json.html index b704ef803..0f2e1b98b 100644 --- a/src/main/resources/fileTemplates/j2ee/fabric/fabric_mixins.json.html +++ b/src/main/resources/fileTemplates/j2ee/fabric/fabric_mixins.json.html @@ -3,7 +3,7 @@ https://minecraftdev.org - Copyright (c) 2021 minecraft-dev + Copyright (c) 2022 minecraft-dev MIT License --> diff --git a/src/main/resources/fileTemplates/j2ee/fabric/fabric_mod.json.html b/src/main/resources/fileTemplates/j2ee/fabric/fabric_mod.json.html index 974ed83b3..d83271535 100644 --- a/src/main/resources/fileTemplates/j2ee/fabric/fabric_mod.json.html +++ b/src/main/resources/fileTemplates/j2ee/fabric/fabric_mod.json.html @@ -3,7 +3,7 @@ https://minecraftdev.org - Copyright (c) 2021 minecraft-dev + Copyright (c) 2022 minecraft-dev MIT License --> diff --git a/src/main/resources/fileTemplates/j2ee/fabric/fabric_settings.gradle.html b/src/main/resources/fileTemplates/j2ee/fabric/fabric_settings.gradle.html index 65876235d..19930d9e0 100644 --- a/src/main/resources/fileTemplates/j2ee/fabric/fabric_settings.gradle.html +++ b/src/main/resources/fileTemplates/j2ee/fabric/fabric_settings.gradle.html @@ -3,7 +3,7 @@ https://minecraftdev.org - Copyright (c) 2021 minecraft-dev + Copyright (c) 2022 minecraft-dev MIT License --> diff --git a/src/main/resources/fileTemplates/j2ee/fabric/fabric_submodule_build.gradle.html b/src/main/resources/fileTemplates/j2ee/fabric/fabric_submodule_build.gradle.html index 1dea8ffa9..7c8a9e758 100644 --- a/src/main/resources/fileTemplates/j2ee/fabric/fabric_submodule_build.gradle.html +++ b/src/main/resources/fileTemplates/j2ee/fabric/fabric_submodule_build.gradle.html @@ -3,7 +3,7 @@ https://minecraftdev.org - Copyright (c) 2021 minecraft-dev + Copyright (c) 2022 minecraft-dev MIT License --> diff --git a/src/main/resources/fileTemplates/j2ee/fabric/fabric_submodule_gradle.properties.html b/src/main/resources/fileTemplates/j2ee/fabric/fabric_submodule_gradle.properties.html index 8cd779691..f16e74a9f 100644 --- a/src/main/resources/fileTemplates/j2ee/fabric/fabric_submodule_gradle.properties.html +++ b/src/main/resources/fileTemplates/j2ee/fabric/fabric_submodule_gradle.properties.html @@ -3,7 +3,7 @@ https://minecraftdev.org - Copyright (c) 2021 minecraft-dev + Copyright (c) 2022 minecraft-dev MIT License --> diff --git a/src/main/resources/fileTemplates/j2ee/forge/Forge (1.13+) Main Class.java.html b/src/main/resources/fileTemplates/j2ee/forge/Forge (1.13+) Main Class.java.html index 1467afb3c..44a689bf0 100644 --- a/src/main/resources/fileTemplates/j2ee/forge/Forge (1.13+) Main Class.java.html +++ b/src/main/resources/fileTemplates/j2ee/forge/Forge (1.13+) Main Class.java.html @@ -3,7 +3,7 @@ https://minecraftdev.org - Copyright (c) 2021 minecraft-dev + Copyright (c) 2022 minecraft-dev MIT License --> diff --git a/src/main/resources/fileTemplates/j2ee/forge/Forge (1.13+) Submodule build.gradle.html b/src/main/resources/fileTemplates/j2ee/forge/Forge (1.13+) Submodule build.gradle.html index 72760eed3..3b9c7fd38 100644 --- a/src/main/resources/fileTemplates/j2ee/forge/Forge (1.13+) Submodule build.gradle.html +++ b/src/main/resources/fileTemplates/j2ee/forge/Forge (1.13+) Submodule build.gradle.html @@ -3,7 +3,7 @@ https://minecraftdev.org - Copyright (c) 2021 minecraft-dev + Copyright (c) 2022 minecraft-dev MIT License --> diff --git a/src/main/resources/fileTemplates/j2ee/forge/Forge (1.13+) build.gradle.html b/src/main/resources/fileTemplates/j2ee/forge/Forge (1.13+) build.gradle.html index a975005ab..232eea09b 100644 --- a/src/main/resources/fileTemplates/j2ee/forge/Forge (1.13+) build.gradle.html +++ b/src/main/resources/fileTemplates/j2ee/forge/Forge (1.13+) build.gradle.html @@ -3,7 +3,7 @@ https://minecraftdev.org - Copyright (c) 2021 minecraft-dev + Copyright (c) 2022 minecraft-dev MIT License --> diff --git a/src/main/resources/fileTemplates/j2ee/forge/Forge (1.13+) gradle.properties.html b/src/main/resources/fileTemplates/j2ee/forge/Forge (1.13+) gradle.properties.html index 337670b75..4d0a6638a 100644 --- a/src/main/resources/fileTemplates/j2ee/forge/Forge (1.13+) gradle.properties.html +++ b/src/main/resources/fileTemplates/j2ee/forge/Forge (1.13+) gradle.properties.html @@ -3,7 +3,7 @@ https://minecraftdev.org - Copyright (c) 2021 minecraft-dev + Copyright (c) 2022 minecraft-dev MIT License --> diff --git a/src/main/resources/fileTemplates/j2ee/forge/Forge (1.13+) settings.gradle.html b/src/main/resources/fileTemplates/j2ee/forge/Forge (1.13+) settings.gradle.html index 72cfc0814..cbd49221d 100644 --- a/src/main/resources/fileTemplates/j2ee/forge/Forge (1.13+) settings.gradle.html +++ b/src/main/resources/fileTemplates/j2ee/forge/Forge (1.13+) settings.gradle.html @@ -3,7 +3,7 @@ https://minecraftdev.org - Copyright (c) 2021 minecraft-dev + Copyright (c) 2022 minecraft-dev MIT License --> diff --git a/src/main/resources/fileTemplates/j2ee/forge/Forge (1.17+) Main Class.java.html b/src/main/resources/fileTemplates/j2ee/forge/Forge (1.17+) Main Class.java.html index f3a156a68..e6535f642 100644 --- a/src/main/resources/fileTemplates/j2ee/forge/Forge (1.17+) Main Class.java.html +++ b/src/main/resources/fileTemplates/j2ee/forge/Forge (1.17+) Main Class.java.html @@ -3,7 +3,7 @@ https://minecraftdev.org - Copyright (c) 2021 minecraft-dev + Copyright (c) 2022 minecraft-dev MIT License --> diff --git a/src/main/resources/fileTemplates/j2ee/forge/Forge (1.18+) Main Class.java.html b/src/main/resources/fileTemplates/j2ee/forge/Forge (1.18+) Main Class.java.html index 3cddf5aef..10d15cc6a 100644 --- a/src/main/resources/fileTemplates/j2ee/forge/Forge (1.18+) Main Class.java.html +++ b/src/main/resources/fileTemplates/j2ee/forge/Forge (1.18+) Main Class.java.html @@ -3,7 +3,7 @@ https://minecraftdev.org - Copyright (c) 2021 minecraft-dev + Copyright (c) 2022 minecraft-dev MIT License --> diff --git a/src/main/resources/fileTemplates/j2ee/forge/Forge (1.19+) Main Class.java.html b/src/main/resources/fileTemplates/j2ee/forge/Forge (1.19+) Main Class.java.html index 10dd75f6b..ce3454057 100644 --- a/src/main/resources/fileTemplates/j2ee/forge/Forge (1.19+) Main Class.java.html +++ b/src/main/resources/fileTemplates/j2ee/forge/Forge (1.19+) Main Class.java.html @@ -3,7 +3,7 @@ https://minecraftdev.org - Copyright (c) 2021 minecraft-dev + Copyright (c) 2022 minecraft-dev MIT License --> diff --git a/src/main/resources/fileTemplates/j2ee/forge/Forge Main Class.java.html b/src/main/resources/fileTemplates/j2ee/forge/Forge Main Class.java.html index 785626630..e29104def 100644 --- a/src/main/resources/fileTemplates/j2ee/forge/Forge Main Class.java.html +++ b/src/main/resources/fileTemplates/j2ee/forge/Forge Main Class.java.html @@ -3,7 +3,7 @@ https://minecraftdev.org - Copyright (c) 2021 minecraft-dev + Copyright (c) 2022 minecraft-dev MIT License --> diff --git a/src/main/resources/fileTemplates/j2ee/forge/Forge Mixins Config.json.html b/src/main/resources/fileTemplates/j2ee/forge/Forge Mixins Config.json.html index 22aea3a88..ad9a55b41 100644 --- a/src/main/resources/fileTemplates/j2ee/forge/Forge Mixins Config.json.html +++ b/src/main/resources/fileTemplates/j2ee/forge/Forge Mixins Config.json.html @@ -3,7 +3,7 @@ https://minecraftdev.org - Copyright (c) 2021 minecraft-dev + Copyright (c) 2022 minecraft-dev MIT License --> diff --git a/src/main/resources/fileTemplates/j2ee/forge/Forge Submodule build.gradle.html b/src/main/resources/fileTemplates/j2ee/forge/Forge Submodule build.gradle.html index 700221498..60415b407 100644 --- a/src/main/resources/fileTemplates/j2ee/forge/Forge Submodule build.gradle.html +++ b/src/main/resources/fileTemplates/j2ee/forge/Forge Submodule build.gradle.html @@ -3,7 +3,7 @@ https://minecraftdev.org - Copyright (c) 2021 minecraft-dev + Copyright (c) 2022 minecraft-dev MIT License --> diff --git a/src/main/resources/fileTemplates/j2ee/forge/Forge build.gradle.html b/src/main/resources/fileTemplates/j2ee/forge/Forge build.gradle.html index 8b568831b..00adb91b3 100644 --- a/src/main/resources/fileTemplates/j2ee/forge/Forge build.gradle.html +++ b/src/main/resources/fileTemplates/j2ee/forge/Forge build.gradle.html @@ -3,7 +3,7 @@ https://minecraftdev.org - Copyright (c) 2021 minecraft-dev + Copyright (c) 2022 minecraft-dev MIT License --> diff --git a/src/main/resources/fileTemplates/j2ee/forge/Forge gradle.properties.html b/src/main/resources/fileTemplates/j2ee/forge/Forge gradle.properties.html index a11d51b3f..f7397dcd7 100644 --- a/src/main/resources/fileTemplates/j2ee/forge/Forge gradle.properties.html +++ b/src/main/resources/fileTemplates/j2ee/forge/Forge gradle.properties.html @@ -3,7 +3,7 @@ https://minecraftdev.org - Copyright (c) 2021 minecraft-dev + Copyright (c) 2022 minecraft-dev MIT License --> diff --git a/src/main/resources/fileTemplates/j2ee/forge/Forge settings.gradle.html b/src/main/resources/fileTemplates/j2ee/forge/Forge settings.gradle.html index b8c98fbb9..6948a131e 100644 --- a/src/main/resources/fileTemplates/j2ee/forge/Forge settings.gradle.html +++ b/src/main/resources/fileTemplates/j2ee/forge/Forge settings.gradle.html @@ -3,7 +3,7 @@ https://minecraftdev.org - Copyright (c) 2021 minecraft-dev + Copyright (c) 2022 minecraft-dev MIT License --> diff --git a/src/main/resources/fileTemplates/j2ee/forge/mcmod.info.html b/src/main/resources/fileTemplates/j2ee/forge/mcmod.info.html index 026f9fe0f..c736a95dc 100644 --- a/src/main/resources/fileTemplates/j2ee/forge/mcmod.info.html +++ b/src/main/resources/fileTemplates/j2ee/forge/mcmod.info.html @@ -3,7 +3,7 @@ https://minecraftdev.org - Copyright (c) 2021 minecraft-dev + Copyright (c) 2022 minecraft-dev MIT License --> diff --git a/src/main/resources/fileTemplates/j2ee/forge/mods.toml.html b/src/main/resources/fileTemplates/j2ee/forge/mods.toml.html index df1aef59a..7c93cfe00 100644 --- a/src/main/resources/fileTemplates/j2ee/forge/mods.toml.html +++ b/src/main/resources/fileTemplates/j2ee/forge/mods.toml.html @@ -3,7 +3,7 @@ https://minecraftdev.org - Copyright (c) 2021 minecraft-dev + Copyright (c) 2022 minecraft-dev MIT License --> diff --git a/src/main/resources/fileTemplates/j2ee/forge/pack.mcmeta.html b/src/main/resources/fileTemplates/j2ee/forge/pack.mcmeta.html index 89745a853..99a1c46d4 100644 --- a/src/main/resources/fileTemplates/j2ee/forge/pack.mcmeta.html +++ b/src/main/resources/fileTemplates/j2ee/forge/pack.mcmeta.html @@ -3,7 +3,7 @@ https://minecraftdev.org - Copyright (c) 2021 minecraft-dev + Copyright (c) 2022 minecraft-dev MIT License --> diff --git a/src/main/resources/fileTemplates/j2ee/licenses/AGPL-3.0.txt.html b/src/main/resources/fileTemplates/j2ee/licenses/AGPL-3.0.txt.html index d40507167..a22be6106 100644 --- a/src/main/resources/fileTemplates/j2ee/licenses/AGPL-3.0.txt.html +++ b/src/main/resources/fileTemplates/j2ee/licenses/AGPL-3.0.txt.html @@ -3,7 +3,7 @@ https://minecraftdev.org - Copyright (c) 2021 minecraft-dev + Copyright (c) 2022 minecraft-dev MIT License --> diff --git a/src/main/resources/fileTemplates/j2ee/licenses/All-Rights-Reserved.txt.html b/src/main/resources/fileTemplates/j2ee/licenses/All-Rights-Reserved.txt.html index 8a45f3179..1ae447411 100644 --- a/src/main/resources/fileTemplates/j2ee/licenses/All-Rights-Reserved.txt.html +++ b/src/main/resources/fileTemplates/j2ee/licenses/All-Rights-Reserved.txt.html @@ -3,7 +3,7 @@ https://minecraftdev.org - Copyright (c) 2021 minecraft-dev + Copyright (c) 2022 minecraft-dev MIT License --> diff --git a/src/main/resources/fileTemplates/j2ee/licenses/Apache-2.0.txt.html b/src/main/resources/fileTemplates/j2ee/licenses/Apache-2.0.txt.html index d47719160..db53236d7 100644 --- a/src/main/resources/fileTemplates/j2ee/licenses/Apache-2.0.txt.html +++ b/src/main/resources/fileTemplates/j2ee/licenses/Apache-2.0.txt.html @@ -3,7 +3,7 @@ https://minecraftdev.org - Copyright (c) 2021 minecraft-dev + Copyright (c) 2022 minecraft-dev MIT License --> diff --git a/src/main/resources/fileTemplates/j2ee/licenses/BSD-2-Clause-FreeBSD.txt.html b/src/main/resources/fileTemplates/j2ee/licenses/BSD-2-Clause-FreeBSD.txt.html index 1f6e3e48c..0d049f5a1 100644 --- a/src/main/resources/fileTemplates/j2ee/licenses/BSD-2-Clause-FreeBSD.txt.html +++ b/src/main/resources/fileTemplates/j2ee/licenses/BSD-2-Clause-FreeBSD.txt.html @@ -3,7 +3,7 @@ https://minecraftdev.org - Copyright (c) 2021 minecraft-dev + Copyright (c) 2022 minecraft-dev MIT License --> diff --git a/src/main/resources/fileTemplates/j2ee/licenses/BSD-3-Clause.txt.html b/src/main/resources/fileTemplates/j2ee/licenses/BSD-3-Clause.txt.html index cb3261b01..dc48c0853 100644 --- a/src/main/resources/fileTemplates/j2ee/licenses/BSD-3-Clause.txt.html +++ b/src/main/resources/fileTemplates/j2ee/licenses/BSD-3-Clause.txt.html @@ -3,7 +3,7 @@ https://minecraftdev.org - Copyright (c) 2021 minecraft-dev + Copyright (c) 2022 minecraft-dev MIT License --> diff --git a/src/main/resources/fileTemplates/j2ee/licenses/GPL-3.0.txt.html b/src/main/resources/fileTemplates/j2ee/licenses/GPL-3.0.txt.html index 1bb7e6b86..983ade69b 100644 --- a/src/main/resources/fileTemplates/j2ee/licenses/GPL-3.0.txt.html +++ b/src/main/resources/fileTemplates/j2ee/licenses/GPL-3.0.txt.html @@ -3,7 +3,7 @@ https://minecraftdev.org - Copyright (c) 2021 minecraft-dev + Copyright (c) 2022 minecraft-dev MIT License --> diff --git a/src/main/resources/fileTemplates/j2ee/licenses/ISC.txt.html b/src/main/resources/fileTemplates/j2ee/licenses/ISC.txt.html index d939fb0c2..7019ab93f 100644 --- a/src/main/resources/fileTemplates/j2ee/licenses/ISC.txt.html +++ b/src/main/resources/fileTemplates/j2ee/licenses/ISC.txt.html @@ -3,7 +3,7 @@ https://minecraftdev.org - Copyright (c) 2021 minecraft-dev + Copyright (c) 2022 minecraft-dev MIT License --> diff --git a/src/main/resources/fileTemplates/j2ee/licenses/LGPL-3.0.txt.html b/src/main/resources/fileTemplates/j2ee/licenses/LGPL-3.0.txt.html index 68d143527..83f83f1b5 100644 --- a/src/main/resources/fileTemplates/j2ee/licenses/LGPL-3.0.txt.html +++ b/src/main/resources/fileTemplates/j2ee/licenses/LGPL-3.0.txt.html @@ -3,7 +3,7 @@ https://minecraftdev.org - Copyright (c) 2021 minecraft-dev + Copyright (c) 2022 minecraft-dev MIT License --> diff --git a/src/main/resources/fileTemplates/j2ee/licenses/MIT.txt.html b/src/main/resources/fileTemplates/j2ee/licenses/MIT.txt.html index 2f04de6e8..3a40da19a 100644 --- a/src/main/resources/fileTemplates/j2ee/licenses/MIT.txt.html +++ b/src/main/resources/fileTemplates/j2ee/licenses/MIT.txt.html @@ -3,7 +3,7 @@ https://minecraftdev.org - Copyright (c) 2021 minecraft-dev + Copyright (c) 2022 minecraft-dev MIT License --> diff --git a/src/main/resources/fileTemplates/j2ee/licenses/MPL-2.0.txt.html b/src/main/resources/fileTemplates/j2ee/licenses/MPL-2.0.txt.html index 85eae1642..279ed9322 100644 --- a/src/main/resources/fileTemplates/j2ee/licenses/MPL-2.0.txt.html +++ b/src/main/resources/fileTemplates/j2ee/licenses/MPL-2.0.txt.html @@ -3,7 +3,7 @@ https://minecraftdev.org - Copyright (c) 2021 minecraft-dev + Copyright (c) 2022 minecraft-dev MIT License --> diff --git a/src/main/resources/fileTemplates/j2ee/licenses/unlicense.txt.html b/src/main/resources/fileTemplates/j2ee/licenses/unlicense.txt.html index 060327ff8..45b429e0c 100644 --- a/src/main/resources/fileTemplates/j2ee/licenses/unlicense.txt.html +++ b/src/main/resources/fileTemplates/j2ee/licenses/unlicense.txt.html @@ -3,7 +3,7 @@ https://minecraftdev.org - Copyright (c) 2021 minecraft-dev + Copyright (c) 2022 minecraft-dev MIT License --> diff --git a/src/main/resources/fileTemplates/j2ee/liteloader/LiteLoader Main Class.java.html b/src/main/resources/fileTemplates/j2ee/liteloader/LiteLoader Main Class.java.html index 97980e2e1..b7c193ee9 100644 --- a/src/main/resources/fileTemplates/j2ee/liteloader/LiteLoader Main Class.java.html +++ b/src/main/resources/fileTemplates/j2ee/liteloader/LiteLoader Main Class.java.html @@ -3,7 +3,7 @@ https://minecraftdev.org - Copyright (c) 2021 minecraft-dev + Copyright (c) 2022 minecraft-dev MIT License --> diff --git a/src/main/resources/fileTemplates/j2ee/liteloader/LiteLoader Submodule build.gradle.html b/src/main/resources/fileTemplates/j2ee/liteloader/LiteLoader Submodule build.gradle.html index ffc2339aa..ffdf6c0d3 100644 --- a/src/main/resources/fileTemplates/j2ee/liteloader/LiteLoader Submodule build.gradle.html +++ b/src/main/resources/fileTemplates/j2ee/liteloader/LiteLoader Submodule build.gradle.html @@ -3,7 +3,7 @@ https://minecraftdev.org - Copyright (c) 2021 minecraft-dev + Copyright (c) 2022 minecraft-dev MIT License --> diff --git a/src/main/resources/fileTemplates/j2ee/liteloader/LiteLoader build.gradle.html b/src/main/resources/fileTemplates/j2ee/liteloader/LiteLoader build.gradle.html index 908bf7399..e35d095bf 100644 --- a/src/main/resources/fileTemplates/j2ee/liteloader/LiteLoader build.gradle.html +++ b/src/main/resources/fileTemplates/j2ee/liteloader/LiteLoader build.gradle.html @@ -3,7 +3,7 @@ https://minecraftdev.org - Copyright (c) 2021 minecraft-dev + Copyright (c) 2022 minecraft-dev MIT License --> diff --git a/src/main/resources/fileTemplates/j2ee/liteloader/LiteLoader gradle.properties.html b/src/main/resources/fileTemplates/j2ee/liteloader/LiteLoader gradle.properties.html index 110eba838..499c19da5 100644 --- a/src/main/resources/fileTemplates/j2ee/liteloader/LiteLoader gradle.properties.html +++ b/src/main/resources/fileTemplates/j2ee/liteloader/LiteLoader gradle.properties.html @@ -3,7 +3,7 @@ https://minecraftdev.org - Copyright (c) 2021 minecraft-dev + Copyright (c) 2022 minecraft-dev MIT License --> diff --git a/src/main/resources/fileTemplates/j2ee/liteloader/LiteLoader settings.gradle.html b/src/main/resources/fileTemplates/j2ee/liteloader/LiteLoader settings.gradle.html index e6a57dd3b..94e03771c 100644 --- a/src/main/resources/fileTemplates/j2ee/liteloader/LiteLoader settings.gradle.html +++ b/src/main/resources/fileTemplates/j2ee/liteloader/LiteLoader settings.gradle.html @@ -3,7 +3,7 @@ https://minecraftdev.org - Copyright (c) 2021 minecraft-dev + Copyright (c) 2022 minecraft-dev MIT License --> diff --git a/src/main/resources/fileTemplates/j2ee/multi/Multi-Module Base build.gradle.html b/src/main/resources/fileTemplates/j2ee/multi/Multi-Module Base build.gradle.html index 08330f7cc..3ae818e31 100644 --- a/src/main/resources/fileTemplates/j2ee/multi/Multi-Module Base build.gradle.html +++ b/src/main/resources/fileTemplates/j2ee/multi/Multi-Module Base build.gradle.html @@ -3,7 +3,7 @@ https://minecraftdev.org - Copyright (c) 2021 minecraft-dev + Copyright (c) 2022 minecraft-dev MIT License --> diff --git a/src/main/resources/fileTemplates/j2ee/multi/Multi-Module Base gradle.properties.html b/src/main/resources/fileTemplates/j2ee/multi/Multi-Module Base gradle.properties.html index b3c6dc375..b84904fa9 100644 --- a/src/main/resources/fileTemplates/j2ee/multi/Multi-Module Base gradle.properties.html +++ b/src/main/resources/fileTemplates/j2ee/multi/Multi-Module Base gradle.properties.html @@ -3,7 +3,7 @@ https://minecraftdev.org - Copyright (c) 2021 minecraft-dev + Copyright (c) 2022 minecraft-dev MIT License --> diff --git a/src/main/resources/fileTemplates/j2ee/multi/Multi-Module Base pom.xml.html b/src/main/resources/fileTemplates/j2ee/multi/Multi-Module Base pom.xml.html index 1e73d53ae..702e97f7c 100644 --- a/src/main/resources/fileTemplates/j2ee/multi/Multi-Module Base pom.xml.html +++ b/src/main/resources/fileTemplates/j2ee/multi/Multi-Module Base pom.xml.html @@ -3,7 +3,7 @@ https://minecraftdev.org - Copyright (c) 2021 minecraft-dev + Copyright (c) 2022 minecraft-dev MIT License --> diff --git a/src/main/resources/fileTemplates/j2ee/multi/Multi-Module Base settings.gradle.html b/src/main/resources/fileTemplates/j2ee/multi/Multi-Module Base settings.gradle.html index 071e621bb..d9a498cfe 100644 --- a/src/main/resources/fileTemplates/j2ee/multi/Multi-Module Base settings.gradle.html +++ b/src/main/resources/fileTemplates/j2ee/multi/Multi-Module Base settings.gradle.html @@ -3,7 +3,7 @@ https://minecraftdev.org - Copyright (c) 2021 minecraft-dev + Copyright (c) 2022 minecraft-dev MIT License --> diff --git a/src/main/resources/fileTemplates/j2ee/multi/Multi-Module Common pom.xml.html b/src/main/resources/fileTemplates/j2ee/multi/Multi-Module Common pom.xml.html index 083e79053..fb6f46ac7 100644 --- a/src/main/resources/fileTemplates/j2ee/multi/Multi-Module Common pom.xml.html +++ b/src/main/resources/fileTemplates/j2ee/multi/Multi-Module Common pom.xml.html @@ -3,7 +3,7 @@ https://minecraftdev.org - Copyright (c) 2021 minecraft-dev + Copyright (c) 2022 minecraft-dev MIT License --> diff --git a/src/main/resources/fileTemplates/j2ee/skeleton/fabric/FabricBlock.java.html b/src/main/resources/fileTemplates/j2ee/skeleton/fabric/FabricBlock.java.html index 86bd472db..b662053de 100644 --- a/src/main/resources/fileTemplates/j2ee/skeleton/fabric/FabricBlock.java.html +++ b/src/main/resources/fileTemplates/j2ee/skeleton/fabric/FabricBlock.java.html @@ -3,7 +3,7 @@ https://minecraftdev.org - Copyright (c) 2021 minecraft-dev + Copyright (c) 2022 minecraft-dev MIT License --> diff --git a/src/main/resources/fileTemplates/j2ee/skeleton/fabric/FabricEnchantment.java.html b/src/main/resources/fileTemplates/j2ee/skeleton/fabric/FabricEnchantment.java.html index bbf6be625..2a1c5f862 100644 --- a/src/main/resources/fileTemplates/j2ee/skeleton/fabric/FabricEnchantment.java.html +++ b/src/main/resources/fileTemplates/j2ee/skeleton/fabric/FabricEnchantment.java.html @@ -3,7 +3,7 @@ https://minecraftdev.org - Copyright (c) 2021 minecraft-dev + Copyright (c) 2022 minecraft-dev MIT License --> diff --git a/src/main/resources/fileTemplates/j2ee/skeleton/fabric/FabricItem.java.html b/src/main/resources/fileTemplates/j2ee/skeleton/fabric/FabricItem.java.html index 073684d5d..8fd5e656c 100644 --- a/src/main/resources/fileTemplates/j2ee/skeleton/fabric/FabricItem.java.html +++ b/src/main/resources/fileTemplates/j2ee/skeleton/fabric/FabricItem.java.html @@ -3,7 +3,7 @@ https://minecraftdev.org - Copyright (c) 2021 minecraft-dev + Copyright (c) 2022 minecraft-dev MIT License --> diff --git a/src/main/resources/fileTemplates/j2ee/skeleton/forge/ForgeBlock (1.17+).java.html b/src/main/resources/fileTemplates/j2ee/skeleton/forge/ForgeBlock (1.17+).java.html index 0c5670563..d4f376de4 100644 --- a/src/main/resources/fileTemplates/j2ee/skeleton/forge/ForgeBlock (1.17+).java.html +++ b/src/main/resources/fileTemplates/j2ee/skeleton/forge/ForgeBlock (1.17+).java.html @@ -3,7 +3,7 @@ https://minecraftdev.org - Copyright (c) 2021 minecraft-dev + Copyright (c) 2022 minecraft-dev MIT License --> diff --git a/src/main/resources/fileTemplates/j2ee/skeleton/forge/ForgeBlock.java.html b/src/main/resources/fileTemplates/j2ee/skeleton/forge/ForgeBlock.java.html index 0bfdb77aa..f351ebf25 100644 --- a/src/main/resources/fileTemplates/j2ee/skeleton/forge/ForgeBlock.java.html +++ b/src/main/resources/fileTemplates/j2ee/skeleton/forge/ForgeBlock.java.html @@ -3,7 +3,7 @@ https://minecraftdev.org - Copyright (c) 2021 minecraft-dev + Copyright (c) 2022 minecraft-dev MIT License --> diff --git a/src/main/resources/fileTemplates/j2ee/skeleton/forge/ForgeEnchantment (1.17+).java.html b/src/main/resources/fileTemplates/j2ee/skeleton/forge/ForgeEnchantment (1.17+).java.html index e61b21836..fac0a9cea 100644 --- a/src/main/resources/fileTemplates/j2ee/skeleton/forge/ForgeEnchantment (1.17+).java.html +++ b/src/main/resources/fileTemplates/j2ee/skeleton/forge/ForgeEnchantment (1.17+).java.html @@ -3,7 +3,7 @@ https://minecraftdev.org - Copyright (c) 2021 minecraft-dev + Copyright (c) 2022 minecraft-dev MIT License --> diff --git a/src/main/resources/fileTemplates/j2ee/skeleton/forge/ForgeEnchantment.java.html b/src/main/resources/fileTemplates/j2ee/skeleton/forge/ForgeEnchantment.java.html index 490472896..a46061bc7 100644 --- a/src/main/resources/fileTemplates/j2ee/skeleton/forge/ForgeEnchantment.java.html +++ b/src/main/resources/fileTemplates/j2ee/skeleton/forge/ForgeEnchantment.java.html @@ -3,7 +3,7 @@ https://minecraftdev.org - Copyright (c) 2021 minecraft-dev + Copyright (c) 2022 minecraft-dev MIT License --> diff --git a/src/main/resources/fileTemplates/j2ee/skeleton/forge/ForgeItem (1.17+).java.html b/src/main/resources/fileTemplates/j2ee/skeleton/forge/ForgeItem (1.17+).java.html index ec00505f0..f382f73a7 100644 --- a/src/main/resources/fileTemplates/j2ee/skeleton/forge/ForgeItem (1.17+).java.html +++ b/src/main/resources/fileTemplates/j2ee/skeleton/forge/ForgeItem (1.17+).java.html @@ -3,7 +3,7 @@ https://minecraftdev.org - Copyright (c) 2021 minecraft-dev + Copyright (c) 2022 minecraft-dev MIT License --> diff --git a/src/main/resources/fileTemplates/j2ee/skeleton/forge/ForgeItem.java.html b/src/main/resources/fileTemplates/j2ee/skeleton/forge/ForgeItem.java.html index b42e77bf5..62fc11dd9 100644 --- a/src/main/resources/fileTemplates/j2ee/skeleton/forge/ForgeItem.java.html +++ b/src/main/resources/fileTemplates/j2ee/skeleton/forge/ForgeItem.java.html @@ -3,7 +3,7 @@ https://minecraftdev.org - Copyright (c) 2021 minecraft-dev + Copyright (c) 2022 minecraft-dev MIT License --> diff --git a/src/main/resources/fileTemplates/j2ee/skeleton/forge/ForgePacket (1.17+).java.html b/src/main/resources/fileTemplates/j2ee/skeleton/forge/ForgePacket (1.17+).java.html index c0113fed3..4fa98a974 100644 --- a/src/main/resources/fileTemplates/j2ee/skeleton/forge/ForgePacket (1.17+).java.html +++ b/src/main/resources/fileTemplates/j2ee/skeleton/forge/ForgePacket (1.17+).java.html @@ -3,7 +3,7 @@ https://minecraftdev.org - Copyright (c) 2021 minecraft-dev + Copyright (c) 2022 minecraft-dev MIT License --> diff --git a/src/main/resources/fileTemplates/j2ee/skeleton/forge/ForgePacket (1.18+).java.html b/src/main/resources/fileTemplates/j2ee/skeleton/forge/ForgePacket (1.18+).java.html index deb14b447..c191563fb 100644 --- a/src/main/resources/fileTemplates/j2ee/skeleton/forge/ForgePacket (1.18+).java.html +++ b/src/main/resources/fileTemplates/j2ee/skeleton/forge/ForgePacket (1.18+).java.html @@ -3,7 +3,7 @@ https://minecraftdev.org - Copyright (c) 2021 minecraft-dev + Copyright (c) 2022 minecraft-dev MIT License --> diff --git a/src/main/resources/fileTemplates/j2ee/skeleton/forge/ForgePacket.java.html b/src/main/resources/fileTemplates/j2ee/skeleton/forge/ForgePacket.java.html index e11a9644b..dad8fbbb7 100644 --- a/src/main/resources/fileTemplates/j2ee/skeleton/forge/ForgePacket.java.html +++ b/src/main/resources/fileTemplates/j2ee/skeleton/forge/ForgePacket.java.html @@ -3,7 +3,7 @@ https://minecraftdev.org - Copyright (c) 2021 minecraft-dev + Copyright (c) 2022 minecraft-dev MIT License --> diff --git a/src/main/resources/fileTemplates/j2ee/sponge/Sponge 8+ Main Class.java.html b/src/main/resources/fileTemplates/j2ee/sponge/Sponge 8+ Main Class.java.html index 9d000c174..0f9e11b5b 100644 --- a/src/main/resources/fileTemplates/j2ee/sponge/Sponge 8+ Main Class.java.html +++ b/src/main/resources/fileTemplates/j2ee/sponge/Sponge 8+ Main Class.java.html @@ -3,7 +3,7 @@ https://minecraftdev.org - Copyright (c) 2021 minecraft-dev + Copyright (c) 2022 minecraft-dev MIT License --> diff --git a/src/main/resources/fileTemplates/j2ee/sponge/Sponge 8+ Submodule build.gradle.kts.html b/src/main/resources/fileTemplates/j2ee/sponge/Sponge 8+ Submodule build.gradle.kts.html index 7ef095632..b24224221 100644 --- a/src/main/resources/fileTemplates/j2ee/sponge/Sponge 8+ Submodule build.gradle.kts.html +++ b/src/main/resources/fileTemplates/j2ee/sponge/Sponge 8+ Submodule build.gradle.kts.html @@ -3,7 +3,7 @@ https://minecraftdev.org - Copyright (c) 2021 minecraft-dev + Copyright (c) 2022 minecraft-dev MIT License --> diff --git a/src/main/resources/fileTemplates/j2ee/sponge/Sponge 8+ build.gradle.kts.html b/src/main/resources/fileTemplates/j2ee/sponge/Sponge 8+ build.gradle.kts.html index 52b43369f..5c2250940 100644 --- a/src/main/resources/fileTemplates/j2ee/sponge/Sponge 8+ build.gradle.kts.html +++ b/src/main/resources/fileTemplates/j2ee/sponge/Sponge 8+ build.gradle.kts.html @@ -3,7 +3,7 @@ https://minecraftdev.org - Copyright (c) 2021 minecraft-dev + Copyright (c) 2022 minecraft-dev MIT License --> diff --git a/src/main/resources/fileTemplates/j2ee/sponge/Sponge 8+ gradle.properties.html b/src/main/resources/fileTemplates/j2ee/sponge/Sponge 8+ gradle.properties.html index 9e063603b..77f492197 100644 --- a/src/main/resources/fileTemplates/j2ee/sponge/Sponge 8+ gradle.properties.html +++ b/src/main/resources/fileTemplates/j2ee/sponge/Sponge 8+ gradle.properties.html @@ -3,7 +3,7 @@ https://minecraftdev.org - Copyright (c) 2021 minecraft-dev + Copyright (c) 2022 minecraft-dev MIT License --> diff --git a/src/main/resources/fileTemplates/j2ee/sponge/Sponge 8+ settings.gradle.kts.html b/src/main/resources/fileTemplates/j2ee/sponge/Sponge 8+ settings.gradle.kts.html index 48a3e20d3..20397b905 100644 --- a/src/main/resources/fileTemplates/j2ee/sponge/Sponge 8+ settings.gradle.kts.html +++ b/src/main/resources/fileTemplates/j2ee/sponge/Sponge 8+ settings.gradle.kts.html @@ -3,7 +3,7 @@ https://minecraftdev.org - Copyright (c) 2021 minecraft-dev + Copyright (c) 2022 minecraft-dev MIT License --> diff --git a/src/main/resources/fileTemplates/j2ee/sponge/Sponge 8+ sponge_plugins.json.html b/src/main/resources/fileTemplates/j2ee/sponge/Sponge 8+ sponge_plugins.json.html index c48fc2347..0a33fba0d 100644 --- a/src/main/resources/fileTemplates/j2ee/sponge/Sponge 8+ sponge_plugins.json.html +++ b/src/main/resources/fileTemplates/j2ee/sponge/Sponge 8+ sponge_plugins.json.html @@ -3,7 +3,7 @@ https://minecraftdev.org - Copyright (c) 2021 minecraft-dev + Copyright (c) 2022 minecraft-dev MIT License --> diff --git a/src/main/resources/fileTemplates/j2ee/sponge/Sponge Main Class.java.html b/src/main/resources/fileTemplates/j2ee/sponge/Sponge Main Class.java.html index c16c27ff2..9a603b705 100644 --- a/src/main/resources/fileTemplates/j2ee/sponge/Sponge Main Class.java.html +++ b/src/main/resources/fileTemplates/j2ee/sponge/Sponge Main Class.java.html @@ -3,7 +3,7 @@ https://minecraftdev.org - Copyright (c) 2021 minecraft-dev + Copyright (c) 2022 minecraft-dev MIT License --> diff --git a/src/main/resources/fileTemplates/j2ee/sponge/Sponge Submodule build.gradle.html b/src/main/resources/fileTemplates/j2ee/sponge/Sponge Submodule build.gradle.html index d92bceda7..966cb8ac2 100644 --- a/src/main/resources/fileTemplates/j2ee/sponge/Sponge Submodule build.gradle.html +++ b/src/main/resources/fileTemplates/j2ee/sponge/Sponge Submodule build.gradle.html @@ -3,7 +3,7 @@ https://minecraftdev.org - Copyright (c) 2021 minecraft-dev + Copyright (c) 2022 minecraft-dev MIT License --> diff --git a/src/main/resources/fileTemplates/j2ee/sponge/Sponge Submodule pom.xml.html b/src/main/resources/fileTemplates/j2ee/sponge/Sponge Submodule pom.xml.html index 2f8479a86..bb690786e 100644 --- a/src/main/resources/fileTemplates/j2ee/sponge/Sponge Submodule pom.xml.html +++ b/src/main/resources/fileTemplates/j2ee/sponge/Sponge Submodule pom.xml.html @@ -3,7 +3,7 @@ https://minecraftdev.org - Copyright (c) 2021 minecraft-dev + Copyright (c) 2022 minecraft-dev MIT License --> diff --git a/src/main/resources/fileTemplates/j2ee/sponge/Sponge build.gradle.html b/src/main/resources/fileTemplates/j2ee/sponge/Sponge build.gradle.html index 11c8a1ab2..cfc07c280 100644 --- a/src/main/resources/fileTemplates/j2ee/sponge/Sponge build.gradle.html +++ b/src/main/resources/fileTemplates/j2ee/sponge/Sponge build.gradle.html @@ -3,7 +3,7 @@ https://minecraftdev.org - Copyright (c) 2021 minecraft-dev + Copyright (c) 2022 minecraft-dev MIT License --> diff --git a/src/main/resources/fileTemplates/j2ee/sponge/Sponge gradle.properties.html b/src/main/resources/fileTemplates/j2ee/sponge/Sponge gradle.properties.html index 217726c49..f63ac6f64 100644 --- a/src/main/resources/fileTemplates/j2ee/sponge/Sponge gradle.properties.html +++ b/src/main/resources/fileTemplates/j2ee/sponge/Sponge gradle.properties.html @@ -3,7 +3,7 @@ https://minecraftdev.org - Copyright (c) 2021 minecraft-dev + Copyright (c) 2022 minecraft-dev MIT License --> diff --git a/src/main/resources/fileTemplates/j2ee/sponge/Sponge pom.xml.html b/src/main/resources/fileTemplates/j2ee/sponge/Sponge pom.xml.html index 1a7ccc2a0..a90872738 100644 --- a/src/main/resources/fileTemplates/j2ee/sponge/Sponge pom.xml.html +++ b/src/main/resources/fileTemplates/j2ee/sponge/Sponge pom.xml.html @@ -3,7 +3,7 @@ https://minecraftdev.org - Copyright (c) 2021 minecraft-dev + Copyright (c) 2022 minecraft-dev MIT License --> diff --git a/src/main/resources/fileTemplates/j2ee/sponge/Sponge settings.gradle.html b/src/main/resources/fileTemplates/j2ee/sponge/Sponge settings.gradle.html index 9040db139..d9a91320e 100644 --- a/src/main/resources/fileTemplates/j2ee/sponge/Sponge settings.gradle.html +++ b/src/main/resources/fileTemplates/j2ee/sponge/Sponge settings.gradle.html @@ -3,7 +3,7 @@ https://minecraftdev.org - Copyright (c) 2021 minecraft-dev + Copyright (c) 2022 minecraft-dev MIT License --> diff --git a/src/main/resources/fileTemplates/j2ee/velocity/Velocity Build Constants.java.html b/src/main/resources/fileTemplates/j2ee/velocity/Velocity Build Constants.java.html index be0f86103..c568e8e34 100644 --- a/src/main/resources/fileTemplates/j2ee/velocity/Velocity Build Constants.java.html +++ b/src/main/resources/fileTemplates/j2ee/velocity/Velocity Build Constants.java.html @@ -3,7 +3,7 @@ https://minecraftdev.org - Copyright (c) 2021 minecraft-dev + Copyright (c) 2022 minecraft-dev MIT License --> diff --git a/src/main/resources/fileTemplates/j2ee/velocity/Velocity Main Class V2.java.html b/src/main/resources/fileTemplates/j2ee/velocity/Velocity Main Class V2.java.html index 891304990..13966e092 100644 --- a/src/main/resources/fileTemplates/j2ee/velocity/Velocity Main Class V2.java.html +++ b/src/main/resources/fileTemplates/j2ee/velocity/Velocity Main Class V2.java.html @@ -3,7 +3,7 @@ https://minecraftdev.org - Copyright (c) 2021 minecraft-dev + Copyright (c) 2022 minecraft-dev MIT License --> diff --git a/src/main/resources/fileTemplates/j2ee/velocity/Velocity Main Class.java.html b/src/main/resources/fileTemplates/j2ee/velocity/Velocity Main Class.java.html index 352daca97..1b8a15179 100644 --- a/src/main/resources/fileTemplates/j2ee/velocity/Velocity Main Class.java.html +++ b/src/main/resources/fileTemplates/j2ee/velocity/Velocity Main Class.java.html @@ -3,7 +3,7 @@ https://minecraftdev.org - Copyright (c) 2021 minecraft-dev + Copyright (c) 2022 minecraft-dev MIT License --> diff --git a/src/main/resources/fileTemplates/j2ee/velocity/Velocity Submodule build.gradle.html b/src/main/resources/fileTemplates/j2ee/velocity/Velocity Submodule build.gradle.html index 44246b152..d20843dc3 100644 --- a/src/main/resources/fileTemplates/j2ee/velocity/Velocity Submodule build.gradle.html +++ b/src/main/resources/fileTemplates/j2ee/velocity/Velocity Submodule build.gradle.html @@ -3,7 +3,7 @@ https://minecraftdev.org - Copyright (c) 2021 minecraft-dev + Copyright (c) 2022 minecraft-dev MIT License --> diff --git a/src/main/resources/fileTemplates/j2ee/velocity/Velocity Submodule pom.xml.html b/src/main/resources/fileTemplates/j2ee/velocity/Velocity Submodule pom.xml.html index 0064399a4..ac21cdde7 100644 --- a/src/main/resources/fileTemplates/j2ee/velocity/Velocity Submodule pom.xml.html +++ b/src/main/resources/fileTemplates/j2ee/velocity/Velocity Submodule pom.xml.html @@ -3,7 +3,7 @@ https://minecraftdev.org - Copyright (c) 2021 minecraft-dev + Copyright (c) 2022 minecraft-dev MIT License --> diff --git a/src/main/resources/fileTemplates/j2ee/velocity/Velocity build.gradle.html b/src/main/resources/fileTemplates/j2ee/velocity/Velocity build.gradle.html index 8d0fd739a..3d770919d 100644 --- a/src/main/resources/fileTemplates/j2ee/velocity/Velocity build.gradle.html +++ b/src/main/resources/fileTemplates/j2ee/velocity/Velocity build.gradle.html @@ -3,7 +3,7 @@ https://minecraftdev.org - Copyright (c) 2021 minecraft-dev + Copyright (c) 2022 minecraft-dev MIT License --> diff --git a/src/main/resources/fileTemplates/j2ee/velocity/Velocity gradle.properties.html b/src/main/resources/fileTemplates/j2ee/velocity/Velocity gradle.properties.html index e2af0d12c..cd8abd7dd 100644 --- a/src/main/resources/fileTemplates/j2ee/velocity/Velocity gradle.properties.html +++ b/src/main/resources/fileTemplates/j2ee/velocity/Velocity gradle.properties.html @@ -3,7 +3,7 @@ https://minecraftdev.org - Copyright (c) 2021 minecraft-dev + Copyright (c) 2022 minecraft-dev MIT License --> diff --git a/src/main/resources/fileTemplates/j2ee/velocity/Velocity pom.xml.html b/src/main/resources/fileTemplates/j2ee/velocity/Velocity pom.xml.html index d812c9049..dadbeba89 100644 --- a/src/main/resources/fileTemplates/j2ee/velocity/Velocity pom.xml.html +++ b/src/main/resources/fileTemplates/j2ee/velocity/Velocity pom.xml.html @@ -3,7 +3,7 @@ https://minecraftdev.org - Copyright (c) 2021 minecraft-dev + Copyright (c) 2022 minecraft-dev MIT License --> diff --git a/src/main/resources/fileTemplates/j2ee/velocity/Velocity settings.gradle.html b/src/main/resources/fileTemplates/j2ee/velocity/Velocity settings.gradle.html index 488b9d306..2a45f894e 100644 --- a/src/main/resources/fileTemplates/j2ee/velocity/Velocity settings.gradle.html +++ b/src/main/resources/fileTemplates/j2ee/velocity/Velocity settings.gradle.html @@ -3,7 +3,7 @@ https://minecraftdev.org - Copyright (c) 2021 minecraft-dev + Copyright (c) 2022 minecraft-dev MIT License --> diff --git a/src/main/resources/intentionDescriptions/convertToTranslation/description.html b/src/main/resources/intentionDescriptions/convertToTranslation/description.html index 137de76be..4c8697ae2 100644 --- a/src/main/resources/intentionDescriptions/convertToTranslation/description.html +++ b/src/main/resources/intentionDescriptions/convertToTranslation/description.html @@ -3,7 +3,7 @@ https://minecraftdev.org - Copyright (c) 2021 minecraft-dev + Copyright (c) 2022 minecraft-dev MIT License --> diff --git a/src/main/resources/messages/MinecraftDevelopment.properties b/src/main/resources/messages/MinecraftDevelopment.properties index 4b7c65f74..814500adc 100644 --- a/src/main/resources/messages/MinecraftDevelopment.properties +++ b/src/main/resources/messages/MinecraftDevelopment.properties @@ -3,7 +3,7 @@ # # https://minecraftdev.org # -# Copyright (c) 2021 minecraft-dev +# Copyright (c) 2022 minecraft-dev # # MIT License # diff --git a/src/main/resources/messages/MinecraftDevelopment_en_UK.properties b/src/main/resources/messages/MinecraftDevelopment_en_UK.properties index 8550a4025..12e6df3f3 100644 --- a/src/main/resources/messages/MinecraftDevelopment_en_UK.properties +++ b/src/main/resources/messages/MinecraftDevelopment_en_UK.properties @@ -3,7 +3,7 @@ # # https://minecraftdev.org # -# Copyright (c) 2021 minecraft-dev +# Copyright (c) 2022 minecraft-dev # # MIT License # diff --git a/src/main/resources/messages/MinecraftDevelopment_fr.properties b/src/main/resources/messages/MinecraftDevelopment_fr.properties index 611cbea3e..dd13f83dc 100644 --- a/src/main/resources/messages/MinecraftDevelopment_fr.properties +++ b/src/main/resources/messages/MinecraftDevelopment_fr.properties @@ -3,7 +3,7 @@ # # https://minecraftdev.org # -# Copyright (c) 2021 minecraft-dev +# Copyright (c) 2022 minecraft-dev # # MIT License # diff --git a/src/test/kotlin/framework/BaseMinecraftTest.kt b/src/test/kotlin/framework/BaseMinecraftTest.kt index d8bf81c78..b68aea74a 100644 --- a/src/test/kotlin/framework/BaseMinecraftTest.kt +++ b/src/test/kotlin/framework/BaseMinecraftTest.kt @@ -3,7 +3,7 @@ * * https://minecraftdev.org * - * Copyright (c) 2021 minecraft-dev + * Copyright (c) 2022 minecraft-dev * * MIT License */ diff --git a/src/test/kotlin/framework/CommenterTest.kt b/src/test/kotlin/framework/CommenterTest.kt index a65b3f024..9abd4d940 100644 --- a/src/test/kotlin/framework/CommenterTest.kt +++ b/src/test/kotlin/framework/CommenterTest.kt @@ -3,7 +3,7 @@ * * https://minecraftdev.org * - * Copyright (c) 2021 minecraft-dev + * Copyright (c) 2022 minecraft-dev * * MIT License */ diff --git a/src/test/kotlin/framework/EdtInterceptor.kt b/src/test/kotlin/framework/EdtInterceptor.kt index 56146619b..1d41d0192 100644 --- a/src/test/kotlin/framework/EdtInterceptor.kt +++ b/src/test/kotlin/framework/EdtInterceptor.kt @@ -3,15 +3,14 @@ * * https://minecraftdev.org * - * Copyright (c) 2021 minecraft-dev + * Copyright (c) 2022 minecraft-dev * * MIT License */ package com.demonwav.mcdev.framework -import com.intellij.openapi.util.Ref -import com.intellij.testFramework.runInEdtAndWait +import com.demonwav.mcdev.util.invokeEdt import java.lang.reflect.Method import org.junit.jupiter.api.extension.ExtensionContext import org.junit.jupiter.api.extension.InvocationInterceptor @@ -51,15 +50,11 @@ class EdtInterceptor : InvocationInterceptor { return } - val ref = Ref() - runInEdtAndWait { - try { + val thrown = invokeEdt { + runCatching { invocation.proceed() - } catch (t: Throwable) { - ref.set(t) - } + }.exceptionOrNull() } - val thrown = ref.get() if (thrown != null) { throw thrown } diff --git a/src/test/kotlin/framework/MockJdk.kt b/src/test/kotlin/framework/MockJdk.kt index ea38fb1e4..7908dbcd2 100644 --- a/src/test/kotlin/framework/MockJdk.kt +++ b/src/test/kotlin/framework/MockJdk.kt @@ -3,7 +3,7 @@ * * https://minecraftdev.org * - * Copyright (c) 2021 minecraft-dev + * Copyright (c) 2022 minecraft-dev * * MIT License */ diff --git a/src/test/kotlin/framework/NoEdt.kt b/src/test/kotlin/framework/NoEdt.kt index 013dd99e0..62b0a80f3 100644 --- a/src/test/kotlin/framework/NoEdt.kt +++ b/src/test/kotlin/framework/NoEdt.kt @@ -3,7 +3,7 @@ * * https://minecraftdev.org * - * Copyright (c) 2021 minecraft-dev + * Copyright (c) 2022 minecraft-dev * * MIT License */ diff --git a/src/test/kotlin/framework/ProjectBuilder.kt b/src/test/kotlin/framework/ProjectBuilder.kt index 5a1d03840..5ed1cbf0a 100644 --- a/src/test/kotlin/framework/ProjectBuilder.kt +++ b/src/test/kotlin/framework/ProjectBuilder.kt @@ -3,7 +3,7 @@ * * https://minecraftdev.org * - * Copyright (c) 2021 minecraft-dev + * Copyright (c) 2022 minecraft-dev * * MIT License */ diff --git a/src/test/kotlin/framework/ProjectBuilderTest.kt b/src/test/kotlin/framework/ProjectBuilderTest.kt index ee9978677..45d067e16 100644 --- a/src/test/kotlin/framework/ProjectBuilderTest.kt +++ b/src/test/kotlin/framework/ProjectBuilderTest.kt @@ -3,7 +3,7 @@ * * https://minecraftdev.org * - * Copyright (c) 2021 minecraft-dev + * Copyright (c) 2022 minecraft-dev * * MIT License */ diff --git a/src/test/kotlin/framework/test-util.kt b/src/test/kotlin/framework/test-util.kt index a6968e6c2..f099b9b6f 100644 --- a/src/test/kotlin/framework/test-util.kt +++ b/src/test/kotlin/framework/test-util.kt @@ -3,7 +3,7 @@ * * https://minecraftdev.org * - * Copyright (c) 2021 minecraft-dev + * Copyright (c) 2022 minecraft-dev * * MIT License */ diff --git a/src/test/kotlin/nbt/NbtParseTest.kt b/src/test/kotlin/nbt/NbtParseTest.kt index fefd0ef17..6f875360d 100644 --- a/src/test/kotlin/nbt/NbtParseTest.kt +++ b/src/test/kotlin/nbt/NbtParseTest.kt @@ -3,7 +3,7 @@ * * https://minecraftdev.org * - * Copyright (c) 2021 minecraft-dev + * Copyright (c) 2022 minecraft-dev * * MIT License */ diff --git a/src/test/kotlin/nbt/lang/NbttLexerTest.kt b/src/test/kotlin/nbt/lang/NbttLexerTest.kt index 8451fe20d..46ac4473f 100644 --- a/src/test/kotlin/nbt/lang/NbttLexerTest.kt +++ b/src/test/kotlin/nbt/lang/NbttLexerTest.kt @@ -3,7 +3,7 @@ * * https://minecraftdev.org * - * Copyright (c) 2021 minecraft-dev + * Copyright (c) 2022 minecraft-dev * * MIT License */ diff --git a/src/test/kotlin/nbt/lang/NbttParsingTest.kt b/src/test/kotlin/nbt/lang/NbttParsingTest.kt index 272d36b9c..1dbb91c2f 100644 --- a/src/test/kotlin/nbt/lang/NbttParsingTest.kt +++ b/src/test/kotlin/nbt/lang/NbttParsingTest.kt @@ -3,7 +3,7 @@ * * https://minecraftdev.org * - * Copyright (c) 2021 minecraft-dev + * Copyright (c) 2022 minecraft-dev * * MIT License */ diff --git a/src/test/kotlin/package-info.kt b/src/test/kotlin/package-info.kt index 7be447424..7e5db92a8 100644 --- a/src/test/kotlin/package-info.kt +++ b/src/test/kotlin/package-info.kt @@ -3,7 +3,7 @@ * * https://minecraftdev.org * - * Copyright (c) 2021 minecraft-dev + * Copyright (c) 2022 minecraft-dev * * MIT License */ diff --git a/src/test/kotlin/platform/forge/ModsTomlCompletionTest.kt b/src/test/kotlin/platform/forge/ModsTomlCompletionTest.kt index 256f9e660..6b9cf2398 100644 --- a/src/test/kotlin/platform/forge/ModsTomlCompletionTest.kt +++ b/src/test/kotlin/platform/forge/ModsTomlCompletionTest.kt @@ -3,7 +3,7 @@ * * https://minecraftdev.org * - * Copyright (c) 2021 minecraft-dev + * Copyright (c) 2022 minecraft-dev * * MIT License */ diff --git a/src/test/kotlin/platform/forge/ModsTomlValidationInspectionTest.kt b/src/test/kotlin/platform/forge/ModsTomlValidationInspectionTest.kt index 894fbe3cc..e48b38ce1 100644 --- a/src/test/kotlin/platform/forge/ModsTomlValidationInspectionTest.kt +++ b/src/test/kotlin/platform/forge/ModsTomlValidationInspectionTest.kt @@ -3,7 +3,7 @@ * * https://minecraftdev.org * - * Copyright (c) 2021 minecraft-dev + * Copyright (c) 2022 minecraft-dev * * MIT License */ diff --git a/src/test/kotlin/platform/mcp/at/AtCommenterTest.kt b/src/test/kotlin/platform/mcp/at/AtCommenterTest.kt index ac9e67681..bdcefd4ae 100644 --- a/src/test/kotlin/platform/mcp/at/AtCommenterTest.kt +++ b/src/test/kotlin/platform/mcp/at/AtCommenterTest.kt @@ -3,7 +3,7 @@ * * https://minecraftdev.org * - * Copyright (c) 2021 minecraft-dev + * Copyright (c) 2022 minecraft-dev * * MIT License */ diff --git a/src/test/kotlin/platform/mcp/at/AtLexerTest.kt b/src/test/kotlin/platform/mcp/at/AtLexerTest.kt index 1632fce16..96b49669f 100644 --- a/src/test/kotlin/platform/mcp/at/AtLexerTest.kt +++ b/src/test/kotlin/platform/mcp/at/AtLexerTest.kt @@ -3,7 +3,7 @@ * * https://minecraftdev.org * - * Copyright (c) 2021 minecraft-dev + * Copyright (c) 2022 minecraft-dev * * MIT License */ diff --git a/src/test/kotlin/platform/mcp/at/AtParsingTest.kt b/src/test/kotlin/platform/mcp/at/AtParsingTest.kt index d471ae3c9..b753c2589 100644 --- a/src/test/kotlin/platform/mcp/at/AtParsingTest.kt +++ b/src/test/kotlin/platform/mcp/at/AtParsingTest.kt @@ -3,7 +3,7 @@ * * https://minecraftdev.org * - * Copyright (c) 2021 minecraft-dev + * Copyright (c) 2022 minecraft-dev * * MIT License */ diff --git a/src/test/kotlin/platform/mixin/AccessorMixinTest.kt b/src/test/kotlin/platform/mixin/AccessorMixinTest.kt index daddead34..bc7428df8 100644 --- a/src/test/kotlin/platform/mixin/AccessorMixinTest.kt +++ b/src/test/kotlin/platform/mixin/AccessorMixinTest.kt @@ -3,7 +3,7 @@ * * https://minecraftdev.org * - * Copyright (c) 2021 minecraft-dev + * Copyright (c) 2022 minecraft-dev * * MIT License */ diff --git a/src/test/kotlin/platform/mixin/AmbiguousReferenceInspectionTest.kt b/src/test/kotlin/platform/mixin/AmbiguousReferenceInspectionTest.kt index 001876084..775c28fd3 100644 --- a/src/test/kotlin/platform/mixin/AmbiguousReferenceInspectionTest.kt +++ b/src/test/kotlin/platform/mixin/AmbiguousReferenceInspectionTest.kt @@ -3,7 +3,7 @@ * * https://minecraftdev.org * - * Copyright (c) 2021 minecraft-dev + * Copyright (c) 2022 minecraft-dev * * MIT License */ diff --git a/src/test/kotlin/platform/mixin/BaseMixinTest.kt b/src/test/kotlin/platform/mixin/BaseMixinTest.kt index 701358c4c..e221ffcf3 100644 --- a/src/test/kotlin/platform/mixin/BaseMixinTest.kt +++ b/src/test/kotlin/platform/mixin/BaseMixinTest.kt @@ -3,7 +3,7 @@ * * https://minecraftdev.org * - * Copyright (c) 2021 minecraft-dev + * Copyright (c) 2022 minecraft-dev * * MIT License */ diff --git a/src/test/kotlin/platform/mixin/InnerClassTest.kt b/src/test/kotlin/platform/mixin/InnerClassTest.kt index e2c7678fe..0bbffb2f1 100644 --- a/src/test/kotlin/platform/mixin/InnerClassTest.kt +++ b/src/test/kotlin/platform/mixin/InnerClassTest.kt @@ -3,7 +3,7 @@ * * https://minecraftdev.org * - * Copyright (c) 2021 minecraft-dev + * Copyright (c) 2022 minecraft-dev * * MIT License */ diff --git a/src/test/kotlin/platform/mixin/InvalidInjectorMethodSignatureFixTest.kt b/src/test/kotlin/platform/mixin/InvalidInjectorMethodSignatureFixTest.kt index b151f81b3..05afe0c3b 100644 --- a/src/test/kotlin/platform/mixin/InvalidInjectorMethodSignatureFixTest.kt +++ b/src/test/kotlin/platform/mixin/InvalidInjectorMethodSignatureFixTest.kt @@ -3,7 +3,7 @@ * * https://minecraftdev.org * - * Copyright (c) 2021 minecraft-dev + * Copyright (c) 2022 minecraft-dev * * MIT License */ diff --git a/src/test/kotlin/platform/mixin/InvalidInjectorMethodSignatureInspectionTest.kt b/src/test/kotlin/platform/mixin/InvalidInjectorMethodSignatureInspectionTest.kt index 2339471f9..091fd0328 100644 --- a/src/test/kotlin/platform/mixin/InvalidInjectorMethodSignatureInspectionTest.kt +++ b/src/test/kotlin/platform/mixin/InvalidInjectorMethodSignatureInspectionTest.kt @@ -3,7 +3,7 @@ * * https://minecraftdev.org * - * Copyright (c) 2021 minecraft-dev + * Copyright (c) 2022 minecraft-dev * * MIT License */ diff --git a/src/test/kotlin/platform/mixin/MultipleTargetTest.kt b/src/test/kotlin/platform/mixin/MultipleTargetTest.kt index c3f9758ec..f7570b31a 100644 --- a/src/test/kotlin/platform/mixin/MultipleTargetTest.kt +++ b/src/test/kotlin/platform/mixin/MultipleTargetTest.kt @@ -3,7 +3,7 @@ * * https://minecraftdev.org * - * Copyright (c) 2021 minecraft-dev + * Copyright (c) 2022 minecraft-dev * * MIT License */ diff --git a/src/test/kotlin/platform/mixin/SuperClassTest.kt b/src/test/kotlin/platform/mixin/SuperClassTest.kt index 45f6781e3..f7bca9e47 100644 --- a/src/test/kotlin/platform/mixin/SuperClassTest.kt +++ b/src/test/kotlin/platform/mixin/SuperClassTest.kt @@ -3,7 +3,7 @@ * * https://minecraftdev.org * - * Copyright (c) 2021 minecraft-dev + * Copyright (c) 2022 minecraft-dev * * MIT License */ diff --git a/src/test/kotlin/platform/mixin/UnnecessaryQualifiedMemberReferenceInspectionTest.kt b/src/test/kotlin/platform/mixin/UnnecessaryQualifiedMemberReferenceInspectionTest.kt index 8a80bbc2b..2bf94f751 100644 --- a/src/test/kotlin/platform/mixin/UnnecessaryQualifiedMemberReferenceInspectionTest.kt +++ b/src/test/kotlin/platform/mixin/UnnecessaryQualifiedMemberReferenceInspectionTest.kt @@ -3,7 +3,7 @@ * * https://minecraftdev.org * - * Copyright (c) 2021 minecraft-dev + * Copyright (c) 2022 minecraft-dev * * MIT License */ diff --git a/src/test/kotlin/platform/mixin/implements/DuplicateInterfaceInspectionTest.kt b/src/test/kotlin/platform/mixin/implements/DuplicateInterfaceInspectionTest.kt index ca4510b36..07afb5b2d 100644 --- a/src/test/kotlin/platform/mixin/implements/DuplicateInterfaceInspectionTest.kt +++ b/src/test/kotlin/platform/mixin/implements/DuplicateInterfaceInspectionTest.kt @@ -3,7 +3,7 @@ * * https://minecraftdev.org * - * Copyright (c) 2021 minecraft-dev + * Copyright (c) 2022 minecraft-dev * * MIT License */ diff --git a/src/test/kotlin/platform/mixin/implements/DuplicateInterfacePrefixInspectionTest.kt b/src/test/kotlin/platform/mixin/implements/DuplicateInterfacePrefixInspectionTest.kt index 1a7fc663b..54fafebdf 100644 --- a/src/test/kotlin/platform/mixin/implements/DuplicateInterfacePrefixInspectionTest.kt +++ b/src/test/kotlin/platform/mixin/implements/DuplicateInterfacePrefixInspectionTest.kt @@ -3,7 +3,7 @@ * * https://minecraftdev.org * - * Copyright (c) 2021 minecraft-dev + * Copyright (c) 2022 minecraft-dev * * MIT License */ diff --git a/src/test/kotlin/platform/mixin/implements/EmptyImplementsTest.kt b/src/test/kotlin/platform/mixin/implements/EmptyImplementsTest.kt index efa284a52..51301c088 100644 --- a/src/test/kotlin/platform/mixin/implements/EmptyImplementsTest.kt +++ b/src/test/kotlin/platform/mixin/implements/EmptyImplementsTest.kt @@ -3,7 +3,7 @@ * * https://minecraftdev.org * - * Copyright (c) 2021 minecraft-dev + * Copyright (c) 2022 minecraft-dev * * MIT License */ diff --git a/src/test/kotlin/platform/mixin/implements/InterfaceIsInterfaceTest.kt b/src/test/kotlin/platform/mixin/implements/InterfaceIsInterfaceTest.kt index a2a11b4d5..44ee27f57 100644 --- a/src/test/kotlin/platform/mixin/implements/InterfaceIsInterfaceTest.kt +++ b/src/test/kotlin/platform/mixin/implements/InterfaceIsInterfaceTest.kt @@ -3,7 +3,7 @@ * * https://minecraftdev.org * - * Copyright (c) 2021 minecraft-dev + * Copyright (c) 2022 minecraft-dev * * MIT License */ diff --git a/src/test/kotlin/platform/mixin/implements/InterfacePrefixTest.kt b/src/test/kotlin/platform/mixin/implements/InterfacePrefixTest.kt index 688b967f9..56b897e37 100644 --- a/src/test/kotlin/platform/mixin/implements/InterfacePrefixTest.kt +++ b/src/test/kotlin/platform/mixin/implements/InterfacePrefixTest.kt @@ -3,7 +3,7 @@ * * https://minecraftdev.org * - * Copyright (c) 2021 minecraft-dev + * Copyright (c) 2022 minecraft-dev * * MIT License */ diff --git a/src/test/kotlin/platform/mixin/implements/SoftImplementTest.kt b/src/test/kotlin/platform/mixin/implements/SoftImplementTest.kt index 1dd3cd063..54d69dfd8 100644 --- a/src/test/kotlin/platform/mixin/implements/SoftImplementTest.kt +++ b/src/test/kotlin/platform/mixin/implements/SoftImplementTest.kt @@ -3,7 +3,7 @@ * * https://minecraftdev.org * - * Copyright (c) 2021 minecraft-dev + * Copyright (c) 2022 minecraft-dev * * MIT License */ diff --git a/src/test/kotlin/platform/mixin/shadow/ShadowModifiersInspectionTest.kt b/src/test/kotlin/platform/mixin/shadow/ShadowModifiersInspectionTest.kt index f86e1114e..7d6458de2 100644 --- a/src/test/kotlin/platform/mixin/shadow/ShadowModifiersInspectionTest.kt +++ b/src/test/kotlin/platform/mixin/shadow/ShadowModifiersInspectionTest.kt @@ -3,7 +3,7 @@ * * https://minecraftdev.org * - * Copyright (c) 2021 minecraft-dev + * Copyright (c) 2022 minecraft-dev * * MIT License */ diff --git a/src/test/kotlin/platform/mixin/shadow/ShadowTargetInspectionTest.kt b/src/test/kotlin/platform/mixin/shadow/ShadowTargetInspectionTest.kt index 02a3c135b..8e15dcf9b 100644 --- a/src/test/kotlin/platform/mixin/shadow/ShadowTargetInspectionTest.kt +++ b/src/test/kotlin/platform/mixin/shadow/ShadowTargetInspectionTest.kt @@ -3,7 +3,7 @@ * * https://minecraftdev.org * - * Copyright (c) 2021 minecraft-dev + * Copyright (c) 2022 minecraft-dev * * MIT License */ diff --git a/src/test/kotlin/platform/sponge/BaseSpongeTest.kt b/src/test/kotlin/platform/sponge/BaseSpongeTest.kt index 2a9c72d1e..b7f2b2e40 100644 --- a/src/test/kotlin/platform/sponge/BaseSpongeTest.kt +++ b/src/test/kotlin/platform/sponge/BaseSpongeTest.kt @@ -3,7 +3,7 @@ * * https://minecraftdev.org * - * Copyright (c) 2021 minecraft-dev + * Copyright (c) 2022 minecraft-dev * * MIT License */ diff --git a/src/test/kotlin/platform/sponge/PluginClassInspectionTest.kt b/src/test/kotlin/platform/sponge/PluginClassInspectionTest.kt index 5adccd84d..0b191d73e 100644 --- a/src/test/kotlin/platform/sponge/PluginClassInspectionTest.kt +++ b/src/test/kotlin/platform/sponge/PluginClassInspectionTest.kt @@ -3,7 +3,7 @@ * * https://minecraftdev.org * - * Copyright (c) 2021 minecraft-dev + * Copyright (c) 2022 minecraft-dev * * MIT License */ diff --git a/src/test/kotlin/platform/sponge/SpongeInjectionInspectionTest.kt b/src/test/kotlin/platform/sponge/SpongeInjectionInspectionTest.kt index d43a751da..db63d6bef 100644 --- a/src/test/kotlin/platform/sponge/SpongeInjectionInspectionTest.kt +++ b/src/test/kotlin/platform/sponge/SpongeInjectionInspectionTest.kt @@ -3,7 +3,7 @@ * * https://minecraftdev.org * - * Copyright (c) 2021 minecraft-dev + * Copyright (c) 2022 minecraft-dev * * MIT License */ diff --git a/src/test/kotlin/translations/LangCommenterTest.kt b/src/test/kotlin/translations/LangCommenterTest.kt index 550450367..c42b13b63 100644 --- a/src/test/kotlin/translations/LangCommenterTest.kt +++ b/src/test/kotlin/translations/LangCommenterTest.kt @@ -3,7 +3,7 @@ * * https://minecraftdev.org * - * Copyright (c) 2021 minecraft-dev + * Copyright (c) 2022 minecraft-dev * * MIT License */ diff --git a/src/test/kotlin/translations/LangLexerTest.kt b/src/test/kotlin/translations/LangLexerTest.kt index e499ca046..6cca7cb95 100644 --- a/src/test/kotlin/translations/LangLexerTest.kt +++ b/src/test/kotlin/translations/LangLexerTest.kt @@ -3,7 +3,7 @@ * * https://minecraftdev.org * - * Copyright (c) 2021 minecraft-dev + * Copyright (c) 2022 minecraft-dev * * MIT License */ diff --git a/src/test/kotlin/translations/LangParsingTest.kt b/src/test/kotlin/translations/LangParsingTest.kt index 5a0f7bc9f..165e49f3e 100644 --- a/src/test/kotlin/translations/LangParsingTest.kt +++ b/src/test/kotlin/translations/LangParsingTest.kt @@ -3,7 +3,7 @@ * * https://minecraftdev.org * - * Copyright (c) 2021 minecraft-dev + * Copyright (c) 2022 minecraft-dev * * MIT License */ diff --git a/src/test/kotlin/util/McPsiClassTest.kt b/src/test/kotlin/util/McPsiClassTest.kt index ff19a66e4..455e635e3 100644 --- a/src/test/kotlin/util/McPsiClassTest.kt +++ b/src/test/kotlin/util/McPsiClassTest.kt @@ -3,7 +3,7 @@ * * https://minecraftdev.org * - * Copyright (c) 2021 minecraft-dev + * Copyright (c) 2022 minecraft-dev * * MIT License */ diff --git a/src/test/kotlin/util/OuterClassTest.kt b/src/test/kotlin/util/OuterClassTest.kt index 328567405..ba0e0bf40 100644 --- a/src/test/kotlin/util/OuterClassTest.kt +++ b/src/test/kotlin/util/OuterClassTest.kt @@ -3,7 +3,7 @@ * * https://minecraftdev.org * - * Copyright (c) 2021 minecraft-dev + * Copyright (c) 2022 minecraft-dev * * MIT License */ diff --git a/src/test/kotlin/util/PsiBytecodeUtilTest.kt b/src/test/kotlin/util/PsiBytecodeUtilTest.kt index bc2221838..cb6f33d63 100644 --- a/src/test/kotlin/util/PsiBytecodeUtilTest.kt +++ b/src/test/kotlin/util/PsiBytecodeUtilTest.kt @@ -3,7 +3,7 @@ * * https://minecraftdev.org * - * Copyright (c) 2021 minecraft-dev + * Copyright (c) 2022 minecraft-dev * * MIT License */