Compare commits

..

No commits in common. "2d944f31c54e89f922f2a8d475a9d0c38cec5b8f" and "8d26063266b8cdbacd23ae9abdec4cf3810a2049" have entirely different histories.

8 changed files with 15 additions and 23 deletions

View file

@ -26,7 +26,7 @@ repositories {
dependencies { dependencies {
implementation 'com.squareup:javapoet:1.13.0' implementation 'com.squareup:javapoet:1.13.0'
implementation 'org.ow2.asm:asm-commons:9.7' implementation 'org.ow2.asm:asm-commons:9.5'
implementation 'ftbsc:lll:0.5.1' implementation 'ftbsc:lll:0.5.0'
implementation 'ftbsc.lll:mapper:0.4.1' implementation 'ftbsc.lll:mapper:0.3.0'
} }

View file

@ -1,2 +1,2 @@
rootProject.name = 'processor' rootProject.name = 'lillero-processor'

View file

@ -36,6 +36,7 @@ import static ftbsc.lll.processor.utils.JavaPoetUtils.*;
* It (implicitly) implements the {@link Processor} interface by extending {@link AbstractProcessor}. * It (implicitly) implements the {@link Processor} interface by extending {@link AbstractProcessor}.
*/ */
@SupportedAnnotationTypes({"ftbsc.lll.processor.annotations.Patch", "ftbsc.lll.processor.annotations.BareInjector"}) @SupportedAnnotationTypes({"ftbsc.lll.processor.annotations.Patch", "ftbsc.lll.processor.annotations.BareInjector"})
@SupportedSourceVersion(SourceVersion.RELEASE_8)
public class LilleroProcessor extends AbstractProcessor { public class LilleroProcessor extends AbstractProcessor {
/** /**
* A {@link Set} of {@link String}s that will contain the fully qualified names * A {@link Set} of {@link String}s that will contain the fully qualified names
@ -57,15 +58,6 @@ public class LilleroProcessor extends AbstractProcessor {
return ProcessorOptions.SUPPORTED; return ProcessorOptions.SUPPORTED;
} }
/**
* Always returns the latest version since this should never break.
* @return the latest version
*/
@Override
public SourceVersion getSupportedSourceVersion() {
return SourceVersion.latest();
}
/** /**
* Returns the {@link ProcessorOptions} for this instance, creating the object if * Returns the {@link ProcessorOptions} for this instance, creating the object if
* it hasn't been already. * it hasn't been already.

View file

@ -2,7 +2,7 @@ package ftbsc.lll.processor;
import ftbsc.lll.IInjector; import ftbsc.lll.IInjector;
import ftbsc.lll.mapper.MapperProvider; import ftbsc.lll.mapper.MapperProvider;
import ftbsc.lll.mapper.utils.Mapper; import ftbsc.lll.mapper.tools.Mapper;
import javax.annotation.processing.ProcessingEnvironment; import javax.annotation.processing.ProcessingEnvironment;
import java.util.Arrays; import java.util.Arrays;

View file

@ -1,7 +1,7 @@
package ftbsc.lll.processor.containers; package ftbsc.lll.processor.containers;
import ftbsc.lll.exceptions.TargetNotFoundException; import ftbsc.lll.exceptions.TargetNotFoundException;
import ftbsc.lll.mapper.data.ClassData; import ftbsc.lll.mapper.tools.data.ClassData;
import ftbsc.lll.processor.annotations.Find; import ftbsc.lll.processor.annotations.Find;
import ftbsc.lll.processor.annotations.Patch; import ftbsc.lll.processor.annotations.Patch;
import ftbsc.lll.processor.ProcessorOptions; import ftbsc.lll.processor.ProcessorOptions;

View file

@ -1,8 +1,8 @@
package ftbsc.lll.processor.containers; package ftbsc.lll.processor.containers;
import ftbsc.lll.exceptions.AmbiguousDefinitionException; import ftbsc.lll.exceptions.AmbiguousDefinitionException;
import ftbsc.lll.mapper.utils.MappingUtils; import ftbsc.lll.mapper.tools.MappingUtils;
import ftbsc.lll.mapper.data.FieldData; import ftbsc.lll.mapper.tools.data.FieldData;
import ftbsc.lll.processor.annotations.Find; import ftbsc.lll.processor.annotations.Find;
import ftbsc.lll.processor.annotations.Patch; import ftbsc.lll.processor.annotations.Patch;
import ftbsc.lll.processor.ProcessorOptions; import ftbsc.lll.processor.ProcessorOptions;

View file

@ -2,8 +2,8 @@ package ftbsc.lll.processor.containers;
import ftbsc.lll.exceptions.AmbiguousDefinitionException; import ftbsc.lll.exceptions.AmbiguousDefinitionException;
import ftbsc.lll.exceptions.TargetNotFoundException; import ftbsc.lll.exceptions.TargetNotFoundException;
import ftbsc.lll.mapper.utils.MappingUtils; import ftbsc.lll.mapper.tools.MappingUtils;
import ftbsc.lll.mapper.data.MethodData; import ftbsc.lll.mapper.tools.data.MethodData;
import ftbsc.lll.processor.annotations.Find; import ftbsc.lll.processor.annotations.Find;
import ftbsc.lll.processor.annotations.Patch; import ftbsc.lll.processor.annotations.Patch;
import ftbsc.lll.processor.annotations.Target; import ftbsc.lll.processor.annotations.Target;

View file

@ -4,10 +4,10 @@ import ftbsc.lll.exceptions.AmbiguousDefinitionException;
import ftbsc.lll.exceptions.MappingNotFoundException; import ftbsc.lll.exceptions.MappingNotFoundException;
import ftbsc.lll.exceptions.NotAProxyException; import ftbsc.lll.exceptions.NotAProxyException;
import ftbsc.lll.exceptions.TargetNotFoundException; import ftbsc.lll.exceptions.TargetNotFoundException;
import ftbsc.lll.mapper.utils.Mapper; import ftbsc.lll.mapper.tools.Mapper;
import ftbsc.lll.mapper.data.ClassData; import ftbsc.lll.mapper.tools.data.ClassData;
import ftbsc.lll.mapper.data.FieldData; import ftbsc.lll.mapper.tools.data.FieldData;
import ftbsc.lll.mapper.data.MethodData; import ftbsc.lll.mapper.tools.data.MethodData;
import ftbsc.lll.processor.annotations.Target; import ftbsc.lll.processor.annotations.Target;
import ftbsc.lll.processor.containers.ClassContainer; import ftbsc.lll.processor.containers.ClassContainer;
import ftbsc.lll.proxies.ProxyType; import ftbsc.lll.proxies.ProxyType;