public class NativeUtil extends Object
参考: NativeDetector 和 NativeListener
| Modifier and Type | Field and Description |
|---|---|
static String |
GENERATED_CLASS |
static boolean |
GENERATED_CLASS_PRESENT |
static String |
PROPERTY_IMAGE_CODE_KEY
Holds the string that is the name of the system property providing information about the
context in which code is currently executing.
|
| Constructor and Description |
|---|
NativeUtil() |
| Modifier and Type | Method and Description |
|---|---|
static boolean |
inNativeImage()
Returns
true if invoked in the context of image building or during image runtime, else false. |
public static final String GENERATED_CLASS
public static final boolean GENERATED_CLASS_PRESENT
public static final String PROPERTY_IMAGE_CODE_KEY
Copyright © 2024. All rights reserved.