factory);
-}
diff --git a/enigma/src/main/java/cuchaz/enigma/api/service/EnigmaService.java b/enigma/src/main/java/cuchaz/enigma/api/service/EnigmaService.java
deleted file mode 100644
index 526dda776..000000000
--- a/enigma/src/main/java/cuchaz/enigma/api/service/EnigmaService.java
+++ /dev/null
@@ -1,4 +0,0 @@
-package cuchaz.enigma.api.service;
-
-public interface EnigmaService {
-}
diff --git a/enigma/src/main/java/cuchaz/enigma/translation/representation/entry/DefEntry.java b/enigma/src/main/java/cuchaz/enigma/translation/representation/entry/DefEntry.java
deleted file mode 100644
index 82536c735..000000000
--- a/enigma/src/main/java/cuchaz/enigma/translation/representation/entry/DefEntry.java
+++ /dev/null
@@ -1,7 +0,0 @@
-package cuchaz.enigma.translation.representation.entry;
-
-import cuchaz.enigma.translation.representation.AccessFlags;
-
-public interface DefEntry> extends Entry
{
- AccessFlags getAccess();
-}
diff --git a/enigma/src/main/java/cuchaz/enigma/Enigma.java b/enigma/src/main/java/org/quiltmc/enigma/Enigma.java
similarity index 85%
rename from enigma/src/main/java/cuchaz/enigma/Enigma.java
rename to enigma/src/main/java/org/quiltmc/enigma/Enigma.java
index aa05f93bc..2ea589572 100644
--- a/enigma/src/main/java/cuchaz/enigma/Enigma.java
+++ b/enigma/src/main/java/org/quiltmc/enigma/Enigma.java
@@ -1,20 +1,20 @@
-package cuchaz.enigma;
-
-import cuchaz.enigma.analysis.index.JarIndex;
-import cuchaz.enigma.api.EnigmaPlugin;
-import cuchaz.enigma.api.EnigmaPluginContext;
-import cuchaz.enigma.api.service.EnigmaService;
-import cuchaz.enigma.api.service.EnigmaServiceContext;
-import cuchaz.enigma.api.service.EnigmaServiceFactory;
-import cuchaz.enigma.api.service.EnigmaServiceType;
-import cuchaz.enigma.api.service.JarIndexerService;
-import cuchaz.enigma.classprovider.CachingClassProvider;
-import cuchaz.enigma.classprovider.ClassProvider;
-import cuchaz.enigma.classprovider.CombiningClassProvider;
-import cuchaz.enigma.classprovider.JarClassProvider;
-import cuchaz.enigma.classprovider.ObfuscationFixClassProvider;
-import cuchaz.enigma.utils.I18n;
-import cuchaz.enigma.utils.Utils;
+package org.quiltmc.enigma;
+
+import org.quiltmc.enigma.analysis.index.JarIndex;
+import org.quiltmc.enigma.api.EnigmaPlugin;
+import org.quiltmc.enigma.api.EnigmaPluginContext;
+import org.quiltmc.enigma.api.service.EnigmaService;
+import org.quiltmc.enigma.api.service.EnigmaServiceContext;
+import org.quiltmc.enigma.api.service.EnigmaServiceFactory;
+import org.quiltmc.enigma.api.service.EnigmaServiceType;
+import org.quiltmc.enigma.api.service.JarIndexerService;
+import org.quiltmc.enigma.classprovider.CachingClassProvider;
+import org.quiltmc.enigma.classprovider.ClassProvider;
+import org.quiltmc.enigma.classprovider.CombiningClassProvider;
+import org.quiltmc.enigma.classprovider.JarClassProvider;
+import org.quiltmc.enigma.classprovider.ObfuscationFixClassProvider;
+import org.quiltmc.enigma.util.I18n;
+import org.quiltmc.enigma.util.Utils;
import com.google.common.base.Preconditions;
import com.google.common.collect.ImmutableListMultimap;
import org.objectweb.asm.Opcodes;
diff --git a/enigma/src/main/java/cuchaz/enigma/EnigmaProfile.java b/enigma/src/main/java/org/quiltmc/enigma/EnigmaProfile.java
similarity index 95%
rename from enigma/src/main/java/cuchaz/enigma/EnigmaProfile.java
rename to enigma/src/main/java/org/quiltmc/enigma/EnigmaProfile.java
index 58925fc57..0573539a4 100644
--- a/enigma/src/main/java/cuchaz/enigma/EnigmaProfile.java
+++ b/enigma/src/main/java/org/quiltmc/enigma/EnigmaProfile.java
@@ -1,4 +1,4 @@
-package cuchaz.enigma;
+package org.quiltmc.enigma;
import com.google.common.collect.ImmutableMap;
import com.google.gson.Gson;
@@ -10,9 +10,9 @@
import com.google.gson.JsonParseException;
import com.google.gson.annotations.SerializedName;
import com.google.gson.reflect.TypeToken;
-import cuchaz.enigma.api.service.EnigmaServiceType;
-import cuchaz.enigma.translation.mapping.serde.MappingFileNameFormat;
-import cuchaz.enigma.translation.mapping.serde.MappingSaveParameters;
+import org.quiltmc.enigma.api.service.EnigmaServiceType;
+import org.quiltmc.enigma.translation.mapping.serde.MappingFileNameFormat;
+import org.quiltmc.enigma.translation.mapping.serde.MappingSaveParameters;
import org.tinylog.Logger;
import javax.annotation.Nullable;
diff --git a/enigma/src/main/java/cuchaz/enigma/EnigmaProject.java b/enigma/src/main/java/org/quiltmc/enigma/EnigmaProject.java
similarity index 89%
rename from enigma/src/main/java/cuchaz/enigma/EnigmaProject.java
rename to enigma/src/main/java/org/quiltmc/enigma/EnigmaProject.java
index 5dc06bb8c..9d007e600 100644
--- a/enigma/src/main/java/cuchaz/enigma/EnigmaProject.java
+++ b/enigma/src/main/java/org/quiltmc/enigma/EnigmaProject.java
@@ -1,32 +1,32 @@
-package cuchaz.enigma;
+package org.quiltmc.enigma;
import com.google.common.base.Functions;
import com.google.common.base.Preconditions;
-import cuchaz.enigma.analysis.EntryReference;
-import cuchaz.enigma.analysis.index.EnclosingMethodIndex;
-import cuchaz.enigma.analysis.index.JarIndex;
-import cuchaz.enigma.api.service.NameProposalService;
-import cuchaz.enigma.api.service.ObfuscationTestService;
-import cuchaz.enigma.bytecode.translators.TranslationClassVisitor;
-import cuchaz.enigma.classprovider.ClassProvider;
-import cuchaz.enigma.classprovider.ObfuscationFixClassProvider;
-import cuchaz.enigma.source.Decompiler;
-import cuchaz.enigma.source.DecompilerService;
-import cuchaz.enigma.source.SourceSettings;
-import cuchaz.enigma.translation.ProposingTranslator;
-import cuchaz.enigma.translation.Translator;
-import cuchaz.enigma.translation.mapping.EntryMapping;
-import cuchaz.enigma.translation.mapping.EntryRemapper;
-import cuchaz.enigma.translation.mapping.MappingsChecker;
-import cuchaz.enigma.translation.mapping.tree.DeltaTrackingTree;
-import cuchaz.enigma.translation.mapping.tree.EntryTree;
-import cuchaz.enigma.translation.representation.entry.ClassDefEntry;
-import cuchaz.enigma.translation.representation.entry.ClassEntry;
-import cuchaz.enigma.translation.representation.entry.Entry;
-import cuchaz.enigma.translation.representation.entry.LocalVariableEntry;
-import cuchaz.enigma.translation.representation.entry.MethodEntry;
-import cuchaz.enigma.utils.I18n;
-import cuchaz.enigma.utils.Pair;
+import org.quiltmc.enigma.analysis.EntryReference;
+import org.quiltmc.enigma.analysis.index.EnclosingMethodIndex;
+import org.quiltmc.enigma.analysis.index.JarIndex;
+import org.quiltmc.enigma.api.service.NameProposalService;
+import org.quiltmc.enigma.api.service.ObfuscationTestService;
+import org.quiltmc.enigma.bytecode.translator.TranslationClassVisitor;
+import org.quiltmc.enigma.classprovider.ClassProvider;
+import org.quiltmc.enigma.classprovider.ObfuscationFixClassProvider;
+import org.quiltmc.enigma.source.Decompiler;
+import org.quiltmc.enigma.source.DecompilerService;
+import org.quiltmc.enigma.source.SourceSettings;
+import org.quiltmc.enigma.translation.ProposingTranslator;
+import org.quiltmc.enigma.translation.Translator;
+import org.quiltmc.enigma.translation.mapping.EntryMapping;
+import org.quiltmc.enigma.translation.mapping.EntryRemapper;
+import org.quiltmc.enigma.translation.mapping.MappingsChecker;
+import org.quiltmc.enigma.translation.mapping.tree.DeltaTrackingTree;
+import org.quiltmc.enigma.translation.mapping.tree.EntryTree;
+import org.quiltmc.enigma.translation.representation.entry.ClassDefEntry;
+import org.quiltmc.enigma.translation.representation.entry.ClassEntry;
+import org.quiltmc.enigma.translation.representation.entry.Entry;
+import org.quiltmc.enigma.translation.representation.entry.LocalVariableEntry;
+import org.quiltmc.enigma.translation.representation.entry.MethodEntry;
+import org.quiltmc.enigma.util.I18n;
+import org.quiltmc.enigma.util.Pair;
import org.objectweb.asm.ClassWriter;
import org.objectweb.asm.tree.ClassNode;
import org.tinylog.Logger;
diff --git a/enigma/src/main/java/cuchaz/enigma/EnigmaServices.java b/enigma/src/main/java/org/quiltmc/enigma/EnigmaServices.java
similarity index 86%
rename from enigma/src/main/java/cuchaz/enigma/EnigmaServices.java
rename to enigma/src/main/java/org/quiltmc/enigma/EnigmaServices.java
index 6a8bf2432..1c35ce199 100644
--- a/enigma/src/main/java/cuchaz/enigma/EnigmaServices.java
+++ b/enigma/src/main/java/org/quiltmc/enigma/EnigmaServices.java
@@ -1,8 +1,8 @@
-package cuchaz.enigma;
+package org.quiltmc.enigma;
import com.google.common.collect.ImmutableListMultimap;
-import cuchaz.enigma.api.service.EnigmaService;
-import cuchaz.enigma.api.service.EnigmaServiceType;
+import org.quiltmc.enigma.api.service.EnigmaService;
+import org.quiltmc.enigma.api.service.EnigmaServiceType;
import java.util.List;
diff --git a/enigma/src/main/java/cuchaz/enigma/ProgressListener.java b/enigma/src/main/java/org/quiltmc/enigma/ProgressListener.java
similarity index 92%
rename from enigma/src/main/java/cuchaz/enigma/ProgressListener.java
rename to enigma/src/main/java/org/quiltmc/enigma/ProgressListener.java
index 634163fbe..d6839d162 100644
--- a/enigma/src/main/java/cuchaz/enigma/ProgressListener.java
+++ b/enigma/src/main/java/org/quiltmc/enigma/ProgressListener.java
@@ -1,4 +1,4 @@
-package cuchaz.enigma;
+package org.quiltmc.enigma;
public interface ProgressListener {
static ProgressListener none() {
diff --git a/enigma/src/main/java/cuchaz/enigma/analysis/AbstractClassTreeNode.java b/enigma/src/main/java/org/quiltmc/enigma/analysis/AbstractClassTreeNode.java
similarity index 78%
rename from enigma/src/main/java/cuchaz/enigma/analysis/AbstractClassTreeNode.java
rename to enigma/src/main/java/org/quiltmc/enigma/analysis/AbstractClassTreeNode.java
index fe9690832..544cabe21 100644
--- a/enigma/src/main/java/cuchaz/enigma/analysis/AbstractClassTreeNode.java
+++ b/enigma/src/main/java/org/quiltmc/enigma/analysis/AbstractClassTreeNode.java
@@ -1,8 +1,8 @@
-package cuchaz.enigma.analysis;
+package org.quiltmc.enigma.analysis;
-import cuchaz.enigma.translation.TranslateResult;
-import cuchaz.enigma.translation.Translator;
-import cuchaz.enigma.translation.representation.entry.ClassEntry;
+import org.quiltmc.enigma.translation.TranslateResult;
+import org.quiltmc.enigma.translation.Translator;
+import org.quiltmc.enigma.translation.representation.entry.ClassEntry;
import javax.swing.tree.DefaultMutableTreeNode;
diff --git a/enigma/src/main/java/cuchaz/enigma/analysis/AbstractMethodTreeNode.java b/enigma/src/main/java/org/quiltmc/enigma/analysis/AbstractMethodTreeNode.java
similarity index 75%
rename from enigma/src/main/java/cuchaz/enigma/analysis/AbstractMethodTreeNode.java
rename to enigma/src/main/java/org/quiltmc/enigma/analysis/AbstractMethodTreeNode.java
index 3c2821ebc..c36f76c39 100644
--- a/enigma/src/main/java/cuchaz/enigma/analysis/AbstractMethodTreeNode.java
+++ b/enigma/src/main/java/org/quiltmc/enigma/analysis/AbstractMethodTreeNode.java
@@ -1,7 +1,7 @@
-package cuchaz.enigma.analysis;
+package org.quiltmc.enigma.analysis;
-import cuchaz.enigma.translation.Translator;
-import cuchaz.enigma.translation.representation.entry.MethodEntry;
+import org.quiltmc.enigma.translation.Translator;
+import org.quiltmc.enigma.translation.representation.entry.MethodEntry;
import javax.swing.tree.DefaultMutableTreeNode;
diff --git a/enigma/src/main/java/cuchaz/enigma/analysis/Access.java b/enigma/src/main/java/org/quiltmc/enigma/analysis/Access.java
similarity index 87%
rename from enigma/src/main/java/cuchaz/enigma/analysis/Access.java
rename to enigma/src/main/java/org/quiltmc/enigma/analysis/Access.java
index d54190ad2..ec6631476 100644
--- a/enigma/src/main/java/cuchaz/enigma/analysis/Access.java
+++ b/enigma/src/main/java/org/quiltmc/enigma/analysis/Access.java
@@ -1,6 +1,6 @@
-package cuchaz.enigma.analysis;
+package org.quiltmc.enigma.analysis;
-import cuchaz.enigma.translation.representation.AccessFlags;
+import org.quiltmc.enigma.translation.representation.AccessFlags;
import java.lang.reflect.Modifier;
diff --git a/enigma/src/main/java/cuchaz/enigma/analysis/BuiltinPlugin.java b/enigma/src/main/java/org/quiltmc/enigma/analysis/BuiltinPlugin.java
similarity index 87%
rename from enigma/src/main/java/cuchaz/enigma/analysis/BuiltinPlugin.java
rename to enigma/src/main/java/org/quiltmc/enigma/analysis/BuiltinPlugin.java
index 1a9ef2ba2..4392848f0 100644
--- a/enigma/src/main/java/cuchaz/enigma/analysis/BuiltinPlugin.java
+++ b/enigma/src/main/java/org/quiltmc/enigma/analysis/BuiltinPlugin.java
@@ -1,19 +1,19 @@
-package cuchaz.enigma.analysis;
-
-import cuchaz.enigma.Enigma;
-import cuchaz.enigma.analysis.index.BridgeMethodIndex;
-import cuchaz.enigma.api.EnigmaPlugin;
-import cuchaz.enigma.api.EnigmaPluginContext;
-import cuchaz.enigma.api.service.JarIndexerService;
-import cuchaz.enigma.api.service.NameProposalService;
-import cuchaz.enigma.source.DecompilerService;
-import cuchaz.enigma.source.Decompilers;
-import cuchaz.enigma.translation.representation.TypeDescriptor;
-import cuchaz.enigma.translation.representation.entry.ClassEntry;
-import cuchaz.enigma.translation.representation.entry.Entry;
-import cuchaz.enigma.translation.representation.entry.FieldEntry;
-import cuchaz.enigma.translation.representation.entry.MethodEntry;
-import cuchaz.enigma.translation.representation.entry.ParentedEntry;
+package org.quiltmc.enigma.analysis;
+
+import org.quiltmc.enigma.Enigma;
+import org.quiltmc.enigma.analysis.index.BridgeMethodIndex;
+import org.quiltmc.enigma.api.EnigmaPlugin;
+import org.quiltmc.enigma.api.EnigmaPluginContext;
+import org.quiltmc.enigma.api.service.JarIndexerService;
+import org.quiltmc.enigma.api.service.NameProposalService;
+import org.quiltmc.enigma.source.DecompilerService;
+import org.quiltmc.enigma.source.Decompilers;
+import org.quiltmc.enigma.translation.representation.TypeDescriptor;
+import org.quiltmc.enigma.translation.representation.entry.ClassEntry;
+import org.quiltmc.enigma.translation.representation.entry.Entry;
+import org.quiltmc.enigma.translation.representation.entry.FieldEntry;
+import org.quiltmc.enigma.translation.representation.entry.MethodEntry;
+import org.quiltmc.enigma.translation.representation.entry.ParentedEntry;
import org.jetbrains.java.decompiler.util.Pair;
import org.objectweb.asm.ClassVisitor;
import org.objectweb.asm.FieldVisitor;
diff --git a/enigma/src/main/java/cuchaz/enigma/analysis/ClassImplementationsTreeNode.java b/enigma/src/main/java/org/quiltmc/enigma/analysis/ClassImplementationsTreeNode.java
similarity index 77%
rename from enigma/src/main/java/cuchaz/enigma/analysis/ClassImplementationsTreeNode.java
rename to enigma/src/main/java/org/quiltmc/enigma/analysis/ClassImplementationsTreeNode.java
index 18951f9b7..3cc4795f2 100644
--- a/enigma/src/main/java/cuchaz/enigma/analysis/ClassImplementationsTreeNode.java
+++ b/enigma/src/main/java/org/quiltmc/enigma/analysis/ClassImplementationsTreeNode.java
@@ -1,10 +1,10 @@
-package cuchaz.enigma.analysis;
+package org.quiltmc.enigma.analysis;
-import cuchaz.enigma.analysis.index.InheritanceIndex;
-import cuchaz.enigma.analysis.index.JarIndex;
-import cuchaz.enigma.translation.Translator;
-import cuchaz.enigma.translation.representation.entry.ClassEntry;
-import cuchaz.enigma.translation.representation.entry.MethodEntry;
+import org.quiltmc.enigma.analysis.index.InheritanceIndex;
+import org.quiltmc.enigma.analysis.index.JarIndex;
+import org.quiltmc.enigma.translation.Translator;
+import org.quiltmc.enigma.translation.representation.entry.ClassEntry;
+import org.quiltmc.enigma.translation.representation.entry.MethodEntry;
import java.util.ArrayList;
import java.util.Collection;
diff --git a/enigma/src/main/java/cuchaz/enigma/analysis/ClassInheritanceTreeNode.java b/enigma/src/main/java/org/quiltmc/enigma/analysis/ClassInheritanceTreeNode.java
similarity index 84%
rename from enigma/src/main/java/cuchaz/enigma/analysis/ClassInheritanceTreeNode.java
rename to enigma/src/main/java/org/quiltmc/enigma/analysis/ClassInheritanceTreeNode.java
index 6c09c46ba..45a2fef3e 100644
--- a/enigma/src/main/java/cuchaz/enigma/analysis/ClassInheritanceTreeNode.java
+++ b/enigma/src/main/java/org/quiltmc/enigma/analysis/ClassInheritanceTreeNode.java
@@ -1,8 +1,8 @@
-package cuchaz.enigma.analysis;
+package org.quiltmc.enigma.analysis;
-import cuchaz.enigma.analysis.index.InheritanceIndex;
-import cuchaz.enigma.translation.Translator;
-import cuchaz.enigma.translation.representation.entry.ClassEntry;
+import org.quiltmc.enigma.analysis.index.InheritanceIndex;
+import org.quiltmc.enigma.translation.Translator;
+import org.quiltmc.enigma.translation.representation.entry.ClassEntry;
import java.util.ArrayList;
import java.util.List;
diff --git a/enigma/src/main/java/cuchaz/enigma/analysis/ClassReferenceTreeNode.java b/enigma/src/main/java/org/quiltmc/enigma/analysis/ClassReferenceTreeNode.java
similarity index 84%
rename from enigma/src/main/java/cuchaz/enigma/analysis/ClassReferenceTreeNode.java
rename to enigma/src/main/java/org/quiltmc/enigma/analysis/ClassReferenceTreeNode.java
index 38d5bec24..fd2216207 100644
--- a/enigma/src/main/java/cuchaz/enigma/analysis/ClassReferenceTreeNode.java
+++ b/enigma/src/main/java/org/quiltmc/enigma/analysis/ClassReferenceTreeNode.java
@@ -1,12 +1,12 @@
-package cuchaz.enigma.analysis;
+package org.quiltmc.enigma.analysis;
import com.google.common.collect.Sets;
-import cuchaz.enigma.analysis.index.JarIndex;
-import cuchaz.enigma.analysis.index.ReferenceIndex;
-import cuchaz.enigma.translation.Translator;
-import cuchaz.enigma.translation.representation.entry.ClassEntry;
-import cuchaz.enigma.translation.representation.entry.Entry;
-import cuchaz.enigma.translation.representation.entry.MethodDefEntry;
+import org.quiltmc.enigma.analysis.index.JarIndex;
+import org.quiltmc.enigma.analysis.index.ReferenceIndex;
+import org.quiltmc.enigma.translation.Translator;
+import org.quiltmc.enigma.translation.representation.entry.ClassEntry;
+import org.quiltmc.enigma.translation.representation.entry.Entry;
+import org.quiltmc.enigma.translation.representation.entry.MethodDefEntry;
import javax.swing.tree.DefaultMutableTreeNode;
import javax.swing.tree.TreeNode;
diff --git a/enigma/src/main/java/cuchaz/enigma/analysis/EntryReference.java b/enigma/src/main/java/org/quiltmc/enigma/analysis/EntryReference.java
similarity index 87%
rename from enigma/src/main/java/cuchaz/enigma/analysis/EntryReference.java
rename to enigma/src/main/java/org/quiltmc/enigma/analysis/EntryReference.java
index 2e4cf0b09..d3d10034c 100644
--- a/enigma/src/main/java/cuchaz/enigma/analysis/EntryReference.java
+++ b/enigma/src/main/java/org/quiltmc/enigma/analysis/EntryReference.java
@@ -1,14 +1,14 @@
-package cuchaz.enigma.analysis;
-
-import cuchaz.enigma.translation.Translatable;
-import cuchaz.enigma.translation.TranslateResult;
-import cuchaz.enigma.translation.Translator;
-import cuchaz.enigma.translation.mapping.EntryMap;
-import cuchaz.enigma.translation.mapping.EntryMapping;
-import cuchaz.enigma.translation.mapping.EntryResolver;
-import cuchaz.enigma.translation.representation.entry.ClassEntry;
-import cuchaz.enigma.translation.representation.entry.Entry;
-import cuchaz.enigma.translation.representation.entry.MethodEntry;
+package org.quiltmc.enigma.analysis;
+
+import org.quiltmc.enigma.translation.Translatable;
+import org.quiltmc.enigma.translation.TranslateResult;
+import org.quiltmc.enigma.translation.Translator;
+import org.quiltmc.enigma.translation.mapping.EntryMap;
+import org.quiltmc.enigma.translation.mapping.EntryMapping;
+import org.quiltmc.enigma.translation.mapping.EntryResolver;
+import org.quiltmc.enigma.translation.representation.entry.ClassEntry;
+import org.quiltmc.enigma.translation.representation.entry.Entry;
+import org.quiltmc.enigma.translation.representation.entry.MethodEntry;
import java.util.Arrays;
import java.util.List;
diff --git a/enigma/src/main/java/cuchaz/enigma/analysis/FieldReferenceTreeNode.java b/enigma/src/main/java/org/quiltmc/enigma/analysis/FieldReferenceTreeNode.java
similarity index 82%
rename from enigma/src/main/java/cuchaz/enigma/analysis/FieldReferenceTreeNode.java
rename to enigma/src/main/java/org/quiltmc/enigma/analysis/FieldReferenceTreeNode.java
index e49dddb8a..bb51e3fd5 100644
--- a/enigma/src/main/java/cuchaz/enigma/analysis/FieldReferenceTreeNode.java
+++ b/enigma/src/main/java/org/quiltmc/enigma/analysis/FieldReferenceTreeNode.java
@@ -1,11 +1,11 @@
-package cuchaz.enigma.analysis;
+package org.quiltmc.enigma.analysis;
-import cuchaz.enigma.analysis.index.JarIndex;
-import cuchaz.enigma.analysis.index.ReferenceIndex;
-import cuchaz.enigma.translation.Translator;
-import cuchaz.enigma.translation.representation.entry.FieldEntry;
-import cuchaz.enigma.translation.representation.entry.MethodDefEntry;
-import cuchaz.enigma.translation.representation.entry.MethodEntry;
+import org.quiltmc.enigma.analysis.index.JarIndex;
+import org.quiltmc.enigma.analysis.index.ReferenceIndex;
+import org.quiltmc.enigma.translation.Translator;
+import org.quiltmc.enigma.translation.representation.entry.FieldEntry;
+import org.quiltmc.enigma.translation.representation.entry.MethodDefEntry;
+import org.quiltmc.enigma.translation.representation.entry.MethodEntry;
import javax.swing.tree.DefaultMutableTreeNode;
diff --git a/enigma/src/main/java/cuchaz/enigma/analysis/IndexSimpleVerifier.java b/enigma/src/main/java/org/quiltmc/enigma/analysis/IndexSimpleVerifier.java
similarity index 91%
rename from enigma/src/main/java/cuchaz/enigma/analysis/IndexSimpleVerifier.java
rename to enigma/src/main/java/org/quiltmc/enigma/analysis/IndexSimpleVerifier.java
index 55d72e155..9e74c5438 100644
--- a/enigma/src/main/java/cuchaz/enigma/analysis/IndexSimpleVerifier.java
+++ b/enigma/src/main/java/org/quiltmc/enigma/analysis/IndexSimpleVerifier.java
@@ -1,11 +1,11 @@
-package cuchaz.enigma.analysis;
-
-import cuchaz.enigma.Enigma;
-import cuchaz.enigma.analysis.index.EntryIndex;
-import cuchaz.enigma.analysis.index.InheritanceIndex;
-import cuchaz.enigma.translation.representation.AccessFlags;
-import cuchaz.enigma.translation.representation.entry.ClassDefEntry;
-import cuchaz.enigma.translation.representation.entry.ClassEntry;
+package org.quiltmc.enigma.analysis;
+
+import org.quiltmc.enigma.Enigma;
+import org.quiltmc.enigma.analysis.index.EntryIndex;
+import org.quiltmc.enigma.analysis.index.InheritanceIndex;
+import org.quiltmc.enigma.translation.representation.AccessFlags;
+import org.quiltmc.enigma.translation.representation.entry.ClassDefEntry;
+import org.quiltmc.enigma.translation.representation.entry.ClassEntry;
import org.objectweb.asm.Type;
import org.objectweb.asm.tree.analysis.BasicValue;
import org.objectweb.asm.tree.analysis.SimpleVerifier;
diff --git a/enigma/src/main/java/cuchaz/enigma/analysis/IndexTreeBuilder.java b/enigma/src/main/java/org/quiltmc/enigma/analysis/IndexTreeBuilder.java
similarity index 84%
rename from enigma/src/main/java/cuchaz/enigma/analysis/IndexTreeBuilder.java
rename to enigma/src/main/java/org/quiltmc/enigma/analysis/IndexTreeBuilder.java
index 1dd4bc6ad..9c2a89216 100644
--- a/enigma/src/main/java/cuchaz/enigma/analysis/IndexTreeBuilder.java
+++ b/enigma/src/main/java/org/quiltmc/enigma/analysis/IndexTreeBuilder.java
@@ -1,11 +1,11 @@
-package cuchaz.enigma.analysis;
-
-import cuchaz.enigma.analysis.index.JarIndex;
-import cuchaz.enigma.translation.Translator;
-import cuchaz.enigma.translation.mapping.EntryResolver;
-import cuchaz.enigma.translation.mapping.ResolutionStrategy;
-import cuchaz.enigma.translation.representation.entry.ClassEntry;
-import cuchaz.enigma.translation.representation.entry.MethodEntry;
+package org.quiltmc.enigma.analysis;
+
+import org.quiltmc.enigma.analysis.index.JarIndex;
+import org.quiltmc.enigma.translation.Translator;
+import org.quiltmc.enigma.translation.mapping.EntryResolver;
+import org.quiltmc.enigma.translation.mapping.ResolutionStrategy;
+import org.quiltmc.enigma.translation.representation.entry.ClassEntry;
+import org.quiltmc.enigma.translation.representation.entry.MethodEntry;
import java.util.ArrayList;
import java.util.Collection;
diff --git a/enigma/src/main/java/cuchaz/enigma/analysis/InterpreterPair.java b/enigma/src/main/java/org/quiltmc/enigma/analysis/InterpreterPair.java
similarity index 98%
rename from enigma/src/main/java/cuchaz/enigma/analysis/InterpreterPair.java
rename to enigma/src/main/java/org/quiltmc/enigma/analysis/InterpreterPair.java
index b39562e70..9a17c2841 100644
--- a/enigma/src/main/java/cuchaz/enigma/analysis/InterpreterPair.java
+++ b/enigma/src/main/java/org/quiltmc/enigma/analysis/InterpreterPair.java
@@ -1,6 +1,6 @@
-package cuchaz.enigma.analysis;
+package org.quiltmc.enigma.analysis;
-import cuchaz.enigma.Enigma;
+import org.quiltmc.enigma.Enigma;
import org.objectweb.asm.Type;
import org.objectweb.asm.tree.AbstractInsnNode;
import org.objectweb.asm.tree.analysis.AnalyzerException;
diff --git a/enigma/src/main/java/cuchaz/enigma/analysis/MethodImplementationsTreeNode.java b/enigma/src/main/java/org/quiltmc/enigma/analysis/MethodImplementationsTreeNode.java
similarity index 80%
rename from enigma/src/main/java/cuchaz/enigma/analysis/MethodImplementationsTreeNode.java
rename to enigma/src/main/java/org/quiltmc/enigma/analysis/MethodImplementationsTreeNode.java
index 98488b26e..47c28a45a 100644
--- a/enigma/src/main/java/cuchaz/enigma/analysis/MethodImplementationsTreeNode.java
+++ b/enigma/src/main/java/org/quiltmc/enigma/analysis/MethodImplementationsTreeNode.java
@@ -1,11 +1,11 @@
-package cuchaz.enigma.analysis;
-
-import cuchaz.enigma.analysis.index.EntryIndex;
-import cuchaz.enigma.analysis.index.InheritanceIndex;
-import cuchaz.enigma.analysis.index.JarIndex;
-import cuchaz.enigma.translation.Translator;
-import cuchaz.enigma.translation.representation.entry.ClassEntry;
-import cuchaz.enigma.translation.representation.entry.MethodEntry;
+package org.quiltmc.enigma.analysis;
+
+import org.quiltmc.enigma.analysis.index.EntryIndex;
+import org.quiltmc.enigma.analysis.index.InheritanceIndex;
+import org.quiltmc.enigma.analysis.index.JarIndex;
+import org.quiltmc.enigma.translation.Translator;
+import org.quiltmc.enigma.translation.representation.entry.ClassEntry;
+import org.quiltmc.enigma.translation.representation.entry.MethodEntry;
import java.util.ArrayList;
import java.util.Collection;
diff --git a/enigma/src/main/java/cuchaz/enigma/analysis/MethodInheritanceTreeNode.java b/enigma/src/main/java/org/quiltmc/enigma/analysis/MethodInheritanceTreeNode.java
similarity index 82%
rename from enigma/src/main/java/cuchaz/enigma/analysis/MethodInheritanceTreeNode.java
rename to enigma/src/main/java/org/quiltmc/enigma/analysis/MethodInheritanceTreeNode.java
index 251b890f0..86d2563ec 100644
--- a/enigma/src/main/java/cuchaz/enigma/analysis/MethodInheritanceTreeNode.java
+++ b/enigma/src/main/java/org/quiltmc/enigma/analysis/MethodInheritanceTreeNode.java
@@ -1,11 +1,11 @@
-package cuchaz.enigma.analysis;
+package org.quiltmc.enigma.analysis;
-import cuchaz.enigma.analysis.index.EntryIndex;
-import cuchaz.enigma.analysis.index.InheritanceIndex;
-import cuchaz.enigma.analysis.index.JarIndex;
-import cuchaz.enigma.translation.Translator;
-import cuchaz.enigma.translation.representation.entry.ClassEntry;
-import cuchaz.enigma.translation.representation.entry.MethodEntry;
+import org.quiltmc.enigma.analysis.index.EntryIndex;
+import org.quiltmc.enigma.analysis.index.InheritanceIndex;
+import org.quiltmc.enigma.analysis.index.JarIndex;
+import org.quiltmc.enigma.translation.Translator;
+import org.quiltmc.enigma.translation.representation.entry.ClassEntry;
+import org.quiltmc.enigma.translation.representation.entry.MethodEntry;
public class MethodInheritanceTreeNode extends AbstractMethodTreeNode {
private final boolean implemented;
diff --git a/enigma/src/main/java/cuchaz/enigma/analysis/MethodNodeWithAction.java b/enigma/src/main/java/org/quiltmc/enigma/analysis/MethodNodeWithAction.java
similarity index 93%
rename from enigma/src/main/java/cuchaz/enigma/analysis/MethodNodeWithAction.java
rename to enigma/src/main/java/org/quiltmc/enigma/analysis/MethodNodeWithAction.java
index cf6dbd733..5fed55f15 100644
--- a/enigma/src/main/java/cuchaz/enigma/analysis/MethodNodeWithAction.java
+++ b/enigma/src/main/java/org/quiltmc/enigma/analysis/MethodNodeWithAction.java
@@ -1,4 +1,4 @@
-package cuchaz.enigma.analysis;
+package org.quiltmc.enigma.analysis;
import org.objectweb.asm.tree.MethodNode;
diff --git a/enigma/src/main/java/cuchaz/enigma/analysis/MethodReferenceTreeNode.java b/enigma/src/main/java/org/quiltmc/enigma/analysis/MethodReferenceTreeNode.java
similarity index 85%
rename from enigma/src/main/java/cuchaz/enigma/analysis/MethodReferenceTreeNode.java
rename to enigma/src/main/java/org/quiltmc/enigma/analysis/MethodReferenceTreeNode.java
index ffcae53d1..c5a863c58 100644
--- a/enigma/src/main/java/cuchaz/enigma/analysis/MethodReferenceTreeNode.java
+++ b/enigma/src/main/java/org/quiltmc/enigma/analysis/MethodReferenceTreeNode.java
@@ -1,13 +1,13 @@
-package cuchaz.enigma.analysis;
+package org.quiltmc.enigma.analysis;
import com.google.common.collect.Sets;
-import cuchaz.enigma.analysis.index.JarIndex;
-import cuchaz.enigma.analysis.index.ReferenceIndex;
-import cuchaz.enigma.translation.Translator;
-import cuchaz.enigma.translation.mapping.EntryResolver;
-import cuchaz.enigma.translation.representation.entry.Entry;
-import cuchaz.enigma.translation.representation.entry.MethodDefEntry;
-import cuchaz.enigma.translation.representation.entry.MethodEntry;
+import org.quiltmc.enigma.analysis.index.JarIndex;
+import org.quiltmc.enigma.analysis.index.ReferenceIndex;
+import org.quiltmc.enigma.translation.Translator;
+import org.quiltmc.enigma.translation.mapping.EntryResolver;
+import org.quiltmc.enigma.translation.representation.entry.Entry;
+import org.quiltmc.enigma.translation.representation.entry.MethodDefEntry;
+import org.quiltmc.enigma.translation.representation.entry.MethodEntry;
import javax.swing.tree.DefaultMutableTreeNode;
import javax.swing.tree.TreeNode;
diff --git a/enigma/src/main/java/cuchaz/enigma/analysis/ReferenceTargetType.java b/enigma/src/main/java/org/quiltmc/enigma/analysis/ReferenceTargetType.java
similarity index 92%
rename from enigma/src/main/java/cuchaz/enigma/analysis/ReferenceTargetType.java
rename to enigma/src/main/java/org/quiltmc/enigma/analysis/ReferenceTargetType.java
index 6a4d20cb4..95ec56ae9 100644
--- a/enigma/src/main/java/cuchaz/enigma/analysis/ReferenceTargetType.java
+++ b/enigma/src/main/java/org/quiltmc/enigma/analysis/ReferenceTargetType.java
@@ -1,6 +1,6 @@
-package cuchaz.enigma.analysis;
+package org.quiltmc.enigma.analysis;
-import cuchaz.enigma.translation.representation.entry.ClassEntry;
+import org.quiltmc.enigma.translation.representation.entry.ClassEntry;
public abstract class ReferenceTargetType {
public abstract Kind getKind();
diff --git a/enigma/src/main/java/cuchaz/enigma/analysis/ReferenceTreeNode.java b/enigma/src/main/java/org/quiltmc/enigma/analysis/ReferenceTreeNode.java
similarity index 65%
rename from enigma/src/main/java/cuchaz/enigma/analysis/ReferenceTreeNode.java
rename to enigma/src/main/java/org/quiltmc/enigma/analysis/ReferenceTreeNode.java
index b394ede7e..4be4abd8f 100644
--- a/enigma/src/main/java/cuchaz/enigma/analysis/ReferenceTreeNode.java
+++ b/enigma/src/main/java/org/quiltmc/enigma/analysis/ReferenceTreeNode.java
@@ -1,6 +1,6 @@
-package cuchaz.enigma.analysis;
+package org.quiltmc.enigma.analysis;
-import cuchaz.enigma.translation.representation.entry.Entry;
+import org.quiltmc.enigma.translation.representation.entry.Entry;
public interface ReferenceTreeNode, C extends Entry>> {
/**
diff --git a/enigma/src/main/java/cuchaz/enigma/analysis/StructureTreeNode.java b/enigma/src/main/java/org/quiltmc/enigma/analysis/StructureTreeNode.java
similarity index 88%
rename from enigma/src/main/java/cuchaz/enigma/analysis/StructureTreeNode.java
rename to enigma/src/main/java/org/quiltmc/enigma/analysis/StructureTreeNode.java
index a46836de3..9b3b161a5 100644
--- a/enigma/src/main/java/cuchaz/enigma/analysis/StructureTreeNode.java
+++ b/enigma/src/main/java/org/quiltmc/enigma/analysis/StructureTreeNode.java
@@ -1,18 +1,18 @@
-package cuchaz.enigma.analysis;
-
-import cuchaz.enigma.EnigmaProject;
-import cuchaz.enigma.api.service.NameProposalService;
-import cuchaz.enigma.translation.TranslateResult;
-import cuchaz.enigma.translation.mapping.EntryRemapper;
-import cuchaz.enigma.translation.representation.AccessFlags;
-import cuchaz.enigma.translation.representation.TypeDescriptor;
-import cuchaz.enigma.translation.representation.entry.ClassDefEntry;
-import cuchaz.enigma.translation.representation.entry.ClassEntry;
-import cuchaz.enigma.translation.representation.entry.DefEntry;
-import cuchaz.enigma.translation.representation.entry.FieldDefEntry;
-import cuchaz.enigma.translation.representation.entry.MethodDefEntry;
-import cuchaz.enigma.translation.representation.entry.MethodEntry;
-import cuchaz.enigma.translation.representation.entry.ParentedEntry;
+package org.quiltmc.enigma.analysis;
+
+import org.quiltmc.enigma.EnigmaProject;
+import org.quiltmc.enigma.api.service.NameProposalService;
+import org.quiltmc.enigma.translation.TranslateResult;
+import org.quiltmc.enigma.translation.mapping.EntryRemapper;
+import org.quiltmc.enigma.translation.representation.AccessFlags;
+import org.quiltmc.enigma.translation.representation.TypeDescriptor;
+import org.quiltmc.enigma.translation.representation.entry.ClassDefEntry;
+import org.quiltmc.enigma.translation.representation.entry.ClassEntry;
+import org.quiltmc.enigma.translation.representation.entry.DefEntry;
+import org.quiltmc.enigma.translation.representation.entry.FieldDefEntry;
+import org.quiltmc.enigma.translation.representation.entry.MethodDefEntry;
+import org.quiltmc.enigma.translation.representation.entry.MethodEntry;
+import org.quiltmc.enigma.translation.representation.entry.ParentedEntry;
import javax.swing.tree.DefaultMutableTreeNode;
import java.util.ArrayList;
diff --git a/enigma/src/main/java/cuchaz/enigma/analysis/StructureTreeOptions.java b/enigma/src/main/java/org/quiltmc/enigma/analysis/StructureTreeOptions.java
similarity index 97%
rename from enigma/src/main/java/cuchaz/enigma/analysis/StructureTreeOptions.java
rename to enigma/src/main/java/org/quiltmc/enigma/analysis/StructureTreeOptions.java
index 8094b7776..047ca189b 100644
--- a/enigma/src/main/java/cuchaz/enigma/analysis/StructureTreeOptions.java
+++ b/enigma/src/main/java/org/quiltmc/enigma/analysis/StructureTreeOptions.java
@@ -1,4 +1,4 @@
-package cuchaz.enigma.analysis;
+package org.quiltmc.enigma.analysis;
public record StructureTreeOptions(
ObfuscationVisibility obfuscationVisibility,
diff --git a/enigma/src/main/java/cuchaz/enigma/analysis/index/BridgeMethodIndex.java b/enigma/src/main/java/org/quiltmc/enigma/analysis/index/BridgeMethodIndex.java
similarity index 92%
rename from enigma/src/main/java/cuchaz/enigma/analysis/index/BridgeMethodIndex.java
rename to enigma/src/main/java/org/quiltmc/enigma/analysis/index/BridgeMethodIndex.java
index 99b84373a..39bcd2fa4 100644
--- a/enigma/src/main/java/cuchaz/enigma/analysis/index/BridgeMethodIndex.java
+++ b/enigma/src/main/java/org/quiltmc/enigma/analysis/index/BridgeMethodIndex.java
@@ -1,13 +1,13 @@
-package cuchaz.enigma.analysis.index;
+package org.quiltmc.enigma.analysis.index;
import com.google.common.collect.Maps;
-import cuchaz.enigma.translation.representation.AccessFlags;
-import cuchaz.enigma.translation.representation.ArgumentDescriptor;
-import cuchaz.enigma.translation.representation.MethodDescriptor;
-import cuchaz.enigma.translation.representation.TypeDescriptor;
-import cuchaz.enigma.translation.representation.entry.ClassEntry;
-import cuchaz.enigma.translation.representation.entry.MethodDefEntry;
-import cuchaz.enigma.translation.representation.entry.MethodEntry;
+import org.quiltmc.enigma.translation.representation.AccessFlags;
+import org.quiltmc.enigma.translation.representation.ArgumentDescriptor;
+import org.quiltmc.enigma.translation.representation.MethodDescriptor;
+import org.quiltmc.enigma.translation.representation.TypeDescriptor;
+import org.quiltmc.enigma.translation.representation.entry.ClassEntry;
+import org.quiltmc.enigma.translation.representation.entry.MethodDefEntry;
+import org.quiltmc.enigma.translation.representation.entry.MethodEntry;
import javax.annotation.Nullable;
import java.util.Collection;
diff --git a/enigma/src/main/java/cuchaz/enigma/analysis/index/EnclosingMethodIndex.java b/enigma/src/main/java/org/quiltmc/enigma/analysis/index/EnclosingMethodIndex.java
similarity index 80%
rename from enigma/src/main/java/cuchaz/enigma/analysis/index/EnclosingMethodIndex.java
rename to enigma/src/main/java/org/quiltmc/enigma/analysis/index/EnclosingMethodIndex.java
index 8d6d314ca..41940dbd8 100644
--- a/enigma/src/main/java/cuchaz/enigma/analysis/index/EnclosingMethodIndex.java
+++ b/enigma/src/main/java/org/quiltmc/enigma/analysis/index/EnclosingMethodIndex.java
@@ -1,7 +1,7 @@
-package cuchaz.enigma.analysis.index;
+package org.quiltmc.enigma.analysis.index;
-import cuchaz.enigma.translation.representation.entry.ClassDefEntry;
-import cuchaz.enigma.translation.representation.entry.ClassEntry;
+import org.quiltmc.enigma.translation.representation.entry.ClassDefEntry;
+import org.quiltmc.enigma.translation.representation.entry.ClassEntry;
import javax.annotation.Nullable;
import java.util.HashMap;
diff --git a/enigma/src/main/java/cuchaz/enigma/analysis/index/EntryIndex.java b/enigma/src/main/java/org/quiltmc/enigma/analysis/index/EntryIndex.java
similarity index 80%
rename from enigma/src/main/java/cuchaz/enigma/analysis/index/EntryIndex.java
rename to enigma/src/main/java/org/quiltmc/enigma/analysis/index/EntryIndex.java
index 5046bd4ac..17c78f3e9 100644
--- a/enigma/src/main/java/cuchaz/enigma/analysis/index/EntryIndex.java
+++ b/enigma/src/main/java/org/quiltmc/enigma/analysis/index/EntryIndex.java
@@ -1,17 +1,17 @@
-package cuchaz.enigma.analysis.index;
-
-import cuchaz.enigma.translation.mapping.EntryMapping;
-import cuchaz.enigma.translation.mapping.tree.EntryTree;
-import cuchaz.enigma.translation.mapping.tree.HashEntryTree;
-import cuchaz.enigma.translation.representation.AccessFlags;
-import cuchaz.enigma.translation.representation.entry.ClassDefEntry;
-import cuchaz.enigma.translation.representation.entry.ClassEntry;
-import cuchaz.enigma.translation.representation.entry.Entry;
-import cuchaz.enigma.translation.representation.entry.FieldDefEntry;
-import cuchaz.enigma.translation.representation.entry.FieldEntry;
-import cuchaz.enigma.translation.representation.entry.LocalVariableEntry;
-import cuchaz.enigma.translation.representation.entry.MethodDefEntry;
-import cuchaz.enigma.translation.representation.entry.MethodEntry;
+package org.quiltmc.enigma.analysis.index;
+
+import org.quiltmc.enigma.translation.mapping.EntryMapping;
+import org.quiltmc.enigma.translation.mapping.tree.EntryTree;
+import org.quiltmc.enigma.translation.mapping.tree.HashEntryTree;
+import org.quiltmc.enigma.translation.representation.AccessFlags;
+import org.quiltmc.enigma.translation.representation.entry.ClassDefEntry;
+import org.quiltmc.enigma.translation.representation.entry.ClassEntry;
+import org.quiltmc.enigma.translation.representation.entry.Entry;
+import org.quiltmc.enigma.translation.representation.entry.FieldDefEntry;
+import org.quiltmc.enigma.translation.representation.entry.FieldEntry;
+import org.quiltmc.enigma.translation.representation.entry.LocalVariableEntry;
+import org.quiltmc.enigma.translation.representation.entry.MethodDefEntry;
+import org.quiltmc.enigma.translation.representation.entry.MethodEntry;
import javax.annotation.Nullable;
import java.util.Collection;
diff --git a/enigma/src/main/java/cuchaz/enigma/analysis/index/IndexClassVisitor.java b/enigma/src/main/java/org/quiltmc/enigma/analysis/index/IndexClassVisitor.java
similarity index 82%
rename from enigma/src/main/java/cuchaz/enigma/analysis/index/IndexClassVisitor.java
rename to enigma/src/main/java/org/quiltmc/enigma/analysis/index/IndexClassVisitor.java
index 87f926e85..a69e9f1ea 100644
--- a/enigma/src/main/java/cuchaz/enigma/analysis/index/IndexClassVisitor.java
+++ b/enigma/src/main/java/org/quiltmc/enigma/analysis/index/IndexClassVisitor.java
@@ -1,10 +1,10 @@
-package cuchaz.enigma.analysis.index;
+package org.quiltmc.enigma.analysis.index;
-import cuchaz.enigma.analysis.MethodNodeWithAction;
-import cuchaz.enigma.translation.representation.ParameterAccessFlags;
-import cuchaz.enigma.translation.representation.entry.ClassDefEntry;
-import cuchaz.enigma.translation.representation.entry.FieldDefEntry;
-import cuchaz.enigma.translation.representation.entry.MethodDefEntry;
+import org.quiltmc.enigma.analysis.MethodNodeWithAction;
+import org.quiltmc.enigma.translation.representation.ParameterAccessFlags;
+import org.quiltmc.enigma.translation.representation.entry.ClassDefEntry;
+import org.quiltmc.enigma.translation.representation.entry.FieldDefEntry;
+import org.quiltmc.enigma.translation.representation.entry.MethodDefEntry;
import org.objectweb.asm.ClassVisitor;
import org.objectweb.asm.FieldVisitor;
import org.objectweb.asm.MethodVisitor;
diff --git a/enigma/src/main/java/cuchaz/enigma/analysis/index/IndexReferenceVisitor.java b/enigma/src/main/java/org/quiltmc/enigma/analysis/index/IndexReferenceVisitor.java
similarity index 89%
rename from enigma/src/main/java/cuchaz/enigma/analysis/index/IndexReferenceVisitor.java
rename to enigma/src/main/java/org/quiltmc/enigma/analysis/index/IndexReferenceVisitor.java
index 811a426d2..5f4213d8f 100644
--- a/enigma/src/main/java/cuchaz/enigma/analysis/index/IndexReferenceVisitor.java
+++ b/enigma/src/main/java/org/quiltmc/enigma/analysis/index/IndexReferenceVisitor.java
@@ -1,18 +1,18 @@
-package cuchaz.enigma.analysis.index;
-
-import cuchaz.enigma.analysis.IndexSimpleVerifier;
-import cuchaz.enigma.analysis.InterpreterPair;
-import cuchaz.enigma.analysis.MethodNodeWithAction;
-import cuchaz.enigma.analysis.ReferenceTargetType;
-import cuchaz.enigma.translation.representation.AccessFlags;
-import cuchaz.enigma.translation.representation.Lambda;
-import cuchaz.enigma.translation.representation.MethodDescriptor;
-import cuchaz.enigma.translation.representation.Signature;
-import cuchaz.enigma.translation.representation.entry.ClassEntry;
-import cuchaz.enigma.translation.representation.entry.FieldEntry;
-import cuchaz.enigma.translation.representation.entry.MethodDefEntry;
-import cuchaz.enigma.translation.representation.entry.MethodEntry;
-import cuchaz.enigma.translation.representation.entry.ParentedEntry;
+package org.quiltmc.enigma.analysis.index;
+
+import org.quiltmc.enigma.analysis.IndexSimpleVerifier;
+import org.quiltmc.enigma.analysis.InterpreterPair;
+import org.quiltmc.enigma.analysis.MethodNodeWithAction;
+import org.quiltmc.enigma.analysis.ReferenceTargetType;
+import org.quiltmc.enigma.translation.representation.AccessFlags;
+import org.quiltmc.enigma.translation.representation.Lambda;
+import org.quiltmc.enigma.translation.representation.MethodDescriptor;
+import org.quiltmc.enigma.translation.representation.Signature;
+import org.quiltmc.enigma.translation.representation.entry.ClassEntry;
+import org.quiltmc.enigma.translation.representation.entry.FieldEntry;
+import org.quiltmc.enigma.translation.representation.entry.MethodDefEntry;
+import org.quiltmc.enigma.translation.representation.entry.MethodEntry;
+import org.quiltmc.enigma.translation.representation.entry.ParentedEntry;
import org.objectweb.asm.ClassVisitor;
import org.objectweb.asm.Handle;
import org.objectweb.asm.MethodVisitor;
diff --git a/enigma/src/main/java/cuchaz/enigma/analysis/index/InheritanceIndex.java b/enigma/src/main/java/org/quiltmc/enigma/analysis/index/InheritanceIndex.java
similarity index 94%
rename from enigma/src/main/java/cuchaz/enigma/analysis/index/InheritanceIndex.java
rename to enigma/src/main/java/org/quiltmc/enigma/analysis/index/InheritanceIndex.java
index dcb46c8d8..6be94cd8c 100644
--- a/enigma/src/main/java/cuchaz/enigma/analysis/index/InheritanceIndex.java
+++ b/enigma/src/main/java/org/quiltmc/enigma/analysis/index/InheritanceIndex.java
@@ -1,10 +1,10 @@
-package cuchaz.enigma.analysis.index;
+package org.quiltmc.enigma.analysis.index;
import com.google.common.collect.HashMultimap;
import com.google.common.collect.Multimap;
import com.google.common.collect.Sets;
-import cuchaz.enigma.translation.representation.entry.ClassDefEntry;
-import cuchaz.enigma.translation.representation.entry.ClassEntry;
+import org.quiltmc.enigma.translation.representation.entry.ClassDefEntry;
+import org.quiltmc.enigma.translation.representation.entry.ClassEntry;
import java.util.Collection;
import java.util.HashSet;
diff --git a/enigma/src/main/java/cuchaz/enigma/analysis/index/JarIndex.java b/enigma/src/main/java/org/quiltmc/enigma/analysis/index/JarIndex.java
similarity index 88%
rename from enigma/src/main/java/cuchaz/enigma/analysis/index/JarIndex.java
rename to enigma/src/main/java/org/quiltmc/enigma/analysis/index/JarIndex.java
index 8be4f724b..9f0905d77 100644
--- a/enigma/src/main/java/cuchaz/enigma/analysis/index/JarIndex.java
+++ b/enigma/src/main/java/org/quiltmc/enigma/analysis/index/JarIndex.java
@@ -1,24 +1,24 @@
-package cuchaz.enigma.analysis.index;
+package org.quiltmc.enigma.analysis.index;
import com.google.common.collect.ArrayListMultimap;
import com.google.common.collect.HashMultimap;
import com.google.common.collect.ListMultimap;
import com.google.common.collect.Multimap;
-import cuchaz.enigma.Enigma;
-import cuchaz.enigma.ProgressListener;
-import cuchaz.enigma.analysis.ReferenceTargetType;
-import cuchaz.enigma.classprovider.ClassProvider;
-import cuchaz.enigma.translation.mapping.EntryResolver;
-import cuchaz.enigma.translation.mapping.IndexEntryResolver;
-import cuchaz.enigma.translation.representation.Lambda;
-import cuchaz.enigma.translation.representation.entry.ClassDefEntry;
-import cuchaz.enigma.translation.representation.entry.ClassEntry;
-import cuchaz.enigma.translation.representation.entry.FieldDefEntry;
-import cuchaz.enigma.translation.representation.entry.FieldEntry;
-import cuchaz.enigma.translation.representation.entry.MethodDefEntry;
-import cuchaz.enigma.translation.representation.entry.MethodEntry;
-import cuchaz.enigma.translation.representation.entry.ParentedEntry;
-import cuchaz.enigma.utils.I18n;
+import org.quiltmc.enigma.Enigma;
+import org.quiltmc.enigma.ProgressListener;
+import org.quiltmc.enigma.analysis.ReferenceTargetType;
+import org.quiltmc.enigma.classprovider.ClassProvider;
+import org.quiltmc.enigma.translation.mapping.EntryResolver;
+import org.quiltmc.enigma.translation.mapping.IndexEntryResolver;
+import org.quiltmc.enigma.translation.representation.Lambda;
+import org.quiltmc.enigma.translation.representation.entry.ClassDefEntry;
+import org.quiltmc.enigma.translation.representation.entry.ClassEntry;
+import org.quiltmc.enigma.translation.representation.entry.FieldDefEntry;
+import org.quiltmc.enigma.translation.representation.entry.FieldEntry;
+import org.quiltmc.enigma.translation.representation.entry.MethodDefEntry;
+import org.quiltmc.enigma.translation.representation.entry.MethodEntry;
+import org.quiltmc.enigma.translation.representation.entry.ParentedEntry;
+import org.quiltmc.enigma.util.I18n;
import java.util.Collection;
import java.util.HashSet;
diff --git a/enigma/src/main/java/cuchaz/enigma/analysis/index/JarIndexer.java b/enigma/src/main/java/org/quiltmc/enigma/analysis/index/JarIndexer.java
similarity index 67%
rename from enigma/src/main/java/cuchaz/enigma/analysis/index/JarIndexer.java
rename to enigma/src/main/java/org/quiltmc/enigma/analysis/index/JarIndexer.java
index 0b6271f66..cc59d6895 100644
--- a/enigma/src/main/java/cuchaz/enigma/analysis/index/JarIndexer.java
+++ b/enigma/src/main/java/org/quiltmc/enigma/analysis/index/JarIndexer.java
@@ -1,12 +1,12 @@
-package cuchaz.enigma.analysis.index;
-
-import cuchaz.enigma.analysis.ReferenceTargetType;
-import cuchaz.enigma.translation.representation.Lambda;
-import cuchaz.enigma.translation.representation.entry.ClassDefEntry;
-import cuchaz.enigma.translation.representation.entry.FieldDefEntry;
-import cuchaz.enigma.translation.representation.entry.FieldEntry;
-import cuchaz.enigma.translation.representation.entry.MethodDefEntry;
-import cuchaz.enigma.translation.representation.entry.MethodEntry;
+package org.quiltmc.enigma.analysis.index;
+
+import org.quiltmc.enigma.analysis.ReferenceTargetType;
+import org.quiltmc.enigma.translation.representation.Lambda;
+import org.quiltmc.enigma.translation.representation.entry.ClassDefEntry;
+import org.quiltmc.enigma.translation.representation.entry.FieldDefEntry;
+import org.quiltmc.enigma.translation.representation.entry.FieldEntry;
+import org.quiltmc.enigma.translation.representation.entry.MethodDefEntry;
+import org.quiltmc.enigma.translation.representation.entry.MethodEntry;
public interface JarIndexer {
default void indexClass(ClassDefEntry classEntry) {
diff --git a/enigma/src/main/java/cuchaz/enigma/analysis/index/PackageVisibilityIndex.java b/enigma/src/main/java/org/quiltmc/enigma/analysis/index/PackageVisibilityIndex.java
similarity index 90%
rename from enigma/src/main/java/cuchaz/enigma/analysis/index/PackageVisibilityIndex.java
rename to enigma/src/main/java/org/quiltmc/enigma/analysis/index/PackageVisibilityIndex.java
index 545567f32..e8bb37d8d 100644
--- a/enigma/src/main/java/cuchaz/enigma/analysis/index/PackageVisibilityIndex.java
+++ b/enigma/src/main/java/org/quiltmc/enigma/analysis/index/PackageVisibilityIndex.java
@@ -1,16 +1,16 @@
-package cuchaz.enigma.analysis.index;
+package org.quiltmc.enigma.analysis.index;
import com.google.common.collect.HashMultimap;
import com.google.common.collect.Maps;
import com.google.common.collect.Sets;
-import cuchaz.enigma.analysis.EntryReference;
-import cuchaz.enigma.analysis.ReferenceTargetType;
-import cuchaz.enigma.translation.representation.AccessFlags;
-import cuchaz.enigma.translation.representation.entry.ClassEntry;
-import cuchaz.enigma.translation.representation.entry.FieldDefEntry;
-import cuchaz.enigma.translation.representation.entry.FieldEntry;
-import cuchaz.enigma.translation.representation.entry.MethodDefEntry;
-import cuchaz.enigma.translation.representation.entry.MethodEntry;
+import org.quiltmc.enigma.analysis.EntryReference;
+import org.quiltmc.enigma.analysis.ReferenceTargetType;
+import org.quiltmc.enigma.translation.representation.AccessFlags;
+import org.quiltmc.enigma.translation.representation.entry.ClassEntry;
+import org.quiltmc.enigma.translation.representation.entry.FieldDefEntry;
+import org.quiltmc.enigma.translation.representation.entry.FieldEntry;
+import org.quiltmc.enigma.translation.representation.entry.MethodDefEntry;
+import org.quiltmc.enigma.translation.representation.entry.MethodEntry;
import java.util.ArrayList;
import java.util.Collection;
diff --git a/enigma/src/main/java/cuchaz/enigma/analysis/index/ReferenceIndex.java b/enigma/src/main/java/org/quiltmc/enigma/analysis/index/ReferenceIndex.java
similarity index 88%
rename from enigma/src/main/java/cuchaz/enigma/analysis/index/ReferenceIndex.java
rename to enigma/src/main/java/org/quiltmc/enigma/analysis/index/ReferenceIndex.java
index dbe428288..be964af9c 100644
--- a/enigma/src/main/java/cuchaz/enigma/analysis/index/ReferenceIndex.java
+++ b/enigma/src/main/java/org/quiltmc/enigma/analysis/index/ReferenceIndex.java
@@ -1,19 +1,19 @@
-package cuchaz.enigma.analysis.index;
+package org.quiltmc.enigma.analysis.index;
import com.google.common.collect.HashMultimap;
import com.google.common.collect.Multimap;
-import cuchaz.enigma.analysis.EntryReference;
-import cuchaz.enigma.analysis.ReferenceTargetType;
-import cuchaz.enigma.translation.mapping.ResolutionStrategy;
-import cuchaz.enigma.translation.representation.Lambda;
-import cuchaz.enigma.translation.representation.MethodDescriptor;
-import cuchaz.enigma.translation.representation.TypeDescriptor;
-import cuchaz.enigma.translation.representation.entry.ClassEntry;
-import cuchaz.enigma.translation.representation.entry.Entry;
-import cuchaz.enigma.translation.representation.entry.FieldDefEntry;
-import cuchaz.enigma.translation.representation.entry.FieldEntry;
-import cuchaz.enigma.translation.representation.entry.MethodDefEntry;
-import cuchaz.enigma.translation.representation.entry.MethodEntry;
+import org.quiltmc.enigma.analysis.EntryReference;
+import org.quiltmc.enigma.analysis.ReferenceTargetType;
+import org.quiltmc.enigma.translation.mapping.ResolutionStrategy;
+import org.quiltmc.enigma.translation.representation.Lambda;
+import org.quiltmc.enigma.translation.representation.MethodDescriptor;
+import org.quiltmc.enigma.translation.representation.TypeDescriptor;
+import org.quiltmc.enigma.translation.representation.entry.ClassEntry;
+import org.quiltmc.enigma.translation.representation.entry.Entry;
+import org.quiltmc.enigma.translation.representation.entry.FieldDefEntry;
+import org.quiltmc.enigma.translation.representation.entry.FieldEntry;
+import org.quiltmc.enigma.translation.representation.entry.MethodDefEntry;
+import org.quiltmc.enigma.translation.representation.entry.MethodEntry;
import java.util.Collection;
import java.util.Map;
diff --git a/enigma/src/main/java/cuchaz/enigma/api/EnigmaPlugin.java b/enigma/src/main/java/org/quiltmc/enigma/api/EnigmaPlugin.java
similarity index 69%
rename from enigma/src/main/java/cuchaz/enigma/api/EnigmaPlugin.java
rename to enigma/src/main/java/org/quiltmc/enigma/api/EnigmaPlugin.java
index bdd60150c..6b7a3417a 100644
--- a/enigma/src/main/java/cuchaz/enigma/api/EnigmaPlugin.java
+++ b/enigma/src/main/java/org/quiltmc/enigma/api/EnigmaPlugin.java
@@ -1,4 +1,4 @@
-package cuchaz.enigma.api;
+package org.quiltmc.enigma.api;
public interface EnigmaPlugin {
void init(EnigmaPluginContext ctx);
diff --git a/enigma/src/main/java/org/quiltmc/enigma/api/EnigmaPluginContext.java b/enigma/src/main/java/org/quiltmc/enigma/api/EnigmaPluginContext.java
new file mode 100644
index 000000000..dbe32d1aa
--- /dev/null
+++ b/enigma/src/main/java/org/quiltmc/enigma/api/EnigmaPluginContext.java
@@ -0,0 +1,9 @@
+package org.quiltmc.enigma.api;
+
+import org.quiltmc.enigma.api.service.EnigmaService;
+import org.quiltmc.enigma.api.service.EnigmaServiceFactory;
+import org.quiltmc.enigma.api.service.EnigmaServiceType;
+
+public interface EnigmaPluginContext {
+ void registerService(String id, EnigmaServiceType serviceType, EnigmaServiceFactory factory);
+}
diff --git a/enigma/src/main/java/org/quiltmc/enigma/api/service/EnigmaService.java b/enigma/src/main/java/org/quiltmc/enigma/api/service/EnigmaService.java
new file mode 100644
index 000000000..4045cdcb6
--- /dev/null
+++ b/enigma/src/main/java/org/quiltmc/enigma/api/service/EnigmaService.java
@@ -0,0 +1,4 @@
+package org.quiltmc.enigma.api.service;
+
+public interface EnigmaService {
+}
diff --git a/enigma/src/main/java/cuchaz/enigma/api/service/EnigmaServiceContext.java b/enigma/src/main/java/org/quiltmc/enigma/api/service/EnigmaServiceContext.java
similarity index 89%
rename from enigma/src/main/java/cuchaz/enigma/api/service/EnigmaServiceContext.java
rename to enigma/src/main/java/org/quiltmc/enigma/api/service/EnigmaServiceContext.java
index e3d9b3042..98c9743f9 100644
--- a/enigma/src/main/java/cuchaz/enigma/api/service/EnigmaServiceContext.java
+++ b/enigma/src/main/java/org/quiltmc/enigma/api/service/EnigmaServiceContext.java
@@ -1,4 +1,4 @@
-package cuchaz.enigma.api.service;
+package org.quiltmc.enigma.api.service;
import java.nio.file.Path;
import java.util.Optional;
diff --git a/enigma/src/main/java/cuchaz/enigma/api/service/EnigmaServiceFactory.java b/enigma/src/main/java/org/quiltmc/enigma/api/service/EnigmaServiceFactory.java
similarity index 72%
rename from enigma/src/main/java/cuchaz/enigma/api/service/EnigmaServiceFactory.java
rename to enigma/src/main/java/org/quiltmc/enigma/api/service/EnigmaServiceFactory.java
index 7c10ac26a..9093673b1 100644
--- a/enigma/src/main/java/cuchaz/enigma/api/service/EnigmaServiceFactory.java
+++ b/enigma/src/main/java/org/quiltmc/enigma/api/service/EnigmaServiceFactory.java
@@ -1,4 +1,4 @@
-package cuchaz.enigma.api.service;
+package org.quiltmc.enigma.api.service;
public interface EnigmaServiceFactory {
T create(EnigmaServiceContext ctx);
diff --git a/enigma/src/main/java/cuchaz/enigma/api/service/EnigmaServiceType.java b/enigma/src/main/java/org/quiltmc/enigma/api/service/EnigmaServiceType.java
similarity index 93%
rename from enigma/src/main/java/cuchaz/enigma/api/service/EnigmaServiceType.java
rename to enigma/src/main/java/org/quiltmc/enigma/api/service/EnigmaServiceType.java
index 3657dc871..0c7d08f72 100644
--- a/enigma/src/main/java/cuchaz/enigma/api/service/EnigmaServiceType.java
+++ b/enigma/src/main/java/org/quiltmc/enigma/api/service/EnigmaServiceType.java
@@ -1,4 +1,4 @@
-package cuchaz.enigma.api.service;
+package org.quiltmc.enigma.api.service;
public final class EnigmaServiceType {
public final String key;
diff --git a/enigma/src/main/java/cuchaz/enigma/api/service/JarIndexerService.java b/enigma/src/main/java/org/quiltmc/enigma/api/service/JarIndexerService.java
similarity index 77%
rename from enigma/src/main/java/cuchaz/enigma/api/service/JarIndexerService.java
rename to enigma/src/main/java/org/quiltmc/enigma/api/service/JarIndexerService.java
index a48a4fe2d..32a23ed5d 100644
--- a/enigma/src/main/java/cuchaz/enigma/api/service/JarIndexerService.java
+++ b/enigma/src/main/java/org/quiltmc/enigma/api/service/JarIndexerService.java
@@ -1,7 +1,7 @@
-package cuchaz.enigma.api.service;
+package org.quiltmc.enigma.api.service;
-import cuchaz.enigma.analysis.index.JarIndex;
-import cuchaz.enigma.classprovider.ClassProvider;
+import org.quiltmc.enigma.analysis.index.JarIndex;
+import org.quiltmc.enigma.classprovider.ClassProvider;
import org.objectweb.asm.ClassVisitor;
import java.util.Set;
diff --git a/enigma/src/main/java/cuchaz/enigma/api/service/NameProposalService.java b/enigma/src/main/java/org/quiltmc/enigma/api/service/NameProposalService.java
similarity index 60%
rename from enigma/src/main/java/cuchaz/enigma/api/service/NameProposalService.java
rename to enigma/src/main/java/org/quiltmc/enigma/api/service/NameProposalService.java
index 4c357db15..d32ab7ed9 100644
--- a/enigma/src/main/java/cuchaz/enigma/api/service/NameProposalService.java
+++ b/enigma/src/main/java/org/quiltmc/enigma/api/service/NameProposalService.java
@@ -1,7 +1,7 @@
-package cuchaz.enigma.api.service;
+package org.quiltmc.enigma.api.service;
-import cuchaz.enigma.translation.mapping.EntryRemapper;
-import cuchaz.enigma.translation.representation.entry.Entry;
+import org.quiltmc.enigma.translation.mapping.EntryRemapper;
+import org.quiltmc.enigma.translation.representation.entry.Entry;
import java.util.Optional;
diff --git a/enigma/src/main/java/cuchaz/enigma/api/service/ObfuscationTestService.java b/enigma/src/main/java/org/quiltmc/enigma/api/service/ObfuscationTestService.java
similarity index 66%
rename from enigma/src/main/java/cuchaz/enigma/api/service/ObfuscationTestService.java
rename to enigma/src/main/java/org/quiltmc/enigma/api/service/ObfuscationTestService.java
index af0cf30b2..ad85930f8 100644
--- a/enigma/src/main/java/cuchaz/enigma/api/service/ObfuscationTestService.java
+++ b/enigma/src/main/java/org/quiltmc/enigma/api/service/ObfuscationTestService.java
@@ -1,6 +1,6 @@
-package cuchaz.enigma.api.service;
+package org.quiltmc.enigma.api.service;
-import cuchaz.enigma.translation.representation.entry.Entry;
+import org.quiltmc.enigma.translation.representation.entry.Entry;
public interface ObfuscationTestService extends EnigmaService {
EnigmaServiceType TYPE = EnigmaServiceType.create("obfuscation_test");
diff --git a/enigma/src/main/java/cuchaz/enigma/bytecode/translators/AsmObjectTranslator.java b/enigma/src/main/java/org/quiltmc/enigma/bytecode/translator/AsmObjectTranslator.java
similarity index 83%
rename from enigma/src/main/java/cuchaz/enigma/bytecode/translators/AsmObjectTranslator.java
rename to enigma/src/main/java/org/quiltmc/enigma/bytecode/translator/AsmObjectTranslator.java
index 4f51cf737..744605689 100644
--- a/enigma/src/main/java/cuchaz/enigma/bytecode/translators/AsmObjectTranslator.java
+++ b/enigma/src/main/java/org/quiltmc/enigma/bytecode/translator/AsmObjectTranslator.java
@@ -1,11 +1,11 @@
-package cuchaz.enigma.bytecode.translators;
-
-import cuchaz.enigma.translation.Translator;
-import cuchaz.enigma.translation.representation.MethodDescriptor;
-import cuchaz.enigma.translation.representation.TypeDescriptor;
-import cuchaz.enigma.translation.representation.entry.ClassEntry;
-import cuchaz.enigma.translation.representation.entry.FieldEntry;
-import cuchaz.enigma.translation.representation.entry.MethodEntry;
+package org.quiltmc.enigma.bytecode.translator;
+
+import org.quiltmc.enigma.translation.Translator;
+import org.quiltmc.enigma.translation.representation.MethodDescriptor;
+import org.quiltmc.enigma.translation.representation.TypeDescriptor;
+import org.quiltmc.enigma.translation.representation.entry.ClassEntry;
+import org.quiltmc.enigma.translation.representation.entry.FieldEntry;
+import org.quiltmc.enigma.translation.representation.entry.MethodEntry;
import org.objectweb.asm.Handle;
import org.objectweb.asm.Opcodes;
import org.objectweb.asm.Type;
diff --git a/enigma/src/main/java/cuchaz/enigma/bytecode/translators/LocalVariableFixVisitor.java b/enigma/src/main/java/org/quiltmc/enigma/bytecode/translator/LocalVariableFixVisitor.java
similarity index 93%
rename from enigma/src/main/java/cuchaz/enigma/bytecode/translators/LocalVariableFixVisitor.java
rename to enigma/src/main/java/org/quiltmc/enigma/bytecode/translator/LocalVariableFixVisitor.java
index 86a8b13c0..0cbb79614 100644
--- a/enigma/src/main/java/cuchaz/enigma/bytecode/translators/LocalVariableFixVisitor.java
+++ b/enigma/src/main/java/org/quiltmc/enigma/bytecode/translator/LocalVariableFixVisitor.java
@@ -1,10 +1,10 @@
-package cuchaz.enigma.bytecode.translators;
+package org.quiltmc.enigma.bytecode.translator;
import com.google.common.base.CharMatcher;
-import cuchaz.enigma.translation.LocalNameGenerator;
-import cuchaz.enigma.translation.representation.TypeDescriptor;
-import cuchaz.enigma.translation.representation.entry.ClassDefEntry;
-import cuchaz.enigma.translation.representation.entry.MethodDefEntry;
+import org.quiltmc.enigma.translation.LocalNameGenerator;
+import org.quiltmc.enigma.translation.representation.TypeDescriptor;
+import org.quiltmc.enigma.translation.representation.entry.ClassDefEntry;
+import org.quiltmc.enigma.translation.representation.entry.MethodDefEntry;
import org.objectweb.asm.ClassVisitor;
import org.objectweb.asm.Label;
import org.objectweb.asm.MethodVisitor;
diff --git a/enigma/src/main/java/cuchaz/enigma/bytecode/translators/SourceFixVisitor.java b/enigma/src/main/java/org/quiltmc/enigma/bytecode/translator/SourceFixVisitor.java
similarity index 82%
rename from enigma/src/main/java/cuchaz/enigma/bytecode/translators/SourceFixVisitor.java
rename to enigma/src/main/java/org/quiltmc/enigma/bytecode/translator/SourceFixVisitor.java
index 8f3bd1ec1..57d056e5e 100644
--- a/enigma/src/main/java/cuchaz/enigma/bytecode/translators/SourceFixVisitor.java
+++ b/enigma/src/main/java/org/quiltmc/enigma/bytecode/translator/SourceFixVisitor.java
@@ -1,9 +1,9 @@
-package cuchaz.enigma.bytecode.translators;
+package org.quiltmc.enigma.bytecode.translator;
-import cuchaz.enigma.analysis.index.BridgeMethodIndex;
-import cuchaz.enigma.analysis.index.JarIndex;
-import cuchaz.enigma.translation.representation.entry.ClassDefEntry;
-import cuchaz.enigma.translation.representation.entry.MethodDefEntry;
+import org.quiltmc.enigma.analysis.index.BridgeMethodIndex;
+import org.quiltmc.enigma.analysis.index.JarIndex;
+import org.quiltmc.enigma.translation.representation.entry.ClassDefEntry;
+import org.quiltmc.enigma.translation.representation.entry.MethodDefEntry;
import org.objectweb.asm.ClassVisitor;
import org.objectweb.asm.FieldVisitor;
import org.objectweb.asm.MethodVisitor;
diff --git a/enigma/src/main/java/cuchaz/enigma/bytecode/translators/TranslationAnnotationVisitor.java b/enigma/src/main/java/org/quiltmc/enigma/bytecode/translator/TranslationAnnotationVisitor.java
similarity index 85%
rename from enigma/src/main/java/cuchaz/enigma/bytecode/translators/TranslationAnnotationVisitor.java
rename to enigma/src/main/java/org/quiltmc/enigma/bytecode/translator/TranslationAnnotationVisitor.java
index 5ecc31c58..d92527070 100644
--- a/enigma/src/main/java/cuchaz/enigma/bytecode/translators/TranslationAnnotationVisitor.java
+++ b/enigma/src/main/java/org/quiltmc/enigma/bytecode/translator/TranslationAnnotationVisitor.java
@@ -1,9 +1,9 @@
-package cuchaz.enigma.bytecode.translators;
+package org.quiltmc.enigma.bytecode.translator;
-import cuchaz.enigma.translation.Translator;
-import cuchaz.enigma.translation.representation.TypeDescriptor;
-import cuchaz.enigma.translation.representation.entry.ClassEntry;
-import cuchaz.enigma.translation.representation.entry.FieldEntry;
+import org.quiltmc.enigma.translation.Translator;
+import org.quiltmc.enigma.translation.representation.TypeDescriptor;
+import org.quiltmc.enigma.translation.representation.entry.ClassEntry;
+import org.quiltmc.enigma.translation.representation.entry.FieldEntry;
import org.objectweb.asm.AnnotationVisitor;
public class TranslationAnnotationVisitor extends AnnotationVisitor {
diff --git a/enigma/src/main/java/cuchaz/enigma/bytecode/translators/TranslationClassVisitor.java b/enigma/src/main/java/org/quiltmc/enigma/bytecode/translator/TranslationClassVisitor.java
similarity index 90%
rename from enigma/src/main/java/cuchaz/enigma/bytecode/translators/TranslationClassVisitor.java
rename to enigma/src/main/java/org/quiltmc/enigma/bytecode/translator/TranslationClassVisitor.java
index 83d134899..b423fde8f 100644
--- a/enigma/src/main/java/cuchaz/enigma/bytecode/translators/TranslationClassVisitor.java
+++ b/enigma/src/main/java/org/quiltmc/enigma/bytecode/translator/TranslationClassVisitor.java
@@ -1,13 +1,13 @@
-package cuchaz.enigma.bytecode.translators;
-
-import cuchaz.enigma.translation.Translator;
-import cuchaz.enigma.translation.representation.MethodDescriptor;
-import cuchaz.enigma.translation.representation.TypeDescriptor;
-import cuchaz.enigma.translation.representation.entry.ClassDefEntry;
-import cuchaz.enigma.translation.representation.entry.ClassEntry;
-import cuchaz.enigma.translation.representation.entry.FieldDefEntry;
-import cuchaz.enigma.translation.representation.entry.MethodDefEntry;
-import cuchaz.enigma.translation.representation.entry.MethodEntry;
+package org.quiltmc.enigma.bytecode.translator;
+
+import org.quiltmc.enigma.translation.Translator;
+import org.quiltmc.enigma.translation.representation.MethodDescriptor;
+import org.quiltmc.enigma.translation.representation.TypeDescriptor;
+import org.quiltmc.enigma.translation.representation.entry.ClassDefEntry;
+import org.quiltmc.enigma.translation.representation.entry.ClassEntry;
+import org.quiltmc.enigma.translation.representation.entry.FieldDefEntry;
+import org.quiltmc.enigma.translation.representation.entry.MethodDefEntry;
+import org.quiltmc.enigma.translation.representation.entry.MethodEntry;
import org.objectweb.asm.AnnotationVisitor;
import org.objectweb.asm.ClassVisitor;
import org.objectweb.asm.FieldVisitor;
diff --git a/enigma/src/main/java/cuchaz/enigma/bytecode/translators/TranslationFieldVisitor.java b/enigma/src/main/java/org/quiltmc/enigma/bytecode/translator/TranslationFieldVisitor.java
similarity index 83%
rename from enigma/src/main/java/cuchaz/enigma/bytecode/translators/TranslationFieldVisitor.java
rename to enigma/src/main/java/org/quiltmc/enigma/bytecode/translator/TranslationFieldVisitor.java
index 44abe0230..537fdb377 100644
--- a/enigma/src/main/java/cuchaz/enigma/bytecode/translators/TranslationFieldVisitor.java
+++ b/enigma/src/main/java/org/quiltmc/enigma/bytecode/translator/TranslationFieldVisitor.java
@@ -1,8 +1,8 @@
-package cuchaz.enigma.bytecode.translators;
+package org.quiltmc.enigma.bytecode.translator;
-import cuchaz.enigma.translation.Translator;
-import cuchaz.enigma.translation.representation.TypeDescriptor;
-import cuchaz.enigma.translation.representation.entry.FieldDefEntry;
+import org.quiltmc.enigma.translation.Translator;
+import org.quiltmc.enigma.translation.representation.TypeDescriptor;
+import org.quiltmc.enigma.translation.representation.entry.FieldDefEntry;
import org.objectweb.asm.AnnotationVisitor;
import org.objectweb.asm.FieldVisitor;
import org.objectweb.asm.TypePath;
diff --git a/enigma/src/main/java/cuchaz/enigma/bytecode/translators/TranslationMethodVisitor.java b/enigma/src/main/java/org/quiltmc/enigma/bytecode/translator/TranslationMethodVisitor.java
similarity index 88%
rename from enigma/src/main/java/cuchaz/enigma/bytecode/translators/TranslationMethodVisitor.java
rename to enigma/src/main/java/org/quiltmc/enigma/bytecode/translator/TranslationMethodVisitor.java
index db1952a1d..80180d729 100644
--- a/enigma/src/main/java/cuchaz/enigma/bytecode/translators/TranslationMethodVisitor.java
+++ b/enigma/src/main/java/org/quiltmc/enigma/bytecode/translator/TranslationMethodVisitor.java
@@ -1,15 +1,15 @@
-package cuchaz.enigma.bytecode.translators;
-
-import cuchaz.enigma.translation.Translator;
-import cuchaz.enigma.translation.representation.MethodDescriptor;
-import cuchaz.enigma.translation.representation.Signature;
-import cuchaz.enigma.translation.representation.TypeDescriptor;
-import cuchaz.enigma.translation.representation.entry.ClassDefEntry;
-import cuchaz.enigma.translation.representation.entry.ClassEntry;
-import cuchaz.enigma.translation.representation.entry.FieldEntry;
-import cuchaz.enigma.translation.representation.entry.LocalVariableEntry;
-import cuchaz.enigma.translation.representation.entry.MethodDefEntry;
-import cuchaz.enigma.translation.representation.entry.MethodEntry;
+package org.quiltmc.enigma.bytecode.translator;
+
+import org.quiltmc.enigma.translation.Translator;
+import org.quiltmc.enigma.translation.representation.MethodDescriptor;
+import org.quiltmc.enigma.translation.representation.Signature;
+import org.quiltmc.enigma.translation.representation.TypeDescriptor;
+import org.quiltmc.enigma.translation.representation.entry.ClassDefEntry;
+import org.quiltmc.enigma.translation.representation.entry.ClassEntry;
+import org.quiltmc.enigma.translation.representation.entry.FieldEntry;
+import org.quiltmc.enigma.translation.representation.entry.LocalVariableEntry;
+import org.quiltmc.enigma.translation.representation.entry.MethodDefEntry;
+import org.quiltmc.enigma.translation.representation.entry.MethodEntry;
import org.objectweb.asm.AnnotationVisitor;
import org.objectweb.asm.Handle;
import org.objectweb.asm.Label;
diff --git a/enigma/src/main/java/cuchaz/enigma/bytecode/translators/TranslationRecordComponentVisitor.java b/enigma/src/main/java/org/quiltmc/enigma/bytecode/translator/TranslationRecordComponentVisitor.java
similarity index 87%
rename from enigma/src/main/java/cuchaz/enigma/bytecode/translators/TranslationRecordComponentVisitor.java
rename to enigma/src/main/java/org/quiltmc/enigma/bytecode/translator/TranslationRecordComponentVisitor.java
index eb8f4170f..65eda5a63 100644
--- a/enigma/src/main/java/cuchaz/enigma/bytecode/translators/TranslationRecordComponentVisitor.java
+++ b/enigma/src/main/java/org/quiltmc/enigma/bytecode/translator/TranslationRecordComponentVisitor.java
@@ -1,7 +1,7 @@
-package cuchaz.enigma.bytecode.translators;
+package org.quiltmc.enigma.bytecode.translator;
-import cuchaz.enigma.translation.Translator;
-import cuchaz.enigma.translation.representation.TypeDescriptor;
+import org.quiltmc.enigma.translation.Translator;
+import org.quiltmc.enigma.translation.representation.TypeDescriptor;
import org.objectweb.asm.AnnotationVisitor;
import org.objectweb.asm.RecordComponentVisitor;
import org.objectweb.asm.TypePath;
diff --git a/enigma/src/main/java/cuchaz/enigma/bytecode/translators/TranslationSignatureVisitor.java b/enigma/src/main/java/org/quiltmc/enigma/bytecode/translator/TranslationSignatureVisitor.java
similarity index 97%
rename from enigma/src/main/java/cuchaz/enigma/bytecode/translators/TranslationSignatureVisitor.java
rename to enigma/src/main/java/org/quiltmc/enigma/bytecode/translator/TranslationSignatureVisitor.java
index 8a884bdfe..03070323c 100644
--- a/enigma/src/main/java/cuchaz/enigma/bytecode/translators/TranslationSignatureVisitor.java
+++ b/enigma/src/main/java/org/quiltmc/enigma/bytecode/translator/TranslationSignatureVisitor.java
@@ -1,6 +1,6 @@
-package cuchaz.enigma.bytecode.translators;
+package org.quiltmc.enigma.bytecode.translator;
-import cuchaz.enigma.Enigma;
+import org.quiltmc.enigma.Enigma;
import org.objectweb.asm.signature.SignatureVisitor;
import java.util.Stack;
diff --git a/enigma/src/main/java/cuchaz/enigma/classhandle/ClassHandle.java b/enigma/src/main/java/org/quiltmc/enigma/classhandle/ClassHandle.java
similarity index 91%
rename from enigma/src/main/java/cuchaz/enigma/classhandle/ClassHandle.java
rename to enigma/src/main/java/org/quiltmc/enigma/classhandle/ClassHandle.java
index f25cc8037..a4e6727ce 100644
--- a/enigma/src/main/java/cuchaz/enigma/classhandle/ClassHandle.java
+++ b/enigma/src/main/java/org/quiltmc/enigma/classhandle/ClassHandle.java
@@ -1,10 +1,10 @@
-package cuchaz.enigma.classhandle;
+package org.quiltmc.enigma.classhandle;
-import cuchaz.enigma.events.ClassHandleListener;
-import cuchaz.enigma.source.DecompiledClassSource;
-import cuchaz.enigma.source.Source;
-import cuchaz.enigma.translation.representation.entry.ClassEntry;
-import cuchaz.enigma.utils.Result;
+import org.quiltmc.enigma.event.ClassHandleListener;
+import org.quiltmc.enigma.source.DecompiledClassSource;
+import org.quiltmc.enigma.source.Source;
+import org.quiltmc.enigma.translation.representation.entry.ClassEntry;
+import org.quiltmc.enigma.util.Result;
import java.util.concurrent.CompletableFuture;
import javax.annotation.Nullable;
diff --git a/enigma/src/main/java/cuchaz/enigma/classhandle/ClassHandleError.java b/enigma/src/main/java/org/quiltmc/enigma/classhandle/ClassHandleError.java
similarity index 95%
rename from enigma/src/main/java/cuchaz/enigma/classhandle/ClassHandleError.java
rename to enigma/src/main/java/org/quiltmc/enigma/classhandle/ClassHandleError.java
index 58a11071f..077d60edd 100644
--- a/enigma/src/main/java/cuchaz/enigma/classhandle/ClassHandleError.java
+++ b/enigma/src/main/java/org/quiltmc/enigma/classhandle/ClassHandleError.java
@@ -1,4 +1,4 @@
-package cuchaz.enigma.classhandle;
+package org.quiltmc.enigma.classhandle;
import java.io.ByteArrayOutputStream;
import java.io.PrintStream;
diff --git a/enigma/src/main/java/cuchaz/enigma/classhandle/ClassHandleProvider.java b/enigma/src/main/java/org/quiltmc/enigma/classhandle/ClassHandleProvider.java
similarity index 83%
rename from enigma/src/main/java/cuchaz/enigma/classhandle/ClassHandleProvider.java
rename to enigma/src/main/java/org/quiltmc/enigma/classhandle/ClassHandleProvider.java
index a151d9cd4..aed76843c 100644
--- a/enigma/src/main/java/cuchaz/enigma/classhandle/ClassHandleProvider.java
+++ b/enigma/src/main/java/org/quiltmc/enigma/classhandle/ClassHandleProvider.java
@@ -1,18 +1,18 @@
-package cuchaz.enigma.classhandle;
-
-import cuchaz.enigma.EnigmaProject;
-import cuchaz.enigma.classprovider.CachingClassProvider;
-import cuchaz.enigma.classprovider.ObfuscationFixClassProvider;
-import cuchaz.enigma.events.ClassHandleListener;
-import cuchaz.enigma.events.ClassHandleListener.InvalidationType;
-import cuchaz.enigma.source.DecompiledClassSource;
-import cuchaz.enigma.source.Decompiler;
-import cuchaz.enigma.source.DecompilerService;
-import cuchaz.enigma.source.Source;
-import cuchaz.enigma.source.SourceIndex;
-import cuchaz.enigma.source.SourceSettings;
-import cuchaz.enigma.translation.representation.entry.ClassEntry;
-import cuchaz.enigma.utils.Result;
+package org.quiltmc.enigma.classhandle;
+
+import org.quiltmc.enigma.EnigmaProject;
+import org.quiltmc.enigma.classprovider.CachingClassProvider;
+import org.quiltmc.enigma.classprovider.ObfuscationFixClassProvider;
+import org.quiltmc.enigma.event.ClassHandleListener;
+import org.quiltmc.enigma.source.DecompiledClassSource;
+import org.quiltmc.enigma.source.Decompiler;
+import org.quiltmc.enigma.source.DecompilerService;
+import org.quiltmc.enigma.source.Source;
+import org.quiltmc.enigma.source.SourceIndex;
+import org.quiltmc.enigma.source.SourceSettings;
+import org.quiltmc.enigma.translation.representation.entry.ClassEntry;
+import org.quiltmc.enigma.util.Result;
+import org.quiltmc.enigma.util.Utils;
import java.util.ArrayList;
import java.util.Collections;
@@ -31,8 +31,6 @@
import java.util.concurrent.locks.ReentrantReadWriteLock;
import javax.annotation.Nullable;
-import static cuchaz.enigma.utils.Utils.withLock;
-
public final class ClassHandleProvider {
private final EnigmaProject project;
@@ -62,7 +60,7 @@ public ClassHandleProvider(EnigmaProject project, DecompilerService ds) {
public ClassHandle openClass(ClassEntry entry) {
if (!this.project.getJarIndex().getEntryIndex().hasClass(entry)) return null;
- return withLock(this.lock.writeLock(), () -> {
+ return Utils.withLock(this.lock.writeLock(), () -> {
Entry e = this.handles.computeIfAbsent(entry, entry1 -> new Entry(this, entry1));
return e.createHandle();
});
@@ -82,7 +80,7 @@ public void setDecompilerService(DecompilerService ds) {
this.ds = ds;
this.decompiler = this.createDecompiler();
- withLock(this.lock.readLock(), () -> this.handles.values().forEach(Entry::invalidate));
+ Utils.withLock(this.lock.readLock(), () -> this.handles.values().forEach(Entry::invalidate));
}
/**
@@ -103,7 +101,7 @@ private Decompiler createDecompiler() {
* re-remapped.
*/
public void invalidateMapped() {
- withLock(this.lock.readLock(), () -> this.handles.values().forEach(Entry::invalidateMapped));
+ Utils.withLock(this.lock.readLock(), () -> this.handles.values().forEach(Entry::invalidateMapped));
}
/**
@@ -115,7 +113,7 @@ public void invalidateMapped() {
* @param entry the class entry to invalidate
*/
public void invalidateMapped(ClassEntry entry) {
- withLock(this.lock.readLock(), () -> {
+ Utils.withLock(this.lock.readLock(), () -> {
Entry e = this.handles.get(entry);
if (e != null) {
e.invalidateMapped();
@@ -128,7 +126,7 @@ public void invalidateMapped(ClassEntry entry) {
* re-remapped.
*/
public void invalidateJavadoc() {
- withLock(this.lock.readLock(), () -> this.handles.values().forEach(Entry::invalidateJavadoc));
+ Utils.withLock(this.lock.readLock(), () -> this.handles.values().forEach(Entry::invalidateJavadoc));
}
/**
@@ -138,7 +136,7 @@ public void invalidateJavadoc() {
* @param entry the class entry to invalidate
*/
public void invalidateJavadoc(ClassEntry entry) {
- withLock(this.lock.readLock(), () -> {
+ Utils.withLock(this.lock.readLock(), () -> {
Entry e = this.handles.get(entry);
if (e != null) {
e.invalidateJavadoc();
@@ -151,7 +149,7 @@ public void invalidateJavadoc(ClassEntry entry) {
}
private void deleteEntry(Entry entry) {
- withLock(this.lock.writeLock(), () -> this.handles.remove(entry.entry));
+ Utils.withLock(this.lock.writeLock(), () -> this.handles.remove(entry.entry));
}
/**
@@ -171,7 +169,7 @@ public void destroy() {
throw new RuntimeException(e);
}
- withLock(this.lock.writeLock(), () -> {
+ Utils.withLock(this.lock.writeLock(), () -> {
this.handles.values().forEach(Entry::destroy);
this.handles.clear();
});
@@ -204,7 +202,7 @@ private Entry(ClassHandleProvider p, ClassEntry entry) {
public ClassHandleImpl createHandle() {
ClassHandleImpl handle = new ClassHandleImpl(this);
- withLock(this.lock.writeLock(), () -> this.handles.add(handle));
+ Utils.withLock(this.lock.writeLock(), () -> this.handles.add(handle));
return handle;
}
@@ -218,25 +216,25 @@ private void checkDeobfRefForUpdate() {
if (!Objects.equals(this.deobfRef, newDeobf)) {
this.deobfRef = newDeobf;
// copy the list so we don't call event listener code with the lock active
- withLock(this.lock.readLock(), () -> new ArrayList<>(this.handles)).forEach(h -> h.onDeobfRefChanged(newDeobf));
+ Utils.withLock(this.lock.readLock(), () -> new ArrayList<>(this.handles)).forEach(h -> h.onDeobfRefChanged(newDeobf));
}
}
public void invalidate() {
this.checkDeobfRefForUpdate();
- withLock(this.lock.readLock(), () -> new ArrayList<>(this.handles)).forEach(h -> h.onInvalidate(InvalidationType.FULL));
+ Utils.withLock(this.lock.readLock(), () -> new ArrayList<>(this.handles)).forEach(h -> h.onInvalidate(ClassHandleListener.InvalidationType.FULL));
this.continueMapSource(this.continueIndexSource(this.continueInsertJavadoc(this.decompile())));
}
public void invalidateJavadoc() {
this.checkDeobfRefForUpdate();
- withLock(this.lock.readLock(), () -> new ArrayList<>(this.handles)).forEach(h -> h.onInvalidate(InvalidationType.JAVADOC));
+ Utils.withLock(this.lock.readLock(), () -> new ArrayList<>(this.handles)).forEach(h -> h.onInvalidate(ClassHandleListener.InvalidationType.JAVADOC));
this.continueMapSource(this.continueIndexSource(this.continueInsertJavadoc(CompletableFuture.completedFuture(this.uncommentedSource))));
}
public void invalidateMapped() {
this.checkDeobfRefForUpdate();
- withLock(this.lock.readLock(), () -> new ArrayList<>(this.handles)).forEach(h -> h.onInvalidate(InvalidationType.MAPPINGS));
+ Utils.withLock(this.lock.readLock(), () -> new ArrayList<>(this.handles)).forEach(h -> h.onInvalidate(ClassHandleListener.InvalidationType.MAPPINGS));
this.continueMapSource(CompletableFuture.completedFuture(this.source));
}
@@ -249,7 +247,7 @@ private CompletableFuture> decompile() {
Entry.this.uncommentedSource = uncommentedSource;
Entry.this.waitingUncommentedSources.forEach(f -> f.complete(uncommentedSource));
Entry.this.waitingUncommentedSources.clear();
- withLock(this.lock.readLock(), () -> new ArrayList<>(this.handles)).forEach(h -> h.onUncommentedSourceChanged(uncommentedSource));
+ Utils.withLock(this.lock.readLock(), () -> new ArrayList<>(this.handles)).forEach(h -> h.onUncommentedSourceChanged(uncommentedSource));
return uncommentedSource;
}, this.p.pool);
}
@@ -259,7 +257,7 @@ private CompletableFuture> continueInsertJavado
return f.thenApplyAsync(res -> {
if (res == null || this.javadocVersion.get() != v) return null;
Result