public final class InliningUtils extends Object
Methods from this class should be used whenever String or primitive type constants are exposed as part of the Specs API, to prevent them from being inlined during compilation.
Modifier and Type | Method and Description |
---|---|
static boolean |
preventInlining(boolean bool)
Prevents inlining of a boolean value.
|
static int |
preventInlining(int integer)
Prevents inlining of an integer value.
|
static @NotNull String |
preventInlining(@NotNull String string)
Prevents inlining of a String value.
|
@NotNull public static @NotNull String preventInlining(@NotNull @NotNull String string)
string
- any stringpublic static boolean preventInlining(boolean bool)
bool
- any booleanpublic static int preventInlining(int integer)
integer
- any integerCopyright © 2022 Atlassian Software Systems Pty Ltd. All rights reserved.