mirror of
https://github.com/zaaarf/lillero-processor.git
synced 2024-11-23 17:24:50 +01:00
fix: updated to new mapper library
This commit is contained in:
parent
8d26063266
commit
85b3aeea1a
8 changed files with 14 additions and 16 deletions
|
@ -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.5'
|
implementation 'org.ow2.asm:asm-commons:9.7'
|
||||||
implementation 'ftbsc:lll:0.5.0'
|
implementation 'ftbsc:lll:0.5.1'
|
||||||
implementation 'ftbsc.lll:mapper:0.3.0'
|
implementation 'ftbsc.lll:mapper:0.4.1'
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,2 +1,2 @@
|
||||||
rootProject.name = 'lillero-processor'
|
rootProject.name = 'processor'
|
||||||
|
|
||||||
|
|
|
@ -15,7 +15,6 @@ import ftbsc.lll.proxies.ProxyType;
|
||||||
import ftbsc.lll.proxies.impl.TypeProxy;
|
import ftbsc.lll.proxies.impl.TypeProxy;
|
||||||
|
|
||||||
import javax.annotation.processing.*;
|
import javax.annotation.processing.*;
|
||||||
import javax.lang.model.SourceVersion;
|
|
||||||
import javax.lang.model.element.*;
|
import javax.lang.model.element.*;
|
||||||
import javax.lang.model.type.ExecutableType;
|
import javax.lang.model.type.ExecutableType;
|
||||||
import javax.lang.model.type.TypeMirror;
|
import javax.lang.model.type.TypeMirror;
|
||||||
|
@ -36,7 +35,6 @@ 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
|
||||||
|
|
|
@ -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.tools.Mapper;
|
import ftbsc.lll.mapper.utils.Mapper;
|
||||||
|
|
||||||
import javax.annotation.processing.ProcessingEnvironment;
|
import javax.annotation.processing.ProcessingEnvironment;
|
||||||
import java.util.Arrays;
|
import java.util.Arrays;
|
||||||
|
|
|
@ -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.tools.data.ClassData;
|
import ftbsc.lll.mapper.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;
|
||||||
|
|
|
@ -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.tools.MappingUtils;
|
import ftbsc.lll.mapper.utils.MappingUtils;
|
||||||
import ftbsc.lll.mapper.tools.data.FieldData;
|
import ftbsc.lll.mapper.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;
|
||||||
|
|
|
@ -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.tools.MappingUtils;
|
import ftbsc.lll.mapper.utils.MappingUtils;
|
||||||
import ftbsc.lll.mapper.tools.data.MethodData;
|
import ftbsc.lll.mapper.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;
|
||||||
|
|
|
@ -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.tools.Mapper;
|
import ftbsc.lll.mapper.utils.Mapper;
|
||||||
import ftbsc.lll.mapper.tools.data.ClassData;
|
import ftbsc.lll.mapper.data.ClassData;
|
||||||
import ftbsc.lll.mapper.tools.data.FieldData;
|
import ftbsc.lll.mapper.data.FieldData;
|
||||||
import ftbsc.lll.mapper.tools.data.MethodData;
|
import ftbsc.lll.mapper.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;
|
||||||
|
|
Loading…
Reference in a new issue