@Retention(value=CLASS) @Target(value=TYPE) public @interface GenerateAOT
replaced by an AOT capable specializations are included for AOT
validation and preparation. If a specialization is not suitable a compilation error will be
shown.
The following properties make a specialization incapable of being used for AOT preparation:
CachedLanguage of the root
language are supported.
GenerateAOT.
GenerateAOT.Exclude, if it is acceptable to deoptimize
for this specialization in AOT compiled code.
Specialization.replaces() with a more generic
specialization.
After a node generates code for AOT preparation AOTSupport.prepareForAOT(RootNode) may be
used to prepare a root node in RootNode.prepareForAOT().
See also the usage tutorial on the website.
RootNode.prepareForAOT()