Package ftbsc.lll.processor
Class ProcessorOptions
- java.lang.Object
-
- ftbsc.lll.processor.ProcessorOptions
-
public class ProcessorOptions extends java.lang.Object
Class in charge of containing, parsing and processing all processor options, from the simpler booleans to the more complicated mapper.
-
-
Field Summary
Fields Modifier and Type Field Description boolean
anonymousClassWarning
Whether the processor should issue warnings when compiling code anonymous classes which can't be checked for validity.javax.annotation.processing.ProcessingEnvironment
env
The environment the processor is acting in.ftbsc.lll.mapper.utils.Mapper
mapper
TheMapper
used to convert classes and variables to their obfuscated equivalent.boolean
noServiceProvider
Whether the processor should skip the generation of the service provider.boolean
obfuscateInjectorMetadata
Whether injector metadata (what is returned by the functions ofIInjector
) is to use obfuscated names instead of its normal names.static java.util.Set<java.lang.String>
SUPPORTED
ASet
of options currently supported by the processor.
-
Constructor Summary
Constructors Constructor Description ProcessorOptions(javax.annotation.processing.ProcessingEnvironment env)
The public constructor, parses and stores all given arguments.
-
-
-
Field Detail
-
SUPPORTED
public static final java.util.Set<java.lang.String> SUPPORTED
ASet
of options currently supported by the processor.
-
env
public final javax.annotation.processing.ProcessingEnvironment env
The environment the processor is acting in.
-
mapper
public final ftbsc.lll.mapper.utils.Mapper mapper
TheMapper
used to convert classes and variables to their obfuscated equivalent. Will be null when no mapper is in use.
-
anonymousClassWarning
public final boolean anonymousClassWarning
Whether the processor should issue warnings when compiling code anonymous classes which can't be checked for validity.
-
obfuscateInjectorMetadata
public final boolean obfuscateInjectorMetadata
Whether injector metadata (what is returned by the functions ofIInjector
) is to use obfuscated names instead of its normal names.
-
noServiceProvider
public final boolean noServiceProvider
Whether the processor should skip the generation of the service provider.
-
-