Flesh out Desc selector javadoc and functionality

This commit is contained in:
Mumfrey committed 2021-02-03 20:54:12 +00:00
1 parent f9aeec8b05
commit ef6422f26e
31 files changed
+634 -202

No files matched your search

@@ -147,7 +147,7 @@ abstract class AnnotatedMixinElementHandler {
}
@Override
public Object getSelectorAnnotation() {
public IAnnotationHandle getSelectorAnnotation() {
return this.getAnnotation();
}
@@ -54,7 +54,7 @@ import com.google.common.base.Strings;
/**
* A module for {@link AnnotatedMixin} which handles accessors
*/
public class AnnotatedMixinElementHandlerAccessor extends AnnotatedMixinElementHandler {
class AnnotatedMixinElementHandlerAccessor extends AnnotatedMixinElementHandler {
/**
* Accessor element
@@ -46,6 +46,7 @@ import org.spongepowered.asm.mixin.injection.struct.InvalidMemberDescriptorExcep
import org.spongepowered.asm.mixin.refmap.IMixinContext;
import org.spongepowered.asm.obfuscation.mapping.common.MappingField;
import org.spongepowered.asm.obfuscation.mapping.common.MappingMethod;
import org.spongepowered.asm.util.asm.IAnnotationHandle;
import org.spongepowered.tools.obfuscation.ReferenceManager.ReferenceConflictException;
import org.spongepowered.tools.obfuscation.ext.SpecialPackages;
import org.spongepowered.tools.obfuscation.interfaces.IMixinAnnotationProcessor;
@@ -126,7 +127,7 @@ class AnnotatedMixinElementHandlerInjector extends AnnotatedMixinElementHandler
}
@Override
public Object getSelectorAnnotation() {
public IAnnotationHandle getSelectorAnnotation() {
return this.getAt();
}
@@ -43,7 +43,7 @@ import org.spongepowered.tools.obfuscation.mirror.TypeHandle;
/**
* A module for {@link AnnotatedMixin} whic handles soft-implements clauses
*/
public class AnnotatedMixinElementHandlerSoftImplements extends AnnotatedMixinElementHandler {
class AnnotatedMixinElementHandlerSoftImplements extends AnnotatedMixinElementHandler {
AnnotatedMixinElementHandlerSoftImplements(IMixinAnnotationProcessor ap, AnnotatedMixin mixin) {
super(ap, mixin);
@@ -40,7 +40,7 @@ import org.spongepowered.asm.mixin.Mixin;
/**
* Base class for mixin annotation processor modules
*/
public abstract class MixinObfuscationProcessor extends AbstractProcessor {
abstract class MixinObfuscationProcessor extends AbstractProcessor {
/**
* Mixin info manager