public abstract class NativeDetector extends Object
Requires using the -H:+InlineBeforeAnalysis native image compiler flag in order to allow code removal at
build time.
| Constructor and Description |
|---|
NativeDetector() |
| 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. |