-
public class InjectionType.Companion
-
-
Field Summary
Fields Modifier and Type Field Description private final IntegerAFTER_BEGINprivate final IntegerBEFORE_ENDprivate final IntegerBEFORE_RETURNprivate final IntegerBEFORE_INVOKEprivate final IntegerOVERWRITEpublic final static InjectionType.CompanionINSTANCE
-
Method Summary
Modifier and Type Method Description final IntegergetAFTER_BEGIN()Will place the mixin at the very beginning of the method before the first opcode. final IntegergetBEFORE_END()Will place the mixin before the very last return statement this will still apply in a void method. final IntegergetBEFORE_RETURN()Will place the mixin before every single return in the method. final IntegergetBEFORE_INVOKE()Will place the mixin before every single method invoke, Not ignoring static calls. final IntegergetOVERWRITE()Will overwrite the method and replace it with the mixin, Note if other mixins are targeted at this method they will still get placed accordingly. -
-
Method Detail
-
getAFTER_BEGIN
final Integer getAFTER_BEGIN()
Will place the mixin at the very beginning of the method before the first opcode.
-
getBEFORE_END
final Integer getBEFORE_END()
Will place the mixin before the very last return statement this will still apply in a void method.
-
getBEFORE_RETURN
final Integer getBEFORE_RETURN()
Will place the mixin before every single return in the method.
-
getBEFORE_INVOKE
final Integer getBEFORE_INVOKE()
Will place the mixin before every single method invoke, Not ignoring static calls.
-
getOVERWRITE
final Integer getOVERWRITE()
Will overwrite the method and replace it with the mixin, Note if other mixins are targeted at this method they will still get placed accordingly.
This is very dangerous and can cause issues with other mixins also targeting the same class. Additionally if
-
-
-
-