mirror of
https://github.com/LegacyModdingMC/UniMix.git
synced 2026-11-28 00:55:37 +00:00
0.7.3 - Refactoring some packages and unify transformer extensions
This commit is contained in:
1 parent
5a1a51a2f0
commit
a05e7347a5
52 files changed
+721
-313
No files matched your search
+6
@@ -38,6 +38,7 @@ import org.spongepowered.asm.mixin.injection.struct.MemberInfo;
|
||||
import org.spongepowered.asm.mixin.injection.struct.Target;
|
||||
import org.spongepowered.asm.mixin.refmap.IMixinContext;
|
||||
import org.spongepowered.asm.mixin.refmap.ReferenceMapper;
|
||||
import org.spongepowered.asm.mixin.transformer.ext.Extensions;
|
||||
import org.spongepowered.asm.obfuscation.mapping.common.MappingField;
|
||||
import org.spongepowered.asm.obfuscation.mapping.common.MappingMethod;
|
||||
import org.spongepowered.tools.obfuscation.ReferenceManager.ReferenceConflictException;
|
||||
@@ -170,6 +171,11 @@ public class AnnotatedMixinElementHandlerAccessor extends AnnotatedMixinElementH
|
||||
public IMixinInfo getMixin() {
|
||||
throw new UnsupportedOperationException("MixinInfo not available at compile time");
|
||||
}
|
||||
|
||||
@Override
|
||||
public Extensions getExtensions() {
|
||||
throw new UnsupportedOperationException("Mixin Extensions not available at compile time");
|
||||
}
|
||||
|
||||
@Override
|
||||
public boolean getOption(Option option) {
|
||||
|
||||
@@ -160,7 +160,7 @@ public final class TargetMap extends HashMap<TypeReference, Set<TypeReference>>
|
||||
* @return Collection of mixins registered as targetting the specified class
|
||||
*/
|
||||
public Collection<TypeReference> getMixinsTargeting(TypeReference target) {
|
||||
return Collections.unmodifiableCollection(this.getMixinsFor(target));
|
||||
return Collections.<TypeReference>unmodifiableCollection(this.getMixinsFor(target));
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in new issue
Block a user