mirror of
https://github.com/zaaarf/lillero-processor.git
synced 2024-11-14 04:49:21 +01:00
Compare commits
2 commits
8d26063266
...
2d944f31c5
Author | SHA1 | Date | |
---|---|---|---|
2d944f31c5 | |||
85b3aeea1a |
8 changed files with 23 additions and 15 deletions
|
@ -26,7 +26,7 @@ repositories {
|
|||
|
||||
dependencies {
|
||||
implementation 'com.squareup:javapoet:1.13.0'
|
||||
implementation 'org.ow2.asm:asm-commons:9.5'
|
||||
implementation 'ftbsc:lll:0.5.0'
|
||||
implementation 'ftbsc.lll:mapper:0.3.0'
|
||||
implementation 'org.ow2.asm:asm-commons:9.7'
|
||||
implementation 'ftbsc:lll:0.5.1'
|
||||
implementation 'ftbsc.lll:mapper:0.4.1'
|
||||
}
|
||||
|
|
|
@ -1,2 +1,2 @@
|
|||
rootProject.name = 'lillero-processor'
|
||||
rootProject.name = 'processor'
|
||||
|
||||
|
|
|
@ -36,7 +36,6 @@ import static ftbsc.lll.processor.utils.JavaPoetUtils.*;
|
|||
* It (implicitly) implements the {@link Processor} interface by extending {@link AbstractProcessor}.
|
||||
*/
|
||||
@SupportedAnnotationTypes({"ftbsc.lll.processor.annotations.Patch", "ftbsc.lll.processor.annotations.BareInjector"})
|
||||
@SupportedSourceVersion(SourceVersion.RELEASE_8)
|
||||
public class LilleroProcessor extends AbstractProcessor {
|
||||
/**
|
||||
* A {@link Set} of {@link String}s that will contain the fully qualified names
|
||||
|
@ -58,6 +57,15 @@ public class LilleroProcessor extends AbstractProcessor {
|
|||
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
|
||||
* it hasn't been already.
|
||||
|
|
|
@ -2,7 +2,7 @@ package ftbsc.lll.processor;
|
|||
|
||||
import ftbsc.lll.IInjector;
|
||||
import ftbsc.lll.mapper.MapperProvider;
|
||||
import ftbsc.lll.mapper.tools.Mapper;
|
||||
import ftbsc.lll.mapper.utils.Mapper;
|
||||
|
||||
import javax.annotation.processing.ProcessingEnvironment;
|
||||
import java.util.Arrays;
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
package ftbsc.lll.processor.containers;
|
||||
|
||||
import ftbsc.lll.exceptions.TargetNotFoundException;
|
||||
import ftbsc.lll.mapper.tools.data.ClassData;
|
||||
import ftbsc.lll.mapper.data.ClassData;
|
||||
import ftbsc.lll.processor.annotations.Find;
|
||||
import ftbsc.lll.processor.annotations.Patch;
|
||||
import ftbsc.lll.processor.ProcessorOptions;
|
||||
|
|
|
@ -1,8 +1,8 @@
|
|||
package ftbsc.lll.processor.containers;
|
||||
|
||||
import ftbsc.lll.exceptions.AmbiguousDefinitionException;
|
||||
import ftbsc.lll.mapper.tools.MappingUtils;
|
||||
import ftbsc.lll.mapper.tools.data.FieldData;
|
||||
import ftbsc.lll.mapper.utils.MappingUtils;
|
||||
import ftbsc.lll.mapper.data.FieldData;
|
||||
import ftbsc.lll.processor.annotations.Find;
|
||||
import ftbsc.lll.processor.annotations.Patch;
|
||||
import ftbsc.lll.processor.ProcessorOptions;
|
||||
|
|
|
@ -2,8 +2,8 @@ package ftbsc.lll.processor.containers;
|
|||
|
||||
import ftbsc.lll.exceptions.AmbiguousDefinitionException;
|
||||
import ftbsc.lll.exceptions.TargetNotFoundException;
|
||||
import ftbsc.lll.mapper.tools.MappingUtils;
|
||||
import ftbsc.lll.mapper.tools.data.MethodData;
|
||||
import ftbsc.lll.mapper.utils.MappingUtils;
|
||||
import ftbsc.lll.mapper.data.MethodData;
|
||||
import ftbsc.lll.processor.annotations.Find;
|
||||
import ftbsc.lll.processor.annotations.Patch;
|
||||
import ftbsc.lll.processor.annotations.Target;
|
||||
|
|
|
@ -4,10 +4,10 @@ import ftbsc.lll.exceptions.AmbiguousDefinitionException;
|
|||
import ftbsc.lll.exceptions.MappingNotFoundException;
|
||||
import ftbsc.lll.exceptions.NotAProxyException;
|
||||
import ftbsc.lll.exceptions.TargetNotFoundException;
|
||||
import ftbsc.lll.mapper.tools.Mapper;
|
||||
import ftbsc.lll.mapper.tools.data.ClassData;
|
||||
import ftbsc.lll.mapper.tools.data.FieldData;
|
||||
import ftbsc.lll.mapper.tools.data.MethodData;
|
||||
import ftbsc.lll.mapper.utils.Mapper;
|
||||
import ftbsc.lll.mapper.data.ClassData;
|
||||
import ftbsc.lll.mapper.data.FieldData;
|
||||
import ftbsc.lll.mapper.data.MethodData;
|
||||
import ftbsc.lll.processor.annotations.Target;
|
||||
import ftbsc.lll.processor.containers.ClassContainer;
|
||||
import ftbsc.lll.proxies.ProxyType;
|
||||
|
|
Loading…
Reference in a new issue