Version 0.8-preview

Add initial modlauncher support
Bump ASM version and remove renamed ASM for modlauncher interop
Conform static accessor target when transforming accessor, Fixes #342
Detect staticness mismatch on accessors, Fixes #341
Allow Invoker to invoke constructors, Closes #339
Remove commons-io and replace with guava, Fixes #327
Fix refmap generation for non-obfuscated derived classes, Fixes #326
Specify locale for case conversions, Fixes #315
Handle accessor overlap more intelligently, Fixes #307
Add SuppressWarnings support to Annotation Processor, Closes #306
Allow mixins applied to a class to be retrieved easily, Closes #302
Conform refmap entries as they are added to the mapper, fixes #296
Fold in misc lvt generation fixes from fabricmc, closes #295
Fail fast when final method is accidentally hidden by mixin, fixes #293
Fix bug handling 2-slot args in cb injector and args gen, fixes #287
Handle accessor mixin types correctly in mixins, Fixes #305, Fixes #288
This commit is contained in:
Mumfrey committed 2019-09-16 16:05:40 +01:00
1 parent ab935e061f
commit fd2f2c79c5
246 files changed
+10899 -3125

No files matched your search

@@ -27,6 +27,7 @@ package org.spongepowered.asm.service;
import java.io.InputStream;
import java.util.Collection;
import org.spongepowered.asm.launch.platform.container.IContainerHandle;
import org.spongepowered.asm.mixin.MixinEnvironment.Phase;
import org.spongepowered.asm.util.ReEntranceLock;
@@ -95,11 +96,29 @@ public interface IMixinService {
*/
public abstract IClassBytecodeProvider getBytecodeProvider();
// /**
// * Return the synthetic class registry for this service
// */
// public abstract ISyntheticClassRegistry getSyntheticClassRegistry();
/**
* Get additional platform agents for this service
*/
public abstract Collection<String> getPlatformAgents();
/**
* Get the primary container for the current environment, this is usually
* the container which contains the Mixin classes but can be another type
* of container as required by the environment
*/
public abstract IContainerHandle getPrimaryContainer();
/**
* Get a collection of containers in the current environment which contain
* mixins we should process
*/
public abstract Collection<IContainerHandle> getMixinContainers();
/**
* Get a resource as a stream from the appropriate classloader, this is
* delegated via the service so that the service can choose the correct
@@ -141,6 +160,18 @@ public interface IMixinService {
*/
public abstract Collection<ITransformer> getTransformers();
/**
* Get currently available transformers in the environment
*/
public abstract Collection<ITransformer> getDelegatedTransformers();
/**
* Adds a transformer to the transformer exclusions list
*
* @param name Class transformer exclusion to add
*/
public abstract void addTransformerExclusion(String name);
/**
* Get the detected side name for this environment
*/