| Class | Description |
|---|---|
| AssertFilter |
Assert statement creates a check whether assertions are enabled:
GETSTATIC THIS_CLASS.$assertionsDisabled : Z
IFNE
|
| BooleanOperatorFilter |
Java/Kotlin compilers generate extra instructions to invert boolean value (IFNE) or perfom logical operator (IFEQ):
IFNE/IFEQ LABEL_1
ICONST_1
GOTO LABEL_2
LABEL_1
ICONST_0
LABEL_2
|
| JavaStringSwitchFilter |
In
switch by String, Java compiler generates extra branches. |
| KotlinDefaultArgsBranchFilter |
Filter for Kotlin default args function generated branches.
|
| KotlinLateinitFilter |
Lateinit property extra branch should be ignored.
|
| KotlinOpenMemberWithDefaultArgsFilter |
Super calls of the members with default args are prohibited, so an extra `if` is generated.
|
| KotlinUnsafeCastFilter |
Kotlin 'as' operator generates a nullability check which adds a IFNONNULL branch.
|
| KotlinWhenMappingExceptionFilter |
Filter out generated branch of when statement.
|
| KotlinWhenStringFilter |
In
when by String construction, Kotlin compiler generates extra branches. |
| NotNullAssertionsFilter |
Not null assertion should be filtered out.
|