static class HotSpotGraalConstantReflectionProvider.ImmutableCodeLazy extends Object
| Modifier and Type | Field and Description |
|---|---|
private static List<ResolvedJavaField> |
embeddableFields |
| Constructor and Description |
|---|
ImmutableCodeLazy() |
| Modifier and Type | Method and Description |
|---|---|
(package private) static boolean |
isCalledForSnippets()
If the compiler is configured for AOT mode,
HotSpotGraalConstantReflectionProvider.readConstantFieldValue(JavaField, JavaConstant) should be only called for
snippets or replacements. |
(package private) static boolean |
isEmbeddable(HotSpotResolvedJavaField field)
Determine if it's ok to embed the value of
field. |
private static final List<ResolvedJavaField> embeddableFields
ImmutableCodeLazy()
static boolean isCalledForSnippets()
HotSpotGraalConstantReflectionProvider.readConstantFieldValue(JavaField, JavaConstant) should be only called for
snippets or replacements.static boolean isEmbeddable(HotSpotResolvedJavaField field)
field.