Package org.spongepowered.asm.mixin
Annotation Type Debug
-
@Target({TYPE,METHOD}) @Retention(RUNTIME) public @interface DebugAnotation used to decorate items you might wish to examine after mixin application.
-
-
Optional Element Summary
Optional Elements Modifier and Type Optional Element Description booleanexportOnly applicable for classes, use this to decorate mixins that you wish to export even if mixin.debug.export is not enabled.booleanprintPrint the method bytecode to the console after mixin application.
-
-
-
Element Detail
-
export
boolean export
Only applicable for classes, use this to decorate mixins that you wish to export even if mixin.debug.export is not enabled. This is useful if you wish to export only the target of the mixin you are working on without enabling export globally.Note that if mixin.debug.export is not true then the decompiler is not initialised (even if present on the classpath) and thus you must set mixin.debug.export.decompile to true in order to have force-exported classes decompiled.
- Returns:
- whether to export the decorated target class
- Default:
- false
-
-