public static enum MixinEnvironment.Option extends java.lang.Enum<MixinEnvironment.Option>
| Enum Constant and Description |
|---|
CHECK_ALL
Enable all checks
|
CHECK_IMPLEMENTS
Checks that all declared interface methods are implemented on a class
after mixin application.
|
CHECK_IMPLEMENTS_STRICT
If interface check is enabled, "strict mode" (default) applies the
implementation check even to abstract target classes.
|
DEBUG_ALL
Enable all debugging options
|
DEBUG_EXPORT
Enable post-mixin class export.
|
DEBUG_EXPORT_DECOMPILE
Allow fernflower to be disabled even if it is found on the classpath
|
DEBUG_EXPORT_DECOMPILE_MERGESIGNATURES
By default, if the runtime export decompiler is active, mixin generic
signatures are merged into target classes.
|
DEBUG_EXPORT_DECOMPILE_THREADED
Run fernflower in a separate thread.
|
DEBUG_EXPORT_FILTER
Export filter, if omitted allows all transformed classes to be
exported.
|
DEBUG_INJECTORS
Elevates failed injections to an error condition, see
Inject.expect() for details |
DEBUG_PROFILER
Enable the performance profiler for all mixin operations (normally it
is only enabled during mixin prepare operations)
|
DEBUG_STRICT
Enable strict checks
|
DEBUG_TARGETS
Enable strict checking for mixin targets
|
DEBUG_UNIQUE
If false (default),
Unique public methods merely raise a
warning when encountered and are not merged into the target. |
DEBUG_VERBOSE
Enable verbose mixin logging (elevates all DEBUG level messages to
INFO level)
|
DEBUG_VERIFY
Run the CheckClassAdapter on all classes after mixins are applied,
also enables stricter checks on mixins for use at dev-time, promotes
some warning-level messages to exceptions
|
DEFAULT_COMPATIBILITY_LEVEL
Default compatibility level to operate at
|
DISABLE_REFMAP
Disable refmap when required
|
DUMP_TARGET_ON_FAILURE
Dumps the bytecode for the target class to disk when mixin
application fails
|
ENVIRONMENT
Parent for environment settings
|
HOT_SWAP
Enables the hot-swap agent
|
IGNORE_CONSTRAINTS
Ignore all constraints on mixin annotations, output warnings instead
|
IGNORE_REQUIRED
Globally ignore the "required" attribute of all configurations
|
INITIALISER_INJECTION_MODE
Behaviour for initialiser injections, current supported options are
"default" and "safe"
|
OBFUSCATION_TYPE
Force refmap obf type when required
|
REFMAP_REMAP
Rather than disabling the refMap, you may wish to remap existing
refMaps at runtime.
|
REFMAP_REMAP_ALLOW_PERMISSIVE
When mixin.env.remapRefMap is enabled and a refmap is
available for a mixin config, certain injection points are allowed to
fail over to a "permissive" match which ignores the member descriptor
in the refmap.
|
REFMAP_REMAP_RESOURCE
If mixin.env.remapRefMap is enabled, this setting can be
used to override the name of the SRG file to read mappings from.
|
REFMAP_REMAP_SOURCE_ENV
When using mixin.env.refMapRemappingFile, this setting
overrides the default source environment (searge).
|
SHIFT_BY_VIOLATION_BEHAVIOUR
Behaviour when the maximum defined
At.by() value is exceeded in
a mixin. |
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
toString() |
static MixinEnvironment.Option |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static MixinEnvironment.Option[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final MixinEnvironment.Option DEBUG_ALL
public static final MixinEnvironment.Option DEBUG_EXPORT
public static final MixinEnvironment.Option DEBUG_EXPORT_FILTER
public static final MixinEnvironment.Option DEBUG_EXPORT_DECOMPILE
public static final MixinEnvironment.Option DEBUG_EXPORT_DECOMPILE_THREADED
public static final MixinEnvironment.Option DEBUG_EXPORT_DECOMPILE_MERGESIGNATURES
public static final MixinEnvironment.Option DEBUG_VERIFY
public static final MixinEnvironment.Option DEBUG_VERBOSE
public static final MixinEnvironment.Option DEBUG_INJECTORS
Inject.expect() for detailspublic static final MixinEnvironment.Option DEBUG_STRICT
public static final MixinEnvironment.Option DEBUG_UNIQUE
Unique public methods merely raise a
warning when encountered and are not merged into the target. If true,
an exception is thrown insteadpublic static final MixinEnvironment.Option DEBUG_TARGETS
public static final MixinEnvironment.Option DEBUG_PROFILER
public static final MixinEnvironment.Option DUMP_TARGET_ON_FAILURE
public static final MixinEnvironment.Option CHECK_ALL
public static final MixinEnvironment.Option CHECK_IMPLEMENTS
public static final MixinEnvironment.Option CHECK_IMPLEMENTS_STRICT
public static final MixinEnvironment.Option IGNORE_CONSTRAINTS
public static final MixinEnvironment.Option HOT_SWAP
public static final MixinEnvironment.Option ENVIRONMENT
public static final MixinEnvironment.Option OBFUSCATION_TYPE
public static final MixinEnvironment.Option DISABLE_REFMAP
public static final MixinEnvironment.Option REFMAP_REMAP
public static final MixinEnvironment.Option REFMAP_REMAP_RESOURCE
public static final MixinEnvironment.Option REFMAP_REMAP_SOURCE_ENV
public static final MixinEnvironment.Option REFMAP_REMAP_ALLOW_PERMISSIVE
public static final MixinEnvironment.Option IGNORE_REQUIRED
public static final MixinEnvironment.Option DEFAULT_COMPATIBILITY_LEVEL
public static final MixinEnvironment.Option SHIFT_BY_VIOLATION_BEHAVIOUR
At.by() value is exceeded in
a mixin. Currently the behaviour is to warn. In later
versions of Mixin this may be promoted to error.
Available values for this option are:
public static final MixinEnvironment.Option INITIALISER_INJECTION_MODE
public static MixinEnvironment.Option[] values()
for (MixinEnvironment.Option c : MixinEnvironment.Option.values()) System.out.println(c);
public static MixinEnvironment.Option valueOf(java.lang.String name)
name - the name of the enum constant to be returned.java.lang.IllegalArgumentException - if this enum type has no constant with the specified namejava.lang.NullPointerException - if the argument is nullpublic java.lang.String toString()
toString in class java.lang.Enum<MixinEnvironment.Option>